Intervals are segments of the real line. We define:
the open interval from to , excluding the endpoints;
the closed interval from to including the endpoints;
; the symbol stands for infinity, which is not a real number;
, the set of non-negative real numbers.