MATHEMATICS · LESSON 06 OF 10

Related rates

When quantities are linked by an equation, their rates of change are linked too. Differentiate the equation with respect to time.

What this lesson explains

In real systems several quantities change at the same time and depend on each other: the level and the volume of liquid in a tank, the radius and the area of a spreading spill, the pressure and volume of a gas. Often one rate is easy to measure and another is what you need. Related rates turn a geometric or physical relationship into a relationship between rates.

Before you begin

Chain rule

If y depends on t, then d / dt f(y) = f′(y)dy / dt. Examples: d / dt(r2) = 2rdr / dt; d / dt(V) = dV / dt.

Geometry formulas

Circle area A = πr2; sphere volume V = 4 / 3πr3; cylinder volume V = πr2h; cone volume V = 1 / 3πr2h; Pythagoras a2 + b2 = c2; similar triangles give equal ratios of corresponding sides.

The idea, made visible

Suppose two quantities x and y both depend on time t and are always connected by an equation, such as x2 + y2 = 25 for a ladder of length 5 m. Because the equation holds at every instant, the two sides change at the same rate. Differentiating both sides with respect to t (using the chain rule) gives an equation connecting dx / dt and dy / dt.

The chain rule is the key step. Since x is a function of t, d / dt(x2) = 2xdx / dt, not 2x. Every variable that changes with time brings its own rate factor.

Sliding ladder: a 5 m ladder against a wallA wall on the left and the floor at the bottom. A ladder of length 5 m leans against the wall. The foot is x = 3 m from the wall and moves away at 0.5 m/s (arrow pointing right). The top is y = 4 m above the floor and slides down (arrow pointing down). The right triangle satisfies x² + y² = 25.dx/dt = 0.5 m/sdy/dt = ? (top slides down)x = 3 my = 4 mL = 5 mx² + y² = 25 at every instant
A 5 m ladder slides away from a wall. The foot and the top move at different speeds, but x² + y² = 25 links them at every instant.

There is one crucial order of operations: differentiate first, substitute the instantaneous values second. If you substitute x = 3 before differentiating, x becomes a constant and its rate disappears. Only quantities that are genuinely constant (a fixed ladder length, a fixed tank cross-section) may be substituted before differentiating.

Signs carry meaning. A negative rate means the quantity is decreasing. In the ladder problem the top slides down, so dy / dt comes out negative, and that is correct.

The ladder at different moments (foot moving out at 0.5 m/s)
x (m)y (m)dy/dt = −(x/y)(dx/dt) (m/s)
14.899−0.102
34−0.375
43−0.667
4.81.4−1.714

The foot moves at a constant speed, but the top falls faster and faster as it approaches the floor. The rate depends on the instant.

Key terms

Rate of change with respect to time
dQ / dt is how fast a quantity Q changes per unit time. Positive: Q increasing; negative: Q decreasing.
Related rates
Rates of change of quantities that are linked by an equation. Differentiating the equation with respect to t links the rates.
Instantaneous value
The value of a changing quantity at the particular moment asked about (for example, “when x = 3 m”). It is substituted only after differentiating.

The formulas and what they mean

Symbols, meanings and units
SymbolMeaningUnit
ttimes, min, …
dx / dt, dV / dtrate of change of x or Vunits of x (or V) per unit time
r, h, V, Aradius, height, volume, aream, m, m³, m²

General pattern

F(x, y) = constant ⇒ d / dtF(x, y) = 0

Conditions and limits: The equation must hold for all times in the interval, not just at one instant.

Chain rule in time

d / dt xn = nxn−1dx / dt

Conditions and limits: x is a differentiable function of t.

Tank with constant cross-section

V = Ah ⇒ dV / dt = Adh / dt

Conditions and limits: Only when the cross-sectional area A is constant (a vertical cylinder or prism). For a cone or sphere A changes with h.

Why it works: Why the circle’s area grows faster when the circle is larger

A circular oil spill has A = πr2. Differentiate with respect to t.

  1. dA / dt = 2πrdr / dt.

    Chain rule: r depends on t.

  2. 2πr is the circumference.

    A thin ring of width Δr added around the edge has area ≈ (circumference)·Δr.

For the same outward speed dr/dt, a larger spill adds a longer ring each second, so its area grows faster. The formula expresses a picture.

A first worked example

Related-rates procedure

  1. Draw a diagram. Label the quantities that change with letters, and write constants as numbers.
  2. Write down the given rate(s) and the rate you want, with units and signs (decreasing ⇒ negative).
  3. Find an equation that links the quantities at every instant (geometry or physics). If it has an extra variable, remove it using another relation, such as similar triangles.
  4. Differentiate both sides with respect to t, using the chain rule for every changing quantity.
  5. Only now substitute the values at the given instant (use the equation itself to find any missing value), and solve for the unknown rate.
  6. State the answer with units and interpret the sign.

The sliding ladder

Problem. A 5 m ladder leans against a wall. Its foot slides away at 0.5 m/s. How fast is the top sliding down when the foot is 3 m from the wall?

  1. Let x = distance of the foot from the wall and y = height of the top. Then x2 + y2 = 25.

    Pythagoras holds at every instant; the length 5 m is constant.

  2. Differentiate: 2xdx / dt + 2ydy / dt = 0.

    Both x and y depend on t.

  3. At the instant: x = 3, so y = √25 − 9 = 4. Given dx / dt = 0.5.

    Use the original equation to find y.

  4. 2(3)(0.5) + 2(4)dy / dt = 0 ⇒ dy / dt = −3 / 8 = −0.375.

    Solve for the unknown rate.

Result: dy / dt = −0.375 m/s: the top slides down at 0.375 m/s.

What it means: The negative sign means y is decreasing, which matches the picture.

A different case

A growing square

Problem. A square’s side is 4 m and increasing at 0.5 m/min. How fast is its area increasing?

  1. A = s2.

    Relationship at every instant.

  2. dA / dt = 2sds / dt.

    Differentiate with respect to t.

  3. = 2(4)(0.5) = 4.

    Substitute s = 4 and ds/dt = 0.5 after differentiating.

Result: dA / dt = 4 m2/min.

What it means: Substituting s = 4 first would give A = 16, a constant, and a wrong rate of 0.

More worked cases

Each case below uses a different skill. Every step and result is shown.

Filling a cylindrical tank

Problem. A vertical cylindrical tank has cross-sectional area 3 m2. The level rises at 0.2 m/min. How fast is the volume increasing?

  1. V = Ah with A = 3 m2 constant.

    For a vertical cylinder the cross-section does not change with height.

  2. dV / dt = Adh / dt = 3 × 0.2.

    Differentiate; A is a constant factor.

Result: dV / dt = 0.6 m3/min.

What it means: Equivalently, 600 L of liquid enter per minute.

Filling a conical tank (similar triangles)

Problem. Water flows at 2 m3/min into an inverted cone of height 4 m and top radius 2 m. How fast is the level rising when the water is 2 m deep?

  1. V = 1 / 3πr2h, where r is the radius of the water surface.

    Volume of a cone.

  2. Similar triangles: r / h = 2 / 4, so r = h / 2 and V = 1 / 3πh2 / 4h = π / 12h3.

    Eliminate r so that V depends on h alone.

  3. dV / dt = π / 4h2dh / dt.

    Differentiate with respect to t.

  4. 2 = π / 4(2)2dh / dt = πdh / dt ⇒ dh / dt = 2 / π.

    Substitute h = 2 and dV/dt = 2 only now.

Result: dh / dt = 2 / π ≈ 0.637 m/min.

What it means: Because the cone narrows downwards, the level rises faster when the water is shallow.

An inflating balloon

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

  1. V = 4 / 3πr3.

    Volume of a sphere.

  2. dV / dt = 4πr2dr / dt.

    Differentiate; 4πr2 is the surface area.

  3. 100 = 4π(25)dr / dt ⇒ dr / dt = 1 / π.

    Substitute r = 5 after differentiating.

Result: dr / dt = 1 / π ≈ 0.318 cm/s.

What it means: As the balloon grows, the same air flow spreads over a larger surface, so the radius grows more slowly.

Common misunderstandings

  • Misunderstanding: Substituting the instantaneous value before differentiating.

    Correct idea: Differentiate first. A quantity that changes must stay a variable until after differentiation.

  • Misunderstanding: Writing d / dt(x2) = 2x.

    Correct idea: x depends on t, so d / dt(x2) = 2xdx / dt.

  • Misunderstanding: Ignoring the sign of a decreasing quantity.

    Correct idea: A draining tank has dV/dt < 0; a falling ladder top has dy/dt < 0. Use the sign in the equation and interpret it at the end.

  • Misunderstanding: Using V = Ah for a cone.

    Correct idea: The cross-section of a cone changes with height. Use similar triangles to write V in terms of one variable.

  • Misunderstanding: Mixing units (cm with m, minutes with seconds).

    Correct idea: Convert all quantities to one unit system before substituting.

Keep in mind

  • F(x, y) = constant ⇒ d / dtF(x, y) = 0General pattern
  • d / dt xn = nxn−1dx / dtChain rule in time
  • V = Ah ⇒ dV / dt = Adh / dtTank with constant cross-section

Scope of this lesson

  • The problems use explicit geometric or physical relationships; setting up models with several independent unknowns needs extra equations.
  • All rates are with respect to time t; the same method works for any common independent variable.

Next: Linear approximation. Near a point, a differentiable function is almost a straight line: its tangent line gives quick estimates and error sizes.

Original study text. Sources and credits.