TITLE: Restriction of "$\pi_{1}$" to topological groups
QUESTION [12 upvotes]: Let $G$ and $H$ be two topological groups. Assume that $\phi:\pi_{1}(G) \to \pi_{1}(H)$ is  a group homomorphism. Is there a continuous function $f:G\to H$ such that $f_{*}=\phi$?

REPLY [22 votes]: No. Take $G=SO(5)$ and $H=SO(3)$, both of which have fundamental group $\mathbb{Z}/2$. I claim that there is no continuous map $f: G\to H$ which induces the identity homomorphism.
If there were, then $f$ would induce  a nontrivial homomorphism $f_\ast: H_1(G;\mathbb{Z}/2)\to H_1(H;\mathbb{Z}/2)$, and a graded ring homomorphism $f^\ast: H^\ast(H;\mathbb{Z}/2)\to H^\ast(G;\mathbb{Z}/2)$ which is nontrivial on $H^1$. To see that no such ring homomorphism exists, recall (see Hatcher's Algebraic Topology, section 3.D) that $$H^\ast(H;\mathbb{Z}/2)\cong \mathbb{Z}/2[\alpha_1]/(\alpha_1^4)$$ and $$H^\ast(G;\mathbb{Z}/2)\cong \mathbb{Z}/2[\beta_1]/(\beta_1^8)\otimes\mathbb{Z}/2[\beta_3]/(\beta_3^2),$$ where each $\alpha_i,\beta_i$ is in degree $i$.