AP Calculus AB · Topic 4.4 · Reading guide, about 5 min

Linked rates: setting up the equation

Set up related rates problems: name the changing quantities, draw a diagram, write one equation, and differentiate with respect to time.

In one minute

In a related rates problem several quantities change with time and are tied together by geometry or a formula. A balloon grows, so its radius and volume both change. A ladder slides, so its top and bottom both move. If you know how fast one changes, the link lets you find how fast another changes.

The hardest part is the setup, not the calculus. This guide is about building the right equation and differentiating it correctly with the chain rule. Topic 4.5 carries the method through to finished answers.

Key terms

Related rates
Problems where two or more quantities change with time and an equation connects them, so their rates are connected too.
Variable quantity
A quantity that changes during the problem, such as a radius rr or a height hh. Treat it as a function of time tt.
Constant quantity
A fixed value in the problem, such as a ladder length of 13 feet. It is a number, not a variable.
Time derivative
The rate drdt\frac{dr}{dt} with respect to time. It carries units like feet per second.
Implicit differentiation in t
Differentiating both sides of an equation with respect to tt, using the chain rule on each variable.
Instantaneous values
The values of the variables at the moment the question asks about, substituted in after differentiating.
Sign of a rate
A positive rate means the quantity is increasing, a negative rate means it is decreasing.

A reliable setup routine

Follow the same steps each time. First, read the problem and list every quantity that changes. Give each a letter, and note which are constants. Second, draw a diagram of the situation at a general moment, not at the special moment in the question, and label the variable lengths. Third, write down the given rates and the rate you are asked to find, with units, using the notation dxdt\frac{dx}{dt}.

Fourth, write one equation that connects the variable quantities. This equation must be true at every moment, not just at the moment of the question. Fifth, differentiate both sides with respect to tt. Only after that do you substitute the values from the special moment. Doing it the other way around freezes a quantity that should have been changing, and the derivative of a constant is zero.

Common equations used to link quantities
SituationEquationAfter differentiating in tt
Right triangle (ladder, distance)x2+y2=L2x^2+y^2=L^22xdxdt+2ydydt=2LdLdt2x\frac{dx}{dt}+2y\frac{dy}{dt}=2L\frac{dL}{dt}
Circle areaA=πr2A=\pi r^2dAdt=2πrdrdt\frac{dA}{dt}=2\pi r\frac{dr}{dt}
Sphere volumeV=43πr3V=\frac{4}{3}\pi r^3dVdt=4πr2drdt\frac{dV}{dt}=4\pi r^2\frac{dr}{dt}
Cone volumeV=13πr2hV=\frac{1}{3}\pi r^2hneeds rr and hh related first
Similar trianglesab=cd\frac{a}{b}=\frac{c}{d}differentiate after clearing fractions

How the chain rule gets involved

In A=πr2A=\pi r^2, the radius is a function of time, r=r(t)r=r(t). So AA depends on tt through rr. The derivative of r2r^2 with respect to tt is 2r drdt2r\,\frac{dr}{dt}, not 2r2r. That extra factor drdt\frac{dr}{dt} is the chain rule, and it is exactly where the rate you know enters the equation.

A constant stays out of the way. If a ladder's length is 13 feet, then L=13L=13 and dLdt=0\frac{dL}{dt}=0. If the problem says the radius of a circle grows at 2 feet per second, then drdt=2\frac{dr}{dt}=2 for all times, which is a rate and not the value of rr.

Worked example: a balloon being filled

Air is pumped into a spherical balloon at a rate of 36π36\pi cubic centimeters per second. How fast is the radius increasing at the moment the radius is 3 centimeters?

Variables: r(t)r(t) is the radius in centimeters and V(t)V(t) is the volume in cubic centimeters. Given: dVdt=36π\frac{dV}{dt} = 36\pi cm3^3 per second. Find: drdt\frac{dr}{dt} when r=3r=3. Equation: V=43πr3V=\frac{4}{3}\pi r^3, true at every moment.

Differentiate both sides with respect to tt. The right side gives 43π⋅3r2 drdt=4πr2 drdt\frac{4}{3}\pi \cdot 3r^2\,\frac{dr}{dt} = 4\pi r^2\,\frac{dr}{dt}. So dVdt=4πr2 drdt\frac{dV}{dt} = 4\pi r^2\,\frac{dr}{dt}. Now substitute: 36π=4π(3)2 drdt=36π drdt36\pi = 4\pi(3)^2\,\frac{dr}{dt} = 36\pi\,\frac{dr}{dt}. Therefore drdt=1\frac{dr}{dt}=1.

Answer with a sentence and units: at the moment the radius is 3 centimeters, the radius is increasing at 1 centimeter per second. The sign is positive because the balloon is getting bigger. A quick check: if instead r=6r=6, then 4π(36)=144π4\pi(36)=144\pi and drdt=36π144π=0.25\frac{dr}{dt}=\frac{36\pi}{144\pi}=0.25, so the radius grows more slowly as the balloon gets bigger even though air enters at the same rate. That matches intuition, since the same air spreads over a larger surface.

A second quick setup: ripples

A stone makes a circular ripple whose radius grows at 2 feet per second. How fast is the enclosed area growing when the radius is 5 feet? Use A=πr2A=\pi r^2, so dAdt=2πr drdt\frac{dA}{dt}=2\pi r\,\frac{dr}{dt}. At r=5r=5 with drdt=2\frac{dr}{dt}=2, dAdt=2π(5)(2)=20π\frac{dA}{dt}=2\pi(5)(2)=20\pi square feet per second, about 62.8. The area rate grows with rr, so a later answer would be larger.

Setups from triangles

Ladder: a 13-foot ladder leans on a wall. Let xx be the distance from the wall to the bottom and yy the height of the top. The length 13 is constant, so the equation is x2+y2=169x^2+y^2=169, and differentiating gives 2xdxdt+2ydydt=02x\frac{dx}{dt}+2y\frac{dy}{dt}=0. Both xx and yy are variables; 13 is not.

Shadow: a person 6 feet tall walks away from a 15-foot lamppost. Let xx be the person's distance from the post and ss the length of the shadow. The lamp, the tip of the shadow and the person form two similar right triangles, so 15x+s=6s\frac{15}{x+s}=\frac{6}{s}. Cross-multiplying gives 15s=6x+6s15s=6x+6s, so s=23xs=\frac{2}{3}x at every moment, and differentiating gives dsdt=23dxdt\frac{ds}{dt}=\frac{2}{3}\frac{dx}{dt}. Solving the proportion for one variable before differentiating keeps the derivative simple.

How it connects

  • Back to 3.1: the chain rule is what turns ddt(r2)\frac{d}{dt}(r^2) into 2rdrdt2r\frac{dr}{dt}.
  • Back to 3.2: implicit differentiation is the same idea, with tt in place of xx.
  • Forward to 4.5: use similar triangles to remove a variable, and carry problems through to units and signs.
  • Forward to 5.10: optimization also begins with writing one equation from a constraint.

Common mistakes

  • Plugging in numbers before differentiating. If you set r=3r=3 first, then VV has no tt in it and the derivative is 0. Differentiate first, substitute second.
  • Forgetting the chain-rule factor. Writing dAdt=2πr\frac{dA}{dt}=2\pi r drops drdt\frac{dr}{dt} and the units no longer work.
  • Treating a constant as a variable. A fixed ladder length has derivative 0, not a rate to solve for.
  • Drawing only the special moment. The diagram should show a general moment so the equation holds as things change.

How it shows up on the exam

  • A short word problem with a shape (circle, sphere, triangle) where you write the connecting equation, differentiate it, and substitute.
  • A written task in which you must state an equation relating the variables and the rates you are given.
  • Multiple-choice items that ask which differentiated equation is correct for a described situation.

Check yourself

  1. For a cylinder with fixed radius and growing height, what equation links volume and height, and what does it look like after differentiating with respect to tt?
  2. Why is the equation written before substituting the numbers from the special moment?
  3. How do you decide if a quantity in the problem is a variable or a constant?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.