If a function has a horizontal tangent at a critical point and is concave up there, the point is a local minimum. If the function is concave down, it is a local maximum. This is the Second Derivative Test.
| Condition | Conclusion |
|---|---|
| f'(c)=0 and f''(c)>0 | has a local minimum at |
| f'(c)=0 and f''(c)<0 | has a local maximum at |
| f'(c)=0 and f''(c)=0 | Test is inconclusive; use First Derivative Test |
The Theorem

Suppose f'(c)=0.
(a) If f''(c)>0, then has a local minimum at .
(b) If f''(c)<0, then has a local maximum at .
Proof
**(a)** Suppose f''(c)>0. By definition: f''(c)=\lim_{\Delta x\to0}\frac{f'(c+\Delta x)-f'(c)}{\Delta x}=\lim_{\Delta x\to0}\frac{f'(c+\Delta x)}{\Delta x} where we used f'(c)=0. Since f''(c)>0, for sufficiently small : \frac{f'(c+\Delta x)}{\Delta x}>0. Therefore: - For small : f'(c+\Delta x)<0, so is decreasing to the left of . - For small : f'(c+\Delta x)>0, so is increasing to the right of . By the First Derivative Test (sign changes from to ), has a local minimum at . The proof of part (b) is analogous.When the Test is Inconclusive
There are three situations where the Second Derivative Test gives no conclusion:
- f'(c)=f''(c)=0
- f'(c)=0 and f''(c) does not exist
- f'(c) does not exist
In these cases, may be a local minimum, a local maximum, or neither. The three functions , , and illustrate this: for all three, f'(0)=f''(0)=0, but is a local minimum for , a local maximum for , and neither for .

Whenever the Second Derivative Test is inconclusive, or when the second derivative is tedious to compute, use the First Derivative Test.
Examples
Use the Second Derivative Test to find the local extrema of .
Solution
f'(x)=\frac{3}{2}x^2-3x=\frac{3}{2}x(x-2). Critical points: f'(0)=0 and f'(2)=0, so and . f''(x)=3x-3. At : f''(0)=3(0)-3=-3<0\quad(\text{concave down})\Rightarrow f\text{ has a local maximum at }x=0. At : f''(2)=3(2)-3=3>0\quad(\text{concave up})\Rightarrow f\text{ has a local minimum at }x=2.
Use the Second Derivative Test to find the local extrema of .
Solution
Using the quotient rule: f'(x)=\frac{(2x-4)(x^2+1)-2x(x^2-4x+5)}{(x^2+1)^2}=\frac{4(x^2-2x-1)}{(x^2+1)^2}. Setting f'(x)=0: Critical points: and . For f'', at a critical point , so the complicated term involving this factor drops out: f''(c_{1,2})\propto(2c_{1,2}-2)=2(c_{1,2}-1). The sign of f'' at each critical point equals the sign of : \text{sgn}(f''(1+\sqrt{2}))=\text{sgn}(\sqrt{2})>0\Rightarrow\text{local minimum at }x=1+\sqrt{2}. \text{sgn}(f''(1-\sqrt{2}))=\text{sgn}(-\sqrt{2})<0\Rightarrow\text{local maximum at }x=1-\sqrt{2}.
Use the Second Derivative Test to find the local maxima and minima of .
Solution
Since is periodic with period , we work on . f'(x)=2\cos x-2\sin2x=2\cos x-4\sin x\cos x=2\cos x(1-2\sin x). Setting f'(x)=0:![Unit circle showing solutions to sin x = 1/2 in [0, 2pi]](https://adaptivebooks.org/book-images/calculus1/Ch6-SecondDerivativeTest-Ex3-a.png)
