We can use the first and second derivative test. First derivative test is when we set f'(x) equal to zero. Second derivative test is when we set f''(x) equal to zero.
First derivative test:
(x2 - 4)(x + 1) = 0
(x + 2)(x - 2)(x + 1) = 0
x = -2 , x = -1 , x = 2
These x values are your critical points and location of local maximum and local minimums.
We will first expand f'(x), so that we can easily derive f'(x) to get f''(x).
f'(x) = x3 + x2 - 4x - 4
f''(x) = 0
3x2 + 2x - 4 = 0
Use the quadratic formula to solve for x.
x = (-2 ± √(4 - 4(-12))) / 6
x = (-2 ± √(4 + 48)) / 6
x = (-2 ± √(52)) / 6
x = -1.535 and x = 0.869
These are your points of inflection. They are the location where f(x) changes concavity. Next, we use test points to evaluate the second derivative. If the second derivative is negative, then it is concave down and indicates a maximum. If the second derivative is positive, then it is concave up and indicates a minimum.
Evaluate f''(-2) , f''(0) , f''(1)
f''(-2) = 3(-2)2 + 2(-2) - 4
= 12 - 4 - 4
= 4
f''(0) = -4
f''(1) = 3(1)2 + 2(1) - 4
= 3 + 2 - 4
= 1
Intervals of concave up are (-∞, -1.535)∪(0.869, ∞)
Interval of concave down are (-1.535, 0.869)
We know that between -1.535 and 0.869, there is a maximum. x=-1 lies in this interval. However this is not enough to determine if x=-1 is a local extrema. We go back to the first derivative and use test points. If the first derivative changes signs, then we have a local extrema.
Evaluate f'(-1.5) and f'(0) since x=-1 is between x=-1.5 and x=0
f'(-1.5) = (-1.5 + 2)(-1.5 - 2)(-1.5 + 1)
= (0.5)(-2.5)(-0.5)
= positive number
f'(0) = (0 + 2)(0 - 2)(0 + 1)
= (2)(-2)(1)
= negative number
Since the first derivative changes signs, x=-1 is a relative extrema.
I think you wrote your statement in the question incorrectly.
Michael W.
12/18/15