{{#invoke:Hatnote|hatnote}} In mathematics, specifically in category theory, an additive category is a preadditive category C admitting all finitary biproducts.

## Definition

A category C is preadditive if all its hom-sets are Abelian groups and composition of morphisms is bilinear; in other words, C is enriched over the monoidal category of Abelian groups.

In a preadditive category, every finitary product (including the empty product, i.e., a final object) is necessarily a coproduct (or initial object in the case of an empty diagram), and hence a biproduct, and conversely every finitary coproduct is necessarily a product (this is a consequence of the definition, not a part of it).

Note that the empty biproduct is necessarily a zero object in the category, and a category admitting all finitary biproducts is often called semiadditive. As shown below, every semiadditive category has a natural addition, and so we can alternatively define an additive category to be a semiadditive category having the property that every morphism has an additive inverse.

### Generalization

More generally, one also considers additive [[preadditive category#R-linear categories|Template:Mvar-linear categories]] for a commutative ring Template:Mvar. These are a categories enriched over the monoidal category of [[module category|Template:Mvar-modules]] and admitting all finitary biproducts.

## Examples

The original example of an additive category is the category of abelian groups Ab. The zero object is the trivial group, the addition of morphisms is given point-wise, and biproducts are given by direct sums.

More generally, every module category over a ring Template:Mvar is additive, and so in particular, the category of vector spaces over a field Template:Mvar is additive.

The algebra of matrices over a ring, thought of as a category as described below, is also additive.

## Internal characterisation of the addition law

Let C be a semiadditive category, so a category having all finitary biproducts. Then every hom-set has an addition, endowing it with the structure of an abelian monoid, and such that the composition of morphisms is bilinear.

Moreover, if C is additive, then the two additions on hom-sets must agree. In particular, a semiadditive category is additive if and only if every morphism has an additive inverse.

This shows that the addition law for an additive category is internal to that category.[1]

To define the addition law, we will use the convention that for a biproduct, pk will denote the projection morphisms, and ik will denote the injection morphisms.

We first observe that for each object Template:Mvar there is a

• diagonal morphism ∆: AAA satisfying pk ∘ ∆ = 1A for k = 1, 2, and a
• codiagonal morphism ∇: AAA satisfying ∇ ∘ ik = 1A for k = 1, 2.

Next, given two morphisms αk: AB, there exists a unique morphism α1 ⊕ α2: AABB such that pl ∘ (α1 ⊕ α2) ∘ ik equals αk if k = l, and 0 otherwise.

We can therefore define α1 + α2 := ∇ ∘ (α1 ⊕ α2) ∘ ∆.

This addition is both commutative and associative. The associativity can be seen by considering the composition

${\displaystyle A\ \xrightarrow {\quad \Delta \quad } \ A\oplus A\oplus A\ \xrightarrow {\alpha _{1}\,\oplus \,\alpha _{2}\,\oplus \,\alpha _{3}} \ B\oplus B\oplus B\ \xrightarrow {\quad \nabla \quad } \ B}$

We have α + 0 = α, using that α ⊕ 0 = i1 ∘ α ∘ p1.

It is also bilinear, using for example that ∆ ∘ β = (β ⊕ β) ∘ ∆ and that 1 ⊕ α2) ∘ (β1 ⊕ β2) = (α1 ∘ β1) ⊕ (α2 ∘ β2).

We remark that for a biproduct AB we have i1 ∘ p1 + i2 ∘ p2 = 1. Using this, we can represent any morphism ABCD as a matrix.

## Matrix representation of morphisms

Given objects A1, … , An and B1, … , Bm in an additive category, we can represent morphisms f: A1 ⊕ ⋅⋅⋅ ⊕ AnB1 ⊕ ⋅⋅⋅ ⊕ Bm as Template:Mvar-by-Template:Mvar matrices

${\displaystyle {\begin{pmatrix}f_{11}&f_{12}&\cdots &f_{1n}\\f_{21}&f_{22}&\cdots &f_{2n}\\\vdots &\vdots &\cdots &\vdots \\f_{m1}&f_{m2}&\cdots &f_{mn}\end{pmatrix}}}$ where ${\displaystyle f_{kl}:=p_{k}\circ f\circ i_{l}\colon A_{l}\to B_{k}.}$

Using that k ik ∘ pk = 1, it follows that addition and composition of matrices obey the usual rules for matrix addition and matrix multiplication.

Thus additive categories can be seen as the most general context in which the algebra of matrices makes sense.

Recall that the morphisms from a single object Template:Mvar to itself form the endomorphism ring End(A). If we denote the Template:Mvar-fold product of Template:Mvar with itself by An, then morphisms from An to Am are m-by-n matrices with entries from the ring End(A).

Conversely, given any ring Template:Mvar, we can form a category Mat(R) by taking objects An indexed by the set of natural numbers (including zero) and letting the hom-set of morphisms from An to Am be the set of Template:Mvar-by-Template:Mvar matrices over Template:Mvar, and where composition is given by matrix multiplication. Then Mat(R) is an additive category, and An equals the Template:Mvar-fold power (A1)n.

This construction should be compared with the result that a ring is a preadditive category with just one object, shown here.

If we interpret the object An as the left module Rn, then this matrix category becomes a subcategory of the category of left modules over Template:Mvar.

This may be confusing in the special case where Template:Mvar or Template:Mvar is zero, because we usually don't think of matrices with 0 rows or 0 columns. This concept makes sense, however: such matrices have no entries and so are completely determined by their size. While these matrices are rather degenerate, they do need to be included to get an additive category, since an additive category must have a zero object.

Thinking about such matrices can be useful in one way, though: they highlight the fact that given any objects Template:Mvar and Template:Mvar in an additive category, there is exactly one morphism from Template:Mvar to 0 (just as there is exactly one 0-by-1 matrix with entries in End(A)) and exactly one morphism from 0 to Template:Mvar (just as there is exactly one 1-by-0 matrix with entries in End(B)) – this is just what it means to say that 0 is a zero object. Furthermore, the zero morphism from Template:Mvar to Template:Mvar is the composition of these morphisms, as can be calculated by multiplying the degenerate matrices.

Recall that a functor F: CD between preadditive categories is additive if it is an abelian group homomorphism on each hom-set in C. If the categories are additive, though, then a functor is additive if and only if it preserves all biproduct diagrams.

That is, if Template:Mvar is a biproduct of A1, … , An in C with projection morphisms pk and injection morphisms kj, then F(B) should be a biproduct of F(A1), … , F(An) in D with projection morphisms F(pk) and injection morphisms F(ik).

Almost all functors studied between additive categories are additive. In fact, it is a theorem that all adjoint functors between additive categories must be additive functors (see here), and most interesting functors studied in all of category theory are adjoints.

### Generalization

When considering functors between Template:Mvar-linear additive categories, one usually restricts to [[preadditive category#R-linear categories|Template:Mvar-linear functors]], so those functors giving an Template:Mvar-module homomorphism on each hom-set.

## Special cases

Many commonly studied additive categories are in fact abelian categories; for example, Ab is an abelian category. The free abelian groups provide an example of a category that is additive but not abelian.[2]

## References

1. {{#invoke:citation/CS1|citation |CitationClass=citation }} Sections 18 and 19 deal with the addition law in semiadditive categories.
2. {{#invoke:citation/CS1|citation |CitationClass=citation }}.
• Nicolae Popescu; 1973; Abelian Categories with Applications to Rings and Modules; Academic Press, Inc. (out of print) goes over all of this very slowly