A biproduct in a category is an operation that is both a product and a coproduct, in a compatible way. Finite biproducts are best known from additive categories and their generalisations.
Morphisms between finite biproducts are encoded in a matrix calculus.
Let be a category with zero morphisms; that is, is enriched over pointed sets (for example, might have a zero object). For two objects in , suppose a product and a coproduct both exist. Then consider the canonical morphism
defined by
where is the zero morphism from to .
If this morphism is an isomorphism, then the isomorphic objects and are called the biproduct of and . This object is often denoted , alluding to the direct sum (which is often an example).
The above definition has a straightforward generalization to biproducts of any number of objects (although this requires extra structure on the category in constructive mathematics if the set indexing these objects might not have decidable equality). A zero object is the biproduct of no objects.
A related discussion is archived at Forum.
A category with all finite biproducts is called a semiadditive category. More precisely, this means that has all finite products and coproducts, that the unique map is an isomorphism (hence has a zero object), and that the canonical maps defined above are isomorphisms.
Amusingly, for to be semiadditive, it actually suffices to assume that has finite products and coproducts and that there exists any natural family of isomorphisms — not necessarily the canonical maps constructed above. A proof can be found in
An additive category, although normally defined through the theory of enriched categories, may also be understood as a semiadditive category with an extra property, as explained below.
The existence of duals also tends to imply (semi)additivity; see this paper and this MO question.
A semiadditive category is automatically enriched over the monoidal category of abelian monoids with the usual tensor product, as follows.
Given two morphisms in , let their sum be
One proves that is associative and commutative. Of course, the zero morphism is the usual zero morphism given by the zero object:
One proves that is the neutral element for and that this matches the morphism that we began with in the definition. Note that in addition to a zero object, this construction actually only requires biproducts of an object with itself, i.e. biproducts of the form rather than the more general .
If additionally every morphism has an inverse , then is enriched over the category of abelian groups and is therefore (precisely) an additive category.
If, on the other hand, the addition of morphisms is idempotent (), then is enriched over the category of semilattices (and is therefore a kind of 2-poset).
Conversely, if is already known to be enriched over abelian monoids, then a binary biproduct may be defined purely diagrammatically as an object together with injections and projections such that (the Kronecker delta) and . It is easy to check that makes a biproduct, and that any binary biproduct must be of this form. Similarly, an object of such a category is a zero object precisely when , its identity is equal to the zero morphism. It follows that functors enriched over abelian monoids must automatically preserve finite biproducts, so that finite biproducts are a type of Cauchy colimit. Moreover, any product or coproduct in a category enriched over abelian monoids is actually a biproduct.
For categories enriched over suplattices, this extends to all small biproducts, with the condition replaced by . In particular, the category of suplattices has all small biproducts.