First, this is the link to the book, for convenience: https://pi.math.cornell.edu/~hatcher/AT/AT.pdf#page=275
Corollary 3A.7.
(a) $ \widetilde{H}_n (X;\Bbb Z)=0$ for all $n$ iff $\widetilde{H}_n(X;\Bbb Q)=0$ and $\widetilde{H}_n(X;\Bbb Z_p)=0$ for all $n$ and all primes $p$.
(b) A map $f:X \to Y$ induces isomorphisms on homology with $\Bbb Z$ coefficients iff it induces isomorphisms on homology with $\Bbb Q$ and $\Bbb Z_p$ coefficients for all primes $p$.
I understood the proof of (a), but not for (b). The proof of (b) is as follows:
Proof. Statement (b) follows from (a) by passing to the mapping cone of $f$.
I have really no idea for this proof.
In fact, this question is related to the question linked below: Using Mapping cone to show map induce isomorphism on homology
However, in the above link, I can't see
how the long exact sequence including the mapping cone is derived. (Is the sequence valid for any coefficients?)
why the reduced homology groups of the mapping cone are zero. (Is this because the map $f$ induces isomorphisms on homology?)
how the sequence implies the result.
So I made another question. Thanks in advance.