Section 3.5 Related Rates
¶Motivating Questions
If two quantities that are related, such as the radius and volume of a spherical balloon, are both changing as implicit functions of time, how are their rates of change related? That is, how does the relationship between the values of the quantities affect the relationship between their respective derivatives with respect to time?
In most of our applications of the derivative so far, we have been interested in the instantaneous rate at which one variable, say \(y\text{,}\) changes with respect to another, say \(x\text{,}\) leading us to compute and interpret \(\frac{dy}{dx}\text{.}\) We next consider situations where several variable quantities are related, but where each quantity is implicitly a function of time, which will be represented by the variable \(t\text{.}\) Through knowing how the quantities are related, we will be interested in determining how their respective rates of change with respect to time are related.
For example, suppose that air is being pumped into a spherical balloon so that its volume increases at a constant rate of 20 cubic inches per second. Since the balloon's volume and radius are related, by knowing how fast the volume is changing, we ought to be able to discover how fast the radius is changing. We are interested in questions such as: can we determine how fast the radius of the balloon is increasing at the moment the balloon's diameter is 12 inches?
Preview Activity 3.5.1.
A spherical balloon is being inflated at a constant rate of 20 cubic inches per second. How fast is the radius of the balloon changing at the instant the balloon's diameter is 12 inches? Is the radius changing more rapidly when \(d = 12\) or when \(d = 16\text{?}\) Why?
Draw several spheres with different radii, and observe that as volume changes, the radius, diameter, and surface area of the balloon also change.
Recall that the volume of a sphere of radius \(r\) is \(V = \frac{4}{3} \pi r^3\text{.}\) Note well that in the setting of this problem, both \(V\) and \(r\) are changing as time \(t\) changes, and thus both \(V\) and \(r\) may be viewed as implicit functions of \(t\text{,}\) with respective derivatives \(\frac{dV}{dt}\) and \(\frac{dr}{dt}\text{.}\) Differentiate both sides of the equation \(V = \frac{4}{3} \pi r^3\) with respect to \(t\) (using the chain rule on the right) to find a formula for \(\frac{dV}{dt}\) that depends on both \(r\) and \(\frac{dr}{dt}\text{.}\)
At this point in the problem, by differentiating we have “related the rates” of change of \(V\) and \(r\text{.}\) Recall that we are given in the problem that the balloon is being inflated at a constant rate of 20 cubic inches per second. Is this rate the value of \(\frac{dr}{dt}\) or \(\frac{dV}{dt}\text{?}\) Why?
From part (c), we know the value of \(\frac{dV}{dt}\) at every value of \(t\text{.}\) Next, observe that when the diameter of the balloon is 12, we know the value of the radius. In the equation \(\frac{dV}{dt} = 4\pi r^2 \frac{dr}{dt}\text{,}\) substitute these values for the relevant quantities and solve for the remaining unknown quantity, which is \(\frac{dr}{dt}\text{.}\) How fast is the radius changing at the instant \(d = 12\text{?}\)
How is the situation different when \(d = 16\text{?}\) When is the radius changing more rapidly, when \(d = 12\) or when \(d = 16\text{?}\)
Subsection 3.5.1 Related Rates Problems
In problems where two or more quantities can be related to one another, and all of the variables involved are implicitly functions of time, \(t\text{,}\) we are often interested in how their rates are related; we call these related rates problems. Once we have an equation establishing the relationship among the variables, we differentiate implicitly with respect to time to find connections among the rates of change.
Example 3.5.1.
Sand is being dumped by a conveyor belt onto a pile so that the sand forms a right circular cone, as pictured in Figure 3.5.2.
As sand falls from the conveyor belt, several features of the sand pile will change: the volume of the pile will grow, the height will increase, and the radius will get bigger, too. All of these quantities are related to one another, and the rate at which each is changing is related to the rate at which sand falls from the conveyor.
We begin by identifying which variables are changing and how they are related. In this problem, we observe that the radius and height of the pile are related to its volume by the standard equation for the volume of a cone,
Viewing each of \(V\text{,}\) \(r\text{,}\) and \(h\) as functions of \(t\text{,}\) we differentiate implicitly to arrive at an equation that relates their respective rates of change. Taking the derivative of each side of the equation with respect to \(t\text{,}\) we find
On the left, \(\frac{d}{dt}[V]\) is simply \(\frac{dV}{dt}\text{.}\) On the right, the situation is more complicated, as both \(r\) and \(h\) are implicit functions of \(t\text{.}\) Hence we need the product and chain rules. We find that
(Note particularly how we are using ideas from Section 2.7 on implicit differentiation. There we found that when \(y\) is an implicit function of \(x\text{,}\) \(\frac{d}{dx}[y^2] = 2y \frac{dy}{dx}\text{.}\) The same principles are applied here when we compute \(\frac{d}{dt}[r^2] = 2r \frac{dr}{dt}\text{.}\))
The equation
relates the rates of change of \(V\text{,}\) \(h\text{,}\) and \(r\text{.}\)
If we are given sufficient additional information, we may then find the value of one or more of these rates of change at a specific point in time.
Example 3.5.3.
In the setting of Example 3.5.1, suppose we also know the following: (a) sand falls from the conveyor in such a way that the height of the pile is always half the radius, and (b) sand falls from the conveyor belt at a constant rate of 10 cubic feet per minute. How fast is the height of the sandpile changing at the moment the radius is 4 feet?
The information that the height is always half the radius tells us that for all values of \(t\text{,}\) \(h = \frac{1}{2}r\text{.}\) Differentiating with respect to \(t\text{,}\) it follows that \(\frac{dh}{dt} = \frac{1}{2} \frac{dr}{dt}\text{.}\) These relationships enable us to relate \(\frac{dV}{dt}\) to just one of \(r\) or \(h\text{.}\) Substituting the expressions involving \(r\) and \(\frac{dr}{dt}\) for \(h\) and \(\frac{dh}{dt}\text{,}\) we now have that
Since sand falls from the conveyor at the constant rate of 10 cubic feet per minute, the value of \(\frac{dV}{dt}\text{,}\) the rate at which the volume of the sand pile changes, is \(\frac{dV}{dt} = 10\) ft\(^3\)/min. We are interested in how fast the height of the pile is changing at the instant when \(r = 4\text{,}\) so we substitute \(r = 4\) and \(\frac{dV}{dt} = 10\) into Equation (3.5.1), to find
Only the value of \(\left. \frac{dr}{dt} \right_{r=4}\) remains unknown. We combine like terms on the right side of the equation above to get \(10 = 8 \pi \left. \frac{dr}{dt} \right_{r=4}\text{,}\) and solve for \(\left. \frac{dr}{dt} \right_{r=4}\) to find
feet per second. Because we were interested in how fast the height of the pile was changing at this instant, we want to know \(\frac{dh}{dt}\) when \(r = 4\text{.}\) Since \(\frac{dh}{dt} = \frac{1}{2} \frac{dr}{dt}\) for all values of \(t\text{,}\) it follows
Note the difference between the notations \(\frac{dr}{dt}\) and \(\left. \frac{dr}{dt} \right_{r=4}\text{.}\) The former represents the rate of change of \(r\) with respect to \(t\) at an arbitrary value of \(t\text{,}\) while the latter is the rate of change of \(r\) with respect to \(t\) at a particular moment, the moment when \(r = 4\text{.}\)
Had we known that \(h = \frac{1}{2}r\) at the beginning of Example 3.5.1, we could have immediately simplified our work by writing \(V\) solely in terms of \(r\) to have
From this last equation, differentiating with respect to \(t\) implies
from which the same conclusions can be made.
Our work with the sandpile problem above is similar in many ways to our approach in Preview Activity 3.5.1, and these steps are typical of most related rates problems. In certain ways, they also resemble work we do in applied optimization problems, and here we summarize the main approach for consideration in subsequent problems.
Note 3.5.4.
Identify the quantities in the problem that are changing and choose clearly defined variable names for them. Draw one or more figures that clearly represent the situation.
Determine all rates of change that are known or given and identify the rate(s) of change to be found.
Find an equation that relates the variables whose rates of change are known to those variables whose rates of change are to be found.
Differentiate implicitly with respect to \(t\) to relate the rates of change of the involved quantities.
Evaluate the derivatives and variables at the information relevant to the instant at which a certain rate of change is sought. Use proper notation to identify when a derivative is being evaluated at a particular instant, such as \(\left. \frac{dr}{dt} \right_{r=4}\text{.}\)
When identifying variables and drawing a picture, it is important to think about the dynamic ways in which the quantities change. Sometimes a sequence of pictures can be helpful; for some pictures that can be easily modified as applets built in Geogebra, see the following links,^{ 1 }We again refer to the work of Prof. Marc Renault of Shippensburg University, found at http://gvsu.edu/s/5p. which represent
how a circular oil slick's area grows as its radius increases http://gvsu.edu/s/9n;
how the location of the base of a ladder and its height along a wall change as the ladder slides http://gvsu.edu/s/9o;
how the water level changes in a conical tank as it fills with water at a constant rate http://gvsu.edu/s/9p (compare the problem in Activity 3.5.2);
how a skateboarder's shadow changes as he moves past a lamppost http://gvsu.edu/s/9q.
Drawing welllabeled diagrams and envisioning how different parts of the figure change is a key part of understanding related rates problems and being successful at solving them.
Activity 3.5.2.
A water tank has the shape of an inverted circular cone (point down) with a base of radius 6 feet and a depth of 8 feet. Suppose that water is being pumped into the tank at a constant instantaneous rate of 4 cubic feet per minute.
Draw a picture of the conical tank, including a sketch of the water level at a point in time when the tank is not yet full. Introduce variables that measure the radius of the water's surface and the water's depth in the tank, and label them on your figure.
Say that \(r\) is the radius and \(h\) the depth of the water at a given time, \(t\text{.}\) What equation relates the radius and height of the water, and why?
Determine an equation that relates the volume of water in the tank at time \(t\) to the depth \(h\) of the water at that time.
Through differentiation, find an equation that relates the instantaneous rate of change of water volume with respect to time to the instantaneous rate of change of water depth at time \(t\text{.}\)
Find the instantaneous rate at which the water level is rising when the water in the tank is 3 feet deep.
When is the water rising most rapidly: at \(h = 3\text{,}\) \(h = 4\text{,}\) or \(h = 5\text{?}\)
Recognizing which geometric relationships are relevant in a given problem is often the key to finding the function to optimize. For instance, although the problem in Activity 3.5.2 is about a conical tank, the most important fact is that there are two similar right triangles involved. In another setting, we might use the Pythagorean Theorem to relate the legs of the triangle. But in the conical tank, the fact that the water fills the tank so that that the ratio of radius to depth is constant turns out to be the important relationship. In other situations where a changing angle is involved, trigonometric functions may provide the means to find relationships among various parts of the triangle.
Activity 3.5.3.
A television camera is positioned 4000 feet from the base of a rocket launching pad. The angle of elevation of the camera has to change at the correct rate in order to keep the rocket in sight. In addition, the autofocus of the camera has to take into account the increasing distance between the camera and the rocket. We assume that the rocket rises vertically. (A similar problem is discussed and pictured dynamically at http://gvsu.edu/s/9t. Exploring the applet at the link will be helpful to you in answering the questions that follow.)
Draw a figure that summarizes the given situation. What parts of the picture are changing? What parts are constant? Introduce appropriate variables to represent the quantities that are changing.
Find an equation that relates the camera's angle of elevation to the height of the rocket, and then find an equation that relates the instantaneous rate of change of the camera's elevation angle to the instantaneous rate of change of the rocket's height (where all rates of change are with respect to time).
Find an equation that relates the distance from the camera to the rocket to the rocket's height, as well as an equation that relates the instantaneous rate of change of distance from the camera to the rocket to the instantaneous rate of change of the rocket's height (where all rates of change are with respect to time).
Suppose that the rocket's speed is 600 ft/sec at the instant it has risen 3000 feet. How fast is the distance from the television camera to the rocket changing at that moment? If the camera is following the rocket, how fast is the camera's angle of elevation changing at that same moment?
If from an elevation of 3000 feet onward the rocket continues to rise at 600 feet/sec, will the rate of change of distance with respect to time be greater when the elevation is 4000 feet than it was at 3000 feet, or less? Why?
In addition to finding instantaneous rates of change at particular points in time, we can often make more general observations about how particular rates themselves will change over time. For instance, when a conical tank is filling with water at a constant rate, it seems obvious that the depth of the water should increase more slowly over time. Note how carefully we must phrase the relationship: we mean to say that while the depth, \(h\text{,}\) of the water is increasing, its rate of change, \(\frac{dh}{dt}\text{,}\) is decreasing (both as a function of \(t\) and as a function of \(h\)). We make this observation by solving the equation that relates the various rates for one particular rate, without substituting any particular values for known variables or rates. For instance, in the conical tank problem in Activity 3.5.2, we established that
and hence
Provided that \(\frac{dV}{dt}\) is constant, it is immediately apparent that as \(h\) gets larger, \(\frac{dh}{dt}\) will get smaller but remain positive. Hence, the depth of the water is increasing at a decreasing rate.
Activity 3.5.4.
As pictured in the applet at http://gvsu.edu/s/9q, a skateboarder who is 6 feet tall rides under a 15 foot tall lamppost at a constant rate of 3 feet per second. We are interested in understanding how fast his shadow is changing at various points in time.
Draw an appropriate right triangle that represents a snapshot in time of the skateboarder, lamppost, and his shadow. Let \(x\) denote the horizontal distance from the base of the lamppost to the skateboarder and \(s\) represent the length of his shadow. Label these quantities, as well as the skateboarder's height and the lamppost's height on the diagram.
Observe that the skateboarder and the lamppost represent parallel line segments in the diagram, and thus similar triangles are present. Use similar triangles to establish an equation that relates \(x\) and \(s\text{.}\)
Use your work in (b) to find an equation that relates \(\frac{dx}{dt}\) and \(\frac{ds}{dt}\text{.}\)
At what rate is the length of the skateboarder's shadow increasing at the instant the skateboarder is 8 feet from the lamppost?
As the skateboarder's distance from the lamppost increases, is his shadow's length increasing at an increasing rate, increasing at a decreasing rate, or increasing at a constant rate?
Which is moving more rapidly: the skateboarder or the tip of his shadow? Explain, and justify your answer.
In the first three activities of this section, we provided guided instruction to build a solution in a step by step way. For the closing activity and the following exercises, most of the detailed work is left to the reader.
Activity 3.5.5.
A baseball diamond is \(90'\) square. A batter hits a ball along the third base line and runs to first base. At what rate is the distance between the ball and first base changing when the ball is halfway to third base, if at that instant the ball is traveling \(100\) feet/sec? At what rate is the distance between the ball and the runner changing at the same instant, if at the same instant the runner is \(1/8\) of the way to first base running at \(30\) feet/sec?
Subsection 3.5.2 Summary

When two or more related quantities are changing as implicit functions of time, their rates of change can be related by implicitly differentiating the equation that relates the quantities themselves. For instance, if the sides of a right triangle are all changing as functions of time, say having lengths \(x\text{,}\) \(y\text{,}\) and \(z\text{,}\) then these quantities are related by the Pythagorean Theorem: \(x^2 + y^2 = z^2\text{.}\) It follows by implicitly differentiating with respect to \(t\) that their rates are related by the equation
\begin{equation*} 2x \frac{dx}{dt} + 2y\frac{dy}{dt} = 2z \frac{dz}{dt}\text{,} \end{equation*}so that if we know the values of \(x\text{,}\) \(y\text{,}\) and \(z\) at a particular time, as well as two of the three rates, we can deduce the value of the third.
Exercises 3.5.3 Exercises
¶1. Height of a conical pile of gravel.
2. Movement of a shadow.
3. A leaking conical tank.
4.
A sailboat is sitting at rest near its dock. A rope attached to the bow of the boat is drawn in over a pulley that stands on a post on the end of the dock that is 5 feet higher than the bow. If the rope is being pulled in at a rate of 2 feet per second, how fast is the boat approaching the dock when the length of rope from bow to pulley is 13 feet?
5.
A swimming pool is \(60\) feet long and \(25\) feet wide. Its depth varies uniformly from \(3\) feet at the shallow end to \(15\) feet at the deep end, as shown in the Figure 3.5.5.
Suppose the pool has been emptied and is now being filled with water at a rate of \(800\) cubic feet per minute. At what rate is the depth of water (measured at the deepest point of the pool) increasing when it is \(5\) feet deep at that end? Over time, describe how the depth of the water will increase: at an increasing rate, at a decreasing rate, or at a constant rate. Explain.
6.
A baseball diamond is a square with sides \(90\) feet long. Suppose a baseball player is advancing from second to third base at the rate of \(24\) feet per second, and an umpire is standing on home plate. Let \(\theta\) be the angle between the third baseline and the line of sight from the umpire to the runner. How fast is \(\theta\) changing when the runner is \(30\) feet from third base?
7.
Sand is being dumped off a conveyor belt onto a pile in such a way that the pile forms in the shape of a cone whose radius is always equal to its height. Assuming that the sand is being dumped at a rate of \(10\) cubic feet per minute, how fast is the height of the pile changing when there are \(1000\) cubic feet on the pile?