Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games

Opening subject page...

Loading your content

  1. AP Calculus AB
  2. Extreme Value Theorem, Global Versus Local Extrema, and Critical Points

AP CALCULUS AB • ANALYTICAL APPLICATIONS OF DIFFERENTIATION

Extreme Value Theorem, Global Versus Local Extrema, and Critical Points

Guaranteeing and locating the highest and lowest values a function can achieve on a closed interval.

SECTION 1

Historical Context & Motivation

The search for maximum and minimum values is one of the oldest problems in mathematics, predating formal calculus by centuries. Ancient Greek geometers, most notably Euclid and Apollonius, explored optimization in the context of geometric constructions—finding the shortest distance from a point to a line, or the largest rectangle inscribed in a given region. These problems hinted at a deeper principle: under the right conditions, extreme values must exist, and systematic methods can locate them.

The formal development of extrema theory required two mathematical revolutions. First, the invention of calculus by Newton and Leibniz in the late seventeenth century gave mathematicians the derivative as a tool for detecting where a function's rate of change vanishes. Second, the nineteenth-century rigorization of analysis—led by Bolzano and Weierstrass—clarified precisely when we can guarantee that maximum and minimum values exist. Together, these advances produced the Extreme Value Theorem and the theory of critical points that form the backbone of optimization in AP Calculus AB.

~300 BCE
Greek Optimization
Euclid and later Apollonius solve geometric extremum problems—shortest paths, maximum areas—using purely synthetic methods, establishing optimization as a central mathematical pursuit.
1684
Leibniz Publishes Differential Calculus
Leibniz's paper introduces the notation dy/dx and demonstrates that extrema occur where the derivative equals zero, providing the first algorithmic approach to optimization.
1817
Bolzano's Intermediate Value Theorem
Bernard Bolzano rigorously proves that continuous functions on closed intervals take every value between their endpoints, laying groundwork for existence theorems in analysis.
1861
Weierstrass Proves the Extreme Value Theorem
Karl Weierstrass proves that any continuous function on a closed, bounded interval attains both an absolute maximum and an absolute minimum, completing the rigorous foundation for optimization theory.

The central question this lesson addresses is both practical and theoretical: When can we be certain that a function achieves its greatest and least values, and how do we find exactly where those extreme values occur? Answering this question requires understanding the interplay between continuity, closed intervals, and the derivative—concepts you will master in the sections that follow.

SECTION 2

Core Principles & Definitions

Before we can locate extreme values, we need a precise vocabulary that distinguishes between different types of extrema and the points where they may occur. The following foundational ideas organize the entire topic; each subsequent section of this lesson builds on them directly.

1

Extreme Value Theorem (EVT)

If f is continuous on a closed interval [a, b], then f attains both an absolute maximum and an absolute minimum on that interval. Both hypotheses—continuity and a closed interval—are essential.
2

Global (Absolute) Extrema

A value f(c) is the absolute maximum of f on an interval if f(c) ≥ f(x) for every x in that interval; similarly for the absolute minimum. These are the overall highest and lowest output values on the domain under consideration.
3

Local (Relative) Extrema

A value f(c) is a local maximum if f(c) ≥ f(x) for all x in some open interval around c; likewise for a local minimum. Local extrema describe peaks and valleys in the immediate neighborhood of a point, not necessarily the overall highest or lowest values.
4

Critical Points

A point c in the domain of f is a critical point if f′(c) = 0 or f′(c) does not exist. By Fermat's Theorem, every interior local extremum must occur at a critical point—though not every critical point yields a local extremum.
5

Candidates Test (Closed Interval Method)

To find the absolute extrema of a continuous function on [a, b]: (1) find all critical points in (a, b), (2) evaluate f at each critical point and at both endpoints a and b, (3) the largest value is the absolute maximum and the smallest is the absolute minimum.
✦ KEY TAKEAWAY
Think of a continuous function on a closed interval like a roller coaster that must start and end at fixed gates. Because the track is unbroken (continuous) and the ride has a definite beginning and end (closed interval), the coaster must reach a highest point and a lowest point somewhere along the track. Critical points are where the track levels off momentarily—those are the candidate locations for peaks and valleys—but the highest or lowest moment might also occur right at one of the gates (endpoints).
SECTION 3

Visual Explanation

The following diagram illustrates a continuous function on the closed interval [a, b], marking all critical points, local extrema, and the global (absolute) extrema. Studying the relationship between these features in a single picture is the fastest route to intuition about how the Extreme Value Theorem, critical points, and the closed interval method work together.

Extrema on a Continuous Function over [a, b]abf(x)xf(a)endpointLocal Maxf′ = 0Local Minf′ = 0ABSOLUTE MAXf′ = 0f(b)endpointAbs. Min = f at local min or endpoint with smallest value
The curve represents a continuous function on [a, b]. The absolute maximum occurs at an interior critical point where f′ = 0. The local minimum at another critical point may or may not be the absolute minimum—you must compare its value with the endpoint values f(a) and f(b) to decide.

Notice several key features in the diagram. First, the function is continuous on the entire closed interval—no jumps, holes, or vertical asymptotes—which satisfies both hypotheses of the Extreme Value Theorem. Second, each interior extremum occurs at a point where the tangent line is horizontal, meaning f′ = 0; these are critical points. Third, the absolute maximum happens to coincide with one of those interior critical points, while the absolute minimum could be at an endpoint or at the local minimum—whichever yields the smallest output value. The closed interval method systematically compares all these candidates to identify the global extrema.

SECTION 4

Mathematical Framework

The formal statements below provide the rigorous foundation for everything in this lesson. Each theorem connects the derivative to the existence and location of extreme values, building from the guarantee of existence (EVT) through the mechanism of detection (Fermat's Theorem and critical points) to the algorithm for finding them (closed interval method).

EXTREME VALUE THEOREM
If f is continuous on [a, b], then there exist c, d ∈ [a, b] such that f(c) ≤ f(x) ≤ f(d) for all x ∈ [a, b].
Here f(c) is the absolute minimum and f(d) is the absolute maximum of f on [a, b]. Both hypotheses—continuity of f and the interval being closed and bounded—are indispensable.
FERMAT'S THEOREM (CRITICAL POINT NECESSITY)
If f has a local extremum at c and f′(c) exists, then f′(c) = 0.
This theorem tells us where to look: local extrema in the interior of a domain can only occur at points where the derivative is zero or where the derivative fails to exist. The contrapositive is equally useful—if f′(c) ≠ 0, then c is not a local extremum.
CRITICAL POINT DEFINITION
c is a critical point of f ⟺ c ∈ dom(f) and (f′(c) = 0 or f′(c) does not exist).
Points where f′(c) = 0 are called stationary points; points where f′(c) does not exist (cusps, corners, vertical tangents) are also critical. Not every critical point produces an extremum—consider f(x) = x³ at x = 0.
CLOSED INTERVAL METHOD
Absolute max of f on [a, b] = max{ f(c₁), f(c₂), …, f(cₙ), f(a), f(b) }
where c₁, c₂, …, cₙ are all critical points of f in the open interval (a, b). The absolute minimum is determined analogously by taking the minimum of the same set of values. This method works because, by the EVT, the absolute extrema must exist, and by Fermat's Theorem, any interior extremum must be at a critical point—so the only remaining candidates are the endpoints.
⚠️ Why Both Hypotheses of the EVT Matter
Drop continuity—consider f(x) = 1/x on [−1, 1], which is discontinuous at x = 0—and the function has no maximum or minimum on the interval. Drop the closed interval—consider f(x) = x on the open interval (0, 1)—and the function approaches 0 and 1 but never actually attains either value. Both hypotheses are truly necessary for the theorem's guarantee.
SECTION 5

Classifying Extrema & Critical Points

A critical point is a necessary condition for an interior extremum, but it is not sufficient. The derivative can be zero at a point of inflection (like x = 0 for f(x) = x³), or undefined at a cusp that turns out to be an extremum (like x = 0 for f(x) = |x|). The diagram below classifies the different behaviors that can occur at critical points and shows how they relate to local and global extrema.

Classification of Critical Pointsf′(c) = 0, Local Maxf′ = 0f′ > 0f′ < 0f′(c) = 0, Local Minf′ = 0f′ < 0f′ > 0f′(c) = 0, No Extremuminflection ptf′(c) DNE, Cusp Mincorner/cuspEndpoint Extremumab
Five scenarios at candidate points for extrema: a local maximum where f′ changes from positive to negative, a local minimum where f′ changes from negative to positive, an inflection point where f′ = 0 but no sign change occurs, a cusp where f′ does not exist, and endpoints which must always be evaluated.
Summary of candidate types for absolute extrema on [a, b]
Type of PointConditionIs It an Extremum?
Stationary point (f′(c) = 0)f′ changes sign through cYes — local max if + → −; local min if − → +
Stationary point (f′(c) = 0)f′ does NOT change signNo — inflection point (e.g., x³ at x = 0)
Corner / cusp (f′(c) DNE)f changes directionYes — e.g., |x| has a minimum at x = 0
Endpoint x = a or x = bAlways a candidatePossibly — may be absolute max/min after comparison
SECTION 6

Worked Example: Closed Interval Method

Let us apply the closed interval method to a concrete function. We will find the absolute maximum and absolute minimum of f(x) = 2x³ − 3x² − 12x + 5 on the interval [−2, 4]. This polynomial is continuous everywhere, so the Extreme Value Theorem guarantees that both absolute extrema exist.

Find the absolute extrema of f(x) = 2x³ − 3x² − 12x + 5 on [−2, 4]

Step 1 — Verify EVT Hypotheses

f(x) = 2x³ − 3x² − 12x + 5 is a polynomial, hence continuous on all of ℝ. In particular, f is continuous on the closed interval [−2, 4]. The EVT applies, so absolute extrema are guaranteed to exist.

Step 2 — Find f′(x) and Solve f′(x) = 0

Differentiate: f′(x) = 6x² − 6x − 12. Factor: f′(x) = 6(x² − x − 2) = 6(x − 2)(x + 1). Setting f′(x) = 0 gives x = 2 and x = −1. Since f is a polynomial, f′ exists everywhere, so these are the only critical points.
Critical points: x = −1 and x = 2

Step 3 — Check That Critical Points Lie in (−2, 4)

Both x = −1 and x = 2 belong to the open interval (−2, 4), so both are candidates. If either critical point had fallen outside the interval, we would discard it.

Step 4 — Evaluate f at Critical Points and Endpoints

Compute: f(−2) = 2(−8) − 3(4) − 12(−2) + 5 = −16 − 12 + 24 + 5 = 1. f(−1) = 2(−1) − 3(1) − 12(−1) + 5 = −2 − 3 + 12 + 5 = 12. f(2) = 2(8) − 3(4) − 12(2) + 5 = 16 − 12 − 24 + 5 = −15. f(4) = 2(64) − 3(16) − 12(4) + 5 = 128 − 48 − 48 + 5 = 37.
f(−2) = 1, f(−1) = 12, f(2) = −15, f(4) = 37

Step 5 — Identify the Absolute Extrema

Comparing all four values: the largest is 37 at x = 4 (an endpoint), and the smallest is −15 at x = 2 (an interior critical point).
Absolute maximum: f(4) = 37. Absolute minimum: f(2) = −15.
💡 Exam Tip
On the AP exam, the absolute maximum occurred at an endpoint, not at an interior critical point. Many students assume the answer must come from setting f′ = 0, but the closed interval method requires you to compare all candidates—including endpoints. Never skip the endpoint evaluation.
SECTION 7

Global vs. Local Extrema — Strengths & Pitfalls

Understanding the distinction between global and local extrema is one of the most common sources of errors on the AP Calculus AB exam. Students frequently conflate a local maximum with the absolute maximum, or assume that every critical point must be an extremum. The comparison table below crystallizes the differences and helps you avoid the most frequent mistakes.

Comparison of global and local extrema
FeatureGlobal (Absolute) ExtremumLocal (Relative) Extremum
ScopeCompared against all x in the entire domain or intervalCompared only against x in some small open interval around c
Existence guaranteeGuaranteed by EVT on closed intervals with continuous functionsNot guaranteed to exist; depends on the function's behavior
LocationCan occur at a critical point OR at an endpointMust occur at a critical point (interior of the domain)
RelationshipAn absolute extremum that is interior is also a local extremumA local extremum is NOT necessarily a global extremum
Finding methodClosed interval method: evaluate at all critical points and endpoints, compareFirst or Second Derivative Test at each critical point
✦ KEY TAKEAWAY
Imagine surveying the elevation of every mountain in a national park. Each summit is a local maximum—higher than the surrounding terrain—but only the single tallest summit is the absolute maximum. Meanwhile, the park entrance (an endpoint) might sit in a deep valley that turns out to be the absolute minimum, even though it is not a 'valley between peaks' in the interior. Global extrema look at the whole park; local extrema look at individual mountains.
SECTION 8

Connection to Advanced Theory

The ideas in this lesson extend naturally into more advanced mathematics. In AP Calculus BC and multivariable calculus, optimization becomes richer and more complex, but the same core principle persists: identify candidates (critical points and boundary points), then evaluate and compare. Recognizing these connections now will help you see this lesson's content as the foundation for deeper work rather than an isolated topic.

How AB concepts extend to more advanced settings
Concept in ABExtension in BC / Multivariable
Critical points where f′(c) = 0 or DNECritical points where ∇f = 0 (gradient vanishes) in multiple variables, introducing saddle points as a new possibility
Closed interval method on [a, b]Lagrange multipliers for optimization on curves and surfaces with constraints, or evaluating f on the boundary of a closed region in ℝ²
First / Second Derivative TestsSecond Derivative Test using the Hessian matrix (a 2×2 determinant test for local max, local min, or saddle point)
EVT for continuous f on closed intervalsEVT generalized: continuous f on any compact (closed and bounded) set in ℝⁿ attains its extrema

Even within the scope of AB, the ideas in this lesson are indispensable prerequisites for the First Derivative Test, the Second Derivative Test, and all applied optimization problems (sometimes called "max-min word problems"). Whenever an FRQ asks you to justify that an absolute maximum or minimum exists, cite the Extreme Value Theorem by name and verify both hypotheses: continuity of the function and the interval being closed. This level of precision earns full justification credit on the AP exam.

SECTION 9

Practice Problems

PROBLEM 1 — CONCEPTUAL
A function g is defined on the open interval (0, 5) and is known to be continuous. Does the Extreme Value Theorem guarantee that g attains an absolute maximum on (0, 5)?
PROBLEM 2 — BASIC CALCULATION
Find all critical points of f(x) = x³ − 6x² + 9x + 2.
PROBLEM 3 — INTERMEDIATE
Find the absolute maximum and absolute minimum values of f(x) = x⁴ − 8x² + 3 on [−3, 1].
PROBLEM 4 — APPLIED
A particle moves along the x-axis with position x(t) = t³ − 12t + 5 for 0 ≤ t ≤ 4. (a) Find all critical points of x(t) on the open interval (0, 4). (b) Determine the absolute maximum and absolute minimum positions of the particle on [0, 4]. (c) At what time does the particle reach its leftmost position? (d) Justify why the Extreme Value Theorem guarantees the existence of these absolute extrema.
PROBLEM 5 — CRITICAL THINKING
Let f be a function that is continuous on [0, 6] and differentiable on (0, 6). Suppose f(0) = 3, f(6) = 3, and f has exactly two critical points in (0, 6), at x = 2 and x = 5, with f(2) = 7 and f(5) = −1. (a) What are the absolute maximum and absolute minimum of f on [0, 6]? Justify your answer. (b) Must f have a local minimum at x = 5? Explain using the definition of local extrema and the information given. (c) Explain why f must have at least one zero on the interval (0, 6).
SUMMARY

Summary & Key Takeaways

The Extreme Value Theorem guarantees that a continuous function on a closed interval [a, b] attains both an absolute maximum and an absolute minimum. Critical points—where f′(c) = 0 or f′(c) does not exist—are the only interior candidates for extrema by Fermat's Theorem. Local extrema describe peaks and valleys relative to nearby points, while global extrema are the overall highest and lowest values on the entire interval.

The closed interval method is the systematic algorithm: find all critical points in the interior, evaluate f at those points and at both endpoints, then select the largest and smallest values. Remember that a critical point is necessary but not sufficient for an extremum—inflection points where f′ = 0 but the derivative does not change sign are critical points that do not produce extrema. On the AP exam, always verify both hypotheses of the EVT before applying it, and never forget to evaluate endpoints when finding absolute extrema on a closed interval.

Varsity Tutors • AP Calculus AB • Extreme Value Theorem, Global Versus Local Extrema, and Critical Points