Let be a commutative ring and . The Koszul complex packages these elements and their relations in a finite chain complex of free modules. With and basis , set for , and define
Deleting two distinct basis elements in the two possible orders gives opposite signs and the same coefficient, so . Equivalently is the tensor product of chain complexes of two-term complexes in degrees one and zero. The tensor differential is . This fixes the sign convention. On the exterior algebra, the differential is a graded derivation determined by .
For an -module , define the Koszul complex with module coefficients by . Its degree-zero Koszul homology is
Its higher Koszul homology measures the failure of these equations to form a regular sequence on a module. Each annihilates every homology group. Indeed the Koszul homotopy for multiplication by a generator is , and the graded product rule gives
For coefficients in the same identity holds after tensoring. Thus multiplication by is zero on homology, and the homology groups are naturally modules over . If , choose ; then is a contracting homotopy, so the entire complex is contractible. These identities are also useful after localization of a ring: wherever one generator is a unit, the complex has zero homology.
The construction is functorial under a ring homomorphism, and base change gives , since its terms are free with the displayed basis and differential. An invertible change of generators gives a chain isomorphism by sending to and extending to exterior powers. In particular, permuting the generators changes only the exterior signs, not the isomorphism class of the complex.
The essential exactness theorem is that a regular sequence on a module gives zero positive Koszul homology. Recall that must act injectively on , with final quotient nonzero. Put . Adding the final two-term complex identifies with the mapping cone of multiplication by on , with the chosen tensor signs. The long exact sequence in homology consequently has segments
For , positive homology is exactly . By induction the preceding homology vanishes above zero. The final injectivity assumption kills , while the exact sequence kills every for . Therefore
for a regular sequence on a module. In particular is a finite free resolution of when is a regular sequence, with ranks and length .
There is a precise converse under local finiteness assumptions. Suppose is a Noetherian local ring, is finitely generated, and all . If positive Koszul homology vanishes, the same exact sequence makes multiplication by surjective on every for . These modules are finitely generated because the ring is Noetherian and the terms of the complex are finite modules. The Nakayama lemma gives . Induction makes regular on , and the degree-one part of the exact sequence makes injective on . The final quotient is nonzero, again by the Nakayama lemma. This proves the Koszul acyclicity criterion in a Noetherian local ring:
The hypotheses matter: a unit ideal makes the complex contractible but cannot be a proper regular sequence.
Examples make both sides visible. For and , the Koszul resolution is
The signs agree with . For and , the degree-one cycles are and the boundaries are ; hence , while . The repeated element has exposed a relation that the first element already kills.
The Koszul complex also computes derived functors. If is a regular sequence on , its free resolution gives
Here no regularity of on is assumed. For , tensor the Koszul resolution on the variables with . Every differential becomes zero, so
The top group is nonzero, showing that a free resolution of cannot be shorter than .
Finally, wedging complementary exterior degrees gives a perfect pairing . It identifies the dual cochain complex with the degree-reversed Koszul complex, after the appropriate signs. This self-duality of the Koszul complex shows, for a regular sequence, that
Thus the same explicit complex simultaneously records quotient equations, regularity, relations, Tor functor computations and Ext functor computations. Its finiteness and exterior structure are what make it especially effective in commutative algebra.