# Preadditive category

In mathematics, specifically in category theory, a **preadditive category** is another name for an **Ab-category**, i.e., a category that is enriched over the category of abelian groups, **Ab**.
That is, an **Ab-category** **C** is a category such that
every hom-set Hom(*A*,*B*) in **C** has the structure of an abelian group, and composition of morphisms is bilinear, in the sense that composition of morphisms distributes over the group operation.
In formulas:

Some authors have used the term *additive category* for preadditive categories, but here we follow the current trend of reserving this term for certain special preadditive categories (see § Special cases below).

The most obvious example of a preadditive category is the category **Ab** itself. More precisely, **Ab** is a closed monoidal category. Note that commutativity is crucial here; it ensures that the sum of two group homomorphisms is again a homomorphism. In contrast, the category of all groups is not closed. See Medial category.

These will give you an idea of what to think of; for more examples, follow the links to § Special cases below.

Because every hom-set Hom(*A*,*B*) is an abelian group, it has a zero element 0. This is the **zero morphism** from *A* to *B*. Because composition of morphisms is bilinear, the composition of a zero morphism and any other morphism (on either side) must be another zero morphism. If you think of composition as analogous to multiplication, then this says that multiplication by zero always results in a product of zero, which is a familiar intuition. Extending this analogy, the fact that composition is bilinear in general becomes the distributivity of multiplication over addition.

Focusing on a single object *A* in a preadditive category, these facts say that the endomorphism hom-set Hom(*A*,*A*) is a ring, if we define multiplication in the ring to be composition. This ring is the **endomorphism ring** of *A*. Conversely, every ring (with identity) is the endomorphism ring of some object in some preadditive category. Indeed, given a ring *R*, we can define a preadditive category **R** to have a single object *A*, let Hom(*A*,*A*) be *R*, and let composition be ring multiplication. Since *R* is an abelian group and multiplication in a ring is bilinear (distributive), this makes **R** a preadditive category. Category theorists will often think of the ring *R* and the category **R** as two different representations of the same thing, so that a particularly perverse category theorist might define a ring as a preadditive category with exactly one object (in the same way that a monoid can be viewed as a category with only one object—and forgetting the additive structure of the ring gives us a monoid).

In this way, preadditive categories can be seen as a generalisation of rings. Many concepts from ring theory, such as ideals, Jacobson radicals, and factor rings can be generalized in a straightforward manner to this setting. When attempting to write down these generalizations, one should think of the morphisms in the preadditive category as the "elements" of the "generalized ring".

When considering functors between two R-linear categories, one often restricts to those that are R-linear, so those that induce R-linear maps on each hom-set.

Any finite product in a preadditive category must also be a coproduct, and conversely. In fact, finite products and coproducts in preadditive categories can be characterised by the following *biproduct condition*:

This biproduct is often written *A*_{1} ⊕ ··· ⊕ *A _{n}*, borrowing the notation for the direct sum. This is because the biproduct in well known preadditive categories like

**Ab**

*is*the direct sum. However, although infinite direct sums make sense in some categories, like

**Ab**, infinite biproducts do

*not*make sense.

^{[citation needed]}

The biproduct condition in the case *n* = 0 simplifies drastically; *B* is a *nullary biproduct* if and only if the identity morphism of *B* is the zero morphism from *B* to itself, or equivalently if the hom-set Hom(*B*,*B*) is the trivial ring. Note that because a nullary biproduct will be both terminal (a nullary product) and initial (a nullary coproduct), it will in fact be a **zero object**.
Indeed, the term "zero object" originated in the study of preadditive categories like **Ab**, where the zero object is the zero group.

A preadditive category in which every biproduct exists (including a zero object) is called *additive*. Further facts about biproducts that are mainly useful in the context of additive categories may be found under that subject.

Because the hom-sets in a preadditive category have zero morphisms,
the notion of kernel and cokernel
make sense. That is, if *f*: *A* → *B* is a
morphism in a preadditive category, then the kernel of *f* is the
equaliser of *f* and the zero morphism from *A* to *B*, while the cokernel of *f* is the coequaliser of *f* and this zero morphism. Unlike with products and coproducts, the kernel and cokernel of *f* are generally not equal in a preadditive category.

When specializing to the preadditive categories of abelian groups or modules over a ring, this notion of kernel coincides with the ordinary notion of a kernel of a homomorphism, if one identifies the ordinary kernel *K* of *f*: *A* → *B* with its embedding *K* → *A*. However, in a general preadditive category there may exist morphisms without kernels and/or cokernels.

There is a convenient relationship between the kernel and cokernel and the abelian group structure on the hom-sets. Given parallel morphisms *f* and *g*, the equaliser of *f* and *g* is just the kernel of *g* − *f*, if either exists, and the analogous fact is true for coequalisers. The alternative term "difference kernel" for binary equalisers derives from this fact.

A preadditive category in which all biproducts, kernels, and cokernels exist is called *pre-abelian*. Further facts about kernels and cokernels in preadditive categories that are mainly useful in the context of pre-abelian categories may be found under that subject.

Most of these special cases of preadditive categories have all been mentioned above, but they're gathered here for reference.

The preadditive categories most commonly studied are in fact abelian categories; for example, **Ab** is an abelian category.