Doug C. answered 26d
Math Tutor with Reputation to make difficult concepts understandable
The absolute max or min for a continuous function on closed interval occurs at one of the end points of the closed interval or where a critical number exists (first derivative equals zero).
f(-2) = (-2)3 - (-2)2 -8(-2) + 8 = -8 - 4 +16 + 8 = 12
f(0) = 8
f'(x) = 3x2 - 2x - 8, which equals zero:
3x2 - 2x - 8 = 0
3x2 - 6x + 4x - 8 = 0
3x(x - 2) + 4(x - 2) = 0
(3x + 4) (x - 2) = 0
x = -4/3 or x = 2 (ignore x = 2 because it is not in [-2, 0].
f(-4/3) = (-4/3)3 - (-4/3)2 - 8(-4/3) + 8
= -64/27 - 16/9 + 32/3 + 8
= -64/27 - 48/27 + 288/27 + 216/27
= 392/27 ≈ 14.5
So the absolute max occurs at x = -4/3 with a max value of 392/27.
The absolute min occurs at x = 0 with a min value of 8.
desmos.com/calculator/9nfhnunzgs