- Critical points are where $f'(x) = 0$ or $f'$ is undefined.
- If $f'$ changes from $+$ to $-$, there's a local maximum; from $-$ to $+$, a local minimum.
- $f'' > 0$: concave up (cup shape). $f'' < 0$: concave down. Where concavity changes is an inflection point.
Example
$f(x) = x^3 - 3x$. Then $f'(x) = 3x^2 - 3 = 0$ at $x = \pm 1$. $f(-1) = 2$ is a local max, and $f(1) = -2$ is a local min.
Optimization
- Write a formula for the quantity to maximize or minimize.
- Use the constraint to get it in one variable.
- Set the derivative to zero and solve.
- Check endpoints and confirm it's a max or min.
The graph below shows $f$ and its derivative. Where $f'$ crosses zero, $f$ turns around.