Let \((X,x_0)\) be a based space and \(n\geq1\text{.}\) Fix a generator \(u\in\widetilde H_n(S^n;\mathbb Z)\text{.}\) Show that
\begin{equation*}
h\colon\pi_n(X,x_0)\longrightarrow H_n(X;\mathbb Z),
\qquad [f]\longmapsto f_*(u),
\end{equation*}
is well-defined and is a group homomorphism, including when \(n=1\) and \(\pi_1(X,x_0)\) is nonabelian. Hint: For well-definedness, use homotopy invariance of homology. For the homomorphism property, represent the product by the pinch map \(p\colon S^n\to S^n\vee S^n\) followed by the two representative maps. Show that \(p_*(u)=(u,u)\) under the usual identification of the wedge’s homology with \(\mathbb Z\oplus\mathbb Z\text{.}\)
