Related Rates Visual Solver

Select a classic related rates problem, adjust the sliders to set values, and watch the animated diagram and step-by-step solution update instantly. All computation happens in your browser.

Related Rates Visual Solver

Pick a problem, adjust sliders, and watch the solution update in real time.

Choose a Problem

Ladder Sliding Down Wall

Pythagorean

A 10 ft ladder leans against a wall. Its base slides away at dx/dt ft/s when the base is x ft from the wall. How fast does the top slide down?

L=10ftx=6.0fty=8.0ftdx/dt

Adjust Values

10 ft
5 ft20 ft
6 ft
1 ft9 ft
2 ft/s
0.5 ft/s5 ft/s
Computed Answer
Primary Equation
Step-by-Step Solution
/

By the Pythagorean theorem, the three sides of the right triangle satisfy this relationship at every moment.

Reference Guide

Setting Up Related Rates

Every related rates problem follows the same four-step process.

  1. Draw and label a diagram at a specific instant.
  2. Write an equation relating the changing quantities.
  3. Differentiate both sides with respect to time t.
  4. Substitute known values and solve for the unknown rate.

The key insight is that every quantity that changes with time becomes a function of t, so the chain rule applies to every term when you differentiate.

Implicit Differentiation

When variables are related by an equation, differentiate implicitly with respect to t. For any variable u(t):

ddt[un]=nun1dudt\frac{d}{dt}[u^n] = n u^{n-1}\,\frac{du}{dt}

Ladder example: starting from x2+y2=L2x^2 + y^2 = L^2, differentiating gives 2xdxdt+2ydydt=02x\frac{dx}{dt} + 2y\frac{dy}{dt} = 0 since L is constant.

Common Patterns

  • Right triangle: x2+y2=L22xx˙+2yy˙=0x^2+y^2=L^2 \Rightarrow 2x\dot{x}+2y\dot{y}=0
  • Circle area: A˙=2πrr˙\dot{A}=2\pi r\dot{r}
  • Sphere volume: V˙=4πr2r˙\dot{V}=4\pi r^2\dot{r}
  • Cone volume: V=πR23H2h3V=\tfrac{\pi R^2}{3H^2}h^3
  • Cylinder: V˙=πr2h˙\dot{V}=\pi r^2\dot{h}
  • Angle: sec2θθ˙=1dh˙\sec^2\theta\,\dot{\theta}=\tfrac{1}{d}\dot{h}

Tips and Common Pitfalls

  • Substitute values AFTER differentiating. Plugging in a specific value for x before differentiating treats it as a constant, losing the dx/dt term.
  • Watch the sign of each rate. A car approaching means its distance is decreasing, so dx/dt is negative.
  • Use similar triangles to reduce the number of variables before differentiating (ladder, shadow, cone).
  • Units matter. If distance is in feet and time in seconds, rates are in ft/s. Keep units consistent across the entire equation.

Chain Rule in Related Rates

The chain rule is the engine behind every related rates calculation. Because x, y, r, h, and V are all functions of time t, every differentiation needs an extra factor.

ddt[f(u(t))]=f(u(t))dudt\frac{d}{dt}[f(u(t))] = f'(u(t))\cdot\frac{du}{dt}

For the product rule: ddt[uv]=uv˙+vu˙\frac{d}{dt}[uv] = u\dot{v} + v\dot{u}. This applies when two changing quantities multiply (box volume, triangle area).