Proof (groups of order 8)
Sketch of proof: $o(a) = 4$
-
Consider $ab$
-
Consider $b^2$
-
Handle each cases
By Lagrange's theorem, every element of $G$ has order 1, 2, 4 or 8.
If there is an element of order 8, then $G\isom C_8$.
If every non-trivial element has order 2, then $G$ is abelian. We can choose $a,b,c\in G\setminus\set e$ such that $a\neq b$ and $c\not\in \langle a,b\rangle$. Repeated application of the direct product theorem yields $G\isom\gen a\times\gen b\times\gen c\isom C_2\times C_2\times C_2$.
Now we can pick some element $a\in G$ which has order 4. Let $b\in G\setminus\gen a$. Since $|G:\gen a| = 2$, we have $$ b\gen a = \gen a b.$$ Therefore $ba = a^i b$ for some $i=0,1,2,3$.
-
$i=0$ is impossible since then $ba=b$ and so $a=e$.
-
$i=2$ is also impossible since then $bab\inv = a^2$, but $o(bab\inv) = o(a) = 4 \neq 2 = o(a^2)$.
-
For $i=1$, we have $ba = ab$, so $ba^j = a^j b$ for all $j\in\Z$. Hence $G$ is abelian. We call this case A.
-
For $i=3$, we have $ba = a\inv b$. Call this case B.
Now we also think about $b^2$. $b^2\in\gen a$ since otherwise $b^2 \in b\gen a$ would imply $b\in\gen a$, a contradiction.
Therefore $b^2 = a^j$ for some $j=0,1,2,3$.
-
For $j=1$, we have $b^2 = a$, so $o(b) = 8$, which means $G\isom C_8$.
-
Similarly for $j=3$, we have $b^2 = a\inv$, so $o(b) = 8$ and $G\isom C_8$.
-
For $j=0$, we have $b^2 = e$, which we call case 0.
-
For $j=2$, we have $b^2 = a^2$, which we call case 2.
Finally we have 4 cases to analyse:
-
Case A0: we have $G$ abelian and $b^2 = e$. Notice that $\gen a\cap\gen b = \set e$ since $b\not\in\gen a$. By the direct product theorem, $G\isom\gen a\times\gen b\isom C_4\times C_2$.
-
Case A2: we have $G$ abelian and $b^2 = a^2$, so $b^2 a^{-2} = e$. Since $G$ is abelian, $e = (ba\inv)^2$. Similar to above, $G\isom\gen a\times\gen{ba\inv}\isom C_4\times C_2$.
-
Case B0: we have $ba = a\inv b$ with $o(a) = 4$ and $o(b) = 2$. This resembles the dihedral relation with isomorphism $$\begin{align*} \phi: G&\to D_8 \\ a&\mapsto r \\ b&\mapsto s. \end{align*}$$ We can list all the elements $$G = \set{e,a,a^2,a^3,b,ab,a^2b,a^3b}.$$ Using the dihedral relation we can check that the multiplication rules check out:
-
$\phi(a^i)\phi(a^j) = r^ir^j = r^{i+j} = \phi(a^{i+j}) = \phi(a^ia^j)$;
-
$\phi(a^ib)\phi(a^j) = r^isr^j = r^{i-j}s = \phi(a^{i-j}b) = \phi(a^iba^j)$;
-
$\phi(a^i)\phi(a^jb) = r^ir^js = r^{i+j}s = \phi(a^{i+j}b) = \phi(a^ia^jb)$;
-
$\phi(a^ib)\phi(a^jb) = r^isr^js = r^{i-j} = \phi(a^{i-j}) = \phi(a^iba^jb)$.
-
Therefore $G\isom D_8$.
-
-
Case B2: we have $ba=a\inv b$ with $o(a) = 4$ and $a^2 = b^2$. We want to show the isomorphism $$\begin{align*} \phi: G &\to Q_8 \\ a &\mapsto i \\ b &\mapsto j \\ ab &\mapsto k \end{align*}$$ works. Listing the elements in $G$, $$ G = \set{e,a,a^2,a^3, b, ab, a^2b, a^3b}.$$ Now we will do the incredibly fun thing of checking the multiplication rules:
-
$\phi(a^m)\phi(a^n) = i^mi^n = i^{m+n} = \phi(a^{m+n}) = \phi(a^ma^n)$;
-
$\phi(a^m b)\phi(a^n) = i^mji^n = (-1)^n i^{m+n} j = i^{m+3n} j = \phi(a^{m+3n} b) = \phi(a^m(a\inv)^nb) = \phi(a^mba^n)$;
-
$\phi(a^m)\phi(a^nb) = i^mi^nj = i^{m+n}j = \phi(a^{m+n}b) = \phi(a^ma^nb)$;
-
$\phi(a^m b)\phi(a^n b) = i^mji^nj = (-1)^n i^{m+n} jj = i^{m+3n+2} = \phi(a^{m+3n+2}) = \phi(a^m(a\inv)^nbb) = \phi(a^mba^nb)$.
Therefore $G\isom Q_8$.
-