AP Calculus AB · Contextual Applications of Differentiation · free lesson
Related Rates
The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.
The idea
Rates that are tied together
In a related rates problem two or more quantities change with time, and an equation ties them together at every instant. Because the quantities are tied, so are their rates: if you know how fast one changes, the equation tells you how fast the other changes. The tool is the chain rule. When x is a function of the time t, a term such as x2 is a composition, so
dtd[x2]=2xdtdx
Every changing quantity picks up its own rate this way: dtd[y3]=3y2dtdy, and a product such as xy needs the product rule, dtd[xy]=dtdxy+xdtdy. This is implicit differentiation, with t in place of x.
A ladder sliding down a wall
A ladder 13 feet long leans against a vertical wall. Its foot is pulled away from the wall at a steady 2 feet per second. Let x be the distance from the wall to the foot of the ladder and y the height of its top, both in feet. Watch it slide. The green arrow, the rate dtdx of the foot, stays the same length the whole time; the red arrow, the rate dtdy of the top, grows: the top falls faster and faster.
The equation that ties x and y together is the Pythagorean theorem, x2+y2=169. It holds at every instant, so both sides have the same derivative with respect to t. Differentiate each term with the chain rule; the constant 169 has derivative 0:
dtd[x2+y2]2xdtdx+2ydtdy=dtd[169]=0
Only now put in the values at the instant you want. When the foot is x=5 feet from the wall, the top is at y=169−52=12 feet, and dtdx=2:
2(5)(2)+2(12)dtdydtdy=0=−65
The answer is negative because y is decreasing: at that instant the top of the ladder is sliding down the wall at 65 feet per second. Later, when x=12 and y=5, the same working gives dtdy=−524 feet per second: the foot still moves at 2 feet per second, but the top now falls much faster. The graph shows dtdy for each position x of the foot. It falls without bound as x nears 13 and the top reaches the floor.
Rule.
Solving a related rates problem, step by step.
Draw a picture. Name with letters the quantities that change; write the fixed ones as numbers.
Write the rate you are given and the rate you want as derivatives with respect to t. A quantity that is decreasing has a negative rate.
Write an equation that ties the changing quantities together and holds at every instant. If it holds a letter you have no rate for, remove that letter first with a fixed relation (similar triangles, a given shape).
Differentiate both sides with respect to t: each changing quantity brings its own rate (chain rule), and a product needs the product rule.
Only then put in the values at the instant, and solve for the rate you want.
Give the answer with units, and say whether the quantity is increasing or decreasing.
Warning.
Do not put the instant's values in before differentiating. With x=5 and y=12 the equation becomes 52+122=169, a true statement about numbers; its derivative is 0=0 and says nothing about the rates. The values go in after step 4.
A cone filling: remove a variable first
Water runs into a tank shaped like a cone, point down, at a steady 2 cubic feet per minute. The tank is 12 feet deep and the radius of its top is 4 feet. The volume of water is V=31πr2h, where h is the depth of the water and r the radius of its surface. Both r and h change, and we are given no rate for r. But the water always forms a cone of the same shape as the tank, so by similar triangles
hr=124=31
that is, r=31h at every instant. Put this in first, so that V depends on h alone: V=31π(31h)2h=π⋅271h3. Now differentiate with respect to t:
dtdV=π⋅91h2dtdh
With dtdV=2, the depth rises at dtdh=π⋅91h22=πh218 feet per minute. The same inflow raises the level quickly when the water is shallow and its surface small, and slowly when it is deep: at h=3 feet, dtdh=π2 feet per minute; at h=9 feet, only 9π2 feet per minute. Watch the tank fill at the steady rate.
A shadow: a rate that does not change
A person 6 feet tall walks away from a street lamp 15 feet high at 5 feet per second. Let x be the distance from the foot of the lamppost to the person and y the length of the person's shadow. The light ray from the lamp over the person's head to the tip of the shadow makes two similar right triangles, one with the lamppost and one with the person, so
x+y15=y6
Clearing the fractions, 15y=6x+6y, so y=32x. Differentiating, dtdy=32dtdx=32(5)=310 feet per second, at every instant: the shadow grows at a constant rate however far the person has gone. The tip of the shadow is at x+y from the post, so it moves at dtdx+dtdy=325 feet per second, faster than the person walks.
Note.
On the AP exam the usual slips are: putting in the instant's numbers before differentiating; dropping one of the rates when two quantities change at once; leaving the rate of a decreasing quantity positive; using a diameter where the formula wants the radius; and, for an angle, forgetting the chain factor (dtdtanθ=sec2θdtdθ). A free-response answer shows the equation that ties the quantities, its derivative with respect to t, the values at the instant, and the answer with units and its meaning (what changes, and whether it increases or decreases).
Worked examples
Worked examples
Each example follows the same steps: name the changing quantities, write the equation that ties them at every instant, differentiate both sides with respect to t, and only then put in the values at the instant. Every number in the working is found by the engine.
Example.
1. A balloon being filled. Air is pumped into a spherical balloon at 200 cubic centimeters per second. How fast is the radius of the balloon increasing at the instant the radius is 5 centimeters?
Let r be the radius and V the volume, both functions of t. We know dtdV=200 and want dtdr when r=5. The equation that ties them is the volume of a sphere, V=34πr3. Differentiate with respect to t; the chain rule brings in dtdr:
dtdV=4πr2dtdr
Now put in the instant's values: 4r2=100 when r=5, so
200dtdr=100πdtdr=100π200=π2
The radius is increasing at π2≈0.637 centimeters per second at that instant. As the balloon grows, its surface 4πr2 grows, so the same flow of air makes the radius grow more slowly.
Example.
2. Two cars and the distance between them. Car A is 3 miles east of an intersection, driving west toward it at 30 miles per hour. Car B is 4 miles north of the intersection, driving north away from it at 45 miles per hour. At that instant, is the distance between the cars increasing or decreasing, and at what rate?
Let x be the distance of car A from the intersection, y that of car B, and z the distance between the cars. Car A is getting closer, so x is decreasing: dtdx=−30, with a minus sign. Car B moves away, so dtdy=45.
The roads meet at a right angle, so x2+y2=z2 at every instant. Differentiate with respect to t:
2xdtdx+2ydtdy=2zdtdz
At this instant x=3 and y=4, so z=32+42=5. Put in the values and the two rates:
The rate is positive, so the distance between the cars is increasing, at 18 miles per hour. Car A's approach is not enough to make up for car B moving away faster. Leaving the minus sign off dtdx would give 10180+360=54, a wrong answer.
Example.
3. A conical tank draining. A tank in the shape of a cone, point down, is 10 feet deep, and its top is a circle 10 feet across. Water leaks out at 3 cubic feet per minute. How fast is the depth of the water changing when the water is 4 feet deep?
Let h be the depth of the water and r the radius of its surface. The top is 10 feet across, so its radius is 5 feet: the formula for a cone wants the radius, not the diameter. Water leaks out, so dtdV=−3.
The water is a cone of the same shape as the tank, so by similar triangles hr=105, that is r=21h. Put this into V=31πr2h so that only h is left, then differentiate with respect to t:
VdtdV=31π(21h)2h=π⋅121h3=π⋅41h2dtdh
At the instant h=4, the factor 41h2 is 4:
−3dtdh=4πdtdh=4π−3
The depth is decreasing at 4π3≈0.239 feet per minute when the water is 4 feet deep. Taking the diameter 10 as the radius would have made r=h and given a rate four times too small.
Example.
4. An angle of elevation. A hot-air balloon rises straight up from the ground at 4 meters per second. An observer stands 60 meters from the point where it left the ground. How fast is the angle of elevation from the observer to the balloon changing when the balloon is 80 meters up?
Let y be the height of the balloon and θ the angle of elevation, in radians. The distance 60 is fixed. In the right triangle, tanθ=60y. Differentiate both sides with respect to t; the left side needs the chain rule, because θ changes with t:
sec2θdtdθ=601dtdy
At the instant y=80, tanθ=6080=34, and sec2θ=1+tan2θ=925. With dtdy=4:
925dtdθdtdθ=604=1253
The angle of elevation is increasing at 1253 radians per second. An answer of 604=151 forgets the factor sec2θ that the chain rule puts on the angle. (The rate of an angle is in radians per unit of time, because the derivative of tanθ is sec2θ only for θ in radians.)
Example.
5. Two dimensions changing at once. The length of a rectangle is increasing at 2 centimeters per second while its width is decreasing at 3 centimeters per second. When the length is 10 centimeters and the width 6 centimeters, is the area increasing or decreasing, and how fast? How fast is the perimeter changing?
Let x be the length and y the width. The width is decreasing, so dtdy=−3. The area is A=xy, a product of two changing quantities, so the product rule gives
dtdA=dtdxy+xdtdy
At the instant, with x=10, y=6 and dtdx=2:
dtdA=(2)(6)+(10)(−3)=−18
The rate is negative, so the area is decreasing, at 18 square centimeters per second: the shrinking width wins over the growing length at this instant. Two slips to avoid: dropping one of the two terms (that gives 12 or −30), and taking dtdy as +3 because the problem says "3" (that gives 42).
The perimeter is P=2x+2y, so dtdP=2dtdx+2dtdy=2(2)+2(−3)=−2 centimeters per second: the perimeter is decreasing too, and at the same rate at every instant.
Practice
Answer AP-style questions on related rates. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.