# Projective module

In mathematics, particularly in algebra, the class of **projective modules** enlarges the class of free modules (that is, modules with basis vectors) over a ring, by keeping some of the main properties of free modules. Various equivalent characterizations of these modules appear below.

Every free module is a projective module, but the converse fails to hold over some rings, such as Dedekind rings that are not principal ideal domains. However, every projective module is a free module if the ring is a principal ideal domain such as the integers, or a polynomial ring (this is the Quillen–Suslin theorem).

Projective modules were first introduced in 1956 in the influential book *Homological Algebra* by Henri Cartan and Samuel Eilenberg.

The usual category theoretical definition is in terms of the property of *lifting* that carries over from free to projective modules: a module *P* is projective if and only if for every surjective module homomorphism *f* : *N* ↠ *M* and every module homomorphism *g* : *P* → *M*, there exists a module homomorphism *h* : *P* → *N* such that *f* *h* = *g*. (We don't require the lifting homomorphism *h* to be unique; this is not a universal property.)

A module *P* is projective if and only if every short exact sequence of modules of the form

is a split exact sequence. That is, for every surjective module homomorphism *f* : *B* ↠ *P* there exists a **section map**, that is, a module homomorphism *h* : *P* → *B* such that *f* *h* = id_{P}. In that case, *h*(*P*) is a direct summand of *B*, *h* is an isomorphism from *P* to *h*(*P*), and *h* *f* is a projection on the summand *h*(*P*). Equivalently,

A module *P* is projective if and only if there is another module *Q* such that the direct sum of *P* and *Q* is a free module.

An *R*-module *P* is projective if and only if the covariant functor Hom(*P*, *-*): *R*-**Mod** → **Ab** is an exact functor, where *R*-**Mod** is the category of left *R*-modules and **Ab** is the category of abelian groups. When the ring *R* is commutative, **Ab** is advantageously replaced by *R*-Mod in the preceding characterization. This functor is always left exact, but, when *P* is projective, it is also right exact. This means that *P* is projective if and only if this functor preserves epimorphisms (surjective homomorphisms), or if it preserves finite colimits.

The following properties of projective modules are quickly deduced from any of the above (equivalent) definitions of projective modules:

The relation of projective modules to free and flat modules is subsumed in the following diagram of module properties:

The left-to-right implications are true over any ring, although some authors define torsion-free modules only over a domain. The right-to-left implications are true over the rings labeling them. There may be other rings over which they are true. For example, the implication labeled "local ring or PID" is also true for polynomial rings over a field: this is the Quillen–Suslin theorem.

Any free module is projective. The converse is true in the following cases:

The difference between free and projective modules is, in a sense, measured by the algebraic *K*-theory group *K*_{0}(*R*), see below.

Every projective module is flat.^{[1]} The converse is in general not true: the abelian group **Q** is a **Z**-module which is flat, but not projective.^{[2]}

Govorov (1965) and Lazard (1969) proved that a module *M* is flat if and only if it is a direct limit of finitely-generated free modules.

In general, the precise relation between flatness and projectivity was established by Raynaud & Gruson (1971) (see also Drinfeld (2006) and Braunling, Groechenig & Wolfson (2016)) who showed that a module *M* is projective if and only if it satisfies the following conditions:

Submodules of projective modules need not be projective; a ring *R* for which every submodule of a projective left module is projective is called left hereditary.

Quotients of projective modules also need not be projective, for example **Z**/*n* is a quotient of **Z**, but not torsion free, hence not flat, and therefore not projective.

The category of finitely generated projective modules over a ring is an exact category. (See also algebraic K-theory).

Given a module, *M*, a **projective resolution** of *M* is an infinite exact sequence of modules

with all the *P*_{i}s projective. Every module possesses a projective resolution. In fact a **free resolution** (resolution by free modules) exists. The exact sequence of projective modules may sometimes be abbreviated to *P*(*M*) → *M* → 0 or *P*_{•} → *M* → 0. A classic example of a projective resolution is given by the Koszul complex of a regular sequence, which is a free resolution of the ideal generated by the sequence.

The *length* of a finite resolution is the subscript *n* such that *P*_{n} is nonzero and *P*_{i} = 0 for *i* greater than *n*. If *M* admits a finite projective resolution, the minimal length among all finite projective resolutions of *M* is called its **projective dimension** and denoted pd(*M*). If *M* does not admit a finite projective resolution, then by convention the projective dimension is said to be infinite. As an example, consider a module *M* such that pd(*M*) = 0. In this situation, the exactness of the sequence 0 → *P*_{0} → *M* → 0 indicates that the arrow in the center is an isomorphism, and hence *M* itself is projective.

The localization of a projective module is a projective module over the localized ring.
A projective module over a local ring is free. Thus a projective module is *locally free* (in the sense that its localization at every prime ideal is free over the corresponding localization of the ring).

The converse is true for finitely generated modules over Noetherian rings: a finitely generated module over a commutative noetherian ring is locally free if and only if it is projective.

However, there are examples of finitely generated modules over a non-Noetherian ring which are locally free and not projective. For instance, a Boolean ring has all of its localizations isomorphic to **F**_{2}, the field of two elements, so any module over a Boolean ring is locally free, but there are some non-projective modules over Boolean rings. One example is *R*/*I* where *R* is a direct product of countably many copies of **F**_{2} and *I* is the direct sum of countably many copies of **F**_{2} inside of *R*.
The *R*-module *R*/*I* is locally free since *R* is Boolean (and it is finitely generated as an *R*-module too, with a spanning set of size 1), but *R*/*I* is not projective because *I* is not a principal ideal. (If a quotient module *R*/*I*, for any commutative ring *R* and ideal *I*, is a projective *R*-module then *I* is principal.)

However, it is true that for finitely presented modules *M* over a commutative ring *R* (in particular if *M* is a finitely generated *R*-module and *R* is noetherian), the following are equivalent.^{[4]}

Moreover, if *R* is a noetherian integral domain, then, by Nakayama's lemma, these conditions are equivalent to

Let *A* be a commutative ring. If *B* is a (possibly non-commutative) *A*-algebra that is a finitely generated projective *A*-module containing *A* as a subring, then *A* is a direct factor of *B*.^{[6]}

A basic motivation of the theory is that projective modules (at least over certain commutative rings) are analogues of vector bundles. This can be made precise for the ring of continuous real-valued functions on a compact Hausdorff space, as well as for the ring of smooth functions on a smooth manifold (see Serre–Swan theorem that says a finitely generated projective module over the space of smooth functions on a compact manifold is the space of smooth sections of a smooth vector bundle).

Vector bundles are *locally free*. If there is some notion of "localization" which can be carried over to modules, such as the usual localization of a ring, one can define locally free modules, and the projective modules then typically coincide with the locally free modules.

The Quillen–Suslin theorem, which solves Serre's problem, is another deep result: if *K* is a field, or more generally a principal ideal domain, and *R* = *K*[*X*_{1},...,*X*_{n}] is a polynomial ring over *K*, then every projective module over *R* is free.
This problem was first raised by Serre with *K* a field (and the modules being finitely generated). Bass settled it for non-finitely generated modules,^{[7]} and Quillen and Suslin independently and simultaneously treated the case of finitely generated modules.

Since every projective module over a principal ideal domain is free, one might ask this question: if *R* is a commutative ring such that every (finitely generated) projective *R*-module is free, then is every (finitely generated) projective *R*[*X*]-module free? The answer is *no*. A counterexample occurs with *R* equal to the local ring of the curve *y*^{2} = *x*^{3} at the origin. Thus the Quillen-Suslin theorem could never be proved by a simple induction on the number of variables.