Biproduct

In category theory and its applications to mathematics, a biproduct of a finite collection of objects, in a category with zero objects, is both a product and a coproduct. In a preadditive category the notions of product and coproduct coincide for finite collections of objects.[1] The biproduct is a generalization of finite direct sums of modules.

Definition

Let C be a category with zero morphisms. Given a finite (possibly empty) collection of objects A1, ..., An in C, their biproduct is an object A 1 A n {\textstyle A_{1}\oplus \dots \oplus A_{n}} in C together with morphisms

  • p k : A 1 A n A k {\textstyle p_{k}\!:A_{1}\oplus \dots \oplus A_{n}\to A_{k}} in C (the projection morphisms)
  • i k : A k A 1 A n {\textstyle i_{k}\!:A_{k}\to A_{1}\oplus \dots \oplus A_{n}} (the embedding morphisms)

satisfying

  • p k i k = 1 A k {\textstyle p_{k}\circ i_{k}=1_{A_{k}}} , the identity morphism of A k , {\displaystyle A_{k},} and
  • p l i k = 0 {\textstyle p_{l}\circ i_{k}=0} , the zero morphism A k A l , {\displaystyle A_{k}\to A_{l},} for k l , {\displaystyle k\neq l,}

and such that

  • ( A 1 A n , p k ) {\textstyle \left(A_{1}\oplus \dots \oplus A_{n},p_{k}\right)} is a product for the A k , {\textstyle A_{k},} and
  • ( A 1 A n , i k ) {\textstyle \left(A_{1}\oplus \dots \oplus A_{n},i_{k}\right)} is a coproduct for the A k . {\textstyle A_{k}.}

If C is preadditive and the first two conditions hold, then each of the last two conditions is equivalent to i 1 p 1 + + i n p n = 1 A 1 A n {\textstyle i_{1}\circ p_{1}+\dots +i_{n}\circ p_{n}=1_{A_{1}\oplus \dots \oplus A_{n}}} when n > 0.[2] An empty, or nullary, product is always a terminal object in the category, and the empty coproduct is always an initial object in the category. Thus an empty, or nullary, biproduct is always a zero object.

Examples

In the category of abelian groups, biproducts always exist and are given by the direct sum.[3] The zero object is the trivial group.

Similarly, biproducts exist in the category of vector spaces over a field. The biproduct is again the direct sum, and the zero object is the trivial vector space.

More generally, biproducts exist in the category of modules over a ring.

On the other hand, biproducts do not exist in the category of groups.[4] Here, the product is the direct product, but the coproduct is the free product.

Also, biproducts do not exist in the category of sets. For, the product is given by the Cartesian product, whereas the coproduct is given by the disjoint union. This category does not have a zero object.

Block matrix algebra relies upon biproducts in categories of matrices.[5]

Properties

If the biproduct A B {\textstyle A\oplus B} exists for all pairs of objects A and B in the category C, and C has a zero object, then all finite biproducts exist, making C both a Cartesian monoidal category and a co-Cartesian monoidal category.

If the product A 1 × A 2 {\textstyle A_{1}\times A_{2}} and coproduct A 1 A 2 {\textstyle A_{1}\coprod A_{2}} both exist for some pair of objects A1, A2 then there is a unique morphism f : A 1 A 2 A 1 × A 2 {\textstyle f:A_{1}\coprod A_{2}\to A_{1}\times A_{2}} such that

  • p k f i k = 1 A k ,   ( k = 1 , 2 ) {\displaystyle p_{k}\circ f\circ i_{k}=1_{A_{k}},\ (k=1,2)}
  • p l f i k = 0 {\displaystyle p_{l}\circ f\circ i_{k}=0} for k l . {\textstyle k\neq l.} [clarification needed]

It follows that the biproduct A 1 A 2 {\textstyle A_{1}\oplus A_{2}} exists if and only if f is an isomorphism.

If C is a preadditive category, then every finite product is a biproduct, and every finite coproduct is a biproduct. For example, if A 1 × A 2 {\textstyle A_{1}\times A_{2}} exists, then there are unique morphisms i k : A k A 1 × A 2 {\textstyle i_{k}:A_{k}\to A_{1}\times A_{2}} such that

  • p k i k = 1 A k ,   ( k = 1 , 2 ) {\displaystyle p_{k}\circ i_{k}=1_{A_{k}},\ (k=1,2)}
  • p l i k = 0 {\displaystyle p_{l}\circ i_{k}=0} for k l . {\textstyle k\neq l.}

To see that A 1 × A 2 {\textstyle A_{1}\times A_{2}} is now also a coproduct, and hence a biproduct, suppose we have morphisms f k : A k X ,   k = 1 , 2 {\textstyle f_{k}:A_{k}\to X,\ k=1,2} for some object X {\textstyle X} . Define f := f 1 p 1 + f 2 p 2 . {\textstyle f:=f_{1}\circ p_{1}+f_{2}\circ p_{2}.} Then f {\textstyle f} is a morphism from A 1 × A 2 {\textstyle A_{1}\times A_{2}} to X {\textstyle X} , and f i k = f k {\textstyle f\circ i_{k}=f_{k}} for k = 1 , 2 {\textstyle k=1,2} .

In this case we always have

  • i 1 p 1 + i 2 p 2 = 1 A 1 × A 2 . {\textstyle i_{1}\circ p_{1}+i_{2}\circ p_{2}=1_{A_{1}\times A_{2}}.}

An additive category is a preadditive category in which all finite biproducts exist. In particular, biproducts always exist in abelian categories.

References

  1. ^ Borceux, 4-5
  2. ^ Saunders Mac Lane - Categories for the Working Mathematician, Second Edition, page 194.
  3. ^ Borceux, 8
  4. ^ Borceux, 7
  5. ^ H.D. Macedo, J.N. Oliveira, Typing linear algebra: A biproduct-oriented approach, Science of Computer Programming, Volume 78, Issue 11, 1 November 2013, Pages 2160-2191, ISSN 0167-6423, doi:10.1016/j.scico.2012.07.012.
  • Borceux, Francis (2008). Handbook of Categorical Algebra 2: Categories and Structures. Cambridge University Press. ISBN 978-0-521-06122-3.: Section 1.2