Implicit Differentiation
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn how to find dy/dx when y isn’t isolated on one side of the equation. This technique is called implicit differentiation, and it unlocks derivatives for curves like circles, ellipses, and other relationships where solving for y first would be messy or impossible.
The Concept
Section titled “The Concept”So far, every function you’ve differentiated has been in the form y = f(x), where y is explicitly written in terms of x. But many important equations aren’t written that way.
Consider the equation of a circle:
You could solve for y (getting two square root expressions), but that’s awkward. Implicit differentiation lets you find dy/dx directly from the equation as written.
The process:
- Differentiate both sides with respect to x
- Every time you differentiate a term containing y, tack on a dy/dx (because y depends on x, so the chain rule applies)
- Solve for dy/dx
That’s it. The chain rule is doing all the work. When you see y² and differentiate with respect to x, the chain rule gives you 2y times dy/dx. When you see x², you just get 2x (no dy/dx needed because x is the variable you’re differentiating with respect to).
The blue circle is x² + y² = 25. You can’t write it as a single y = f(x) function (it’s two halves). But implicit differentiation gives you the slope at any point anyway. The green tangent line at (3, 4) has slope -3/4, found by implicit differentiation. The dashed purple line is the radius, which is always perpendicular to the tangent on a circle.
Worked Example
Section titled “Worked Example”Example 1: Circle
Find dy/dx for x² + y² = 25.
Differentiate both sides with respect to x:
Solve for dy/dx:
At the point (3, 4) on the circle, the slope is -3/4. At (0, 5), the slope is 0 (horizontal tangent at the top). At (5, 0), the slope is undefined (vertical tangent on the side). All of that makes geometric sense if you picture the circle.
Example 2: Product of x and y
Find dy/dx for xy + y³ = 6.
The xy term needs the product rule (x and y are both functions of x):
Group the dy/dx terms:
Factor out dy/dx:
Example 3: Finding a tangent line
For x² + y² = 25, find the equation of the tangent line at (3, 4).
We already found dy/dx = -x/y. At (3, 4):
Using point-slope form:
Real-World Application
Section titled “Real-World Application”Implicit differentiation is essential when variables are naturally intertwined:
- Physics: the ideal gas law PV = nRT relates pressure, volume, and temperature. If you want dP/dT while V changes, implicit differentiation handles it.
- Economics: indifference curves and production possibility frontiers are defined implicitly. Implicit differentiation gives marginal rates of substitution.
- Engineering: stress-strain relationships in materials are often implicit. Finding how one changes with respect to the other requires this technique.
- Geometry: finding tangent lines to circles, ellipses, and other curves defined by equations.