Proof (disc does not retract to circle, using homotopy)

Let $i: S^1 \hookrightarrow D^2$ be the inclusion map. Suppose $r: D^2 \to S^1$ is a retraction, which means $r \circ i = \id_{S^1}$. Taking fundamental groups based at $1\in S^1$, we obtain a factorisation

of the identity map. The fundamental group of $π_1(S^1, 1)$ is found here, and the fundamental group of $π_1(D^2, 1)$ is trivial as it is contractible. However this is a contradiction, as the identity map of $\Z$ cannot factor through a trivial group.