This construction is independent of the chosen resolution (up to canonical isomorphism), and is functorial: ExtRn(−,N) is contravariant in the first variable and ExtRn(M,−) is covariant in the second.
Equivalent definition (via an injective resolution)
Let k be a field and V,W be k-vector spaces. Every k-module is free (hence projective and injective), so any projective resolution can be taken to be length 0. Therefore,
Extkn(V,W)=0(n>0),Extk0(V,W)=Homk(V,W).
Example 2: ExtZ1(Z/n,A)≅A/nA
Take the standard projective resolution of Z/n as a Z-module:
0→Z×nZ→Z/n→0.
Apply HomZ(−,A):
0→Hom(Z/n,A)→Hom(Z,A)×nHom(Z,A)→Ext1(Z/n,A)→0.
Using Hom(Z,A)≅A, the last map shows
ExtZ1(Z/n,A)≅coker(A×nA)≅A/nA.
In particular, ExtZ1(Z/n,Z)≅Z/n.
Example 3: ExtZ1(Z/n,Z/m)≅Z/gcd(n,m)
From Example 2 with A=Z/m,
ExtZ1(Z/n,Z/m)≅(Z/m)/n(Z/m)≅Z/gcd(n,m).
(For these cyclic Z-modules, ExtZi(Z/n,−)=0 for i≥2 because Z/n has projective dimension 1.)