Implicit differentiation
So far, we’ve worked with functions that explicitly define in terms of . In other words, each input produces exactly one output value .
However, not all equations define explicitly. Consider the equation:
This equation describes a curve, not a function, because some -values correspond to more than one -value. If you graph it, it fails the vertical line test.
To find derivatives for equations like this, we use implicit differentiation.
Step-by-step process
- Start with the equation:
To recognize equations that require implicit differentiation, look for:
- Terms with and multiplied together
- appearing multiple times in the equation
- being raised to a power somewhere
When you see these features, the equation often represents a curve that fails the vertical line test, so it isn’t a function of .
For example, a circle of radius 5 can’t be described by a single function , but it can be described by the equation:
- Differentiate both sides:
Differentiate with respect to on both sides. Use the usual derivative rules, but every time you differentiate a term involving , multiply by (or ) right away.
For the circle:
- Solve for :
Why does this work?
Implicit differentiation is really the chain rule in disguise.
For example, if , then
When you differentiate with respect to , you’re treating as a function of (even if it isn’t written as ). So:
In practice, we usually drop the explicit and write:
On the AP exam, you’ll often use implicit differentiation to identify tangent lines to curves.
Example
Find where the curve
has horizontal or vertical tangent lines.
Solution
Answer:
- Horizontal: and
- Vertical: and
Differentiate implicitly:
Now solve for :
1. Horizontal tangent line(s):
Horizontal tangents occur when the numerator is (and the denominator is not ).
Set the numerator equal to :
and require the denominator
To find the points on the curve where , substitute into the original equation and solve for :
Factor as a difference of squares:
Now find the corresponding -values using :
for and
for
Finally, check the denominator at each point. Plugging in and gives nonzero values, so both points are valid. Therefore, the tangent line is horizontal at both points.
2. Vertical tangent line(s):
Vertical tangents occur when the denominator is (and the numerator is not ).
Set the denominator equal to :
and require the numerator
Substitute into the original equation:
Using , the candidate points are and .
Check the numerator at each point. Neither makes the numerator , so both points are valid. Therefore, the tangent line is vertical at both points.
Higher order derivatives
So far, we’ve found first derivatives. A first derivative tells you how changes as changes (graphically, whether the curve is increasing or decreasing as you move left to right).
The second derivative is the derivative of the first derivative. It tells you how the rate of change is changing.
For example, if , then
A major application of the second derivative comes later. For now, let’s find the second derivative of a curve using implicit differentiation.
Use the circle from earlier:
We already found
Differentiate both sides again with respect to :
The left side becomes , which is the notation for the second derivative.
On the right side, use the quotient rule. Remember: when you differentiate a term involving with respect to , you need the chain rule, so a factor of appears.
Now substitute for :
Simplify:
Because the original equation tells us , we can also write:
Later, you’ll use second derivatives like this to analyze the curve’s shape (here, the curve is a circle).
Challenge problems
- Find where the curve
has horizontal or vertical tangent lines.
Solution
Answer: Vertical tangent line at but no horizontal tangent line
Differentiate implicitly:
Distribute:
Cancel:
Solve for :
1. Horizontal tangent(s)
Horizontal tangents occur when the numerator and the denominator .
Substitute into the original equation:
This is impossible because is only defined when . That means:
- and must have the same sign (both positive or both negative)
- neither nor can be
So there is no horizontal tangent line.
2. Vertical tangent(s)
Vertical tangents occur when the denominator and the numerator .
For , either or .
The domain restriction rules out , so we focus on , which means .
Use the original equation to find the corresponding :
At , the denominator is and the numerator is (nonzero). Therefore, there is a vertical tangent line at .
- Consider the curve defined by the equation:
where and are constants. If the tangent line to the curve at the point has a slope of find the values of and .
Solution
Differentiating implicitly (noting that and are constants and can be pulled to the front):
Solving for ,
If the tangent line at has slope , then when and . Substitute these values:
This is one equation relating and . To get a second equation, use the original curve equation at :
Solve the system of equations
to obtain