The Implicit Surfer: Slopes on Curves That Aren't Functions
A circle fails the vertical-line test, yet it still has a tangent slope at every point — implicit differentiation finds it without solving for y.
Curves that fail the vertical-line test
The circle x² + y² = 25 is a perfectly good curve, but it is not a function: most vertical lines cross it twice, once on the top half and once on the bottom. You could split it into y = +√(25 − x²) and y = −√(25 − x²), but that is clumsy — and for a curve like x² + xy + y² = 3 you cannot cleanly isolate y at all.
Yet the circle clearly has a well-defined tangent line at every point. We want its slope without untangling y.
The key move: y is secretly a function of x
Along any smooth piece of the curve, y really does depend on x — we just have not written the formula. So when we differentiate a term containing y, we apply the chain rule: the derivative of y² with respect to x is 2y times the derivative of y, namely dy/dx. That extra dy/dx factor is the whole trick.
The procedure
Three steps, every time: (1) differentiate both sides term by term with respect to x, attaching dy/dx to each y-term; (2) gather all dy/dx terms on one side, everything else on the other; (3) factor out dy/dx and divide. The answer usually contains both x and y — that is expected, because the slope depends on which point of the curve you are at.
- Differentiate both sides with respect to x: \( 2x + 2y\,\dfrac{dy}{dx} = 0 \).
- Isolate the derivative term: \( 2y\,\dfrac{dy}{dx} = -2x \).
- Solve: \( \dfrac{dy}{dx} = -\dfrac{x}{y} \).
- At (3, 4): \( \dfrac{dy}{dx} = -\dfrac{3}{4} \).
- Differentiate each term. The middle term xy needs the product rule: \( \dfrac{d}{dx}(xy) = y + x\,\dfrac{dy}{dx} \).
- Full derivative: \( 2x + y + x\,\dfrac{dy}{dx} + 2y\,\dfrac{dy}{dx} = 0 \).
- Group the dy/dx terms: \( \dfrac{dy}{dx}(x + 2y) = -(2x + y) \).
- Solve: \( \dfrac{dy}{dx} = -\dfrac{2x + y}{x + 2y} \), then substitute (1, 1): \( -\dfrac{2 + 1}{1 + 2} = -1 \).
Check your understanding
- Some relations (circles, ellipses, loops) can't be written as a single y = f(x), yet still have tangent slopes.
- Implicit differentiation: differentiate both sides with respect to x, treating y as a function of x.
- By the chain rule each y-term gains a dy/dx factor; mixed terms like xy also need the product rule.
- Collect the dy/dx terms, factor, and solve — the result usually depends on both x and y.
- For x² + y² = 25, dy/dx = −x/y, giving slope −3/4 at (3, 4).
- Horizontal tangents occur where the numerator is zero; vertical tangents where the denominator is zero.