We begin our application of derivatives with the exceedingly useful technique of related rates.
When two or more quantities are related in some way, one can depend on the other, or both depend on some other quantity.
From these related quantities, we can find related rates.
Example
A spherical balloon is being filled with air at the constant rate of $2$ cm3/sec. How fast is the radius increasing when the radius is $3$ cm?

Volume and radius are two quantities which vary with one another; both vary with respect to time.
Although we won't solve this problem here, you may find this example on page 342 of the course textbook.
Example
A brush fire is burning in an approximately circular shape as seen below. If the radius of the burned area is $2.3$ miles, and the edge of the fire is proceeding at $0.5$ miles per hour, what is the rate at which the burned area is increasing?


Area and radius vary with one another; both vary with respect to time.
We first consider the the formula which relates the area of a circle $A$ to the radius $r:$
$$
A=\pi r^2.
$$
Thinking of $A$ and $r$ explicitly as functions of time, we could also write
$A(t)=\pi r(t)^2.$
However, for the sake of simpler notation, let's stick with the first equation above.
We differentiate both sides with respect to time $t:$
$$
\begin{array}{lll}
&A=\pi r^2&\\
\implies & \displaystyle \frac{d}{dt}A=\frac{d}{dt}(\pi r^2)&\mbox{differentiate both sides with respect to $t$}\\
\implies & \displaystyle \frac{dA}{dt}=\pi \frac{d}{dt}r^2&\mbox{}\\
\implies & \displaystyle \frac{dA}{dt}=\pi \cdot 2r\frac{dr}{dt}&\mbox{by the Chain Rule}\\
\implies & \displaystyle \frac{dA}{dt}=2\pi r\frac{dr}{dt}&\mbox{}\\
\end{array}
$$
The above relates the rate at which the area is increasing to the rate at which the radius is increasing.
Thus, plugging in the known information we may find the rate at which $A$ is changing: $$\frac{dA}{dt}=2 \pi r\frac{dr}{dt}=2 \pi \cdot 2.3 \cdot 0.5\approx 7.23.$$ That is, at the moment described above, the burn area is increasing by about $7.23$ square miles per hour.
Thus, plugging in the known information we may find the rate at which $A$ is changing: $$\frac{dA}{dt}=2 \pi r\frac{dr}{dt}=2 \pi \cdot 2.3 \cdot 0.5\approx 7.23.$$ That is, at the moment described above, the burn area is increasing by about $7.23$ square miles per hour.
Strategy for Related Rates Problems
Step 1. Assign symbols to all variables involved in the problem. Draw a figure if applicable.
Step 2. State, in terms of the variables, the information that is given and the rate to be determined.
Step 3. Find an equation relating the variables introduced in Step 1.
Step 4. Using the chain rule, differentiate both sides of the equation found in Step 3 with respect to the independent variable. This new equation will relate the derivatives.
Step 5. Substitute all known values into the equation from Step 4, then solve for the unknown rate of change
Example
A $5.3$ foot tall person running at night casts a shadow from a lamppost which is $11$ feet tall.

If the person is $13$ feet away from the lamppost and running at a speed of $17$ feet per second, how fast is the tip of the shadow moving away from the runner?
Step 1: Let $x$ be the runner's distance from the lamppost, and let $s$ be the length of the runner's shadow.
Step 2: The information we're given is $x=13$ feet, and $\displaystyle\frac{dx}{dt}=17$ feet per second. We want to find $\displaystyle\frac{dx}{dt}.$
Step 3: From the picture, we may relate $x$ and $s$ by using similar triangles: $$\frac{x+s}{11}=\frac{s}{5.3}$$ We may simplify the above: $$ \begin{array}{lll} &\displaystyle \frac{x+s}{11}=\frac{s}{5.3}&\\ \implies & \displaystyle 5.3(x+s)=11s &\mbox{}\\ \implies & 5.3x+5.3s=11s &\mbox{}\\ \implies & 5.3x=5.7s &\mbox{}\\ \end{array} $$ Thus, $x$ and $s$ are related more simply by $5.3x=5.7s.$ Step 4: We now differentiate both sides of the equation from Step 3: $$ \begin{array}{lll} & 5.3x=5.7s &\mbox{}\\ \implies & \displaystyle \frac{d}{dt}(5.3x)=\frac{d}{dt}(5.7s) &\mbox{}\\ \implies & \displaystyle 5.3\frac{dx}{dt}=5.7\frac{ds}{dt} &\mbox{}\\ \end{array} $$ Step 5: We now plug in all the known information given in Step 2: $$ \begin{array}{lll} & \displaystyle 5.3\frac{dx}{dt}=5.7\frac{ds}{dt} &\mbox{}\\ \implies & \displaystyle 5.3 \cdot 17=5.7\frac{ds}{dt} &\mbox{recall from Step 2 that $\displaystyle\frac{dx}{dt}=17$}\\ \implies & \displaystyle \frac{5.3 \cdot 17}{5.7}=\frac{ds}{dt} &\mbox{}\\ \end{array} $$ Thus, $\displaystyle \frac{ds}{dt}\approx 15.81.$
That is, the tip of the runner's shadow is moving away from them at a rate of about $15.81$ feet per second.

Step 2: The information we're given is $x=13$ feet, and $\displaystyle\frac{dx}{dt}=17$ feet per second. We want to find $\displaystyle\frac{dx}{dt}.$
Step 3: From the picture, we may relate $x$ and $s$ by using similar triangles: $$\frac{x+s}{11}=\frac{s}{5.3}$$ We may simplify the above: $$ \begin{array}{lll} &\displaystyle \frac{x+s}{11}=\frac{s}{5.3}&\\ \implies & \displaystyle 5.3(x+s)=11s &\mbox{}\\ \implies & 5.3x+5.3s=11s &\mbox{}\\ \implies & 5.3x=5.7s &\mbox{}\\ \end{array} $$ Thus, $x$ and $s$ are related more simply by $5.3x=5.7s.$ Step 4: We now differentiate both sides of the equation from Step 3: $$ \begin{array}{lll} & 5.3x=5.7s &\mbox{}\\ \implies & \displaystyle \frac{d}{dt}(5.3x)=\frac{d}{dt}(5.7s) &\mbox{}\\ \implies & \displaystyle 5.3\frac{dx}{dt}=5.7\frac{ds}{dt} &\mbox{}\\ \end{array} $$ Step 5: We now plug in all the known information given in Step 2: $$ \begin{array}{lll} & \displaystyle 5.3\frac{dx}{dt}=5.7\frac{ds}{dt} &\mbox{}\\ \implies & \displaystyle 5.3 \cdot 17=5.7\frac{ds}{dt} &\mbox{recall from Step 2 that $\displaystyle\frac{dx}{dt}=17$}\\ \implies & \displaystyle \frac{5.3 \cdot 17}{5.7}=\frac{ds}{dt} &\mbox{}\\ \end{array} $$ Thus, $\displaystyle \frac{ds}{dt}\approx 15.81.$
That is, the tip of the runner's shadow is moving away from them at a rate of about $15.81$ feet per second.
Example
Water is draining from the bottom of a cone-shaped funnel at the rate of $0.03$ ft3/sec. The height of the funnel is $2$ ft and the radius at the top of the funnel is $1$ ft. At what rate is the height of the water in the funnel changing when the height of the water is $\displaystyle \frac{1}{4}$ ft?

Step 1: The figure is drawn for us. We see that the volume $V,$ the height $h$ of the water, and the radius $r$ at the water's surface all vary with time.
Step 2: We are given that $\displaystyle \frac{dV}{dt}=-0.03$ cubic feet per second. We also know that the overall height and radius of the funnel are $2$ feet and $1$ foot. We are looking to find $\displaystyle \frac{dh}{dt}$ when $h=0.25$ feet.
Step 3: The formula for the volume of a cone relates all three variable given in Step 2: $\displaystyle V=\frac{1}{3}\pi r^2 h.$
We also know how $r$ and $h$ are related by similar triangles: $\displaystyle \frac{r}{h}=\frac{1}{2}.$
From this we have that $\displaystyle r=\frac{1}{2}h$ so that we may simplify our volume formula: $$ \begin{array}{lll} & \displaystyle V=\displaystyle \frac{1}{3}\pi \left(\frac{1}{2}h\right)^2 h &\mbox{}\\ \implies & \displaystyle V=\frac{1}{3}\pi \cdot\frac{1}{4}h^2 \cdot h &\mbox{}\\ \implies & \displaystyle V=\frac{\pi}{12}h^3 &\mbox{}\\ \end{array} $$ Step 4: We now differentiate both sides of the resulting equation with respect to $t:$ $$ \begin{array}{lll} & \displaystyle V=\frac{\pi}{12}h^3 &\mbox{}\\ \implies & \displaystyle \frac{d}{dt}V=\frac{d}{dt}\left(\frac{\pi}{12}h^3\right) &\mbox{}\\ \implies & \displaystyle \frac{dV}{dt}=\frac{\pi}{12}\frac{d}{dt}h^3 &\mbox{}\\ \implies & \displaystyle \frac{dV}{dt}=\frac{\pi}{12}\cdot 3h^2\frac{dh}{dt} &\mbox{by the Chain Rule}\\ \implies & \displaystyle \frac{dV}{dt}=\frac{\pi}{4}h^2\frac{dh}{dt} &\mbox{}\\ \end{array} $$ Step 5: We now plug in the known information and solve for $\displaystyle \frac{dh}{dt}:$ $$ \begin{array}{lll} & \displaystyle \frac{dV}{dt}=\frac{\pi}{4}h^2\frac{dh}{dt} &\mbox{}\\ \implies & \displaystyle -0.03=\frac{\pi}{4}(0.25)^2\frac{dh}{dt} &\mbox{from Step 2, $\frac{dV}{dt}=-0.03$ and $h=0.25$}\\ \implies & \displaystyle \frac{-0.03}{\frac{\pi}{4}(0.25)^2}=\frac{dh}{dt} &\mbox{solving for $\frac{dh}{dt}$}\\ \implies & \displaystyle \frac{dh}{dt}=\frac{-0.03\cdot 4}{\pi(0.25)^2} &\mbox{}\\ \implies & \displaystyle \frac{dh}{dt}\approx -0.61 &\mbox{}\\ \end{array} $$ We interpret the above to mean that at the moment in question, the height of the water will be decreasing by about $0.61$ feet per second.
Step 2: We are given that $\displaystyle \frac{dV}{dt}=-0.03$ cubic feet per second. We also know that the overall height and radius of the funnel are $2$ feet and $1$ foot. We are looking to find $\displaystyle \frac{dh}{dt}$ when $h=0.25$ feet.
Step 3: The formula for the volume of a cone relates all three variable given in Step 2: $\displaystyle V=\frac{1}{3}\pi r^2 h.$
We also know how $r$ and $h$ are related by similar triangles: $\displaystyle \frac{r}{h}=\frac{1}{2}.$
From this we have that $\displaystyle r=\frac{1}{2}h$ so that we may simplify our volume formula: $$ \begin{array}{lll} & \displaystyle V=\displaystyle \frac{1}{3}\pi \left(\frac{1}{2}h\right)^2 h &\mbox{}\\ \implies & \displaystyle V=\frac{1}{3}\pi \cdot\frac{1}{4}h^2 \cdot h &\mbox{}\\ \implies & \displaystyle V=\frac{\pi}{12}h^3 &\mbox{}\\ \end{array} $$ Step 4: We now differentiate both sides of the resulting equation with respect to $t:$ $$ \begin{array}{lll} & \displaystyle V=\frac{\pi}{12}h^3 &\mbox{}\\ \implies & \displaystyle \frac{d}{dt}V=\frac{d}{dt}\left(\frac{\pi}{12}h^3\right) &\mbox{}\\ \implies & \displaystyle \frac{dV}{dt}=\frac{\pi}{12}\frac{d}{dt}h^3 &\mbox{}\\ \implies & \displaystyle \frac{dV}{dt}=\frac{\pi}{12}\cdot 3h^2\frac{dh}{dt} &\mbox{by the Chain Rule}\\ \implies & \displaystyle \frac{dV}{dt}=\frac{\pi}{4}h^2\frac{dh}{dt} &\mbox{}\\ \end{array} $$ Step 5: We now plug in the known information and solve for $\displaystyle \frac{dh}{dt}:$ $$ \begin{array}{lll} & \displaystyle \frac{dV}{dt}=\frac{\pi}{4}h^2\frac{dh}{dt} &\mbox{}\\ \implies & \displaystyle -0.03=\frac{\pi}{4}(0.25)^2\frac{dh}{dt} &\mbox{from Step 2, $\frac{dV}{dt}=-0.03$ and $h=0.25$}\\ \implies & \displaystyle \frac{-0.03}{\frac{\pi}{4}(0.25)^2}=\frac{dh}{dt} &\mbox{solving for $\frac{dh}{dt}$}\\ \implies & \displaystyle \frac{dh}{dt}=\frac{-0.03\cdot 4}{\pi(0.25)^2} &\mbox{}\\ \implies & \displaystyle \frac{dh}{dt}\approx -0.61 &\mbox{}\\ \end{array} $$ We interpret the above to mean that at the moment in question, the height of the water will be decreasing by about $0.61$ feet per second.
Example: Billy Bob is sitting on his front porch playing the banjo watching the traffic go by. Billy Bob notices a truck passing by, and at that instant, the truck is $200$ feet past his driveway and is going $55$ miles per hour.
How fast is the straight-line distance $y$ between Billy Bob and the truck changing at this particular instant?

Recall the Following Example
Suppose that the price $p$ (in dollars) and weekly sales $x$ (in thousands of units) of a certain commodity satisfy the demand equation $$2p^2+x^2=2572.$$ Determine the rate at which the weekly sales are changing at a time when $x=50,$ $p=6,$ and the price is changing at a rate of $-0.5$ dollars per week.
This is nothing more than a related-rates problem.
If you want to see this example again, please watch the last example in the video for Section 3.8.
Warning!
The following is a super-applied bonus example of related rates which involves the loudest sound ever made and is not for the faint of heart.
Viewer discretion is advised.
Krakatoa: Some Background
Krakatoa was a volcano in Indonesia.
In 1883 Krakatoa erupted explosively. The final explosion was so powerful that:
- barographs around the world detected a pressure wave that circled the globe four times
- it created the loudest sound ever measured and was heard more than 3000 miles away
- anyone within ten miles would have gone deaf
- it threw 5 cubic miles of earth 50 miles into the air
- two thirds of the island was destroyed
Enter Anak Krakatoa ("Child of Krakatoa")

Anak Krakatau Before 2018

- For more than 60 years Anak Krakatoa had been growing in height by about $6.8$ meters per year.
- In 2017, the height of Anak Krakatoa was more than $400$ meters.
- Anak Krakatoa and the surrounding islands are an interesting case study on how life re-populates after being wiped out.
Anak Krakatoa After 2018

Related Rates Application: Using 1) the above information, 2) the formula for the volume of a cone, 3) a little guesswork about the ratio between $r$ and $h$ (a cinder cone's typical angle of repose gives $\displaystyle 1.19 \leq \frac{r}{h}\leq 1.74$) and of course, 4) a little calculus, we can estimate the rate at which Anak Krakatoa's volume was growing before December 2018.

Conclusion
Before 2018, the volume of Anak Krakatoa was growing at a rate between about
$\mbox{4,840,305}$ cubic meters per year (assuming $\displaystyle \frac{r}{h}=1.19$) and
$\mbox{10,348,497}$ cubic meters per year (assuming $\displaystyle \frac{r}{h}=1.74$).
How Good is Our Estimate?
"The height prior to the 2018 collapse appears to have been a bit over $400$ meters after a growth spurt in the preceding decade. However, it was still very far from rebuilding the old island. The lava flow rates are not excessive: the island has grown by about $0.002 \mbox{ km}^3$ $(\mbox{2,000,000 m}^3)$ per year."
-From Volcano Cafe: The Rise and Fall of Anak Krakatau