Oct 7, 2024
a
and b
are real numbers, the closed interval [a, b]
includes all real numbers x
such that a ≤ x ≤ b
.[0, 2]
and [1, 3]
results in [1, 2]
.[0, 2]
and [1, 3]
results in [0, 3]
.(0, 1)
and (2, 3)
for symmetric difference.(a, b)
includes real numbers x
where a < x < b
(endpoints not included).(1, 2)
includes 1.0001
but not 1
.b < a
, resulting in an interval like [2, 0]
or (2, 0)
.[a, a]
results in a set containing just {a}
.[2, 2]
results in the set {2}
.(-∞, a)
includes all numbers less than a
.
a
using (-∞, a]
.(b, +∞)
includes all numbers greater than b
.