If a function f(x) is continuous on a closed interval [a, b], then f(x) has both a maximum and a minimum on [a, b].

If f(x) has an extremum on an open interval (a, b), then the extremum occurs at a critical point.

This theorem is sometimes also called the "Weierstrass extreme value theorem."