4.2 The Extreme Value Theorem

In the study of calculus, we often focus on the local—the derivative as a slope at a point, or the tangent line as a linear approximation. But in the real world—in engineering, economics, and physics—we are almost always obsessed with the global. Where is the greatest stress on this bridge? What is the minimum energy configuration of this molecule? What is the maximum profit?

The Extreme Value Theorem (EVT) is our bridge from the local to the global. It guarantees that if a function is well-behaved (continuous) on a closed room (a closed, bounded interval), then it must have reached a top and a bottom. It tells us that our search for these values is not in vain.

Intuition (The Mountain Climbing Metaphor).

Think of the graph of ff as a mountain range. If you are standing at the base aa and you walk to bb without teleporting (continuity), you must have reached a highest peak and a lowest valley. If the interval were open, say (a,b)(a,b), you could potentially walk forever toward a boundary without ever reaching it (like f⁢(x)=1/xf(x)=1/x on (0,1)(0,1)), failing to attain a maximum.

Definition 4.2.1 (Global Extrema).

Let f:D→ℝf\colon D\to\mathbb{R} be a real-valued function defined on a subset D⊆ℝD\subseteq\mathbb{R}.

  1. (i)
    ​

    We say that ff attains an absolute maximum (or global maximum) at a point c∈Dc\in D if

    f⁢(c)≥f⁢(x)for all ⁢x∈D.f(c)\geq f(x)\quad\text{for all }x\in D.

    In this case, the scalar f⁢(c)f(c) is called the absolute maximum value of ff on DD.

  2. (ii)
    ​

    Similarly, ff attains an absolute minimum (or global minimum) at c∈Dc\in D if

    f⁢(c)≤f⁢(x)for all ⁢x∈D,f(c)\leq f(x)\quad\text{for all }x\in D,

    and f⁢(c)f(c) is called the absolute minimum value of ff on DD.

Collectively, the global maximum and minimum values of ff are known as the extreme values of the function.

Example 4.2.2 (Domain Dependence of Extrema).

The existence of global extrema is fundamentally constrained by the topology of the underlying domain:

  • •
    ​

    Consider the identity function f⁢(x)=xf(x)=x restricted to the compact (i.e., closed and bounded) interval dom⁡(f)=[−1,1]\operatorname{dom}(f)=[-1,1]. Since −1≤x≤1-1\leq x\leq 1 for all x∈[−1,1]x\in[-1,1], ff achieves:

    minx∈[−1,1]⁡f⁢(x)=f⁢(−1)=−1,maxx∈[−1,1]⁡f⁢(x)=f⁢(1)=1.\min_{x\in[-1,1]}f(x)=f(-1)=-1,\qquad\max_{x\in[-1,1]}f(x)=f(1)=1.
  • •
    ​

    If we instead consider the identity function f⁢(x)=xf(x)=x on the unbounded domain dom⁡(f)=(−∞,∞)\operatorname{dom}(f)=(-\infty,\infty), the function possesses neither an absolute maximum nor an absolute minimum because limx→±∞f⁢(x)=±∞\lim_{x\to\pm\infty}f(x)=\pm\infty.

  • •
    ​

    Consider f⁢(x)=x2f(x)=x^{2} on dom⁡(f)=(−∞,∞)\operatorname{dom}(f)=(-\infty,\infty). Because x2≥0=f⁢(0)x^{2}\geq 0=f(0) for all x∈ℝx\in\mathbb{R}, we have

    minx∈(−∞,∞)⁡f⁢(x)=f⁢(0)=0,\min_{x\in(-\infty,\infty)}f(x)=f(0)=0,

    while no absolute maximum exists.

  • •
    ​

    On the compact domain dom⁡(f)=[−1,1]\operatorname{dom}(f)=[-1,1], the function f⁢(x)=x2f(x)=x^{2} satisfies

    minx∈[−1,1]⁡f⁢(x)=f⁢(0)=0,maxx∈[−1,1]⁡f⁢(x)=f⁢(±1)=1.\min_{x\in[-1,1]}f(x)=f(0)=0,\qquad\max_{x\in[-1,1]}f(x)=f(\pm 1)=1.

    Here, the maximum value is attained at two distinct boundary points, c=−1c=-1 and c=1c=1.

  • •
    ​

    For the reciprocal function f⁢(x)=1xf(x)=\frac{1}{x} on the non-compact, punctured domain dom⁡(f)=[−1,0)∪(0,1]\operatorname{dom}(f)=[-1,0)\cup(0,1], the vertical singularity yields limx→0+f⁢(x)=+∞\lim_{x\to 0^{+}}f(x)=+\infty and limx→0−f⁢(x)=−∞\lim_{x\to 0^{-}}f(x)=-\infty. Consequently, ff attains neither a global maximum nor a global minimum.

Theorem 4.2.3 (Extreme Value Theorem).

Let f:[a,b]→ℝf\colon[a,b]\to\mathbb{R} be a continuous function defined on a closed and bounded interval [a,b][a,b]. Then ff is bounded and attains both a global maximum and a global minimum on [a,b][a,b]; that is, there exist points cmin,cmax∈[a,b]c_{\min},c_{\max}\in[a,b] such that

f⁢(cmin)≤f⁢(x)≤f⁢(cmax)for all ⁢x∈[a,b].f(c_{\min})\leq f(x)\leq f(c_{\max})\quad\text{for all }x\in[a,b].

Theorem 4.2.3 is an existence result, in the sense that it does not tell us what are the extreme values nor where to locate them on the xx-axis. Nevertheless, it require a minimal assumption: continuity on a compact interval. In practice, if we know further that our function is differentiable, Theorem 4.2.5 below provides an efficient way to evaluate the extreme values. Since differentiation is inherently a local definition, thus we first need to adapt our notion of extrema in local setting.

Definition 4.2.4 (Local Extrema).

Let f:[a,b]→ℝf\colon[a,b]\to\mathbb{R} and let c∈(a,b)c\in(a,b).

  1. (i)
    ​

    The value f⁢(c)f(c) is a local minimum (or minimum relative) of ff if there exists an open interval (c0,c1)⊆[a,b](c_{0},c_{1})\subseteq[a,b] containing cc such that

    f⁢(c)≤f⁢(x)for all ⁢x∈(c0,c1).f(c)\leq f(x)\quad\text{for all }x\in(c_{0},c_{1}).
  2. (ii)
    ​

    The value f⁢(c)f(c) is a local maximum (or maximum relative) of ff if there exists an open interval (c0,c1)⊆[a,b](c_{0},c_{1})\subseteq[a,b] containing cc such that

    f⁢(c)≥f⁢(x)for all ⁢x∈(c0,c1).f(c)\geq f(x)\quad\text{for all }x\in(c_{0},c_{1}).
Caveat (Local vs. Global).

A common student error is confusing local extrema with global extrema. A local maximum is a peak in a neighborhood; a global maximum is the highest point in the entire domain, see Figure 4.2.

A Cartesian coordinate graph illustrating the concepts of local and absolute extrema for a continuous function y = f(x) defined on a closed interval [a, b]. The curve features a sharp peak or cusp at x=c1, representing a local maximum where the derivative does not exist. The other extrema, including the absolute minimum at x=c2, the local maximum at x=c3, and the local minimum at x=c4, remain smooth. All key points are marked with solid blue dots and projected onto the x-axis with dashed lines.
Figure 4.2: Local and absolute extreme values of a function ff on a closed interval [a,b][a,b].
Theorem 4.2.5 (Fermat’s Theorem on Local Extrema).

If ff attains a local extremum (local maximum or local minimum) at an interior point c∈(a,b)c\in(a,b) and the derivative f′⁢(c)f^{\prime}(c) exists, then

f′⁢(c)=0.f^{\prime}(c)=0.
Definition 4.2.6 (Critical Point).

Let f:[a,b]→ℝf\colon[a,b]\to\mathbb{R}. An interior point c∈(a,b)c\in(a,b) is called a point critical of ff if either:

f′⁢(c)=0orf′⁢(c)⁢ does not exist.f^{\prime}(c)=0\quad\text{or}\quad f^{\prime}(c)\text{ does not exist}.
Caveat (Critical Points vs. Local Extrema).

Fermat’s theorem asserts that every interior local extremum at which ff is differentiable must be a critical point:

Local extremum at ⁢c⟹c⁢ is a critical point.\text{Local extremum at }c\implies c\text{ is a critical point}.

The converse is strictly false:

  1. (i)
    ​

    Stationary point without an extremum: For f⁢(x)=x3f(x)=x^{3}, the derivative satisfies f′⁢(x)=3⁢x2f^{\prime}(x)=3x^{2}, so f′⁢(0)=0f^{\prime}(0)=0. However, x=0x=0 is neither a local maximum nor a local minimum, as f⁢(x)<0f(x)<0 for x<0x<0 and f⁢(x)>0f(x)>0 for x>0x>0. Instead, the origin is a horizontal inflection point.

  2. (ii)
    ​

    Non-differentiable point without an extremum: For f⁢(x)=x1/3f(x)=x^{1/3}, the point x=0x=0 is a critical point because f′⁢(0)f^{\prime}(0) does not exist (the tangent line is vertical), yet ff is strictly increasing across 0 and admits no local extremum there.

Moral (Closed Interval Method for Absolute Extrema).

To locate the absolute maximum and absolute minimum of a continuous function f:[a,b]→ℝf\colon[a,b]\to\mathbb{R}:

  1. (i)
    ​

    Identify Candidates: Find all critical points c∈(a,b)c\in(a,b) of ff, where f′⁢(c)=0f^{\prime}(c)=0 or f′⁢(c)f^{\prime}(c) fails to exist.

  2. (ii)
    ​

    Evaluate at all the Critical Points and Boundaries: Evaluate ff at all critical points in (a,b)(a,b) and at the boundary endpoints x=ax=a and x=bx=b.

  3. (iii)
    ​

    Compare: Compare the computed values:

    • •
      ​

      The largest of these values is the global maximum.

    • •
      ​

      The smallest of these values is the global minimum.

Example 4.2.7 (Polynomial).

Find the global extrema of f⁢(x)=x4−2⁢x3f(x)=x^{4}-2x^{3} on [−2,2][-2,2].

  1. 1.
    ​

    Derivative: f′⁢(x)=4⁢x3−6⁢x2=2⁢x2⁢(2⁢x−3)f^{\prime}(x)=4x^{3}-6x^{2}=2x^{2}(2x-3).

  2. 2.
    ​

    Critical Points: f′⁢(x)=0⟹x=0f^{\prime}(x)=0\implies x=0 or x=3/2x=3/2. Both are in (−2,2)(-2,2).

  3. 3.
    ​

    Evaluation:

    • •
      ​

      f⁢(−2)=(−2)4−2⁢(−2)3=16+16=32f(-2)=(-2)^{4}-2(-2)^{3}=16+16=32.

    • •
      ​

      f⁢(0)=0f(0)=0.

    • •
      ​

      f⁢(3/2)=(3/2)4−2⁢(3/2)3=8116−548=81−10816=−27/16f(3/2)=(3/2)^{4}-2(3/2)^{3}=\frac{81}{16}-\frac{54}{8}=\frac{81-108}{16}=-27/16.

    • •
      ​

      f⁢(2)=24−2⁢(2)3=16−16=0f(2)=2^{4}-2(2)^{3}=16-16=0.

    We can organize the values into Figure 4.3, which will be extended later to include more information from the derivatives.

    A TikZ-drawn table of selected points for function f. The top row lists values of x as -2, 0, 3/2, and 2, separated from the bottom row of f-values by a horizontal line. The bottom row lists the corresponding f-values: 32 (highlighted in red), 0, -27/16 (highlighted in blue), and 0. A vertical line separates the labels x and f from their respective data values.
    Figure 4.3: Table of values of the function f⁢(x)=x4−2⁢x3f(x)=x^{4}-2x^{3}.

    Conclusion: Global max is 3232 at x=−2x=-2; global min is −27/16-27/16 at x=3/2x=3/2.

Example 4.2.8 (Singular Derivatives).

Find the extreme values of f⁢(x)=x2/3⁢(2−x)f(x)=x^{2/3}(2-x) on [−1,2][-1,2].

  1. 1.
    ​

    Derivative: f′⁢(x)=23⁢x−1/3⁢(2−x)+x2/3⁢(−1)=2⁢(2−x)−3⁢x3⁢x1/3=4−5⁢x3⁢x1/3f^{\prime}(x)=\frac{2}{3}x^{-1/3}(2-x)+x^{2/3}(-1)=\frac{2(2-x)-3x}{3x^{1/3}}=% \frac{4-5x}{3x^{1/3}}.

  2. 2.
    ​

    Critical Points: f′⁢(x)f^{\prime}(x) DNE at x=0x=0. f′⁢(x)=0f^{\prime}(x)=0 at x=4/5x=4/5.

  3. 3.
    ​

    Comparison:

    • •
      ​

      f⁢(−1)=(−1)2/3⁢(2−(−1))=1⋅3=3f(-1)=(-1)^{2/3}(2-(-1))=1\cdot 3=3.

    • •
      ​

      f⁢(0)=0f(0)=0.

    • •
      ​

      f⁢(4/5)=(4/5)2/3⁢(2−4/5)=(0.8)2/3⁢(1.2)≈1.03f(4/5)=(4/5)^{2/3}(2-4/5)=(0.8)^{2/3}(1.2)\approx 1.03.

    • •
      ​

      f⁢(2)=22/3⁢(2−2)=0f(2)=2^{2/3}(2-2)=0.

    We put them in Figure 4.4:

    A TikZ-drawn table of selected points for function f(x). The top row lists values of x as -1, 0, 4/5, and 2, separated from the bottom row of f(x)-values by a horizontal line. The bottom row lists the corresponding f(x)-values: 1, 0 (highlighted in blue), approximately 1.03 (highlighted in red), and 0 (highlighted in blue). A vertical line separates the labels x and f(x) from their respective data values.
    Figure 4.4: Table of values of the function f⁢(x)=x2/3⁢(2−x)f(x)=x^{2/3}(2-x).

    Conclusion: Global max is 33 at x=−1x=-1; global min is 0 at x=0x=0 and x=2x=2.