differentiating by applying product rule,
Now to find the absolute extrema of the function , that is continuous on a closed interval, we have to find the critical numbers that are in the interval and evaluate the function at the endpoints and at the critical numbers.
Now to find the critical numbers, solve for x for f'(x)=0.
`x^2-4=0 , x=+-2`
`e^(-x^2/8)=0 , No solution`
The critical number -2 is not in the interval (-1,4)
So evaluating the function at the critical number 2 and at the end points of the interval,
So the function has absolute maximum=2/`sqrt(e)` at x=2
Function has no absolute minimum , see graph.
Pl. note correction in absolute minimum.
Function has absolute minimum= `-1/root(8)(e)` at x=-1