AP Calculus AB · Lesson Review · October 21, 2026

Extrema on an Interval

Distinguish local and absolute extrema, check the Extreme Value Theorem’s hypotheses, find critical inputs, and compare function values at critical numbers and endpoints.

42-minute edited lesson16 chaptersCaptions + transcript

01 · Watch

Lesson video

02 · Understand

Learning targets

03 · Connect

Key ideas

The lesson connects sketches and interval notation to a reliable calculus procedure. A local peak can sit below values elsewhere; an open endpoint can prevent a greatest value from existing.

01Compare locally or across the whole domain
f(c)≥f(x)for all x∈D⟹f(c) is an absolute maximumf(c)\ge f(x)\quad\text{for all }x\in D\quad\Longrightarrow\quad f(c)\text{ is an absolute maximum}An absolute extremum compares f(c) with every function value in the specified domain D. A local extremum compares nearby values. The course uses the interior-point convention for local extrema; always include endpoints when finding absolute extrema on a closed interval.
02Separate the location from the height
input c,value f(c),point (c,f(c))\text{input }c,\qquad \text{value }f(c),\qquad \text{point }(c,f(c))Report a maximum or minimum value together with where it occurs. A critical number is an input c, not the y-coordinate f(c). Different inputs can share the same absolute extremum value.
03A missing endpoint need not be an attained value
2∈[2,9),9∉[2,9)2\in[2,9),\qquad 9\notin[2,9)This interval has least element 2 and no greatest element. Any finite decimal below 9 still has a larger number below 9. The repeating decimal 8.999… equals 9 exactly, so it cannot supply a greatest element of this interval.
04Use the Extreme Value Theorem with both hypotheses
f continuous on [a,b] ⟹ ∃ u,v∈[a,b]: f(u)≤f(x)≤f(v) for all x∈[a,b]f\text{ continuous on }[a,b]\ \Longrightarrow\ \exists\,u,v\in[a,b]:\ f(u)\le f(x)\le f(v)\ \text{for all }x\in[a,b]A continuous real-valued function on a finite closed interval attains both an absolute minimum and an absolute maximum. If continuity or a closed interval is missing, the theorem gives no guarantee. Extrema may still exist; inspect the particular function.
05Find critical numbers in the domain
c∈dom⁡f,f′(c)=0orf′(c) does not existc\in\operatorname{dom}f,\qquad f^{\prime}(c)=0\quad\text{or}\quad f^{\prime}(c)\text{ does not exist}For this lesson’s closed-interval method, find critical inputs in the open interval (a,b), then check a and b separately. A point where f itself is undefined is not a critical number. Sharp corners, cusps, and vertical tangents can make the derivative fail to exist.
06A critical number need not be an extremum
f(x)=x3,f′(x)=3x2,f′(0)=0f(x)=x^3,\qquad f^{\prime}(x)=3x^2,\qquad f^{\prime}(0)=0The cubic keeps increasing through zero, so its horizontal tangent there does not create a local maximum or minimum. The cube-root function likewise has an undefined derivative at zero but keeps increasing. In contrast, the cusp of |x| at zero is a minimum.
07Compare all closed-interval candidates
{f(a), f(c1),…,f(ck), f(b)}\{f(a),\ f(c_1),\ldots,f(c_k),\ f(b)\}First check continuity on the stated interval. Evaluate the original function at every interior critical number and both endpoints. The greatest value is the absolute maximum and the least is the absolute minimum. If several inputs tie, report them all.

04 · Apply

Worked examples

These examples follow the methods developed in the recorded lesson.

Classroom discussion · interval notation

Why [2,9) has no greatest element

2≤x<92\le x<9

The left endpoint is included and the right endpoint is excluded. The least element is 2.

x<x+92<9(x<9)x<\frac{x+9}{2}<9\qquad(x<9)

For any proposed largest element x, this midpoint is a larger element still below 9. Thus there is no greatest element.

8.999…=9∉[2,9)8.999\ldots=9\notin[2,9)

An infinite string of repeating nines is exactly 9; a finite string remains below 9 and is not the greatest element.

Classroom example · a cubic on the real line

Local extrema of x³−4x

f(x)=x3−4x,f′(x)=3x2−4f(x)=x^3-4x,\qquad f^{\prime}(x)=3x^2-4

The derivative exists everywhere. Set it equal to zero to find stationary inputs.

3x2−4=0⟹x=±233x^2-4=0\quad\Longrightarrow\quad x=\pm\frac2{\sqrt3}

The derivative is positive outside these two inputs and negative between them.

f ⁣(−23)=1633,f ⁣(23)=−1633f\!\left(-\frac2{\sqrt3}\right)=\frac{16}{3\sqrt3},\qquad f\!\left(\frac2{\sqrt3}\right)=-\frac{16}{3\sqrt3}

The first point is a local maximum; the second is a local minimum. Distinguish these heights from the critical inputs.

lim⁡x→∞f(x)=∞,lim⁡x→−∞f(x)=−∞\lim_{x\to\infty}f(x)=\infty,\qquad\lim_{x\to-\infty}f(x)=-\infty

On the entire real line, there is no absolute maximum or absolute minimum. The local peak is not a highest value overall.

Classroom figures · theorem hypotheses

What closed and continuous contribute

f(x)=x2+1,−1≤x≤2f(x)=x^2+1,\qquad -1\le x\le2

This continuous function on a closed interval has minimum 1 at x=0 and maximum 5 at x=2.

f(x)=x2+1,−1≤x<2f(x)=x^2+1,\qquad -1\le x<2

Removing the right endpoint removes its attained maximum. The minimum remains 1 at zero, while values approach 5 without reaching it.

g(x)={x2+1,x≠0,2,x=0,−1≤x≤2g(x)=\begin{cases}x^2+1,&x\ne0,\\2,&x=0,\end{cases}\qquad -1\le x\le2

This is discontinuous at zero. It still has maximum 5 at x=2, but no minimum: values approach 1 near zero while g(0)=2. A closed interval alone is insufficient.

Classroom example · horizontal tangent without a turn

A critical input that is not a local extremum

f(x)=x3,f′(x)=3x2,c=0f(x)=x^3,\quad f^{\prime}(x)=3x^2,\quad c=0

Zero is a critical number because the derivative is zero.

f(−h)=−h3<0=f(0)<h3=f(h)(h>0)f(-h)=-h^3<0=f(0)<h^3=f(h)\qquad(h>0)

Arbitrarily nearby inputs have values below and above f(0). Zero is neither a local maximum nor a local minimum.

q(x)=x3q(x)=\sqrt[3]{x}

An undefined derivative also does not guarantee an extremum. This function passes increasingly through its vertical tangent at zero.

Classroom example · closed-interval method

A quartic on [−1,2]

f(x)=3x4−4x3,−1≤x≤2f(x)=3x^4-4x^3,\qquad -1\le x\le2

A polynomial is continuous on this closed interval, so both absolute extrema are attained.

f′(x)=12x3−12x2=12x2(x−1),c=0,1f^{\prime}(x)=12x^3-12x^2=12x^2(x-1),\qquad c=0,1

Both critical numbers lie inside the interval. Keep the repeated derivative root at zero as a candidate.

x−1012f(x)70−116\begin{array}{c|rrrr}x&-1&0&1&2\\\hline f(x)&7&0&-1&16\end{array}

Evaluate the original quartic at the endpoints and critical numbers.

min⁡f=−1 at x=1,max⁡f=16 at x=2\min f=-1\text{ at }x=1,\qquad\max f=16\text{ at }x=2

Comparing heights gives the answer. The critical number zero is not a local extremum; the derivative is negative on both sides of zero.

Classroom example · derivative undefined at a cusp

A fractional-power function on [−1,1]

f(x)=3x2/3−2x,x2/3=(x3)2f(x)=3x^{2/3}-2x,\qquad x^{2/3}=(\sqrt[3]{x})^2

Use the real cube root for negative x. The function is continuous on [−1,1].

f′(x)=2x−1/3−2=2x3−2(x≠0)f^{\prime}(x)=2x^{-1/3}-2=\frac2{\sqrt[3]{x}}-2\qquad(x\ne0)

The derivative does not exist at zero even though f(0) exists, so zero is a critical input.

2x3−2=0⟹x=1\frac2{\sqrt[3]{x}}-2=0\quad\Longrightarrow\quad x=1

This stationary input is the right endpoint of the requested interval. Include it once as an endpoint; zero is the interior critical candidate.

f(−1)=5,f(0)=0,f(1)=1f(-1)=5,\qquad f(0)=0,\qquad f(1)=1

Compare both endpoints with the interior critical input.

min⁡f=0 at x=0,max⁡f=5 at x=−1\min f=0\text{ at }x=0,\qquad\max f=5\text{ at }x=-1

The cusp supplies the absolute minimum; the left endpoint supplies the absolute maximum.

05 · Avoid

Common mistakes

Calling every peak an absolute maximum.

A local maximum only compares nearby values. The cubic x³−4x eventually grows above its local peak.

Reporting a critical input as the extremum value.

An input c tells where to look. Evaluate f(c) to find the height, and report both the value and its location.

Checking f′=0 but ignoring undefined derivatives.

A cusp can contain an extremum. Include points where f is defined but its derivative does not exist.

Calling a point outside the domain critical.

For 1/x, zero is not a critical number because the function itself is undefined there.

Forgetting the endpoints.

The largest or smallest closed-interval value may occur at an endpoint, even when the derivative there is not zero.

Using the theorem after dropping a hypothesis.

The Extreme Value Theorem requires continuity on a finite closed interval. Missing a hypothesis removes the guarantee; it does not prove that extrema fail to exist.

Treating 8.999… as a number just below 9.

Repeating nines equal 9 exactly. A finite decimal below 9 is smaller than some other number below 9.

06 · Check yourself

Try it first

Use these five fresh problems to check your understanding. Open a solution after you try it.

1Find the absolute minimum and maximum, including their locations. f(x)=x2−4x+1,x∈[0,5]f(x)=x^2-4x+1,\quad x\in[0,5]

f′(x)=2x−4=0 ⟹ c=2f^{\prime}(x)=2x-4=0\ \Longrightarrow\ c=2

The polynomial is continuous, and 2 is the only interior critical number.

f(0)=1,f(2)=−3,f(5)=6f(0)=1,\quad f(2)=-3,\quad f(5)=6

Compare the original function values.

min⁡f=−3 at x=2,max⁡f=6 at x=5\min f=-3\text{ at }x=2,\qquad\max f=6\text{ at }x=5

The minimum is inside the interval; the maximum is at its right endpoint.

2Find both absolute extrema and report every input where each is attained. g(x)=x4−2x2,x∈[−2,1]g(x)=x^4-2x^2,\quad x\in[-2,1]

g′(x)=4x(x2−1)=0 ⟹ x=−1,0,1g^{\prime}(x)=4x(x^2-1)=0\ \Longrightarrow\ x=-1,0,1

The interior critical numbers are −1 and 0. The stationary input 1 is an endpoint.

g(−2)=8,g(−1)=−1,g(0)=0,g(1)=−1g(-2)=8,\quad g(-1)=-1,\quad g(0)=0,\quad g(1)=-1

Evaluate each distinct candidate once.

min⁡g=−1 at x=−1,1;max⁡g=8 at x=−2\min g=-1\text{ at }x=-1,1;\qquad\max g=8\text{ at }x=-2

The absolute minimum occurs at two different inputs.

3Use the cusp and endpoints to find the absolute extrema. h(x)=∣x−1∣,x∈[−1,3]h(x)=|x-1|,\quad x\in[-1,3]

h′(x)={−1,x<1,1,x>1,h′(1) does not existh^{\prime}(x)=\begin{cases}-1,&x<1,\\1,&x>1,\end{cases}\quad h^{\prime}(1)\text{ does not exist}

The function is defined and continuous at 1, so the cusp is an interior critical candidate.

h(−1)=2,h(1)=0,h(3)=2h(-1)=2,\quad h(1)=0,\quad h(3)=2

Check the cusp and both endpoints.

min⁡h=0 at x=1;max⁡h=2 at x=−1,3\min h=0\text{ at }x=1;\qquad\max h=2\text{ at }x=-1,3

Both endpoints attain the absolute maximum.

4Find the critical number, decide whether it is a local extremum, and find the absolute extrema. p(x)=x3,x∈[−1,1]p(x)=x^3,\quad x\in[-1,1]

p′(x)=3x2=0 ⟹ c=0p^{\prime}(x)=3x^2=0\ \Longrightarrow\ c=0

The derivative is positive for x≠0. The function keeps increasing through its horizontal tangent.

p(−1)=−1,p(0)=0,p(1)=1p(-1)=-1,\quad p(0)=0,\quad p(1)=1

Zero is not a local maximum or minimum.

min⁡p=−1 at x=−1,max⁡p=1 at x=1\min p=-1\text{ at }x=-1,\qquad\max p=1\text{ at }x=1

The absolute extrema occur at the endpoints.

5Does the Extreme Value Theorem apply? Regardless, determine whether this function attains absolute extrema. r(x)=x2,x∈(−1,2]r(x)=x^2,\quad x\in(-1,2]

(−1,2] is not a closed interval(-1,2]\text{ is not a closed interval}

The theorem does not apply, although the function is continuous on this domain.

0≤x2≤4(−1<x≤2)0\le x^2\le4\qquad(-1<x\le2)

These bounds are both attained: r(0)=0 and r(2)=4.

min⁡r=0 at x=0,max⁡r=4 at x=2\min r=0\text{ at }x=0,\qquad\max r=4\text{ at }x=2

Both extrema exist in this particular example. Failure of a theorem hypothesis is not proof that its conclusion is false.

07 · Revisit

Transcript and captions

Search the corrected transcript for a method or worked example, or download the caption files above.

Download corrected transcript