We show a procedure to find global extrema on closed intervals.

From the previous section, we know that if a function is continuous on a closed interval then it achieves a global maximum and global minimum on that interval. If we further know that this function is differentiable on this interval, then we have the following observation:
  • 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.