Related Rates

In related rates problems, two or more quantities are both changing with time. One rate is known; the goal is to find another. The key is writing an equation that relates the quantities, then differentiating both sides with respect to time.

Step Action
1 Assign variables to all quantities; sketch the situation
2 Write an equation relating the quantities
3 Differentiate both sides with respect to time t
4 Substitute known values and solve for the unknown rate

Introduction

In this class of problems, two or more related quantities are changing. The rate of change of one quantity is given, and we seek to determine the rate of change of the other related quantities.

A sunken oil tanker is leaking oil in an expanding slick the radius of whose circle is increasing at the rate of 3  m/s . What is the rate at which the area of the circle expands when the radius of the oil slick is 50   m ?

Circular oil slick spreading on the ocean surface
Assume the oil slick is spreading in a circular pattern.
Solution Let t = time in seconds since the tanker sank r = radius of the circular oil slick in meters after t seconds A = area of the slick in square meters after t seconds We want to find d A d t | r = 50 . Because the radius is increasing at $3$ m/s: \frac{dr}{dt}=3.\tag{1} The area and radius of a circle are related by A=\pi r^{2}.\tag{2} Because A and r are both functions of t , differentiating both sides of (2) with respect to t : \frac{dA}{dt}=2\pi r\frac{dr}{dt}.\tag{3} Substituting (1) into (3): d A d t = 2 π r ( 3 ) = 6 π r . When r = 50 : d A d t = 6 π r | r = 50 = 300 π   m 2 s 942.48   m 2 s .

Strategy for Solving Related Rates Problems

Strategy for Solving Related Rates Problems:

  1. Assign appropriate letters to the variables and constants. For example, use V for volume, L or x or y for length, T for temperature, and t for time.
  2. Write down the given information and what you are asked to find.
  3. Find an equation that relates the quantity whose rate you do not know to those quantities whose rates are already known. You may need to combine two or more equations. Drawing a simple picture sometimes facilitates this step.
  4. Differentiate both sides of the equation with respect to the independent variable (usually time t ).
  5. Substitute the given values into the resulting equation and solve for the unknown rate.

Important: Always substitute the given information for the varying quantities after differentiation. For example, in the oil slick example above, if we had substituted r = 50 before differentiation, we would have gotten A = 50 2 π , and then d A / d t = 0 (because 50 2 π is a constant).

Examples

We are filming a rocket launch with a camera installed $900$ m away from the launching pad. If the rocket is ascending at $400$ m/s when it is $1200$ m above the launching pad, how fast is the distance between the rocket and the camera changing?

Rocket ascending vertically with camera 900 m from the launch pad
Solution Let t = time in seconds since the launch h = height of the rocket in meters after t seconds s = distance between the rocket and the camera in meters after t seconds We want to find d s d t | h = 1200 given d h d t | h = 1200 = 400  m/s .
Right triangle with rocket height h, camera distance 900, and hypotenuse s
By the Pythagorean Theorem: (900)^{2}+h^{2}=s^{2}.\tag{i} Since h and s are functions of t , differentiating both sides with respect to t : 0 + 2 h d h d t = 2 s d s d t \frac{ds}{dt}=\frac{h}{s}\frac{dh}{dt}.\tag{ii} When h = 1200 m, it follows from (i) that s = 900 2 + 1200 2 = 1500 m. Substituting into (ii): d s d t = 1200 1500 400 = 320   m s . The distance between the rocket and the camera is increasing at a rate of $320$ m/s.

Using the same setup as the previous example (camera $900$ m from the launch pad, rocket ascending at $400$ m/s when h = 1200 m), what should the instantaneous rate of change of the camera's elevation angle be to keep the rocket in view?

Solution Let t = time in seconds since the launch h = height of the rocket in meters after t seconds θ = camera's elevation angle in radians after t seconds We want to find d θ d t | h = 1200 given d h d t | h = 1200 = 400  m/s .
Right triangle showing camera elevation angle theta, rocket height h, and base 900 m
From the figure: \tan\theta=\frac{h}{900}.\tag{i} Since θ and h are functions of t , differentiating with respect to t : (\sec^{2}\theta)\frac{d\theta}{dt}=\frac{1}{900}\frac{dh}{dt}\tag{ii} \frac{d\theta}{dt}=\frac{1}{900\sec^{2}\theta}\frac{dh}{dt}.\tag{iii} When h = 1200 , by the Pythagorean Theorem s = 1500 m and sec θ = 1 cos θ = 1500 900 = 5 3 when h = 1200  m. Substituting into (iii): d θ d t | h = 1200 = 1 900 ( 5 3 ) 2 400 = 400 900 25 9 = 400 2500 = 4 25 = 0.16  rad/s. When h = 1200 m and the speed of the rocket is $400$ m/s, the elevation angle must be increased at a rate of $0.16$ rad/s to keep the rocket in view.

A ladder $150$ cm long leaning against a wall slips, and its foot moves away from the wall at $60$ cm/s. When the foot's base is $120$ cm from the wall, how fast does the top of the ladder approach the ground?

Ladder leaning against a wall with foot sliding outward
Solution Let t = time in seconds since the ladder slipped x = distance of the ladder's base from the wall in centimeters after t seconds y = distance of the ladder's top from the ground in centimeters after t seconds We want to find d y d t | x = 120 given d x d t | x = 120 = 60  cm/s .
Diagram showing variables x and y for the ladder problem
By the Pythagorean Theorem: x^{2}+y^{2}=(150)^{2}.\tag{i} Differentiating with respect to t : 2 x d x d t + 2 y d y d t = 0 \frac{dy}{dt}=\frac{-x}{y}\frac{dx}{dt}.\tag{ii} When x = 120 cm, equation (i) gives y = 150 2 120 2 = 90 cm. Substituting: d y d t | x = 120 = 120 90 ( 60 ) = 80  cm/s. The negative sign indicates that y is decreasing, meaning the top of the ladder is moving closer to the ground at $80$ cm/s.

Liquid is being filtered through a conical funnel. The height of the funnel is $15$ cm and the radius of its base is $5$ cm. The liquid is filtering out at the constant rate of 3   cm 3 / s . What is the rate at which the height of the liquid in the funnel is decreasing when the height of the liquid is $4$ cm?

Conical funnel with liquid, showing height h and radius r of the liquid surface
Solution Let t = time in minutes since the first observation V = volume of the liquid in cm 3 after t minutes h = height of the liquid in cm after t minutes r = radius of the top of the liquid in cm after t minutes We need to find d h d t | h = 4 given d V d t = 3   cm 3 / s . The minus sign indicates that the volume is decreasing. The volume of the cone is: V=\frac{1}{3}\pi r^{2}h.\tag{i} The radius r also varies with time. To avoid having both d r / d t and d h / d t in the equation, we express r in terms of h . By similar triangles: r h = 5 15 r = 1 3 h . Substituting: V=\frac{1}{3}\pi\left(\frac{h}{3}\right)^{2}h=\frac{\pi}{27}h^{3}.\tag{ii} Differentiating with respect to t : d V d t = π 27 ( 3 h 2 ) d h d t = π h 2 9 d h d t d h d t = 9 π h 2 d V d t . Substituting h = 4 cm and d V / d t = 3   cm 3 / s : \begin{aligned} \frac{dh}{dt} &= \frac{9}{\pi\times4^{2}}\left(-3\right) \\ &= \frac{-27}{16\pi}\ \frac{\text{cm}}{\text{s}} \\ &\approx -0.537\ \text{cm/s.} \end{aligned} The negative sign indicates the height is decreasing. When h = 4 cm, the height of the liquid is decreasing at approximately $0.537$ cm/s.

A person 5 feet tall is approaching a 15-foot lamp post at the constant rate of 4 ft/s.

(a) How fast is the length of the person's shadow decreasing?

(b) How fast is the tip of the person's shadow moving toward the lamp post?

Person walking toward a lamp post casting a shadow
Solution **(a)** Let x = distance of the person from the foot of the lamp post s = length of the person's shadow We need to find d s d t given d x d t = 4 ft/s (negative because x is decreasing).
Diagram showing variables x and s for the shadow problem with similar triangles labeled
By similar triangles (the person and the lamp post both cast shadows from the same light source): s x + s = 5 15 Wait, more directly, using similar triangles \triangle ABB' \sim \triangle A'B'C (where the lamp is at C , the person's head is at A , and the tip of the shadow is at B'): s x = 5 10 s = 1 2 x . Differentiating with respect to t : d s d t = 1 2 d x d t = 1 2 ( 4 ) = 2  ft/s. The length of the person's shadow is decreasing at $2$ ft/s. Note that d s / d t is constant, independent of the person's position. **(b)** The position of the tip of the shadow is x + s from the lamp post. The rate at which the tip is moving is: d ( x + s ) d t = d x d t + d s d t = 4 + ( 2 ) = 6  ft/s. The tip of the shadow is moving toward the lamp post at $6$ ft/s.

In the previous example, let θ be the angle between the ray from the lamp post to the tip of the shadow and the lamp post. What is the rate at which θ is changing when the person is $8$ ft away from the lamp post?

Lamp post setup showing angle theta between the lamp post and the ray to the shadow tip
Solution We need to find d θ d t | x = 8 given d x d t = 4  ft/s.
Diagram with variables for the angle problem, right triangle with horizontal distance x+s and lamp height 15
From the figure (the lamp is 15 ft tall and the shadow tip is at horizontal distance x + s = x + x / 2 = 3 x / 2 from the base, but using the geometry with the base distance x + s from the lamp post): Using the lamp height of $15$ ft and horizontal distance x + s for the total horizontal extent, but the more direct relation uses just x (the distance of the person) compared to the height difference of 15 5 = 10 ft between the lamp top and the person's head. The angle θ satisfies: \tan\theta=\frac{x}{10}.\tag{i} Differentiating with respect to t : ( 1 + tan 2 θ ) d θ d t = 1 10 d x d t d θ d t = 1 10 cos 2 θ d x d t . From the right triangle with legs $10$ (vertical) and x (horizontal): cos θ = 10 10 2 + x 2 . Therefore: \begin{aligned} \frac{d\theta}{dt} &= \frac{1}{10}\left(\frac{10}{\sqrt{10^{2}+x^{2}}}\right)^{2}\frac{dx}{dt} \\ &= \frac{10}{10^{2}+x^{2}}\frac{dx}{dt}. \end{aligned} At x = 8 : d θ d t | x = 8 = 10 100 + 64 × ( 4 ) = 40 164 = 10 41  rad/s. Converting to degrees per second: 10 41   rad s × 180 ° π   rad = 1800 41 π ° / s 13.97 ° / s. Note that d θ / d t depends on x , while d s / d t (the rate at which the shadow length changes) is constant.

A police cruiser is approaching a right-angled intersection from the north and a speeding car is moving toward the intersection from the west. The police determine by radar that when the distance between them and the car is $1$ mile, the distance is decreasing at $70$ mph. If the cruiser is moving at $30$ mph, what is the speed of the car?

Right-angle intersection with police cruiser approaching from north and car from west
Solution Let y = position of the cruiser (measured from the intersection, moving southward is positive) x = position of the car (measured from the intersection) s = distance between the cruiser and the car at time t We want to find d x d t when y = 0.6 miles, s = 1 mile, d y d t = 30 mph, and d s d t = 70 mph. Both d y / d t and d s / d t are negative because y and s are decreasing.
Coordinate diagram showing positions x and y of the car and cruiser relative to the intersection
By the Pythagorean Theorem: s^{2}=x^{2}+y^{2}.\tag{i} Differentiating with respect to t : 2s\frac{ds}{dt}=2x\frac{dx}{dt}+2y\frac{dy}{dt}.\tag{ii} Given s = 1 mile and y = 0.6 miles, from (i): x 2 = 1 0.36 = 0.64 . Since the car is on the negative x -axis, x = 0.8 miles. Substituting into (ii): 2 ( 1 ) ( 70 ) = 2 ( 0.8 ) d x d t + 2 ( 0.6 ) ( 30 ) 140 = 1.6 d x d t 36 1.6 d x d t = 104 d x d t = 65  mph. The car's speed at the moment of measurement is $65$ mph. The positive sign of d x / d t confirms that x is increasing (the car is moving away from the intersection in the positive x direction).

Frequently Asked Questions

When do I differentiate implicitly with respect to time? Whenever two or more quantities are both changing with time and are related by an equation, you differentiate that equation implicitly with respect to t . Each variable in the equation is treated as a function of t , so the chain rule applies: d d t [ u n ] = n u n 1 d u d t , and so on.

Why must I substitute numbers only after differentiating? If you substitute specific values before differentiating, you replace a variable with a constant, and the derivative of a constant is zero. For example, substituting r = 50 in A = π r 2 gives A = 2500 π , a constant, so d A / d t = 0 . That answer is meaningless. Always differentiate the general equation first, then substitute the specific values.

What if there are more variables than given rates? Use geometry or physical constraints to eliminate extra variables before differentiating. For example, in the conical funnel problem, the radius r and height h of the liquid are related by similar triangles ( r = h / 3 ), so we can write the volume purely in terms of h before differentiating.