Introduction to Modern Algebra
Exercise 5.1.

In the dihedral group D4D_4, let H={e,s}H = \{e, s\}. List the left cosets of HH and the right cosets of HH, and find an element g∈D4g \in D_4 with gH≠HggH \neq Hg.

Solution.

Use the products of Example 1.4.2: rksr^k s is a reflection, and srk=r−kssr^k = r^{-k}s, with exponents counted modulo 44.

The left cosets are rkH={rk,rks}r^kH = \{r^k, r^ks\} for k=0,1,2,3k = 0, 1, 2, 3:

{e,s},{r,rs},{r2,r2s},{r3,r3s}.\begin{aligned} &\{e, s\}, \quad \{r, rs\}, \\ &\{r^2, r^2s\}, \quad \{r^3, r^3s\}. \end{aligned}

These are four disjoint sets covering all eight elements, so they are all the left cosets; the coset of a reflection rksr^ks is (rks)H={rks,rk}=rkH(r^ks)H = \{r^ks, r^k\} = r^kH.

The right cosets are Hrk={rk,srk}={rk,r−ks}Hr^k = \{r^k, sr^k\} = \{r^k, r^{-k}s\}:

{e,s},{r,r3s},{r2,r2s},{r3,rs}.\begin{aligned} &\{e, s\}, \quad \{r, r^3s\}, \\ &\{r^2, r^2s\}, \quad \{r^3, rs\}. \end{aligned}

For g=rg = r, the left coset rH={r,rs}rH = \{r, rs\} differs from the right coset Hr={r,r3s}Hr = \{r, r^3s\}. (So does g=r3g = r^3, and so do g=rsg = rs and g=r3sg = r^3s; for g=e,s,r2,r2sg = e, s, r^2, r^2s the two cosets agree.) □

Exercise 5.2.

Find each index.

  • (a) [Z/24Z:⟨[16]⟩][\mathbb{Z}/24\mathbb{Z} : \langle [16] \rangle].
  • (b) [(Z/20Z)×:⟨[3]⟩][(\mathbb{Z}/20\mathbb{Z})^\times : \langle [3] \rangle].
  • (c) [S4:⟨(1 2 3 4)⟩][S_4 : \langle (1\ 2\ 3\ 4) \rangle].
Solution.

In each part, find the order of the subgroup and divide, by Theorem 5.2.1: [G:H]=∣G∣/∣H∣[G : H] = \lvert G \rvert / \lvert H \rvert.

(a) The multiples of [16][16] are [16][16], [32]=[8][32] = [8] and [48]=[0][48] = [0], so ⟨[16]⟩={[0],[8],[16]}\langle [16] \rangle = \{[0], [8], [16]\} has 33 elements. The index is 24/3=824/3 = 8.

(b) The units modulo 2020 are the classes of 1,3,7,9,11,13,17,191, 3, 7, 9, 11, 13, 17, 19, the integers between 11 and 2020 coprime to 2020 (Theorem 2.3.4), so φ(20)=8\varphi(20) = 8. The powers of [3][3] are [3][3], [9][9], [27]=[7][27] = [7] and [21]=[1][21] = [1], so [3][3] has order 44 and ⟨[3]⟩\langle [3] \rangle has 44 elements (Theorem 2.2.3). The index is 8/4=28/4 = 2.

(c) A 44-cycle has order 44 (Theorem 3.1.3), so ⟨(1 2 3 4)⟩\langle (1\ 2\ 3\ 4) \rangle has 44 elements, and ∣S4∣=4!=24\lvert S_4 \rvert = 4! = 24. The index is 24/4=624/4 = 6. □

Exercise 5.3.

Find the remainder of 72227^{222} on division by 1010, and the remainder of 310003^{1000} on division by 1313.

Solution.

Since gcd⁡(7,10)=1\gcd(7, 10) = 1 and φ(10)=4\varphi(10) = 4 (the units are the classes of 1,3,7,91, 3, 7, 9), Euler’s theorem (Theorem 5.2.4) gives 74≡1(mod10)7^4 \equiv 1 \pmod{10}. As 222=55⋅4+2222 = 55 \cdot 4 + 2,

7222=(74)55⋅72≡49≡9(mod10).\begin{aligned} 7^{222} &= (7^4)^{55} \cdot 7^2 \\ &\equiv 49 \equiv 9 \pmod{10}. \end{aligned}

The remainder is 99.

Since 1313 is prime and does not divide 33, Fermat’s little theorem gives 312≡1(mod13)3^{12} \equiv 1 \pmod{13}. As 1000=83⋅12+41000 = 83 \cdot 12 + 4,

31000=(312)83⋅34≡81≡3(mod13).\begin{aligned} 3^{1000} &= (3^{12})^{83} \cdot 3^4 \\ &\equiv 81 \equiv 3 \pmod{13}. \end{aligned}

The remainder is 33. □

Exercise 5.4.

Let pp be a prime. Show that (a+b)p≡ap+bp(modp)(a + b)^p \equiv a^p + b^p \pmod p for all integers aa and bb.

Solution.

By Fermat’s little theorem (Theorem 5.2.4), xp≡x(modp)x^p \equiv x \pmod p for every integer xx. Applied to a+ba + b, to aa and to bb, it gives

(a+b)p≡a+b≡ap+bp(modp).(a + b)^p \equiv a + b \equiv a^p + b^p \pmod p.
□
Exercise 5.5.

Let HH be a subgroup of a group GG and let g∈Gg \in G. Show that the left coset gHgH is a subgroup of GG exactly when g∈Hg \in H.

Hint.

Every subgroup contains the identity ee.

Solution.

Both directions use the test of Theorem 5.1.3(ii): g′H=gHg'H = gH exactly when g′∈gHg' \in gH.

Suppose g∈Hg \in H. Then gg lies in eH=HeH = H, so the test, applied to ee and gg, gives gH=eH=HgH = eH = H. So gHgH is HH, a subgroup.

Conversely, suppose gHgH is a subgroup of GG. Then it contains the identity ee. By the test, e∈gHe \in gH gives eH=gHeH = gH, that is, gH=HgH = H. Since g∈gHg \in gH (Theorem 5.1.3(i)), it follows that g∈Hg \in H. □

Exercise 5.6.

Let HH and KK be subgroups of a finite group GG with gcd⁡(∣H∣,∣K∣)=1\gcd(\lvert H \rvert, \lvert K \rvert) = 1. Show that H∩K={e}H \cap K = \{e\}.

Hint.

H∩KH \cap K is a subgroup of HH, and also of KK.

Solution.

The plan is to show that ∣H∩K∣\lvert H \cap K \rvert divides both ∣H∣\lvert H \rvert and ∣K∣\lvert K \rvert.

H∩KH \cap K is a subgroup of GG (Definition 2.1.1). It contains ee, which lies in both HH and KK. If a,b∈H∩Ka, b \in H \cap K, then abab and a−1a^{-1} lie in HH, since HH is a subgroup, and in KK for the same reason, so they lie in H∩KH \cap K. Associativity holds because it holds in GG.

Since H∩KH \cap K is contained in HH and is a group under the same operation, it is a subgroup of HH; in the same way it is a subgroup of KK. By Theorem 5.2.1, applied in HH and in KK, ∣H∩K∣\lvert H \cap K \rvert divides ∣H∣\lvert H \rvert and divides ∣K∣\lvert K \rvert, so it divides gcd⁡(∣H∣,∣K∣)=1\gcd(\lvert H \rvert, \lvert K \rvert) = 1. So H∩KH \cap K has exactly one element, which is ee. □

Exercise 5.7.

Let pp be a prime and let GG be a group of order p2p^2. Show that GG has a subgroup of order pp.

Hint.

Take an element g≠eg \neq e. Its order can only be pp or p2p^2; treat the two cases separately.

Solution.

The plan is to find an element of order pp: by Theorem 2.2.3, the subgroup ⟨h⟩\langle h \rangle generated by an element hh of order pp has exactly pp elements.

Since p2≥4p^2 \ge 4, there is an element g≠eg \neq e. By Theorem 5.2.2, ord⁡(g)\ord(g) divides p2p^2, so it is 11, pp or p2p^2, and it is not 11 because g≠eg \neq e.

If ord⁡(g)=p\ord(g) = p, take h=gh = g.

If ord⁡(g)=p2\ord(g) = p^2, take h=gph = g^p. Then hp=gp2=eh^p = g^{p^2} = e, and for 0<k<p0 < k < p we have hk=gpk≠eh^k = g^{pk} \neq e, because 0<pk<p20 < pk < p^2 and p2p^2 is the least positive exponent with gp2=eg^{p^2} = e. So hh has order pp.

In both cases ⟨h⟩\langle h \rangle is a subgroup of GG with pp elements. □

Exercise 5.8.

Show that every group of order 44 is abelian.

Hint.

List the orders an element of a group of order 44 can have, and ask whether some element has order 44.

Solution.

Let ∣G∣=4\lvert G \rvert = 4. By Theorem 5.2.2, every element of GG has order 11, 22 or 44. There are two cases.

Some element gg has order 44. Then ⟨g⟩={e,g,g2,g3}\langle g \rangle = \{e, g, g^2, g^3\} has 44 elements (Theorem 2.2.3), so it is all of GG. Any two elements are powers of gg, and powers of one element commute: gagb=ga+b=gbgag^ag^b = g^{a + b} = g^bg^a. So GG is abelian.

No element has order 44. Then every element xx has order 11 or 22, so x2=ex^2 = e and xx is its own inverse. For a,b∈Ga, b \in G, using this for abab, aa and bb, and Theorem 1.2.4(iv),

ab=(ab)−1=b−1a−1=ba.ab = (ab)^{-1} = b^{-1}a^{-1} = ba.

So GG is abelian in this case too. □

Exercise 5.9.

Let GG be a finite group of order nn, and let kk be an integer with gcd⁡(k,n)=1\gcd(k, n) = 1. Show that every element of GG is a kk-th power: for each g∈Gg \in G there is an x∈Gx \in G with xk=gx^k = g. Deduce that the map G→GG \to G, x↦xkx \mapsto x^k, is a bijection.

Hint.

Write 11 as a combination of kk and nn.

Solution.

The plan is to write the exponent 11 as ku+nvku + nv and use gn=eg^n = e to discard the nn-part.

By Theorem 2.3.2, there are integers uu and vv with ku+nv=gcd⁡(k,n)=1ku + nv = \gcd(k, n) = 1. Let g∈Gg \in G. By Theorem 5.2.2, gn=eg^n = e. So, by the rules for powers,

g=gku+nv=(gu)k(gn)v=(gu)kev=(gu)k.\begin{aligned} g = g^{ku + nv} &= (g^u)^k (g^n)^v \\ &= (g^u)^k e^v = (g^u)^k. \end{aligned}

So x=gux = g^u satisfies xk=gx^k = g.

This shows that the map x↦xkx \mapsto x^k takes every value in GG, so it is onto. It is also one-to-one: if two elements had the same image, the nn elements of GG would have at most n−1n - 1 different images, and the map could not be onto. So it is a bijection. □

Exercise 5.10.

Let pp be an odd prime and let GG be a group of order 2p2p. Show that GG has an element of order pp.

Hint.

Suppose not, and show that then x2=ex^2 = e for every x∈Gx \in G. Then look for a subgroup of order 44.

Solution.

The orders of elements do not by themselves produce an element of order pp, so the argument supposes there is none and builds a subgroup of order 44, which cannot exist because 44 does not divide 2p2p.

By Theorem 5.2.2, every element has order 11, 22, pp or 2p2p. No element has order 2p2p either: if ord⁡(g)=2p\ord(g) = 2p, then g2g^2 would have order pp, since (g2)p=g2p=e(g^2)^p = g^{2p} = e and (g2)k=g2k≠e(g^2)^k = g^{2k} \neq e for 0<k<p0 < k < p, because 0<2k<2p0 < 2k < 2p. So, supposing that no element has order pp, every element has order 11 or 22, and x2=ex^2 = e for every x∈Gx \in G.

Then GG is abelian: for a,b∈Ga, b \in G, ab=(ab)−1=b−1a−1=baab = (ab)^{-1} = b^{-1}a^{-1} = ba, since each element is its own inverse (Theorem 1.2.4).

Since ∣G∣=2p≥6\lvert G \rvert = 2p \ge 6, choose a≠ea \neq e, and then b∉{e,a}b \notin \{e, a\}. Let V={e,a,b,ab}V = \{e, a, b, ab\}. Its four elements are different: ab=eab = e would give b=a−1=ab = a^{-1} = a; ab=aab = a would give b=eb = e; and ab=bab = b would give a=ea = e.

VV is closed under the operation. Using a2=b2=ea^2 = b^2 = e and ba=abba = ab,

a⋅ab=a2b=b,b⋅ab=ab2=a,ab⋅ab=a2b2=e,\begin{aligned} a \cdot ab &= a^2b = b, \\ b \cdot ab &= ab^2 = a, \\ ab \cdot ab &= a^2b^2 = e, \end{aligned}

and the other products (a⋅ba \cdot b, squares, products with ee, and the same products in the other order) lie in VV by a2=b2=ea^2 = b^2 = e and commutativity. A finite non-empty subset closed under the operation is a subgroup (Theorem 2.1.2), so VV is a subgroup of order 44.

By Theorem 5.2.1, 44 would divide 2p2p, so 22 would divide pp, which is false because pp is odd. So GG has an element of order pp. □

Exercise 5.11.

Let n=561=3⋅11⋅17n = 561 = 3 \cdot 11 \cdot 17. Show that a560≡1(mod561)a^{560} \equiv 1 \pmod{561} for every integer aa with gcd⁡(a,561)=1\gcd(a, 561) = 1. Conclude that the converse of Fermat’s little theorem is false: an integer n>1n > 1 with an−1≡1(modn)a^{n - 1} \equiv 1 \pmod n for every aa coprime to nn need not be prime.

Hint.

Work modulo 33, 1111 and 1717 separately, and compare 560560 with 22, 1010 and 1616.

Solution.

Fermat’s little theorem applies only to a prime modulus, so the plan is to use it modulo each prime factor of 561561 and then put the three congruences together.

Let gcd⁡(a,561)=1\gcd(a, 561) = 1. Then none of 33, 1111, 1717 divides aa, since each of them divides 561561. By Fermat’s little theorem (Theorem 5.2.4),

a2≡1(mod3),a10≡1(mod11),a16≡1(mod17).\begin{aligned} a^2 &\equiv 1 \pmod 3, \\ a^{10} &\equiv 1 \pmod{11}, \\ a^{16} &\equiv 1 \pmod{17}. \end{aligned}

Since 560=2⋅280=10⋅56=16⋅35560 = 2 \cdot 280 = 10 \cdot 56 = 16 \cdot 35, raising these to the powers 280280, 5656 and 3535 gives a560≡1a^{560} \equiv 1 modulo 33, modulo 1111 and modulo 1717. So m=a560−1m = a^{560} - 1 is divisible by 33, by 1111 and by 1717.

Then 561561 divides mm. Write m=3m′m = 3m'. Since 1111 divides 3m′3m' and gcd⁡(11,3)=1\gcd(11, 3) = 1, Theorem 2.3.3 gives that 1111 divides m′m', so m=33m′′m = 33m'' for an integer m′′m''. Since 1717 divides 33m′′33m'' and gcd⁡(17,33)=1\gcd(17, 33) = 1, it divides m′′m''. So 561=33⋅17561 = 33 \cdot 17 divides mm, that is, a560≡1(mod561)a^{560} \equiv 1 \pmod{561}.

So n=561n = 561 satisfies an−1≡1(modn)a^{n - 1} \equiv 1 \pmod n for every aa coprime to nn, yet 561=3⋅11⋅17561 = 3 \cdot 11 \cdot 17 is not prime. □