Proving homotopy invariance of cellular homology by constructing a chain homotopy I'm trying to follow an argument in Lück's "Algebraische Topologie: Homologie und Mannigfaltigkeiten" (to which there apparently doesn't exist an english translation). The aim is to check homotopy invariance of cellular homology by constructing a chain homotopy.
Let me sketch the argument. Let $h\colon (X,A)\times [0,1]\to (Y,B)$ be a cellular homotopy from $f_0$ to $f_1$. Using the CW-structure on $[0,1]$ with the two 0-cells {0}, {1} and one 1-cell, we identify
$$
C_n((X,A)\times [0,1])=C_n(X,A)\oplus C_n(X,A)\oplus C_{n-1}(X,A).
$$
Then $C_n(h)$ is of the form $C_n(f_0)\oplus C_n(f_1)\oplus u_{n-1}$, where $u_{n-1}$ is some map $C_{n-1}(X,A)\to C_n(Y,B)$.
Now we would like to compute the $n$th differential of $C_*((X,A)\times [0,1])$ under the above identification. Since it is a map from $C_n(X,A)\oplus C_n(X,A)\oplus C_{n-1}(X,A)$ to $C_{n-1}(X,A)\oplus C_{n-1}(X,A)\oplus C_{n-2}(X,A)$, we can denote it by a 3x3-matrix.
My computation yielded
$$
\begin{pmatrix}
c_n & 0 & 0 \newline 0 & c_n & 0 \newline -id & id & c_{n-1}
\end{pmatrix},
$$
where $c_n$ is the $n$th differential of $C_*(X,A)$.
In the book, however, I find
$$
\begin{pmatrix}
c_n & 0 & (-1)^n \newline 0 & c_n & (-1)^{n-1} \newline -id & id & c_{n-1}
\end{pmatrix}.
$$

Question: What is meant by $(-1)^n\colon C_{n}(X,A)\to C_{n-2}(X,A)$ and how can I 
  understand that the second matrix above is the correct expression?


Edit: Apparently, the correct form of the the matrix representing the $n$th differential of $C_*((X,A)\times [0,1])$ is
$$
\begin{pmatrix}
c_n & 0 & 0 \newline 0 & c_n & 0 \newline (-1)^{n+1}\cdot id & (-1)^n\cdot id & c_{n-1}
\end{pmatrix}
$$
or
$$
\begin{pmatrix}
c_n & 0 & 0 \newline 0 & c_n & 0 \newline (-1)^{n}\cdot id & (-1)^{n+1}\cdot id & c_{n-1}
\end{pmatrix},
$$
depending on the orientation of the 1-cell in $[0,1]$.
 A: Your calculation is almost correct. I don't have a copy of the book you are referring to, but if it says what you claim it does, then this is a typo. This clearly must be, since the matrix in question is supposed to be a differential yet only squares to zero if the mysterious map "(-1)^n" is zero.
However your matrix also suffers from a similar problem. It doesn't square to zero either. The problem seems to be about orienting the cells correctly. You'll find that the signs on the "id" terms of your matrix need to alternate at each level. 
A: I hope it will be interesting for topologists  to see this result on cellular homotopy as a special case of a result on filtered spaces $X_\ast$  and of the homotopy invariance of the fundamental crossed complex functor 
$\Pi: ($filtered spaces$)\to ($crossed complexes$)$ 
defined using the fundamental groupoid and relative homotopy groups. The difficult part is to construct  a natural transformation 
$\zeta :   \Pi X_\ast  \otimes \Pi Y_\ast \to \Pi (X_\ast \otimes Y_\ast )$
(which is an isomorphism for cellular filtrations) and this uses cubical methods. This is all explained in our book published by the EMS and advertised here. 
