Implicit differentiation is the technique used to find dy/dx when y isn't written as an explicit function of x (like y = f(x)), but is instead tangled up with x in a single equation, such as x² + y² = 25 (a circle). Because the algebra involved varies hugely from equation to equation and genuinely needs to be worked through case by case, this page is a worked-example teaching guide rather than an automatic solver — it explains the chain-rule-based method step by step and works through three full examples so you can apply the same process to your own equations.
This guide is for calculus students meeting implicit differentiation for the first time, typically in a senior high school or first-year university course, where it's used to differentiate circles, ellipses, and other curves that can't be neatly rearranged into y = f(x) form, as well as in related-rates problems. The key idea that trips most students up — remembering to apply the chain rule to every y term because y is itself a function of x — is explained clearly below with worked examples.
The method: differentiate both sides, treating y as a function of x
To differentiate implicitly, apply d/dx to both sides of the equation term by term. Every time you differentiate a term containing y, you must apply the chain rule: differentiate with respect to y as normal, then multiply by dy/dx (because y is itself an unknown function of x). Once every term has been differentiated, collect all the dy/dx terms on one side of the equation, factor dy/dx out, and divide to isolate dy/dx by itself.
Worked Example 1: x² + y² = 25 (a circle)
Step 1 — differentiate both sides with respect to x: d/dx(x²) + d/dx(y²) = d/dx(25). This gives 2x + 2y(dy/dx) = 0, applying the chain rule to y² (differentiate y² with respect to y to get 2y, then multiply by dy/dx).
Step 2 — isolate dy/dx: 2y(dy/dx) = -2x, so dy/dx = -2x / 2y = -x/y.
Answer: dy/dx = -x/y. This makes sense geometrically — on a circle, the tangent slope is always perpendicular to the radius direction y/x.
Worked Example 2: x³ + y³ = 6xy (a folium curve)
Step 1 — differentiate both sides: d/dx(x³) + d/dx(y³) = d/dx(6xy). This gives 3x² + 3y²(dy/dx) = 6y + 6x(dy/dx), using the chain rule on y³ and the product rule on 6xy (since both x and y vary).
Step 2 — collect dy/dx terms on one side: 3y²(dy/dx) - 6x(dy/dx) = 6y - 3x².
Step 3 — factor and solve: dy/dx(3y² - 6x) = 6y - 3x², so dy/dx = (6y - 3x²) / (3y² - 6x), which simplifies to (2y - x²) / (y² - 2x).
Answer: dy/dx = (2y - x²) / (y² - 2x).
Worked Example 3: sin(y) + xy = x² (mixed trig and polynomial terms)
Step 1 — differentiate both sides: d/dx(sin y) + d/dx(xy) = d/dx(x²). This gives cos(y)(dy/dx) + [y + x(dy/dx)] = 2x, using the chain rule on sin(y) and the product rule on xy.
Step 2 — collect dy/dx terms: cos(y)(dy/dx) + x(dy/dx) = 2x - y.
Step 3 — factor and solve: dy/dx [cos(y) + x] = 2x - y, so dy/dx = (2x - y) / (cos(y) + x).
Answer: dy/dx = (2x - y) / (cos(y) + x).
Frequently asked questions
It's used to find dy/dx for equations where y can't easily be isolated as a function of x, such as circles, ellipses, and other curves defined by an implicit equation relating x and y together.
Because y is treated as an unknown function of x, so differentiating any term containing y requires the chain rule — you differentiate with respect to y, then multiply by dy/dx to convert back to a derivative with respect to x.
dy/dx = -x/y, found by differentiating both sides and isolating dy/dx.
Yes, whenever x and y are multiplied together in the same term (like xy), you need both the product rule and the chain rule together.
The algebra required varies significantly from equation to equation, so this page teaches the reliable step-by-step chain-rule method with full worked examples instead of attempting a general symbolic solver.