Related rates
“Observe constantly that all things take place by change…”
One equation, several moving quantities
A ladder slides down a wall. The ladder length stays fixed, while its horizontal and vertical reaches change together. Knowing how fast one end moves lets us find the rate of the other end because the geometry constrains both.
In a related-rates problem, quantities depend on a common variable, usually time. We first connect the quantities, then differentiate that relationship to connect their rates.
Prerequisite
Differentiate with respect to time
If \(x=x(t)\), the chain rule gives
\[\frac{d}{dt}(x^2)=2x\frac{dx}{dt}.\]The symbol \(x\) may denote a length, but it still represents a time-dependent function. By contrast, a length fixed throughout the motion has time derivative zero.
Follow the ladder
Let a \(5\text{ m}\) ladder have its foot \(x(t)\) metres from a wall and its top at height \(y(t)\) metres. We model the ladder as a rigid segment with both ends staying in contact with the wall and floor. Then
\[x^2+y^2=25,\qquad x>0,\quad y>0.\]Differentiate before inserting the values at a particular instant:
\[2x\frac{dx}{dt}+2y\frac{dy}{dt}=0,\] \[\frac{dy}{dt}=-\frac{x}{y}\frac{dx}{dt}.\]The factor \(x/y\) depends on the configuration. Near the wall it is small; near the floor it is large. Equal changes of the foot do not produce equal changes of the top.
Example 1
Evaluate a rate at one instant
The foot moves away at \(dx/dt=0.4\text{ m/s}\). At \(x=3\text{ m}\), the geometry gives \(y=\sqrt{25-9}=4\text{ m}\). Therefore
\[\frac{dy}{dt}=-\frac34(0.4)=-0.3\text{ m/s}.\]The signed rate is negative because height decreases. The speed of the top is the positive magnitude \(0.3\text{ m/s}\).
Extra reading: could the top move faster than light?
The formula predicts it! If the foot keeps moving outward at a fixed speed \(u>0\), then
\[\left\lvert\frac{dy}{dt}\right\rvert=\frac{x}{y}u\longrightarrow\infty \qquad\text{as }y\to0^+.\]The unbounded speed signals a limit of the model. A real ladder cannot remain rigid, keep both contacts and maintain a fixed foot speed all the way to horizontal. An object with mass cannot be accelerated to light speed.
If the top’s downward speed instead stays finite near the floor, the same geometric relationship requires
\[\frac{dx}{dt}=-\frac{y}{x}\frac{dy}{dt}\longrightarrow0.\]The foot must slow down as the ladder becomes horizontal. At \(y=0\) itself, the formula that divides by \(y\) is undefined.
A method that survives a new context
- Define each changing quantity and choose a direction for positive motion.
- Write an equation valid over the motion, not just at one instant.
- Remove extra variables with geometric constraints if useful.
- Differentiate with respect to the common time variable.
- Substitute the instantaneous data, solve, and interpret units and sign.
Example 2
Filling a cone
A cone has height \(6\text{ m}\) and top radius \(2\text{ m}\). Water enters at \(0.5\text{ m}^3/\text{min}\). Find the height rate when the water is \(3\text{ m}\) deep.
Let \(r\) be the water-surface radius and \(h\) its depth.
Similar triangles give \(r/h=2/6\), so \(r=h/3\). Substitute this relation into the volume before differentiating:
\[V=\frac13\pi r^2h=\frac{\pi h^3}{27}.\]Hence
\[\begin{aligned} \frac{dV}{dt}&=\frac{\pi h^2}{9}\frac{dh}{dt},\\ \frac{dh}{dt}&=\frac9{\pi h^2}\frac{dV}{dt}. \end{aligned}\]At \(h=3\) this is \(1/(2\pi)\text{ m/min}\), about \(0.159\text{ m/min}\). A constant volume inflow produces a decreasing height rate as the water surface widens.
Example 3
A shadow has two possible rates
A \(2\text{ m}\) tall person walks away from a \(6\text{ m}\) lamp at \(1.5\text{ m/s}\). Let \(x\) be the person’s distance from the lamp and \(s\) the shadow length.
Similar triangles give
\[\frac6{x+s}=\frac2s\quad\Longrightarrow\quad s=\frac{x}{2}.\]Thus \(ds/dt=(1/2)(dx/dt)=0.75\text{ m/s}\): this is the rate at which the shadow length grows. The tip is \(x+s\) from the lamp, so it moves at \(1.5+0.75=2.25\text{ m/s}\) relative to the ground. The question’s reference point matters.
Warning
Do not replace a changing length by its instantaneous value before differentiating: \(x=3\) at one instant does not imply \(dx/dt=0\). Also convert rates to a common time unit before combining them.