AP Calculus AB · Study guide

Solving Related Rates Problems

AP® Calculus AB · Unit 4 · Contextual Applications of Differentiation

Solving Related Rates Problems

Ladders, cones, cars and shadows: every related-rates problem uses the same four steps. This guide works five classic setups and shows which piece of geometry links the quantities in each.

The idea in one paragraph

Draw the situation and name every changing quantity with a letter. Find one equation that links them (Pythagorean theorem, a volume formula, similar triangles, a trig ratio). Differentiate both sides with respect to time. Only then substitute the values at the instant in question, and solve for the rate you want. If the equation has an extra variable, use the geometry (often similar triangles) to replace it before differentiating.

1The four steps

StepWhat to doWatch out for
1. PictureDraw and label; letters for changing quantitiesFixed lengths can be numbers
2. EquationOne relationship among the variablesUse geometry to remove extra variables
3. DifferentiateBoth sides, with respect to tChain rule factor on every variable
4. Substitute and solveValues at the instant; solve for the unknown rateSigns of decreasing quantities

2Right triangles

Figure 1. The ladder’s length never changes, so it can be written as 13 from the start. Its two ends move: x and y are variables until after differentiating.
Worked Example 1 Pythagorean relationship

A sliding ladder

A 13-ft ladder leans against a wall. Its bottom slides away from the wall at 2 ft/s. How fast is the top sliding down when the bottom is 5 ft from the wall?

  1. 1
    Variables: \(x\) = distance of the bottom from the wall, \(y\) = height of the top. Known \(\dfrac{dx}{dt} = 2\); want \(\dfrac{dy}{dt}\) when \(x = 5\).
  2. 2
    Equation: \(x^2 + y^2 = 169\). At the instant: \(y = \sqrt{169 - 25} = 12\).
  3. 3
    Differentiate: \(2x\dfrac{dx}{dt} + 2y\dfrac{dy}{dt} = 0\).
  4. 4
    Substitute: \(2(5)(2) + 2(12)\dfrac{dy}{dt} = 0\), so \(\dfrac{dy}{dt} = -\dfrac{20}{24} = -\dfrac56\).
Answer: The top is sliding down at \(\dfrac56\) ft/s (\(\dfrac{dy}{dt} = -\dfrac56\)).
Write it like this

“\(\dfrac{dy}{dt} = -\dfrac56\): when the bottom is 5 ft from the wall, the top of the ladder is sliding down the wall at \(\dfrac56\) feet per second.”

Worked Example 2 Distance between two movers

Two cars leaving an intersection

One car drives north at 60 mph and another east at 45 mph, both from the same intersection. How fast is the distance between them growing when the first car is 3 miles north and the second is 4 miles east?

  1. 1
    Variables: \(y\) north, \(x\) east, \(z\) between them. \(\dfrac{dy}{dt} = 60\), \(\dfrac{dx}{dt} = 45\). At the instant, \(z = \sqrt{3^2 + 4^2} = 5\).
  2. 2
    Equation: \(z^2 = x^2 + y^2\). Differentiate: \(2z\dfrac{dz}{dt} = 2x\dfrac{dx}{dt} + 2y\dfrac{dy}{dt}\).
  3. 3
    Substitute: \(5\dfrac{dz}{dt} = 4(45) + 3(60) = 360\).
Answer: The distance is increasing at 72 mph.
Common Mistake 1 · Plugging in values too early

Writing \(5^2 + y^2 = 169\) before differentiating freezes \(x\) at 5, and its rate disappears. Differentiate the general equation first; the values describe only one moment.

3Similar triangles

Figure 2. The water forms a smaller cone with the same shape as the tank, so its radius is always 0.4 times its depth. Replacing r with 0.4h leaves one variable before differentiating.
Worked Example 3 Similar triangles

Filling a cone-shaped tank

Water pours at 3 ft³/min into an upside-down cone tank with top radius 4 ft and height 10 ft. How fast is the water level rising when the water is 5 ft deep?

  1. 1
    Variables: depth \(h\), surface radius \(r\), volume \(V\). Known \(\dfrac{dV}{dt} = 3\); want \(\dfrac{dh}{dt}\) at \(h = 5\).
  2. 2
    \(V = \frac13\pi r^2h\) has two changing variables. Similar triangles remove one: \(\dfrac{r}{h} = \dfrac{4}{10}\), so \(r = 0.4h\) and \(V = \frac13\pi(0.16)h^3\).
  3. 3
    Differentiate: \(\dfrac{dV}{dt} = 0.16\pi h^2\dfrac{dh}{dt}\).
  4. 4
    Substitute: \(3 = 0.16\pi(25)\dfrac{dh}{dt} = 4\pi\dfrac{dh}{dt}\), so \(\dfrac{dh}{dt} = \dfrac{3}{4\pi} \approx 0.239\).
Answer: About 0.239 ft/min (\(\frac{3}{4\pi}\) ft/min).
Common Mistake 2 · Differentiating with two unknown rates

Differentiating \(V = \frac13\pi r^2h\) directly leaves both \(\frac{dr}{dt}\) and \(\frac{dh}{dt}\) unknown. Use \(r = 0.4h\) first so only one rate is left to find.

Worked Example 4 Similar triangles with a shadow

A person walking from a lamppost

A 6-ft person walks away from a 15-ft lamppost at 5 ft/s. How fast is the shadow lengthening? How fast is the tip of the shadow moving?

  1. 1
    Let \(x\) = person’s distance from the post, \(s\) = shadow length. Similar triangles (lamppost and person both stand upright): \(\dfrac{15}{x + s} = \dfrac{6}{s}\).
  2. 2
    Cross-multiply: \(15s = 6x + 6s\), so \(s = \frac23x\).
  3. 3
    Differentiate: \(\dfrac{ds}{dt} = \dfrac23\dfrac{dx}{dt} = \dfrac23(5) = \dfrac{10}{3}\).
  4. 4
    The tip is at \(x + s\), so it moves at \(5 + \frac{10}{3} = \frac{25}{3}\) ft/s.
Answer: The shadow grows at \(\frac{10}{3} \approx 3.33\) ft/s; its tip moves at \(\frac{25}{3} \approx 8.33\) ft/s. Neither depends on where the person is.

4Angles

Worked Example 5 An angle

Watching a balloon rise

A balloon rises straight up at 5 m/s from a point 100 m away from an observer. How fast is the angle of elevation \(\theta\) increasing when the balloon is 100 m high?

  1. 1
    Variables: height \(h\), angle \(\theta\). Relationship: \(\tan\theta = \dfrac{h}{100}\).
  2. 2
    Differentiate: \(\sec^2\theta\dfrac{d\theta}{dt} = \dfrac{1}{100}\dfrac{dh}{dt}\).
  3. 3
    At \(h = 100\): \(\tan\theta = 1\), so \(\theta = \frac{\pi}{4}\) and \(\sec^2\theta = 2\).
  4. 4
    \(2\dfrac{d\theta}{dt} = \dfrac{5}{100}\), so \(\dfrac{d\theta}{dt} = \dfrac{1}{40} = 0.025\).
Answer: 0.025 radians per second.
Common Mistake 3 · Working in degrees

The derivative of \(\tan\theta\) is \(\sec^2\theta\) only with \(\theta\) in radians, so related rates with angles give answers in radians per unit time.

Quick reference

SetupLinking equation
Ladder, distance between moversPythagorean theorem: \(x^2 + y^2 = z^2\)
Cone filling or draining\(V = \frac13\pi r^2h\) with \(r\) replaced by similar triangles
ShadowSimilar triangles: \(\frac{\text{lamp}}{x + s} = \frac{\text{person}}{s}\)
Angle of elevation\(\tan\theta = \frac{\text{opposite}}{\text{adjacent}}\)
Sphere\(V = \frac43\pi r^3\), \(A = 4\pi r^2\)