Let $X$ and $Y$ be topological spaces with basepoints $x_0 \in X$ and $y_0 \in Y$. Forgetting basepoints defines a map $$\Phi:[(X,x_0),(Y,y_0)]_∗ →[X,Y].$$
We write $[X, Y ]$ for the set of homotopy classes of continuous maps from $X$ to $Y$.
And we write $[(X, x_0), (Y, y_0)]_∗$ for the set of basepoint preserving homotopy classes of basepoint preserving continuous maps from $X$ to $Y$.
I want to show that in general $\Phi$ is neither injective nor surjective.
For a counterexample for surjectivity, we can consider $X= \{x_0\}$ and $Y=\{y_0,y_1\}$.
But I do not have and idea for a counterexample of injectivity.
