Example 6.4.17 (A nontrivial Postnikov extension). Homology objects need not determine an object of a derived category. To see this, set \(R:=\Z /4\) and \(K:=R/(2)\cong \Z /2\), and consider the complex \[ A_{\bullet }:=\big (0\longrightarrow R\xrightarrow {\ 2\ }R\longrightarrow 0\big ) \] in \(\D (R)\), with the two copies of \(R\) in degrees \(1\) and \(0\). Its only nonzero homology groups are \[ H_1(A_{\bullet })\cong K \qquad \text {and}\qquad H_0(A_{\bullet })\cong K. \] The periodic projective resolution \(P_{\bullet }\to K\) \[ \cdots \xrightarrow {\ 2\ }R\xrightarrow {\ 2\ }R \xrightarrow {\ 2\ }R\twoheadrightarrow K\longrightarrow 0 \] and Proposition 6.4.16 show that \(\Ext ^n_R(K,K)\cong K\) for every \(n\geq 0\): after applying \(\Hom _R(-,K)\), all differentials vanish. The truncation sequence of \(A_{\bullet }\) identifies its \(k\)-invariant with the Yoneda \(2\)-extension \[ 0\longrightarrow K\xrightarrow {\ j\ }R\xrightarrow {\ 2\ }R \xrightarrow {\ q\ }K\longrightarrow 0, \] where \(q(r)=\bar r\) and \(j(\bar r)=2r\); see Exercise 6.4.10. This extension is obtained by splicing the short exact sequences \[ 0\longrightarrow K\xrightarrow {j}R\xrightarrow {2}2R\longrightarrow 0, \qquad 0\longrightarrow 2R\longrightarrow R\xrightarrow {q}K\longrightarrow 0, \] coming from the kernel and cokernel of the differential of \(A_{\bullet }\). Their connecting morphisms compose to the truncation map \(K\to K[2]\). To compute its class, lift the resolution to this extension by the identity maps in degrees \(0\) and \(1\). Since \(j q=2\), the resulting degree-two cocycle is \(q\colon P_2=R\to K\). It is nonzero and cannot be a coboundary, so \(\kappa _{A_{\bullet }}\) is the nonzero element of \(\Ext ^2_R(K,K)\).

By Observation 6.4.9, there are therefore exactly two isomorphism classes of objects in \(\D (R)\) with homology \(K\) in degrees \(0\) and \(1\) and zero elsewhere: \(K[0]\oplus K[1]\) and \(A_{\bullet }\). Indeed, the two classes in \(\Ext ^2_R(K,K)\) give these objects, and \(K\) has no nontrivial \(R\)-module automorphisms, so forgetting the chosen identifications of their homology does not identify them.