The function is
on interval
.
Consider
.
Apply derivative on each side with respect to
.
.
Product rule of derivatives :
.


.
Find the critical numbers of
on the interval
by equating
.


or 
or
.
The function has local minimum or maximum at
and
.
Substitute
in
.

.
Substitute
in
.

.
Find the values of the function at the end points of the interval
.
Substitute
in
.

Substitute
in
.

Compare the values of the function at critical points and end points of the function.
\The function has absolute maximum is
.
The function has absolute minimum is
.
The function has absolute maximum is
.
The function has absolute minimum is
.