6. Application of Derivatives
6.1 Chapter Opener: Introduction and the Geometry of Rates
Chapter 6
Application of Derivatives
Big idea: the derivative measures how fast something changes. Once you can measure change, you can ask the most useful questions: when is it rising, when is it falling, and when is it at its highest or lowest?
In Chapter 5 you learned how to find the derivative. That was the tool. This chapter puts the tool to work. A weather balloon rises, a factory counts its costs, and a ladder slides down a wall. Each of these is a question about change, and the derivative answers it.
Here is the road ahead. First you will measure how fast a quantity changes at one instant. Then you will decide where a function rises and where it falls. Then you will find the peaks and valleys of graphs. Finally you will solve best-choice problems: the largest volume, the least material, the closest point.
A balloon rises into the sky. At 10 metres its speed is slow. At 40 metres a gust pushes it faster. The height changes all the time, and the speed at each moment is different. How do we measure the speed at one single instant?
In Chapter 5 you learned to find the derivative. In this chapter you will use it. A derivative tells you the slope of a graph at a point, and a slope tells you a lot:
- [Concept] A positive slope means the value is going up. A negative slope means it is going down.
- [Board Standard] A slope of zero means the graph is level for a moment. That is where a hill top or a valley bottom can be.
- [HOTS] A large slope means a fast change. A small slope means a slow change.
Look at the curve below. Moving from left to right, it rises, then falls, then rises again. The two turning points are marked.
Graph of a curve that rises up to a peak at the point (1, 4), then falls to a valley at the point (3, 0), then rises again. The rising parts are drawn in teal and the falling part is orange.
Read the figure from left to right. The teal part climbs toward the peak at (1, 4). Then the orange part drops toward the valley at (3, 0). Then the teal part climbs again. The colour changes exactly where the slope becomes zero.
The curve is . Its derivative is , which is zero at and , exactly where the peak and the valley are.
The derivative also tells how fast the curve climbs. A few values make this clear:
| Point | Slope | What it means |
|---|---|---|
| (positive) | climbing fast | |
| (negative) | falling gently | |
| (positive) | climbing fast again |
Notice the size as well as the sign. A slope of 9 means steep climbing. A slope of -2.25 means gentle falling. The sign gives the direction and the size gives the speed.
6.2 Rate of Change of Quantities
A car travels 120 km in 2 hours. Its average speed is km/h. But the speedometer does not show an average. It shows the speed at this moment. That is an instant rate of change.
The derivative gives exactly this instant rate. For a quantity that depends on , the number is the rate of change of with respect to . Let us see how an average rate turns into an instant rate. Take and look at the average rate between and for smaller and smaller :
| Step size | Average rate |
|---|---|
The average rates move closer and closer to . And indeed , which is at . The instant rate is the number that the average rates approach. The derivative is the limit of average rates.
The picture below shows the same idea. Two secant lines join (3, 9) to nearby points. Their slopes are 7 and 6.5. The dashed tangent line has slope 6. As the second point moves closer, the secant slopes settle down to 6.
Graph of y equals x squared near the point (3, 9). Two secant lines through (3, 9) have slopes 7 and 6.5. A dashed tangent line at (3, 9) has slope 6.
Often two or more quantities change with time at the same time, and they are linked by a formula. The chain rule links their rates:
In words: the rate of equals the rate of per unit of , times the rate of per unit of time.
How to solve a rate problem:
- [Concept] Draw a picture and name each changing quantity with a letter.
- [Board Standard] Write a formula that links the quantities.
- [Board Standard] Differentiate both sides with respect to time . Use the chain rule.
- [HOTS] Only now put in the numbers for the moment you are asked about. Substituting early turns a changing quantity into a constant.
- [HOTS] Write the answer with its sign and its units.
A square metal plate expands when heated. Its side grows at cm/s. How fast is its area growing when the side is cm?
Step 1, name and link. The area is .
Step 2, differentiate. With respect to : . The factor comes from the chain rule.
Step 3, substitute. Now put in and :
Step 4, check. The rate is positive, so the area grows, which is correct for heating. The units are area per time. Answer: cm²/s.
The radius of a spherical soap bubble grows at mm/s. How fast is its volume growing when mm?
Step 1, name and link. The volume is .
Step 2, differentiate. .
Step 3, substitute. At :
Step 4, check. A positive rate means the volume grows. The number 226.19 mm³/s is large because volume grows with the square of the radius. Answer: about 226.19 mm³/s.
A ladder m long leans on a wall. The bottom slides away from the wall at m/s. How fast does the top slide down when the bottom is m from the wall?
Step 1, draw. Let be the distance of the bottom from the wall and the height of the top. The ladder, wall and floor form a right triangle, so . The sketch below shows the position when and .
Right triangle sketch of a ladder against a wall. The floor runs from (0, 0) to (5, 0), the wall from (0, 0) to (0, 5), and the ladder joins (3, 0) to (0, 4).
Step 2, differentiate. With respect to : , so
Step 3, substitute. When , we have (because ). So m/s.
Step 4, check. The minus sign means the top is moving down, at m/s. That matches the picture: as the bottom moves out, the top must come down.
The cost, in cost units, of making items is . The marginal cost is the rate of change of cost with respect to the number of items: . It estimates the cost of making one more item.
Step 1. Differentiate: .
Step 2. At the marginal cost is .
Step 3. Compare with the true extra cost of making the 21st item: .
The marginal cost () is very close to the true cost of one more item (). That is why factories use it. The derivative estimates the cost of one more unit.
The radius of a rubber ball grows at cm/s. How fast is its surface area growing when cm?
Step 1, link. The surface area is .
Step 2, differentiate. .
Step 3, substitute. At : cm²/s.
Step 4, check. Positive, so the surface grows. Answer: about 50.27 cm²/s.
6.3 Exercise 6.1: Rate of Change Problems
6.4 Increasing and Decreasing Functions
Imagine walking from left to right along a graph. If you are going uphill, the function is increasing. If you are going downhill, it is decreasing. In exact words, on an interval:
- [Board Standard] A function is increasing if a larger input always gives a larger output: means .
- [HOTS] A function is decreasing if a larger input always gives a smaller output: means .
The plain-words version comes first, but in an exam you must use these exact sentences. They say what increasing and decreasing mean for every pair of inputs, not just for one point.
You do not need to draw the graph. The sign of the slope tells you:
| Sign of on an interval | What the function does |
|---|---|
| (positive) | increasing |
| (negative) | decreasing |
| at every point | constant |
Why does this work? A positive slope at a point means the graph heads upward there. If the slope stays positive across a whole interval, the graph can never turn back down. So the values keep growing. The same logic with the signs flipped explains the decreasing case. The sign of the slope decides rise or fall.
If is zero only at a few separate points and has the same sign everywhere else, the function is still increasing (or decreasing) through those points. For example, has slope at but still climbs the whole time.
- [Concept] Find .
- [Board Standard] Solve . These points cut the number line into intervals.
- [Board Standard] Choose one test point inside each interval and find the sign of there.
- [HOTS] Write down where is increasing and where it is decreasing.
The test point is your sample. Because the sign of a continuous derivative can only change where it is zero, one sample tells you the sign for the whole interval.
Find where is increasing and decreasing.
Step 1. .
Step 2. at and . These split the line into three intervals.
| Interval | Test point | Sign of | Behaviour of |
|---|---|---|---|
| (positive) | increasing | ||
| (negative) | decreasing | ||
| (positive) | increasing |
So is increasing on and on , and decreasing on . The values at the turning points are and . Including the end points is correct because the function is continuous there.
Graph of a cubic curve. It rises until the point (1, 5), falls until the point (2, 4), then rises again. Rising parts are teal and the falling part is orange.
Read the figure against the table. On the teal parts the test-point slopes were positive (12 and 6). On the orange part the test-point slope was negative (-1.5). The markers sit exactly at the turning points found in Step 2.
Find where is increasing and decreasing.
, which is zero at . Test points: at the slope is (negative); at it is (positive); at it is (negative); at it is (positive).
| Interval | Sign of | Behaviour |
|---|---|---|
| negative | decreasing | |
| positive | increasing | |
| negative | decreasing | |
| positive | increasing |
Graph of a W-shaped curve with valleys at (-2, -16) and (2, -16) and a hill at (0, 0). Falling parts are orange and rising parts are teal.
Read the figure piece by piece. Each colour change happens at a point where the derivative is zero. The two valleys have the same value, -16, and the middle hill reaches 0.
For we get . An exponential is always positive, so for every . The function is decreasing on the whole real line. This is the pattern of a battery that loses a fixed fraction of its charge every hour.
Show that is increasing on the whole real line. We have . Since , we get always. It equals only at , which are separate points. So is increasing everywhere.
For we get . This is negative when and positive when . So is decreasing on and increasing on . The lowest point of the parabola is at .
6.5 Maxima and Minima: Local Extrema and Derivative Tests
A local maximum is the top of a small hill on the graph: nearby points are all lower. A local minimum is the bottom of a small valley: nearby points are all higher. The word extremum means either of them. Local means we compare only with nearby points, so a local maximum need not be the highest point of the whole graph.
A critical point of is a point inside the domain where either or is not differentiable. Peaks and valleys can only happen at critical points.
This narrows the search a lot. Instead of checking every point, we only check the critical points. But not every critical point is a peak or a valley, so we need tests to decide.
Move from left to right through a critical point and watch the sign of . If the graph was going up and then starts going down, you have crossed a hill top. If it was going down and starts going up, you have crossed a valley bottom:
| Sign of just left of | Sign of just right of | What happens at |
|---|---|---|
| positive (going up) | negative (going down) | local maximum |
| negative (going down) | positive (going up) | local minimum |
| same sign on both sides | same sign on both sides | neither |
This test always works. It works even when the function has a sharp corner, because it only looks at slopes on each side, never at the second derivative.
Suppose and the second derivative exists at . The second derivative tells how the slope itself is changing:
| Condition | Meaning | Conclusion |
|---|---|---|
| and | slope falls from positive to negative | local maximum at |
| and | slope rises from negative to positive | local minimum at |
| and | the test cannot decide | use the first derivative test |
Why does the sign of the second derivative decide? A negative second derivative means the slope is falling as we move right. Since the slope is zero at and falling, it must have been positive before and negative after. That is exactly the hill-top pattern. A positive second derivative gives the valley pattern by the same logic.
Find the local maximum and minimum values of .
Step 1, critical points. , so the critical points are and .
Step 2, second derivative. .
| Critical point | Conclusion | Value of | |
|---|---|---|---|
| (negative) | local maximum | ||
| (positive) | local minimum |
Step 3, cross-check with the first derivative test. Left of (at ) the slope is , positive. Between and (at ) it is , negative. Right of (at ) it is , positive. So the slope goes to at (a maximum) and to at (a minimum). Both tests agree.
Graph of a cubic curve with a peak at the point (-1, 10) and a valley at the point (3, -22). The curve rises up to the peak, falls to the valley, and then rises again.
Read the figure with the tables. The curve climbs from the left, reaches the marked peak at (-1, 10), drops all the way to the marked valley at (3, -22), and climbs again. The second-derivative table and the slope-sign check point to the same two places.
Remember that these are local values. The curve goes on rising to very large values for large , so the local maximum () is not the largest value of the function. A local value is only the best one nearby.
Look at . Here is zero at , and is also at . The second derivative test cannot decide. Use the first derivative test: for the slope is negative, and for it is positive. The slope changes from negative to positive, so is a local minimum.
Now compare . Again and . But is positive on both sides of . The sign does not change, so is neither a maximum nor a minimum.
The lesson: when the second derivative is zero, fall back to watching the sign change. The first derivative test never fails.
Find the local extrema of on .
Step 1. when , so or . Step 2. The second derivative is .
- [Board Standard] At : (negative), so there is a local maximum of .
- [HOTS] At : (positive), so there is a local minimum of .
Graph of sin x plus cos x from 0 to 2 pi. It starts at height 1, rises to a peak near 0.79 with height 1.41, falls to a valley near 3.93 with height -1.41, and returns to 1.
Read the figure: the curve starts at 1, climbs to the marked peak, slides down through zero to the marked valley, and climbs back to 1. The two marked points are exactly the critical points from Step 1.
Let . At the graph has a sharp corner, so is not differentiable there, and is a critical point for that reason. For the slope is and for it is . The slope changes from negative to positive, so is a local minimum, with value . The second derivative test could not be used here at all.
6.6 Absolute Extrema in a Closed Interval and Optimization Working Rule
A local maximum is only the best value nearby. Often we want the best value over a whole stretch of the graph, for example the highest temperature during one day. This is the absolute maximum. The lowest value over the stretch is the absolute minimum.
A closed interval includes both of its end points. Here is an important fact:
Continuity on a closed stretch guarantees that the highest and lowest points exist. Without the end points, or without continuity, the best value can slip away, as you will see below.
Where can they be? Only at two kinds of places:
- [Board Standard] at a critical point inside the interval (where or is not differentiable), or
- [HOTS] at an end point of the interval.
That is why the method is simple: list these few candidate points, compute at each one, and compare. On a closed interval, compare critical points and end points.
Find the absolute maximum and minimum of on .
Step 1. gives , which lies inside .
Step 2. The end points are and .
Step 3. , , . The three candidates give 11, 2 and 6.
So the absolute minimum is 2 at (a critical point), and the absolute maximum is 11 at (an end point). The local story and the end points share the work.
Take from the last section. Its critical points are and . The values are and . The answer depends on the interval you are given:
| Interval | Candidates (critical points inside, and end points) | Absolute maximum | Absolute minimum |
|---|---|---|---|
| , , , | 10 at | -22 at | |
| , , | 10 at (an end point) | -22 at | |
| , , , | 59 at (an end point) | -22 at |
Study the table row by row. On the peak wins. On the peak at is outside the interval, so an end point wins. On the far right end point beats everything.
Graph of a cubic curve on the interval from -2 to 4. The highest point is the peak at (-1, 10) and the lowest point is the valley at (3, -22). The end points (-2, 3) and (4, -15) are also marked.
Read the figure for the first row of the table. The grey end points sit at heights 3 and -15. The red peak at 10 is higher than both, and the red valley at -22 is lower than both. That is why the absolute values fall on the critical points here, but not in every row.
If the interval is not closed, the best value may not exist. For on , the function keeps growing as gets closer to , so there is no absolute maximum. Also, on the open interval has no minimum and no maximum, because the end points and are not allowed.
The closed-interval rule needs both words: closed, so the end points are in the race, and interval with continuity, so the graph has no jumps that hide the top.
To find the absolute maximum and minimum of a continuous function on a closed interval :
- [Concept] Find the critical points of inside : the points where , and the points where is not differentiable.
- [Board Standard] Add the end points and to the list.
- [Board Standard] Calculate at every point in the list.
- [HOTS] Compare. The largest value is the absolute maximum. The smallest value is the absolute minimum.
Find the absolute maximum and minimum of on .
Step 1. . The critical points are and . Both lie inside .
Step 2. The end points are and .
Step 3. Calculate the values:
Step 4. The largest value is , so the absolute maximum is at . The smallest value is , so the absolute minimum is at . Both are at end points. The local maximum at is only a local one.
Sanity check: the local maximum 29 at and the local dip 28 at both lie between the end values 24 and 56. Nothing outside the candidate list can beat the list, so the comparison is complete.
Find the absolute maximum and minimum of on .
The graph of dips below the -axis between and . The absolute value flips that part upward, so has sharp corners at and . These are not differentiable, so they are critical points. Between and we have , with , which is zero at .
The absolute maximum is , reached at and at . The absolute minimum is , reached at the two corners and . The small hill at (value ) is only a local maximum.
Graph of the absolute value of x squared minus 4 on the interval from -3 to 3. It looks like a W with a rounded hill in the middle: it touches zero at x = -2 and x = 2, rises to 4 at x = 0, and rises to 5 at the ends x = -3 and x = 3.
Read the figure like a W. The two feet touch zero at the corners, which the derivative test could never find, because the slope does not exist there. The table lists every candidate, including those corners, which is why the answer is safe.
Find the absolute maximum and minimum of on .
Step 1. , so the critical points are and . Only lies strictly inside; is also an end point.
Step 2 and 3. The candidates are , and . The values are , and .
So the absolute maximum is , reached twice, at and at . The absolute minimum is at . When the same best value appears at two places, report both.
6.7 Exercise 6.3: Optimization and Extrema Problems
6.8 Miscellaneous Worked Examples and Advanced Problems
Many real "find the best" problems are solved the same way. Step 1: write the quantity to be made largest or smallest as a function of one variable. Step 2: decide the allowed interval for that variable. Step 3: apply the working rule.
A square sheet of card has sides of cm. A small square of side cm is cut from each corner and the sides are folded up to make a box with no lid. What value of gives the box of greatest volume?
Step 1, one variable. After cutting, the base is a square of side and the height is . So the volume is , where .
Step 2, differentiate. , which is zero at and .
Step 3, compare. At the volume is . At it is too. At it is .
The greatest volume is 1024 cm³, with cm. Sanity check: a cut of cm leaves a cm base, a sensible box. A cut near gives a flat tray and a cut near gives almost nothing, so the middle winner makes sense.
Graph of the volume of the box against the cut size x, for x from 0 to 12. The curve starts at 0, rises to a peak of 1024 at x = 4, and falls back to 0 at x = 12.
Read the figure: the volume is zero at both ends, which matches the flat-tray and nothing-left pictures. The single peak at (4, 1024) must be the absolute maximum, and the working rule confirms it.
A farmer has m of fence and will fence three sides of a rectangular field. The fourth side is a long wall. Find the largest area.
Step 1, one variable. Let each of the two equal sides be m. The side parallel to the wall is m. The area is for .
Step 2, differentiate. gives .
Step 3, compare. At and the area is . So the largest area is m². The field is m by m: the side along the wall is twice the other sides.
Graph of the field area against the side length x, for x from 0 to 60. The curve is a hill with its top at (30, 1800).
Read the figure: the hill is symmetric, zero at both ends, with its top exactly in the middle at . Sanity check: the wall side is m, twice m, the classic three-sided answer.
A closed cylindrical can must hold cm³. Find the radius and height that use the least metal.
Step 1, one variable. Let the radius be and the height . The volume gives , so . The surface area is .
Step 2, differentiate. gives , so cm.
Step 3, compare and verify. Then cm, which is exactly . The least surface area is about cm². Check: for very small the can is a tall thin tube and is large. For very large it is a flat disc and is also large. So the one critical point must give the minimum.
Graph of the can surface area against the radius r, for r from 1 to 12. The curve falls steeply, reaches its lowest point near r = 4.3 with area about 349.34, and then climbs again.
Read the figure: the left end is very high (a tall thin tube) and the right end climbs again (a flat disc). The valley between them is the cheapest can, with height equal to its diameter.
Which point of the curve is closest to the point ?
Step 1, one variable. The squared distance from to is . Minimising is the same as minimising and avoids square roots.
Step 2, differentiate. gives or .
Step 3, compare. At , , a local maximum. At , . So the closest points are , and the least distance is .
Graph of squared distance against x. The curve is W-shaped with a hill of height 9 at x = 0 and two valleys of height 2.75 near x = -1.58 and x = 1.58.
Read the figure: the middle hill at (0, 9) is the point of the curve, straight below but not the closest. The two valleys are lower, so the closest points sit off to the sides. Symmetry gives two answers, one on each side.
A rectangle has a diagonal of length . Find the largest possible area.
Step 1, one variable. Let the diagonal make an angle with a side, where . The sides are and , so the area is .
Step 2, differentiate. gives , that is . Step 3, compare. At the ends ( or ) the area is . So the largest area is . The sides are both : the best rectangle is a square.
6.9 Chapter Summary and Derivative Application Checklist
The derivative measures change. This chapter turned that one idea into a full toolkit: rates, rise and fall, peaks and valleys, and best choices. The table below collects the tests with the conditions that make each one valid.
| Question | Test | Condition |
|---|---|---|
| How fast is it changing? | at the point | differentiate first, substitute numbers last |
| Where does it rise or fall? | rises; falls | on an interval between zeros of |
| Hill top or valley? | changes to (top); to (valley) | works always, even at corners |
| Hill top or valley, quick way? | with (top); (valley) | exists and is not zero |
| Best on ? | compare at critical points and end points | continuous on |
- Rate of change: is the rate at which changes with . For rates in time, use the chain rule: . Differentiate first, substitute numbers last.
- Increasing and decreasing: if on an interval, is increasing there. If , is decreasing. Split the line at the points where and test one point in each piece.
- Critical point: a point where or is not differentiable. Every local maximum or minimum is at a critical point, but not every critical point is a maximum or a minimum.
- First derivative test: if changes from to at , there is a local maximum. If it changes from to , there is a local minimum. If it does not change sign, there is neither.
- Second derivative test: if and , local maximum. If and , local minimum. If , the test fails: use the first derivative test.
- Absolute maximum and minimum on : list the critical points inside the interval and the two end points, calculate at each, and compare. A continuous function on a closed interval always has both.
- Best-choice problems: write the quantity as a function of one variable, find the allowed interval, then use the working rule. Check the ends: the best value often sits there, and a quick sanity check of the size guards against algebra slips.