We show a procedure to find global extrema on closed intervals.
- Suppose that is continuous on and differentiable on . Then has a global maximum at a critical point or an endpoint and a global minimum at a critical point or endpoint
We can use this observation in the following way:
- Find all critical points for that lie in the given interval
- Evaluate at each critical point and at the endpoints
- The global maximum is the largest value such produced and the global minimum is the smallest such value produced
It is important to note that we are evaluating the original function at the critical points and not . Moreover, only the critical points that are contained in the given interval are to be checked.
Since the largest value that occurs is , so is the global maximum for over and occurs at the endpoint . The smallest value of that occurs is , so is the global minimum for over and occurs at the critical point .
Since the largest value that occurs is , so is the global maximum for over and occurs at the endpoint . The smallest value of that occurs is , so is the global minimum for over and occurs at the critical point .