# Related Rates

## Related Calculator: Online Derivative Calculator with Steps

Suppose we are given one quantity `x` that depends on another quantity `y`. If rate of change of quantity `x` with respect to time `t` is given, how do we find rate of change of `y` with respect to time? We need to do it because in real-worlds problems it is often easier to calculate rate of change of `x` then rate of change of `y`.

In fact it can be easily done using Chain Rule and other differentiating rules.

**Example 1**. Air is being pumped into a spherical balloon so that its volume increases at a rate of 200 `(cm^3)/s`. How fast is the radius of the balloon increasing when the diameter is 60 cm?

Let `V` is the volume of balloon and `r` is its radius, then we need to find `(dr)/(dt)` at `r=60/2=30`, given `(dV)/(dt)=200`.

It is known that volume of spherical balloon is `V=4/3pir^3`.

Differentiating with respect to `t` gives (using Chain Rule) `(dV)/(dt)=(dV)/(dr)*(dr)/(dt)`.

Derivative of `V` with respect to `r` is `(dV)/(dr)=4pir^2`.

So, `(dV)/(dt)=4pir^2 (dr)/(dt)`.

Plugging known quantities gives `200=4pi*30^2 (dr)/(dt)` or `(dr)/(dt)=200/(4pi*900)=1/(18pi)`.

So, radius of balloon is increasing at the rate of `1/(18pi)\ (cm)/s`.

**Example 2**. Car A is traveling west at 60 `(mi)/h` and car B is traveling north at 40 `(mi)/h`. They are both approaching intersection of roads. At what rate are the cars approaching each other when car A is 0.4 mi and car B is 0.3 mi from the intersection?

Let C is intersection of roads.

At a given time `t` let `x` be the distance from car A to C, let `y` be the distance from car B to C, and let `z` be the distance between the cars, where `x`, `y,` and `z` are measured in miles.

We are given that `(dx)/(dt)=-60` and `(dy)/(dt)=-40` . (The derivatives are negative because `x` and `y` are decreasing) We are asked to find `(dz)/(dt)`.

`x`, `y` and `z` are related by the Pythagorean Theorem:

`z^2=x^2+y^2`.

Differentiating each side with respect to `t`, we have following:

`2z(dz)/(dt)=2x(dx)/(dt)+2y(dy)/(dt)` or `(dz)/(dt)=1/z(x(dx)/(dt)+y(dy)/(dt))`.

When `x=0.4` and `y=0.3` the Pythagorean Theorem tells that `z=sqrt(x^2+y^2)=sqrt((0.4)^2+(0.3)^2)=0.5`.

Therefore, `(dz)/(dt)=1/(0.5)(0.4*(-60)+0.3*(-40))=-72`.

The cars are approaching each other at a rate of `-72 (mi)/h`.

**Example 3**. A water tank has the shape of an inverted circular cone with base radius 3 m and height 9 m. If water is being pumped into the tank at a rate of 2 `m^3/min` , find the rate at which the water level is rising when the water is 4 m deep.

Let `V`, `r`, and `h` be the volume of the water, the radius of the surface, and the height at time `t`, where `t` is measured in minutes.

We are given that `(dV)/(dt)=2 m^3/min` and we are asked to find `(dh)/(dt)` when `h` is 4 m. The quantities `V` and `h` are related by the equation `V=1/3pir^2h`.

From similarity of triangles we make conclusion that `r/3=h/9` or `r=h/3`.

Plugging into equation gives `V=1/3pi(h/3)^2h=1/27 pi h^3`.

Now differentiate both sides with respect to time `t`:

`(dV)/(dt)=(dV)/(dh)(dh)/(dt)=1/9pih^2(dh)/(dt)` or `(dh)/(dt)=9/(pih^2)(dV)/(dt)`.

Substituting given values gives `(dh)/(dt)=9/(pi*4^2)*2=9/(8pi)~~0.358 m/min`.

**Example 4**. A man walks along a straight path at a speed of 3 `(ft)/s`. A searchlight is located on the ground 20 ft from the path and is kept focused on the man. At what rate is the searchlight rotating when the man is 15 ft from the point on the path closest to the searchlight?

Let `x` be the distance from the man to the point on the path closest to the searchlight and `L` is the distance between searchlight and man. Let `theta` be the angle between the beam of the searchlight and the perpendicular to the path.

We are given that `(dx)/(dt)=3` and we need to find `(d theta)/(dt)` when `x=15`.

We need to connect `x` and `theta`. This relation can be easily found. From right-angled triangle `tan(theta)=x/20`.

Differentiating both sides with respect to time gives

`sec^2(theta)(d theta)/(dt)=1/20 (dx)/(dt)` or `(d theta)/(dt)=1/20cos^2(theta)(dx)/(dt)`.

When `x=15` the Pythagorean theorem tells that `L=sqrt(20^2+x^2)=sqrt(20^2+15^2)=25`.

Therefore `cos(theta)=20/L=20/25=4/5`.

Thus, `(d theta)/(dt)=1/20 (4/5)^2*3=12/125=0.096`.

The searchlight is rotating at a rate of `0.096 (rad)/s`.

**Example 5**. A ladder whose length is 5 feet rests against vertical wall. If the bottom of the ladder slides away from the wall at a rate of `2\ ft/s`, how fast is the top of the ladder sliding down the wall when the bottom of ladder is 4 feet from the wall.

Let `x` feet be the distance from the bottom of the ladder to the wall and `y` feet the distance from the top of the ladder to the ground.

We have that `(dx)/(dt)=2`. We need to find `(dy)/(dt)` when `x=4`.

`x` and `y` are connected by Pythagorean Theorem as follows: `x^2+y^2=5^2=25`.

Differentiating this equality with respect to `t` gives the following:

`2x(dx)/(dt)+2y(dy)/(dt)=0` or `(dy)/(dt)=-x/y (dx)/(dt)`.

From Pythagorean theorem when `x=4` we have that `y^2=25-x^2=25-16=9` or `y=3`.

So `(dy)/(dt)=-4/3*2=-8/3\ ft/s`.