Applications of Derivatives/Extrema and the Mean Value Theorem

Lesson 3.11,541 words

Extrema and the Mean Value Theorem

Absolute and local extrema, the Extreme Value Theorem that guarantees them, and Fermat's Theorem pinning candidates to critical numbers. The Closed Interval Method turns the search for extrema into a finite checklist.

╌╌╌╌

Optimization problems ask for the shape of a can that minimizes material, the branching angle that minimizes the work of pumping blood, the production level that maximizes profit. Every such problem reduces to locating the largest or smallest value of a function. Two theorems make the search finite: the Extreme Value Theorem guarantees that a continuous function on a closed interval attains its extremes, and Fermat's Theorem pins the interior candidates to points where the derivative vanishes. The Mean Value Theorem then converts a bound on the derivative into a bound on the function itself.

Absolute and local extrema

A function can be large in two different senses: larger than every other value it takes, or merely larger than its immediate neighbors. Both matter, and they carry separate names.

Absolute extrema are also called global extrema, and the maximum and minimum values together are the extreme values of . A local extremum is a purely neighborhood property; an absolute extremum is a statement about the whole domain. An endpoint can be an absolute extremum without being a local one, because a local extremum requires an open interval on both sides.

On a closed interval the absolute maximum sits at an endpoint while interior peaks and valleys are only local extrema.

Some functions have extreme values and some do not. The function attains its absolute minimum at the origin but has no maximum; has no extreme values at all, local or absolute, since it is strictly increasing. The following theorem states exactly when existence is guaranteed.

Both hypotheses are needed. Drop continuity and a function can approach a value it never attains; drop the closed interval, replacing with the open , and the same failure occurs at the missing endpoints. The theorem is plausible from a picture but its proof requires the completeness of the real numbers, so Stewart states it without proof.1 It is an existence theorem: it promises the extrema exist but says nothing about where they are.

Both hypotheses are needed: a jump discontinuity lets a function approach a bound it never attains, and an open interval lets it grow without ever reaching an endpoint.

Fermat's Theorem and critical numbers

Locating an interior extremum uses one observation about the tangent line. At the top of a smooth hill or the bottom of a smooth valley, the tangent is horizontal.

The proof reads the sign of the difference quotient from both sides. Suppose has a local maximum at . For small , , so . Dividing by keeps the sign, and dividing by flips it:

Both one-sided limits equal because the derivative exists, so and at once, forcing .

Two cautions keep Fermat's Theorem from being misread. Its converse is false: does not imply an extremum. And it says nothing when fails to exist, yet an extremum can still occur there.

Fermat's Theorem has two escape hatches: a horizontal tangent that is not an extremum, and an extremum where the derivative fails to exist.

Both failure modes point to the same set of candidates: the places where the derivative is zero, plus the places where it does not exist.

Fermat's Theorem, restated: if has a local extremum at , then is a critical number. Local extrema occur only at critical numbers, so the search narrows to that (usually finite) list.

For example, the critical numbers of come from the product rule. Writing ,

The numerator vanishes at , giving ; the denominator vanishes at , where does not exist. Both and are critical numbers, so both must be tested.

The Closed Interval Method

On a closed interval an absolute extremum is either a local extremum, which lands on a critical number by Fermat's Theorem, or it occurs at an endpoint. That dichotomy is exhaustive, so a three-step procedure always finds the absolute extrema of a continuous function on .

Algorithm:ClosedIntervalMethod(f,a,b)\textsc{ClosedIntervalMethod}(f, a, b) — absolute extrema of a continuous ff on [a,b][a,b]
  1. 1
    find every critical number cc of ff in the open interval (a,b)(a, b)
  2. 2
    evaluate f(c)f(c) at each such critical number
  3. 3
    evaluate ff at the two endpoints aa and bb
  4. 4
    return the largest of these values as the absolute maximum
  5. 5
    return the smallest of these values as the absolute minimum

The method is finite because the candidate list is finite. There is no need to decide which critical numbers are maxima and which are minima; comparing the values sorts that out at the end.

Consider on . Since is a polynomial it is continuous, and exists everywhere, so the only critical numbers are and , both inside the interval. Tabulating the four candidates:

role
endpoint
critical
critical
endpoint

The absolute maximum is and the absolute minimum is . The maximum happens to sit at an endpoint and the minimum at an interior critical number; the method does not distinguish, since it only compares the tabulated values.

The graph of on : absolute minimum and maximum both fall at interior critical numbers, beating the endpoint heights.

Rolle's Theorem

The Mean Value Theorem follows from a special case in which the endpoints share a height. If a differentiable function returns to the same value, its derivative must vanish somewhere between.

Rolle's Theorem: equal endpoint heights force a horizontal tangent at some interior point, at a peak or a valley.

The proof splits into three cases. If is constant, then everywhere and any works. Otherwise takes some value above or below the common endpoint height. Suppose it rises above: by the Extreme Value Theorem attains a maximum on , and since the endpoints share the lower value that maximum occurs at an interior . Then has a local maximum at , is differentiable there, and Fermat's Theorem gives . The case where dips below is symmetric, using the minimum.

To show has exactly one real root, first note the Intermediate Value Theorem forces a root: and . Suppose there were two roots and . Then , and Rolle's Theorem would produce a with . But is never zero, a contradiction. So the root is unique.

The Mean Value Theorem

The Mean Value Theorem generalizes Rolle's Theorem. Instead of requiring equal endpoint heights, it compares the derivative to the average slope across the interval.

The right-hand quotient is the slope of the secant line through and . The theorem asserts that at some interior point the tangent line is parallel to that secant.2

The Mean Value Theorem: at some interior the tangent (slope ) runs parallel to the secant chord .

The proof applies Rolle's Theorem to the gap between and its own secant line. Let

the vertical distance from the curve down to the chord. Then is continuous on , differentiable on , and , so Rolle's Theorem gives a with . Differentiating,

so restates the Mean Value Theorem's conclusion.

Interpreted kinematically: if is position, then the secant slope is the average velocity and is the instantaneous velocity at time . A car that covers km in hours averages km/h, so its speedometer read exactly km/h at some instant. More generally, the instantaneous rate of change equals the average rate of change somewhere on the interval.

Consequences

The Mean Value Theorem converts information about into information about . Two consequences follow at once.

For any two points in the interval, the Mean Value Theorem gives a with , so . All values agree, so is constant. The interval hypothesis is essential: has zero derivative on its whole domain yet is not constant, because that domain, , is not an interval.

Applying the previous theorem to gives , hence is constant. Two functions with matching derivatives differ by a vertical shift. This is the fact that makes antiderivatives a family of curves differing by a constant, and it is the basis of the Fundamental Theorem of Calculus.

The Mean Value Theorem also bounds a function from a bound on its slope. If and for all , how large can be? On there is a with , so . The largest possible value of is .

Footnotes

  1. Stewart, §3.1 — Maximum and Minimum Values: the Extreme Value Theorem and its two hypotheses (continuity and a closed interval), stated without proof; Fermat's Theorem, critical numbers, and the Closed Interval Method.
  2. Stewart, §3.2 — The Mean Value Theorem: Rolle's Theorem and the Mean Value Theorem with the secant-tangent construction, the Constant Function Theorem, and its corollary on functions with equal derivatives.

╌╌ END ╌╌