The Heine-Borel theorem says that a subset of finite-dimensional Euclidean space is compact exactly when it is both closed and bounded:
Here compactness refers to the subspace topology induced by the usual Euclidean metric, and closedness and boundedness are measured in the ambient Euclidean space. This characterization does not hold for arbitrary metric spaces.
The monotone convergence theorem states that if measurable functions pointwise on a measure space, then , allowing the limit to be infinite.
Extend each restriction to by zero on . The functions are nonnegative and increase pointwise to because the intervals are increasing and exhaust . Hence
For nonnegative , integrability means finiteness of this integral, so
No boundedness or closedness of the intervals is required.