Fix a ring $R$.
We consider the second example with $M = \mathbb{Z}$ and with $M = \mathbb{Z}/2$.
We compute cohomology:
We compute cohomology:
Question: Is cohomology determined by homology?
We answer this by:
Question: What is the kernel of $H^k \to Hom(H_k, R)$?
Answer is Universal coefficients theorem.
We can define the cohomology of any module $H$ over $R$, namely,
Theorem: There is a short exact sequence of $R$-modules $$0 \to Ext^1(H_{k-1}, M) \to H^k \to Hom(H_k, M)\to 0.$$
Sketch of proof:
Identification with Ext
from IPython.display import Image
Image("cohomology.png")