Skip to content

Implicit differentiation, step by step

5 min read

Short answer

Differentiate both sides of the equation with respect to xx, treating yy as a function of xx: every derivative of a yy term picks up a factor dydx\dfrac{dy}{dx} (the chain rule). Then collect the dydx\dfrac{dy}{dx} terms on one side and solve for it.

Diagram(1.2, 1.6)slope = −x/y
The circle x² + y² = 4 is not a function y(x), but it has a slope at every point: −x/y.

The four steps

  1. Differentiate both sides with respect to xx.
  2. Whenever you differentiate a yy term, multiply by dydx\dfrac{dy}{dx}.
  3. Move all terms with dydx\dfrac{dy}{dx} to one side.
  4. Factor out dydx\dfrac{dy}{dx} and divide.

Products of x and y

A term like xyxy needs the product rule: ddx(xy)=y+xdydx\dfrac d{dx}(xy)=y+x\dfrac{dy}{dx}. Treat yy as "some function of xx" everywhere and nothing is forgotten.

Worked example

For x2+y2=4x^2+y^2=4, find dydx\dfrac{dy}{dx} and the tangent slope at (2,2)\left(\sqrt2,\sqrt2\right).

Differentiate: 2x+2ydydx=02x+2y\dfrac{dy}{dx}=0, so dydx=−xy\dfrac{dy}{dx}=-\dfrac xy. At (2,2)(\sqrt2,\sqrt2) the slope is −1-1.

Try it yourself

Find dydx\dfrac{dy}{dx} for x3+y3=6xyx^3+y^3=6xy.

Show the answer

3x2+3y2y′=6y+6xy′3x^2+3y^2y'=6y+6xy'. Collect: y′(3y2−6x)=6y−3x2y'(3y^2-6x)=6y-3x^2, so y′=6y−3x23y2−6x=2y−x2y2−2xy'=\dfrac{6y-3x^2}{3y^2-6x}=\dfrac{2y-x^2}{y^2-2x}.

Keep going with practice

Vidi's lessons on level curves reuse this idea: the slope of f(x, y) = c is −fₓ / f_y.