Expressing changing quantities as derivatives with respect to time, finding a geometric equation that relates them, differentiating it implicitly, and only then substituting the instant's values — worked through the sliding ladder, the inflating balloon, the filling cone and two objects approaching at right angles.
Subject: Calculus I · 65 slides · symbolic lesson
Open the interactive version of this deck
Title
Calculus I · Section 4.1
When one quantity's rate is known, find another's
Objectives
Section 3.8 differentiated equations without solving them. This lesson points that skill at time: when quantities are linked by an equation, their rates are linked too, and one known rate determines another.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, pp. 296-307 — learning objectives 4.1.1 to 4.1.3
In Section 3.8 you learned to differentiate an equation without first solving it for one variable. Related rates is that same skill pointed at time. Whenever two quantities are tied together by an equation and both are changing, their rates of change are tied together as well, and knowing one rate lets you find the other.
The calculus in these problems is almost always a single line. The difficulty lives in the setup: deciding what the letters are, finding an equation that holds at every moment, and keeping track of which numbers are allowed into that equation early and which must wait. Four of the five objectives on this slide are about exactly that.
By the end you will have worked the four examples of the section, all four checkpoints, and a handful of the exercises: balloons, planes, rockets, ladders, lighthouses, funnels and shadows. They look different, but every one runs through the same five steps.
Warm-up
Discussion prompt
A sphere's volume is V = (4/3)πr³. Suppose the radius r is itself a function of time t. Differentiate V with respect to t. Where does the extra factor come from?
Write your answer before revealing it. This is the one piece of Chapter 3 that the whole lesson rests on, so it is worth making sure it is solid.
The volume is a cube of the radius, and the radius is a function of time. That makes the volume a composition: an outer function, cubing, applied to an inner function, the radius at time t. The chain rule says to differentiate the outside, leaving the inside alone, and then multiply by the derivative of the inside.
The derivative of the inside is the rate at which the radius changes. That extra factor is not a nuisance to be tidied away; it is the unknown you will be solving for in the first example. Every related-rates equation is born this way: a chain rule that produces one rate for each changing quantity.
Section
Part 1
Concept
Blow up a balloon. Its radius and its volume both grow, and they grow together because the volume is a formula in the radius.
\[ V = \frac43\pi r^3 \]
Now let the clock run. Both letters become functions of time, and the formula holds at every instant.
\[ V(t) = \frac43\pi\left[r(t)\right]^3 \quad\text{for every } t \]
An equation that holds at every instant can be differentiated with respect to time. The result links the two rates.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 296 — setting up related-rates problems
Start with a picture you can feel. As you blow up a balloon, it gets bigger in every sense at once: the radius grows and the volume grows. They are not independent. The volume is determined by the radius through the sphere formula, so they must grow in step.
The key move is to imagine a clock running. At each instant there is one radius and one volume, so both are functions of time, and the sphere formula is true at every one of those instants. That is a much stronger statement than being true at one moment.
Because the equation is true for every value of t, you may differentiate both sides with respect to t and the results will still be equal. That differentiated equation is the bridge between the two rates.
Concept
Every changing letter is secretly a function of t, so each one brings its own rate out through the chain rule. This is implicit differentiation from Section 3.8, with t in place of x.
\[ \frac{d}{dt}\left[r^3\right] = 3r^2 \frac{dr}{dt} \]
\[ \frac{d}{dt}\left[x^2 + y^2\right] = 2x\frac{dx}{dt} + 2y\frac{dy}{dt} \]
\[ \frac{d}{dt}\left[\tan\theta\right] = \sec^2\theta \frac{d\theta}{dt} \]
A constant contributes nothing: its derivative is zero. So the first thing to decide in any problem is which quantities are really constant.
Here are three derivatives you will use constantly, all built the same way. Each changing letter is really a function of time, so each one is an inside function and the chain rule hands you its rate as a factor. This is exactly implicit differentiation from Section 3.8, where a y term produced a factor of the derivative of y with respect to x; now every letter produces a factor of its own rate with respect to time.
The Pythagorean line deserves a second look, because it will appear in half the problems of this section. Each squared letter becomes twice the letter times its rate.
The last sentence on the slide is the one that decides whether you get the right answer. A constant has derivative zero, so any quantity you treat as a constant loses its rate. Deciding which quantities are genuinely constant is therefore a real decision, not a formality.
Concept
related rates — Rates of change of quantities that are connected by an equation. Differentiating the equation with respect to time gives an equation connecting the rates, so a known rate determines an unknown one.
\[ V = \frac43\pi r^3 \quad\Longrightarrow\quad \frac{dV}{dt} = 4\pi r^2 \frac{dr}{dt} \]
Here the volume rate and the radius rate are related rates, because the volume is related to the radius.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 296 — definition of related rates
This is the book's definition, and it is less a new idea than a name for the pattern of the last two slides. Two rates are related when the quantities they measure are linked by an equation.
Look at the equation between the two rates. It says the volume rate equals the radius rate multiplied by four pi r squared. Given either rate and the current radius, you can find the other. In the first example the volume rate is known, because you control how fast air goes in, and the radius rate is what you want.
Notice that the relation between the rates still contains r itself. That is typical: how fast one quantity responds to another depends on where you are. A small balloon and a large balloon respond very differently to the same puff of air, and you will see exactly how differently in a moment.
Picture it
Figure (svg): A cross-section of the balloon: a circle of radius r with a thin shaded ring around it of thickness dr. An arrow marks the radius, a short arrow marks the ring's thickness, and a label says the ring's volume is about 4 pi r squared times dr.
Where does the factor in front of the radius rate come from geometrically? New air thickens the balloon by a thin layer over its entire surface, so the volume added is roughly the surface area times the thickness.
The figure is a slice through the balloon. The inner circle is the balloon now, and the shaded ring around it is the extra thickness added a moment later. The ring is exaggerated so that you can see it, but the idea works best when you imagine it very thin.
A thin shell wrapped around a sphere has a volume of about its surface area times its thickness. The sphere's surface area is four pi r squared. So a small growth in the radius adds about four pi r squared times that growth to the volume, and dividing by the time taken gives the rate equation.
This is worth remembering because it lets you check your chain rule by geometry. Whenever a volume rate is linked to a length rate, the factor between them should be an area: here the balloon's surface, and later the surface of water in a funnel.
Notation
Annotate
On: \( \frac{dV}{dt} = 4\pi r^2 \cdot \frac{dr}{dt} \)
Step through the notes one at a time. Each piece of the equation has a meaning and a unit, and being able to say what each piece is makes the equation much harder to get wrong.
The middle factor is the one to understand. The surface area is not a constant; it depends on the radius at the instant you are looking at. That is why you must know the radius at the moment in question before you can turn the rate equation into a number.
The last note is a habit to build now. Multiply the units on the right side together and compare with the left side. Square centimetres times centimetres per second gives cubic centimetres per second, which matches. If you had dropped the chain-rule factor, the units would not balance, and you would catch the mistake immediately.
Worked example
Air enters a spherical balloon at a constant 2 cubic centimetres per second. How fast is the radius increasing when the radius is 3 centimetres?
Name the quantities and the rates
Why: Volume and radius both change with time.
\[ \frac{dV}{dt} = 2 \text{ cm}^3\text{/s}, \quad \text{find } \frac{dr}{dt} \text{ when } r = 3 \]
Write the relation
Why: The volume of a sphere, true at every instant.
\[ V = \frac43\pi r^3 \]
Differentiate with respect to t
Why: Chain rule on the cube.
\[ \frac{dV}{dt} = 4\pi r^2 \frac{dr}{dt} \]
Solve for the radius rate
Why: Divide by the surface area, still in letters.
\[ \frac{dr}{dt} = \frac{1}{4\pi r^2}\frac{dV}{dt} = \frac{2}{4\pi r^2} = \frac{1}{2\pi r^2} \]
Now substitute the instant's radius
Why: Put r equal to 3.
\[ \frac{dr}{dt}\Big|_{r=3} = \frac{1}{2\pi(9)} = \frac{1}{18\pi} \]
Evaluate with units
Why: A small rate, as a big surface should give.
\[ \frac{dr}{dt} = \frac{1}{18\pi} \approx 0.0177 \text{ cm/s} \]
Figure (svg): The graph of the radius rate, 1 over 2 pi r squared, against the radius r from 1 to 8 centimetres: a falling curve, with dots at r equal to 3 (height 0.0177) and r equal to 6 (height 0.0044).
Check by multiplying back
Why: Surface area at r equal to 3 is 36 pi; times the rate should return the inflow of 2.
\[ 4\pi(3)^2 \cdot \frac{1}{18\pi} = \frac{36\pi}{18\pi} = 2 \;\checkmark \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, pp. 296-297 — Example 4.1
Follow the five steps in order. The quantities are the volume and the radius. The given rate is the volume rate, 2 cubic centimetres per second, positive because air is going in. The wanted rate is the radius rate at the instant the radius is 3.
The relation is the sphere formula, and differentiating it gives the rate equation you have already met. Before putting in any numbers, solve for the wanted rate in letters: the radius rate is one over two pi r squared. That general formula is more useful than a single number, because it tells you how the answer depends on the size of the balloon.
Only then substitute the radius 3, to get one over 18 pi, about 0.0177 centimetres per second. The graph shows the general formula falling as the radius grows. The check multiplies the answer by the surface area and recovers the inflow of 2 exactly, which is the rate equation read backwards.
Prediction
\[ \frac{dr}{dt} = \frac{1}{2\pi r^2}, \qquad r = 6 \text{ cm} \]
Predict first
At r = 6 cm, with the same inflow of 2 cm³/s, how does the radius rate compare with the rate at r = 3 cm?
Correct: A quarter as fast
Why: The rate is one over 2 pi r squared. Doubling r multiplies r squared by four, so the rate is divided by four: one over 72 pi, about 0.0044 cm/s. The surface to be thickened is four times as large, so the same air spreads four times as thin.
\[ \frac{dr}{dt}\Big|_{r=6} = \frac{1}{2\pi(36)} = \frac{1}{72\pi} \approx 0.0044 \text{ cm/s} \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 297 — Checkpoint 4.1
Commit to an option before revealing it. You already have the general formula from the example, so the question is really about how it scales.
The radius appears squared in the denominator. Doubling the radius multiplies the square by four, so the rate is divided by four. At a radius of 6 the answer is one over 72 pi, about 0.0044 centimetres per second.
The geometric picture explains it. The same two cubic centimetres of air each second must now be spread over a surface four times as large, so the shell it forms is four times as thin. This is why the last part of blowing up a balloon feels as if it takes far more air for far less growth.
Section
Part 2
Concept
Steps one to three are where the thinking happens. Step four is the calculus, and it is usually one line.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 297 — Problem-Solving Strategy: Solving a Related-Rates Problem
These are the book's five steps, and every example in the section follows them. It is worth writing them out explicitly for the first dozen problems you solve, even when the problem looks easy, because the mistakes in this topic almost always come from skipping or reordering a step.
Steps one and two are bookkeeping, but they force decisions: which quantities change, which are constant, and what sign each rate has. Step three is the creative part: finding an equation that connects the quantities and is true at every instant. Geometry supplies it: Pythagoras, a volume formula, a trigonometric ratio, or similar triangles.
Step four is the calculus, and it is short. Step five is where the numbers finally go in. The order of steps four and five is the subject of the next several slides, because getting it backwards produces answers that look reasonable and are completely wrong.
Concept
Some numbers in a problem are true at every instant: a ladder's length, a plane's fixed altitude, a funnel's shape. They may be written into the equation from the start.
Other numbers are true only at the instant the question asks about: the radius is 3, the plane is 3000 feet out. Those must wait until after differentiating.
\[ \underbrace{4000}_{\text{always}} \qquad \text{vs} \qquad \underbrace{x = 3000}_{\text{only now}} \]
The test: would the number be different a second later? If yes, it is not a constant, and it must stay a letter until step five.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 297 — the note after the strategy
Every problem gives you numbers of two different kinds, and the problem never labels them for you. Some are true for the whole story: the plane's altitude never changes, the ladder is always 10 feet long, the funnel is always the same shape. Those are constants, and writing them into the equation from the start is fine, because their rates really are zero.
Others describe a single moment: the plane is 3000 feet out right now, the radius is 3 right now. A second later those numbers are different. They are values of changing quantities, and if you put them in before differentiating, you are pretending the quantity is constant, which throws away its rate.
The test on the slide is the one to use every time: ask whether the number would be different a moment later. If it would, it stays a letter until step five.
Concept
Right triangles are everywhere in these problems. If the legs x and y and the hypotenuse s all change, differentiate their relation.
\[ x^2 + y^2 = s^2 \]
\[ 2x\frac{dx}{dt} + 2y\frac{dy}{dt} = 2s\frac{ds}{dt} \]
\[ x\frac{dx}{dt} + y\frac{dy}{dt} = s\frac{ds}{dt} \]
If one leg is fixed, its term simply vanishes, because the derivative of a constant is zero.
Right triangles appear whenever two things move at right angles to each other, or one thing moves while you watch from the side. The relation is Pythagoras, and differentiating it is so common that it is worth knowing the result on sight.
Each of the three squared letters becomes twice the letter times its rate. Every term then carries a factor of two, so divide it out, and you get: x times its rate plus y times its rate equals s times its rate.
When one side of the triangle is fixed, as the plane's altitude will be, its square is a constant and its derivative is zero, so that term simply disappears. That is the legitimate way for a number to be in the equation before differentiating: because it never changes.
Worked example
Find the rate of z at the point where x is 1 and y is 3, given the relation below and the two rates.
\[ z^2 = x^2 + y^2, \quad \frac{dx}{dt} = 4, \quad \frac{dy}{dt} = 3 \]
Differentiate with respect to t
Why: Every letter changes, so every term brings a rate.
\[ 2z\frac{dz}{dt} = 2x\frac{dx}{dt} + 2y\frac{dy}{dt} \]
Cancel the twos and solve for the wanted rate
Why: Still all letters.
\[ \frac{dz}{dt} = \frac{x\frac{dx}{dt} + y\frac{dy}{dt}}{z} \]
Find z at the instant
Why: z is positive at this point.
\[ z = \sqrt{1^2 + 3^2} = \sqrt{10} \]
Substitute
Why: x equal to 1, y equal to 3, and the two rates.
\[ \frac{dz}{dt} = \frac{1(4) + 3(3)}{\sqrt{10}} = \frac{13}{\sqrt{10}} \]
Evaluate
Why: A decimal for scale.
\[ \frac{dz}{dt} = \frac{13}{\sqrt{10}} \approx 4.111 \]
Check with a tiny time step
Why: Move for 0.001 of a time unit: x becomes 1.004 and y becomes 3.003. Then z changes by about 13 over root 10 times 0.001.
\[ \sqrt{1.004^2 + 3.003^2} - \sqrt{10} \approx 0.004112 \approx 4.111(0.001) \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 302 — Exercise 3
This is the first exercise of the section with the story stripped away, so you can see the mechanics without any geometry to distract you. There are three changing letters, two known rates, and one wanted rate.
Differentiate, cancel the twos, and solve for the wanted rate while everything is still in letters. Only then find z at the given point. Since z squared is 1 plus 9, z is the square root of 10. Substituting gives 13 over the square root of 10, about 4.11.
The check is a direct experiment. Advance time by one thousandth: x grows by four thousandths and y by three thousandths. Compute z before and after, and the change is about 0.00411, which is the rate times the time step. This kind of numerical check works for every related-rates answer, and it is a good way to convince yourself that the chain rule is telling the truth.
Concept
Figure (svg): A right triangle drawn to scale: the man at the lower left, the radio tower 3000 feet to his right, and the plane 4000 feet directly above the tower. The hypotenuse s from the man to the plane is 5000 feet. An arrow on the plane points right, labelled 600 feet per second.
Draw the situation before writing anything. The man, the point on the ground beneath the plane, and the plane form a right triangle whose vertical side never changes.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 298 — Figure 4.3
Always draw the picture first, and draw it to scale if you can. This one is the book's Figure 4.3 drawn at the moment the question asks about: the plane is directly over the tower, so the triangle has legs 3000 and 4000.
Look at which parts of the picture move. The man and the tower stay put. The plane moves to the right at a fixed height, so the vertical side of the triangle never changes, while the horizontal side x and the slanted side s both grow.
That is why the book introduces letters only for x and s. The height is a constant of the whole story and can be written as 4000 from the start. The 3000 is different: it is the value of x at one instant, and it will not be written in until the end.
Worked example
A plane flies away from a man at 600 feet per second, at a constant height of 4000 feet. The man stands 3000 feet from a radio tower. How fast is the distance between the man and the plane growing when the plane passes over the tower?
Name the quantities
Why: x is the ground distance to the point below the plane; s is the distance to the plane. The height is a constant.
\[ x(t), \quad s(t), \quad \text{height } 4000 \]
State given and wanted
Why: The plane's speed is the rate of x.
\[ \frac{dx}{dt} = 600 \text{ ft/s}, \quad \text{find } \frac{ds}{dt} \text{ when } x = 3000 \]
Relate them by Pythagoras
Why: True at every instant.
\[ x^2 + 4000^2 = s^2 \]
Differentiate with respect to t
Why: The constant's derivative is zero.
\[ 2x\frac{dx}{dt} + 0 = 2s\frac{ds}{dt} \]
Cancel the twos
Why: The relation between the rates.
\[ x\frac{dx}{dt} = s\frac{ds}{dt} \]
Find s at the instant
Why: A 3-4-5 triangle scaled by 1000.
\[ s = \sqrt{3000^2 + 4000^2} = 5000 \]
Substitute
Why: Every number now.
\[ (3000)(600) = (5000)\frac{ds}{dt} \]
Solve
Why: Divide by 5000.
\[ \frac{ds}{dt} = \frac{1{,}800{,}000}{5000} = 360 \text{ ft/s} \]
Check against the explicit motion
Why: With t in seconds from the instant, x is 3000 plus 600t, so s is a known function of t; its difference quotient over a millisecond matches.
\[ \frac{s(0.001) - s(-0.001)}{0.002} \approx 360.0 \quad\text{where } s(t) = \sqrt{(3000 + 600t)^2 + 4000^2} \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 298 — Example 4.2
Work through the steps. The plane's speed is the rate at which x grows, because x measures the ground distance from the man to the point under the plane. The wanted rate is the rate of s at the instant x equals 3000.
Pythagoras gives the relation, with the altitude as a fixed number. Differentiating, the altitude term contributes zero, and after cancelling the twos you have x times the plane's speed equals s times the distance rate. Only now do you need s at the instant, and it is 5000 from the 3-4-5 triangle.
The answer, 360 feet per second, is less than the plane's speed of 600, which makes sense: the plane is not flying straight away from the man, so only part of its motion stretches the line of sight. The check writes the motion out explicitly, with x growing at 600 per second from 3000, and a difference quotient over a millisecond gives 360 again.
Error analysis
Annotate
On: \( 3000^2 + 4000^2 = s^2 \;\Longrightarrow\; 0 = 2s\frac{ds}{dt} \;\Longrightarrow\; \frac{ds}{dt} = 0 \)
The book shows this error on purpose. Substituting a changing quantity early turns it into a constant, and its rate disappears.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, pp. 298-299 — the note after Example 4.2
Read the three lines and find the mistake before revealing the notes. The arithmetic is fine; the error is one of order.
The value 3000 was put into the relation before differentiating. At that point x is no longer a letter, so the whole left side is a fixed number, and the derivative of a fixed number is zero. The plane's speed never appears, and the equation forces the distance rate to be zero.
The answer is obviously wrong once you picture it: a plane moving away at 600 feet per second cannot be at a standing-still distance. The book includes this worked mistake precisely because it is so easy to make. Whenever a related-rates answer comes out as zero, suspect that a changing quantity was frozen too soon.
Picture it
Figure (svg): The distance s from the man to the plane, plotted against time t from minus 5 to 5 seconds, with t equal to 0 the instant the plane is over the tower. The curve rises through 5000 feet at t equal to 0 with a tangent line of slope 360. A dashed horizontal line at 5000, labelled x frozen at 3000, has slope zero.
The real distance is a curve in time, and the wanted rate is its slope at the instant. Substituting x equal to 3000 early replaces that curve by the flat line through the same point, and a flat line has slope zero.
This graph shows the same mistake from a different angle. The blue curve is the true distance between the man and the plane, plotted against time, with time zero the instant the plane passes over the tower. The rate you want is the slope of that curve at time zero, which is the yellow tangent line with slope 360.
The red dashed line is what the equation describes if you substitute x equals 3000 early. It passes through the same point, a distance of 5000 at time zero, but it is flat, because it pretends x stays at 3000 forever. A flat line has slope zero.
So the too-soon substitution does get the value right at the instant. What it destroys is the change, and the change is the whole question. A derivative needs the function near the instant, not just at it.
Fill the middle
Fill in the blanks
x^2 + 4000^2 = s^2 \;\Longrightarrow\; 2x\frac0___ + ___ = 2s\frac______
Why: The height 4000 is a genuine constant, true at every instant, so the derivative of its square is zero. This is the right way for a number to enter early: only when it can never change.
Fill in the blank before checking. The question is what happens to the altitude term when you differentiate with respect to time.
The altitude, 4000 feet, is a constant of the whole problem, so its square is a constant too, and the derivative of a constant is zero. That is why the book can write 4000 into the equation from the very start without any harm.
Compare this with the error two slides ago. Both put a number into the equation before differentiating. The difference is that the altitude really never changes, so its rate really is zero, while x changes, so pretending its rate is zero is false. The rule is not about numbers versus letters; it is about constant versus changing.
Worked example
Same plane and man. If the distance between them is growing at 300 feet per second as the plane passes over the tower, how fast is the plane flying?
Start from the differentiated relation
Why: Example 4.2 already did steps one to four.
\[ x\frac{dx}{dt} = s\frac{ds}{dt} \]
Solve for the plane's speed
Why: Now the rate of x is the unknown.
\[ \frac{dx}{dt} = \frac{s}{x}\frac{ds}{dt} \]
Substitute the instant
Why: x is 3000 and s is 5000, as before.
\[ \frac{dx}{dt} = \frac{5000}{3000}(300) \]
Evaluate
Why: Five thirds of 300.
\[ \frac{dx}{dt} = 500 \text{ ft/s} \]
Check in the relation, and against Example 4.2
Why: Both sides of the rate equation agree; and since the relation is linear in the rates, five sixths of Example 4.2's speed gives five sixths of its 360.
\[ (3000)(500) = 1{,}500{,}000 = (5000)(300), \qquad \tfrac56(360) = 300 \;\checkmark \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 299 — Checkpoint 4.2
This checkpoint runs Example 4.2 in reverse. The distance rate is given, 300 feet per second, and the plane's speed is unknown. The setup and the differentiated relation are exactly the same, which is one of the benefits of stopping in letters: one rate equation answers both questions.
Solve for the rate of x, then put in x equals 3000 and s equals 5000 at the instant. Five thirds of 300 is 500 feet per second.
The check puts all four numbers back into the rate equation and confirms both sides are 1.5 million. It also compares with Example 4.2: the rate equation is linear in the two rates, so a plane going five sixths as fast gives a distance rate five sixths as large, and five sixths of 360 is exactly 300.
Sorting
Sort into buckets
Sort each fact. Which may be written into the equation before differentiating, and which must wait until after?
Sort each fact before checking. For each one, ask the question from the earlier slide: would this number be different a moment later?
The plane's altitude, the ladder's length and the funnel's proportions are fixed features of each problem. The relation r equals h over 2 is the interesting one: r and h both change, but the ratio between them is the same at every instant, so the equation r equals h over 2 is true for all time and can be used before differentiating.
The plane's distance, the water's depth and the balloon's radius are snapshots. Each describes one moment only, so each must wait until after differentiating. Learning to see this distinction quickly is most of what makes related-rates problems feel easy.
Concept
Figure (svg): A 10-foot ladder drawn to scale against a wall on the right. Its foot is 5 feet from the wall and its top is 5 root 3, about 8.66 feet, up the wall. A downward arrow at the top reads 2 ft/s; a leftward arrow at the foot is marked with a question mark.
Exercise 5 of the section: a 10-foot ladder whose top is sliding down a wall. The picture is drawn to scale at the instant the foot is 5 feet out.
This is the classic related-rates problem, from Exercise 5 in the section. The figure is drawn to scale at the moment the question asks about: the foot is 5 feet from the wall, and the top is five root three, about 8.66 feet, up the wall.
Look at the arrows. The top is sliding down, which is the known rate. The foot is sliding outward, which is the unknown. The ladder itself never changes length, so it is the constant that ties the two motions together through Pythagoras.
Before you solve it, predict: will the foot move faster or slower than the top? The ladder is still fairly upright, which is a clue.
Worked example
A 10-foot ladder leans against a wall. The top slides down at 2 feet per second. How fast is the bottom moving along the ground when the bottom is 5 feet from the wall?
Name the quantities
Why: x along the ground, y up the wall; the ladder's length is constant.
\[ x(t), \quad y(t), \quad \text{ladder } 10 \]
State given and wanted, with signs
Why: The top slides DOWN, so y is decreasing.
\[ \frac{dy}{dt} = -2 \text{ ft/s}, \quad \text{find } \frac{dx}{dt} \text{ when } x = 5 \]
Relate them
Why: Pythagoras, true at every instant.
\[ x^2 + y^2 = 100 \]
Differentiate with respect to t
Why: The 100 contributes zero.
\[ 2x\frac{dx}{dt} + 2y\frac{dy}{dt} = 0 \]
Solve for the wanted rate in letters
Why: Divide by 2x.
\[ \frac{dx}{dt} = -\frac{y}{x}\frac{dy}{dt} \]
Find y at the instant
Why: From the relation, with x equal to 5.
\[ y = \sqrt{100 - 25} = \sqrt{75} = 5\sqrt3 \]
Substitute
Why: Every number now.
\[ \frac{dx}{dt} = -\frac{5\sqrt3}{5}(-2) = 2\sqrt3 \]
Evaluate with units and read the sign
Why: Positive: the foot moves away from the wall, as it must when the top falls.
\[ \frac{dx}{dt} = 2\sqrt3 \approx 3.46 \text{ ft/s} \]
Check with the explicit motion
Why: Let y fall linearly from 5 root 3 at 2 per second; then x is the root of 100 minus y squared, and its difference quotient agrees.
\[ x(t) = \sqrt{100 - (5\sqrt3 - 2t)^2}: \quad \frac{x(0.001) - x(-0.001)}{0.002} \approx 3.464 \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 303 — Exercise 5
The one decision that trips people up here is the sign. The top slides down, so the height is decreasing, and its rate is minus 2 feet per second, not plus 2. That minus sign is information, and it carries through to the answer.
The relation is Pythagoras with a fixed hypotenuse of 10, which differentiates to x times its rate plus y times its rate equals zero. Solve for the foot's rate in letters, then find y at the instant from the relation itself: the square root of 75, which is five root three.
The answer is two root three, about 3.46 feet per second, and it is positive, meaning the foot moves away from the wall. That matches the picture: as the top comes down, the foot must go out. It is faster than the top because the ladder is steep, which the next slide lets you explore. The check writes out the motion and confirms the rate with a difference quotient.
Tweak it
Parameter explorer
The curve is the foot's speed as a function of its distance x from the wall, for a ladder of length L whose top falls at v ft/s. Where is the foot fast, and where slow? What happens as x approaches L?
\[ \frac{dx}{dt} = \frac{{v}\sqrt{{L}^2 - x^2}}{x} \]
\[ L = 10,\; v = 2,\; x = 5: \quad \frac{dx}{dt} = \frac{2\sqrt{75}}{5} = 2\sqrt3 \approx 3.46 \]
Start with the ladder length at 10 and the falling speed at 2, and find the point on the curve at a distance of 5. You should read off about 3.46, the answer to Exercise 5.
Now look at the whole curve. When the foot is close to the wall, x is small and the foot races outward: a small drop at the top produces a big movement at the bottom. As x approaches the ladder's length, the ladder is nearly flat, and the foot barely moves. Change the ladder length and the whole curve stretches, but the shape is the same.
Changing the falling speed simply scales the curve up or down, because the rate equation is linear in the two rates. That linearity is true of every related-rates equation: double the known rate and you double the unknown one, at the same instant.
Section
Part 3
Concept
If the question asks how fast an angle changes, the relating equation must contain the angle, and a trigonometric function supplies it. Pick the ratio whose two sides are the ones you know about.
\[ \tan\theta = \frac{\text{opposite}}{\text{adjacent}} \]
Differentiating brings a derivative of the trigonometric function, times the angle's rate. All the derivative formulas of Section 3.5 assume radians, so the angle rate comes out in radians per unit time.
\[ \frac{d}{dt}\left[\tan\theta\right] = \sec^2\theta\frac{d\theta}{dt} \qquad \frac{d}{dt}\left[\sin\theta\right] = \cos\theta\frac{d\theta}{dt} \]
Some problems ask how fast an angle changes: a camera tracking a rocket, a lighthouse beam, the angle of elevation to a bird. The relating equation must then contain the angle, and only a trigonometric function can link an angle to lengths.
Choose the ratio that uses the sides you know about. If you know the opposite side changes and the adjacent side is fixed, tangent is the natural choice, because it uses exactly those two and avoids the hypotenuse, which would be one more changing letter.
One warning belongs here. The derivative of tangent is secant squared only when the angle is measured in radians. If a problem gives a turning rate in degrees or in revolutions, convert it to radians before using any of these derivatives, or your answer will be off by a constant factor.
Concept
Figure (svg): A long thin right triangle drawn to scale: the camera at the left end, the launch pad 5000 feet to the right, and the rocket 1000 feet above the pad. The angle theta at the camera is marked, the hypotenuse is labelled 1000 root 26, and an upward arrow on the rocket reads 600 ft/s.
Example 4.3, the chapter opener, drawn to scale: the rocket is only a fifth as high as the camera is far, so the triangle is long and thin.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 300 — Figure 4.5
This is the chapter-opening problem, drawn to scale. The rocket is 1000 feet up and the camera is 5000 feet away, so the triangle is long and thin and the angle at the camera is small, about 11 degrees.
The two changing quantities are the height of the rocket and the angle of the camera. The horizontal distance, 5000 feet, is fixed. That is exactly the situation where tangent works best: opposite over adjacent, with the adjacent side a constant.
Notice that the hypotenuse is also changing as the rocket climbs. You will need its length at the instant, to evaluate the secant, but you do not want it as a letter in your equation. Choosing tangent keeps it out.
Worked example
A camera sits 5000 feet from a launch pad. When the rocket is 1000 feet up, it rises at 600 feet per second. How fast must the camera's angle of elevation change to keep the rocket in view?
Name the quantities
Why: Height h and angle theta both change; the 5000 is fixed.
\[ \frac{dh}{dt} = 600 \text{ ft/s}, \quad \text{find } \frac{d\theta}{dt} \text{ when } h = 1000 \]
Relate them with tangent
Why: Opposite over adjacent: exactly the two sides you have.
\[ \tan\theta = \frac{h}{5000} \quad\Longrightarrow\quad h = 5000\tan\theta \]
Differentiate with respect to t
Why: The derivative of tangent is secant squared.
\[ \frac{dh}{dt} = 5000\sec^2\theta \frac{d\theta}{dt} \]
Find the hypotenuse at the instant
Why: Pythagoras with legs 5000 and 1000.
\[ c = \sqrt{5000^2 + 1000^2} = \sqrt{26{,}000{,}000} = 1000\sqrt{26} \]
Find secant squared
Why: Hypotenuse over adjacent, squared.
\[ \sec^2\theta = \left(\frac{1000\sqrt{26}}{5000}\right)^2 = \frac{26}{25} \]
Substitute
Why: All the instant's values now.
\[ 600 = 5000\cdot\frac{26}{25}\frac{d\theta}{dt} = 5200\frac{d\theta}{dt} \]
Solve
Why: Divide by 5200.
\[ \frac{d\theta}{dt} = \frac{600}{5200} = \frac{3}{26} \approx 0.115 \text{ rad/s} \]
Figure (svg): The camera's angle rate, 3,000,000 over 5000 squared plus h squared, plotted against the rocket's height h from 0 to 20,000 feet for a constant 600 feet per second: it starts at 0.12 radians per second, falls through 0.115 at h equal to 1000, and fades toward zero.
Check by differentiating the angle directly
Why: The angle is the arctangent of h over 5000, and the derivative of arctangent gives the same number.
\[ \frac{d\theta}{dt} = \frac{5000}{5000^2 + h^2}\frac{dh}{dt} = \frac{5000(600)}{26{,}000{,}000} = \frac{3}{26} \;\checkmark \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, pp. 299-301 — Example 4.3
The relation is tangent of the angle equals the height over 5000, rearranged to height equals 5000 tan theta. Differentiating the right side needs the derivative of tangent, which is secant squared, times the angle's rate by the chain rule.
At the instant, you need the secant squared, which is hypotenuse over adjacent, squared. Pythagoras gives the hypotenuse as 1000 root 26, so the secant squared is 26 over 25. Substituting everything gives 600 equals 5200 times the angle rate, so the angle rate is 3 over 26, about 0.115 radians per second.
The check solves for the angle directly as an arctangent and differentiates that instead. It lands on the same 3 over 26, which confirms both the derivative and the secant value. The graph shows the general formula: at a steady climbing speed the camera turns fastest near the ground and slower and slower as the rocket gets far away.
Notation
Annotate
On: \( \frac{dh}{dt} = 5000\sec^2\theta\cdot\frac{d\theta}{dt} \)
Step through each piece and say its meaning and unit. The left side is the rocket's speed in feet per second, which is given.
The 5000 is the camera's fixed distance from the pad. It passed through the differentiation untouched because it is a constant multiple, not because it was substituted. The secant squared factor is what the chain rule produced, and it depends on the angle, so it must be evaluated at the moment in question.
The last factor, the angle's rate, is in radians per second. Radians are really ratios of lengths, so they carry no unit of their own, and the units on both sides are feet per second. That is also a reminder of why the derivative formula requires radians: the formula for the derivative of tangent was proved with the angle measured in radians.
Worked example
Now the camera is 4000 feet from the pad, and the rocket rises at 500 feet per second when it is 2000 feet up. What angle rate is needed?
Relate and differentiate
Why: Same steps as Example 4.3, with the new fixed distance.
\[ h = 4000\tan\theta \quad\Longrightarrow\quad \frac{dh}{dt} = 4000\sec^2\theta\frac{d\theta}{dt} \]
Find secant squared at the instant
Why: Hypotenuse squared over adjacent squared.
\[ \sec^2\theta = \frac{4000^2 + 2000^2}{4000^2} = \frac{20{,}000{,}000}{16{,}000{,}000} = \frac54 \]
Substitute
Why: The rocket's speed is 500.
\[ 500 = 4000\cdot\frac54\frac{d\theta}{dt} = 5000\frac{d\theta}{dt} \]
Solve
Why: Divide by 5000.
\[ \frac{d\theta}{dt} = 0.1 \text{ rad/s} \]
Check with the arctangent formula
Why: Differentiate theta equal to the arctangent of h over 4000 directly.
\[ \frac{d\theta}{dt} = \frac{4000(500)}{4000^2 + 2000^2} = \frac{2{,}000{,}000}{20{,}000{,}000} = 0.1 \;\checkmark \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 301 — Checkpoint 4.3
This checkpoint changes every number but none of the structure. The camera is now 4000 feet from the pad, and the rocket is at 2000 feet rising at 500 feet per second.
The relation becomes height equals 4000 tan theta, and differentiating gives the same shape of rate equation with 4000 in front. At the instant the secant squared is the hypotenuse squared over the adjacent squared: 20 million over 16 million, which is five quarters. Then 500 equals 5000 times the angle rate, so the angle rate is 0.1 radians per second.
The arctangent check reproduces 0.1 exactly. Compare with Example 4.3: the rocket here is slower but proportionally higher, and the answer is a little smaller, about a tenth of a radian, or roughly six degrees, each second.
Concept
Figure (svg): The lighthouse L on an island 4 miles out from the nearest beach point P. The beam runs from L to a point on the beach 2 miles from P. The angle theta at L, between LP and the beam, is marked, and an arrow along the beach shows the lit spot moving.
Exercise 39: the beam turns at a steady rate, but the spot it lights on the beach does not move at a steady speed. The angle is measured at the lighthouse, from the line to the nearest beach point.
Exercise 39 is a beautiful example of a steady turning rate producing an unsteady speed. The lighthouse rotates at a constant 10 revolutions per minute, but the spot of light it throws on the beach moves at a speed that depends on where it is.
Measure the angle at the lighthouse, from the line to the nearest beach point P. Then the lit spot is at a distance x along the beach with x equal to 4 tan theta, the same tangent relation as the rocket, just turned on its side.
Picture the beam swinging. Right at P, a small turn moves the spot a little. Farther along the beach, the beam hits the sand at a glancing angle, and the same small turn slides the spot a long way. The secant squared factor is what measures that stretching.
Worked example
A lighthouse 4 miles from the nearest beach point P turns at 10 revolutions per minute. How fast does the beam move along the beach at a point 2 miles from P?
Convert the turning rate to radians
Why: One revolution is 2 pi radians.
\[ \frac{d\theta}{dt} = 10 \cdot 2\pi = 20\pi \text{ rad/min} \]
Relate the spot to the angle
Why: Opposite over adjacent in the right triangle LPx.
\[ x = 4\tan\theta \]
Differentiate with respect to t
Why: Secant squared again.
\[ \frac{dx}{dt} = 4\sec^2\theta\frac{d\theta}{dt} \]
Find secant squared at x equal to 2
Why: Use one plus tan squared, with tan theta equal to 2 over 4.
\[ \sec^2\theta = 1 + \tan^2\theta = 1 + \left(\frac24\right)^2 = \frac54 \]
Substitute
Why: Every number now.
\[ \frac{dx}{dt} = 4\cdot\frac54\cdot 20\pi = 100\pi \]
Evaluate with units
Why: Miles per minute.
\[ \frac{dx}{dt} = 100\pi \approx 314 \text{ mi/min} \]
Check with the explicit motion
Why: Let theta grow at 20 pi from its value at x equal to 2; the spot's difference quotient agrees.
\[ x(t) = 4\tan\left(\arctan\tfrac12 + 20\pi t\right): \quad \frac{x(10^{-6}) - x(-10^{-6})}{2\cdot10^{-6}} \approx 314.16 \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 306 — Exercise 39
The first step is a unit conversion that is easy to forget. Ten revolutions per minute is 20 pi radians per minute, because each revolution is 2 pi radians. Everything after this line depends on the rate being in radians.
Differentiate x equals 4 tan theta to get 4 secant squared theta times the angle rate. At the spot 2 miles from P, tan theta is 2 over 4, and one plus tan squared gives a secant squared of five quarters. Multiplying 4 by five quarters by 20 pi gives 100 pi, about 314 miles per minute.
That number is enormous, and it is right. The check writes the spot's position as a function of time, starting from the angle whose tangent is one half and turning at 20 pi, and a difference quotient gives 314.16. The next slides deal with the conversion trap and with just how fast this really is.
Trap
A common wrong line in Exercise 39:
\[ \frac{d\theta}{dt} = 10 \]
\[ \frac{dx}{dt} = 4\cdot\tfrac54\cdot 10 = 50 \]
Wrong by a factor of 2 pi.
The derivative of tan is sec squared only in radians. Convert first: one revolution is 2 pi radians.
\[ \frac{d\theta}{dt} = 20\pi \text{ rad/min} \]
\[ \frac{dx}{dt} = 100\pi \approx 314 \]
This wrong line uses the 10 revolutions per minute directly as the angle rate. Everything after it is done correctly, which makes the mistake hard to spot: the answer, 50, looks entirely reasonable.
The error is that the derivative of tangent is secant squared only when the angle is in radians. A revolution is 2 pi radians, so the true angle rate is 20 pi, and the answer is 2 pi times larger: 100 pi, about 314 miles per minute.
Whenever an angle's rate is given in revolutions or degrees, convert it to radians in step two, when you write the given information, before any derivative is taken.
Estimation
Predict first
The spot 2 miles from P moves at 100π miles per minute. Roughly how fast is that in miles per hour?
Correct: About 19,000 mph
Why: 100 pi is about 314 miles per minute, and there are 60 minutes in an hour, so about 18,850 miles per hour. Nothing physical travels along the beach at that speed: the spot is a place where light lands, not an object, so it may move as fast as the geometry says.
\[ 100\pi \times 60 \approx 18{,}850 \text{ mi/h} \]
Guess before you calculate. Miles per minute is not a unit anyone has a feel for, so converting is a good way to understand the size of the answer.
There are 60 minutes in an hour, so 314 miles per minute is about 18,850 miles per hour. That is far faster than any aircraft, and nothing is wrong with it. The spot of light is not a physical object sliding along the sand; it is just the place where the beam happens to land at each moment, and such a place can move as fast as the geometry dictates.
Farther down the beach it gets faster still. The secant squared factor grows without bound as the beam approaches parallel to the shore, so the spot's speed does too.
Matching
Match the pairs
Why: Each prime is a rate with respect to time. Constants disappear when differentiated: the 4000 squared and the 100 leave nothing behind, which is why one equation has a zero on the right and the other has lost a term.
Match each relation with its differentiated form before checking. The primes here are shorthand for rates with respect to time, which is how many textbooks and the book's Example 4.1 write them.
Every pair follows the same rule: each changing letter brings its own rate, and constants bring nothing. Look at what happens to the two Pythagorean relations. In the plane's, the constant 4000 squared disappears, leaving x times its rate on one side and s times its rate on the other. In the ladder's, the constant 100 is on the right, so the right side becomes zero.
The rocket's relation has a constant multiple, 5000, which survives differentiation as a factor. A constant multiplied by a changing quantity stays; a constant added on its own disappears.
Section
Part 4
Concept
The volume of water in a cone involves two changing lengths, the surface radius and the depth.
\[ V = \frac13\pi r^2 h \]
Differentiating this as it stands needs the rates of both r and h, and a problem that gives only the volume rate cannot supply both. The cure is a second relation, true at every instant, that removes one letter.
In a cone, similar triangles supply it: the water forms a smaller cone of exactly the funnel's shape.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 302 — Example 4.4, step 3
The funnel problem introduces a new difficulty. The volume of water in a cone depends on two changing lengths, the radius of the water's surface and the water's depth. Differentiate that formula directly and you get a rate for each, but the problem gives you only the volume rate.
One equation cannot determine two unknown rates. You need a second fact that ties the radius and the depth together, so that one of them can be removed before differentiating.
The shape of the container provides that fact. However much water is in a cone, the water itself forms a smaller cone of exactly the same shape, so the ratio of its radius to its depth never changes. That ratio is a relation true at every instant, and it is the tool for this whole part of the lesson.
Picture it
Figure (svg): A cross-section of the funnel as an inverted triangle: height 2 feet, top radius 1 foot. Water fills the bottom to height h equal to one half, with surface radius r equal to one quarter. The water's triangle and the full funnel's triangle are similar.
The water's cross-section and the funnel's are similar triangles. The funnel is 2 feet deep and 1 foot across the top, so the water's radius is always half its depth.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 301 — Figure 4.6
Here is the funnel in cross-section, as a triangle pointing down. The whole funnel is 2 feet deep and 1 foot in radius at the top. The shaded triangle at the bottom is the water, drawn at the instant in Example 4.4, when it is half a foot deep.
The two triangles share the angle at the bottom and both have a right angle at the centre line, so they are similar. Similar triangles have equal ratios of corresponding sides, so the water's radius over its depth equals the funnel's 1 over 2. The water's radius is always half its depth.
This relation is true whatever the depth, which is exactly why it may be used before differentiating. It is a fact about the shape, not about a moment.
Step zero
\[ V = \frac13\pi r^2 h, \qquad \frac{r}{h} = \frac12 \]
Discussion prompt
You know the volume rate and want the depth rate. Before you differentiate anything, what should you do to this formula, and why is it allowed to happen BEFORE differentiating when substituting h = 1/2 is not?
Write your answer before revealing it. The question asks you to plan the first move and to justify why it is legal, which is the heart of this part of the lesson.
The move is to eliminate r by replacing it with h over 2, so that the volume depends only on the depth, which is the letter whose rate you want. The formula simplifies to pi over 12 times h cubed.
Why is this allowed early when substituting h equals one half is not? Because r equals h over 2 is true at every instant, so differentiating it would give the true relation between their rates. h equals one half is true at only one instant. The same test as before: would the statement still be true a moment later?
Worked example
Water drains from a cone-shaped funnel, 2 feet deep with a top radius of 1 foot, at 0.03 cubic feet per second. How fast is the water level changing when the water is half a foot deep?
State given and wanted, with the sign
Why: Water is LEAVING, so the volume is decreasing.
\[ \frac{dV}{dt} = -0.03 \text{ ft}^3\text{/s}, \quad \text{find } \frac{dh}{dt} \text{ when } h = \tfrac12 \]
Write the volume
Why: A cone of water with radius r and depth h.
\[ V = \frac13\pi r^2 h \]
Eliminate r by similar triangles
Why: The ratio holds at every instant.
\[ \frac rh = \frac12 \quad\Longrightarrow\quad r = \frac h2 \]
Substitute and simplify
Why: Only h is left.
\[ V = \frac13\pi\left(\frac h2\right)^2 h = \frac{\pi}{12}h^3 \]
Differentiate with respect to t
Why: Chain rule on the cube.
\[ \frac{dV}{dt} = \frac{\pi}{4}h^2\frac{dh}{dt} \]
Substitute the instant
Why: The depth is one half and the volume rate is minus 0.03.
\[ -0.03 = \frac{\pi}{4}\left(\frac12\right)^2\frac{dh}{dt} = \frac{\pi}{16}\frac{dh}{dt} \]
Solve
Why: Multiply by 16 over pi.
\[ \frac{dh}{dt} = -\frac{0.48}{\pi} \approx -0.153 \text{ ft/s} \]
Check with the explicit motion
Why: Invert the volume formula, h equal to the cube root of 12V over pi, and let V fall at 0.03 from its value at depth one half.
\[ h(V) = \sqrt[3]{12V/\pi}, \; V_0 = \tfrac{\pi}{96}: \quad \frac{h(V_0 - 0.03\,\delta) - h(V_0 + 0.03\,\delta)}{2\delta} \approx -0.1528 \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, pp. 301-302 — Example 4.4
Start with the sign. Water is leaving the funnel, so the volume is decreasing, and its rate is minus 0.03 cubic feet per second. Write the minus sign here, in step two, and it will take care of itself for the rest of the problem.
The volume formula has two letters, so use the similar triangles to replace r by h over 2, giving pi over 12 times h cubed. Differentiating with the chain rule gives pi over 4 times h squared times the depth rate. Only now put in the depth of one half, which makes the factor pi over 16.
Solving gives minus 0.48 over pi, about minus 0.153 feet per second. Negative means the level is falling, which is right for a draining funnel. The check writes the depth as the cube root of 12 V over pi, lets the volume decrease at 0.03, and a difference quotient gives the same minus 0.1528.
Trap
Skip the similar triangles and differentiate with r frozen at its value:
\[ \frac{dV}{dt} = \frac13\pi r^2\frac{dh}{dt} \]
\[ -0.03 = \frac13\pi\left(\frac14\right)^2\frac{dh}{dt} \]
\[ \frac{dh}{dt} = -\frac{1.44}{\pi} \approx -0.458 \]
Wrong by a factor of three.
r shrinks as the water drains, so it has a rate of its own. Freezing it is the too-soon error in disguise.
\[ r = h/2 \;\Longrightarrow\; V = \tfrac{\pi}{12}h^3 \]
\[ \frac{dh}{dt} = -\frac{0.48}{\pi} \approx -0.153 \]
This wrong solution skips the similar triangles and differentiates the cone formula with r held fixed at its value, one quarter. The calculus is done correctly for the equation written, and the answer has the right sign and a believable size.
It is still wrong, by exactly a factor of three. The surface radius shrinks as the water drains, so it has a rate of its own, and freezing it at one quarter throws that rate away. This is the too-soon substitution again, just less obvious, because it happens to a quantity you were not asked about.
The factor of three is not an accident. With r eliminated the volume is a cube of h, and the cube's derivative brings down a 3. Treat r as fixed and the volume looks linear in h, and that 3 goes missing.
Worked example
Same funnel, same drain rate. How fast is the level changing when the water is a quarter of a foot deep?
Start from the rate equation
Why: Example 4.4 already eliminated r and differentiated.
\[ \frac{dV}{dt} = \frac{\pi}{4}h^2\frac{dh}{dt} \]
Solve for the depth rate in letters
Why: Divide by the factor.
\[ \frac{dh}{dt} = \frac{4}{\pi h^2}\frac{dV}{dt} \]
Substitute the instant
Why: h is one quarter, so h squared is one sixteenth.
\[ \frac{dh}{dt} = \frac{4}{\pi/16}(-0.03) = \frac{64}{\pi}(-0.03) \]
Evaluate
Why: Sixty-four times 0.03 is 1.92.
\[ \frac{dh}{dt} = -\frac{1.92}{\pi} \approx -0.611 \text{ ft/s} \]
Figure (svg): The water level's rate, minus 0.12 over pi h squared, plotted against the depth h from 0.15 to 2 feet: a curve below the axis that plunges as h shrinks, with dots at h equal to one half (minus 0.153) and h equal to one quarter (minus 0.611).
Check the scaling against Example 4.4
Why: Halving the depth quarters h squared, so the rate should be four times as fast.
\[ 4\times\left(-\frac{0.48}{\pi}\right) = -\frac{1.92}{\pi} \;\checkmark \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 302 — Checkpoint 4.4
The rate equation from Example 4.4 still holds; only the instant has changed. Solve it for the depth rate in letters: 4 over pi h squared times the volume rate.
At a depth of one quarter, h squared is one sixteenth, and the rate becomes minus 1.92 over pi, about minus 0.611 feet per second: four times as fast as at half a foot.
The graph shows why. The volume leaves at a steady rate, but it leaves through the water's surface, and near the narrow bottom of the funnel that surface is tiny. The same volume spread over a smaller surface means a larger drop in level. Halving the depth halves the radius and quarters the surface area, so the level falls four times as fast, which is exactly the check on the slide.
Worked example
A conical tank is 16 feet deep with a top radius of 5 feet. It leaks 10 cubic feet per minute. How fast is the depth changing when the water is 10 feet deep?
State given and wanted
Why: Leaking: the volume rate is negative.
\[ \frac{dV}{dt} = -10 \text{ ft}^3\text{/min}, \quad \text{find } \frac{dh}{dt} \text{ when } h = 10 \]
Similar triangles
Why: Radius over depth matches the tank's 5 over 16.
\[ \frac rh = \frac{5}{16} \quad\Longrightarrow\quad r = \frac{5h}{16} \]
Eliminate r from the volume
Why: Square the ratio: 25 over 256.
\[ V = \frac13\pi\left(\frac{5h}{16}\right)^2 h = \frac{25\pi}{768}h^3 \]
Differentiate with respect to t
Why: Three times 25 over 768 is 25 over 256.
\[ \frac{dV}{dt} = \frac{25\pi}{256}h^2\frac{dh}{dt} \]
Substitute the instant
Why: h equal to 10.
\[ -10 = \frac{25\pi}{256}(100)\frac{dh}{dt} = \frac{2500\pi}{256}\frac{dh}{dt} \]
Solve
Why: Multiply by 256 over 2500 pi.
\[ \frac{dh}{dt} = -\frac{2560}{2500\pi} = -\frac{1.024}{\pi} \approx -0.326 \text{ ft/min} \]
Figure (svg): A conical tank drawn to scale: 16 feet deep with a top radius of 5 feet. Water fills it to 10 feet, where the surface radius is 3.125 feet. A thin slab at the surface is highlighted, labelled with area pi r squared.
Check with the surface-area picture
Why: The factor should be the water's surface area: at depth 10 the radius is 3.125, and dividing the leak by that area gives the same rate.
\[ \pi(3.125)^2 \approx 30.68, \qquad \frac{-10}{30.68} \approx -0.326 \;\checkmark \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 305 — Exercise 25
This exercise repeats the funnel's method with less friendly numbers, which is good practice. The tank is 16 feet deep and 5 feet in radius, so by similar triangles the water's radius is 5 sixteenths of its depth at every instant.
Squaring the ratio gives 25 over 256, and the volume becomes 25 pi over 768 times h cubed. Differentiating brings down a 3, giving 25 pi over 256 times h squared times the depth rate. At a depth of 10, solving gives minus 1.024 over pi, about minus 0.326 feet per minute.
The check uses the surface-area idea from the balloon. The factor in front of the depth rate should be the area of the water's surface, and at a depth of 10 the radius is 3.125, so the area is about 30.68 square feet. Dividing the leak of 10 cubic feet per minute by that area gives the same 0.326, a completely independent confirmation.
Concept
Figure (svg): A 10-foot lamppost on the left, a 6-foot person 10 feet away, and the person's shadow reaching 15 feet further to a tip 25 feet from the post. A light ray runs from the lamp over the person's head to the shadow's tip. D marks the person's distance from the post and s the shadow's length.
Exercise 10: a 6-foot person walks away from a 10-foot lamppost at 3 feet per second. The lamp, the head and the tip of the shadow lie on one straight line.
Exercise 10 uses similar triangles for a different purpose: not to remove a variable from a volume, but to find how two lengths are related at all. The lamp, the top of the person's head, and the tip of the shadow all lie on the same straight ray of light.
That ray is the hypotenuse of two right triangles. The big one runs from the base of the lamppost to the tip, with height 10. The small one runs from the person's feet to the tip, with height 6. They share the angle at the tip, so they are similar.
In the figure the person is 10 feet from the post and the shadow is 15 feet long. As the person walks, both lengths grow. The question is how fast the tip of the shadow moves.
Worked example
How fast does the tip of the shadow move away from the pole when the person is 10 feet from it?
Name the quantities
Why: D is the person's distance from the pole, s the shadow's length; the tip is at D plus s.
\[ \frac{dD}{dt} = 3 \text{ ft/s}, \quad \text{find } \frac{d(D + s)}{dt} \]
Similar triangles
Why: Big triangle: height 10 over base D plus s. Small triangle: height 6 over base s.
\[ \frac{10}{D + s} = \frac{6}{s} \]
Cross-multiply
Why: Clear the fractions.
\[ 10s = 6D + 6s \]
Solve for the shadow's length
Why: Collect the s terms.
\[ 4s = 6D \quad\Longrightarrow\quad s = \tfrac32 D \]
Write the tip's position
Why: Only D is left.
\[ D + s = \tfrac52 D \]
Differentiate with respect to t
Why: A constant multiple.
\[ \frac{d(D + s)}{dt} = \frac52\frac{dD}{dt} = \frac52(3) = 7.5 \text{ ft/s} \]
Check against the numbers in the figure, and notice what was never used
Why: At D equal to 10 the shadow is 15 and the tip is at 25; a second later D is 13, the shadow 19.5 and the tip 32.5, exactly 7.5 further. The 10 feet was never needed: the rate is the same at every distance.
\[ \tfrac52(13) - \tfrac52(10) = 32.5 - 25 = 7.5 \;\checkmark \]
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 304 — Exercises 10 and 11
Set up the similar triangles: 10 over the distance from post to tip equals 6 over the shadow's length. Cross-multiplying and collecting terms gives the shadow as one and a half times the distance. That is a relation true at every instant.
The tip is at the distance plus the shadow, which is five halves of the distance. Differentiating gives five halves of the walking speed, and five halves of 3 is 7.5 feet per second.
The surprise is in the check. The tip moves at 7.5 feet per second no matter where the person is, so the 10 feet in the question is never used. The numbers in the figure confirm it: one second later the tip has moved from 25 to 32.5 feet, exactly 7.5 further. Some related-rates answers depend on the instant, and some, like this one, do not.
Counterexample
Discussion prompt
Exercise 11 asks how fast the tip moves away from the PERSON when the person is 10 feet from the pole. Someone says the answer must depend on the 10 feet, because the question mentions it. Test the claim.
Write your answer before revealing. Exercise 11 asks a slightly different question: not how fast the tip moves away from the pole, but how fast it moves away from the person. That rate is the rate at which the shadow itself lengthens.
Since the shadow is always one and a half times the distance, it grows at one and a half times the walking speed: 4.5 feet per second. There is still no 10 in the answer. And it agrees with the last example: the tip moves at 7.5, the person at 3, and the difference, 4.5, is how fast the gap between them grows.
The claim fails because a problem's wording does not have to match the answer's structure. The 10 feet tells you which instant is meant, but when the relation between the quantities is linear, the rates do not depend on the instant at all.
Section
Part 5
Concept
A rate is positive when its quantity is increasing and negative when it is decreasing. The sign goes in when the rate is written down, in step two, and it comes back out in the answer.
| situation | rate | sign |
|---|---|---|
| funnel drains 0.03 ft³/s | dV/dt = −0.03 | negative: volume falls |
| ladder top slides down 2 ft/s | dy/dt = −2 | negative: height falls |
| balloon fills 2 cm³/s | dV/dt = 2 | positive: volume grows |
| plane flies away 600 ft/s | dx/dt = 600 | positive: distance grows |
Read the sign of your answer as a sentence. A negative depth rate says the level is falling, which a draining funnel must do.
Every rate in this lesson has a sign, and the sign means something physical. A positive rate says the quantity is growing; a negative rate says it is shrinking. The table lists the rates from this lesson's examples with their signs.
The sign enters in step two, when you translate the words into a rate. Draining, leaking, falling and approaching usually mean a decreasing quantity and so a negative rate. Filling, rising and moving away usually mean positive. Read the problem carefully: what matters is whether the quantity your letter measures is getting bigger or smaller.
Then read the sign of your answer as a sentence. The funnel's negative depth rate says the level is falling. The ladder's positive foot rate says the foot moves away from the wall. If the sentence contradicts the physical picture, a sign went wrong somewhere.
Trap
Reading 'drains at 0.03' as the rate itself:
\[ \frac{dV}{dt} = 0.03 \]
\[ \frac{dh}{dt} = \frac{0.48}{\pi} > 0 \]
Wrong: a draining funnel with a rising level.
Leaving means decreasing. Put the minus sign in when the rate is first written, and read the answer's sign back as a direction.
\[ \frac{dV}{dt} = -0.03 \]
\[ \frac{dh}{dt} = -\frac{0.48}{\pi} < 0 \]
This wrong line takes the words drains at 0.03 and writes the volume rate as plus 0.03. Every step after it is correct, and the answer comes out as a positive depth rate: a funnel that is draining while its water level rises.
The fix is in step two. The volume is decreasing, so its rate is negative, and the minus sign must be there from the start. Then the answer comes out negative on its own, meaning the level falls.
A quick sanity check catches this every time: ask whether the sign of your answer describes what actually happens. A draining funnel cannot have a rising level.
Concept
Each term of a rate equation must carry the same units. This catches a missing chain-rule factor at once.
\[ \underbrace{\frac{dV}{dt}}_{\text{ft}^3/\text{s}} = \underbrace{\frac{\pi}{4}h^2}_{\text{ft}^2}\;\underbrace{\frac{dh}{dt}}_{\text{ft/s}} \]
The factor in front of a length rate, in a volume problem, is always an area: the balloon's surface, the water's surface in the funnel. An angle's rate is in radians per unit time, and radians carry no units, so in the rocket both sides are feet per second.
Units are the fastest error detector you have in this topic. Every term of a rate equation must carry the same unit, and the braces on the slide show the funnel's equation passing the test: square feet times feet per second gives cubic feet per second.
Notice what the middle factor is: an area. That is not a coincidence. Whenever a volume rate is linked to a length rate, the factor between them is an area, because a thin layer of new volume is roughly an area times a thickness. The balloon's factor was its surface area; the funnel's is the area of the water's surface.
Angles are a special case. Radians are a ratio of an arc length to a radius, so they have no unit, and an angle rate has units of one over time. In the rocket's equation both sides therefore come out in feet per second, as they should.
Intuition
Figure (svg): The rate ds/dt equal to 600 x over the square root of x squared plus 4000 squared, plotted against the plane's horizontal distance x from 0 to 20,000 feet. It starts at 0, passes 360 at x equal to 3000, and levels off toward a dashed line at 600.
Solve Example 4.2 in letters instead of numbers and you get a formula for the distance rate at every position of the plane. Directly overhead the man it is zero; far away it approaches the plane's own speed.
\[ \frac{ds}{dt} = \frac{x}{s}\frac{dx}{dt} = \frac{600x}{\sqrt{x^2 + 4000^2}} \]
Instead of stopping at 360 feet per second, solve Example 4.2 in letters and you get a formula for the distance rate at every position of the plane. The graph plots it.
When the plane is directly over the man, the rate is zero: at that moment the plane is moving sideways to his line of sight and the distance is momentarily not changing. As the plane flies away, more and more of its motion points along the line of sight, and the rate climbs toward the plane's full speed of 600.
The value 360 is one reading on this curve. Seeing the whole curve makes sense of the number: it is between 0 and 600, closer to 600 the farther away the plane is. Solving in letters before substituting gives you this picture for free.
Intuition
Run the ladder the other way round: push the foot out at a steady speed and ask how fast the top falls. Solved in letters, the top's rate has the height y in its denominator.
\[ \frac{dy}{dt} = -\frac{x}{y}\frac{dx}{dt} \quad\text{and}\quad y \to 0 \;\Longrightarrow\; \left|\frac{dy}{dt}\right| \to \infty \]
As the top nears the ground the formula demands an infinite speed. No ladder does that: in reality the top leaves the wall before then. A rate that blows up is a sign that the model's assumption has failed, not that something physical becomes infinitely fast.
Now flip the ladder problem: push the foot out at a steady speed and ask how fast the top falls. Solving the differentiated relation for the top's rate gives x over y times the foot's speed, with y, the height of the top, in the denominator.
As the top approaches the ground, y approaches zero and the formula demands that the top fall faster and faster, without bound. No real ladder does that. What really happens is that the top stops touching the wall before it reaches the ground, and the assumption that the ladder stays against the wall stops being true.
This is a general lesson about models. A related-rates formula is only as good as the relation it came from. When a rate becomes infinite, look for the assumption that failed rather than believing the number.
Comparison
Comparison matrix
| situation | known rate | sign of the answer |
|---|---|---|
| balloon filling, find dr/dt | dV/dt = 2 | positive |
| funnel draining, find dh/dt | -0.03 | negative |
| ladder top falling, find dx/dt | dy/dt = −2 | positive |
| tank leaking, find dh/dt | -10 | negative |
| walker leaving the post, find the tip's rate | dD/dt = 3 | positive |
Fill in each blank before checking. Some blanks ask for the sign of the known rate, which is a translation of the words; others ask for the sign of the answer, which you can often predict from the picture before doing any calculus.
Filling a balloon grows the radius. A draining funnel has a volume rate of minus 0.03 and a falling level. The ladder's top falling pushes the foot outward, so the foot's rate is positive even though the known rate is negative. A leaking tank has a negative volume rate, minus 10, and a falling depth. A walker leaving the post drags the shadow's tip away, so its rate is positive.
Predicting the sign first is a free check. If your calculated answer disagrees with your prediction, one of them is wrong, and it is worth finding out which.
Real world
Figure (svg): A straight road drawn horizontally, a police car parked 30 metres off the road below its nearest point, and a car on the road 40 metres from that point, approaching. The line of sight from the police car to the car is 50 metres long.
Discussion prompt
A police radar parked 30 m from a straight road reads 24 m/s: that is the rate at which the line of sight s shrinks. The car is 40 m along the road from the nearest point. How fast is the car really going, and why does the radar read low?
Work this one out before revealing. Traffic radar measures only one thing: how fast the distance between the gun and the car is changing. When the gun sits right on the road, that is the car's speed. When it sits off to the side, it is not.
The geometry is the same as the plane: a fixed leg of 30 metres, a changing leg x along the road, and the line of sight s as the hypotenuse. At the instant, x is 40 and s is 50. The rate equation gives the car's rate as s over x times the line-of-sight rate, and fifty fortieths of minus 24 is minus 30. The minus signs mean both distances are shrinking as the car approaches.
So the car is doing 30 metres per second, about 108 kilometres per hour, while the radar reads only 24. The factor x over s is always less than one off the road, so side-on radar always reads low, never high. That is good news for drivers and one reason officers aim along the road.
Section
Part 6
Pattern
Figure (svg): A flow of five boxes left to right: draw and name, list given and wanted, relate the quantities, differentiate with respect to t, then substitute and solve. A red bracket under the first four boxes reads: every letter stays a letter. An arrow points to the last box: the instant's numbers go in only here.
This is the whole lesson in one diagram. The five boxes are the book's five steps, and the red bracket underneath is the rule that makes them work: through the first four steps, every changing quantity stays a letter.
Only true constants, such as a ladder's length, a plane's altitude or a container's proportions, may appear as numbers before step five. The values that describe the particular instant, such as a radius of 3 or a depth of one half, go in at the green arrow and nowhere earlier.
When you get stuck in step three, look for the geometry: Pythagoras for right angles, a volume formula for containers, a trigonometric ratio when an angle is involved, and similar triangles when there are more letters than rates you know.
Ranking
Put in order
Order the lines of the funnel solution.
Why: Rates and signs first, then the relation, then the elimination of r (allowed early because it holds at every instant), then the differentiation, and only then the instant's value h = 1/2.
Drag the lines into order before checking. Every line is correct; the question is only about sequence, and in this topic sequence is what separates right answers from wrong ones.
The given information and its sign come first. Then the volume formula, then the elimination of r, which may come before differentiating because the ratio of r to h holds at every instant. Then the differentiation, and only after that the substitution of the depth one half.
If you placed the one half anywhere before the differentiated line, go back to the error-analysis slide on the plane and compare: it is the same mistake.
Check
Check your understanding
In Example 4.2, when may x = 3000 be substituted?
Answer: C
Why: x equal to 3000 is true only at one instant. Substituted before differentiating, it becomes a constant with zero rate, and the plane's speed drops out of the problem. After differentiating, it is exactly what is needed to evaluate the rate at that instant.
The question is about order, which is the most important idea in the lesson. x equals 3000 describes one instant, so it goes in after differentiating.
Both of the early options freeze x and lose the plane's speed. The last option confuses the general formula with the specific answer: you may keep x as a letter to get a formula for every instant, but the question asks for a number at one particular instant, so the value has to go in eventually.
Check
Check your understanding
Air enters a sphere at 100 cm³/s. How fast is the radius growing when r = 5 cm?
Answer: A
Why: Differentiating V = (4/3)πr³ gives dV/dt = 4πr² dr/dt. At r = 5 the surface area is 100π, so dr/dt = 100/(100π) = 1/π, about 0.318 cm/s.
Differentiate the sphere formula to get the volume rate as four pi r squared times the radius rate. At a radius of 5, the surface area is 100 pi, so the radius rate is 100 over 100 pi, which is one over pi, about 0.318 centimetres per second.
Each wrong option is a specific slip. Dividing by 25 pi uses the area of a flat circle instead of the sphere's surface. Multiplying by the area inverts the relation, and a units check exposes it at once. And three over five pi comes from forgetting the chain rule's three r squared.
Check
Check your understanding
A camera 5000 ft from a pad tracks a rising rocket. The rocket's height h and the angle θ change. Which relation gives the angle rate most directly?
Answer: B
Why: The two sides you know about are the opposite side h and the fixed adjacent side 5000, so tangent links them with no hypotenuse. Differentiating h = 5000 tan θ gives dh/dt = 5000 sec²θ dθ/dt.
The known sides are the rocket's height, opposite the angle, and the fixed 5000 feet, adjacent to it. Tangent is exactly opposite over adjacent, so it relates the two quantities you care about without bringing in the hypotenuse.
Sine would work in principle, but it uses the hypotenuse, which is changing, so you would need a third letter and its rate. Cosine as written puts h in the wrong place. And Pythagoras relates three sides, not an angle, so it cannot give an angle rate at all.
Explain it to yourself
Discussion prompt
In two or three sentences: why does substituting x = 3000 before differentiating give ds/dt = 0 in Example 4.2, while substituting the altitude 4000 before differentiating is perfectly fine?
Write your explanation before revealing. If you can explain this clearly, you understand the single most important idea in related rates.
The key word is constant. Anything you write as a number before differentiating is treated as a constant, and constants have zero rate. For the altitude that is the truth, so nothing is lost. For x, it is false: x is 3000 at one instant only, and treating it as fixed silently sets the plane's speed to zero.
The equation then collapses to zero equals twice the distance times the distance rate, which forces the rate to be zero. A good explanation names both halves: why the altitude is safe, and why x is not.
Exit ticket
A pile of gravel forms a cone whose base radius is always three times its height. Gravel arrives at 10 cubic feet per minute. How fast is the height rising when the pile is 5 feet high?
Discussion prompt
Solve it with the five steps. Name the relation you use to eliminate a variable and say when you substitute h = 5.
OpenStax Calculus Volume 1, §4.1 Related Rates §4.1, p. 306 — Exercise 35
This is Exercise 35 from the section, and it combines every idea in the lesson: a volume formula, a shape relation to eliminate a letter, differentiation, and substitution at the right moment.
The base radius is always three times the height, so the volume, one third pi r squared h, becomes three pi h cubed. Differentiating gives nine pi h squared times the height rate. At a height of 5 that factor is 225 pi, and 10 over 225 pi is 2 over 45 pi, about 0.014 feet per minute.
The check is the surface-area idea once more. The factor 225 pi should be the area of the top of the pile, and a cone of height 5 has base radius 15, whose circle has area 225 pi. The pile's height grows slowly because new gravel is spread over a large area.
Recap
| problem | relation (true at every instant) | rate equation |
|---|---|---|
| balloon (Ex 4.1) | V = (4/3)πr³ | V′ = 4πr² r′ |
| plane (Ex 4.2) | x² + 4000² = s² | x x′ = s s′ |
| camera (Ex 4.3) | h = 5000 tan θ | h′ = 5000 sec²θ θ′ |
| funnel (Ex 4.4) | V = (π/12)h³, after r = h/2 | V′ = (π/4)h² h′ |
\[ \text{relate} \;\to\; \frac{d}{dt} \;\to\; \text{substitute the instant} \;\to\; \text{solve} \]
Keep changing quantities as letters until after differentiating; put signs in with the rates; check units and the direction of the answer. Next, Section 4.2 uses the derivative to approximate: linear approximations and differentials.
Stewart, Calculus: Early Transcendentals 8e, §3.9 Related Rates §3.9, pp. 245-250 — the same material in Stewart
Four examples, one method. In each, you found an equation true at every instant, differentiated it with respect to time, and only then put in the values for the particular moment. The table lists each relation and the rate equation it produced.
Three habits make the method reliable. Put signs in when you first write each rate. Keep every changing quantity as a letter until after differentiating, and use only true constants or relations like r equals h over 2 earlier. Then check your answer: its units, its sign, and, where you can, a number from a second method, such as a difference quotient or the surface-area picture.
The next section, 4.2, keeps using the derivative as a rate, but for a different purpose: approximating a function near a point by its tangent line, and estimating how errors in measurement spread through a formula.
Want this taught 1-on-1? Alexander tutors Calculus I — $55/session, free consultation.