I need to prove the following statement:
If $A$ is a retract of $X$ (via $r:X\to A$), then $H_q(X)\cong \text{im }i_*\oplus \ker r_*$
It is well know that $r\circ i=id_A$ implies that $r_*$ and $i_*$ are surjective and injective respectively. From here, is it possible conclude that $H_q(X)\cong \text{im }i_*\oplus \ker r_*$?