APPLICATION OF DERIVATIVES
Chapter 6: Application of Derivatives
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?
6.1 Introduction
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:
- A positive slope means the value is going up. A negative slope means it is going down.
- A slope of zero means the graph is level for a moment. That is where a hill top or a valley bottom can be.
- 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 in orange.
The curve is . Its derivative is , which is zero at and , exactly where the peak and the valley are.
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.
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:
How to solve a rate problem:
- Draw a picture and name each changing quantity with a letter.
- Write a formula that links the quantities.
- Differentiate both sides with respect to time . Use the chain rule.
- Only now put in the numbers for the moment you are asked about.
- 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?
The area is . Differentiate with respect to : . Now put in and :
The radius of a spherical soap bubble grows at mm/s. How fast is its volume growing when mm?
The volume is . Differentiating gives . At :
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?
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 . Differentiate with respect to : , so
When , we have (because ). So m/s. The minus sign means the top is moving down, at m/s.
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: .
At the marginal cost is . Compare this with the true extra cost of making the 21st item: . The marginal cost () is a very good estimate of the cost of one more item ().
EXERCISE 6.1
- Find the rate of change of the area of a circle with respect to its radius when cm.
- The side of a square grows at cm/s. How fast is the area growing when the side is cm?
- The edge of a cube grows at cm/s. How fast is the volume growing when the edge is cm?
- A stone dropped in still water makes a circular ripple whose radius grows at cm/s. How fast is the enclosed area growing when the radius is cm?
- Air is pumped into a spherical balloon at cm³/s. How fast is the radius growing when cm?
- A ladder m long leans on a wall. Its bottom slides away at m/s. How fast does the top slide down when the bottom is m from the wall?
- The revenue from selling items is (in revenue units). Find the marginal revenue when .
- A point moves on the curve . Find the points where the -coordinate changes times as fast as the -coordinate.
Answers
- . At it equals cm²/cm.
- cm²/s.
- cm³/s.
- cm²/s.
- From : cm/s.
- , so . With , : m/s. The top moves down at about m/s.
- . At it equals revenue units per item.
- We need , and . So , which gives . The points are and .
6.3 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:
- A function is increasing if a larger input always gives a larger output: means .
- A function is decreasing if a larger input always gives a smaller output: means .
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 |
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.
- Find .
- Solve . These points cut the number line into intervals.
- Choose one test point inside each interval and find the sign of there.
- Write down where is increasing and where it is decreasing.
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 .
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.
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 |
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 .
EXERCISE 6.2
- Find the intervals where is increasing and decreasing.
- Find the intervals where is increasing and decreasing.
- Find the intervals where is increasing and decreasing.
- Show that is increasing on the whole real line.
- Find the intervals where is increasing and decreasing.
- For , find where is increasing and decreasing.
- Show that is increasing on the whole real line.
- Show that is decreasing on the interval .
- Find all values of for which is increasing on .
Answers
- . Decreasing on ; increasing on .
- . Increasing on and ; decreasing on .
- . Decreasing on and ; increasing on and .
- , which is positive for every because .
- and . So for and for . Increasing on ; decreasing on .
- . Decreasing on ; increasing on .
- . Because , we get for every .
- . On we have , so .
- , which is smallest at , where it equals . We need , so . Check: for , is increasing on . For the slope at is , so it fails.
6.4 Maxima and Minima
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.
Move from left to right through a critical point and watch the sign of :
| 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 |
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 |
Find the local maximum and minimum values of .
, so the critical points are and . The second derivative is .
| Critical point | Conclusion | Value of | |
|---|---|---|---|
| (negative) | local maximum | ||
| (positive) | local minimum |
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.
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.
Find the local extrema of on .
when , so or . The second derivative is .
- At : (negative), so there is a local maximum of .
- At : (positive), so there is a local minimum of .
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.4.1 Maximum and Minimum Values of a Function in a Closed Interval
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:
Where can they be? Only at two kinds of places:
- at a critical point inside the interval (where or is not differentiable), or
- 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.
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 |
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.
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.
Working Rule
To find the absolute maximum and minimum of a continuous function on a closed interval :
- Find the critical points of inside : the points where , and the points where is not differentiable.
- Add the end points and to the list.
- Calculate at every point in the list.
- 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.
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.
EXERCISE 6.3
- Find the local minimum value of .
- Find the local maximum and local minimum values of .
- For , show that has a local minimum at and find its value.
- Find the local extremum of and say whether it is a maximum or a minimum.
- Find the absolute maximum and minimum of on .
- Find the absolute maximum and minimum of on .
- Find the absolute maximum and minimum of on .
- Show that has no local maximum and no local minimum.
- Two positive numbers add up to . Find them if their product is as large as possible.
- A rectangle has area m². Find the sides for which its perimeter is as small as possible.
Answers
- gives . Since , there is a local minimum of .
- gives . is negative at and positive at . Local maximum: . Local minimum: .
- gives (since ). is at . The local minimum value is .
- gives . , and is negative. So is a local maximum, of value .
- , so the critical points are and . Values: , , , . Absolute maximum: at . Absolute minimum: at .
- gives or , so or . The values there are and . At the end points . Absolute maximum at ; absolute minimum at .
- gives . Values: , , . Absolute maximum at ; absolute minimum at and .
- is positive for every and is only at . The sign of never changes, so is increasing everywhere and has no peak and no valley.
- Let the numbers be and , with product . gives , and . Both numbers are , and the largest product is .
- Let one side be ; the other is . Perimeter . gives . Both sides are m (a square), and the least perimeter is m.
Miscellaneous Examples
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?
After cutting, the base is a square of side and the height is . So the volume is , where . Then , which is zero at and . At the volume is . At it is . At it is too.
The greatest volume is 1024 cm³, with cm.
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.
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.
Let each of the two equal sides be m. The side parallel to the wall is m. The area is for . gives . 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.
A closed cylindrical can must hold cm³. Find the radius and height that use the least metal.
Let the radius be and the height . The volume gives , so . The surface area is . Now gives , so cm.
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.
Which point of the curve is closest to the point ?
The squared distance from to is . Minimising is the same as minimising and avoids square roots. gives or . At , , a local maximum. At , . So the closest points are , and the least distance is .
A rectangle has a diagonal of length . Find the largest possible area.
Let the diagonal make an angle with a side, where . The sides are and , so the area is . gives , that is . The largest area is . The sides are both : the best rectangle is a square.
*Miscellaneous Exercise on Chapter 6*
- The radius of a spherical bubble grows at cm/s. How fast is its surface area growing when the radius is cm?
- Grain is poured onto a flat floor at m³/min and forms a cone whose height always equals its base radius. How fast is the height growing when the height is m?
- Show that is increasing on the whole real line.
- Find the intervals where is increasing and decreasing.
- Find all local maximum and minimum values of .
- Find the absolute maximum and minimum of on .
- A rectangle has area cm². Find its least possible perimeter.
- A closed tank in the shape of a box with a square base and no lid must hold m³. Find the base side and height that use the least material for the base and four sides.
- Show that the local maximum value of is smaller than its local minimum value.
- Find the value of for which has a local minimum at .
Answers
- , so cm²/s.
- With , , so . Then m/min.
- for all , and it is only at . So is increasing everywhere.
- . The factor is never negative, so the sign comes from . Decreasing on (the slope is at but the function keeps falling); increasing on .
- , zero at and . The slope is negative for , positive between and , and negative for . Local minimum: . Local maximum: .
- , so the critical points are , , . Values: , , , , . Absolute maximum at ; absolute minimum at .
- With sides and , , and gives . It is a square of side cm and the least perimeter is cm.
- With base side and height , the area is . gives , so m. Then m and the least area is m².
- gives . At the function has a local maximum of . At it has a local minimum of . Indeed . This happens because the graph has two separate branches.
- . Setting gives . Check: , and , so it is a local minimum.
Summary
- 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.