Let C\mathcal C be a and let A,BA,B be of C\mathcal C.

A (binary) coproduct of AA and BB is a triple (A⊔B,ι1,ι2)(A\sqcup B,\iota_1,\iota_2) consisting of an object A⊔BA\sqcup B and morphisms

ι1:A→A⊔B,ι2:B→A⊔B\iota_1:A\to A\sqcup B,\qquad \iota_2:B\to A\sqcup B

such that for every object XX and every pair of morphisms f:A→Xf:A\to X, g:B→Xg:B\to X, there exists a unique morphism

[f,g]:A⊔B→X[f,g]:A\sqcup B\to X

making

[f,g]∘ι1=f,[f,g]∘ι2=g[f,g]\circ \iota_1=f,\qquad [f,g]\circ \iota_2=g

hold (see ).

Coproducts are unique up to unique .

Coproduct is the dual notion to : a coproduct in C\mathcal C is a product in the Cop\mathcal C^{\mathrm{op}}. It is a special case of a .

Examples
  1. Set\mathbf{Set}. The coproduct is the disjoint union A⊔BA\sqcup B, with injections A↪A⊔BA\hookrightarrow A\sqcup B and B↪A⊔BB\hookrightarrow A\sqcup B.
  1. Grp\mathbf{Grp}. The coproduct of groups G,HG,H is the free product G∗HG\ast H. A homomorphism G∗H→XG\ast H\to X is uniquely determined by its restrictions G→XG\to X and H→XH\to X.
  1. Ab\mathbf{Ab} and RR-Mod. The coproduct is the direct sum A⊕BA\oplus B. In these additive settings, finite coproducts and finite products coincide (biproducts), a key feature of an .