Start the course

Applications

Related rates: a step-by-step method with worked examples

8 min readUpdated

Quick answer

To solve a related rates problem, draw the situation, name each changing quantity, and write an equation that links them at every moment. Differentiate both sides with respect to time t (each quantity gets its own rate, like dxdt), then substitute the values at the moment asked about and solve for the unknown rate.

Key points
  • Related rates problems link two or more quantities that change over time, and ask how fast one changes given how fast another does.
  • The key step is differentiating an equation with respect to time t, using the chain rule on every changing quantity.
  • Substitute the moment's numbers only after differentiating; quantities that change must stay as letters until then.
  • A negative rate means the quantity is decreasing; always state the answer with units.

When two quantities are linked by an equation, their rates of change are linked too. Pump air into a balloon and its radius grows; slide the bottom of a ladder away from a wall and its top slides down. A related rates problem gives you the rate at which one quantity changes and asks for the rate at which a linked quantity changes, at one particular moment.

All of these rates are derivatives with respect to time, t. If x is a distance in feet, dxdt is how fast it changes, in feet per second; if V is a volume in cubic centimeters, dVdt is in cubic centimeters per second.

The details change from problem to problem, but the same six steps solve all of them:

  1. Picture. Draw a diagram of the situation at a general moment, not just the special moment in the question.
  2. Name. Give a letter to every quantity that changes. Write down the rate you know and the rate you want, as derivatives with respect to t.
  3. Relate. Write an equation linking the quantities that is true at every moment: from the Pythagorean theorem, an area or volume formula, similar triangles, or trigonometry.
  4. Differentiate both sides with respect to t. By the chain rule, each changing quantity brings its own rate: ddtx2= 2xdxdt.
  5. Substitute the values at the special moment, then solve for the rate you want.
  6. Interpret. State the answer with units, and check its sign makes sense.

Step 4 is implicit differentiation, with t in place of x: every quantity that changes is treated as a hidden function of time.

How do you solve the sliding ladder problem?

Worked example: A sliding ladder

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

  1. Picture and name. Let x be the distance from the wall to the bottom, and y the height of the top. Known: dxdt=3. Wanted: dydt when x=5.
  2. Relate. The wall, the ground and the ladder form a right triangle, so by the Pythagorean theorem x2+y2=169 (since 132=169) at every moment.
  3. Differentiate with respect to t: 2xdxdt+2ydydt= 0. The ladder's length is constant, so the right side is 0.
  4. Substitute. When x=5: y2=169−25=144, so y=12. Then 2(5)(3)+2(12)dydt= 0, which is 30+24dydt= 0.
  5. Solve: 24dydt= −30, so dydt= −3024= −1.25.
  6. Interpret. The rate is negative because the height is decreasing.

Answer: The top slides down at 1.25 ft/s.

x = 5 fty = 12 ftladder: 13 ftsliding out at 3 ft/s
The ladder at the moment in question: bottom 5 ft from the wall, top 12 ft up. The three sides satisfy x2+y2=132 at every moment.
Common mistake

Substituting too early. If you put x=5 into the equation before differentiating, x becomes a constant, its derivative becomes 0, and the rate you were given disappears. Only constants (like the ladder's length) can be substituted before step 4.

Worked example: An inflating balloon

Air is pumped into a spherical balloon at 100 cm³/s. How fast is the radius increasing when the radius is 5 cm?

  1. Name. V = volume, r = radius. Known: dVdt=100. Wanted: drdt when r=5.
  2. Relate. The volume of a sphere: V=43πr3.
  3. Differentiate: dVdt= 43π⋅3r2drdt= 4πr2drdt.
  4. Substitute: 100= 4π(5)2drdt= 100πdrdt.
  5. Solve: drdt= 100100π= 1π≈0.318.

Answer: The radius grows at 1π≈0.32 cm/s.

Notice that the radius grows more slowly as the balloon gets bigger: the same amount of air is spread over a larger surface.

Some problems have one quantity too many. In a cone-shaped tank, the volume depends on both the water's radius and its depth, but you're only told about one of them. Similar triangles (triangles with the same shape, so their sides are in the same ratio) link the two and remove the extra letter before you differentiate.

Worked example: Filling a cone-shaped tank

Water flows at 2 m³/min into a tank shaped like an upside-down cone, 6 m deep with a top radius of 3 m. How fast is the water level rising when the water is 4 m deep?

  1. Name. h = depth of the water, r = radius of its surface, V = volume. Known: dVdt=2. Wanted: dhdt when h=4.
  2. Relate. Volume of a cone: V=13πr2h.
  3. Remove r with similar triangles. The water forms a smaller cone with the same shape as the tank, so rh= 36= 12, giving r=h2.
  4. Substitute: V= 13π(h2)2h= 13π⋅h24⋅h= π12h3.
  5. Differentiate: dVdt= π12⋅3h2dhdt= π4h2dhdt.
  6. Substitute h=4: 2= π4⋅16dhdt= 4πdhdt, so dhdt= 24π= 12π≈0.159.

Answer: The water level rises at 12π≈0.16 m/min.

Worked example: Two cars leaving an intersection

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

  1. Name. y = first car's distance north, x = second car's distance east, z = distance between them. Known: dydt=60, dxdt=45. Wanted: dzdt.
  2. Relate. The roads meet at a right angle: z2=x2+y2.
  3. Differentiate: 2zdzdt= 2xdxdt+2ydydt; divide by 2: zdzdt= xdxdt+ydydt.
  4. Substitute. At the moment, z= 42+32= 25= 5. So 5dzdt= 4(45)+3(60)= 180+180= 360.
  5. Solve: dzdt= 3605= 72.

Answer: The distance between the cars is increasing at 72 mph.

  • Substituting before differentiating, which turns changing quantities into constants.
  • Wrong signs. A quantity that is decreasing has a negative rate: water draining out means dVdt<0.
  • Forgetting a rate. When you differentiate, every changing quantity gets its own rate factor, including ones you aren't asked about.
  • Missing units. A rate's units are the quantity's units per unit of time: ft/s, cm³/s, m/min.
Tip

When a problem asks for the largest or smallest possible value of something, rather than a rate at one moment, it's an optimization problem instead.

Learn it step by step

The full lessons in the course explain this from the ground up, with graphs, worked examples, and practice problems that each have a complete worked solution.

Open the lesson

Frequently asked questions

What is the first step in a related rates problem?

Draw a picture of the situation at a general moment and give every changing quantity a letter. Then write down the rate you know and the rate you want as derivatives with respect to time.

Why do you differentiate with respect to time?

Because the rates in the problem (feet per second, liters per minute) are all changes over time. Differentiating the linking equation with respect to t turns a relation between quantities into a relation between their rates.

When do you plug in the numbers in related rates?

After differentiating. Constants that never change (a ladder's length, a tank's dimensions) can go in earlier, but changing quantities must stay as letters until the equation has been differentiated.

Why is my related rates answer negative?

A negative rate means that quantity is decreasing, like the top of a sliding ladder moving down. Check that the sign matches the situation, and state the answer as "decreasing at" a positive speed if the question asks how fast.

How are related rates and implicit differentiation connected?

Related rates is implicit differentiation with respect to time: every quantity in the equation is a hidden function of t, so the chain rule attaches a rate to each.