Watch on Instagram

Math Bytes · Calculus · Episode 9 · "Derivatives: chain rule and advanced topics"

Implicit differentiation

Implicit differentiation finds dy/dx without solving for y: take the derivative of both sides with respect to x, use the chain rule on every y term, then solve for dy/dx. For the circle x² + y² = 2, dy/dx = −x / y.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

Why not just solve for y?

Take the circle x² + y² = 2. Getting y alone gives y = ±√(2 − x²): two pieces, a square root and a sign to keep track of. That's messy. The whole circle isn't even one function of x (it fails the vertical line test), but near any point where y ≠ 0, y does behave like a function of x, so it has a slope there.

The method

  1. Take d/dx of both sides of the equation.
  2. Differentiate x terms as usual. A constant becomes 0.
  3. Every y term needs the chain rule, because y depends on x: d/dx (y²) = 2y · dy/dx.
  4. Solve the result for dy/dx.

Worked example

Find the slope of x² + y² = 2, then check it at the point (1, 1).

  1. Both sides: d/dx (x² + y²) = d/dx (2).
  2. x² becomes 2x. The constant 2 becomes 0.
  3. y² becomes 2y · dy/dx (the outside, squaring, gives 2y; the inside, y, gives dy/dx).
  4. Together: 2x + 2y · dy/dx = 0.
  5. Solve: 2y · dy/dx = −2x, so dy/dx = −2x / 2y = −x / y.
  6. At (1, 1): the point is on the circle since 1 + 1 = 2. The slope is −1 / 1 = −1, so the circle tilts downhill at 45° there.

Checks: the radius from the origin to (1, 1) has slope 1, and a circle's tangent is perpendicular to its radius, so the tangent's slope is −1. Doing it the messy way, y = √(2 − x²) gives y′ = −x / √(2 − x²), which is also −1 at x = 1.

Try it yourself

  1. Find dy/dx for x² + y² = 25. What is the slope at the point (3, 4)?
  2. Find dy/dx for x² + 4y² = 8. What is the slope at the point (2, 1)?

(Answers: 1. 2x + 2y · dy/dx = 0, so dy/dx = −x / y, which is −3/4 at (3, 4). 2. 2x + 8y · dy/dx = 0, so dy/dx = −x / (4y), which is −2/4 = −1/2 at (2, 1).)

Good to know

  • "Take the derivative of both sides" always means with respect to x, so x terms differentiate normally and y terms pick up dy/dx.
  • The answer can contain both x and y. That's fine: plug in the point's x and y.
  • At (±√2, 0) the circle's tangent is vertical and −x / y is undefined (you can't divide by y = 0).
  • Check that your point is actually on the curve before plugging it in.

Answer to the comment question

x² − y² = 32. What's the slope dy/dx at the point (6, 2)? dy/dx = 3. Differentiate both sides: 2x − 2y · dy/dx = 0, so 2y · dy/dx = 2x and dy/dx = x / y. The point is on the curve since 36 − 4 = 32. At (6, 2): 6 / 2 = 3.

Test your knowledge

Quick quiz: Implicit differentiation

4 multiple-choice questions. Pick one answer for each, then check how you did.

1Why does y² become 2y · dy/dx when you differentiate with respect to x?
2What does the constant 2 on the right of x² + y² = 2 become?
3For x² + y² = 2, what is dy/dx?
4What is the slope of x² + y² = 2 at the point (1, 1)?

Sources

Video transcript

How do you find a slope when y won't sit by itself?

Take the circle x² + y² = 2. Getting y alone is messy.

Take the derivative of both sides. x² becomes 2x. The constant 2 becomes 0.

y² needs the chain rule, because y depends on x. It becomes 2y times dy/dx.

So 2x + 2y · dy/dx = 0. Solve: dy/dx = −x / y.

At the point (1, 1), that's −1: the circle tilts downhill at 45 degrees. It checks!

Your turn. x² − y² = 32. What's the slope at the point (6, 2)? Comment your answer below!

That's your byte.

More from Calculus

All Calculus lessons