2.2 Limit Definition of the Derivative
In the previous lesson, we found tangent slopes by taking limits of secant slopes. The derivative gives this limiting process a precise mathematical definition and allows us to describe the instantaneous rate of change of a function at any point where that rate exists.
What Is a Derivative?
The derivative of a function at a point measures its instantaneous rate of change at that point. Geometrically, it represents the slope of the tangent line to the graph.
Recall that the average rate of change of \(f(x)\) between \(x=a\) and \(x=a+h\) is
This expression is called the difference quotient. It gives the slope of a secant line through two distinct points on the graph.
As \(h\) approaches zero, the two points approach each other. If the secant slopes approach a finite number, that number is the derivative at \(x=a\).
Definition of the Derivative at a Point
The derivative of \(f\) at \(x=a\) is
provided the limit exists as a finite real number.
The notation \(f'(a)\) is read "f prime of a." It represents a single number: the instantaneous rate of change at the specified input.
Equivalent Forms of the Definition
There are two common ways to write the limit definition of the derivative at a point.
Using an Increment
Here, \(h\) represents a change in the input. The expression \(a+h\) is a nearby input, and the denominator measures the horizontal change between the two points.
Using a Nearby Input
In this form, the second input is written directly as \(x\). The denominator \(x-a\) measures the signed horizontal change from the fixed input \(a\).
The two forms are equivalent because setting \(h=x-a\) gives \(x=a+h\). Therefore, \(x\to a\) corresponds to \(h\to0\).
Why We Take a LimitSubstituting \(h=0\) directly into the original difference quotient produces \(0/0\). The derivative is not found by dividing by zero. Instead, we simplify the quotient for nonzero \(h\) and examine what happens as h approaches zero.
Finding a Derivative at a Point
Example 1: Evaluating a Derivative from Its Definition
Use the limit definition to find \(f'(2)\) for \(f(x)=x^2-3x+1\).
Show solution
Begin with the definition of the derivative at \(x=2\).
Evaluate the function at 2 by substituting 2 for x.
Next, replace every occurrence of x in the original function with \(2+h\).
Expand the square and distribute the coefficient.
Combine the constant terms and the terms containing h.
Substitute both function values into the difference quotient.
Subtracting a negative number adds its opposite. The constant terms cancel.
Factor h from the numerator.
Because h approaches zero without equaling zero, we can cancel the common factor.
The simplified expression is continuous at zero, so evaluate the limit by substitution.
The tangent line at x = 2 has slope 1. The function is increasing instantaneously at a rate of 1 unit of output per unit of input.
The Derivative as a Function
So far, we have evaluated the derivative at a specific input. However, we can also calculate the derivative at a general input \(x\).
Instead of producing one number, this process produces a new function that gives the instantaneous rate of change at every input where the derivative exists.
Definition of the Derivative Function
The derivative function of \(f(x)\) is
for every input x where the limit exists as a finite number.
Example 2: Finding the Derivative Function
Use the limit definition to find the derivative function of \(f(x)=x^3-2x\).
Show solution
Because we want the entire derivative function, keep x as a variable rather than substituting a particular number.
Substitute \(x+h\) into the original function.
Expand the cube using the binomial formula.
Distribute -2 across the remaining parentheses.
Combine the expressions.
Substitute this expression and the original function into the difference quotient.
Distribute the negative sign through the final parentheses.
The x-cubed terms cancel, as do the terms containing only x.
Every term in the numerator contains h, so factor it out.
Cancel the common factor h for nonzero h.
As h approaches zero, the terms containing h approach zero. The remaining terms depend only on x.
This is the derivative function. It gives the tangent slope at every real input.
For example, at x = 2:
The tangent slope at x = 2 is 10.
Notation for Derivatives
Several notations are used to represent derivatives. They describe the same mathematical operation, although each emphasizes a slightly different perspective.
| Notation | Meaning |
|---|---|
| \(f'(x)\) | Lagrange notation, read "f prime of x." |
| \(y'\) | The derivative when the function is written as y. |
| \(\frac{dy}{dx}\) | Leibniz notation, emphasizing the rate of change of y with respect to x. |
| \(\frac{d}{dx}[f(x)]\) | An instruction to differentiate f with respect to x. |
| \(Df(x)\) | Operator notation for the derivative of f. |
For example, if \(y=x^2\), we can write
In this lesson, we obtain derivatives using limits. In the next lessons, we will develop rules that make finding derivatives much faster.
Using the Alternative Limit Definition
The derivative can also be calculated by letting a nearby input x approach a fixed input a.
Example 3: Using the Alternative Definition
Find \(f'(3)\) for \(f(x)=x^2+2x\) using the alternative limit definition.
Show solution
Begin with the alternative form of the derivative definition at x = 3.
Evaluate the function at 3.
Substitute the original function and this value into the quotient.
Direct substitution gives 0/0, so we need to simplify the numerator before evaluating the limit.
Factor the quadratic by finding two numbers whose product is -15 and whose sum is 2. These numbers are 5 and -3.
Substitute the factorization into the limit.
Since x approaches 3 without equaling 3, the common factor can be canceled.
Evaluate the remaining expression.
The tangent line to the original function at x = 3 has slope 8.
Derivatives of Rational and Radical Functions
The limit definition works for many kinds of functions, not just polynomials. Rational functions often require combining fractions, while radical functions may require rationalization.
Example 4: Derivative of a Reciprocal Function
Find the derivative function of \(f(x)=\frac1x\) from its definition.
Show solution
Begin with the definition of the derivative function.
Substitute the reciprocal function.
The numerator contains two fractions with different denominators. Combine them using the common denominator \(x(x+h)\).
Subtract the numerators while keeping the common denominator.
Distribute the negative sign and combine like terms.
The difference quotient becomes
Dividing by h is equivalent to multiplying by its reciprocal.
Cancel the common factor h.
With x fixed and nonzero, let h approach zero.
This derivative exists for every nonzero x. It does not exist at x = 0 because the original function is undefined there.
Example 5: Derivative of a Square-Root Function
Use the limit definition to find the derivative of \(f(x)=\sqrt{x+4}\) for \(x>-4\).
Show solution
Start with the derivative function definition.
Substitute the square-root function.
Direct substitution produces 0/0. Because the numerator contains radicals, multiply by its conjugate.
The conjugate multiplication creates a difference of squares in the numerator.
Squaring each radical removes the square root.
Distribute the negative sign and cancel the matching terms.
Substitute this simplified numerator back into the limit.
Cancel the common factor h for nonzero h.
Now let h approach zero. Both radicals approach the same expression.
Combine the identical denominator terms.
The derivative is defined for x greater than -4. At x = -4, the denominator would be zero, and the function does not have a finite derivative.
Differentiability and Continuity
A function is differentiable at a point if its derivative exists there as a finite number.
Differentiability is a stronger condition than continuity. If a function is differentiable at a point, then it must also be continuous there.
Differentiability Implies Continuity
If \(f'(a)\) exists, then
Therefore, f is continuous at a.
Why Differentiability Implies Continuity
Suppose the derivative exists at x = a. For x different from a, rewrite the change in function value as a product.
As x approaches a, the first factor approaches \(f'(a)\), which is finite, while the second factor approaches zero.
Consequently,
This establishes continuity at the point.
The Converse Is Not TrueA continuous function is not necessarily differentiable. For example, \(f(x)=|x|\) is continuous at zero, but its graph has a corner there. The left-hand and right-hand difference quotients approach different values.
One-Sided Derivatives
To determine whether a function is differentiable at a point, we can examine the difference quotient from the left and from the right.
At an interior point of the domain, the ordinary derivative exists precisely when both one-sided derivative limits exist as finite numbers and are equal.
Example 6: Continuous but Not Differentiable
Determine whether \(f(x)=|x-2|\) is differentiable at x = 2.
Show solution
Begin by evaluating the function at the point in question.
Set up the difference quotient at x = 2.
Substitute the absolute-value function.
Simplify the expression inside the absolute-value bars.
The absolute value behaves differently depending on whether h is positive or negative, so examine the two one-sided limits separately.
When h is positive, its absolute value equals h.
Therefore, the right-hand derivative is
When h is negative, its absolute value equals -h.
Therefore, the left-hand derivative is
Compare the two one-sided derivatives.
Because they are unequal, the two-sided derivative does not exist.
The function is continuous at x = 2 because its limit there equals f(2) = 0. However, its graph has a corner, so it is not differentiable at that point.
Where Derivatives Fail to Exist
A derivative can fail to exist for several reasons. Recognizing these situations is just as important as knowing how to calculate a derivative.
| Situation | What happens? |
|---|---|
| Discontinuity | The function cannot be differentiable at a point where it is discontinuous. |
| Corner | The one-sided derivatives approach different finite values. |
| Cusp | The one-sided secant slopes become unbounded in incompatible directions. |
| Vertical tangent | The secant slopes become unbounded rather than approaching a finite slope. |
| Domain endpoint | A two-sided derivative cannot be formed without domain points on both sides; a one-sided derivative may still exist. |
Instantaneous Rates of Change
Derivatives are not limited to geometric tangent slopes. They describe instantaneous change in many applied situations.
If \(s(t)\) represents the position of an object at time t, then \(s'(t)\) represents its instantaneous velocity.
Example 7: Instantaneous Velocity from the Definition
A particle moves along a straight line with position \(s(t)=t^2-6t+8\) meters, where t is measured in seconds. Find its instantaneous velocity at t = 4.
Show solution
Average velocity is the change in position divided by the elapsed time. Instantaneous velocity is the limit of this average as the time interval approaches zero.
First evaluate the position at t = 4.
Next, evaluate the position at t = 4 + h.
Expand the square and distribute -6.
Combine the constant terms and the terms containing h.
Substitute both position values into the velocity limit.
Factor h from the numerator.
Cancel the common factor h for nonzero h.
Evaluate the remaining limit.
Position is measured in meters and time in seconds, so velocity is measured in meters per second.
At 4 seconds, the particle is moving in the positive direction with an instantaneous velocity of 2 meters per second.
Common Mistakes
- Substituting h = 0 too early. The original difference quotient is generally undefined at h = 0. Simplify before evaluating the limit.
- Expanding f(x + h) incorrectly. Replace every occurrence of x, then carefully expand powers and distribute coefficients.
- Forgetting parentheses when subtracting f(x). The subtraction applies to every term of the original function.
- Confusing f(x) with f'(x). The original function gives output values; the derivative function gives instantaneous rates of change.
- Assuming continuity guarantees differentiability. A function can be continuous at a corner or cusp without having a derivative there.
- Ignoring the domain. A derivative cannot be evaluated at an input where the original function is undefined.
- Confusing an infinite limit with a finite derivative. A vertical tangent may exist geometrically even though the derivative is not a real number.
Key Takeaways
- The derivative is the limit of the difference quotient.
- The derivative at a point is a number representing instantaneous rate of change or tangent slope.
- The derivative function gives the instantaneous rate of change at every input where it exists.
- Both common limit definitions of the derivative describe the same limiting process.
- Differentiability implies continuity, but continuity does not imply differentiability.
- At an interior point, the derivative exists only when the one-sided derivatives agree and are finite.
- Derivatives describe instantaneous rates of change in geometry, motion, and other applications.