If $F$ is a free group then $g^2=h^2$ implies $g=h$ for $h,g\in F$.
I've been trying to prove this given the definition of a free group $F$: given group $F$ and subset $X\subseteq F$, $F$ is free over $X$ if for any group $G$ and function $\theta: X \to G$, there exists a unique homomorphism $\alpha:F\to G$ such that $\alpha(x)=\theta(x)$ for all $x\in X$.
The definition doesn't leave me much to work with: I've attempted to define a function $\theta:X\to F$ and then use the definition to take the given $\alpha$ and somehow arrive at $h=g$ but I've been unsuccessful.
The easiest proof I see is to first prove that free groups are totally orderable. It can be done in many easy ways just by using the definition.
– markvs Jul 27 '20 at 01:08