An equation such as x² + y² = 25 defines y as a function of x implicitly, without a formula y = f(x). To find dy/dx, differentiate both sides with respect to x, treating y as an unknown function of x: by the chain rule, every term containing y picks up a factor dy/dx. Then solve the resulting equation for dy/dx. The slope usually depends on both x and y, which is what lets one curve have different slopes at points with the same x.
What you'll learn
Differentiate an equation implicitly with respect to x
The circle x2+y2=25 is not the graph of a single function: each x
between −5 and 5 has two y values. Near any one point, though, the circle
is the graph of some function — the top half is y=25−x2 — and it
has a tangent line.
tangent: y = −¾x + 25/4
A circle and its tangent line at (3, 4)
Solving for y works here but gets ugly fast, and for curves such as
x3+y3=6xy it is hopeless. Implicit differentiation finds the slope
without ever solving for y.
y stands for a function of x, even if we never write its formula. So y2
is really (y(x))2 — a composite — and the chain rule gives
dxdy2=2y⋅dxdy
Compare dxdx2=2x⋅dxdx=2x: the factor is there too,
but it equals 1. Implicit differentiation is the chain rule applied to a
function whose formula is unknown. The factor dxdy is the inner
derivative that the unknown function contributes.
dxdy=−yx=−−125=125. Then y+12=125(x−5), so y=125x−1225−12=125x−12169.
Find dxdy for y3+y=x2.
Answer
dxdy=3y2+12x
Full solution
3y2dxdy+dxdy=2x, so (3y2+1)dxdy=2x.
Find dxdy for x2y+y2=7.
Answer
dxdy=−x2+2y2xy
Full solution
Product rule on x2y: 2xy+x2dxdy+2ydxdy=0. So (x2+2y)dxdy=−2xy.
Find dxdy for ey=x+y.
Answer
dxdy=ey−11
Full solution
eydxdy=1+dxdy, so (ey−1)dxdy=1.
At which points of x2+y2=25 is the tangent line horizontal? Vertical?
Answer
Horizontal at (0,±5); vertical at (±5,0).
Full solution
dxdy=−yx is 0 when x=0 (with y=±5), and undefined when y=0 (with x=±5), where the tangent is vertical.
Find dx2d2y for xy=1, in terms of x and y.
Answer
x22y
Full solution
From problem 2’s method, dxdy=−xy. Quotient rule: dx2d2y=−x2xdxdy−y=−x2−y−y=x22y.
Find the slope of x3+y3=6xy at (34,38), a point on the curve.
Answer
54
Full solution
The point is on the curve: x3+y3=2764+27512=364 and 6xy=6⋅932=364.
Use dxdy=y2−2x2y−x2 from Example 2. The top is 948−916=932 and the bottom is 964−924=940.
The slope is 4032=54.
A student differentiates x2+y2=25 to get 2x+2y=0. What went wrong?
Hint
y is a function of x.
Answer
The dxdy from the chain rule is missing: 2x+2ydxdy=0.
Full solution
dxdy2=2ydxdy, because y depends on x.
The student’s equation, 2x+2y=0, is a line, not a statement about slopes.
Frequently asked questions
What is implicit differentiation?
Differentiating both sides of an equation in x and y with respect to x, treating y as a function of x, then solving for dy/dx.
Why does the derivative of y² have a dy/dx in it?
Because y is a function of x, y² is a composite, and the chain rule gives 2y · dy/dx.
How do I differentiate xy implicitly?
With the product rule: d/dx (xy) = 1 · y + x · dy/dx.
Why does the answer contain both x and y?
An implicit curve can pass through several points with the same x — a circle does — and each has its own slope, so the slope needs y to say which point is meant.
When should I use implicit differentiation?
When solving for y is hard or impossible, or gives more than one branch, as with a circle or x³ + y³ = 6xy.