Formally, let {Ai : i ∈ I} be a family of sets indexed by I. The disjoint union of this family is the set
In the extreme case where each of the Ai are equal to some fixed set A for each i ∈ I, the disjoint union is the Cartesian product of A and I:
One may occasionally see the notation
In the language of category theory, the disjoint union is the coproduct in the category of sets. It therefore satisfies the associated universal property. This also means that the disjoint union is the categorical dual of the Cartesian product construction. See coproduct for more details.
For many purposes, the particular choice of auxiliary index is unimportant, and in a simplifying abuse of notation, the indexed family can be treated simply as a collection of sets. In this case is referred to as a copy of and the notation is sometimes used.
The term disjoint union (but not discriminated union) is also used to refer to a union of a collection of sets whose members are pairwise disjoint. In this case the disjoint union may be identified with the simple union, and the same notation is used. This usage is more common in computer science.
Formally, if is a collection of sets, then