Given any family of sets, the (external) disjoint union (also written , , etc) of the family is the set of all (ordered) pairs with in the index set and in .
As stated, the second element of such a pair depends on the first element, which is natural in dependent type theory and certainly feasible in material set theory; but if you don’t like this, then define to be the set of those elements of the cartesian product of the power sets such that there is exactly one index such that is inhabited and that is a singleton. If you're trying to be predicative too, consider adopting the existence of disjoint unions as an axiom (the axiom of disjoint unions) in your foundations.
There is a natural injection (mapping to ) for each index , and it is common to treat as a subset of . So if no confusion can result (in particular, when the notation for an element of always makes the ambient set clear), one often suppresses the index in the notation for an element of the disjoint union.
Given sets and , the disjoint union of the binary family is written (also , , etc); its elements may be written (if care is needed) as and , and , and , and in many other styles.
Given sets through , the disjoint union of the -ary family is written (or similarly); its elements may be written (if care is needed) as for and .
Given sets , , etc, the disjoint union of the countably infinitary family is written (or similarly); its elements may be written (if care is needed) as for a natural number and .
Given a set , the disjoint union of the unary family may be identified with itself; that is, we identify for the unique index with .
The disjoint union of the empty family is empty; it has no elements.
If a family of subsets of a given set are all pairwise disjoint (that is, has an element only if , for any indices and ), then the union is naturally bijective with the (external) disjoint union defined above. Conversely, given an external disjoint union , each may be identified with a subset of (as explained above); these subsets are all pairwise disjoint, and their union is the entire disjoint union.
Accordingly, a union of pairwise disjoint subsets may be called an internal disjoint union. (Compare the internal vs external notions of direct sum.)