Skip to main content
Mathematics LibreTexts

3.5: Related Rates

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives

    In this section, we strive to understand the ideas generated by the following important 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 worked in settings where one quantity (often called \(y\)) depends explicitly on another (say \(x\)), and in some way we have been interested in the instantaneous rate at which \(y\) changes with respect to x, leading us to compute \(\dfrac{dy}{dx}\). These settings emphasize how the derivative enables us to quantify how the quantity \(y\) is changing as \(x\) changes at a given \(x\)-value. We are next going to consider situations where multiple quantities are related to one another and changing, but where each quantity can be considered an implicit function of the variable \(t\), which represents time. 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 in such a way that its volume increases at a constant rate of 20 cubic inches per second. It makes sense that since the balloon’s volume and radius are related, by knowing how fast the volume is changing, we ought to be able to relate this rate to how fast the radius is changing. More specifically, can we find how fast the radius of the balloon is increasing at the moment the balloon’s diameter is 12 inches? The following preview activity leads you through the steps to answer this question.

    Preview Activity \(\PageIndex{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\)? Why?

    1. Draw several spheres with different radii, and observe that as volume changes, the radius, diameter, and surface area of the balloon also change.
    2. Recall that the volume of a sphere of radius \(r\) is \[V = \dfrac{4}{3} \pi r^3. \label{eq1}\]Note well that in the setting of this problem, both \(V\) and \(r\) are changing as time \( t\) changes, and thus 198 both \(V\) and \(r\) may be viewed as implicit functions of \(t\), with respective derivatives \(\dfrac{dV}{dt}\) and \(\dfrac{dr}{dt}\). Differentiate both sides of Equation \ref{eq1} with respect to \(t\) (using the chain rule on the right) to find a formula for \(dV\) dt that depends on both \(r\) and \(\dfrac{dr}{dt}\).
    3. At this point in the problem, by differentiating we have “related the rates” of change of \(V\) and \(r\). 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 \(\dfrac{dr}{dt}\) or \(\dfrac{dV}{dt}\)? Why?
    4. From part (c), we know the value of \(\dfrac{dV}{dt}\) at every value of \(t\). Next, observe that when the diameter of the balloon is 12, we know the value of the radius. In the equation \[\dfrac{dV}{dt} = 4\pi r^2 \dfrac{dr}{dt}, \nonumber\] substitute these values for the relevant quantities and solve for the remaining unknown quantity, which is dr dt . How fast is the radius changing at the instant \(d = 12\)?
    5. How is the situation different when \(d = 16\)? When is the radius changing more rapidly, when \(d = 12\) or when \(d = 16\)?

    Related Rates Problems

    In problems where two or more quantities can be related to one another, and all of the variables involved can be viewed as implicit functions of time, \(t\), we are often interested in how the rates of change of the individual quantities with respect to time are themselves related; we call these related rates problems. Often these problems involve identifying one or more key underlying geometric relationships to relate the variables involved. Once we have an equation establishing the fundamental relationship among variables, we differentiate implicitly with respect to time to find connections among the rates of change.

    For example, consider the situation where sand is being dumped by a conveyor belt on a pile so that the sand forms a right circular cone, as pictured in Figure \(\PageIndex{1}\). As sand falls from the conveyor belt onto the top of the pile, obviously 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.


    Figure \(\PageIndex{1}\): A conical pile of sand.

    The first key steps in any related rates problem involve identifying which variables are changing and how they are related. In the current problem involving a conical pile of sand, we observe that the radius and height of the pile are related to the volume of the pile by the standard equation for the volume of a cone,

    \[V = \dfrac{1}{3} \pi r^2 h.\]

    Viewing each of \(V\), \(r\), and \(h\) as functions of \(t\), we can differentiate implicitly to determine an equation that relates their respective rates of change. Taking the derivative of each side of the equation with respect to t,

    \[\dfrac{d}{dt} [V] = \dfrac{d}{dt} \left[ \dfrac{ 1}{3} \pi r^2 h \right] .\]

    On the left, \(\dfrac{d}{dt}[V]\) is simply \(\dfrac{dV}{dt}\). On the right, the situation is more complicated, as both \(r\) and \(h\) are implicit functions of \(t\), hence we have to use the product and chain rules. Doing so, we find that

    \[ \begin{align} \dfrac{dV}{dt} & = \dfrac{d}{dt} \left[ \dfrac{ 1}{ 3} \pi r^2 h \right] \\ &= \dfrac{1}{ 3} \pi r^2 \dfrac{d}{dt} [h] + \dfrac{1}{3} \pi h \dfrac{d}{dt} \left[r^2 \right] \\ & = \dfrac{1}{3} \pi r^2 \dfrac{dh}{dt} + \dfrac{1}{3} \pi h^2 r \dfrac{ dr}{ dt} \end{align}\]

    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\),

    \[\dfrac{d}{dx} \left[y^2 \right] = 2y \dfrac{ dy}{ dx} .\]

    The exact same thing is occurring here when we compute

    \[\dfrac{d}{ dt} \left[r^2 \right] = 2r \dfrac{dr}{dt} .\]

    With our arrival at the equation

    \[\dfrac{dV}{dt} = \dfrac{1}{3} \pi r^2 \dfrac{dh}{dt} + \dfrac{2}{3} \pi r h \dfrac{dr}{dt} , \]

    we have now related the rates of change of \(V\), \(h\), and \(r\). If we are given sufficient information, we may then find the value of one or more of these rates of change at one or more points in time. Say, for instance, that we know the following:

    1. sand falls from the conveyor in such a way that the height of the pile is always half the radius, and
    2. sand falls from the conveyor belt at a constant rate of 10 cubic feet per minute.

    With this information given, we can answer questions such as: 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\), \(h = \dfrac{1}{2} r\). Differentiating with respect to \(t\), it follows that

    \[\dfrac{dh}{dt} = \dfrac{1}{2} \dfrac{ dr}{dt} .\]

    These relationships enable us to relate \(\dfrac{dV}{dt}\) exclusively to just one of \(r\) or \(h\). Substituting the expressions involving \(r\) and \(\dfrac{dr}{dt}\) for \(h\) and \(\dfrac{dh}{dt}\), we now have that

    \[ \dfrac{dV}{dt} = \dfrac{1}{3} \pi r^2 · \dfrac{1}{2} \dfrac{dr}{dt} + \dfrac{2}{3} \pi r · \dfrac{1}{2} r · \dfrac{dr}{dt}. \label{3.1}\]

    Since sand falls from the conveyor at the constant rate of 10 cubic feet per minute, this tells us the value of \(\dfrac{dV}{dt}\), the rate at which the volume of the sand pile changes. In particular, \(\dfrac{dV}{dt} = 10\, ft^3 /min\). Furthermore, since we are interested in how fast the height of the pile is changing at the instant \(r = 4\), we use the value \(r = 4\) along with \(\dfrac{dV}{dt} = 10\) in Equation \ref{3.1}, and hence find that

    \[10 = \dfrac{1}{3} \pi 4^2 · \left. \dfrac{1}{2} \dfrac{dr}{dt} \right|_{r = 4} + \left. \dfrac{2}{3} \pi 4 · \dfrac{1}{2} 4 · \dfrac{dr}{dt} \right|_{r=4} = \left.\dfrac{8}{3} \pi \dfrac{dr}{dt} \right|_{r=4} + \left. \dfrac{16}{3} \pi \dfrac{dr}{dt} \right|_{r=4}. \label{eq5}\]

    With only the value of \(\left. \dfrac{dr}{dt} \right|_{r=4}\) remaining unknown, we solve Equation \ref{eq5} for \(\left. \dfrac{dr}{dt} \right|_{r=4}\) and find that

    \[10 = 8\pi \left. \dfrac{dr}{dt} \right|_{r=4}\]

    so that

    \[\left. \dfrac{dr}{dt} \right|_{r=4} = \dfrac{10}{8 \pi} \approx 0.39789 \, \text{feet per second}.\]

    Because we were interested in how fast the height of the pile was changing at this instant, we want to know \(\dfrac{dh}{dt}\) when \(r = 4\). Since \(\dfrac{dh}{dt} = \dfrac{1}{2} \dfrac{dr}{dt}\) for all values of \(t\), it follows that

    \[\left. \dfrac{dh}{dt} \right|_{r=4} = \dfrac{5}{8 \pi} \approx 0.19894 \, \text{feet per second}.\]

    Note particularly how we distinguish between the notations \(\dfrac{dr}{dt}\) and \(\left. \dfrac{dr}{dt} \right|_{r=4}\). The former represents the rate of change of \(r\) with respect to \(t\) at an arbitrary value of \(t\), while the latter is the rate of change of \(r\) with respect to \(t\) at a particular moment, in fact the moment \(r = 4\). While we do not know the exact value of \(t\), because information is provided about the value of \(r\), it is important to distinguish that we are using this more specific data.

    The relationship between \(h\) and \(r\), with \(h = \dfrac{1}{2} r\) for all values of \(t\), enables us to transition easily between questions involving \(r\) and \(h\). Indeed, had we known this information at the problem’s outset, we could have immediately simplified our work. Using \(h = \dfrac{1}{2} r\), it follows that since \(V = \dfrac{1}{3} \pi r^2h\), we can write \(V\) solely in terms of \(r\) to have

    \[V = \dfrac{1}{3} \pi r^2 \left( \dfrac{1}{2} h \right) = \dfrac{1}{6} \pi r^3. \label{eq10}\]

    Differentiating Equation \ref{eq10} with respect to \(t\) implies

    \[\dfrac{dV}{dt} = \dfrac{1}{2} \pi r^2 \dfrac{dr}{dt},\]

    from which the same conclusions made earlier about \(\dfrac{dr}{dt}\) and \(\dfrac{dh}{dt}\) can be made.

    Our work with the sandpile problem above is similar in many ways to our approach in Preview Activity \(\PageIndex{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.

    • 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. \dfrac{dr}{dt}\right|_{r=4}\). In the first step of identifying changing quantities and drawing a picture, it is important to think about the dynamic ways in which the involved quantities change. Sometimes a sequence of pictures can be helpful; for some already-drawn pictures that can be easily modified as applets built in Geogebra, see the following links2 which represent
    • how a circular oil slick’s area grows as its radius increases;
    • how the location of the base of a ladder and its height along a wall change as the ladder slides;
    • how the water level changes in a conical tank as it fills with water at a constant rate (compare the problem in Activity \(\PageIndex{2}\));
    • how a skateboarder’s shadow changes as he moves past a lamppost 2We again refer to the work of Prof. Marc Renault of Shippensburg University, found at 202 Drawing well-labeled 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 \(\PageIndex{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.

    1. 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.
    2. Say that \(r\) is the radius and \(h\) the depth of the water at a given time, \(t\). What equation relates the radius and height of the water, and why?
    3. 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.
    4. 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\).
    5. Find the instantaneous rate at which the water level is rising when the water in the tank is 3 feet deep.
    6. When is the water rising most rapidly: at \(h = 3\), \(h = 4\), or \(h = 5\)?

    Recognizing familiar geometric configurations is one way that we relate the changing quantities in a given problem. For instance, while the problem in Activity \(\PageIndex{2}\) is centered on a conical tank, one of the most important observations is that there are two key right triangles present. In another setting, a right triangle might be indicative of an opportunity to take advantage of the Pythagorean Theorem to relate the legs of the triangle. But in the conical tank, the fact that the water at any time fills a portion of the tank in such a way that the ratio of radius to depth is constant turns out to be the most important relationship with which to work. That enables us to write r in terms of h and reduce the overall problem to one that involves only one variable, where the volume of water depends simply on h, and hence to subsequently relate \(\dfrac{dV}{dt}\) and \(\dfrac{dh}{dt}\). In other situations where a changing angle is involved, a right triangle may offer the opportunity to find relationships among various parts of the triangle using trigonometric functions.

    Activity \(\PageIndex{3}\): Television Camera

    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 auto-focus of the camera has to take into 203 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 Exploring the applet at the link will be helpful to you in answering the questions that follow.)

    1. 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.
    2. 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).
    3. 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).
    4. 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?
    5. 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 being able to find instantaneous rates of change at particular points in time, we are often able to make more general observations about how particular rates themselves will change over time. For instance, when a conical tank (point down) is filling with water at a constant rate, we naturally intuit that the depth of the water should increase more slowly over time. Note how carefully we need to speak: we mean to say that while the depth, \(h\), of the water is increasing, its rate of change \(\dfrac{dh}{dt}\) is decreasing (both as a function of \(t\) and as a function of \(h\)). These observations may often be made by taking the general equation that relates the various rates and solving for one of them, and doing this without substituting any particular values for known variables or rates. For instance, in the conical tank problem in Activity \(\PageIndex{2}\), we established that

    \[\dfrac{dV}{dt} = \dfrac{1}{16} \pi h^2 \dfrac{dh}{dt}, \]

    and hence

    \[\dfrac{dh}{dt} = 16 \pi h^2 \dfrac{dV}{dt}\]

    Provided that \(\dfrac{dV}{dt}\) is constant, it is immediately apparent that as h gets larger, dh dt will get smaller, while always remaining positive. Hence, the depth of the water is increasing at a decreasing rate.

    Activity \(\PageIndex{4}\): Skateboarding

    As pictured in the applet at, 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.

    1. 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.
    2. 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.
    3. Use your work in (b) to find an equation that relates \(\dfrac{dx}{dt}\) and \(\dfrac{ds}{dt}\).
    4. At what rate is the length of the skateboarder’s shadow increasing at the instant the skateboarder is 8 feet from the lamppost?
    5. 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?
    6. Which is moving more rapidly: the skateboarder or the tip of his shadow? Explain, and justify your answer.

    As we progress further into related rates problems, less direction will be provided. In the first three activities of this section, we have been provided with 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 \(\PageIndex{5}\): Baseball

    A baseball diamond is 900 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?


    In this section, we encountered the following important ideas:

    • 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, y, and z, then these quantities are related by the Pythagorean Theorem: x 2 + y 2 = z 2 . It follows by implicitly differentiating with respect to t that their rates are related by the equation 2x dx dt + 2y dy dt = 2z dz dt , so that if we know the values of x, y, and z at a particular time, as well as two of the three rates, we can deduce the value of the third.

    This page titled 3.5: Related Rates is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Matthew Boelkins, David Austin & Steven Schlicker (ScholarWorks @Grand Valley State University) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?