Chalk−1

Math · Calculus I · Concept

Related rates problems, step by step

To solve a related rates problem, write one equation that links the changing quantities, and differentiate both sides with respect to time t using the chain rule. Then substitute the values at the instant you care about and solve for the unknown rate.

A concrete case

Slide a ladder and time it

A 10 ft ladder leans against a wall with its base 6 ft out. Its top is 8 ft up, since 62+82=100. Pull the base away from the wall at 1 ft per second. A tenth of a second later the base is 6.1 ft out, and the top is at 100−6.12≈7.924 ft. The top fell about 0.076 ft in 0.1 s, close to 0.76 ft per second.

The base moves at a steady 1 ft⁢/⁢s, yet the top does not. Two seconds later the base is 8 ft out and the top 6 ft up. The same tenth-of-a-second nudge then shows the top falling about 1.36 ft per second.

The two speeds are tied together by the ladder’s fixed length, and the tie changes as the ladder slides. A related rates problem finds one speed from the other at a single instant. At 6 ft the exact answer is 3⁢/4 ft per second, found without any nudging.

7.924014−80.1≈−0.760
Nudging the base out for 0.1 s at 1 ft⁢/⁢s
Base x (ft)Top y (ft)Top after 0.1 sAverage rate of the topExact rate
687.924014−0.760 ft⁢/⁢s−3⁢/4 ft⁢/⁢s
865.864299−1.357 ft⁢/⁢s−4⁢/3 ft⁢/⁢s

The rule

Differentiate the relation with respect to time

Name every changing quantity as a function of time t, such as x⁢(t) and y⁢(t). Write one equation that holds at every moment, such as x2+y2=100 for the ladder. Differentiate both sides with respect to t. Each changing quantity brings in its rate, d⁢x⁢/⁢d⁢t or d⁢y⁢/⁢d⁢t, through the chain rule. A fixed quantity, such as the ladder’s length, has rate 0.

The result is an equation between the rates. Put in the values at the instant you care about, then solve for the rate you want.

dd⁢t[x2]=2⁢xd⁢xd⁢t

Why it works

Why the rates are tied together

While the ladder slides, x⁢(t)2+y⁢(t)2=100 holds at every t. Two functions of t that agree at every moment have the same derivative. The chain rule turns the left side into 2⁢x⋅d⁢x⁢/⁢d⁢t+2⁢y⋅d⁢y⁢/⁢d⁢t, and the constant 100 on the right has derivative 0.

Solving gives d⁢y⁢/⁢d⁢t=−(x⁢/⁢y)⋅d⁢x⁢/⁢d⁢t. The factor −x⁢/⁢y is the slope of the graph of y against x, the quarter circle y=100−x2 traced by the pair (x,y). The top itself moves straight down the wall. The chain rule written as d⁢y⁢/⁢d⁢t=(d⁢y⁢/⁢d⁢x)⁢(d⁢x⁢/⁢d⁢t) says the same thing, with the top’s speed equal to that graph’s slope times the base’s speed.

At x=6 that slope is −3⁢/4, and at x=8 it is −4⁢/3. The graph steepens as the base slides out, which is why the top falls faster and faster at a steady pull.

d⁢yd⁢t=−xyd⁢xd⁢t

The method

The method in six steps

Most textbook related rates problems follow the same six steps. Write each one on its own line.

Step 5 is where most attempts go wrong. A value that holds only at the instant, such as x=6, goes in after step 4, never before it.

Solving a related rates problem
StepWhat to doFor the ladder
1Draw a picture and name each changing quantityx= base’s distance from the wall, y= top’s height, in feet
2Write the given rate and the wanted rate, with unitsd⁢x⁢/⁢d⁢t =1 ft⁢/⁢s, and d⁢y⁢/⁢d⁢t is wanted when x=6
3Write an equation that holds at every momentx2+y2 =100
4Differentiate both sides with respect to t2⁢x⋅d⁢x⁢/⁢d⁢t+2⁢y⋅d⁢y⁢/⁢d⁢t =0
5Find any missing value at the instant, then substitute and solvey=8, so 12+16⋅d⁢y⁢/⁢d⁢t =0
6Check the sign and the unitsd⁢y⁢/⁢d⁢t =−3⁢/4 ft⁢/⁢s, negative because the top falls

Where it breaks

Where it breaks

Substituting too early ruins more attempts than anything else. Put x=6 into the equation first and it reads 36+y2=100. Differentiating that gives 2⁢y⋅d⁢y⁢/⁢d⁢t=0, so d⁢y⁢/⁢d⁢t=0, which says the top stands still. The 6 is the base’s position at one instant, not a constant, and its rate is not 0.

The equation must hold over a stretch of time around the instant, not only at it. The ladder’s equation qualifies because its length never changes. A quantity fixed for the whole problem, such as that 10 ft, may go in before differentiating. A quantity that changes may not.

The model has a limit of its own. The rate d⁢y⁢/⁢d⁢t=−(x⁢/⁢y)⋅d⁢x⁢/⁢d⁢t grows without bound as y approaches 0. At x=9.9 ft it already gives a top falling about 7 ft per second. No real ladder’s top falls infinitely fast, so the assumption that the top stays on the wall cannot hold all the way to the floor.

Check your answer

Check your answer

A related rate can be judged by its sign, its units and a small step in time.

Read the sign. A growing quantity has a positive rate and a shrinking one a negative rate. The top of the ladder falls, so d⁢y⁢/⁢d⁢t must come out negative.

Read the units. A rate carries the quantity’s units per unit of time, such as ft⁢/⁢s or cm3/⁢s. A length whose rate comes out in square feet per second has lost or gained a factor.

Nudge the time. Move the given quantity a little, recompute the other one from the equation, and divide, as the opening case did. That nudge gave about −0.76 ft⁢/⁢s beside the exact −0.75.

To have Chalk check the work, write the equation on the first row of a Math box and the differentiated equation below it. A slip there, such as a 100 left on the right side, reads ✗ with “Not the derivative of row 1. Check each term.” The row with the instant’s values put in, such as 2⁢(6)⁢(1)+2⁢(8)⋅d⁢y⁢/⁢d⁢t=0, reads ✓, and a row that solves it reads ✓ when it follows. A wrong sign such as d⁢y⁢/⁢d⁢t=3⁢/4 reads ✗. A rate row that leaves out the rate of a letter, such as d⁢V⁢/⁢d⁢t=4⁢πr2 under V=(4⁢/3)⁢πr3, reads ✗ too, since the chain rule gives a factor d⁢r⁢/⁢d⁢t. In the oil-slick practice of the balloon example, a row that puts the instant’s values into d⁢A⁢/⁢d⁢t=2⁢π⁢r⋅d⁢r⁢/⁢d⁢t reads ✓ too.

A ✓ on every row does not prove the plan was right. Under 36+y2=100, written too early, the row 2⁢y⋅d⁢y⁢/⁢d⁢t=0 reads ✓, because it is that row’s derivative. A rate of 0 for something you can see moving is the warning.

Two cars leave the same corner at the same moment, one north at 30 km⁢/⁢h and one east at 40 km⁢/⁢h. Does the distance between them grow faster and faster?

No, it grows at a steady 50 km⁢/⁢h. After t hours the legs are 30⁢t and 40⁢t kilometers, so the distance is D=(30⁢t)2+(40⁢t)2=50⁢t, and d⁢D⁢/⁢d⁢t=50 at every moment. The ladder differs because its length is fixed, so one leg must shrink as the other grows. Here both legs grow in proportion, and the triangle keeps its shape.

Several changing inputs, and where it leads

Related rates are the chain rule with time as the inside variable. When one quantity depends on several changing ones, each contributes a term. A cone’s volume, V=(1⁢/3)⁢πr2h, with both r and h changing, gives d⁢V⁢/⁢d⁢t =(2⁢/3)⁢π⁢r⁢h⋅d⁢r⁢/⁢d⁢t +(1⁢/3)⁢πr2⋅d⁢h⁢/⁢d⁢t by the product rule. Multivariable calculus turns this into the chain rule for a function of several variables, with one term for each input.

The ladder’s formula also explains its own breakdown. The graph of y against x, the quarter circle, has a vertical tangent at x=10, y=0, the moment the top reaches the floor. Rates tied by a fixed shape inherit that shape’s slopes, including its infinite one there.

d⁢Vd⁢t=23π⁢r⁢hd⁢rd⁢t+13πr2d⁢hd⁢t

Common mistakes

  • Substituting x=6 before differentiating. The base’s position then looks constant, its rate becomes 0, and the answer comes out d⁢y⁢/⁢d⁢t=0. Differentiate first, then substitute.
  • Leaving out a chain-rule factor. The derivative of y2 with respect to t is 2⁢y⋅d⁢y⁢/⁢d⁢t, not 2⁢y, because y changes with time.
  • Giving a constant a rate. The ladder’s 10 ft length has derivative 0, so the differentiated equation ends in =0, not =100.
  • Forgetting the missing value. The problem gives x=6 but not y. Find y=8 from x2+y2=100 first, because the differentiated equation needs both.
  • Reporting a speed without its sign or units. The answer d⁢y⁢/⁢d⁢t=−0.75 ft⁢/⁢s means the top falls at 0.75 feet per second. A positive answer would say it rises.

Key terms

Related rates
A problem in which quantities linked by an equation change over time. Differentiating the equation with respect to time links their rates, so a known rate gives an unknown one.
Chain rule
The rule for differentiating a function inside another function: [f⁡(g⁡(x))]′ =f′(g⁡(x))⋅g′(x). Differentiate the outside, keeping the inside as it is, then multiply by the derivative of the inside.
Implicit differentiation
Finding d⁢y⁢/⁢d⁢x from an equation in x and y without solving for y: differentiate both sides with respect to x, multiply the derivative of each y term by d⁢y⁢/⁢d⁢x, then solve for d⁢y⁢/⁢d⁢x.
Instantaneous rate of change
How fast a quantity is changing at one instant: the limit of average rates of change over smaller and smaller intervals. It equals the derivative at that point.
Derivative
The instantaneous rate of change of a function: the limit of the average rate of change as the step shrinks to zero, when that limit exists. On a graph it is the slope of the tangent line.

Work through an example

A 10 ft ladder leans against a vertical wall. Its base slides away from the wall at 1 ft⁢/⁢s. How fast is the top sliding down when the base is 6 ft from the wall?

Solve a sliding ladder problem →

Find how fast a balloon’s radius grows →

Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See the ladder’s top and its tangent in Graph Write the ladder’s steps in Math Study the 5 key terms Open worked example on a board Related-rates relationship in Math Reference

Your existing work stays on this device. Examples open as editable copies.