Overview
The algebra of sets concerns itself with the operations of union (), intersection (), and set difference (), together with the inclusion relation ().
Union
The union of two sets, say and , is defined as
More generally, let be an indexed family of sets. Then the union of this famliy is given by
The union axioms assert the union's existence.
Disjoint Union
The disjoint union of two sets, say and , is defined as
More generally, let be an indexed family of sets. Then the disjoint union of this family is given by
Intersection
The intersection of two sets, say and , is defined as
More generally, let be a nonempty indexed family of sets. Then the intersection of this family is given by
The subset axioms asserts the intersection's existence.
Symmetric Difference
The symmetric difference of two sets, say and , is defined as
Cartesian Product
The Cartesian product of two sets, say and , is defined as
The Cartesian square of a set is the Cartesian product . The -ary Cartesian power of a set , denoted , is defined as
As a special case, the -ary Cartesian power, denoted , is defined as the singleton set containing the empty function (with codomain ).
Properties
Commutativity
Union and intersection are commutative operations. That is, for any sets and ,
Associativity
Union and intersection are associative operations. That is, for any sets and ,
Distributivity
For any sets , , and ,
More generally, for any sets and ,
De Morgan's Laws
For any sets , , and ,
More generally, for any sets and ,
Monotonicity
Let , , and be arbitrary sets. Then
- ,
- ,
Antimonotonicity
Let , , and be arbitrary sets. Then
Cancellation
Let , , and be sets. If ,