----
> [!definition] Definition. ([[(co)homology with coefficients]])
> Assume $M$ is a $\mathbb{Z}$-[[module]] (an [[abelian group]]). Any (say, [[commutative ring|commutative]]) [[ring]] $R$ is naturally an $(R,\mathbb{Z})$-[[bimodule]]. [[Extension of scalars]] gives an *$R$*-[[module]] $M \otimes_{\mathbb{Z}} R$.
>
> Now let $X$ be a [[topological space]]. In the case where $M=C_{k}(X)$ is a [[singular homology|singular chain group]], basic [[tensor product of modules|tensor product]] properties give a [[chain complex of modules|chain complex of]] $R$-modules $\begin{align}
> C_{k}(X; R)&:=\mathbb{Z}^{\oplus\{ \text{maps } \Delta^{k} \to X \}} \otimes R \cong R^{\oplus \{ \text{maps } \Delta^{k} \to X \}}
> \end{align}$
> with differentials $d_{k} \otimes \id_{R}$.[^1] Elements of $C_{k}(X; R)$ look like $R$-linear (rather than $\mathbb{Z}$-linear) [[linear combination|combinations]] of $k$-[[singular simplex|singular simplicies]].
>
> The [[(co)homology of a complex|homology]] $H_k(X; R):= H_{k}\big( C_{\bullet}(X; R), d \otimes \id_{R} \big)$ of this complex is called the **singular homology of $X$ with coefficients in $R$**.
>
> To get our cohomology to 'take coefficients in $R