Sample Problems
- Assume f is defined and twice differentiable on the whole real line. Around a minimum of the function f, is f concave up or concave down?
- Assume f is defined and twice differentiable on the whole real line. Around a maximum of the function f, is f concave up or concave down?
A minimum of f will usually occur at the bottom of a right-side up bowl:

Having a right-side up bowl means f is concave up here.
A maximum of f will usually occur at the top of an upside-down bowl:

Having an upside-down bowl means f is concave down here.
The Second Derivative Test says
- If f is concave up around a critical point, that critical point is a minimum.
- If f is concave down around a critical point, that critical point is a maximum.
This is true because if f is concave up around a critical point, f looks like this:

Such a critical point must be a minimum. On the other hand, if f is concave down around a critical point, then f looks like this:

Such a critical point must be a maximum.
Be Careful: If f " is zero at a critical point, we can't use the Second Derivative Test, because we don't know the concavity of f around the critical point.
Be Careful: There's sometimes confusion about this test because people think a concave up function should correspond to a maximum. This is why pictures are useful. If we remember what a concave up function looks like, we'll be fine.
There's a good question that most people have right about now: if you're not told which to use, how do you know whether to use the first derivative test or the second derivative test?
The good news is that it often doesn't matter. When it's possible to use both the first derivative test and the second derivative test, they will give the same answer.
The other good news is that you can usually do whichever test is easier. Sometimes finding the second derivative is not fun, like with the function

The first derivative is

and while we could find the second derivative, it's not pretty and we don't want to bother. In this case, it probably makes more sense to plug in a couple of numbers and see what the sign of the first derivative is doing. Sometimes the second derivative test doesn't work at all (if f " is 0 at the critical point), in which case we need to use the first derivative test.
On the other hand, sometimes you can see that the second derivative is really nice. Take the function
f (x) = x2 + 4x + 1.
The first derivative is
f '(x) = 2x + 4
and the second derivative is
f "(x) = 2,
which is always positive. Therefore f is always concave up, so any critical point needs to be a minimum. The second derivative test for this one is a piece of cake. Mmm, cake.
The bad news is that, as with the rest of math, we do need to practice. The more functions we stare at, the better we will become at deciding whether to use the first derivative test or the second derivative test to classify a function's extreme points. Don't worry; there are plenty of practice problems.
Practice:
Let f (x) = xex. If possible, use the second derivative test to determine if each critical point is a maximum, a minimum, or neither. | |
he first derivative is f '(x) = xex + ex = ex(x + 1), so there is one critical point at x = -1. For the second derivative test we need the second derivative, which we can find using the product rule. 
At the critical point, we have 
Therefore f (x) is concave up at x = -1, so looks like this: 
We must have a minimum at x = -1. | |
Let f (x) = -x3 + 3x2 - 3x. If possible, use the second derivative test to determine if each critical point is a minimum, maximum, or neither. | |
The derivative is 
This is only zero when x = 1, and never undefined, so x = 1 is the only critical point. The second derivative, using the chain rule, is f "(x) = -6(x - 1)(1) = -6(x - 1). Since f "(1) = 0, we can't use the second derivative test to determine what type of critical point there is at x = 1. We could use the first derivative test though. | |
Let f (x) = 5 - x2. If possible, use the second derivative test to determine if each critical point is a minimum, maximum, or neither. | |
The first derivative is f '(x) = -2x, which is 0 when x = 0 so we have a critical point at x = 0. The second derivative is f "(x) = -2. Since f "(0) = -2 < 0, the function f is concave down and we have a maximum at x = 0. The graph confirms this: 
When doing these problems, remember that you don't need to know the value of the second derivative at each critical point: you only need to know the sign of the second derivative. This might save you some calculation time. | |
For the function, use the second derivative test (if possible) to determine if each critical point is a minimum, maximum, or neither. If the second derivative test can't be used, say so.

Answer
We use the quotient rule to find the derivative:

f'(x) is undefined only at x = -3, in which case f is also undefined so this is not a critical point. f'(x) is zero when
x2 + 6x + 5 = 0.
Happily, this quadratic factors as
x2 + 6x + 5 = (x + 5)(x + 1),
so f'(x) is zero at x = -5 and x = -1. Here's the numberline so far:

To use the second derivative test, we need to find the second derivative.

Now we evaluate the second derivative at each critical point. At x = -5 we find

which means f is concave down and so has a maximum at x = -5.

At x = -1 we find

which means f is concave up and so has a minimum at x = -1.
Thankfully, these are the same answers we found using the first derivative test.
For the function, use the second derivative test (if possible) to determine if each critical point is a minimum, maximum, or neither. If the second derivative test can't be used, say so.
f (x) = exsin x for 0 < x < 2π
Answer
The first derivative is
f'(x) = excos x + exsin x = ex(cos x + sin x).
This is never undefined. Since ex is never 0, f ' is only 0 when
cos x + sin x = 0,
equivalently,
cos x = -sin x.
On the interval 0 < x < 2π, this only occurs at
and
, so these are our critical points. The second derivative is
f "(x) = ex(-sin x) + excos x + excos x + exsin x = 2excos x.
Now we need to find the sign of the second derivative at each critical point. Since 2ex is always positive, the sign of f "(x) is the same as the sign of cos x.
Since
is negative, we know

so f is concave down and has a maximum at
. Since
is positive, we know
so f is concave up and has a minimum at
.
A graph of the function supports these answers:

For the function, use the second derivative test (if possible) to determine if each critical point is a minimum, maximum, or neither. If the second derivative test can't be used, say so.
f (x) = x3 – 2x2 + x
Answer
The first derivative is
f '(x) = 3x2 - 4x + 1
and the second derivative is
f "(x) = 6x – 4.
We use the first derivative to find the critical points. Happily, it factors:

The critical points are
and x = 1. Now we find the (sign of) the second derivative at each critical point.

so f is concave down and has a maximum at x = ⅓.
f "(1) = 6(1) 0 – 4 = 2 > 0
so f is concave up and has a minimum at x = 1.
For the function, use the second derivative test (if possible) to determine if each critical point is a minimum, maximum, or neither. If the second derivative test can't be used, say so.

Answer
The first derivative is

The only critical point is x = 1, since x = 0 isn't in the domain of f and ex is never 0.The second derivative is

We could simplify this, but it's probably not worth it: all we need to do is plug in 1 for x and see what we find, so simplifying first would be a waste of time.

The function f is concave up at x = 1, and so has a minimum there.
For the function, use the second derivative test (if possible) to determine if each critical point is a minimum, maximum, or neither. If the second derivative test can't be used, say so.

Answer
The derivative is
f '(x) = -sin x
and the second derivative is
f "(x) = -cos x.
On the interval specified, f ' is zero at
x = -π, 0, π
and never undefined, so these are all the critical points we need to worry about.Now we evaluate the second derivative at each critical point and see what we find.
f "(-π) = -cos(-π) = 1 > 0
so f is concave up and has a minimum at x = -π.
f "(0) = -cos 0 = -π < 0
so f is concave down and has a maximum at x = 0.
f "(π) = -cos(π) = 1 > 0
so f is concave up and has a minimum at x = π.
Classify the extreme points of the function, using either the first or second derivative test. Explain why you chose to use the test you did.
f (x) = x4 - 32x
Answer
f (x) = x4 - 32x
The first derivative is
f'(x) = 4x3 - 32.
This is zero when x = 2, so x = 2 is the single critical point of f. If we use the first derivative test, we need to evaluate f' at two different values of x.
Since it's possible to take another derivative, we'll use the second derivative test. The second derivative is
f"(x) = 12x2
which is positive for any x ≠ 0. We didn't even need to evaluate f" at one value of x, which is nice. Since f" is positive at x = 2, the function f is concave up, and therefore has a minimum at x = 2.
Classify the extreme points of the function, using either the first or second derivative test. Explain why you chose to use the test you did.
f (x) = (x - 1)9
Answer
f (x) = ( x - 1 )9
The first derivative is
f'(x) = 9( x - 1 )8
which is zero when x = 1, so x = 1 is our only critical point. We can't use the second derivative test because
f"(x) = 72( x - 1 )7
and therefore
f"(1) = 0.
This means we need to use the first derivative test. Take x = 0 for the point to the left, and x = 2 for the point to the right of our critical point.
f'(0) = 9(-1)8 > 0
and
f'(2) = 9(1)8 > 0
so f has neither a minimum nor a maximum at x = 1.
Classify the extreme points of the function, using either the first or second derivative test. Explain why you chose to use the test you did.
f (x) = (x - 1)9
Answer

The first derivative is

This one is nasty. We know that f' is only undefined for x =
, in which case f is also undefined, so we don't find any critical points that way. To find when f' is zero we need to solve the equation
x4 - 10x2 - 3 = 0.
We can use the quadratic formula to solve for x2:

Since
is negative and x2 can't be negative, we know

Therefore

Now it's time to choose the first or second derivative test. If we use the second derivative test we need to find the second derivative, which requires the quotient rule again.
Instead, use the first derivative test. We have this numberline:

The numbers 0, ± 4 seem like nice ones to plug into the first derivative.


Since the first derivative contains only even powers of x, we know
f'(4) = f'(-4)
so we only need to evaluate one of these.

Now the numberline looks like this:

and we know that there is a maximum at

and a minimum at

Classify the extreme points of the function, using either the first or second derivative test. Explain why you chose to use the test you did.
f (x) = ex2 - 4x
Answer
f (x) = ex2 - 4x
The first derivative is
f'(x) = (2x - 4)ex2 - 4x
Since ex2-4x is never zero or undefined, the only critical point occurs when 2x - 4 = 0, which is when x = 2. We could use the second derivative test, but that needs the product rule. Use the first derivative test. We know
ex2 - 4x is always positive, so the sign of f' is the same as the sign of ( 2x - 4 ). When x < 2 this is negative and when x > 2 this positive. We find this:

We conclude that f has a minimum at x = 2.
Classify the extreme points of the function, using either the first or second derivative test. Explain why you chose to use the test you did.

Hint
rewrite the function before taking its derivative
Answer
f (x) = x2/3(1 - x2)
We can rewrite this function as
f (x) = x2/3 - x8/3.
Then the derivative is

This is undefined when x = 0, and zero when

We have critical points at x = 0 and
.We can't use the second derivative test at x = 0 because f'(0) doesn't even exist. The first derivative test it is. Here's the numberline, and the values we need to plug into f':

We find

These next ones we'll do with a calculator. If you want to do them by scratch we recommend using x = ⅛ instead of x = 0.25, since ⅛ has a nice cube root. Remember, all we care about is whether we find positive or negative numbers.

Here's the numberline:

We have a min at x = 0, and maxima at x = ± ½.