Biproduct

From HandWiki

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 [math]\displaystyle{ A_1 \oplus \dots \oplus A_n }[/math] in C together with morphisms

  • [math]\displaystyle{ p_k \!: A_1 \oplus \dots \oplus A_n \to A_k }[/math] in C (the projection morphisms)
  • [math]\displaystyle{ i_k \!: A_k \to A_1 \oplus \dots \oplus A_n }[/math] (the embedding morphisms)

satisfying

  • [math]\displaystyle{ p_k \circ i_k = 1_{A_k} }[/math], the identity morphism of [math]\displaystyle{ A_k, }[/math] and
  • [math]\displaystyle{ p_l \circ i_k = 0 }[/math], the zero morphism [math]\displaystyle{ A_k \to A_l, }[/math] for [math]\displaystyle{ k \neq l, }[/math]

and such that

  • [math]\displaystyle{ \left( A_1 \oplus \dots \oplus A_n, p_k \right) }[/math] is a product for the [math]\displaystyle{ A_k, }[/math] and
  • [math]\displaystyle{ \left( A_1 \oplus \dots \oplus A_n, i_k \right) }[/math] is a coproduct for the [math]\displaystyle{ A_k. }[/math]

If C is preadditive and the first two conditions hold, then each of the last two conditions is equivalent to [math]\displaystyle{ i_1 \circ p_1 + \dots + i_n\circ p_n = 1_{A_1 \oplus \dots \oplus A_n} }[/math] 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 [math]\displaystyle{ A \oplus B }[/math] 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 [math]\displaystyle{ A_1 \times A_2 }[/math] and coproduct [math]\displaystyle{ A_1 \coprod A_2 }[/math] both exist for some pair of objects A1, A2 then there is a unique morphism [math]\displaystyle{ f: A_1 \coprod A_2 \to A_1 \times A_2 }[/math] such that

  • [math]\displaystyle{ p_k \circ f \circ i_k = 1_{A_k},\ (k = 1, 2) }[/math]
  • [math]\displaystyle{ p_l \circ f \circ i_k = 0 }[/math] for [math]\displaystyle{ k \neq l. }[/math][clarification needed]

It follows that the biproduct [math]\displaystyle{ A_1 \oplus A_2 }[/math] 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 [math]\displaystyle{ A_1 \times A_2 }[/math] exists, then there are unique morphisms [math]\displaystyle{ i_k: A_k \to A_1 \times A_2 }[/math] such that

  • [math]\displaystyle{ p_k \circ i_k = 1_{A_k},\ (k = 1, 2) }[/math]
  • [math]\displaystyle{ p_l \circ i_k = 0 }[/math] for [math]\displaystyle{ k \neq l. }[/math]

To see that [math]\displaystyle{ A_1 \times A_2 }[/math] is now also a coproduct, and hence a biproduct, suppose we have morphisms [math]\displaystyle{ f_k: A_k \to X,\ k=1,2 }[/math] for some object [math]\displaystyle{ X }[/math]. Define [math]\displaystyle{ f := f_1 \circ p_1 + f_2 \circ p_2. }[/math] Then [math]\displaystyle{ f }[/math] is a morphism from [math]\displaystyle{ A_1 \times A_2 }[/math] to [math]\displaystyle{ X }[/math], and [math]\displaystyle{ f \circ i_k = f_k }[/math] for [math]\displaystyle{ k = 1, 2 }[/math].

In this case we always have

  • [math]\displaystyle{ i_1 \circ p_1 + i_2 \circ p_2 = 1_{A_1 \times A_2}. }[/math]

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.