Euler Hall — free maths guides

Differentiate a relation that defines y implicitly

Differentiate a relation implicitly, keeping a y prime on every y term. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus I guides.

Differentiate both sides, then solve

A relation likex2+y2=25x^2 + y^2 = 25 definesyy near most points, but not as a formula you can differentiate directly. Implicit differentiation handles it anyway:

1. Differentiate both sides with respect toxx. Everyyy is a function ofxx, so it brings a factory′y' by the chain rule:y2→2yy′y^2 \to 2yy',sin⁡y→cos⁡y⋅y′\sin y \to \cos y\cdot y',xy→y+xy′xy \to y + xy'. 2. Collect they′y' terms on one side. 3. Solve fory′y'.

For the circle:

2x+2yy′=0⟹y′=−xy.2x + 2yy' = 0 \quad\Longrightarrow\quad y' = -\frac{x}{y}.

The answer is a formula in BOTH variables, which is why it is evaluated at a point rather than at anxx alone. That is not a defect: at(3,4)(3,4) and at(3,−4)(3,-4) the circle has different slopes, and the formula reports both correctly.

The geometric check. On a circle the radius to(x,y)(x,y) has slopey/xy/x, and(−x/y)(y/x)=−1(-x/y)(y/x) = -1. The tangent is perpendicular to the radius — as it must be.

Why the chain rule supplies every y prime

The relation is an equation between two quantities that both depend onxx: the left side is a functionF(x,y(x))F(x, y(x)) and the right side is a constant (or another function ofxx). Differentiating both sides means applying the chain rule to the composition.

Concretely, the derivative ofy2y^2 is2y y′2y\,y' — exactly the same as differentiating the square of any inner function. Nothing new is happening — the inner function just happens to be writtenyy.

Why the method is necessary. Solving foryy first is often impossible in closed form x3+y3=6xyx^3 + y^3 = 6xy, for instance), and even when it is possible the two branches require separate treatments. Implicit differentiation gets both at once.

Worked example: three relations

A circle.x2+y2=100x^2+y^2=100 at(6,8)(6,8):2x+2yy′=02x+2yy'=0, soy′=−6/8=−3/4y' = -6/8 = -3/4.

A rectangular hyperbola.xy=12xy = 12 at(3,4)(3,4): the product rule givesy+xy′=0y + xy' = 0, soy′=−4/3y' = -4/3.

A relation needing the product rule twice.x2+xy+y2=3x^2 + xy + y^2 = 3 at(1,1)(1,1):2x+y+xy′+2yy′=02x + y + xy' + 2yy' = 0, soy′=−2x+yx+2y=−1y' = -\dfrac{2x+y}{x+2y} = -1 at that point.

A check on the third. The curve is an ellipse tilted at 45 degrees; at(1,1)(1,1), a point on its axis of symmetry, the tangent should have slope−1-1, and it does.

Why the denominators matter. In each case the formula fory′y' hasyy (or a combination containing it) in the denominator, so the derivative fails where that denominator vanishes — the points where the tangent is vertical. For the circle that isy=0y=0, the two points where the circle crosses thexx-axis. Correct: the tangent is vertical there.

By the end you can
  • Differentiate a relation implicitly, keeping a y prime on every y term
  • Solve the resulting equation for y prime
  • Evaluate an implicit derivative at a stated point
  • Check a circle's implicit derivative against perpendicularity
Check yourself
  1. 1. Findy′y' forx2+y2=4x^2+y^2=4 at(1,3)(1,\sqrt3) — leave the answer exact.
  2. 2. Findy′y' forxy=6xy=6 at(2,3)(2,3).
  3. 3. Forx2+xy+y2=7x^2+xy+y^2=7 at(1,2)(1,2), computey′y'.
Answers
  1. 1.y′=−x/y=−1/3y'=-x/y = -1/\sqrt3.
  2. 2.y′=−y/x=−3/2y'=-y/x = -3/2.
  3. 3.y′=−(2+2)/(1+4)=−4/5y'=-(2+2)/(1+4) = -4/5.
Work out where to start — free, no accountAnswer six real questions — free, no account