Related Rates

When two quantities are tied by an equation at every moment, their rates are tied by its derivative. Choose a scene, set the instant, and work the five steps yourself: the page puts the chain rule's answer beside a rate measured from the motion alone, and draws that rate over the whole range.

Related rates
Loading interactive simulation...

Lesson

Related rates are the time derivatives of quantities tied together by an equation. If an equation such as x² + y² = L² holds at every moment, differentiating both sides with respect to t, by the chain rule, gives an equation between the rates x′ and y′, so one known rate fixes the other at any instant where x and y are known. The order matters: differentiate first and put in the instant's numbers afterwards.

What each symbol means

x′
dx/dt, the rate at which x changes with time
y*
the height at which a uniform ladder's top leaves the wall, (2a²L²/(3g))^⅓
Assumes
The ladder is rigid, its foot moves at a constant speed and its top is taken to stay on the wall; the cone is a perfect cone and the shadow is cast by a point of light. The wall's push is for a uniform ladder on a wall and floor without friction, with g = 9.81 m/s². The rates themselves use only the geometry.

The formula sends the top of the ladder into the floor infinitely fast 🖖

y′ = −(x/y)·x′ says the top moves x/y times as fast as the foot. That ratio is below 1 while the ladder stands steeper than 45°, and past 45° it has no ceiling: as the top nears the floor, y goes to zero and the formula’s answer goes to infinity. Press The last 10 cm to watch it. The differentiation assumed the top stays on the wall, and that is what fails. The top needs the wall to push on it, and for a uniform ladder pulled at a steady speed the push reaches zero at y* = (2a²L²/(3g))^⅓, 0.752 m for this ladder. Lower down, the wall would have to pull, so the top comes away. To the right of the amber line, the blue curve is the formula carried on after a real ladder has left the wall.

The tip of your shadow keeps one speed, however far you walk 🖖

Similar triangles make the shadow a fixed fraction of your distance from the post, s = pd/(P − p), and a fixed fraction of d grows at the same fraction of d′. So where you stand does not enter the rate. Press Shadow at 4 m, then Shadow at 16 m: the shadow is four times as long, and both rates are unchanged, flat lines on the chart. The ladder’s rate runs away because x² + y² = L² is a curve. This relation is a straight line, and a straight line ties two rates by a constant.

A cone fills to half its depth in an eighth of the time 🖖

The inflow spreads over the water’s surface, so the level rises at h′ = Q/(πr²): quickly while the surface is small, slowly once it is wide. At half depth the surface has a quarter of the brim’s area, so the level climbs four times as fast as it will at the top. And because volume goes as the cube of depth, half the depth holds an eighth of the water and is reached in an eighth of the filling time. Neither ratio involves the cone’s size or the pour. Change them, and at half depth the page still prints 4 and 12.5%. Press Reset and Run to watch the level race and then crawl.

Learning path

References (1)
  • The five-step strategy the page's stepper follows (assign symbols, state what is given and what is wanted, find an equation relating the variables, differentiate both sides with respect to time by the chain rule, then substitute the known values and solve), with worked examples on a balloon, an aeroplane, a rocket launch and water draining from a cone-shaped funnel, and the ladder and lamppost-shadow problems among the exercises: G. Strang and E. Herman, Calculus Volume 1, OpenStax (2016), section 4.1, “Related Rates”.