Thomas H. answered 03/21/20
Mathematics Tutor
To find the maxima and minima of any function, you need to calculate its derivative with respect to the variable for which it's a function:
The function in question is
f(x) = 6x3 − 18x2 − 54x +9;
it's derivative is
f'(x)=d/dx( 6x3 − 18x2 − 54x +9) = 6(3x2) -18(2x) - 54 = 18x2 - 36x - 54
The absolute maximum and minimum values will occur where the derivative equals zero.
so find where
f'(x) = 18x2 - 36x - 54 = 0
we divide both sides by 18 to simplify this equation and get
x2 - 2x - 3 = 0
now we find the roots for this equation by factoring it on the left side:
(x-3)(x+1) = 0
so the two roots are x = 3 and x = -1 which are BOTH in the range [−2, 4]
Now there are two ways to determine which is the absolute maximum and which is the absolute minimum.
The first way is to simply is set x to either of the two values (3 and -1) in the original function f(x) and check to see which one has the "highest" value and that will be the maximum while the other will be the minimum.
Another way is to take the derivative of the derivative of f(x) (which will be the second derivative of f(x) with respect to x) and see if it is positive or negative for each of the roots.
Since we're asked to find the maximum and minimum values in the first place, we'll use the first way.
f(-1) = 6(-1)3 − 18(-1)2 − 54(-1) +9 = 6(-1) - 18(1) -54(-1) + 9 = (-6) -18 +54 + 9 =-24+54+9 =39
f(3) = 6(3)3 − 18(3)2 − 54(3) +9 = 162 - 162 - 162 + 9 = -153
so because f(3) is less than f(-1) -153 is the minimum value of f(x) and 39 is the maximum value.
A question I leave for you is what is the value of the SECOND derivative of f(x) for x = -1 and x = 3 and what is the significance of those values?