The union of two sets and
is the set obtained by combining the members of each. This is written
, and is pronounced "
union
" or "
cup
." The union of sets
through
is written
. The union of a list may be computed in the Wolfram Language as Union[l].
Let ,
,
, ... be sets, and let
denote the probability of
. Then
| (1) |
Similarly,
| (2) | |||
| (3) | |||
| (4) | |||
| (5) | |||
| (6) |
The general statement of this property for sets is known as the inclusion-exclusion principle.
If and
are disjoint sets, then by definition
, so
| (7) |
Continuing, for a set of disjoint elements
,
, ...,
| (8) |
which is the countable additivity probability axiom. Now let
| (9) |
then
| (10) |