Euler Hall — free maths guides

Find absolute extrema of a continuous function on a closed interval

List the candidates for an absolute extremum on a closed interval. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus I guides.

The closed interval method

The extreme value theorem promises an absolute maximum and an absolute minimum exist on a closed bounded interval, providedff is continuous. It does not promise where. But it narrows the possibilities to a short list, and that list is the whole method.

The closed interval method. Forff continuous on[a,b][a,b]:

  1. 1. find every critical point offf inside(a,b)(a,b);
  2. 2. evaluateff at each of them;
  3. 3. evaluateff at both endpointsaa andbb;
  4. 4. the largest of those values is the absolute maximum, the smallest the absolute minimum.

Nothing else can win. An interior extremum must be at a critical point, and an extremum at the boundary must be at an endpoint — so a complete search needs no more than that.

The step students skip is 3. On a closed interval the endpoints are not decoration; they are often the answer, and the function need not be flat there at all.

Why nothing else can win

Suppose the absolute maximum is attained at a pointcc. Two cases.

*cc is inside.** Then it is an interior extremum, so by Fermat's theoremf′(c)=0f'(c) = 0 (the theorem's hypothesis of differentiability is worth noting, but on an interior maximum even a nondifferentiable point is still critical by the broader definition). Either waycc is on the list.

*cc is an endpoint.** Then it isaa orbb, both on the list.

There is no third case, because a point is either inside the interval or at its boundary. The method is therefore not a heuristic: it is exhaustive by construction, which is why listing the candidates and comparing is a proof rather than a guess.

Worked example: a cubic on a closed interval

f(x)=x3−3xf(x) = x^3 - 3x on[−2,2][-2, 2].

Critical points.f′(x)=3x2−3=3(x−1)(x+1)f'(x) = 3x^2 - 3 = 3(x-1)(x+1), zero atx=±1x = \pm1 — both inside.

Values.

  • -f(−2)=−8+6=−2f(-2) = -8 + 6 = -2
  • -f(−1)=−1+3=2f(-1) = -1 + 3 = 2
  • -f(1)=1−3=−2f(1) = 1 - 3 = -2
  • -f(2)=8−6=2f(2) = 8 - 6 = 2

Verdict. The absolute maximum is22, attained at bothx=−1x=-1 andx=2x=2 — the tie between an interior critical point and an endpoint is real and must be reported. The absolute minimum is−2-2, attained at bothx=−2x=-2 andx=1x=1.

A second example, a quadratic.f(x)=x2−4x+1f(x) = x^2 - 4x + 1 on[0,5][0, 5]:f′=2x−4f'=2x-4 givesx=2x=2, andf(2)=−3f(2) = -3,f(0)=1f(0) = 1,f(5)=6f(5) = 6. Maximum 6 at the endpoint, minimum−3-3 at the critical point.

By the end you can
  • List the candidates for an absolute extremum on a closed interval
  • Evaluate the function at every candidate and compare
  • Report where an extreme is attained and what its value is
  • Explain why the endpoint candidates cannot be omitted
Check yourself
  1. 1.f(x)=x3−3xf(x) = x^3 - 3x on[0,2][0, 2]: find its absolute extrema.
  2. 2. Why must the endpoints be checked?
  3. 3.f(x)=1/xf(x) = 1/x on[1,4][1, 4]: find its absolute extrema.
Answers

1.f′=3(x2−1)f'=3(x^2-1), sox=1x=1 inside;f(1)=−2f(1)=-2,f(0)=0f(0)=0,f(2)=2f(2)=2. Maximum 2 atx=2x=2, minimum−2-2 atx=1x=1. 2. Because an extremum can occur at a boundary, where the derivative need not vanish. 3.f′=−1/x2f'=-1/x^2 never zero, so only the ends:f(1)=1f(1)=1,f(4)=1/4f(4)=1/4. Maximum 1, minimum1/41/4.

Work out where to start — free, no accountAnswer six real questions — free, no account