Related rates and extreme values
The rate relationship between quantities that change with time (related rates), and finding the absolute maximum/minimum on a closed interval. Two classic word-problem types, worth many points.
This week the derivative goes into the “real world” for the first time. There are two different question types, both word problems, and both come up very often. In a related rates question, connected quantities change with time; they give you the rate of one and ask for the rate of another. In an extrema question, you find the largest and smallest value of a function on an interval. Both have an algorithm; whoever knows the algorithm does not miss the question.
- In related rates, substitute the numbers last. First differentiate the general equation.
- The time variable is hidden. Every quantity is a function of , and when you differentiate the chain rule is automatically in play.
- The rate of a decreasing quantity is written as negative.
- Critical point: or undefined.
- On a closed interval, test the endpoints too. The largest value often occurs at an endpoint.
Related rates
If the radius of a balloon grows, its volume grows too. The relation also gives a relation between the rates of change of the two quantities. To see this, differentiate both sides with respect to :
Since is a function of , the derivative of is (chain rule). This formula is true at every moment. When you substitute the numbers at a specific moment, the unknown rate comes out.
The five-step method
1. Draw a figure. Give a letter to every changing quantity (x, y, r, h, θ).
2. Write the given and the asked as derivatives: dx/dt = 0.5, dy/dt = ?
3. Set up the equation linking the variables (Pythagoras, volume, similar triangles, tan).
4. Differentiate the equation with respect to t.
5. Substitute the values at that moment (computing them from the equation if needed), and solve.
Example 1 (area). The radius of a circular oil slick grows at m/s. How fast does the area grow when the radius is m?
m²/s.
Example 2 (Pythagoras). A plane flies horizontally at an altitude of km at km/h and has just passed directly over a radar station. How fast is the distance between the radar and the plane increasing when it is km?
x: horizontal distance along the ground, D: radar-plane distance, altitude constant 3
D^2 = x^2 + 9 (the constant 3 can be written before differentiating, it doesn't change)
2D D' = 2x x' -> D' = x x' / D
at that moment: D = 5 -> x = sqrt(25 - 9) = 4
D' = 4 · 500 / 5 = 400 km/h
Example 3 (angle). A camera is m from a launch pad. A rocket rises vertically at m/s. How fast is the camera’s angle of elevation changing when the rocket is at a height of m?
. Derivative: . At that moment , . rad/s.
PITFALL · substituting the number before differentiating. In the ladder problem, if you put before differentiating, you get , the derivative is , and the result is nonsense. Substitute the instantaneous value of a changing quantity only after differentiating. Constants that do not change (the ladder length , the cone’s ratio, the plane’s altitude) can be substituted beforehand.
Cones and similar triangles
In cone problems has two variables. The water depth and the surface radius are linked by similar triangles: (the tank’s dimensions). Write in terms of , reduce to a single variable, then differentiate. That way you don’t have to deal with a second unknown rate like .
Extreme values
- If for every in the domain, is the absolute maximum.
- If for every near , it is a local maximum. For a minimum the inequality is reversed.
Extreme Value Theorem: if is continuous on the closed interval , an absolute maximum and minimum definitely exist. On an open interval or for a discontinuous function there is no guarantee: attains neither a max nor a min on .
Fermat’s theorem and critical points
If has a local extremum at an interior point and exists, then . At a peak or a valley the tangent is horizontal.
So the candidates for extrema are the critical numbers: the values where is defined and or is undefined.
The converse is not true: for , but there is no extremum at , the graph passes straight through and keeps increasing. A critical point is a candidate, not a guarantee.
Example 4 (a critical point at a corner). .
: . undefined: , and is defined. The critical points are and . A root left in the denominator with fractional powers always produces a critical point; this is the candidate most often forgotten on exams.
The closed interval method
To find the absolute extrema of continuous on :
1. Compute f'(x), find the critical points inside (a,b).
2. Evaluate f at the critical points and at the endpoints a, b.
3. The largest value is the absolute max, the smallest value is the absolute min.
No need for the second derivative test or a sign table. Just a table of values.
Example 5. , .
. The critical points are and , both in the interval.
| (endpoint) | (endpoint) | |||
|---|---|---|---|---|
The absolute maximum is (at ), the absolute minimum is (at ). In the answer write both the value and the location; if the question says “values” give the value, if it says “where” give the location.
PITFALL · a critical point outside the interval. When working on the interval , if the critical point comes out, do not put it in the table. A value outside the interval does not determine the max/min on the interval.
PITFALL · forgetting an endpoint. If Example 5 had been on , would be the largest value. The max is not at a critical point just because the tangent is horizontal there.
Common mistakes
| Wrong thinking | Correct |
|---|---|
| Substituting numbers before differentiating | First differentiate the general equation, then substitute the values at that moment |
| Writing the rate of a decreasing quantity as positive | An approaching car, a draining tank: the rate is negative |
| Differentiating with and together in a cone problem | Eliminate first with similar triangles |
| Not computing the unknown side at that moment | Find the value at that moment with Pythagoras or the equation |
| Not writing units | m/s, cm³/s, rad/s |
| means an extremum | A candidate; at , is not an extremum |
| A critical point is only | Points where is undefined count too ( in ) |
| Skipping the endpoints for absolute extrema | The endpoints always go in the table |
| Writing the that gives the max as the answer | If “maximum value” is asked, it is |
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
The edge of a cube is increasing at cm/s. How fast is the volume increasing when the edge is cm?
Show answer
. Derivative with respect to time: . With , : cm³/s.
A m ladder leans against a vertical wall. The bottom slides away from the wall at m/s. How fast is the top sliding down when the bottom is m from the wall?
Show answer
: distance from the wall, : height of the top. . At that moment , . Derivative: m/s. The minus sign shows it is moving down; the speed is m/s.
Water flows at m³/min into a conical tank (vertex down) of height m and top radius m. How fast is the water level rising when the water is m deep?
Show answer
Similar triangles: . . Derivative: . At : m/min. Eliminating before differentiating reduces the problem to one variable.
Air is pumped into a spherical balloon at cm³/s. How fast is the radius increasing when the radius is cm?
Show answer
. cm/s.
Car A is km east of an intersection, driving west toward it at km/h. Car B is km north of the intersection, driving north at km/h. At what rate is the distance between the cars changing?
Show answer
: A's distance, : B's distance, . At that moment . (approaching), . km/h. Positive: the distance is increasing.
Find the absolute maximum and minimum values of on .
Show answer
. The critical points are and , both in the interval. Table: , , , . The largest is and the smallest is ; each is attained at two points.
Find the critical numbers of .
Show answer
Expand: . . : . undefined: (and is defined). Both are critical points.
Find the absolute extreme values of on .
Show answer
. , so the only critical point is . , , . Max , min .
Find the absolute maximum and minimum of on .
Show answer
(the only solution in the interval). , , .
Find the absolute extreme values of on .
Show answer
. The critical point is (). , , . Min , max .
A person m tall walks away from a m street lamp at m/s. How fast is the length of the shadow increasing, and how fast is the tip of the shadow moving?
Show answer
: distance from the lamp, : length of the shadow. Similar triangles: . m/s. The distance of the tip from the lamp is , with speed m/s. The answer does not depend on the value of .
Find and so that has critical numbers at and .
Show answer
. The quadratic with roots and and leading coefficient is . Equate the coefficients: , .
Verification: All answers were checked with node (verify/MAT1051/08.mjs): in the related rates questions the quantities were modeled as explicit functions of time and a numerical derivative was taken at the given moment; absolute extrema by scanning the interval at 200000 points, critical points verified with a numerical derivative.