Navigation: Wiki Home > Skills > Fermat's Theorem and Critical Numbers
The Extreme Value Theorem tells us that a continuous function on $[a, b]$ has a maximum and minimum—but it doesn't say where to find them. Do we need to check every point? That's infinitely many!
Fortunately, calculus gives us a shortcut. Fermat's Theorem narrows down the search: if you're looking for local extrema, you only need to check points where the derivative is zero or doesn't exist. These special points are called critical numbers.
Think of a critical number as a "suspect" in the search for extrema. Not every suspect is guilty (has an extremum), but every guilty point (local extremum) is among the suspects.
| Property | Value |
|---|---|
| Section | Stewart §4.1 |
| Course | MATH161 |
| Difficulty | Intermediate |
| Time | ~20 minutes |
$$\boxed{\text{If } f \text{ has a local extremum at } c \text{ and } f'(c) \text{ exists, then } f'(c) = 0.}$$
Geometric interpretation: At a local maximum or minimum where the function is smooth, the tangent line is horizontal.
Local Maximum Local Minimum
___ |
/ \ slope = 0 ___|___ slope = 0
/ \ / \
/ \ / \
Suppose $f$ has a local maximum at $c$ and $f'(c)$ exists.
From the right: For small positive $h$, $f(c + h) \leq f(c)$, so: $$\frac{f(c+h) - f(c)}{h} \leq 0$$
Taking $\lim_{h \to 0^+}$ gives $f'(c) \leq 0$.
From the left: For small negative $h$, $f(c + h) \leq f(c)$, but now we divide by negative $h$: $$\frac{f(c+h) - f(c)}{h} \geq 0$$
Taking $\lim_{h \to 0^-}$ gives $f'(c) \geq 0$.
Combining: $f'(c) \leq 0$ and $f'(c) \geq 0$ implies $f'(c) = 0$. $\square$
Fermat's Theorem says: local extremum → derivative zero (if it exists)
It does NOT say: derivative zero → local extremum
Counterexample: $f(x) = x^3$ has $f'(0) = 0$, but $x = 0$ is not a local extremum.
f(x) = x³
/
/
------●------ ← horizontal tangent at (0,0)
/ but NOT an extremum
/
Definition: A critical number of $f$ is a number $c$ in the domain of $f$ such that either:
Fermat's Theorem has a hypothesis: "if $f'(c)$ exists." What about points where the derivative doesn't exist?
Example: $f(x) = \vert x\vert $ has a local minimum at $x = 0$, but $f'(0)$ doesn't exist.
|x|
/\
/ \
/ \ ← sharp corner at x = 0
/ \ (derivative DNE)
So we must also check points where the derivative doesn't exist—hence the definition of critical number includes both cases.
Corollary: If $f$ has a local extremum at $c$, then $c$ is a critical number of $f$.
This tells us: all local extrema occur at critical numbers. So to find all candidates for local extrema, find all critical numbers.
| Type | Condition | Example | Could Be Extremum? |
|---|---|---|---|
| Stationary point | $f'(c) = 0$ | $f(x) = x^2$ at $c = 0$ | Yes |
| Singular point | $f'(c)$ DNE | $f(x) = \|x\|$ at $c = 0$ | Yes |
Find all critical numbers of $f(x) = x^3 - 12x + 5$.
Find all critical numbers of $g(x) = \dfrac{x^2}{x - 1}$.
Find all critical numbers of $h(x) = x^{2/3}(x - 5)$.
Find all critical numbers of $f(\theta) = 2\cos\theta + \sin(2\theta)$ on the interval $[0, 2\pi]$.
Let $f(x) = ax^3 + bx^2 + cx + d$ where $a \neq 0$.
True or False (justify each):
The Suspects Analogy:
Think of critical numbers as "suspects" in the search for local extrema:
To find extrema: first round up all the suspects (critical numbers), then investigate each one to determine if it's actually an extremum.
Looking back:
Looking ahead:
| Previous | Up | Next |
|---|---|---|
| Extreme Value Theorem | Section Index | Closed Interval Method |
Last updated: 2026-01-22