Answer
The maximum and minimum must occur at either an endpoint or a critical point. So to find the absolute maximum and minimum, it suffices to find all the critical points, and then compare the values of the function at those points and at the endpoints. The largest such value is the maximum and the smallest is the minimum.