Get AI summaries of any video or article — Sign up free
Implicit differentiation, what's going on here? | Chapter 6, Essence of calculus thumbnail

Implicit differentiation, what's going on here? | Chapter 6, Essence of calculus

3Blue1Brown·
5 min read

Based on 3Blue1Brown's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

Implicit differentiation finds tangent slopes for curves given by equations relating x and y, even when y is not explicitly a function of x.

Briefing

A calculus “weirdness” becomes manageable once tiny changes in two variables are given a geometric meaning: implicit differentiation is really about tracking how an expression like x² + y² changes under an infinitesimal move (dx, dy), then enforcing that the move stays on the curve—equivalently, that the change in the defining quantity is zero. That perspective turns the slope of a tangent line to an implicit curve from a mysterious algebra trick into a direct consequence of how derivatives approximate change.

The starting point is a circle of radius 5 centered at the origin, described by x² + y² = 5². To find the slope of the tangent at the point (3, 4), the usual “differentiate y as a function of x” approach fails because the circle is not given as y = f(x). Instead, x and y are linked by an equation, so the method differentiates both sides with respect to an infinitesimal change. Differentiating x² + y² = 25 produces 2x·dx + 2y·dy = 0 (since the right side is constant). Solving for dy/dx yields dy/dx = −x/y, and at (3, 4) the tangent slope becomes −3/4.

Why does the derivative produce terms like dx and dy “floating free”? The transcript resolves this by comparing the circle problem to a related-rates ladder problem, where the same algebraic structure appears but with a clear common parameter: time. For a 5-meter ladder, x(t)² + y(t)² = 25 always holds. Differentiating both sides with respect to time gives 2x·dx/dt + 2y·dy/dt = 0, and with dy/dt = −1 at the initial moment (y = 4, x = 3), the bottom’s speed comes out to dx/dt = 4/3. The circle case is analogous, except the “common variable” is not time; the common constraint is the curve equation itself.

To make that constraint concrete, the circle expression s = x² + y² is treated as a quantity assigned to every point (x, y). A tiny step (dx, dy) changes s by approximately ds = 2x·dx + 2y·dy. Staying on the circle means s must remain 25, so ds = 0. For sufficiently small steps, the condition ds = 0 aligns with moving along the tangent direction, which is why the same algebra yields the tangent slope.

The same machinery generalizes. For an implicit relation like sin(x)·y² = x, differentiating both sides uses the product rule and chain rule to relate the changes in each side during a tiny move. Often the goal is again to isolate dy/dx.

Finally, the method recovers a classic derivative: ln(x). By rewriting y = ln(x) as e^y = x, differentiating both sides under an infinitesimal change gives e^y·dy = dx. Rearranging yields dy/dx = 1/e^y, and since e^y = x on the curve, the slope becomes 1/x—confirming d/dx ln(x) = 1/x. The broader takeaway is that implicit differentiation is a disciplined way to translate “tiny nudges” into slope information while respecting the equation that ties x and y together.

Cornell Notes

Implicit differentiation works by treating the curve’s defining equation as a constraint on how x and y can change together. For the circle x² + y² = 25, a tiny move (dx, dy) changes the quantity x² + y² by about ds = 2x·dx + 2y·dy. Points on the circle keep x² + y² constant, so ds = 0, giving 2x·dx + 2y·dy = 0 and therefore dy/dx = −x/y. This viewpoint is clarified by comparing to related rates, where the same differentiation happens but with time as the shared variable. The same approach extends to other implicit equations, including deriving d/dx ln(x) = 1/x by rewriting y = ln(x) as e^y = x.

Why can’t the circle problem be solved by differentiating y as a function of x?

Because the circle is not presented as y = f(x). The equation x² + y² = 25 links x and y simultaneously, so y is not an explicit output of x. The method instead differentiates the relationship between x and y using infinitesimal changes dx and dy.

What does the expression 2x·dx + 2y·dy = 0 mean geometrically?

It approximates how the quantity s = x² + y² changes under a tiny step (dx, dy). Since ds ≈ 2x·dx + 2y·dy, enforcing ds = 0 ensures the step stays on the level set s = 25. For sufficiently small steps, this corresponds to moving along the tangent direction, letting dy/dx be solved.

How does the ladder related-rates problem make the circle method feel less mysterious?

In the ladder, x(t)² + y(t)² = 25 holds for all times, so differentiating with respect to time has a clear meaning: it tracks how the constraint changes as time passes. Differentiation yields 2x·dx/dt + 2y·dy/dt = 0. The circle case is the same algebraic constraint, but the “common parameter” is not time; it’s the requirement that x² + y² stays constant during the infinitesimal move.

How do you use implicit differentiation on sin(x)·y² = x?

Differentiate both sides using the product rule and chain rule. The left side becomes sin(x)·(2y·dy) + y²·(cos(x)·dx), while the right side changes by dx. Setting the changes equal gives an equation relating dx and dy, which can then be rearranged to find dy/dx.

How does the method derive the derivative of ln(x)?

Start with y = ln(x) and rewrite it as e^y = x. Differentiate both sides under a tiny change: the left side changes by e^y·dy, and the right side changes by dx. Setting them equal gives e^y·dy = dx, so dy/dx = 1/e^y. On the curve, e^y = x, so dy/dx = 1/x.

Review Questions

  1. For the circle x² + y² = 25, derive dy/dx at a general point (x, y) on the circle and then evaluate it at (3, 4).
  2. Explain why setting ds = 0 corresponds to staying on the circle (or more precisely, to the tangent direction for infinitesimal steps).
  3. In the relation sin(x)·y² = x, what rules (product rule, chain rule) are needed to differentiate the left-hand side, and what form does the resulting dy/dx equation take?

Key Points

  1. 1

    Implicit differentiation finds tangent slopes for curves given by equations relating x and y, even when y is not explicitly a function of x.

  2. 2

    For a constraint like x² + y² = 25, differentiating produces 2x·dx + 2y·dy = 0 because the right side is constant.

  3. 3

    Interpreting s = x² + y² as a quantity assigned to points (x, y) makes dx and dy meaningful: ds ≈ 2x·dx + 2y·dy.

  4. 4

    Staying on the curve requires ds = 0, which yields the tangent slope by solving for dy/dx.

  5. 5

    Related-rates problems use time as the shared variable; the circle problem uses the curve constraint instead, but the differentiation logic is parallel.

  6. 6

    The same approach generalizes to more complex implicit equations using the product rule and chain rule.

  7. 7

    Rewriting ln(x) as e^y = x and differentiating both sides recovers d/dx ln(x) = 1/x.

Highlights

For the circle x² + y² = 25, the tangent slope at (3, 4) comes out to −3/4 from dy/dx = −x/y.
The “mysterious” dx and dy are not arbitrary: they approximate how the defining quantity s = x² + y² changes under a tiny move.
A ladder related-rates setup and the circle tangent problem share the same constraint structure, differing mainly in whether time or the curve equation provides the linkage.
Rewriting y = ln(x) as e^y = x turns the inverse-function derivative into a straightforward implicit differentiation exercise.

Topics

  • Implicit Differentiation
  • Tangent Slopes
  • Related Rates
  • Chain Rule
  • Logarithmic Derivatives