A527 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 f(x)=x3−6x2+9x+1, studied on the interval from a to b (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: x=1 and x=3.

Predict

On the interval [0,5], where is the maximum of f(x)=x3−6x2+9x+1?

Name it

Critical points

A critical point of f is where f′(x)=0 or f′(x) doesn't exist (a corner, like |x| 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: x3 has f′(0)=0 but just keeps rising through it.

The closed-interval method

The extreme value theorem: a continuous function on a closed interval [a,b] has a largest and a smallest value there. To find them:

  1. find the critical points inside (a,b);
  2. evaluate f at each of them and at both endpoints;
  3. the biggest of those values is the maximum, the smallest the minimum.

Classifying critical points

First derivative test: if f′ changes from + to − at c, it's a local maximum; from − to +, a local minimum; no change, neither.

Second derivative test: at a point with f′(c)=0,

  • f′′(c)<0: local maximum (concave down);
  • f′′(c)>0: local minimum (concave up);
  • f′′(c)=0: 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 f(x)=x3−6x2+9x+1 on [0,4].

Show the solution
  1. Find the critical points. f′(x)=3x2−12x+9=3(x−1)(x−3) zero at x=1 and x=3, both inside.
  2. Compare them with the ends.
x0134
f(x)1515
  1. Read off the extremes. The maximum is 5, reached at both x=1 and x=4; the minimum is 1, at both x=0 and x=3. Ties happen, and the method finds them.

Answer the maximum is 5, at x=1 and x=4, and the minimum is 1, at x=0 and x=3.

Worked example

A converter can run a solar panel between 10 and 15 V, where the panel delivers P(V)=8V−0.004V3 watts. What voltage maximizes power?

Show the solution
  1. Find the critical point. P′(V)=8−0.012V2 which is zero at V=8/0.012=25.8V outside the range.
  2. Check the endpoints. Inside [10,15] there's no critical point, so the maximum is at an endpoint: P(10)=76W,P(15)=106.5W
  3. 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 f(x)=xe−x on [0,3].

Show the solution
  1. Differentiate. f′(x)=e−x−xe−x=e−x(1−x) which is zero only at x=1.
  2. Compare the critical point with the ends.
x013
f(x)01/e=0.3683e−3=0.149
  1. Read off the extremes. The maximum is 0.368 at x=1 and the minimum is 0 at x=0.
  2. 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 1/e=0.368, at x=1, and the smallest is 0, at x=0.

Check

f(x)=x3−32(1+3)x2+313x has critical points where f′(x)=3(x−1)(x−3)=0. What is their product?

Check

What is the maximum value of f(x)=9x−x33 for x≥0?

Check

A panel delivers P(V)=8V−0.004V3 watts. A converter can only use voltages from 10 to 15 V. What is the most power it can draw?

Check

At x=c, f′(c)=0 and f′′(c)=−3. What is c?

Check

Where is the maximum of f(t)=te−3t for t≥0?

Check

Let f(x)=x2e−x/2 for x≥0.

(a)

Where is its critical point with x>0?

(b)

What is the maximum value of f?

(c)

What is f(3)?

Check

Find the maximum of f(x)=xe−kx for x≥0.

Step 1

Differentiate and factor out e−kx.

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°.

Explain why

Why must you check the endpoints of an interval, and not just the points where f′=0?

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.