A coproduct of two objects in a category is an object (also written , especially when it is disjoint, or if your fonts don't include ‘’) equipped with morphisms and such that for any object with morphisms and , there is a unique morphism such that and .
This map is called the copairing of and and is often denoted or or (when possible) given vertically:
In Set, the coproduct of a family of sets is the disjoint union of sets.
In Top, the coproduct of a family of spaces is the space whose set of points is and whose open subspaces are of the form (the internal disjoint union) where each is an open subspace? of . This is typical of topological concrete categories.
In Grp, the coproduct is the free product, whose underlying set is not a disjoint union. This is typical of algebraic categories.
In Cat, the coproduct of a family of categories is the category with
and
In Grpd, the coproduct follows Cat rather than Grp. This is typical of oidifications: the coproduct becomes a disjoint union again.
When they exist, coproducts are unique up to unique canonical isomorphism, so we often say “the coproduct.”
One can define in a similar way a coproduct of any family of objects. A coproduct of the empty family is an initial object.
A coproduct is a special case of a colimit in which the diagram category is discrete.
A coproduct in is the same as a product in the opposite category .