HOME

TheInfoList



OR:

In
set theory Set theory is the branch of mathematical logic that studies 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 mathematics, is mostly concern ...
, 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 (0) sets and it is by definition equal to the
empty set In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in othe ...
. For explanation of the symbols used in this article, refer to the
table of mathematical symbols A mathematical symbol is a figure or a combination of figures that is used to represent a mathematical object, an action on mathematical objects, a relation between mathematical objects, or for structuring the other symbols that occur in a formul ...
.


Union of two sets

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 In set theory and its applications to logic, mathematics, and computer science, set-builder notation is a mathematical notation for describing a set by enumerating its elements, or stating the properties that its members must satisfy. Defining ...
, :A \cup B = \. For example, if ''A'' = and ''B'' = then ''A'' ∪ ''B'' = . A more elaborate example (involving two infinite sets) is: : ''A'' = : ''B'' = : A \cup 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 number In mathematics, parity is the property of an integer of whether it is even or odd. An integer is even if it is a multiple of two, and odd if it is not.. For example, −4, 0, 82 are even because \begin -2 \cdot 2 &= -4 \\ 0 \cdot 2 &= 0 \\ 41 ...
s , 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 In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
of a set or its contents.


Algebraic properties

Binary union is an
associative In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement ...
operation; that is, for any sets A, B, \text C, A \cup (B \cup C) = (A \cup B) \cup C. Thus the parentheses may be omitted without ambiguity: either of the above can be written as A \cup B \cup C. 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. Most familiar as the name of ...
, so the sets can be written in any order. The
empty set In mathematics, the empty set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, while in othe ...
is an
identity element In mathematics, an identity element, or neutral element, of a binary operation operating on a set is an element of the set that leaves unchanged every element of the set when the operation is applied. This concept is used in algebraic structures su ...
for the operation of union. That is, A \cup \varnothing = A, for any set A. Also, the union operation is idempotent: A \cup A = A. All these properties follow from analogous facts about
logical disjunction In logic, disjunction is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is raining or it is snowing" can be represented in logic using the disjunctive formula R \lor ...
. Intersection distributes over union A \cap (B \cup C) = (A \cap B)\cup(A \cap C) and union distributes over intersection A \cup (B \cap C) = (A \cup B) \cap (A \cup C). 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 post ...
of a set U, together with the operations given by 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, thei ...
, and complementation, is a
Boolean algebra In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variables are the truth values ''true'' and ''false'', usually denoted 1 and 0, whereas i ...
. In this Boolean algebra, union can be expressed in terms of intersection and complementation by the formula A \cup B = \left(A^\text \cap B^\text \right)^\text, where the superscript ^\text denotes the complement in the universal set U.


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. T ...
.


Arbitrary unions

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 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 differently ...
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" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false. The connective is bic ...
there is at least one element ''A'' of M such that ''x'' is an element of ''A''. In symbols: : x \in \bigcup \mathbf \iff \exists A \in \mathbf,\ x \in A. 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.


Notations

The notation for the general concept can vary considerably. For a finite union of sets S_1, S_2, S_3, \dots , S_n one often writes S_1 \cup S_2 \cup S_3 \cup \dots \cup S_n or \bigcup_^n S_i. Various common notations for arbitrary unions include \bigcup \mathbf, \bigcup_ A, and \bigcup_ A_. The last of these notations refers to the union of the collection \left\, where ''I'' is an index set and A_i is a set for every i \in I. In the case that the index set ''I'' is the set of
natural number In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country"). Numbers used for counting are called '' cardinal ...
s, one uses the notation \bigcup_^ A_, 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, union is represented by the character . In TeX, \cup is rendered from \cup.


See also

* * − the union of sets of strings * * * * * * * *


Notes


External links

*
Infinite Union and Intersection at ProvenMath
De Morgan's laws formally proven from the axioms of set theory. {{Improve categories, date=May 2021 Boolean algebra Basic concepts in set theory Operations on sets Set theory