encyclopegia.org

Coproduct

In category theory, the coproduct, or categorical sum, is a construction which includes as examples the disjoint union of sets and of topological spaces, the free product of groups, and the direct sum of modules and vector spaces. The coproduct of a family of objects is essentially the "least specific" object to which each object in the family admits a morphism. It is the category-theoretic dual notion to the categorical product, which means the definition is the same as the product but with all arrows reversed. Despite this seemingly innocuous change in the name and notation, coproducts can be and typically are dramatically different from products within a given category.

In category theory, the coproduct, or categorical sum, is a construction which includes as examples the disjoint union of sets and of topological spaces, the free product of groups, and the direct sum of modules and vector spaces. The coproduct of a family of objects is essentially the "least specific" object to which each object in the family admits a morphism. It is the category-theoretic dual notion to the categorical product, which means the definition is the same as the product but with all arrows reversed. Despite this seemingly innocuous change in the name and notation, coproducts can be and typically are dramatically different from products within a given category. Let C be a category and let X_1 and X_2 be objects of C. An object is called the coproduct of X_1 and X_2, written X_1 \sqcup X_2, or X_1 \oplus X_2, or sometimes simply X_1 + X_2, if there exist morphisms i_1 : X_1 \to X_1 \sqcup X_2 and i_2 : X_2 \to X_1 \sqcup X_2 that satisfies the following universal property: for any object Y and any morphisms f_1 : X_1 \to Y and f_2 : X_2 \to Y, there exists a unique morphism f : X_1 \sqcup X_2 \to Y such that f_1 = f \circ i_1 and f_2 = f \circ i_2. That is, the following diagram commutes: The unique arrow f making this diagram commute may be denoted f_1 \sqcup f_2, f_1 \oplus f_2, f_1 + f_2, or \left[f_1, f_2\right]. The morphisms i_1 and i_2 are called canonical injections, although they need not be injections or even monic. They are alternatively known as coprojections. The definition of a coproduct can be extended to an arbitrary family of objects indexed by a set J. The coproduct of the family \left\{ X_j : j \in J \right\} is an object X together with a collection of morphisms i_j : X_j \to X such that, for any object Y and any collection of morphisms f_j : X_j \to Y there exists a unique morphism f : X \to Y such that f_j = f \circ i_j. That is, the following diagram commutes for each j \in J : The coproduct X of the family \left\{ X_j \right\} is often denoted \coprod_{j\in J}X_j or \bigoplus_{j \in J} X_j. Sometimes the morphism f : X \to Y may be denoted \coprod_{j \in J} f_j to indicate its dependence on the individual f_j s. The coproduct construction given above is actually a special case of a colimit in category theory. The coproduct in a category C can be defined as the colimit of any functor from a discrete category J into C . Not every family \lbrace X_j\rbrace will have a coproduct in general, but if it does, then the coproduct is unique in a strong sense: if i_j:X_j\rightarrow X and k_j:X_j\rightarrow Y are two coproducts of the family \lbrace X_j\rbrace , then (by the definition of coproducts) there exists a unique isomorphism f:X\rightarrow Y such that f \circ i_j = k_j for each j \in J . As with any universal property, the coproduct can be understood as a universal morphism. Let \Delta : C\rightarrow C\times C be the diagonal functor which assigns to each object X the ordered pair \left(X, X\right) and to each morphism f : X\rightarrow Y the pair \left(f, f\right) . Then the coproduct X + Y in C is given by a universal morphism to the functor \Delta from the object \left(X, Y\right) in C\times C . The coproduct indexed by the empty set (that is, an empty coproduct) is the same as an initial object in C . If J is a set such that all coproducts for families indexed with J exist, then it is possible to choose the products in a compatible fashion so that the coproduct turns into a functor C^J\rightarrow C . The coproduct of the family \lbrace X_j\rbrace is then often denoted by \coprod_{j\in J} X_j and the maps i_j are known as the natural injections. Letting \operatorname{Hom}_C\left(U, V\right) denote the set of all morphisms from U to V in C (that is, a hom-set in C ), we have a natural isomorphism \operatorname{Hom}_C\left(\coprod_{j\in J}X_j,Y\right) \cong \prod_{j\in J}\operatorname{Hom}_C(X_j,Y) given by the bijection which maps every tuple of morphisms (f_j)_{j\in J} \in \prod_{j \in J}\operatorname{Hom}(X_j,Y) (a product in Set, the category of sets, which is the Cartesian product, so it is a tuple of morphisms) to the morphism \coprod_{j\in J} f_j \in \operatorname{Hom}\left(\coprod_{j\in J}X_j,Y\right). That this map is a surjection follows from the commutativity of the diagram: any morphism f is the coproduct of the tuple (f\circ i_j)_{j \in J}. That it is an injection follows from the universal construction which stipulates the uniqueness of such maps. The naturality of the isomorphism is also a consequence of the diagram. Thus the contravariant hom-functor changes coproducts into products. Stated another way, the hom-functor, viewed as a functor from the opposite category C^\operatorname{op} to Set is continuous; it preserves limits (a coproduct in C is a product in C^\operatorname{op} ). If J is a finite set, say J = \lbrace 1,\ldots,n\rbrace , then the coproduct of objects X_1,\ldots,X_n is often denoted by X_1\oplus\ldots\oplus X_n . Suppose all finite coproducts exist in C, coproduct functors have been chosen as above, and 0 denotes the initial object of C corresponding to the empty coproduct. We then have natural isomorphisms X\oplus (Y \oplus Z)\cong (X\oplus Y)\oplus Z\cong X\oplus Y\oplus Z X\oplus 0 \cong 0\oplus X \cong X X\oplus Y \cong Y\oplus X. These properties are formally similar to those of a commutative monoid; a category with finite coproducts is an example of a symmetric monoidal category. If the category has a zero object Z , then we have a unique morphism X\rightarrow Z (since Z is terminal) and thus a morphism X\oplus Y\rightarrow Z\oplus Y . Since Z is also initial, we have a canonical isomorphism Z\oplus Y\cong Y as in the preceding paragraph. We thus have morphisms X\oplus Y\rightarrow X and X\oplus Y\rightarrow Y , by which we infer a canonical morphism X\oplus Y\rightarrow X\times Y . This may be extended by induction to a canonical morphism from any finite coproduct to the corresponding product. This morphism need not in general be an isomorphism; in Grp it is a proper epimorphism while in Set * (the category of pointed sets) it is a proper monomorphism. In any preadditive category, this morphism is an isomorphism and the corresponding object is known as the biproduct. A category with all finite biproducts is known as a semiadditive category. If all families of objects indexed by J have coproducts in C , then the coproduct comprises a functor C^J\rightarrow C . Note that, like the product, this functor is covariant.

References

No reference rows published for this article.

Cite this article

MLA

"Coproduct." encyclopegia.org, 2025, https://encyclopegia.org/wiki/coproduct. Accessed 24 November 2026.

Chicago

"Coproduct." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/coproduct.

APA

encyclopegia.org. (2025). Coproduct. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/coproduct

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1320831282 · 0.5 · snapshot enwiki-001320831282

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.