Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Use Implicit Differentiation

When an equation ties xx and yy together and you cannot, or do not want to, solve for yy, differentiate the whole equation. Every yy-term picks up a factor dydx\frac{dy}{dx} through the chain rule; then solve for dydx\frac{dy}{dx}.

Recognize the task

yy is not isolated: x2+y2=25x^2 + y^2 = 25, x3+y3=6xyx^3 + y^3 = 6xy, sin⁡(xy)=x\sin(xy) = x, ey=x+ye^y = x + y. Test: can you write the equation as y=y = (an expression in xx only) in one easy step? If not, differentiate implicitly. The question often asks for the slope at a point (a,b)(a, b) with both coordinates given.
The rule behind every yy-term is the chain rule; the lesson introduces the technique under Differentiation Techniques.

Two ways to do it

Differentiate both sidesusual choice
ddx g(y)=g′(y) dydx\frac{d}{dx}\,g(y) = g'(y)\,\frac{dy}{dx}
Works on any equation. The answer comes out in terms of both xx and yy, which is normal: it is the slope at any point (x,y)(x, y) of the curve.
Solve for y firstwhen y isolates easily
x2+y2=25  ⇒  y=±25−x2x^2 + y^2 = 25 \;\Rightarrow\; y = \pm\sqrt{25 - x^2}
Only when yy comes free cleanly, and you must pick the branch that passes through your point. At that point both methods give the same slope.

Steps

StepOn x2+y2=25x^2 + y^2 = 25
1Differentiate both sides with respect to x, term by term, using the sum rule. Write ddx\frac{d}{dx} in front of every term so nothing is skipped.Sum and difference rules ↗ddx(x2)+ddx(y2)=ddx(25)\frac{d}{dx}(x^2) + \frac{d}{dx}(y^2) = \frac{d}{dx}(25)
2Differentiate the x-only terms normally. Powers of xx with the power rule, constants to 00.Power rule ↗2x+ddx(y2)=02x + \frac{d}{dx}(y^2) = 0
3Differentiate the y-terms as composites. yy is a function of xx, so y2y^2 is a composite: its derivative is 2y2y times dydx\frac{dy}{dx} by the chain rule. A term like xyxy is a product of two changing quantities and needs the product rule as well.Chain rule ↗2x+2y dydx=02x + 2y\,\frac{dy}{dx} = 0
4Collect every dy/dx term on one side and move everything else to the other side. Factor out dydx\frac{dy}{dx} if it appears more than once.2y dydx=−2x2y\,\frac{dy}{dx} = -2x
5Solve for dy/dx, then substitute the point if one is given. Substitute last, never before differentiating.dydx=−xy\frac{dy}{dx} = -\frac{x}{y}; at (3,4)(3, 4): −34-\frac{3}{4}

Worked examples

Example 1 · circle

basic
x2+y2=25x^2 + y^2 = 25
find the slope at (3,4)(3, 4)
2x+2y y′=02x + 2y\,y' = 0
differentiate; y2y^2 gets a y′y'
y′=−xyy' = -\frac{x}{y}
solve for y′y'
y′∣(3,4)=−34y'\big|_{(3,4)} = -\frac{3}{4}
substitute the point

Example 2 · folium of Descartes

product rule inside
x3+y3=6xyx^3 + y^3 = 6xy
find the slope at (3,3)(3, 3)
3x2+3y2 y′=6y+6x y′3x^2 + 3y^2\,y' = 6y + 6x\,y'
6xy6xy is a product: 6y+6x y′6y + 6x\,y'
3y2 y′−6x y′=6y−3x23y^2\,y' - 6x\,y' = 6y - 3x^2
collect the y′y' terms
y′=6y−3x23y2−6x=2y−x2y2−2xy' = \frac{6y - 3x^2}{3y^2 - 6x} = \frac{2y - x^2}{y^2 - 2x}
factor out y′y' and divide
y′∣(3,3)=6−99−6=−1y'\big|_{(3,3)} = \frac{6 - 9}{9 - 6} = -1
substitute
The folium is symmetric about y=xy = x, so at the point (3,3)(3, 3) on that line the slope had to be ±1\pm 1. A quick symmetry check like this catches most slips.

Example 3 · trig of a product

chain and product rule
sin⁡(xy)=x\sin(xy) = x
the inside xyxy is a product
cos⁡(xy) (y+x y′)=1\cos(xy)\,(y + x\,y') = 1
chain rule, then product rule on xyxy
xcos⁡(xy) y′=1−ycos⁡(xy)x\cos(xy)\,y' = 1 - y\cos(xy)
isolate the y′y' term
y′=1−ycos⁡(xy)xcos⁡(xy)y' = \frac{1 - y\cos(xy)}{x\cos(xy)}
divide

See it happen

Near any point where the curve is not vertical, a small piece of it is the graph of some function y(x)y(x), even when nobody can write that function down. Differentiating the equation differentiates that hidden function, and that is where the factor dydx\frac{dy}{dx} comes from.

Common mistakes

Dropping the dy/dx factor

✗ 2x+2y=02x + 2y = 0
✓ 2x+2y y′=02x + 2y\,y' = 0
Without the factor there is nothing to solve for, and the equation is false at (3,4)(3, 4): 6+8≠06 + 8 \neq 0.

Forgetting the product rule on xy

✗ ddx(6xy)=6x y′\frac{d}{dx}(6xy) = 6x\,y'
✓ ddx(6xy)=6y+6x y′\frac{d}{dx}(6xy) = 6y + 6x\,y'

Substituting the point before differentiating

✗ 9+16=259 + 16 = 25, then differentiate
✓ differentiate with letters first, substitute (3,4)(3, 4) last

Stopping with y' on both sides

✗ y′=6y−3x2+6x y′3y2y' = \frac{6y - 3x^2 + 6x\,y'}{3y^2}
✓ collect all y′y' terms, factor, then divide