TITLE: Munkres's book, $ {\pi}_1 (X, x_0) $ is abelian if and only if
QUESTION [5 upvotes]: In the Munkres' book of topology have this question:
$ {\pi}_1 (X, x_0) $ is abelian if and only if for every pair $\alpha $ and $\beta $ of paths from $x_0$ to $x_1$, we have $ \widehat{\alpha} = \widehat{\beta} $. where $X$ is a path-connected space.
to prove in the direction $(\Rightarrow)$ I think of using, for example
$ \widehat{\alpha}([f]) = \widehat{\beta}([f]) $.
$\Leftrightarrow$
$[\bar{\alpha}]*[f]*[\alpha] = [\bar{\beta}]*[f]*[\beta] $
$\Leftrightarrow$
$([\bar{\alpha}]*[\beta])*([\bar{\beta}]*[f]*[\alpha]) = ([\bar{\beta}]*[f]*[\bar{\alpha}])*([\alpha]*[\beta]) $
but $[\bar{\alpha}]*[\beta]\notin {\pi}_1 (X, x_0) $ and $[\bar{\beta}]*[f]*[\alpha] \notin {\pi}_1 (X, x_0) $
and thus I can not use commutativity to complete the proff. I tried other ways to arrange the terms but I always fall into the same problem. 
still, I can not carry out the operation $[\alpha]*[\beta]$ because $\alpha(1)
\neq \beta(0)$.

REPLY [2 votes]: Apart from answer given by Mathematician 42, if you want to work within $\pi_1(X, x_0)$, then assuming $\pi_1(X, x_0)$ is abelian, for $[f]\in\pi_1(X, x_0)$, 
$$\begin{eqnarray}
\widehat{\alpha}([f])&=& [\overline{\alpha}]*[f]*[\alpha]\\
&=& ([\overline{\beta}]*[\beta])*([\overline{\alpha}]*[f]*[\alpha])*([\overline{\beta}]*[\beta])\\
&=& [\overline{\beta}]*([\beta]*[\overline{\alpha}])*[f]*([\alpha]*[\overline{\beta}]*[\beta])\\
&=& [\overline{\beta}]*[f]*([\beta]*[\overline{\alpha}])*([\alpha]*[\overline{\beta}]*[\beta])  \;\;\;\;\{\textrm{because } [f], [\beta]*[\overline{\alpha}]\in\pi_1(X, x_0)\}\\
&=& [\overline{\beta}]*[f]*[\beta]\\
&=& \widehat{\beta}([f]).
\end{eqnarray}$$