For topological spaces $X$ and $Y$, let $[X,Y]$ denote the set of homotopy classes of continuous maps $X\to Y$.
- If $I=[0,1]$ is the unit interval, then $[X,I]$ has only one element.
- If $X$ is path connected, then $[I,X]$ has only one element.
I am new to these topics and have no clue where to start yet. Could anyone at least give me a clue to follow?
For the sake of context, this is Exercise 2 from Section 51 (Chapter 9) of Munkres' Topology .
If you want to prove that $[X,Y]$ has only one element, you have to show that any two continuous maps $f,g:X\to Y$ are homotopic. To show that two maps are homotopic, you have to find a homotopy between them, i.e. a continuous map $F:X\times I\to Y$ such that $F(x,0)=f(x)$ and $F(x,1)=g(x)$ for all $x\in X$.