Extreme value theorem

Continuous real function on a closed interval has a maximum and a minimum
Abstract

In real analysis, a branch of mathematics, the extreme value theorem states that if a real-valued function is continuous on the closed and bounded interval , then must attain a maximum and a minimum, each at least once. That is, there exist numbers and in such that:

Wikipedia