The Quaternion Group, Q8

Theorem.  Let a and b be in a group G such that |a|=|b|=4, a2=b2, ba=a3b=a-1b.   Then

  1. If |c|=4, then for any integer n, cn = cd where d=n mod 4 and d is in {0,1,2,3}.
  2. For any integers n and j, anbj = an+2bj-2 for any integers n and j (because a2=b2 ).
  3. For any integers j and k, (ajbk)-1=b3ka3j.
  4. For any integer m, bkam=at bk where t=3km.
  5. For any integers j, k, m and n, (ajbk)(ambn)=asbt where s=(j+3km)mod 4 in [0,3] and t=(k+n) mod 4 in [0,3].  If t is 2 or 3, s and t can be replaced by s'=(j+3km+2) mod 4 in [0,3] and t by t'=t-2 in [0,1].
  6. b3a=ab and ab is distinct from ba.  Thus <a,b> is not abelian.
  7. <a,b> ={ajbk | j in [0,3] and k in [0,1] } and hence <a,b> has at most 8 elements.
  8. <a,b> has exactly 8 elements.
  9. In <a,b>, e has order 1, a2 has order 2, and the remaining six elements have order 4.

Proof.   Let e denote the identity of G.  To prove (1), let n be any integer.  Then an = a4k+d = a4k ad =(a4)k ad = ek ad  = e ad = adTo prove (2), note that anbj = an+2bj-2 for any integers n and j, because a2=b2:  anbj =
an b2+(j-2) = an (b2 bj-2) = (an b2) (bj-2) = (an a2) bj-2 =an+2 bj-2To prove (3), note that |a|=|b|=4.  If e is the identity of G, then e=a4=b4 and hence a(a3)=b(b3)=e.  Thus a-1=a3 and b-1=b3.  Hence (ajbk)-1=(bk)-1 (aj)-1 = b-k a-k = (b-1)k (a-1)k = (b3)k (a3)j = b3k a3j.

To prove (4), use several induction arguments. 

    First let k=0 and let m be arbitrary.  Then b0am = eam = am = am b0.  Note that m does indeed equal 30m.  Next let k=1 and m=0.  Then b1a0 = b1e = b1 = eb1 = a3*0 b1.  Now suppose that b1am=a3mb1 for some m>-1, and consider bkam+1

    b1am+1 = b1(am a1) = (b1am)a = (a3mb1)a = a3m(b1a) = a3m(ba)= a3m(a3b) = a3m+3b = a3(m+1)b1.

By the Principle of induction, (4) now holds for k=1 and non-negative integers m.  Continue to let k=1 and consider m negative.  Then m=-n for some positive integer m, and using (3) and what we just proved for non-negative m with k=1,

    b1am=b1 a-n = b1 (an)-1 = b1a3n = a3*3n b1.

Note that 3*3=1 mod 4 and thus 3*3n mod 4 = n mod 4.  Thus a3*3n = an by (1).  Hence, using (3) again,

    b1am = an b1 = a-m b1 = (am)-1 b1 = a3m b1.

Thus (4) holds for k=1 and all integers m. 

   Next suppose that (4) holds for some k >0, with no restriction on m.  Consider a case of k+1 and an arbitrary m.  Then, applying the case of k (to get w=3km) and the case of k=1,

    bk+1am = (b1 bk)am = b1(bkam) =b1(awbk) =(b1aw)bk = (a3w b1) bk = a3w (b1 bk) = a3w bk+1.

Note that 3w =3*(3km)=3k+1m, as required in (4).  Thus, by Principle of Induction (and the previous cases done for k=0 and k=1), (4) holds for all non-negative k and arbitrary integers m.

    Finally, consider cases of  (4) with k<0.  Then k=-x for some x>0.  Apply (3) above to obtain bk = b-x = (bx)-1 = b3x.  Then

    bkam = b3x am = aw b3x = aw bk, with w=33xm.

Note that 32=1 mod 4,  and thus 3g=3[g mod 2] mod 4 for any integer g (see the proof of (1), and modify for order 2 instead of order 4).  Also, 3 mod 2 = 1 mod 2 = -1 mod 2, and thus  3x mod 2 = (3 mod2) (x mod 2) =(-1 mod 2) (x mod 2) = -x mod2.  Hence
            w mod 4 = (33xm) mod 4
                           = (33x mod 4) (m mod 4)
                           = (3-x mod4) (m mod 4)
                           = (3-xm) mod 4
                           = (3km) mod 4. 
Thus aw = as where s=3km, by (1).  Thus, bkam=asbk with s=3km as required by (4).  That completes the proof of (4).

    To prove (5), apply (4).  (ajbk)(ambn) = [aj (bk am)] bn = [aj (aw bk)] bn

with w=3km by (4).  Hence, by the associative law and laws of exponents and (1) above,

    (ajbk)(ambn) = a(j+w) b(k+n) = a[(j+w)mod4]b[(k+n)mod4] with w=3km.

Let s=(j+w) mod 4 and t=(k+n) mod 4.  If t=2 or t=3, use (1) and (2) above and the fact that
[(x mod 4)+y)] mod 4 = (x +y) mod 4.

     (ajbk)(ambn) = as+2 bt-2 = a[(s+2)mod 4]bt-2 = a[(j+w+2)mod4]bt-2, with t-2 in {0,1} and w=3km.

    To prove (6), use a2=b2, (5), the associative law and the laws of exponents.  b3a = (bb2)a = (ba2)a = b(a3) = (a0b1)(a3b0) = asbt, where s=(0+3*3)mod 4 = 1 mod 4 and t=(1+0)mod 4 = 1 mod 4.  Thus b3a =a1 b1 = ab.  Suppose that ba=ab.  Then b3a=ba (since b3a=ab).  Cancelling a and then b on the right, one finds that b2=e and hence |b|<4.  Since |b|=4, ba and ab are different.

    To prove (7), use (3) and (5).  Let S be the subset of G consisting of all elements of the form ajbk, for j in [0,3] and k in [0,2].  Clearly a and b are in S because a=a1b0 and b=a0b1 .  By (3) and (5) above, S is a subgroup of G.  Because <a,b> is the smallest such group, <a,b> is a subset of S and hence <a,b>=S.  Thus G has at most 8 elements, because there are 4 choices for j and two choices for k in describing the set S.

    To prove (8), note that both <a> and <b> are subsets of <a,b>.  Since |a| =4 and |b|=4, Theorem 3.4 on page 35 says that <a> has the four distinct elements a, a2, a3, and e while <b> has the four distinct elements b, b2, b3 and e.   If b is not in <a>, then {e, a, a2, a3, b} is a subset of <a,b> with 5 distinct elements.  Thus 4<|<a,b>|<9.  By Lagrange's Theorem, Corollary 4.6 on page 39, |<a>| divides |<a,b>| because <a> is a subgroup of <a,b>.  Since |<a>|=|a|=4, <a,b> must be a multiple of 4.  The only multiple of 4 in (4, 9) is 8.  Thus |<a,b>| = 8, provided of course that we prove that b is not in <a>.  We know that b is distinct from a (by hypothesis), and that b is distinct from e and a2=b2 (because e, b, b2 and b3 are distinct).  Suppose b=a3.  Then b2=a3b=ba, which implies b=a.  Thus, b is distinct from a3 as well, and hence b is not in <a>.

    To prove (9), note first that |e|=1 always (for the identity of any group).  Also, since |a|=4, a2 is distinct from e but a2a2=a4=e; thus |a2|=2.  The generators a and b have order 4 by hypothesis; this applies to a-1=a3 and b-1=b3=a2b as well, as a consequence of Theorem 3.6 on page 36.  In general, if c has order 4, so does c-1.  Note that -1 and 4 are relatively prime; or, if you prefer, c-1=c3 with 3 and 4 relatively prime.  By Theorem 3.6, c3 generates <c> and hence |c3|=|<c>|=4.  Consider next ab:  (ab)2=a(1+3*1)mod4b(1+1)mod4  = a0b2=a2; (ab)3=(ab)2(ab)=a2(ab)=(a2 a)b=a3b; (ab)4=(ab)2(ab)2=a2a2=e.  Thus, |ab|=4 by Theorem 3.4 on page 35.  This applies as well to (ab)-1=(ab)3=a3b.  Thus, a, a3=a-1, b, a2b=b3=b-1, ab and a3b=(ab)-1 have order 4.

QED

Example.  Let A be the 2 by 2 matrix {{0,1},{-1,0}} (listed as rows) and B be the matrix {{0,i},{i,0}}, with complex numbers as entries.  Note that A and B are distinct and that, under the usual matrix multiplication, |A|=|B|=4, A2=B2 and BA=A3B=A-1B.

  1. A2={{-1,0},{0,-1}}; A3={{0,-1},{1,0}}; A4={{1,0},{0,1}}=E, the identity for the 2 by 2 matrices under multiplication.  By Theorem 3.4, |A|=4.
  2. B2={{-1,0},{0,-1}}=A2; B3={{0,-i},{-i,0}}; B4={{1,0},{0,1}}=E.  Thus |B|=4 and B2=A2.
  3. BA = {{-i, 0},{0,i}}; A3B= {{-i,0},{0,i}}.   Thus BA=A3B.

It is well-known that the set W is a group under matrix multiplication, where W consists of 2 by 2 matrices with non-zero determinants.  Thus A and B generate a subgroup <A,B> of W.  By the previous lemma, <A,B> has exactly 8 elements:  {E, A, A2, A3, B, AB, A2 B, A3 B}.  Here is the list in matrix form:

Listed Element From The Lemma Matrix Value
 
E 1 0
0 1
A 0 1
-1 0
A2 = B2 
= (A3)2 = (B3)2
= (AB)2 = (A3B)2
-1 0
0 -1
A3 = B2A = A-1 0 -1
1 0
B 0 i
i 0
AB = B3A =(A3B)3 i 0
0 -i
A2B = B3 = B-1 0 -i
-i 0
A3B = BA = (AB)3 -i 0
0 i

It is clear that <A,B> is isomorphic to any group <a, b> that meets the conditions of the previous theorem:  part (5) of that theorem applies to products (AjBk)(AmBn) and (ajbk)(ambn) to produce homomorphic results if one simply maps AjBk to ajbk for all j in {0,1,2,3} and k in {0,1}.

Multiplication Table.  Below is a multiplication table for the group described above.

Left Times Top E A A2 A3 B AB A2B A3B
E E A A2 A3 B AB A2B A3B
A A A2 A3 E AB A2B A3B B
A2 A2 A3 E A A2B A3B B AB
A3 A3 E A A2 A3B B AB A2B
B B A3B A2B AB A2 A E A3
AB AB B A3B A2B A3 A2 A E
A2B A2B AB B A3B E A3 A2 A
A3B A3B A2B AB B A E A3 A2

 

Proper Subgroups.  The multiplication tables of the four proper subgroups of <A,B> are color-coded above:

  1. The table for {E, A2} is in green.
  2. The table for {E, A, A2, A3} is in yellow and green.
  3. The table for {E, B, B2=A2, B3=A2B} is in purple and green.
  4. The table for {E, AB, A2, A3B} is in orange and green.

Why are there only these 4 proper subgroups?  By Lagrange's Theorem, a proper subgroup can have 2 elements or 4.  The only element of order 2, with which to generate a subgroup of 2 elements, is A2.  A subgroup H of order 4 must contain something outside of {E,A2}, say some C.  Since all elements except E and A2 have order 4, H contains <C> and |<C>|=4.  Thus H=<C>.  There are six choices for C:  A and A3 give (2) above; B and B3=A2B give (3) above; AB and A3B give (4) above.

All Proper Subgroups Are Normal ({E} and <A,B> are always normal in <A,B>).  Any subgroup with 4 elements has index 2 in <A,B>.  Subgroups of index 2 are always normal (Exercise 1, page 45).  For any x in <A,B>, if we conjugate {E,A2} by x we get an isomorphic subgroup, x{E,A2}x-1 (Exercise 6, page 45).  However, there is only one subgroup that consists of 2 elements:  {E, A2}.  Thus x{E,A2}x-1 = {E, A2} for all x in <A,B> and {E,A2} is hence normal in <A,B>.

The Lattice Structure of Subgroups.  {E} is below {E,A2}, which is below all the rest.  The meet of any two of (2), (3) and (4) above is {E,A2}.  The join of any two of (2), (3) and (4) above is <A,B>.  Of course, <A,B> is above all the rest.

The Center of <A,B> is {E,A2}.  From the multiplication table above, note that B, AB, A2B and A3B do not commute with A.  Also, A3 does not commute with B.  However, A2 commutes with everything.

The Ascending Central Series.  C1(<A,B>) is the center of <A,B>, {E,A2}.  C2(<A,B>) is the canonical pull-back to <A,B> of the center of <A,B>/{E,A2} (the center of a group is always a normal subgroup).  However, <A,B>/{E,A2} is a group of 4 elements and hence isomorphic to Z4 or to (Z2)x(Z2) (see Exercise 5, page 40).  Hence this quotient group is abelian and equal to its center.  Thus C2(<A,B>)=<A,B>.  Just for the record, <A,B>/{E,A2} is isomorphic to (Z2)x(Z2), because a2=b2=(a3)2=(a2b)2=(ab)2=(a3b)2 for all six elements of <A,B> that are outside {E,A2}.

An Alternate Description of Q8.  Let 1 be the identity, I=A, J=B and K=AB.  Let -1=A2, -I=A3, -J=A2B, and -K=A3B.  Then

    Conversely, suppose a group H has two distinct generators a and b, each of order 4, such that a2=(ab)2.  The condition (ab)(ab)=a2 implies that b(ab)=a and hence (ba)b=a.  Thus, ba=ab-1=ab3Thus, any such group must be Q8.