Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Find Critical Points and Extrema

Critical points are the places where f′(x)=0f'(x) = 0 or f′f' does not exist. Find them, then decide for each one whether it is a maximum, a minimum or neither, with the first or the second derivative test.

Recognize the task

The question says maximum, minimum, local extrema, critical points, turning points, or "where is ff largest on [a,b][a, b]". You have an explicit formula for ff. Test: the question is about the highest or lowest points of the graph, not about its slope at a given point.
Critical points are defined in Critical Points of the graph analysis lesson, and the two tests in The First Derivative Test and The Second Derivative Test.

Two ways to do it

First derivative testalways works
f′:+→− max,f′:−→+ minf' : {+}\to{-} \text{ max}, \qquad f' : {-}\to{+} \text{ min}
Check the sign of f′f' on each side of the critical point. The first derivative test works at every critical point, including those where f′f' is undefined.
Second derivative testfaster when f'' is easy
f′′(c)<0⇒max,f′′(c)>0⇒minf''(c) < 0 \Rightarrow \text{max}, \qquad f''(c) > 0 \Rightarrow \text{min}
Evaluate f′′f'' at the critical point. The second derivative test says nothing when f′′(c)=0f''(c) = 0 or does not exist; fall back on the first derivative test then.

Steps

StepOn f(x)=x3−3x2+1f(x) = x^3 - 3x^2 + 1
1Differentiate f and factor the result. Here the power rule; factoring makes the zeros visible.Power rule ↗f′(x)=3x2−6x=3x(x−2)f'(x) = 3x^2 - 6x = 3x(x - 2)
2Solve f'(x) = 0 and list where f' does not exist inside the domain of ff. Both kinds are critical points by the critical point condition.x=0x = 0 and x=2x = 2; f′f' exists everywhere
3Classify each point with a test. Either a sign chart of f′f' (first derivative test) or the sign of f′′f'' at the point (second derivative test).f′′(x)=6x−6f''(x) = 6x - 6: f′′(0)=−6<0f''(0) = -6 < 0 max, f′′(2)=6>0f''(2) = 6 > 0 min
4Find the function values, and on a closed interval compare them with the values at the endpoints. The largest of all is the absolute maximum.local max (0,1)(0, 1), local min (2,−3)(2, -3)

Worked examples

Example 1 · cubic polynomial

second derivative test
f(x)=x3−3x2+1f(x) = x^3 - 3x^2 + 1
find and classify the extrema
f′(x)=3x(x−2)=0  ⇒  x=0,2f'(x) = 3x(x - 2) = 0 \;\Rightarrow\; x = 0, 2
critical points
f′′(0)=−6<0,f′′(2)=6>0f''(0) = -6 < 0,\quad f''(2) = 6 > 0
second derivative test
local max (0,1)(0, 1), local min (2,−3)(2, -3)
function values

Example 2 · absolute extrema on a closed interval

endpoints count
f(x)=x2e−xf(x) = x^2 e^{-x} on [0,3][0, 3]
largest and smallest value
f′(x)=e−x(2x−x2)=x e−x(2−x)f'(x) = e^{-x}(2x - x^2) = x\,e^{-x}(2 - x)
product rule, factored
x=0,  x=2x = 0,\; x = 2
critical points, both in [0,3][0, 3]
f(0)=0,f(2)=4e2≈0.54,f(3)=9e3≈0.45f(0) = 0,\quad f(2) = \frac{4}{e^2} \approx 0.54,\quad f(3) = \frac{9}{e^3} \approx 0.45
critical points and endpoints
absolute max 4e2\frac{4}{e^2} at x=2x = 2, absolute min 00 at x=0x = 0
compare all candidates

Example 3 · critical point where the derivative is undefined

first derivative test
f(x)=x2/3f(x) = x^{2/3}
a cusp at the origin
f′(x)=23x−1/3f'(x) = \tfrac{2}{3}x^{-1/3}
never 00, undefined at x=0x = 0
f′<0f' < 0 for x<0,f′>0x < 0,\quad f' > 0 for x>0x > 0
sign change −- to ++
local (and absolute) min (0,0)(0, 0)
first derivative test; f′′f'' is no help here

See it happen

x³ − 3xf(x) = x³ − 3x
×
880 × 460
f(x)f′(x)critical points (numbered)
Critical points on [a, b][a, b] = [-3, 3]
#
x
f(x)
f''(x)
Second-derivative test
Verdict
1
-1
2
-6
f′′(c) < 0 → concave down
local max
2
1
-2
6
f′′(c) > 0 → concave up
local min
f'(c) = 0 finds the candidates; sign of f''(c) classifies them. Positive: local min. Negative: local max. Zero or sign change: inflection.2nd-deriv test
Applieda=-3b=3f'=0 candidates · f'' classifies
Change the function and the interval and watch ff and f′f' together: a maximum sits where f′f' crosses the axis from positive to negative, a minimum where it crosses from negative to positive. On a closed interval an endpoint can beat every interior critical point.

Common mistakes

Treating every zero of f' as an extremum

✗ f(x)=x3f(x) = x^3 has an extremum at 00
✓ f′f' does not change sign at 00: neither max nor min

Forgetting where f' is undefined

✗ x2/3x^{2/3} has no critical points because f′≠0f' \neq 0
✓ f′f' is undefined at 00, which is a critical point and a minimum

Skipping the endpoints

✗ on [0,3][0, 3] the maximum is the critical point, no check needed
✓ compare f(0)f(0) and f(3)f(3) too; here the critical point wins, but it had to be checked

Reading f''(c) = 0 as "neither"

✗ f(x)=x4f(x) = x^4: f′′(0)=0f''(0) = 0, so no extremum
✓ the test is inconclusive; the first derivative test shows a minimum at 00