A5 · Lesson 27 · Maxima and minima
The largest value isn't always where the slope is zero
An engineer wants the largest power a solar panel can deliver, but only over the voltages its converter can actually use. The peak might be in the middle of that range, where the slope of the power curve is zero, or it might be at one end, where the curve is still climbing when the range runs out. Finding the true maximum on a range means checking both: the critical points inside, and the endpoints.
- The curve is , studied on the interval from to (the shaded markers).
- Move the interval. When is the largest value at a critical point, and when is it at an endpoint?
- Read the critical points in the strip: and .
Predict
On the interval , where is the maximum of ?
At : , more than . The local maximum at is only the highest point nearby. On a closed interval the biggest value overall can be at an end, so the endpoints must always be checked.
Name it
Critical points
A critical point of is where or doesn't exist (a corner, like at 0). Local maxima and minima of a differentiable function inside an interval can only occur at critical points, since anywhere else the function is still rising or falling.
Not every critical point is an extreme: has but just keeps rising through it.
The closed-interval method
The extreme value theorem: a continuous function on a closed interval has a largest and a smallest value there. To find them:
- find the critical points inside ;
- evaluate at each of them and at both endpoints;
- the biggest of those values is the maximum, the smallest the minimum.
Classifying critical points
First derivative test: if changes from + to − at , it's a local maximum; from − to +, a local minimum; no change, neither.
Second derivative test: at a point with ,
- : local maximum (concave down);
- : local minimum (concave up);
- : the test says nothing; use the first test.
In engineering
Constraints define the interval: a supply voltage can't be negative, a component value has a manufacturer's range, a duty cycle runs from 0 to 1. Many design optima sit right on a constraint ("use the largest capacitor that fits"), which is the endpoint case.
Worked example
Find the maximum and minimum of on .
Show the solution
- Find the critical points. zero at and , both inside.
- Compare them with the ends.
| 0 | 1 | 3 | 4 | |
|---|---|---|---|---|
| 1 | 5 | 1 | 5 |
- Read off the extremes. The maximum is 5, reached at both and ; the minimum is 1, at both and . Ties happen, and the method finds them.
Answer the maximum is 5, at and , and the minimum is 1, at and .
Worked example
A converter can run a solar panel between 10 and 15 V, where the panel delivers watts. What voltage maximizes power?
Show the solution
- Find the critical point. which is zero at outside the range.
- Check the endpoints. Inside there's no critical point, so the maximum is at an endpoint:
- Pick the voltage. Run the panel at 15 V, the converter's limit, where the power is still rising.
Answer 15 V, where the panel delivers 106.5 W.
Worked example
Find the largest and smallest values of on .
Show the solution
- Differentiate. which is zero only at .
- Compare the critical point with the ends.
| 0 | 1 | 3 | |
|---|---|---|---|
| 0 |
- Read off the extremes. The maximum is 0.368 at and the minimum is 0 at .
- Why the ends matter. The minimum sits at an end, where the slope isn't zero at all, which is why the ends always have to be checked.
Answer the largest value is , at , and the smallest is 0, at .
Check
has critical points where . What is their product?
Check
What is the maximum value of for ?
Check
A panel delivers watts. A converter can only use voltages from 10 to 15 V. What is the most power it can draw?
Check
At , and . What is ?
Check
Where is the maximum of for ?
Check
Let for .
(a)
Where is its critical point with ?
(b)
What is the maximum value of ?
(c)
What is ?
Check
Find the maximum of for .
Step 1
Differentiate and factor out .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Where is ?
Step 3
What is the maximum value?
Explain why
Why must you check the endpoints of an interval, and not just the points where ?
Setting only finds places where the function levels off. On a closed interval the function might still be rising (or falling) when the interval ends, so its largest or smallest value there can be at an endpoint where the slope isn't zero at all. The extreme value theorem guarantees a maximum and minimum exist, and they're always either at a critical point or at an endpoint, so checking both lists every candidate.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.