Lecture: Derivatives as Limits — The Algebraic Definition
Objective
To introduce the formal definition of the derivative using limits, and apply it to compute derivatives of well-known functions. This builds on the intuition of average and instantaneous rate of change.
Motivation Review: From Average to Instantaneous
Recall from our last lecture:
The average rate of change between two points on a function:
Average Rate=hf(x+h)−f(x)
As h→0, we approach the instantaneous rate of change, or the derivative:
f′(x)=h→0limhf(x+h)−f(x)
This is called the difference quotient. It's the heart of differential calculus.
Algebraic Definition of the Derivative
Let f(x) be a function. The derivative of f at a point x is:
f′(x)=h→0limhf(x+h)−f(x)
If this limit exists, f is said to be differentiable at x.
This limit represents the slope of the tangent line to the graph of f at x.
Notation
There are several ways to denote the derivative of a function. All represent the same concept: the instantaneous rate of change or the slope of the tangent line.
1. Leibniz Notation
Emphasizes the variables involved:
dxdy,dxdf,dxd[f(x)]
This notation is especially useful in applied problems (e.g., physics) and when working with related rates or implicit differentiation.
2. Lagrange Notation
Commonly used in pure mathematics:
f′(x),y′
This is compact and often used when the independent variable is clear from context.
3. Newton Notation
Used mainly in physics and engineering for derivatives with respect to time:
y˙,y¨
Where y˙ represents the first derivative with respect to time (velocity, for example), and y¨ the second derivative (acceleration).
4. Prime Notation for Higher Derivatives
First derivative: f′(x)
Second derivative: f′′(x)
n-th derivative: f(n)(x)
For example:
dx2d2y,dx2d2f,dx2d2[f(x)]
Step-by-Step Example: f(x)=x2
Let us compute f′(x) using the limit definition:
f′(x)=h→0limh(x+h)2−x2
Expand:
=h→0limhx2+2xh+h2−x2=h→0limh2xh+h2
=h→0lim(2x+h)=2x
So, f′(x)=2x.
Another Example: f(x)=x1
f′(x)=h→0limhx+h1−x1
Use common denominator:
=h→0limhx(x+h)x−(x+h)=h→0limhx(x+h)−h
Cancel h:
=h→0limx(x+h)−1=−x21
So, f′(x)=−x21
Additional Examples
1. f(x)=x
f′(x)=h→0limhx+h−x
Multiply by the conjugate:
=h→0limh(x+h+x)x+h−x=h→0limx+h+x1=2x1
2. f(x)=∣x∣
f′(x)=h→0limh∣x+h∣−∣x∣
at x=0, we have:
h→0limh∣0+h∣−∣0∣=h→0limh∣h∣
Looking at the left and right limits, we have:
h→0−limh∣h∣=−1andh→0+limh∣h∣=1
Since the left and right limits are not equal, the limit does not exist.
This limit does not exist at x=0. So f(x)=∣x∣ is not differentiable at x=0.
Famous Derivatives
Function
Derivative
f(x)=xn
f′(x)=nxn−1
f(x)=sin(x)
f′(x)=cos(x)
f(x)=cos(x)
f′(x)=−sin(x)
f(x)=ex
f′(x)=ex
f(x)=ln(x)
f′(x)=x1
Exercises
1. Find derivatives
Using the limit definition, find the derivative of the following functions:
(a) f(x)=x3
(b) f(x)=x
(c) f(x)=2x+5
(d) f(x)=3x4
(e) f(x)=x−2
(f) f(x)=5
2. Prove from the limit definition:
(a) f(x)=x1⇒f′(x)=−x21
(b) f(x)=x2+3x⇒f′(x)=2x+3
3. Find f′(x) using the limit definition.
(a) f(x)=x2+11
(b) f(x)=x1
4. logarithmic function
Derive the formula for f(x)=ln(x) from the limit definition:
f′(x)=h→0limhln(x+h)−ln(x)
Use the identity: ln(x+h)−ln(x)=ln(1+xh), and the definition of e.
5. absolute value function
Let f(x)=∣x−1∣. Determine where f is not differentiable and explain why using the limit definition.
Extra Advanced Exercises:
1. Piecewise Function Differentiability
Let:
f(x)={x2+2x,ax+b,x<1x≥1
Find values of a and b such that:
(a) f is continuous at x=1
(b) f is differentiable at x=1
2. Challenge with Radical and Rational Function
Use the limit definition to find f′(x) for:
f(x)=x+1x
3. Limit Form Involving Trigonometry
Use the identity:
h→0limhsin(h)=1
to derive:
dxd(sin(x))=cos(x)
4. Absolute and Rational Hybrid
Let:
f(x)=x∣x∣
(a) Use the limit definition to determine where f(x) is differentiable.
(b) Graph it and explain why the derivative does or does not exist at certain points.
5. Pointwise Derivative of a Nowhere-Differentiable Function
Read about the Weierstrass function:
f(x)=n=0∑∞ancos(bnπx)with 0<a<1,b odd, ab>1+23π
(a) Explain why this function is continuous everywhere
(b) Investigate why it is not differentiable anywhere
(c) Attempt a limit-based justification (conceptual only)
Wrap-Up
Derivatives measure instantaneous change, defined using limits
The limit definition is foundational, even if we later use rules to shortcut the process
Not all functions are differentiable everywhere (e.g., piecewise, absolute value, radicals at zero)