In mathematics, the **Ext functors** are the derived functors of the Hom functor. Along with the Tor functor, Ext is one of the core concepts of homological algebra, in which ideas from algebraic topology are used to define invariants of algebraic structures. The cohomology of groups, Lie algebras, and associative algebras can all be defined in terms of Ext. The name comes from the fact that the first Ext group Ext^{1} classifies extensions of one module by another.

In the special case of abelian groups, Ext was introduced by Reinhold Baer (1934). It was named by Samuel Eilenberg and Saunders MacLane (1942), and applied to topology (the universal coefficient theorem for cohomology). For modules over any ring, Ext was defined by Henri Cartan and Eilenberg in their 1956 book *Homological Algebra*.^{[1]}

## Definition

Let *R* be a ring and let *R*-Mod be the category of modules over *R*. (One can take this to mean either left *R*-modules or right *R*-modules.) For a fixed *R*-module *A*, let *T*(*B*) = Hom_{R}(*A*, *B*) for *B* in *R*-Mod. (Here Hom_{R}(*A*, *B*) is the abelian group of *R*-linear maps from *A* to *B*; this is an *R*-module if *R* is commutative.) This is a left exact functor from *R*-Mod to the category of abelian groups Ab, and so it has right derived functors *R ^{i}T*. The Ext groups are the abelian groups defined by

for an integer *i*. By definition, this means: take any injective resolution

remove the term *B*, and form the cochain complex:

For each integer *i*, Ext^{i}_{R}(*A*, *B*) is the cohomology of this complex at position *i*. It is zero for *i* negative. For example, Ext^{0}_{R}(*A*, *B*) is the kernel of the map Hom_{R}(*A*, *I*^{0}) → Hom_{R}(*A*, *I*^{1}), which is isomorphic to Hom_{R}(*A*, *B*).

An alternative definition uses the functor *G*(*A*)=Hom_{R}(*A*, *B*), for a fixed *R*-module *B*. This is a contravariant functor, which can be viewed as a left exact functor from the opposite category (*R*-Mod)^{op} to Ab. The Ext groups are defined as the right derived functors *R ^{i}G*:

That is, choose any projective resolution

remove the term *A*, and form the cochain complex:

Then Ext^{i}_{R}(*A*, *B*) is the cohomology of this complex at position *i*.

Cartan and Eilenberg showed that these constructions are independent of the choice of projective or injective resolution, and that both constructions yield the same Ext groups.^{[2]} Moreover, for a fixed ring *R*, Ext is a functor in each variable (contravariant in *A*, covariant in *B*).

For a commutative ring *R* and *R*-modules *A* and *B*, Ext^{i}_{R}(*A*, *B*) is an *R*-module (using that Hom_{R}(*A*, *B*) is an *R*-module in this case). For a non-commutative ring *R*, Ext^{i}_{R}(*A*, *B*) is only an abelian group, in general. If *R* is an algebra over a ring *S* (which means in particular that *S* is commutative), then Ext^{i}_{R}(*A*, *B*) is at least an *S*-module.

## Properties of Ext

Here are some of the basic properties and computations of Ext groups.^{[3]}

- Ext
^{0}_{R}(*A*,*B*) ≅ Hom_{R}(*A*,*B*) for any*R*-modules*A*and*B*.

- Ext
^{i}_{R}(*A*,*B*) = 0 for all*i*> 0 if the*R*-module*A*is projective (for example, free) or if*B*is injective.

- The converses also hold:
- If Ext
^{1}_{R}(*A*,*B*) = 0 for all*B*, then*A*is projective (and hence Ext^{i}_{R}(*A*,*B*) = 0 for all*i*> 0). - If Ext
^{1}_{R}(*A*,*B*) = 0 for all*A*, then*B*is injective (and hence Ext^{i}_{R}(*A*,*B*) = 0 for all*i*> 0).

- If Ext

- for all
*i*≥ 2 and all abelian groups*A*and*B*.^{[4]}

- If
*R*is a commutative ring and*u*in*R*is not a zero divisor, then

- for any
*R*-module*B*. Here*B*[*u*] denotes the*u*-torsion subgroup of*B*, {*x*∈*B*:*ux*= 0}. Taking*R*to be the ring of integers, this calculation can be used to compute for any finitely generated abelian group*A*.

- Generalizing the previous example, one can compute Ext groups when the first module is the quotient of a commutative ring by any regular sequence, using the Koszul complex.
^{[5]}For example, if*R*is the polynomial ring*k*[*x*_{1},...,*x*_{n}] over a field*k*, then Ext^{*}_{R}(*k*,*k*) is the exterior algebra*S*over*k*on*n*generators in Ext^{1}. Moreover, Ext^{*}_{S}(*k*,*k*) is the polynomial ring*R*; this is an example of Koszul duality.

- By the general properties of derived functors, there are two basic exact sequences for Ext.
^{[6]}First, a short exact sequence 0 →*K*→*L*→*M*→ 0 of*R*-modules induces a long exact sequence of the form

- for any
*R*-module*A*. Also, a short exact sequence 0 →*K*→*L*→*M*→ 0 induces a long exact sequence of the form - for any
*R*-module*B*.

- Ext takes direct sums (possibly infinite) in the first variable and products in the second variable to products.
^{[7]}That is:

- Let
*A*be a finitely generated module over a commutative Noetherian ring*R*. Then Ext commutes with localization, in the sense that for every multiplicatively closed set*S*in*R*, every*R*-module*B*, and every integer*i*,^{[8]}

## Ext and extensions

### Equivalence of extensions

The Ext groups derive their name from their relation to extensions of modules. Given *R*-modules *A* and *B*, an **extension of A by B** is a short exact sequence of

*R*-modules

Two extensions

are said to be **equivalent** (as extensions of *A* by *B*) if there is a commutative diagram:

Note that the Five lemma implies that the middle arrow is an isomorphism. An extension of *A* by *B* is called **split** if it is equivalent to the **trivial extension**

There is a one-to-one correspondence between equivalence classes of extensions of *A* by *B* and elements of Ext^{1}_{R}(*A*, *B*).^{[9]} The trivial extension corresponds to the zero element of Ext^{1}_{R}(*A*, *B*).

### The Baer sum of extensions

The **Baer sum** is an explicit description of the abelian group structure on Ext^{1}_{R}(*A*, *B*), viewed as the set of equivalence classes of extensions of *A* by *B*.^{[10]} Namely, given two extensions

and

first form the pullback over ,

Then form the quotient module

The Baer sum of *E* and *E′* is the extension

where the first map is and the second is .

Up to equivalence of extensions, the Baer sum is commutative and has the trivial extension as identity element. The negative of an extension 0 → *B* → *E* → *A* → 0 is the extension involving the same module *E*, but with the homomorphism *E* → *A* replaced by its negative.

## Construction of Ext in abelian categories

Nobuo Yoneda defined the abelian groups Ext^{n}_{C}(*A*, *B*) for objects *A* and *B* in any abelian category **C**; this agrees with the definition in terms of resolutions if **C** has enough projectives or enough injectives. First, Ext^{0}_{C}(*A*,*B*) = Hom_{C}(*A*, *B*). Next, Ext^{1}_{C}(*A*, *B*) is the set of equivalence classes of extensions of *A* by *B*, forming an abelian group under the Baer sum. Finally, the higher Ext groups Ext^{n}_{C}(*A*, *B*) are defined as equivalence classes of *n-extensions*, which are exact sequences

under the equivalence relation generated by the relation that identifies two extensions

if there are maps for all *m* in {1, 2, ..., *n*} so that every resulting square commutes, that is, if there is a chain map ξ → ξ' which is the identity on *A* and *B*.

The Baer sum of two *n*-extensions as above is formed by letting be the pullback of and over *A*, and be the pushout of and under *B*.^{[11]} Then the Baer sum of the extensions is

## The derived category and the Yoneda product

An important point is that Ext groups in an abelian category **C** can be viewed as sets of morphisms in a category associated to **C**, the derived category *D*(**C**).^{[12]} The objects of the derived category are complexes of objects in **C**. Specifically, one has

where an object of **C** is viewed as a complex concentrated in degree zero, and [*i*] means shifting a complex *i* steps to the left. From this interpretation, there is a bilinear map, sometimes called the Yoneda product:

which is simply the composition of morphisms in the derived category.

The Yoneda product can also be described in more elementary terms. For *i* = *j* = 0, the product is the composition of maps in the category **C**. In general, the product can be defined by splicing together two Yoneda extensions.

Alternatively, the Yoneda product can be defined in terms of resolutions. (This is close to the definition of the derived category.) For example, let *R* be a ring, with *R*-modules *A*, *B*, *C*, and let *P*, *Q*, and *T* be projective resolutions of *A*, *B*, *C*. Then Ext^{i}_{R}(*A*,*B*) can be identified with the group of chain homotopy classes of chain maps *P* → *Q*[*i*]. The Yoneda product is given by composing chain maps:

By any of these interpretations, the Yoneda product is associative. As a result, is a graded ring, for any *R*-module *A*. For example, this gives the ring structure on group cohomology since this can be viewed as . Also by associativity of the Yoneda product: for any *R*-modules *A* and *B*, is a module over .

## Important special cases

- Group cohomology is defined by , where
*G*is a group,*M*is a representation of*G*over the integers, and is the group ring of*G*.

- For an algebra
*A*over a field*k*and an*A*-bimodule*M*, Hochschild cohomology is defined by

- Lie algebra cohomology is defined by , where is a Lie algebra over a commutative ring
*k*,*M*is a -module, and is the universal enveloping algebra.

- For a topological space
*X*, sheaf cohomology can be defined as Here Ext is taken in the abelian category of sheaves of abelian groups on*X*, and is the sheaf of locally constant -valued functions.

- For a commutative Noetherian local ring
*R*with residue field*k*, is the universal enveloping algebra of a graded Lie algebra π*(*R*) over*k*, known as the**homotopy Lie algebra**of*R*. (To be precise, when*k*has characteristic 2, π*(*R*) has to be viewed as an "adjusted Lie algebra".^{[13]}) There is a natural homomorphism of graded Lie algebras from the André–Quillen cohomology*D**(*k*/*R*,*k*) to π*(*R*), which is an isomorphism if*k*has characteristic zero.^{[14]}

## See also

## Notes

**^**Weibel (1999); Cartan & Eilenberg (1956), section VI.1.**^**Weibel (1994), sections 2.4 and 2.5 and Theorem 2.7.6.**^**Weibel (1994), Chapters 2 and 3.**^**Weibeil (1994), Lemma 3.3.1.**^**Weibel (1994), section 4.5.**^**Weibel (1994), Definition 2.1.1.**^**Weibel (1994), Proposition 3.3.4.**^**Weibel (1994), Lemma 3.3.8.**^**Weibel (1994), Theorem 3.4.3.**^**Weibel (1994), Corollary 3.4.5.**^**Weibel (1994), Vists 3.4.6. Some minor corrections are in the errata.**^**Weibel (1994), sections 10.4 and 10.7; Gelfand & Manin (2003), Chapter III.**^**Sjödin (1980), Notation 14.**^**Avramov (2010), section 10.2.

## References

- Avramov, Luchezar (2010), "Infinite free resolutions",
*Six lectures on commutative algebra*, Birkhäuser, pp. 1–108, doi:10.1007/978-3-0346-0329-4_1, ISBN 978-3-7643-5951-5, MR 2641236 - Baer, Reinhold (1934), "Erweiterung von Gruppen und ihren Isomorphismen",
*Mathematische Zeitschrift*,**38**(1): 375–416, doi:10.1007/BF01170643, Zbl 0009.01101 - Cartan, Henri; Eilenberg, Samuel (1999) [1956],
*Homological algebra*, Princeton: Princeton University Press, ISBN 0-691-04991-2, MR 0077480 - Eilenberg, Samuel; MacLane, Saunders (1942), "Group extensions and homology",
*Annals of Mathematics*,**43**(4): 757–931, doi:10.2307/1968966, JSTOR 1968966, MR 0007108 - Gelfand, Sergei I.; Manin, Yuri Ivanovich (2003),
*Methods of homological algebra*, Berlin, New York: Springer-Verlag, doi:10.1007/978-3-662-12492-5, ISBN 978-3-540-43583-9, MR 1950475 - Sjödin, Gunnar (1980), "Hopf algebras and derivations",
*Journal of Algebra*,**64**: 218–229, doi:10.1016/0021-8693(80)90143-X, MR 0575792 - Weibel, Charles A. (1994).
*An introduction to homological algebra*. Cambridge Studies in Advanced Mathematics.**38**. Cambridge University Press. ISBN 978-0-521-55987-4. MR 1269324. OCLC 36131259. - Weibel, Charles A. (1999), "History of homological algebra" (PDF),
*History of topology*, Amsterdam: North-Holland, pp. 797–836, ISBN 9780444823755, MR 1721123