Extreme value theorem

A continuous real-valued function on a compact set attains both a maximum and a minimum. In Euclidean space, compactness is equivalent to being closed and bounded.

Connect