
In
set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
, the union (denoted by ∪) of a collection of
sets is the set of all
elements in the collection. It is one of the fundamental operations through which sets can be combined and related to each other.
A refers to a union of
zero () sets and it is by definition equal to the
empty set
In mathematics, the empty set or void set is the unique Set (mathematics), set having no Element (mathematics), elements; its size or cardinality (count of elements in a set) is 0, zero. Some axiomatic set theories ensure that the empty set exi ...
.
For explanation of the symbols used in this article, refer to the
table of mathematical symbols.
Binary union
The union of two sets ''A'' and ''B'' is the set of elements which are in ''A'', in ''B'', or in both ''A'' and ''B''.
In
set-builder notation,
:
.
For example, if ''A'' = and ''B'' = then ''A'' ∪ ''B'' = . A more elaborate example (involving two infinite sets) is:
: ''A'' =
: ''B'' =
:
As another example, the number 9 is ''not'' contained in the union of the set of
prime number
A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
s and the set of
even numbers , because 9 is neither prime nor even.
Sets cannot have duplicate elements,
so the union of the sets and is . Multiple occurrences of identical elements have no effect on the
cardinality
The thumb is the first digit of the hand, next to the index finger. When a person is standing in the medical anatomical position (where the palm is facing to the front), the thumb is the outermost digit. The Medical Latin English noun for thum ...
of a set or its contents.
Finite unions
One can take the union of several sets simultaneously. For example, the union of three sets ''A'', ''B'', and ''C'' contains all elements of ''A'', all elements of ''B'', and all elements of ''C'', and nothing else. Thus, ''x'' is an element of ''A'' ∪ ''B'' ∪ ''C'' if and only if ''x'' is in at least one of ''A'', ''B'', and ''C''.
A finite union is the union of a finite number of sets; the phrase does not imply that the union set is a
finite set
In mathematics, particularly set theory, a finite set is a set that has a finite number of elements. Informally, a finite set is a set which one could in principle count and finish counting. For example,
is a finite set with five elements. Th ...
.
Notation
The notation for the general concept can vary considerably. For a finite union of sets
one often writes
or
. Various common notations for arbitrary unions include
,
, and
. The last of these notations refers to the union of the collection
, where ''I'' is an
index set and
is a set for every . In the case that the index set ''I'' is the set of
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s, one uses the notation
, which is analogous to that of the
infinite sums in series.
When the symbol "∪" is placed before other symbols (instead of between them), it is usually rendered as a larger size.
Notation encoding
In
Unicode
Unicode or ''The Unicode Standard'' or TUS is a character encoding standard maintained by the Unicode Consortium designed to support the use of text in all of the world's writing systems that can be digitized. Version 16.0 defines 154,998 Char ...
, union is represented by the character . In
TeX
Tex, TeX, TEX, may refer to:
People and fictional characters
* Tex (nickname), a list of people and fictional characters with the nickname
* Tex Earnhardt (1930–2020), U.S. businessman
* Joe Tex (1933–1982), stage name of American soul singer ...
,
is rendered from
\cup
and
is rendered from
\bigcup
.
Arbitrary union
The most general notion is the union of an arbitrary collection of sets, sometimes called an ''infinitary union''. If M is a set or
class
Class, Classes, or The Class may refer to:
Common uses not otherwise categorized
* Class (biology), a taxonomic rank
* Class (knowledge representation), a collection of individuals or objects
* Class (philosophy), an analytical concept used d ...
whose elements are sets, then ''x'' is an element of the union of M
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
there is
at least one element ''A'' of M such that ''x'' is an element of ''A''.
In symbols:
:
This idea subsumes the preceding sections—for example, ''A'' ∪ ''B'' ∪ ''C'' is the union of the collection . Also, if M is the empty collection, then the union of M is the empty set.
Formal derivation
In
Zermelo–Fraenkel set theory (ZFC) and other set theories, the ability to take the arbitrary union of any sets is granted by the
axiom of union
An axiom, postulate, or assumption is a statement (logic), statement that is taken to be truth, true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that whi ...
, which states that, given any set of sets
, there exists a set
, whose elements are exactly those of the elements of
. Sometimes this axiom is less specific, where there exists a
which contains the elements of the elements of
, but may be larger. For example if
then it may be that
since
contains 1 and 2. This can be fixed by using the
axiom of specification to get the subset of
whose elements are exactly those of the elements of
. Then one can use the
axiom of extensionality
The axiom of extensionality, also called the axiom of extent, is an axiom used in many forms of axiomatic set theory, such as Zermelo–Fraenkel set theory. The axiom defines what a Set (mathematics), set is. Informally, the axiom means that the ...
to show that this set is unique. For readability, define the binary
predicate meaning "
is the union of
" or "
" as:
Then, one can prove the statement "for all
, there is a unique
, such that
is the union of
":
Then, one can use an
extension by definition to add the union operator
to the
language of ZFC as:
or equivalently:
After the union operator has been defined, the binary union
can be defined by showing there exists a unique set
using the
axiom of pairing, and defining
. Then, finite unions can be defined inductively as:
Algebraic properties
Binary union is an
associative operation; that is, for any sets ,
Thus, the parentheses may be omitted without ambiguity: either of the above can be written as . Also, union is
commutative
In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a pr ...
, so the sets can be written in any order.
The
empty set
In mathematics, the empty set or void set is the unique Set (mathematics), set having no Element (mathematics), elements; its size or cardinality (count of elements in a set) is 0, zero. Some axiomatic set theories ensure that the empty set exi ...
is 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 ...
for the operation of union. That is, , for any set . Also, the union operation is idempotent: . All these properties follow from analogous facts about
logical disjunction.
Intersection distributes over union
and union distributes over intersection
The
power set of a set , together with the operations given by union,
intersection, and
complementation, is a
Boolean algebra. In this Boolean algebra, union can be expressed in terms of intersection and complementation by the formula
where the superscript
denotes the complement in the
universal set . Alternatively, intersection can be expressed in terms of union and complementation in a similar way:
. These two expressions together are called
De Morgan's laws.
History and etymology
The english word ''union'' comes from the term in
middle French
Middle French () is a historical division of the French language that covers the period from the mid-14th to the early 17th centuries. It is a period of transition during which:
* the French language became clearly distinguished from the other co ...
meaning "coming together", which comes from the
post-classical Latin ''unionem'', "oneness". The original term for union in set theory was ''Vereinigung'' (in german), which was introduced in 1895 by
Georg Cantor
Georg Ferdinand Ludwig Philipp Cantor ( ; ; – 6 January 1918) was a mathematician who played a pivotal role in the creation of set theory, which has become a foundations of mathematics, fundamental theory in mathematics. Cantor establi ...
. The english use of ''union'' of two sets in mathematics began to be used by at least 1912, used by
James Pierpont. The symbol
used for union in mathematics was introduced by
Giuseppe Peano
Giuseppe Peano (; ; 27 August 1858 – 20 April 1932) was an Italian mathematician and glottologist. The author of over 200 books and papers, he was a founder of mathematical logic and set theory, to which he contributed much Mathematical notati ...
in his ''
Arithmetices principia'' in 1889, along with the notations for intersection
, set membership
, and subsets
.
See also
*
* − the union of sets of strings
*
*
*
*
*
*
*
*
Notes
External links
*
Infinite Union and Intersection at ProvenMathDe Morgan's laws formally proven from the axioms of set theory.
{{Mathematical logic
Basic concepts in set theory
Boolean algebra
Operations on sets
Set theory