This article lists
mathematical
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
properties and laws of
sets, involving the set-theoretic
operations of
union,
intersection
In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their ...
, and
complementation and the
relations of set
equality and set
inclusion. It also provides systematic procedures for evaluating expressions, and performing calculations, involving these operations and relations.
The
binary operation
In mathematics, a binary operation or dyadic operation is a rule for combining two elements (called operands) to produce another element. More formally, a binary operation is an operation of arity two.
More specifically, a binary operation ...
s of set union (
) and intersection (
) satisfy many identities. Several of these identities or "laws" have well established names.
Notation
Throughout this article, capital letters (such as
and
) will denote sets. On the left hand side of an identity, typically,
*
will be the leftmost set,
*
will be the middle set, and
*
will be the rightmost set.
This is to facilitate applying identities to expressions that are complicated or use the same symbols as the identity.
[
For example, the expression uses two of the same symbols ( and ) that appear in the identity
but they refer to different sets in each expression.
To apply this identity to substitute and (since these are the left, middle, and right sets in ) to obtain:
For a second example, this time applying the identity to is now given. The identity can be applied to by reading and as and and then substituting and to obtain:
]
For example, the identity
may be read as:
Elementary set operations
For sets
and
define:
and
where the
is sometimes denoted by
and equals:
One set
is said to another set
if
Sets that do not intersect are said to be .
The
power set
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ...
of
is the set of all subsets of
and will be denoted by
Universe set and complement notation
The notation
may be used if
is a subset of some set
that is understood (say from context, or because it is clearly stated what the superset
is).
It is emphasized that the definition of
depends on context. For instance, had
been declared as a subset of
with the sets
and
not necessarily related to each other in any way, then
would likely mean
instead of
If it is needed then unless indicated otherwise, it should be assumed that
denotes the
universe set, which means that all sets that are used in the formula are subsets of
In particular, the
complement of a set will be denoted by
where unless indicated otherwise, it should be assumed that
denotes the complement of
in (the universe)
One subset involved
Assume
Identity:
Definition:
is called a
left identity element of a
binary operator if
for all
and it is called a
right identity element of
if
for all
A left identity element that is also a right identity element if called an
identity element
In mathematics, an identity element or neutral element of a binary operation is an element that leaves unchanged every element when the operation is applied. For example, 0 is an identity element of the addition of real numbers. This concept is use ...
.
The empty set
is an identity element of binary union
and symmetric difference
and it is also a right identity element of set subtraction
but
is not a left identity element of
since
so
if and only if
Idempotence and
Nilpotence :
Domination/
Absorbing element:
Definition:
is called a
left absorbing element of a
binary operator if
for all
and it is called a
right absorbing element of
if
for all
A left absorbing element that is also a right absorbing element if called an
absorbing element. Absorbing elements are also sometime called annihilating elements or zero elements.
A universe set is an absorbing element of binary union
The empty set
is an absorbing element of binary intersection
and binary Cartesian product
and it is also a left absorbing element of set subtraction
but
is not a right absorbing element of set subtraction since
where
if and only if
Double complement or
involution law:
Two sets involved
In the left hand sides of the following identities,
is the eft most set and
is the ight most set.
Assume both
are subsets of some universe set
Formulas for binary set operations , and
In the left hand sides of the following identities, is the eft most set and is the ight most set. Whenever necessary, both and should be assumed to be subsets of some universe set , so that
De Morgan's laws
De Morgan's laws state that for
Commutativity
Unions, intersection, and symmetric difference are
commutative operations:
Set subtraction is not commutative. However, the commutativity of set subtraction can be characterized: from
it follows that:
Said differently, if distinct symbols always represented distinct sets, then the true formulas of the form
that could be written would be those involving a single symbol; that is, those of the form:
But such formulas are necessarily true for binary operation
(because
must hold by definition of
equality), and so in this sense, set subtraction is as diametrically opposite to being commutative as is possible for a binary operation.
Set subtraction is also neither
left alternative
The Left List, later renamed the Left Alternative, was a political party active in the United Kingdom between 2008 and 2010. A minor party, it never had any of its candidates elected at any level of UK government although it inherited several lo ...
nor
right alternative; instead,
if and only if
if and only if
Set subtraction is
quasi-commutative and satisfies the
Jordan identity.
Other identities involving two sets
Absorption laws:
Other properties
Intervals: