Here is the problem: Prove that the covering projection $S^n \rightarrow P^n$ is not null-homotopic. This problem is from Algebraic Topology by Harper and Greenberg. There is a suggestion: The lifting theorem provides a set equivalence $[X, S^n] \rightarrow [X, P^n]$ for all simply connected $X$.
How can I prove this? Thank you for your help!
Suppose that the covering map $\pi$ were nullhomotopic through a homotopy $h$. Consider the diagram $$\begin{matrix} S^n & \xrightarrow{\mathrm{id}} & S^n\\ i_0\downarrow & & \downarrow \pi\\ S^n\times [0,1]& \xrightarrow{h} & P^n \end{matrix}$$ which expresses the fact that the homotopy $h$ has a lift at $t=0$. Standard facts about covering spaces tell us that $h$ has a unique lift $\tilde{h}:S^n\times[0,1]\to S^n$ such that $h=\pi\circ\tilde{h}$. Then $\tilde{h}_1:S^n\to S^n$ maps $S^n$ into the fiber over a point $x$ in $P^n$ since $h_1=\pi\circ\tilde{h}_1$ is constant (equal to $x$). Since $S^n$ is connected and the fiber over $x$ is a two point set $\lbrace v,-v\rbrace$ (for some $v\in S^n$) $\tilde{h}_1$ must be constant.
Thus $\iota=\mathrm{id}_{S^n}$ is homotopic to a constant map $S^n\to\mathrm{pt}\to S^n$ (equal to $\pm v$). This poses a problem when passing to (reduced) homology (for simplicity) since we must have that $\iota_*=\mathrm{id}_{\tilde{H}_*(S^n)}=0$ since it factors through the reduced homology of a point (which is $0$) contradicting the fact that $\tilde{H}_*(S^n)\simeq\Bbb Z[n]$ (an infinite cyclic group concentrated in degree $n$).