This article includes alist of references,related reading, orexternal links,but its sources remain unclear because it lacksinline citations. Please helpimprove this article byintroducing more precise citations.(January 2022) (Learn how and when to remove this message) |
| Type | Set operation |
|---|---|
| Field | Set theory |
| Symbolic statement | |
Inmathematics, thedisjoint union (ordiscriminated union) of the setsA andB is the set formed from the elements ofA andB labelled (indexed) with the name of the set from which they come. So, an element belonging to bothA andB appears twice in the disjoint union, with two different labels.
A disjoint union of anindexed family of sets is a set often denoted by with aninjection of each into such that theimages of these injections form apartition of (that is, each element of belongs to exactly one of these images). A disjoint union of a family ofpairwise disjoint sets is theirunion.
Incategory theory, the disjoint union is thecoproduct of thecategory of sets, and thus definedup to abijection. In this context, the notation is often used.
The disjoint union of two sets and is written withinfix notation as. Some authors use the alternative notation or (along with the corresponding or).
A standard way for building the disjoint union is to define as the set ofordered pairs such that and the injection as
Consider the sets and It is possible to index the set elements according to set origin by forming the associated sets
where the second element in each pair matches the subscript of the origin set (for example, the in matches the subscript in etc.). The disjoint union can then be calculated as follows:
Formally, let be anindexed family of sets indexed by Thedisjoint union of this family is the set The elements of the disjoint union areordered pairs Here serves as an auxiliary index that indicates which the element came from.
Each of the sets is canonically isomorphic to the setThrough this isomorphism, one may consider that is canonically embedded in the disjoint union. For the sets and are disjoint even if the sets and are not.
In the extreme case where each of the is equal to some fixed set for each the disjoint union is theCartesian product of and:
Occasionally, the notationis used for the disjoint union of a family of sets, or the notation for the disjoint union of two sets. This notation is meant to be suggestive of the fact that thecardinality of the disjoint union is thesum of the cardinalities of the terms in the family. Compare this to the notation for theCartesian product of a family of sets.
In the language ofcategory theory, the disjoint union is thecoproduct in thecategory of sets. It therefore satisfies the associateduniversal property. This also means that the disjoint union is thecategorical dual of theCartesian product construction. SeeCoproduct for more details.
For many purposes, the particular choice of auxiliary index is unimportant, and in a simplifyingabuse of notation, the indexed family can be treated simply as a collection of sets. In this case is referred to as acopy of and the notation is sometimes used.
Incategory theory the disjoint union is defined as acoproduct in the category of sets.
As such, the disjoint union is defined up to an isomorphism, and the above definition is just one realization of the coproduct, among others. When the sets are pairwise disjoint, the usual union is another realization of the coproduct. This justifies the second definition in the lead.
This categorical aspect of the disjoint union explains why is frequently used, instead of to denotecoproduct.