How to Solve Related Rates Problems
A reliable five-step method for related rates, applied to ladders, balloons, tanks, shadows and moving cars.
Key takeaways
- Name every changing quantity with a variable, even if you are told its value at the instant of interest.
- Find an equation that is true at all times, not just at that instant.
- Differentiate with respect to time using the chain rule, so each variable picks up its own rate.
- Substitute instantaneous values only after differentiating.
- Check the sign and the units of the answer against common sense.
In a related rates problem, two or more quantities change with time and are tied together by an equation. You know how fast some of them are changing and want the rate of another. The solution is to write the equation connecting the quantities, differentiate it with respect to time, and only then plug in the numbers for the instant in question.
The calculus is usually short. Most of the difficulty is in translating words into a picture and an equation.
The five-step method
- Draw and label. Sketch the situation at a general moment. Give letters to changing lengths, angles, areas or volumes.
- List knowns and unknowns. Write rates as derivatives, such as dx/dt = 0.5. A decreasing quantity has a negative rate.
- Find the connecting equation. Pythagoras, similar triangles, trigonometry and volume formulas cover most textbook cases.
- Differentiate with respect to t. Treat every variable as a function of time. This is implicit differentiation with t as the independent variable.
- Substitute and solve. Insert the values at the chosen instant, solve for the unknown rate and attach units.
The reason a factor such as dx/dt appears is the chain rule: the derivative of x² with respect to time is 2x · dx/dt.
The sliding ladder
A 5 meter ladder leans against a vertical wall. Its foot slides away from the wall at 0.5 m/s. How fast is the top moving when the foot is 3 m from the wall?
Let x be the distance of the foot from the wall and y the height of the top. At all times:
x² + y² = 25
2x · x′ + 2y · y′ = 0 When x = 3, the equation gives y = 4. Substituting x′ = 0.5:
2 · 3 · 0.5 + 2 · 4 · y′ = 0
y′ = −3/8 = −0.375 m/s The top is moving down at 0.375 m/s. The negative sign says y is decreasing. Notice that if you had substituted x = 3 before differentiating, x would have appeared to be constant, and the whole problem would have collapsed.
The formula y′ = −(x/y) x′ grows without limit as y approaches 0. In a real fall the ladder top leaves the wall before that happens, so the model of constant foot speed with continuous contact stops being realistic.
An inflating balloon
Air is pumped into a spherical balloon at 100 cm³/s. How fast is the radius growing when it is 5 cm?
V = (4/3) π r³
V′ = 4 π r² · r′
100 = 4π · 25 · r′
r′ = 1/π ≈ 0.318 cm/s Notice the factor 4πr², which is the surface area of the sphere. The same inflow spread over a larger surface pushes the radius out more slowly. At r = 10 cm the radius grows at only a quarter of the rate found above.
Filling a conical tank
A tank shaped like a cone with its point down has height 4 m and top radius 2 m. Water flows in at 0.5 m³/min. How fast is the water rising when it is 2 m deep?
The water forms a smaller cone with radius r and depth h. There are two variables, but similar triangles tie them: r/h = 2/4, so r = h/2. Use that to eliminate r before differentiating, since it holds at every moment.
V = (1/3) π r² h = π h³/12
V′ = (π h²/4) · h′
0.5 = (π · 4/4) · h′
h′ = 0.5/π ≈ 0.159 m/min Substituting a relationship that is always true is fine. Substituting a value that is only true for one instant, such as h = 2, must wait until after the derivative.
The general formula before substituting is h′ = 2/(πh²) for this tank, and it is worth a look. At a depth of 1 m the water rises at about 0.637 m/min, at 2 m about 0.159 m/min, and at the brim, 4 m, only about 0.040 m/min. A steady inflow does not mean a steady rise: where the tank is wider, the same volume makes a thinner new layer.
A triangle with a widening angle
Two sides of a triangle have fixed lengths 8 cm and 5 cm. The angle between them increases at 0.1 radians per second. How fast is the area growing when the angle is π/3, or 60 degrees?
The area of a triangle from two sides and the included angle is half their product times the sine of the angle:
A = (1/2) · 8 · 5 · sin θ = 20 sin θ
A′ = 20 cos θ · θ′
at θ = π/3: A′ = 20 · 0.5 · 0.1 = 1 cm²/s When θ reaches π/2 the cosine is zero, and for that instant the area is not changing at all, although the angle still is. That is the moment of largest area. Past it, the cosine is negative and the triangle shrinks. A zero rate in a related rates problem is often a sign that some quantity has just reached a maximum or minimum.
A lengthening shadow
A person 1.8 m tall walks away from a lamp 5.4 m high at 1.2 m/s. How fast is the shadow lengthening, and how fast is its tip moving?
Let x be the distance from the base of the lamp to the person and s the shadow length. The large triangle (lamp to tip) and the small triangle (person to tip) are similar:
5.4/(x + s) = 1.8/s
5.4 s = 1.8 x + 1.8 s
s = x/2 So s′ = 0.6 m/s. The tip is at distance x + s from the lamp base, so it moves at 1.2 + 0.6 = 1.8 m/s. Interestingly, neither rate depends on where the person is. The problem asks two different questions, and reading carefully which length is wanted matters more than any calculus.
A rising balloon seen from the ground
An observer stands 100 m from the launch point of a balloon that rises vertically at 5 m/s. How fast is the angle of elevation changing when the balloon is 100 m up?
tan θ = h/100
(1/cos² θ) · θ′ = h′/100
at h = 100: θ = π/4, 1/cos² θ = 2
2 θ′ = 5/100
θ′ = 0.025 radians per second That is about 1.4 degrees per second. The derivative formulas for trigonometric functions assume radians, a point explained in why calculus prefers radians. If you want degrees, convert at the end.
A sweeping lighthouse beam
A light stands 1 km from a straight shoreline and rotates at 2 revolutions per minute. How fast is the spot of light moving along the shore when it is 0.5 km from the point closest to the light?
Let θ be the angle between the beam and the perpendicular to the shore, and x the distance of the spot from the closest point, in kilometers. Two revolutions per minute means θ′ = 4π radians per minute.
x = 1 · tan θ
x′ = (1/cos² θ) · θ′ = (1 + tan² θ) · θ′
at x = 0.5: x′ = (1 + 0.25) · 4π = 5π ≈ 15.7 km/min Using the identity 1/cos² θ = 1 + tan² θ avoided ever finding the angle itself. As the beam turns toward parallel with the shore, x′ grows without limit. Nothing physical is traveling at that speed; the spot is a succession of different bits of light arriving at different places.
Two cars and a changing distance
Two cars leave the same intersection at the same time, one driving north at 60 km/h and one east at 80 km/h. How fast is the straight-line distance between them increasing after half an hour?
At that moment the eastbound car is x = 40 km out and the northbound car y = 30 km out, so the separation is d = 50 km. Differentiating d² = x² + y²:
d · d′ = x · x′ + y · y′
50 · d′ = 40 · 80 + 30 · 60 = 5000
d′ = 100 km/h A quick check: since both cars travel at constant speed from the same point, d = 100t, and the answer agrees. Whenever an independent shortcut exists, use it to test your method.
Why the final algebra is always easy
Look again at the differentiated equations above. In each, the rates appear only to the first power, multiplied by quantities you can compute from the picture at that instant. However curved or complicated the original relationship, once you differentiate it, solving for the unknown rate is a linear step.
That is why the order of work matters so much. The geometry determines the coefficients, the given rates fill all but one blank, and a single division finishes the job. If you find yourself solving a quadratic for a rate, something has probably gone wrong. Quadratics or square roots can legitimately appear earlier, when you find the missing lengths, such as y = 4 on the ladder.
Common mistakes and sanity checks
- Plugging in too early. This is the most frequent error.
- Losing signs. Draining, shrinking and approaching mean negative rates.
- Keeping too many variables. Look for a second relationship, as with the cone.
- Mixing units. Convert minutes and seconds or centimeters and meters before computing.
- Answering a different question. Reread whether you need the rate of a length, an area, an angle or a position.
For a numerical check, move time forward by a tiny amount. In the ladder problem, after 0.01 s the foot is at 3.005 m, and the top is at √(25 − 3.005²) ≈ 3.99624 m. The change, about −0.00376 m in 0.01 s, matches −0.375 m/s closely.
Once related rates feel natural, the next application of derivatives to try is optimization, which uses the same translating skills but asks where a rate becomes zero.