An RR-module PP is projective if for every homomorphism f:M→Nf:M\to N and every homomorphism g:P→Ng:P\to N (see ), there exists a homomorphism h:P→Mh:P\to M such that f∘h=gf\circ h=g.

As a diagram, gg lifts along the surjection ff and the triangle commutes:

Commutative diagram& P \arrow[d, "g"] \arrow[dl, dashed, "\exists\,h"'] \\ M \arrow[r, two heads, "f"'] & N
Equivalent characterizations

Equivalently, PP is projective iff it is a direct summand of a ; see . Projectivity can also be detected via splitting of short exact sequences ending in PP (a standard criterion is ), linking it to .

Examples
  • Every free module is projective (take lifts coordinatewise).
  • Any direct summand of a free module (e.g. Rn≅P⊕QR^n \cong P\oplus Q) is projective.
  • (Nonexample) As a Z\mathbb Z-module, Z/nZ\mathbb Z/n\mathbb Z is not projective for n>1n>1.