AP Calculus AB and BC

Related Rates Cheat Sheet: Setups and Formulas

Every related rates problem follows one pattern: write an equation that links the changing quantities at every instant, differentiate both sides with respect to time using the chain rule, then substitute the values for the instant in question. Substituting before differentiating is a common error.

The setup steps

  1. Draw the situation. Give a letter to every quantity that changes with time. Write quantities that never change as numbers.
  2. List the given rates and the requested rate in Leibniz notation, with units and signs. A quantity that is shrinking has a negative rate.
  3. Write one equation relating the variables that is true at every instant, not only at the instant asked about.
  4. If the equation contains a variable whose rate is neither given nor wanted, eliminate it with a second relationship such as similar triangles.
  5. Differentiate both sides with respect to tt. Every variable gets its own rate factor from the chain rule.
  6. Substitute the values for the specific instant. Use the original equation to compute any value that was not given.
  7. Solve for the requested rate and state it with units and direction.

The method is explained in full in the related rates guide. The related rates setup builder and the related rates scene let you practice steps 1 through 5.

Distance and triangle relationships

SituationEquationDifferentiated with respect to tt
Two objects moving at right angles, distance zz apartx2+y2=z2x^2 + y^2 = z^22x dxdt+2y dydt=2z dzdt2x\,\frac{dx}{dt} + 2y\,\frac{dy}{dt} = 2z\,\frac{dz}{dt}
Ladder of fixed length LL against a wallx2+y2=L2x^2 + y^2 = L^22x dxdt+2y dydt=02x\,\frac{dx}{dt} + 2y\,\frac{dy}{dt} = 0
Angle of elevation θ\theta to an object at height yy, fixed horizontal distance DDtan⁡θ=yD\tan\theta = \frac{y}{D}sec⁡2θ dθdt=1D dydt\sec^2\theta\,\frac{d\theta}{dt} = \frac{1}{D}\,\frac{dy}{dt}
Shadow of length ss cast by a person of height hh at distance xx from a lamp of height HHsh=x+sH\frac{s}{h} = \frac{x + s}{H}, so s=hH−h xs = \frac{h}{H - h}\,xdsdt=hH−h dxdt\frac{ds}{dt} = \frac{h}{H - h}\,\frac{dx}{dt}
Triangle with base bb and height hh both changingA=12bhA = \frac{1}{2}bhdAdt=12(b dhdt+h dbdt)\frac{dA}{dt} = \frac{1}{2}\left(b\,\frac{dh}{dt} + h\,\frac{db}{dt}\right)
Triangle with fixed sides aa and bb and changing included angle θ\thetaA=12absin⁡θA = \frac{1}{2}ab\sin\thetadAdt=12abcos⁡θ dθdt\frac{dA}{dt} = \frac{1}{2}ab\cos\theta\,\frac{d\theta}{dt}

For the angle of elevation row, sec⁡2θ=1+tan⁡2θ=1+(yD)2\sec^2\theta = 1 + \tan^2\theta = 1 + \left(\frac{y}{D}\right)^2, so you can find sec⁡2θ\sec^2\theta without finding θ\theta. Angle rates are in radians per unit time.

Area and volume relationships

ShapeFormulaDifferentiated with respect to tt
Circle, areaA=πr2A = \pi r^2dAdt=2πr drdt\frac{dA}{dt} = 2\pi r\,\frac{dr}{dt}
Circle, circumferenceC=2πrC = 2\pi rdCdt=2π drdt\frac{dC}{dt} = 2\pi\,\frac{dr}{dt}
Square, areaA=s2A = s^2dAdt=2s dsdt\frac{dA}{dt} = 2s\,\frac{ds}{dt}
Rectangle, areaA=ℓwA = \ell wdAdt=ℓ dwdt+w dℓdt\frac{dA}{dt} = \ell\,\frac{dw}{dt} + w\,\frac{d\ell}{dt}
Cube, volumeV=s3V = s^3dVdt=3s2 dsdt\frac{dV}{dt} = 3s^2\,\frac{ds}{dt}
Sphere, volumeV=43πr3V = \frac{4}{3}\pi r^3dVdt=4πr2 drdt\frac{dV}{dt} = 4\pi r^2\,\frac{dr}{dt}
Sphere, surface areaS=4πr2S = 4\pi r^2dSdt=8πr drdt\frac{dS}{dt} = 8\pi r\,\frac{dr}{dt}
Cylinder with fixed radius rrV=πr2hV = \pi r^2 hdVdt=πr2 dhdt\frac{dV}{dt} = \pi r^2\,\frac{dh}{dt}
Cylinder, radius and height both changingV=πr2hV = \pi r^2 hdVdt=π(2rh drdt+r2 dhdt)\frac{dV}{dt} = \pi\left(2rh\,\frac{dr}{dt} + r^2\,\frac{dh}{dt}\right)
Cone, radius and height both changingV=13πr2hV = \frac{1}{3}\pi r^2 hdVdt=π3(2rh drdt+r2 dhdt)\frac{dV}{dt} = \frac{\pi}{3}\left(2rh\,\frac{dr}{dt} + r^2\,\frac{dh}{dt}\right)
Conical tank with top radius RR and height HH, water depth hhr=RHhr = \frac{R}{H}h, so V=πR23H2h3V = \frac{\pi R^2}{3H^2}h^3dVdt=πR2H2h2 dhdt\frac{dV}{dt} = \frac{\pi R^2}{H^2}h^2\,\frac{dh}{dt}

Similar triangles in a cone

Water in a conical tank forms a smaller cone with the same proportions as the tank, so rh=RH\frac{r}{h} = \frac{R}{H} at every instant. Use this to remove rr before differentiating. The tank's dimensions RR and HH are constants. The water's rr and hh are variables.

Constants, variables, and signs

Quantity in the problemTreat asWhy
Length of a ladder, rope, or rodConstantIt does not change with time, so its derivative is 00.
Dimensions of a tankConstantThe container does not change. Only the contents do.
A value described with "at the instant when"VariableIt is one snapshot of a changing quantity. Substitute it only after differentiating.
Distance that is shrinking, depth of a draining tankVariable with a negative rateA decreasing quantity has a negative derivative.
A rate stated as constantKnown rateFor example, dxdt=3\frac{dx}{dt} = 3 at every instant.
RateTypical units
dxdt\frac{dx}{dt}, drdt\frac{dr}{dt}, dhdt\frac{dh}{dt}length per time, such as ft/s
dAdt\frac{dA}{dt}area per time, such as cm2/s\text{cm}^2/\text{s}
dVdt\frac{dV}{dt}volume per time, such as ft3/min\text{ft}^3/\text{min}
dθdt\frac{d\theta}{dt}radians per time

Common slips

  • Substituting the snapshot values before differentiating. This turns variables into constants and makes their rates disappear.
  • Leaving off a rate factor. The derivative of r3r^3 with respect to tt is 3r2 drdt3r^2\,\frac{dr}{dt}, not 3r23r^2.
  • Differentiating a product such as r2hr^2 h as if only one factor changes when both do.
  • Using the wrong sign for a decreasing quantity, or reporting a negative answer without saying what it means.
  • Forgetting to compute a missing snapshot value. In a ladder problem, find yy from x2+y2=L2x^2 + y^2 = L^2 before substituting.
  • Mixing units, such as inches for one length and feet for another.

Worked examples

Worked example

Two cars and the Pythagorean relationship

Car A drives east away from an intersection at 40 mph. Car B drives north away from the same intersection at 30 mph. How fast is the distance between the cars increasing when A is 3 miles and B is 4 miles from the intersection?

  1. Let xx be A's distance east, yy be B's distance north, and zz the distance between the cars. Given: dxdt=40\frac{dx}{dt} = 40 and dydt=30\frac{dy}{dt} = 30. Wanted: dzdt\frac{dz}{dt} when x=3x = 3 and y=4y = 4.
  2. Equation true at every instant: x2+y2=z2x^2 + y^2 = z^2.
  3. Differentiate with respect to tt: 2x dxdt+2y dydt=2z dzdt2x\,\frac{dx}{dt} + 2y\,\frac{dy}{dt} = 2z\,\frac{dz}{dt}.
  4. Find the missing snapshot value: z=32+42=5z = \sqrt{3^2 + 4^2} = 5.
  5. Substitute and divide by 22: 3⋅40+4⋅30=5 dzdt3 \cdot 40 + 4 \cdot 30 = 5\,\frac{dz}{dt}, so 240=5 dzdt240 = 5\,\frac{dz}{dt} and dzdt=48\frac{dz}{dt} = 48.

The distance between the cars is increasing at 4848 mph.

Worked example

Filling a conical tank

A conical tank, vertex down, is 10 ft tall with a top radius of 4 ft. Water flows in at 2 ft3/min2\ \text{ft}^3/\text{min}. How fast is the water level rising when the water is 5 ft deep?

  1. Let hh be the water depth and rr the radius of the water surface. Given: dVdt=2\frac{dV}{dt} = 2. Wanted: dhdt\frac{dh}{dt} when h=5h = 5.
  2. Similar triangles: rh=410\frac{r}{h} = \frac{4}{10}, so r=2h5r = \frac{2h}{5}.
  3. Volume in terms of hh only: V=13πr2h=13π(2h5)2h=4π75h3V = \frac{1}{3}\pi r^2 h = \frac{1}{3}\pi\left(\frac{2h}{5}\right)^2 h = \frac{4\pi}{75}h^3.
  4. Differentiate with respect to tt: dVdt=4π25h2 dhdt\frac{dV}{dt} = \frac{4\pi}{25}h^2\,\frac{dh}{dt}.
  5. Substitute h=5h = 5 and dVdt=2\frac{dV}{dt} = 2: 2=4π25⋅25⋅dhdt=4π dhdt2 = \frac{4\pi}{25} \cdot 25 \cdot \frac{dh}{dt} = 4\pi\,\frac{dh}{dt}, so dhdt=12π\frac{dh}{dt} = \frac{1}{2\pi}.

The water level is rising at 12π≈0.159\frac{1}{2\pi} \approx 0.159 ft/min.

Worked example

A shadow and similar triangles

A person 6 ft tall walks away from a 15 ft lamppost at 5 ft/s. How fast is the length of the shadow increasing, and how fast is the tip of the shadow moving?

  1. Let xx be the person's distance from the post and ss the shadow length. Given: dxdt=5\frac{dx}{dt} = 5. Wanted: dsdt\frac{ds}{dt}.
  2. Similar triangles: the small triangle (person and shadow) and the large triangle (lamppost and the full distance to the shadow tip) give s6=x+s15\frac{s}{6} = \frac{x + s}{15}.
  3. Solve for ss: 15s=6x+6s15s = 6x + 6s, so 9s=6x9s = 6x and s=23xs = \frac{2}{3}x.
  4. Differentiate with respect to tt: dsdt=23 dxdt=23⋅5=103\frac{ds}{dt} = \frac{2}{3}\,\frac{dx}{dt} = \frac{2}{3} \cdot 5 = \frac{10}{3}.
  5. The tip of the shadow is at distance x+sx + s from the post, so its speed is dxdt+dsdt=5+103=253\frac{dx}{dt} + \frac{ds}{dt} = 5 + \frac{10}{3} = \frac{25}{3}.

The shadow lengthens at 103\frac{10}{3} ft/s and its tip moves at 253\frac{25}{3} ft/s. Neither rate depends on how far the person is from the post.

Frequently asked questions

When do I substitute the given numbers in a related rates problem?

After differentiating. Values that describe one instant, such as a distance of 3 miles at the moment in question, belong to changing quantities. If you substitute them first they become constants and their rates vanish from the equation. Only true constants, such as a ladder's length, go in before differentiating.

How do I know which equation relates the variables?

Match the geometry. A right triangle with changing sides uses the Pythagorean theorem, a changing angle uses a trig ratio, a shadow or a conical tank uses similar triangles, and a changing shape uses its area or volume formula. The equation must contain the quantity whose rate is wanted and the quantities whose rates are given.

Why is my related rates answer negative?

A negative rate means the quantity is decreasing. For a ladder sliding down a wall, dydt\frac{dy}{dt} is negative because the height of the top is shrinking. State the answer in words, for example that the top is sliding down at a certain speed, so the sign and the direction agree.