Using the fact that: For all $n\in \mathbb{N}$ there is no retraction $r:B^{n+1} \to S^n$, prove that the identity map $i:S^n\to S^n$ is not nullhomotopic.
This is a problem in section 56 of Munkres' book which I do not know how to approach, I'd be thankful for any helpful comments/answers.
A map $S^n\to X$ is null-homotopic if and only if it can be extended to the entire ball $B^{n+1}$ (you should have proved this earlier in your course). Let $\tilde{i}\colon B^{n+1}\to S^n$ be the extension of $i$ to the ball and let $f$ be the inclusion of $S^n\hookrightarrow B^{n+1}$ and consider the composition $\tilde{i}\circ f$. What can you say about this composition, and what does that say about $\tilde{i}$?