Consider the quadratic \(f(x) = x^2 + 2\text{.}\) The derivative is \(f^\prime(x) = 2x\text{.}\) To find the critical points, I set the derivative equal to zero.
\begin{align*}
f(x) \amp = x^2 + 2\\
f^\prime(x) \amp = 2x\\
2x \amp = 0 \implies x = 0
\end{align*}
So \(x=0\) is the only critical point. After I have found a critical point, I need to determine if it is a maximum, minimum, or neither. I do this by looking at the sign of the derivative near the critical point. The easiest way to record this information is in intevals of increase and decrease. I divide the domain of the function into pieces separated by the critical points.
In this example, the domain is \(\RR\) and the only critical point is \(x=0\text{.}\) Splitting the domain by that critical point gives the intervals \((-\infty, 0)\) and \((0,\infty)\text{.}\) I set up a table to test the intervals.
\begin{align*}
\amp (-\infty, 0) \amp \amp (0, \infty) \\
\amp f^\prime(-1) = 2(-1) = -2 \amp \amp f^\prime (1) =
2(1) = 2 \\
\amp f^\prime \lt 0 \amp \amp f^\prime \gt 0 \\
\amp \text{decreasing} \amp \amp \text{increasing}
\end{align*}
This table lets me classify the critical point. At \(x=0\text{,}\) the function switches from decreasing to increasing. This means that \(x\) must be a minimum. I can conclude that \((0,2)\) is a local minimum of the function.