What's the slope of a circle?
Not "at the top" or "at the side," those you could probably guess. What's the slope at some arbitrary point, using nothing but the equation ?
You can't just differentiate this the way you differentiate . There's no "y = ..." to start from. And yet the circle obviously has a slope everywhere except two points. Implicit differentiation is how we get at it anyway.
Why can't we just solve for y?
Some equations hand you directly. . . These are called explicit functions, and differentiating them is routine.
But doesn't do that. Solve for and you get , two separate formulas glued together at . Worse, some equations can't be solved for at all, no matter how hard you push the algebra. We'll meet one of those later in this post.
So here's the question: can we find without ever isolating ?
Turns out, yes. And the trick is smaller than you'd expect.
The trick: differentiate both sides
Here's the whole idea in one sentence: differentiate both sides of the equation with respect to , and every time you differentiate a term containing , remember that is secretly a function of .
That "remembering" is just the chain rule. Take . Differentiate term by term:
The first term is easy: . The last term is zero, since 25 never changes. The middle term is where it gets interesting. isn't just "a square," it's the square of some function of . The chain rule says differentiating it gives , times the rate itself is changing:
Now it's just algebra. Isolate :
That's it. A formula for the slope of a circle at any point on it, without ever writing as an explicit function of . Try it below.
Circle: One Equation, Two Branches
Drag the point around x² + y² = 25, the tangent stays perpendicular to the radius everywhere, even where "solve for y" breaks down.
Watch what happens near the top and bottom of the circle. The formula demands you divide by , and right where , that blows up. Notice this is exactly where the explicit form would need to switch between and . Same breakdown, seen from two angles.
And notice the tangent is always perpendicular to the radius, exactly as geometry says it should be. That's not a coincidence, it's a nice sanity check that the formula is telling the truth.
Where does that extra dy/dx come from?
Let's slow down on that one step, because it's the entire method.
Think of as a dial connected to by a hidden wire. You never see the wire's exact shape, but every time moves a little, moves too, by some amount that depends on the wire. That amount, per unit of , is exactly .
Now suppose a term in your equation is . If were an independent variable, differentiating with respect to itself would just give . But isn't independent here, it's riding on . So the chain rule inserts the wire's own rate: .
Every single time shows up in an equation, differentiating it costs you one factor of . Plain terms never do, because is the thing we're differentiating with respect to. Its own rate of change with respect to itself is just , so it never shows up explicitly.
What about terms where x and y multiply?
Circles are the easy case, because and never touch each other directly. But plenty of equations have a term like , where both variables are tangled together in the same product. That needs the product rule on top of the chain rule.
Take a simple one: , a hyperbola. Differentiate both sides:
The right side is . The left side needs the product rule, treating and as two changing quantities multiplied together:
But why does a product of two changing things differentiate that way? Picture as the area of a rectangle with width and height . Nudge up by a small amount , while staying on the curve so the area stays exactly . The height has to shrink to compensate, by some .
Why xy Needs the Product Rule
The rectangle's area always equals 6. Shrink Δx and watch the corner square vanish faster than the two strips.
The new area comes from three pieces: a strip of width along the side (area ), a strip of height along the top (area ), and a tiny leftover corner (area ). Since the total area never changes, those three pieces must sum to zero.
Now shrink toward zero. The two strips shrink proportionally, but the corner shrinks like , a product of two small things, so it vanishes much faster. What's left in the limit is exactly ... which is the product rule, discovered from a rectangle instead of memorized from a table.
A curve you truly cannot solve for y
Here's the payoff. Consider:
This is the Folium of Descartes, and unlike the circle, there is no clean way to write as a formula in . It's a genuine loop, doubling back on itself, failing the vertical line test entirely. Explicit calculus has nothing to offer here. Implicit differentiation doesn't blink.
Differentiate both sides, using the chain rule on and the product rule on :
Collect every term on one side:
One formula, and it works at every point on that loop, explicit form or not.
A Curve You Can't Solve for y
x³ + y³ = 6xy loops back on itself, no formula "y = ..." draws this whole shape. Implicit differentiation doesn't care.
Trace the loop slowly. Near the origin, the curve crosses itself, two different branches passing through the same point with two different tangent directions. The formula genuinely breaks down there (), because at a self-crossing, "the" tangent line isn't a single thing anymore. Everywhere else, it just works.
What can go wrong
A few habits will trip you up, all fixable with practice.
Forgetting the . If you differentiate and just write , you've silently pretended is a plain constant with respect to . It isn't. Any term with in it needs that extra factor.
Skipping the product rule. A term like or has both variables in it. Differentiate it as a product, not as if only one side were changing.
Losing track of during algebra. After differentiating, you'll usually have scattered across several terms. Collect them all onto one side before you factor and divide, or you'll drop one by accident.
None of these are new rules. They're the ordinary chain rule and product rule, applied carefully, term by term.
Try it yourself
Four different curves, one method. Pick one below, slide the point along it, and check that the formula and the picture always agree.
Try It Yourself
Pick a curve, slide the point along it, and watch the implicit derivative formula produce the tangent every time.
The short version
Implicit differentiation is what you get when you apply the ordinary chain rule to an equation instead of a lone function. Differentiate both sides with respect to , treat every as a hidden function of (which costs a factor of each time it appears), use the product rule wherever and multiply together, then collect all the terms and solve for it algebraically. The result is a slope formula that works on circles, hyperbolas, loops, and any other curve defined by an equation, whether or not you could ever solve that equation for in the first place.