# In/surjective maps induce mono/epimorphisms in homology?

Recently I came across a proposition:

Proposition. The projection $$\pi:D^n\rightarrow D^n/S^{n-1}$$ induces isomorphism of relative homology $$\pi_*:H_p(D^n,S^{n-1})\rightarrow H_p(D^n/S^{n-1},pt)$$.

By adapting the Mayer-Vietoris sequence, it is not hard to find that both groups are isomorphic to the reduced homology $$\widetilde{H}_{p-1}\left(S^{n-1}\right)\cong\widetilde{H}_p\left(S^n\right)$$, which are $$\mathbb{Z}$$ when $$p=n$$ and are trivial otherwise.

I’ve been trying to prove the proposition by showing that the homomorphism between those two groups is surjective (or epimorphic) since $$\pi$$ is itself surjective. However, I find it difficult to construct some kind of continuous “inverse” of the projection to bring the element of $$H_p(D^n/S^{n-1},pt)$$, i.e., a map $$\Delta^p\rightarrow D^n/S^{n-1}$$ to some $$f:\Delta^p\rightarrow D^n$$.

I believe my hypothesis is possibly correct, at least with respect to a certain class of “good” topological spaces, that an in/surjective continuous map between spaces will induce corresponding in/surjective homomorphism of homology.

So, my question is, whether or not my hypothesis is correct (or partly correct, which means it only holds when the topological spaces is “good” enough), and what properties of $$D^n$$ and $$S^n$$ does the proposition rely on.

Any help would be greatly appreciated.

For instance, the $$n$$-fold winding map $$z\to z^n$$ from $$S^1$$ to $$S^1$$ is surjective but not surjective on homology.
On the other hand the inclusion $$S^1\to S^2$$ is injective but not injective on homology.