Absolute Extrema
“Beauty is so many things… and you are in all of them,” I said. “Wow! I thought that you were as romantic as a brick to the head or a nuclear bomb’s guts”, Susanne replied, Apocalypse, Anawim, #justothepoint.
“When bias narratives, misleading news without context, and blatant lies spread like wildfire, history needs to be rewritten and truth needs to be cancelled”, Anawim, #justothepoint.
Recall
Definition. A function f is a rule, relationship, or correspondence that assigns to each element x in a set D, x ∈ D (called the domain) exactly one element y in a set E, y ∈ E (called the codomain or range).
-
The pair (x, y) is denoted as y = f(x) where: x is the independent variable (input) and y is the dependent variable (output). Often, both the domain D and codomain E are the set of real numbers ℝ or subsets of ℝ. A mathematical function can be thought of as a black box (or machine) that takes an input from its domain and produces exactly one output in its codomain. Inside the machine lives a specific rule (formula, procedure, or mapping) that dictates or tells you which output corresponds to each input, and a key property is uniqueness —each input maps to a single, deterministic output. No input can ever produce two different results (Figure E). The function f(x) = x2 accepts any real number x (domain: ℝ) and returns exactly one non-negative value x2 (output in codomain: [0,∞)). The input 3 always yields 9, never any other value.
-
D is the domain, the set of all possible inputs. E is the codomain or range, the set of all possible outputs.
-
Key property💡: Each input has exactly one output. (No input is assigned two different outputs — this is the vertical line test!)
-
Examples: constant, f(x) = c, horizontal line, slope = 0; linear, f(x) = mx + b, straight line, constant slope m and y-intercept b; quadratic $f(x) = ax^2 + bx + c$, u-shaped or inverted U, opens up (a > 0) or down (a < 0), vertex at x = $\frac{-b}{2a}$, symmetry about vertical axis through vertex; polynomial, $f(x) = a_n x^n + \dots + a_0$, a smooth and continuous curve, n roots (counting multiplicity), end behaviour determined by its leading term $a_n x^n$; exponential function, $f(x) = a \cdot b^x, a \ne 0, b \gt 0$, rapid growth (b > 1) or decay (0 < b < 1); trigonometric functions, $\sin(x), \cos(x), \tan (z)$ oscillatory, periodic behavior (period 2π for sin/cos, π for tan), sin and cos are bounded between -1 and 1, but tan is unbounded; step function $f(x) = \lfloor x \rfloor$, greatest integer ≤ x, constant on intervals [n, n+1), jumps at integers, its graph is a staircase shape; absolute value f(x) = |x|, V-shaped graph, slope changes at 0.
-
Functions can be expressed in multiple forms, each useful in different contexts: verbal description, table of values (list of pairs), algebraic formula, graph, piecewise definition, recursive definition, parametric or integral form, and series representation.
-
Evaluating a function means finding or computing the output value f(x) for a given input value x. f(x) = $x^2-2x +4, f(2) = 2^2 -2\cdot 2 + 4 = 4 - 4 + 4 = 4, f(0) = 0^2 -2\cdot 0 + 4 = 4, f(1) = 1^2 -2\cdot 1 + 4 = 1 -2 +4 = 3$
-
The x-intercept is any point on the graph that intersects or crosses the x-axis. In other words, it is the value of x when the function (y-coordinate or y-value) is zero. The y-intercept is the point where the graph intersects or crosses the y-axis. y-coordinate of the point whose x-coordinate is 0, e.g., 2x - 3y = 6. x-intercept: set y = 0 → 2x = 6 ⇒ x=3, so (3, 0). y-intercept: set x = 0 → −3y = 6 ⇒ y = −2, so (0, −2).
-
f is said to have a local or relative maximum at c if there exists an interval (a, b) containing c ($c \in (a, b)$) such that f(c) ≥ f(x) $∀ x \in (a, b) ∩ D$. f is said to have a local or relative minimum at c if there exists an interval (a, b) containing c ($c \in (a, b)$) such that f(c) ≤ f(x) $∀ x \in (a, b) ∩ D$.💡Local extrema can only occur where the function stops rising or falling —either because the derivative is zero, the derivative doesn't exist, or you're at the edge of the domain.
-
First Derivative Test. Let f be differentiable on an open interval containing c, except possibly at c itself, and let c be a critical point (so f′(c) = 0 or f′ is undefined). Then:
- If f′(x) > 0 for x just to the left of c and f′(x) < 0 for x just to the right of c, then f(c) is a local maximum.
- If f′(x) < 0 for x just to the left of c and f′(x) > 0 for x just to the right of c, then f(c) is a local minimum.
- If f′(x) does not change sign at c (stays positive or stays negative), then f(c) is not a local extremum.
- Second Derivative Test. If the first derivate of a function at a point c is zero (f'(c) = 0) and the second derivate at this point exists, then: (i) If f''(c) > 0, then f(c) is a local minimum. (ii) If f''(c) < 0, then f(c) is a local maximum. (iii) If f''(c) = 0, the test is inconclusive.
- Vertical asymptotes are vertical lines (perpendicular to the x-axis) of the form x = a (where a is a constant) near which the function grows without bound when x approaches a from at least one side. The line x = a is a vertical asymptote of f if at least one of the one-sided limits is infinite: $\lim_{x \to a^{-}}f(x)=\pm\infty$ or $\lim_{x \to a^{+}}f(x)=\pm\infty$.
- Horizontal asymptotes are horizontal lines (y = c, parallel to the x-axis) that the graph of the function approaches as x grows very large (positively or negatively). In other words, the function values get arbitrarily close to c as long as x is sufficiently large or more formally: $\lim_{x \to \infty}f(x)=c$ and/or $\lim_{x \to -\infty}f(x)=c$.
- A line y = m+b is an oblique (slant) asymptote as $x \to \infty$ if $\lim_{x\to\infty} [f(x) - (mx+b)] = 0.$ This means that the curve of f(x) gets more and more closer to the line y = mx + b as x grows large. For an asymptote y = mx + b as $x \to \infty, m = \lim_{x\to\infty} \frac{f(x)}{x}, b = \lim_{x\to\infty} \bigl(f(x) - m x\bigr)$, provided both limits exist.
Absolute Extrema
In calculus, we are often interested in identifying the largest and smallest values that a function can attain. These values are called the extrema (plural of extremum).
The maxima and minima (the respective plurals of maximum and minimum) of a function are the largest and smallest values of the function, either within a given range (or a specific neighborhood) (the local extrema, i.e., local or relative maximum and minimum) or on the entire domain (the global extrema, i.e., the global or absolute maximum and minimum). Intuitively, local extrema can be visualized as hills and valleys on a graph, while absolute extrema represent the highest peak and the deepest valley of the function.
Formal definitions
Let f be a real-valued function defined on a domain D. The function f has an global or absolute maximum at x = c ∈ D if f(c) ≥ f(x) ∀ x ∈ D. Similarly, the function f has a global or absolute minimum point at x = c ∈ D if f(c) ≤ f(x) ∀ x ∈ D.
The absolute maximum or minimum value is f(c), and the points (c, f(c)) are called the absolute extreme points.
A function does not necessarily have absolute extrema. For example, a line with positive slope extends infinitely in both directions.
Figure 3 illustrates a function that does not have an absolute maximum. Besides, a graph can only have one absolute minimum or maximum, but multiples x-values could obtain them as it is illustrated on figure 4. The function has an absolute maximum value of y = 3.25 which is obtained both at x = 0.775 and 3.225.
The Extreme Value Theorem (EVT)
One of the most important theoretical results concerning absolute extrema is the Extreme Value Theorem.
Extreme Value Theorem / Weierstrass Theorem Let $f : [a, b] \to \mathbb{R}$ be a continuous function, where [a, b] is a closed, bounded interval in $\mathbb{R}$. Then there exist points $c, d \in [a, b]$ such that $f(c) = \sup \{ f(x) : x \in [a, b] \}, f(d) = \inf \{ f(x) : x \in [a, b] \}.$ In other words, f attains both its maximum and minimum values on ( [a, b].
Proof:
Recall. Bolzano–Weierstrass Theorem. Every bounded sequence of real numbers has a convergent subsequence whose limit lies in the closure of the set.
Step 1. The Boundedness Theorem: If $f : [a, b] \to \mathbb{R}$ is continuous, then f is bounded on [a, b], that is, there exist real numbers m, M such that for all $x \in [a, b]. m \leq f(x) \leq M$.
Suppose, for contradiction, that f is not bounded above. Then, $\forall n \in \mathbb{N}, \exist \text{ (there exists) } x_n \in [a, b]$ such that $f(x_n) > n$.
The sequence {$x_n$} is contained in the compact (closed and bounded) interval [a, b], so by the Bolzano–Weierstrass Theorem, there exists a convergent subsequence {$x_{n_k}$} with limit $x^* \in [a, b]$ (Note: $x^* \in [a, b]$ because [a, b] is closed).
By continuity, $f(x_{n_k}) \to f(x^*)$, but by construction $f(x_{n_k}) > n_k \to \infty \implies f(x^*) = +\infty$, which contradicts that $f(x^*)$ is a real number. Thus, f is bounded above. A similar argument shows f is bounded below.
Step 2. Existence of Supremum and Infimum. Let S = {f(x) : $x \in [a, b]$}. By Step 1, S is bounded. By the completeness of $\mathbb{R}$, S has a supremum M and an infimum m.
The Completeness Axiom of the Real Numbers states that every non-empty set of real numbers that has an upper bound must also have a least upper bound (supremum) within the set of real numbers.
Step 3. The attainment of bounds: By the properties of continuous functions on closed intervals, these bounds M and m are actually achieved by f at specific points c and d within the interval.
Proof.
We now show that there exists $c \in [a, b]$ such that f(c) = M.
Suppose, for contradiction, that f(x) < M for all $x \in [a, b]$. Define the auxiliary function $g(x) = \frac{1}{M - f(x)}, \forall x \in [a, b]$.
Since $f(x) < M, M - f(x) > 0$, so g(x) > 0 for all x (we only need non-vanishing denominators). The function g is continuous on [a, b] (as the composition of continuous functions and $M - f(x) \ne 0$), and thus, by the Boundedness Theorem, is bounded above: there exists K > 0 such that $g(x) \leq K$ for all $x \in [a, b]$. Therefore, $M - f(x) \geq \frac{1}{K} \implies f(x) \leq M - \frac{1}{K}$ for all $x \in [a, b]$. But $M - \frac{1}{K} < M$, contradicting the definition of M as the least upper bound. Therefore, there must exist $c \in [a, b]$ such that f(c) = M.
The proof for the minimum is analogous: either apply the above argument to -f, or repeat the steps with $m = \inf S$.
Key consequences
- Continuity: If a function has a jump or removable discontinuity within a closed interval, it might not reach its maximum or minimum values within that interval, e.g., Step function on [0, 1], $f(x) = \begin{cases} 0, &x \gt 0 \\\\ 1, &x \ge 0 \end{cases}$, the minimum value 0 is approached but not attained at the endpoint x = 0 due to the discontinuity. f(x) = 1/x on (0, 1), the function is not continuos and unbounded as $x \to 0^+$. No absolute minimum exists, despite the interval being half-closed.
- Continuity alone is not enough — the interval must be closed (e.g., f(x) = x on (0, 1); the supremum is 1 and the infimum is 0, but these values are not attained within the open interval) and bounded (f(x) = x on $[0, \infty)$, the function is unbounded above; no absolute maximum exists).
- The EVT guarantees existence, but it does not tell us where the extrema occur.
- Absolute extrema may occur: (i) at critical points inside the open interval (a, b) (where f’(x) = 0 or f’(x) is undefined), or at the endpoints x = a or x = b.
Finding absolute extrema
To find absolute extrema or the extrema of a continuous function f on a closed interval [a, b], one needs to consider critical points and endpoints of the domain, and use the following steps.
- Verify that the function is continuous.
- Compute the derivative f'(x).
- Find its critical points in (a, b). A critical point occurs where the derivative is either zero (set f’(x) = 0 and solve for x) or undefined.
- Evaluate the function f at each critical point.
- Check the values of f’(x) around these critical points to determine whether it changes sign, indicating a possible extremum.
- Evaluate the function at the endpoints x = a and x = b.
- Take into consideration the Extreme Value Theorem. It states that if a real-valued function f is continuous on the closed interval [a,b], then f must have at least one maximum value and one minimum value on that interval.
- Compare all function values obtained and identify the absolute maximum and minimum values.
Solved examples
- Find the absolute extrema of f(x) = 3x4 -4x3 on the interval [-1, 2] (figure 2.a).
- Continuity: f is a polynomial ⇒ continuous everywhere.
- Compute the derivative. f’(x) = 12x3 -12x2.
- Find its critical points. f’(x) = 0 ↭ 12x3 -12x2 = 0 ↭ x2(12x -12) ⇒ x = 0, 1 are the critical points.
- Evaluate the function at these critical points and endpoints: f(−1) = 7, f(0) = 0, f(1) = −1, f(2) = 16.
- Conclusion. Absolute minimum: (1, −1). Absolute maximum: (2, 16).
- Find the extrema of f(x) = ln(x)·x2 (Figure 2.b).
- Domain: x > 0.
- f is continuos, but the domain is not bounded, so the Extreme Value Theorem does not apply.
- Compute the derivative, f’(x) = 2xln(x) + x.
- Find its critical points. f’(x) = 0 ↭ 2xln(x) + x = 0 ↭[x > 0] 2ln(x) + 1 = 0 ↭ ln(x) = -1⁄2, x = $e^{\frac{-1}{2}} = \frac{1}{\sqrt{e}}$ ≈ 0.6. Besides, $f(e^{\frac{-1}{2}}) = \frac{-1}{2}·e^{-1} = \frac{-1}{2e}$, so the point is approximately (0.6, -0.18).
- End behavior, $\lim_{x \to 0^+} x^2ln(x) = \lim_{x \to 0^+} \frac{ln(x)}{\frac{1}{x^2}} [\text{−∞/∞ form, L’Hôpital’s rule}] \lim_{x \to 0^+} \frac{\frac{1}{x}}{-\frac{2}{x^3}} = \lim_{x \to 0^+} -\frac{x^2}{2} = 0, \lim_{x \to \infty} x^2ln(x) = \infty$.
- Conclusion. There’s no global or absolute maximum point, but a global or absolute minimum point at $(\frac{1}{\sqrt{e}}, \frac{-1}{2e})$.
- Find the extrema of f(x) = x3 -6x2 +9x -4 (Figure 2.c).
- Domain: (-∞, +∞).
- f is continuos, but the domain is not bounded, so the Extreme Value Theorem does not apply.
- Compute the derivative: f’(x) = 3x2 -12x +9.
- Find its critical points: f’(x) = 0 ↭ 3x2 -12x +9 = 0 ↭ 3(x2) -4x + 3 = 0 ↭ 3(x -3)(x -1) = 0 ⇒ x = 3, 1 are the critical points.
- Evaluate the function at these critical points: (1, 0), (3, -4).
- End behaviour: $\lim_{x \to ∞} x^3 -6x^2 +9x -4= ∞, \lim_{x \to ∞} x^3 -6x^2 +9x -4= -∞$.
- Conclusion: (1, 0) is a local maximum and (3, -4) is a local minimum, but there’s no global or absolute extreme points.
Additional information. x-intercept: (4, 0) and (1, 0). y-intercept (0, -4) and there’s no asymptotes.
- Quadratic functions. A parabola is a U-shaped curve that represents a quadratic function. If a > 0, the parabola opens upward and the vertex is an absolute minimum. ($\frac{-b}{2a}, f(\frac{-b}{2a})$), e.g., x2 -4x +4 has an absolute minimum at (2, 0) because a = 1 > 0 (Figure 2.d.).
If a < 0, the parabola opens downward and the vertex is an absolute maximum, e.g., -x2+x-6 has an absolute maximum at $(\frac{-b}{2a}, f(\frac{-b}{2a})) = (0.5, -5.75)$ because a = -1 < 0.
Why It Works? $f'(x)=2ax + b, f'(x) = 0 \iff x = \frac{-b}{2a}$
f’’(x) = 2a. If a > 0, 2a > 0 $\implies x = \frac{-b}{2a}$ is a local minimum. If a < 0, 2a < 0 $\implies x = \frac{-b}{2a}$ is a local maximum.
Bibliography
- NPTEL-NOC IITM, Introduction to Galois Theory.
- Algebra, Second Edition, by Michael Artin.
- LibreTexts, Calculus. Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
- Field and Galois Theory, by Patrick Morandi. Springer.
- Michael Penn, and MathMajor.
- Contemporary Abstract Algebra, Joseph, A. Gallian.
- YouTube’s Andrew Misseldine: Calculus. College Algebra and Abstract Algebra.
- MIT OpenCourseWare 18.01 Single Variable Calculus, Fall 2007 and 18.02 Multivariable Calculus, Fall 2007.
- Calculus Early Transcendentals: Differential & Multi-Variable Calculus for Social Sciences.