Implicit Differentiation and Related Rates
Find dy/dx for curves like circles without solving for y, then solve related-rates problems such as inflating balloons and sliding ladders.
Welcome back!
Step 1 of 12Learn
When y won't stand alone
The circle x² + y² = 25 isn't the graph of a single function: most x-values have two y-values (above and below the center). You could split it into y = √(25 − x²) and y = −√(25 − x²), but there's a faster way to find slopes.
Implicit differentiation: differentiate both sides of the equation with respect to x, treating y as an unknown function of x. Whenever you differentiate an expression involving y, the chain rule attaches a factor of dy/dx.
- d/dx [x²] = 2x
- d/dx [y²] = 2y · dy/dx (chain rule: the outside is squaring, the inside is y)
- d/dx [25] = 0
So 2x + 2y · dy/dx = 0. Solve for dy/dx:
dy/dx = −x/y
At the point (3, 4), the slope is −3/4. At (3, −4), on the lower half, it's +3/4. One formula covers both halves of the circle.
Check it geometrically: the radius to (3, 4) has slope 4/3, and a tangent line to a circle is perpendicular to the radius, so its slope should be −3/4. It is.
The answer contains both x and y, which is normal for implicit derivatives. You need both coordinates of the point to evaluate the slope.
Step 2 of 12Learn
The procedure
- Differentiate both sides with respect to x.
- Every time you differentiate a term with y, multiply by dy/dx.
- Collect all dy/dx terms on one side and everything else on the other.
- Factor out dy/dx and divide.
Example. Find dy/dx for x² + xy + y² = 7, and the slope at (1, 2).
- d/dx [x²] = 2x
- d/dx [xy] needs the product rule: 1 · y + x · dy/dx
- d/dx [y²] = 2y · dy/dx
- d/dx [7] = 0
So 2x + y + x · dy/dx + 2y · dy/dx = 0.
Collect: (x + 2y) dy/dx = −(2x + y), so
dy/dx = −(2x + y)/(x + 2y)
At (1, 2): −(2 + 2)/(1 + 4) = −4/5. (Check that the point is on the curve: 1 + 2 + 4 = 7.)
Common errors:
- Writing d/dx [y²] = 2y, forgetting the dy/dx.
- Treating xy as if only one factor changes; it needs the product rule.
- Differentiating a constant like 7 to get anything but 0.
Implicit differentiation also proves rules. If y = ln x, then eʸ = x. Differentiating, eʸ · dy/dx = 1, so dy/dx = 1/eʸ = 1/x.
Step 3 of 12Practice · Choose one
For the curve xy = 6, what is dy/dx?
Step 4 of 12Practice · Work it out
Use implicit differentiation on x² + y² = 25. What is the slope of the tangent line at the point (−3, 4)? Give a decimal.
Step 5 of 12Learn
Related rates
In many real problems, several quantities change over time, and they're tied together by an equation. If you know how fast some of them change, you can find how fast the others change. These are related rates problems.
The trick is to differentiate the equation with respect to t. Each variable is a function of time, so the chain rule attaches its rate: d/dt [r³] = 3r² · dr/dt.
Example. A spherical balloon is inflated at 100 cm³ per second. How fast is the radius growing when the radius is 5 cm?
- Known: dV/dt = 100. Want: dr/dt when r = 5.
- Equation: V = (4/3)πr³
- Differentiate with respect to t: dV/dt = 4πr² · dr/dt
- Substitute: 100 = 4π(25) · dr/dt
- Solve: dr/dt = 100/(100π) = 1/π ≈ 0.318 cm/s
Notice that the radius grows more slowly as the balloon gets bigger: at r = 10, dr/dt = 100/(400π) ≈ 0.08 cm/s. The same amount of air spreads over a much larger surface. Anyone who has blown up a balloon has felt this: it inflates quickly at first, then seems to barely grow.
Step 6 of 12Tap to reveal
Related rates in six steps
1. Draw and label
Sketch the situation. Label quantities that change with variables (x, y, r) and quantities that stay fixed with numbers, such as a ladder's length.
2. List what you know and want
Write the given rates (dx/dt = 2) and the rate you want (dy/dt = ?), and note the moment you care about ("when x = 6"). Rates of decrease are negative.
3. Write an equation
Find an equation relating the variables: the Pythagorean theorem, an area or volume formula, similar triangles or trig.
4. Differentiate with respect to t
Use the chain rule on every variable. Each one picks up its own rate, like 2x · dx/dt.
5. Substitute, then solve
Only now plug in the values at the moment in question, including any you have to compute from the equation, and solve for the unknown rate.
6. Answer with units
State the rate with units and a sign that makes sense: "The top slides down at 1.5 ft/s."
Step 7 of 12Learn
The sliding ladder
A 10-foot ladder leans against a wall. The bottom slides away from the wall at 2 ft/s. How fast is the top sliding down when the bottom is 6 feet from the wall?
- Variables. x = distance from the wall to the bottom, y = height of the top. The ladder's length, 10, is fixed.
- Know and want. dx/dt = 2. Want dy/dt when x = 6.
- Equation. Pythagorean theorem: x² + y² = 100.
- Differentiate. 2x · dx/dt + 2y · dy/dt = 0.
- Substitute. When x = 6, y = √(100 − 36) = 8. So 2(6)(2) + 2(8) · dy/dt = 0, which gives 24 + 16 dy/dt = 0.
- Solve. dy/dt = −24/16 = −1.5 ft/s.
The top slides down at 1.5 ft/s; the negative sign says y is decreasing.
Something surprising happens as the ladder falls further. When x = 8, y = 6 and dy/dt = −(8)(2)/6 ≈ −2.67 ft/s. As y approaches 0, dy/dt grows without bound in this idealized model. Real ladders leave the wall before that, but the math shows why the last moments of a sliding ladder are so fast.
Step 8 of 12Chart
Speed of the ladder’s top as the bottom slides out
Same 10-foot ladder, bottom moving out at a steady 2 ft/s. The top moves at |dy/dt| = 2x / y, which grows rapidly near the floor.
Step 9 of 12Practice · Work it out
A 13-foot ladder leans against a wall. Its bottom slides away at 3 ft/s. How fast is the top moving when the bottom is 5 feet from the wall? (Give the rate as a signed number in ft/s.)
Step 10 of 12Note
Step 11 of 12Practice · Put in order
Put the steps for solving a related-rates problem in order.
Drag the items, or use the arrow buttons, to put them in order.
- Substitute the values known at the instant in question
- Solve for the unknown rate and state it with units
- Write an equation that relates the variables
- Draw a diagram and assign variables to the changing quantities
- Differentiate both sides with respect to time t
Step 12 of 12Practice · Work it out
A stone dropped in a pond makes a circular ripple whose radius grows at 2 cm/s. How fast is the area of the circle growing when the radius is 10 cm? Give your answer in cm²/s, to one decimal place.
Lesson complete!