Hom and Ext functors
Compute derived Hom with the correct variance and interpret first Ext through extensions.
On this page
The question for today
What you’ll understand
- Compute Ext by resolving the first argument projectively or the second injectively.
- Track contravariance and covariance separately.
- Relate a nonzero first Ext group to nonsplit short exact sequences.
Hom records maps, but a map into a quotient need not lift and a map out of a submodule need not extend. Ext measures these missing pieces of Hom exactness. Its two arguments behave differently: the first reverses arrows and the second preserves them. We use left modules throughout this lesson, so Hom is well defined even for a noncommutative ring; without commutativity or extra bimodule data, its natural output is an abelian group.
Two compatible routes to the same invariant
Resolve the first module by projective left modules in nonnegative chain degrees. Applying reverses the arrows, producing a cochain complex with degree- term and differential given by precomposition with the resolution differential. Its cohomology defines Ext. Degree zero recovers ordinary Hom because a map on descends to exactly when it vanishes on the image of .
Alternatively, resolve by injectives in nonnegative cochain degrees and apply . The resulting cohomology groups are naturally isomorphic to those obtained from the projective calculation. Module categories have both types of resolutions. In a more general abelian category one must specify enough projectives or enough injectives before using the respective construction. The two computations are compatible methods, not a permission to replace a projective resolution with an arbitrary exact complex.
Variance controls the long exact sequence
A map induces Ext maps from the groups with first argument to those with first argument . A map induces maps in the same direction in the second argument. The comparison theorem makes these maps independent of chosen lifts. Ignoring this reversal can produce a plausible diagram with every first-argument arrow pointing incorrectly, so label the variable being changed before writing any derived map.
For a short exact sequence in the second argument, the first connecting map starts at a Hom group into the quotient and lands in a first Ext group into the submodule. It measures failure to lift that map. With the first argument varying, the Hom arrows reverse, and the corresponding connecting map measures failure to extend. If is projective, all its positive Ext groups vanish against every . Dually, an injective second argument makes all positive Ext vanish against every first argument.
First Ext classifies extensions
The group also classifies short exact sequences with submodule and quotient , up to isomorphisms inducing the identities on those endpoints. Its zero class is represented by the split sequence. The group operation is the Baer sum, not the direct sum of middle modules alone. Two abstractly isomorphic middle modules can still represent different extension data when their specified inclusion and quotient maps are retained.
For an integer quotient in the first argument, applying Hom to its length-one free resolution yields multiplication by that integer on the second argument. Hom is its kernel and first Ext its cokernel; higher Ext vanishes. This resembles the earlier Tor calculation, but the meanings and variance differ. In particular, a torsion first argument has no nonzero maps into the integers, yet can have nonzero first Ext into the integers. Confusing Hom with Ext would erase exactly the obstruction the resolution was designed to retain.
Work it through
Hom and Ext from one multiplication map
Compute and every positive Ext group for the same ordered pair. Identify generators of the kernel and cokernel.
Resolve the first argument by . Applying Hom into the second argument gives multiplication by eight on in cochain degrees zero and one.
The kernel consists of {0,3,6,9}, a cyclic subgroup generated by the residue three. These are exactly the possible images of the residue one under a homomorphism from the integers modulo eight.
The image is {0,4,8}; quotienting the target by this subgroup gives a cyclic cokernel of order four generated by the coset of one. There are no terms above degree one, so all higher Ext groups vanish.
Hom and first Ext are both abstractly , arising respectively as a kernel and a cokernel. The calculation does not identify their elements or functorial roles.
The living notebook
Explore the model
Interactive lab · modular
Read the cokernel of an Ext differential
Pause/Reset, then set both modulus to 12 and additive step to 8. Predict the orbit {0,8,4} with period three. Compare the three-element image with the four cosets in its cokernel and the four-element kernel calculated in the example. Reset and set both modulus to 12 and step to 5; predict an invertible map and zero cokernel.
- Residue r0
- 0
- Orbit period · m/gcd(m,a)
- 12
- Distinct residues visited
- 1 of 12
Addition modulo m starts at zero: rₙ = na mod m. Playback advances two additions per second. The orbit has period m/gcd(m,a), including period one for a = 0. This is not a cryptographic security test or a primality algorithm. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forOrbit size checks the multiplication differential, while the resolution determines why its cokernel is Ext rather than an unrelated quotient.
Pause & reason
Check your understanding
Your turn
Try it yourself
Compute Hom and first Ext from to . Show that is a nonsplit extension. Compare with first Tor of the same pair.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Apply Hom to the length-one resolution, then separately ask whether the quotient map can have a section.
Compare with the solution
The Hom complex is . Its kernel is zero and its cokernel is , so Hom vanishes and first Ext does not. The displayed extension is nonsplit because every homomorphism from the finite quotient to the torsion-free middle group is zero, precluding a section. First Tor with the integer second argument is zero because its multiplication-by-five kernel is zero, consistent with flatness of that second argument.
Keep the idea
Take it with you
- Ext reverses its first variable and preserves its second.
- Projective and injective resolutions compute the same Ext groups.
- First Ext retains endpoint-labeled extension data and vanishes on split classes.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.