Suppose we have two variables $x$ and $y$ (in most problems the letters will be different, but for now let's use $x$ and $y$) which are both changing with time. A "related rates'' problem is a problem in which we know one of the rates of change at a given instant–-say, $\ds \dot x = dx/dt$–-and we want to find the other rate $\ds \dot y = dy/dt$ at that instant. (The use of $\ds \dot x$ to mean $dx/dt$ goes back to Newton and is still used for this purpose, especially by physicists.)

If $y$ is written in terms of $x$, i.e., $y=f(x)$, then this is easy to do using the chain rule: $$ \dot y = {dy\over dt}={dy\over dx}\cdot{dx\over dt}={dy\over dx}\dot x. $$ That is, find the derivative of $f(x)$, plug in the value of $x$ at the instant in question, and multiply by the given value of $\ds \dot{x}=dx/dt$ to get $\ds \dot{y}=dy/dt$.

Example 6.2.1 Suppose an object is moving along a path described by $\ds y=x^2$, that is, it is moving on a parabolic path. At a particular time, say $t=5$, the $x$ coordinate is 6 and we measure the speed at which the $x$ coordinate of the object is changing and find that $dx/dt = 3$. At the same time, how fast is the $y$ coordinate changing?

Using the chain rule, $\ds dy/dt = 2x\cdot dx/dt$. At $t=5$ we know that $x=6$ and $dx/dt=3$, so $dy/dt = 2\cdot 6\cdot 3 = 36$.

In many cases, particularly interesting ones, $x$ and $y$ will be related in some other way, for example $x=f(y)$, or $F(x,y)=k$, or perhaps $F(x,y)=G(x,y)$, where $F(x,y)$ and $G(x,y)$ are expressions involving both variables. In all cases, you can solve the related rates problem by taking the derivative of both sides, plugging in all the known values (namely, $x$, $y$, and $\ds \dot{x}$), and then solving for $\ds \dot{y}$.

To summarize, here are the steps in doing a related rates problem:

1. Decide what the two variables are.

2. Find an equation relating them.

3. Take $d/dt$ of both sides.

4. Plug in all known values at the instant in question.

5. Solve for the unknown rate.

Example 6.2.2 A plane is flying directly away from you at 500 mph at an altitude of 3 miles. How fast is the plane's distance from you increasing at the moment when the plane is flying over a point on the ground 4 miles from you?

To see what's going on, we first draw a schematic representation of the situation, as in figure 6.2.1.

Because the plane is in level flight directly away from you, the rate at which $x$ changes is the speed of the plane, $dx/dt=500$. The distance between you and the plane is $y$; it is $dy/dt$ that we wish to know. By the Pythagorean Theorem we know that $\ds x^2+9=y^2$. Taking the derivative: $$ 2x \dot x = 2y\dot y.$$ We are interested in the time at which $x=4$; at this time we know that $\ds 4^2+9=y^2$, so $y=5$. Putting together all the information we get $$2(4)(500)=2(5)\dot y.$$ Thus, $\ds \dot y=400$ mph.

Example 6.2.3 You are inflating a spherical balloon at the rate of 7 cm${}^3$/sec. How fast is its radius increasing when the radius is 4 cm?

Here the variables are the radius $r$ and the volume $V$. We know $dV/dt$, and we want $dr/dt$. The two variables are related by means of the equation $\ds V=4\pi r^3/3$. Taking the derivative of both sides gives $\ds dV/dt=4\pi r^2\dot r$. We now substitute the values we know at the instant in question: $\ds 7=4\pi 4^2\dot r$, so $\ds \dot r=7/(64\pi)$ cm/sec.

Example 6.2.4 Water is poured into a conical container at the rate of 10 cm${}^3$/sec. The cone points directly down, and it has a height of 30 cm and a base radius of 10 cm; see figure 6.2.2. How fast is the water level rising when the water is 4 cm deep (at its deepest point)?

The water forms a conical shape within the big cone; its height and base radius and volume are all increasing as water is poured into the container. This means that we actually have three things varying with time: the water level $h$ (the height of the cone of water), the radius $r$ of the circular top surface of water (the base radius of the cone of water), and the volume of water $V$. The volume of a cone is given by $\ds V=\pi r^2h/3$. We know $dV/dt$, and we want $dh/dt$. At first something seems to be wrong: we have a third variable $r$ whose rate we don't know.

But the dimensions of the cone of water must have the same proportions as those of the container. That is, because of similar triangles, $r/h=10/30$ so $r=h/3$. Now we can eliminate $r$ from the problem entirely: $\ds V=\pi(h/3)^2h/3=\pi h^3/27$. We take the derivative of both sides and plug in $h=4$ and $dV/dt=10$, obtaining $\ds 10=(3\pi\cdot 4^2/27)(dh/dt)$. Thus, $dh/dt=90/(16\pi)$ cm/sec.

Example 6.2.5 A swing consists of a board at the end of a 10 ft long rope. Think of the board as a point $P$ at the end of the rope, and let $Q$ be the point of attachment at the other end. Suppose that the swing is directly below $Q$ at time $t=0$, and is being pushed by someone who walks at 6 ft/sec from left to right. Find (a) how fast the swing is rising after 1 sec; (b) the angular speed of the rope in deg/sec after 1 sec.

We start out by asking: What is the geometric quantity whose rate of change we know, and what is the geometric quantity whose rate of change we're being asked about? Note that the person pushing the swing is moving horizontally at a rate we know. In other words, the horizontal coordinate of $P$ is increasing at 6 ft/sec. In the $xy$-plane let us make the convenient choice of putting the origin at the location of $P$ at time $t=0$, i.e., a distance 10 directly below the point of attachment. Then the rate we know is $dx/dt$, and in part (a) the rate we want is $dy/dt$ (the rate at which $P$ is rising). In part (b) the rate we want is $\ds \dot{\theta}=d\theta/dt$, where $\theta$ stands for the angle in radians through which the swing has swung from the vertical. (Actually, since we want our answer in deg/sec, at the end we must convert $d\theta/dt$ from rad/sec by multiplying by $180/\pi$.)

(a) From the diagram we see that we have a right triangle whose legs are $x$ and $10-y$, and whose hypotenuse is 10. Hence $\ds x^2+(10-y)^2=100$. Taking the derivative of both sides we obtain: $2x\dot{x}+2(10-y)(0-\dot{y})=0$. We now look at what we know after 1 second, namely $x=6$ (because $x$ started at 0 and has been increasing at the rate of 6 ft/sec for 1 sec), $y=2$ (because we get $10-y=8$ from the Pythagorean theorem applied to the triangle with hypotenuse 10 and leg 6), and $\ds \dot{x}=6$. Putting in these values gives us $2\cdot 6\cdot 6-2\cdot 8\dot{y}=0$, from which we can easily solve for $\ds \dot{y}$: $\ds \dot{y}=4.5$ ft/sec.

(b) Here our two variables are $x$ and $\theta$, so we want to use the same right triangle as in part (a), but this time relate $\theta$ to $x$. Since the hypotenuse is constant (equal to 10), the best way to do this is to use the sine: $\sin\theta=x/10$. Taking derivatives we obtain $\ds (\cos\theta)\dot{\theta}=0.1\dot{x}$. At the instant in question ($t=1$ sec), when we have a right triangle with sides 6–8–10, $\ds \cos\theta=8/10$ and $\ds \dot{x}=6$. Thus $(8/10)\dot{\theta}=6/10$, i.e., $\ds \dot{\theta}=6/8=3/4$ rad/sec, or approximately $43$ deg/sec.

We have seen that sometimes there are apparently more than two variables that change with time, but in reality there are just two, as the others can be expressed in terms of just two. But sometimes there really are several variables that change with time; as long as you know the rates of change of all but one of them you can find the rate of change of the remaining one. As in the case when there are just two variables, take the derivative of both sides of the equation relating all of the variables, and then substitute all of the known values and solve for the unknown rate.

Example 6.2.6 A road running north to south crosses a road going east to west at the point $P$. Car A is driving north along the first road, and car B is driving east along the second road. At a particular time car A is $10$ kilometers to the north of $P$ and traveling at 80 km/hr, while car B is 15 kilometers to the east of $P$ and traveling at 100 km/hr. How fast is the distance between the two cars changing?

Let $a(t)$ be the distance of car A north of $P$ at time $t$, and $b(t)$ the distance of car B east of $P$ at time $t$, and let $c(t)$ be the distance from car A to car B at time $t$. By the Pythagorean Theorem, $\ds c(t)^2=a(t)^2+b(t)^2$. Taking derivatives we get $\ds 2c(t)c'(t)=2a(t)a'(t)+2b(t)b'(t)$, so $$ \dot{c}={a\dot{a}+b\dot{b}\over c}={a\dot{a}+b\dot{b}\over \sqrt{a^2+b^2}}. $$ Substituting known values we get: $$ \dot{c}={10\cdot 80+15\cdot100\over \sqrt{10^2+15^2}}={460\over\sqrt{13}} \approx 127.6 \hbox{km/hr} $$ at the time of interest.

Notice how this problem differs from example 6.2.2. In both cases we started with the Pythagorean Theorem and took derivatives on both sides. However, in example 6.2.2 one of the sides was a constant (the altitude of the plane), and so the derivative of the square of that side of the triangle was simply zero. In this example, on the other hand, all three sides of the right triangle are variables, even though we are interested in a specific value of each side of the triangle (namely, when the sides have lengths 10 and 15). Make sure that you understand at the start of the problem what are the variables and what are the constants.

## Exercises 6.2

**Ex 6.2.1**
A cylindrical tank standing upright (with one circular base on the
ground) has radius 20 cm. How fast does the water level in the
tank drop when the water is being drained at 25 cm${}^3$/sec?
(answer)

**Ex 6.2.2**
A cylindrical tank standing upright (with one circular base on the
ground) has radius 1 meter. How fast does the water level in the
tank drop when the water is being drained at 3 liters per second?
(answer)

**Ex 6.2.3**
A ladder 13 meters long rests on horizontal ground and leans
against a vertical wall. The foot of the ladder is pulled away from
the wall at the rate of 0.6 m/sec. How fast is the top sliding down
the wall when the foot of the ladder is 5 m from the wall?
(answer)

**Ex 6.2.4**
A ladder 13 meters long rests on horizontal ground and leans
against a vertical wall. The top of the ladder is being pulled up the
wall at $0.1$ meters per second.
How fast is the foot of the ladder approaching
the wall when the foot of the ladder is 5 m from the wall?
(answer)

**Ex 6.2.5**
A rotating beacon is located 2 miles out in the water. Let $A$ be the
point on the shore that is closest to the beacon. As the beacon rotates at
10 rev/min, the beam of light sweeps down the shore once each time it revolves.
Assume that the shore is straight. How fast is the point where the beam
hits the shore moving at an instant when the beam is lighting up a point 2
miles along the shore from the point $A$?
(answer)

**Ex 6.2.6**
A baseball diamond is a square 90 ft on a side. A player runs from first
base to second base at 15 ft/sec. At what rate is the player's distance
from third base decreasing when she is half way from first to second base?
(answer)

**Ex 6.2.7**
Sand is poured onto a surface at 15 cm${}^3$/sec, forming a
conical pile whose base diameter is always equal to its altitude. How
fast is the altitude of the pile increasing when the pile is 3 cm
high?
(answer)

**Ex 6.2.8**
A boat is pulled in to a dock by a rope with one end attached to the front
of the boat and the other end passing through a ring attached to the dock
at a point 5 ft higher than the front of the boat. The rope is being
pulled through the ring at the rate of 0.6 ft/sec. How fast is the boat
approaching the dock when 13 ft of rope are out?
(answer)

**Ex 6.2.9**
A balloon is at a height of 50 meters, and is rising at the constant rate
of 5 m/sec. A bicyclist passes beneath it, traveling in a
straight line at the constant speed of 10 m/sec. How fast is the distance
between the bicyclist and the balloon increasing 2 seconds later?
(answer)

**Ex 6.2.10**
A pyramid-shaped vat has square cross-section and stands on its
tip. The dimensions at the top are 2 m $\times$ 2 m, and the depth is
5 m. If water is flowing into the vat at 3 m${}^3$/min, how fast is
the water level rising when the depth of water (at the deepest point)
is 4 m? Note: the volume of any "conical'' shape (including
pyramids) is $(1/3)(\hbox{height})(\hbox{area of base})$.
(answer)

**Ex 6.2.11**
The sun is rising at the rate of $1/4$ deg/min, and appears to be
climbing into the sky perpendicular to the
horizon, as depicted in figure 6.2.5.
How fast is the shadow of a 200 meter building
shrinking at the moment when the shadow is 500 meters long?
(answer)

**Ex 6.2.12**
The sun is setting at the rate of $1/4$ deg/min, and appears
to be dropping perpendicular to the horizon, as depicted in
figure 6.2.5. How fast is the shadow of a 25
meter wall lengthening at the moment when the shadow is 50 meters long?
(answer)

**Ex 6.2.13**
The trough shown in figure 6.2.6
is constructed by fastening together three
slabs of wood of dimensions 10 ft $\times$ 1 ft, and then attaching the
construction to a wooden wall at each end. The angle $\theta$ was
originally $\ds 30^\circ$, but because of poor construction the sides are
collapsing. The trough is full of water. At what rate (in ft${}^3$/sec)
is
the water spilling out over the top of
the trough if the sides have each fallen to an angle of $\ds 45^\circ$, and are
collapsing at the rate of $\ds 1^\circ$ per second?
(answer)

**Ex 6.2.14**
A woman 5 ft tall walks at the rate of 3.5 ft/sec away from a streetlight
that is 12 ft above the ground. At what rate is the tip of her shadow
moving? At what rate is her shadow lengthening?
(answer)

**Ex 6.2.15**
A man 1.8 meters tall walks at the rate of 1 meter per
second toward a streetlight that is 4 meters above the ground. At
what rate is the tip of his shadow moving? At what rate is his shadow
shortening?
(answer)

**Ex 6.2.16**
A police helicopter is flying at 150 mph at a constant altitude of 0.5 mile
above a straight road. The pilot uses radar to determine that an oncoming
car is at a distance of exactly 1 mile from the helicopter, and that this
distance is decreasing at 190 mph. Find the speed of the car.
(answer)

**Ex 6.2.17**
A police helicopter is flying at 200 kilometers per hour at
a constant altitude of 1 km above a straight road. The pilot uses
radar to determine that an oncoming car is at a distance of exactly 2
kilometers from the helicopter, and that this distance is decreasing at 250
kph. Find the speed of the car.
(answer)

**Ex 6.2.18**
A light shines from the top of a pole 20 m high. A ball is falling 10
meters from the pole, casting a shadow on a building 30 meters away,
as shown in figure 6.2.7.
When the ball is 25 meters from the ground it is falling at 6 meters
per second. How fast is its shadow moving?
(answer)

**Ex 6.2.19**
Do example 6.2.6 assuming that the angle
between the two roads is 120${}^\circ$ instead of 90${}^\circ$ (that
is, the "north–south'' road actually goes in a somewhat northwesterly
direction from $P$). Recall the law of cosines:
$\ds c^2=a^2+b^2-2ab\cos\theta$.
(answer)

**Ex 6.2.20**
Do example 6.2.6 assuming that
car A is 300 meters north of $P$, car B is 400 meters east of $P$, both
cars are going at constant speed toward $P$, and the two cars will collide in
10 seconds.
(answer)

**Ex 6.2.21**
Do example 6.2.6 assuming that
8 seconds ago car A started from rest at $P$ and has been picking up
speed at the steady rate of 5 m/sec${}^2$, and 6 seconds after car A
started car B passed $P$ moving east at constant speed 60 m/sec.
(answer)

**Ex 6.2.22**
Referring again to example 6.2.6,
suppose that instead of car B an airplane is flying at speed $200$
km/hr to the east of $P$ at an altitude of 2 km, as depicted in
figure 6.2.8. How fast is the distance between
car and airplane changing?
(answer)

**Ex 6.2.23**
Referring again to example 6.2.6, suppose
that instead of car B an airplane is flying at speed $200$
km/hr to the east of $P$ at an altitude of 2 km, and that it is
gaining altitude at 10 km/hr.
How fast is
the distance between car and airplane changing?
(answer)

**Ex 6.2.24**
A light shines from the top of a pole 20 m high. An object is dropped from
the same height from a point 10 m away, so that its height at time $\ds t$
seconds is $\ds h(t)=20-9.8t^2/2$. How fast is the object's shadow
moving on the ground one second later?
(answer)

**Ex 6.2.25**
The two blades of a pair of scissors are fastened at the point $A$ as
shown in figure 6.2.9. Let
$a$ denote the distance from $A$ to the tip of the blade (the point $B$).
Let $\beta$ denote the angle at the tip of the blade that is formed by the
line $\ds \overline{AB}$ and the bottom edge of the blade, line
$\ds \overline{BC}$, and let $\theta$ denote the angle between
$\ds \overline{AB}$ and the horizontal.
Suppose that a piece of paper is cut in such a way that the center
of the scissors at $A$ is fixed, and the paper is also fixed. As the
blades are closed (i.e., the angle $\theta$ in the diagram is decreased),
the distance $x$ between $A$ and $C$ increases, cutting the paper.

** a.** Express $x$ in terms of $a$, $\theta$, and $\beta$.

** b.** Express $dx/dt$ in terms of $a$,
$\theta$, $\beta$, and $d\theta/dt$.

** c.** Suppose that the distance $a$ is 20 cm, and the
angle $\beta$ is $\ds 5^\circ$. Further suppose that $\theta$ is
decreasing at 50
deg/sec. At the instant when $\ds \theta=30^\circ$, find the rate (in
cm/sec) at which the paper is being cut.
(answer)