Math Bytes · Calculus · Episode 9 · "Derivatives: chain rule and advanced topics"
Implicit differentiation
Implicit differentiation finds dy/dx without solving for y: take the derivative of both sides with respect to x, use the chain rule on every y term, then solve for dy/dx. For the circle x² + y² = 2, dy/dx = −x / y.
Why not just solve for y?
Take the circle x² + y² = 2. Getting y alone gives y = ±√(2 − x²): two pieces, a square root and a sign to keep track of. That's messy. The whole circle isn't even one function of x (it fails the vertical line test), but near any point where y ≠ 0, y does behave like a function of x, so it has a slope there.
The method
- Take
d/dxof both sides of the equation. - Differentiate x terms as usual. A constant becomes
0. - Every y term needs the chain rule, because y depends on x:
d/dx (y²) = 2y · dy/dx. - Solve the result for
dy/dx.
Worked example
Find the slope of x² + y² = 2, then check it at the point (1, 1).
- Both sides:
d/dx (x² + y²) = d/dx (2). - x² becomes
2x. The constant 2 becomes0. - y² becomes
2y · dy/dx(the outside, squaring, gives2y; the inside, y, givesdy/dx). - Together:
2x + 2y · dy/dx = 0. - Solve:
2y · dy/dx = −2x, sody/dx = −2x / 2y = −x / y. - At (1, 1): the point is on the circle since
1 + 1 = 2. The slope is−1 / 1 = −1, so the circle tilts downhill at 45° there.
Checks: the radius from the origin to (1, 1) has slope 1, and a circle's tangent is perpendicular to its radius, so the tangent's slope is −1. Doing it the messy way, y = √(2 − x²) gives y′ = −x / √(2 − x²), which is also −1 at x = 1.
Try it yourself
- Find
dy/dxforx² + y² = 25. What is the slope at the point(3, 4)? - Find
dy/dxforx² + 4y² = 8. What is the slope at the point(2, 1)?
(Answers: 1. 2x + 2y · dy/dx = 0, so dy/dx = −x / y, which is −3/4 at (3, 4). 2. 2x + 8y · dy/dx = 0, so dy/dx = −x / (4y), which is −2/4 = −1/2 at (2, 1).)
Good to know
- "Take the derivative of both sides" always means with respect to x, so x terms differentiate normally and y terms pick up
dy/dx. - The answer can contain both x and y. That's fine: plug in the point's x and y.
- At
(±√2, 0)the circle's tangent is vertical and−x / yis undefined (you can't divide byy = 0). - Check that your point is actually on the curve before plugging it in.
Answer to the comment question
x² − y² = 32. What's the slope dy/dx at the point (6, 2)? dy/dx = 3. Differentiate both sides: 2x − 2y · dy/dx = 0, so 2y · dy/dx = 2x and dy/dx = x / y. The point is on the curve since 36 − 4 = 32. At (6, 2): 6 / 2 = 3.
Test your knowledge
Quick quiz: Implicit differentiation
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- OpenStax, "Calculus Volume 1, 3.8 Implicit Differentiation": differentiate both sides, treat y as a function of x, solve for dy/dx; circle examples
- College Board, "AP Calculus AB and BC Course and Exam Description": Unit 3, Differentiation: Composite, Implicit, and Inverse Functions (implicit differentiation follows the chain rule)
- OpenStax, "Calculus Volume 1, 3.6 The Chain Rule": why y² becomes 2y · dy/dx
- MIT OpenCourseWare, "18.01 Single Variable Calculus (Fall 2006)": lecture notes on implicit differentiation
Video transcript
How do you find a slope when y won't sit by itself?
Take the circle x² + y² = 2. Getting y alone is messy.
Take the derivative of both sides. x² becomes 2x. The constant 2 becomes 0.
y² needs the chain rule, because y depends on x. It becomes 2y times dy/dx.
So 2x + 2y · dy/dx = 0. Solve: dy/dx = −x / y.
At the point (1, 1), that's −1: the circle tilts downhill at 45 degrees. It checks!
Your turn. x² − y² = 32. What's the slope at the point (6, 2)? Comment your answer below!
That's your byte.
More from Calculus
- Calculus EP6The power rule
- Calculus EP7The product rule
- Calculus EP11Position, velocity, acceleration
- Calculus EP12Optimization