I know that $S^1$ and $S^3$ can be turned into topological groups by considering complex multiplication and quaternion multiplication respectively, but I don't know how to prove or disprove that $S^2$ can.
This is just a recreational problem for me. Here's the work I have done:
We know that $S^2$ is homogenous and doesn't have the fixed-point property, so those don't help. I know that for any subgroup $H$ of $S^2$ that $S^2/H$ (the coset space with quotient topology) is homogenous. So maybe I can find a subgroup that would have to create a non-homogenous space. The only subgroups that I know would have to exist are cyclic subgroups. But I have no clue what $S^2/\langle x\rangle$ would even look like for any $x\in S^2$.
Any help is appreciated.
EDIT
Mike Miller's answer below certainly makes short work of my problem. But if someone comes up with a more elementary approach, I'd be appreciative.
We'll show that if $S^n$ is a topological group then $n$ must be odd.
Argument 1: Suppose $m : S^n \times S^n \to S^n$ is a topological group structure on $S^n$. For $g \in S^n$ not equal to the identity, $m(g, -) : S^n \to S^n$ has no fixed points, and so by the Lefschetz fixed point theorem, its Lefschetz trace must be $0$. On the other hand, $S^n$ is path-connected, so $m(g, -)$ is homotopic to $m(e, -) = \text{id}_{S^n}$, and in particular the two have the same action on homology and hence the same Lefschetz trace. But the Lefschetz trace of the identity is the Euler characteristic, which is $1 + (-1)^n$; hence $n$ must be odd. $\Box$
More generally, the same argument shows that if a compact path-connected triangulable space has a topological group structure then its Euler characteristic must be $0$.
Argument 2: I think this is a condensed form of Vladimir Sotirov's argument. Any $H$-space structure on $S^n$ induces a Hopf algebra structure on the cohomology $H^{\bullet}(S^n)$, and in particular a coproduct $\Delta$. If $x$ denotes a generator of $H^n(S^n)$, then for degree reasons and because of the existence of a counit, the coproduct must take the form
$$\Delta(x) = 1 \otimes x + x \otimes 1 \in H^{\bullet}(S^n) \otimes H^{\bullet}(S^n)$$
and hence
$$\Delta(x^2) = (1 \otimes x + x \otimes 1)^2 = 1 \otimes x^2 + (-1)^{n^2} x \otimes x + x \otimes x + x^2 \otimes 1$$
where here we recall that on a tensor product of cohomology rings the cup product takes the form
$$(a \otimes b) \cup (c \otimes d) = (-1)^{\deg(b) \deg(c)} (a \cup c) \otimes (b \cup d)$$
for homogeneous $a, b, c, d$. Since $x^2 = 0$ and $x \otimes x$ is not torsion, the above relation can only hold if $(-1)^{n^2} + 1 = 0$; hence $n$ must be odd. $\Box$
More generally, Hopf proved that over a field, the cohomology of a connected $H$-space with finitely generated cohomology is an exterior algebra on odd generators.