Skip to content
Tutorials Center
My learning

Topics

Lesson 19 of 39 · Applications of Derivatives

Related Rates

Learn how to solve related rates problems step by step: link changing quantities with an equation, differentiate in time, and check the answer by computer.

Many quantities in the world change together. As a balloon is inflated, its radius and its volume grow at the same time. As the bottom of a ladder slides away from a wall, the top slides down. If you know how fast one quantity is changing, can you work out how fast the other one changes? That is the idea behind related rates.

The tool is something you already know: the chain rule. If two quantities are linked by an equation, then their rates of change (their derivatives with respect to time t) are linked too. In this lesson you will learn a reliable five-step method and use it on two classic problems.

The big idea

Suppose V is the volume of a sphere and r is its radius. The two are linked by V = (4/3)πr³. Both V and r change as time passes, so we can think of them as functions of t: V(t) and r(t). Differentiating both sides with respect to t, and using the chain rule on the right-hand side, gives:

Text
dV/dt = 4πr² · dr/dt

The factor dr/dt appears because r itself depends on t. This is the step that beginners most often forget. If you differentiate r³ and write only 3r², you have treated r as if it were the variable. It is not: t is.

Rates have units. dV/dt might be in cubic centimeters per second (cm³/s) and dr/dt in centimeters per second (cm/s). Checking units is a quick way to catch mistakes.

The five-step method

  1. Draw and label. Sketch the situation. Give a letter to every quantity that changes (x, y, r, V, ...).
  2. List what you know and what you want. Write the given rates and the rate you need, with signs. A quantity that is shrinking has a negative rate.
  3. Write an equation linking the variables. Use geometry (Pythagoras, volume or area formulas) or similar triangles. Do this before plugging in any numbers that are changing.
  4. Differentiate with respect to t. Apply the chain rule to every variable.
  5. Substitute the numbers for the moment in question, solve for the unknown rate, and state the answer with units.

The most common mistake is substituting a value too early. If you replace x by 3 before differentiating, you turn a changing quantity into a constant and its derivative disappears.

Example 1: the sliding ladder

A ladder 5 m long leans against a vertical wall. The foot of the ladder slides away from the wall at 0.5 m/s. How fast is the top of the ladder moving down the wall at the moment when the foot is 3 m from the wall?

Let x be the distance from the wall to the foot and y the height of the top. Pythagoras gives x² + y² = 25. The ladder length is constant, so the right side is a constant.

Differentiate with respect to t:

Text
2x · dx/dt + 2y · dy/dt = 0
dy/dt = -(x / y) · dx/dt

When x = 3, we have y = √(25 - 9) = 4. With dx/dt = 0.5:

Text
dy/dt = -(3 / 4) · 0.5 = -0.375 m/s

The minus sign means y is decreasing: the top slides down at 0.375 m/s. The code below repeats the calculation, then checks it independently by moving the foot a tiny bit and measuring how much the top drops.

Python Sliding ladder: formula and numeric check

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Example 2: the inflating balloon

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

We know dV/dt = 100 and want dr/dt. From V = (4/3)πr³ we got dV/dt = 4πr² · dr/dt. Solve for the unknown:

Text
dr/dt = (dV/dt) / (4πr²) = 100 / (4π · 100) = 1/(4π) ≈ 0.0796 cm/s

Notice that the radius grows more slowly as the balloon gets bigger, even though the air arrives at a steady rate. A bigger sphere needs more air for each extra centimeter of radius.

The next TryIt lets the computer algebra system sympy do the differentiation. It treats r as an unknown function of time, so the chain rule is applied automatically.

Python Differentiating a volume with respect to time

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

A shadow problem to try

A person 1.8 m tall walks away from a lamp post 6 m high at 1.2 m/s. How fast does the tip of the shadow move? Let x be the person's distance from the post and s the length of the shadow. Similar triangles give (x + s)/6 = s/1.8, which simplifies to 1.8x + 1.8s = 6s, so s = (1.8/4.2)x = (3/7)x. The tip is at x + s = (10/7)x, so its speed is (10/7) · 1.2 = 12/7 ≈ 1.71 m/s. The tip moves faster than the person because the shadow is also growing.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Why does the factor dr/dt appear when you differentiate V = (4/3)πr³ with respect to time?

    r is a function of t, so the derivative of r³ with respect to t is 3r² · dr/dt by the chain rule.
  2. 2. In the ladder problem, dy/dt is negative. What does the sign tell you?

    A negative rate means the quantity is decreasing. Here y, the height of the top, is decreasing.
  3. 3. When is it safe to substitute the numerical value of a changing quantity such as x = 3?

    Substituting first makes the quantity a constant, so its derivative is lost. Substitute after you differentiate.
  4. 4. A circle's area is A = πr². If dr/dt = 2 cm/s, what is dA/dt when r = 5 cm?

    dA/dt = 2πr · dr/dt = 2π · 5 · 2 = 20π cm²/s.

Summary

  • Related rates problems link changing quantities with an equation, then differentiate with respect to time.
  • Use the chain rule on every variable: d(r³)/dt = 3r² · dr/dt.
  • Follow the five steps: draw, list, write an equation, differentiate, substitute.
  • Do not substitute changing values until after you differentiate.
  • Decreasing quantities have negative rates; check units at the end.

Next: Extrema and the First Derivative Test