Maths WorkshopMaths problems with full solutions
Exercise 161Calculus › Single-variable calculus › Differentiation › Optimisation and curve sketchingHigh schoolAdded 4 Nov 2026

Global extrema of x³ − 3x on [−2, 3]

#global extrema#closed interval#critical points

Statement

Find the maximum and minimum of f(x)=x3−3xf(x)=x^3-3x on the interval [−2,3][-2,3].

Hint

A continuous function on a segment reaches its extrema either at a critical point or at an endpoint. Compare these values.

Show solutionHide solution

Solution

Critical points. f′(x)=3x2−3=0f'(x)=3x^2-3=0 at x=±1x=\pm1, both in [−2,3][-2,3].

Candidates.
- f(−2)=−8+6=−2f(-2)=-8+6=-2,
- f(−1)=−1+3=2f(-1)=-1+3=2,
- f(1)=1−3=−2f(1)=1-3=-2,
- f(3)=27−9=18f(3)=27-9=18.

Answer.
- Maximum: 1818, at x=3x=3 (an endpoint, not a critical point).
- Minimum: −2-2, attained twice: at x=−2x=-2 (endpoint) and at x=1x=1 (critical point).

Remark. On R\mathbb{R} this function has no global extremum (it goes to ±∞\pm\infty), yet on a segment the extreme value theorem guarantees both. The local maximum f(−1)=2f(-1)=2 is not the global one.