The determine mins and maxes, take the derivative and find the critical values, where the derivative or slope =0
f'(x) = 4x3 − 16x Factor
=4x(x2-4)
=4x(x-2)(x+2) Setting each factor equal to zero and solving
Critical values are x=-2,0,2
Now you need to pick test points along each of these intervals, to see if the derivative is positive or negative. You create a sing chart to do this. When the slope changes from positive to negative, that is a relative max, when it changes from negative to positive that is a relative min.
I have 3 factors. Each factor I plug in the test point and see what the sign is for each factor. then multiply them together to determine the sign of the derivative.
Test point -3 = (-)(-)(-) = negative (3 negatives multiplied together is negative)
Test point -1 = (-)(-)(+) = positive
Test point 1 = (+)(-)(+) = negative
Test point 3 = (+)(+)(+) = positive
What this tells is:
At the first CV, the slope goes from negative to positive, x=-2 is a relative min
At the second CV, the slope goes from positive to negative, x=0 is a relative max
At the third CV, the slope goes from negative to positive, x=2 is a relative min
In addition to these points, we also have to look at the endpoints -3 and 4. Here is a summary of all the possible mins and maxes
(-3,15)
(-2,-10)
(0,6)
(2,-10)
(4,134)
The absolute max value is 134 and it occurs at (4,134)
The absolute min value of the function is -10, it occurs at 2 points in the domain (-2,-10) and (2,-10)