Implicit Differentiation: The Chain Rule Trick
Most functions you meet in early calculus are written explicitly: you have isolated on one side, such as . But many important curves cannot be rearranged into that tidy form. The equation of a circle, , defines a relationship between and without explicitly solving for either variable. To find slopes and tangent lines on such curves, we need a technique called implicit differentiation.
This guide walks through the concept from first principles, builds a repeatable step-by-step method, and then applies it to progressively harder worked examples. By the end you will be comfortable differentiating any implicitly defined curve and finding its tangent lines, second derivatives, and connections to related rates problems.
Why Ordinary Differentiation Falls Short
When a function is written as , you differentiate each term with respect to directly. The power rule, product rule, and chain rule all work straightforwardly because every term is expressed in terms of .
Now consider the circle . You could solve for to get , but this splits the curve into two separate functions (the upper and lower semicircles) and introduces a square root that complicates further work. For an equation like (the folium of Descartes), it is not possible to isolate algebraically at all. Implicit differentiation handles both cases elegantly.
The Core Idea: The Chain Rule in Disguise
Implicit differentiation rests on a single insight: treat as a function of , even though you have not solved for it. Whenever you differentiate a term containing , apply the chain rule. For instance:
The outer derivative gives (power rule), and the chain rule multiplies by because itself depends on . This factor of (often written ) is what we ultimately solve for.
Step-by-Step Method
Follow these four steps for any implicitly defined equation:
- Differentiate every term on both sides of the equation with respect to . Apply the chain rule to every term that contains , appending a factor of .
- Collect all terms containing on one side of the equation and move everything else to the other side.
- Factor out .
- Divide both sides by the remaining factor to isolate .
The answer will usually contain both and . That is perfectly normal for implicit differentiation.
Try it yourself
Use our Implicit Differentiation Calculator to check your work step by step.
Worked Example 1: The Circle
Find for .
Step 1. Differentiate both sides with respect to :
Step 2. Isolate the term:
Step 3. Divide both sides by :
This tells us that the slope at any point on the circle is . At , for example, the slope is , which matches geometric intuition: the radius to has slope , and the tangent is perpendicular to the radius.
Worked Example 2: An Ellipse
Find for .
Step 1. Differentiate:
Step 2. Simplify and isolate:
At the point on the ellipse, the slope is:
Worked Example 3: The Folium of Descartes
Find for .
Step 1. Differentiate. The left side is straightforward. The right side requires the product rule because it contains both and :
Step 2. Collect terms on one side:
Step 3. Factor and divide:
The curve passes through . At that point:
So the tangent line at has slope , meaning it slopes downward at 45 degrees.
Finding the Equation of a Tangent Line
Once you have evaluated at a point , the tangent line equation is:
Example. For the circle at , we found . The tangent line is:
Worked Example 4: A Curve Requiring the Product Rule
Find for .
Differentiate term by term. For , use the product rule: . For , again use the product rule: . The right side gives 0.
Collect and factor:
At the point (verify: ):
Try it yourself
Enter any equation into our Derivative Calculator to see the differentiation steps broken down automatically.
Second Derivatives by Implicit Differentiation
You can find by differentiating again with respect to , remembering that (and therefore ) still depends on .
Example. For , we found . Differentiate using the quotient rule:
Multiply numerator and denominator by :
The last simplification uses . Notice that the second derivative is always negative when (top half of the circle), confirming that the curve is concave down there, exactly as we would expect.
Connection to Related Rates
Related rates problems are implicit differentiation in disguise. Instead of differentiating with respect to , you differentiate with respect to time . Every variable that changes over time picks up a factor via the chain rule.
Example. A spherical balloon is being inflated so that its volume increases at . How fast is the radius changing when ?
Start with the volume formula:
Differentiate both sides with respect to :
Substitute and :
The structure is identical to implicit differentiation: apply the chain rule to every variable, then solve for the unknown rate.
Common Mistakes to Avoid
- Forgetting the chain rule factor. Every time you differentiate a term, you must multiply by . Omitting this is the most common error.
- Dropping the product rule. Terms like or require the product rule because they contain two variable quantities.
- Substituting the point too early. Always find the general expression for first, then substitute the coordinates.
- Sign errors when rearranging. Be meticulous when moving terms across the equals sign.
When to Use Implicit Differentiation
Use implicit differentiation whenever the equation relating and is difficult or impossible to solve for explicitly. Common scenarios include:
- Circles, ellipses, and other conic sections
- Higher-degree polynomial curves (e.g., the folium of Descartes)
- Equations involving transcendental functions of , such as
- Related rates problems where multiple quantities change with time
- Implicit equations arising from level curves of multivariable functions
Try it yourself
Practise with our Implicit Differentiation Calculator and our Derivative Calculator to build confidence before your next exam.
Frequently Asked Questions
What is the difference between explicit and implicit differentiation?
Explicit differentiation works on functions written as , where is isolated on one side. Implicit differentiation works on equations where and are intertwined, such as . The technique is the same (differentiation rules), but implicit differentiation adds the chain rule factor wherever appears.
Why does implicit differentiation give an answer containing both x and y?
Because was never isolated as a function of , the derivative naturally depends on both variables. To evaluate the slope at a particular point, you substitute both the and coordinates of that point into the expression.
Can I use implicit differentiation on any equation?
Yes, as long as the equation defines as a differentiable function of (at least locally). At points where would involve division by zero, the tangent line is vertical and the derivative does not exist in the usual sense.
How does implicit differentiation relate to multivariable calculus?
If defines the curve, then the implicit function theorem gives , where and are the partial derivatives. This is exactly the formula you derive by implicit differentiation, confirming the connection between single-variable and multivariable viewpoints.
Is implicit differentiation on the AP Calculus exam?
Yes. Implicit differentiation is a standard topic on both the AP Calculus AB and BC exams. You should be able to find first and second derivatives implicitly, determine tangent line equations, and solve related rates problems that rely on the same technique.
Related Articles
How to Find the Derivative: Rules, Formulas, and Worked Examples
Master differentiation with this guide to derivative rules. Covers the power rule, product rule, quotient rule, and chain rule with step-by-step KaTeX examples.
How to Calculate Probability: Formulas, Rules, and Examples
Master probability calculations with clear explanations of basic probability, conditional probability, independent events, and combinations. Includes real-world worked examples.
The Complete Guide to Logarithms: Rules, Examples, and Applications
Master logarithms from the basics to advanced rules. Covers log properties, change of base formula, and real-world applications in science and finance.