-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgroups.xml
More file actions
2870 lines (2614 loc) · 107 KB
/
Copy pathgroups.xml
File metadata and controls
2870 lines (2614 loc) · 107 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!-- This file is part of the book -->
<!-- -->
<!-- Abstract Algebra: Theory and Applications -->
<!-- -->
<!-- Text: Copyright (C) 1997-2025 Thomas W. Judson -->
<!-- Sage: Copyright (C) 2010-2025 Robert A. Beezer -->
<!-- See the file COPYING for copying conditions. -->
<!-- This file is part of the book -->
<!-- -->
<!-- See the file COPYING for copying conditions. -->
<chapter xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="groups">
<title>Groups</title>
<introduction>
<p>
We begin our study of algebraic structures by investigating sets associated with single operations that satisfy certain reasonable axioms;
that is, we want to define an operation on a set in a way that will generalize such familiar structures as the integers
<m>{\mathbb Z}</m> together with the single operation of addition,
or invertible <m>2 \times 2</m> matrices together with the single operation of matrix multiplication.
The integers and the <m>2 \times 2</m> matrices,
together with their respective single operations,
are examples of algebraic structures known as groups.
</p>
<p>
The theory of groups occupies a central position in mathematics.
Modern group theory arose from an attempt to find the roots of a polynomial in terms of its coefficients.
Groups now play a central role in such areas as coding theory,
counting, and the study of symmetries;
many areas of biology, chemistry,
and physics have benefited from group theory.
</p>
</introduction>
<section xml:id="groups-section-mod-n-sym">
<title>Integer Equivalence Classes and Symmetries</title>
<introduction>
<p>
Let us now investigate some mathematical structures that can be viewed as sets with single operations.
</p>
</introduction>
<subsection xml:id="groups-subsection-integers-mod-n">
<title>The Integers mod <m>n</m></title>
<p>
The integers mod <m>n</m> have become indispensable in the theory and applications of algebra.
In mathematics they are used in cryptography, coding theory,
and the detection of errors in identification codes.
</p>
<p>
We have already seen that two integers <m>a</m> and <m>b</m> are equivalent mod <m>n</m> if <m>n</m> divides <m>a - b</m>.
The integers mod <m>n</m> also partition
<m>{\mathbb Z}</m> into <m>n</m> different equivalence classes;
we will denote the set of these equivalence classes by <m>{\mathbb Z}_n</m>.
<notation>
<usage><m>\mathbb Z_n</m></usage>
<description>the integers modulo <m>n</m></description>
</notation>
Consider the integers modulo <m>12</m> and the corresponding partition of the integers:
<md>
<mrow>{[0]} & = \{ \ldots, -12, 0, 12, 24, \ldots \},</mrow>
<mrow>{[1]} & = \{ \ldots, -11, 1, 13, 25, \ldots \},</mrow>
<mrow>& \vdots</mrow>
<mrow>{[11]} & = \{ \ldots, -1, 11, 23, 35, \ldots \}</mrow>
</md>.
When no confusion can arise,
we will use <m>0, 1, \ldots, 11</m> to indicate the equivalence classes <m>{[0]}, {[1]}, \ldots, {[11]}</m> respectively.
We can do arithmetic on <m>{\mathbb Z}_n</m>.
For two integers <m>a</m> and <m>b</m>,
define addition modulo <m>n</m> to be <m>(a + b) \pmod{n}</m>;
that is, the remainder when <m>a + b</m> is divided by <m>n</m>.
Similarly, multiplication modulo <m>n</m> is defined as <m>(a b) \pmod{ n}</m>,
the remainder when <m>a b</m> is divided by <m>n</m>.
</p>
<example xml:id="groups-example-zn-addition">
<p>
The following examples illustrate integer arithmetic modulo <m>n</m>:
<md>
<mrow>7 + 4 & \equiv 1 \pmod{ 5} & 7 \cdot 3 & \equiv 1 \pmod{ 5}</mrow>
<mrow>3 + 5 & \equiv 0 \pmod{ 8} & 3 \cdot 5 & \equiv 7 \pmod{ 8}</mrow>
<mrow>3 + 4 & \equiv 7 \pmod{ 12} & 3 \cdot 4 & \equiv 0 \pmod{ 12}</mrow>
</md>.
In particular,
notice that it is possible that the product of two nonzero numbers modulo <m>n</m> can be equivalent to <m>0</m> modulo <m>n</m>.
</p>
</example>
<example xml:id="groups-example-zn-arithmetic-laws">
<p>
Most, but not all,
of the usual laws of arithmetic hold for addition and multiplication in <m>{\mathbb Z}_n</m>.
For instance,
it is not necessarily true that there is a multiplicative inverse.
Consider the multiplication table for
<m>{\mathbb Z}_8</m> in <xref ref="groups-table-z8-mult"/>.
Notice that <m>2</m>, <m>4</m>,
and <m>6</m> do not have multiplicative inverses;
that is, for <m>n = 2</m>, <m>4</m>, or <m>6</m>,
there is no integer <m>k</m> such that <m>k n \equiv 1 \pmod{ 8}</m>.
</p>
<figure xml:id="groups-table-z8-mult">
<!-- math table -->
<caption>Multiplication table for <m>{\mathbb Z_8}</m></caption>
<p>
<me>
\begin{array}{c|cccccccc}
\cdot & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\
\hline
0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
1 & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\
2 & 0 & 2 & 4 & 6 & 0 & 2 & 4 & 6 \\
3 & 0 & 3 & 6 & 1 & 4 & 7 & 2 & 5 \\
4 & 0 & 4 & 0 & 4 & 0 & 4 & 0 & 4 \\
5 & 0 & 5 & 2 & 7 & 4 & 1 & 6 & 3 \\
6 & 0 & 6 & 4 & 2 & 0 & 6 & 4 & 2 \\
7 & 0 & 7 & 6 & 5 & 4 & 3 & 2 & 1
\end{array}
</me>
</p>
</figure>
</example>
<proposition xml:id="groups-proposition-zn-equiv-classes">
<statement>
<p>
Let <m>{\mathbb Z}_n</m> be the set of equivalence classes of the integers mod <m>n</m> and <m>a,
b, c \in {\mathbb Z}_n</m>.
<ol>
<li>
<p>
Addition and multiplication are commutative:
<md>
<mrow>a + b & \equiv b + a \pmod{ n}</mrow>
<mrow>a b & \equiv b a \pmod{ n}</mrow>
</md>.
</p>
</li>
<li>
<p>
Addition and multiplication are associative:
<md>
<mrow>(a + b) + c & \equiv a + (b + c)\pmod{ n}</mrow>
<mrow>(a b) c & \equiv a (b c) \pmod{ n}</mrow>
</md>.
</p>
</li>
<li>
<p>
There are both additive and multiplicative identities:
<md>
<mrow>a + 0 & \equiv a \pmod{ n}</mrow>
<mrow>a \cdot 1 & \equiv a \pmod{ n}</mrow>
</md>.
</p>
</li>
<li>
<p>
Multiplication distributes over addition:
<me>
a (b + c) \equiv a b + a c \pmod{ n}
</me>.
</p>
</li>
<li>
<p>
For every integer <m>a</m> there is an additive inverse <m>-a</m>:
<me>
a + (-a) \equiv 0 \pmod{ n}
</me>.
</p>
</li>
<li>
<p>
Let <m>a</m> be a nonzero integer.
Then <m>\gcd(a,n) = 1</m> if and only if there exists a multiplicative inverse <m>b</m> for <m>a \pmod{n}</m>;
that is, a nonzero integer <m>b</m> such that
<me>
a b \equiv 1 \pmod{ n}
</me>.
</p>
</li>
</ol>
</p>
</statement>
<!--Todo RAB: consider cases in proofs for mathBook XML-->
<!--Todo See if id/ref works on items in ordered lists-->
<proof>
<p>
We will prove (1) and (6) and leave the remaining properties to be proven in the exercises.
</p>
<p>
(1) Addition and multiplication are commutative modulo <m>n</m> since the remainder of <m>a + b</m> divided by <m>n</m> is the same as the remainder of <m>b + a</m> divided by <m>n</m>.
</p>
<p>
(6) Suppose that <m>\gcd(a, n) = 1</m>.
Then there exist integers <m>r</m> and <m>s</m> such that <m>ar + ns = 1</m>.
Since <m>ns = 1 - ar</m>,
it must be the case that <m>ar \equiv 1 \pmod{n}</m>.
Letting <m>b</m> be the equivalence class of <m>r</m>,
<m>a b \equiv 1\pmod{n}</m>.
</p>
<p>
Conversely, suppose that there exists an integer <m>b</m> such that <m>ab \equiv 1 \pmod{ n}</m>.
Then <m>n</m> divides <m>ab -1</m>,
so there is an integer <m>k</m> such that <m>ab - nk = 1</m>.
Let <m>d = \gcd(a,n)</m>.
Since <m>d</m> divides <m>ab - nk</m>,
<m>d</m> must also divide <m>1</m>; hence, <m>d = 1</m>.
</p>
</proof>
</proposition>
</subsection>
<subsection xml:id="groups-subsection-symmetries">
<title>Symmetries</title>
<!-- Symmetries of a rectangle Replaced diagram with a tikz figure - TWJ 5/4/2010 -->
<figure xml:id="groups-figure-rectangle-symmetries">
<caption>Rigid motions of a rectangle</caption>
<image xml:id="groups-rectangle">
<description>The four symmetries ot a rectangle: (1) sending rectangle ABCD to rectangle ABCD, (2) sending rectangle ABCD to rectangle CDAB, (3) sending rectangle ABCD to rectangle BADC, and (4) sending rectangle ABCD to rectangle DCBA.</description>
<latex-image>
<xi:include href="tikz/groups-rectangle.tex" parse="text"/>
</latex-image>
</image>
</figure>
<p>
A <term>symmetry</term> of a geometric figure is a rearrangement of the figure preserving the arrangement of its sides and vertices as well as its distances and angles.
A map from the plane to itself preserving the symmetry of an object is called a
<idx><h>Rigid motion</h></idx><term>rigid motion</term>.
For example,
if we look at the rectangle in <xref ref="groups-figure-rectangle-symmetries"/>,
it is easy to see that a rotation of <m>180^{\circ}</m> or
<m>360^{\circ}</m> returns a rectangle in the plane with the same orientation as the original rectangle and the same relationship among the vertices.
A reflection of the rectangle across either the vertical axis or the horizontal axis can also be seen to be a symmetry.
However, a <m>90^{\circ}</m> rotation in either direction cannot be a symmetry unless the rectangle is a square.
</p>
<!-- Replaced diagram with a tikz figure - TWJ 5/5/2010 -->
<figure xml:id="groups-figure-s3-symmetry">
<caption>Symmetries of a triangle</caption>
<image xml:id="groups-s3-symmetry">
<description>The six symmetries of a triangle: (1) triangle ABC to triangle ABC, (2) ABC to CAB, (3) ABC to BCA, (4) ABC to ACB, (5) ABC to CBA, and (6) ABC to BAC</description>
<latex-image>
<xi:include href="tikz/groups-s3-symmetry.tex" parse="text"/>
</latex-image>
</image>
</figure>
<p>
Let us find the symmetries of the equilateral triangle <m>\bigtriangleup ABC</m>.
To find a symmetry of <m>\bigtriangleup ABC</m>,
we must first examine the permutations of the vertices <m>A</m>,
<m>B</m>,
and <m>C</m> and then ask if a permutation extends to a symmetry of the triangle.
Recall that a <term>permutation</term>
of a set <m>S</m> is a one-to-one and onto map <m>\pi :S \rightarrow S</m>.
The three vertices have <m>3! = 6</m> permutations,
so the triangle has at most six symmetries.
To see that there are six permutations,
observe there are three different possibilities for the first vertex,
and two for the second,
and the remaining vertex is determined by the placement of the first two.
So we have <m>3 \cdot 2 \cdot 1 = 3! = 6</m> different arrangements.
To denote the permutation of the vertices of an equilateral triangle that sends <m>A</m> to <m>B</m>,
<m>B</m> to <m>C</m>, and <m>C</m> to <m>A</m>, we write the array
<me>
\begin{pmatrix}
A & B & C \\
B & C & A
\end{pmatrix}
</me>.
Notice that this particular permutation corresponds to the rigid motion of rotating the triangle by
<m>120^{\circ}</m> in a clockwise direction.
In fact, every permutation gives rise to a symmetry of the triangle.
All of these symmetries are shown in <xref ref="groups-figure-s3-symmetry"/>.
</p>
<p>
A natural question to ask is what happens if one motion of the triangle
<m>\bigtriangleup ABC</m> is followed by another.
Which symmetry is <m>\mu_1 \rho_1</m>;
that is, what happens when we do the permutation <m>\rho_1</m> and then the permutation <m>\mu_1</m>?
<em>Remember that we are composing functions here.
Although we usually multiply left to right,
we compose functions right to left.</em> We have
<md>
<mrow>(\mu_1 \rho_1)(A) & = \mu_1( \rho_1( A ) ) = \mu_1( B ) = C</mrow>
<mrow>(\mu_1 \rho_1)(B) & = \mu_1( \rho_1( B ) ) = \mu_1( C ) = B</mrow>
<mrow>(\mu_1 \rho_1)(C) & = \mu_1( \rho_1( C ) ) = \mu_1( A ) = A</mrow>
</md>.
This is the same symmetry as <m>\mu_2</m>.
Suppose we do these motions in the opposite order,
<m>\mu_1</m> then <m>\rho_1</m>.
It is easy to determine that this is the same as the symmetry <m>\mu_3</m>;
hence, <m>\rho_1 \mu_1 \neq \mu_1 \rho_1</m>.
A multiplication table for the symmetries of an equilateral triangle
<m>\bigtriangleup ABC</m> is given in <xref ref="groups-table-s3"/>.
</p>
<p>
Notice that in the multiplication table for the symmetries of an equilateral triangle,
for every motion of the triangle <m>\alpha</m> there is another motion <m>\beta</m> such that <m>\alpha \beta = \identity</m>;
that is, for every motion there is another motion that takes the triangle back to its original orientation.
</p>
<figure xml:id="groups-table-s3">
<!-- math table -->
<caption>Symmetries of an equilateral triangle</caption>
<p>
<me>
\begin{array}{c|cccccc}
\circ & \identity & \rho_1 & \rho_2 & \mu_1 & \mu_2 & \mu_3 \\
\hline
\identity & \identity & \rho_1 & \rho_2 & \mu_1 & \mu_2 & \mu_3 \\
\rho_1 & \rho_1 & \rho_2 & \identity & \mu_3 & \mu_1 & \mu_2 \\
\rho_2 & \rho_2 & \identity & \rho_1 & \mu_2 & \mu_3 & \mu_1 \\
\mu_1 & \mu_1 & \mu_2 & \mu_3 & \identity & \rho_1& \rho_2\\
\mu_2 & \mu_2 & \mu_3 & \mu_1 & \rho_2 & \identity & \rho_1\\
\mu_3 & \mu_3 & \mu_1 & \mu_2 & \rho_1 & \rho_2& \identity
\end{array}
</me>
</p>
</figure>
</subsection>
</section>
<section xml:id="groups-section-defnitions">
<title>Definitions and Examples</title>
<!-- % TWJ, 2010/03/31 -->
<!-- % Fixed the error <m>(a,b) \in G \times G</m> -->
<introduction>
<p>
The integers mod <m>n</m> and the symmetries of a triangle or a rectangle are examples of groups.
A <term>binary operation</term><idx><h>Binary operation</h></idx>
or <term>law of composition</term>
on a set <m>G</m> is a function
<m>G \times G \rightarrow G</m> that assigns to each pair
<m>(a,b) \in G \times G</m> a unique element <m>a \circ b</m>,
or <m>ab</m> in <m>G</m>, called the composition of <m>a</m> and <m>b</m>.
A <term>group</term><idx><h>Group</h><h>definition of</h></idx>
<m>(G, \circ )</m> is a set <m>G</m> together with a law of composition
<m>(a,b) \mapsto a \circ b</m> that satisfies the following axioms.
<ul>
<li>
<p>
The law of composition is <term>associative</term>.
That is,
<me>
(a \circ b) \circ c = a \circ (b \circ c)
</me>
for <m>a, b, c \in G</m>.
</p>
</li>
<li>
<p>
There exists an element <m>e \in G</m>,
called the <term>identity element</term>,<idx><h>Element</h><h>identity</h></idx>
such that for any element <m>a \in G</m>
<me>
e \circ a = a \circ e = a
</me>.
</p>
</li>
<li>
<p>
For each element <m>a \in G</m>,
there exists an <term>inverse element</term><idx><h>Element</h><h>inverse</h></idx>
in G, denoted by <m>a^{-1}</m>, such that
<me>
a \circ a^{-1} = a^{-1} \circ a = e
</me>.
</p>
</li>
</ul>
</p>
<p>
A group <m>G</m> with the property that <m>a \circ b = b \circ a</m> for all
<m>a, b \in G</m> is called <term>abelian</term><idx><h>Abelian group</h></idx><idx><h>Group</h><h>abelian</h></idx>
or <idx><h>Group</h><h>commutative</h></idx><term>commutative</term>.
Groups not satisfying this property are said to be <term>nonabelian</term><idx><h>Group</h><h>nonabelian</h></idx>
or <idx><h>Group</h><h>noncommutative</h></idx><term>noncommutative</term>.
</p>
<example xml:id="groups-example-integers">
<p>
The integers <m>{\mathbb Z } = \{ \ldots , -1, 0, 1, 2, \ldots \}</m> form a group under the operation of addition.
The binary operation on two integers <m>m,
n \in {\mathbb Z}</m> is just their sum.
Since the integers under addition already have a well-established notation,
we will use the operator <m>+</m> instead of <m>\circ</m>;
that is, we shall write <m>m + n</m> instead of <m>m \circ n</m>.
The identity is <m>0</m>,
and the inverse of <m>n \in {\mathbb Z}</m> is written as <m>-n</m> instead of <m>n^{-1}</m>.
Notice that the set of integers under addition have the additional property that
<m>m + n = n + m</m> and therefore form an abelian group.
</p>
</example>
<p>
Most of the time we will write <m>ab</m> instead of <m>a \circ b</m>;
however, if the group already has a natural operation such as addition in the integers,
we will use that operation.
That is, if we are adding two integers,
we still write <m>m + n</m>,
<m>-n</m> for the inverse, and 0 for the identity as usual.
We also write <m>m - n</m> instead of <m>m + (-n)</m>.
</p>
<p>
It is often convenient to describe a group in terms of an addition or multiplication table.
Such a table is called a <idx><h>Cayley table</h></idx><term>Cayley table</term>.
</p>
<example xml:id="groups-example-z5">
<p>
The integers mod <m>n</m> form a group under addition modulo <m>n</m>.
Consider <m>{\mathbb Z}_5</m>,
consisting of the equivalence classes of the integers <m>0</m>,
<m>1</m>,
<m>2</m>, <m>3</m>, and <m>4</m>.
We define the group operation on <m>{\mathbb Z}_5</m> by modular addition.
We write the binary operation on the group additively;
that is, we write <m>m + n</m>.
The element 0 is the identity of the group and each element in <m>{\mathbb Z}_5</m> has an inverse.
For instance, <m>2 + 3 = 3 + 2 = 0</m>.
<xref ref="groups-table-z5-cayley"/> is a Cayley table for <m>{\mathbb Z}_5</m>.
By <xref ref="groups-proposition-zn-equiv-classes"/>,
<m>{\mathbb Z}_n = \{0, 1, \ldots,
n-1 \}</m> is a group under the binary operation of addition mod <m>n</m>.
</p>
<figure xml:id="groups-table-z5-cayley">
<!-- math table -->
<caption>Cayley table for <m>({\mathbb Z_5}, +)</m></caption>
<p>
<me>
\begin{array}{c|ccccc}
+ & 0 & 1 & 2 & 3 & 4 \\
\hline
0 & 0 & 1 & 2 & 3 & 4 \\
1 & 1 & 2 & 3 & 4 & 0 \\
2 & 2 & 3 & 4 & 0 & 1 \\
3 & 3 & 4 & 0 & 1 & 2 \\
4 & 4 & 0 & 1 & 2 & 3
\end{array}
</me>
</p>
</figure>
</example>
<example xml:id="groups-example-z6-mult">
<p>
Not every set with a binary operation is a group.
For example,
if we let modular multiplication be the binary operation on <m>{\mathbb Z}_n</m>,
then <m>{\mathbb Z}_n</m> fails to be a group.
The element 1 acts as a group identity since
<m>1 \cdot k = k \cdot 1 = k</m> for any <m>k \in {\mathbb Z}_n</m>;
however, a multiplicative inverse for <m>0</m> does not exist since
<m>0 \cdot k = k \cdot 0 = 0</m> for every <m>k</m> in <m>{\mathbb Z}_n</m>.
Even if we consider the set <m>{\mathbb Z}_n \setminus \{0 \}</m>,
we still may not have a group.
For instance, let <m>2 \in {\mathbb Z}_6</m>.
Then 2 has no multiplicative inverse since
<md>
<mrow>0 \cdot 2 & = 0 \qquad 1 \cdot 2 = 2</mrow>
<mrow>2 \cdot 2 & = 4 \qquad 3 \cdot 2 = 0</mrow>
<mrow>4 \cdot 2 & = 2 \qquad 5 \cdot 2 = 4</mrow>
</md>.
By <xref ref="groups-proposition-zn-equiv-classes"/>,
every nonzero <m>k</m> does have an inverse in
<m>{\mathbb Z}_n</m> if <m>k</m> is relatively prime to <m>n</m>.
Denote the set of all such nonzero elements in <m>{\mathbb Z}_n</m> by <m>U(n)</m>.
<notation>
<usage><m>U(n)</m></usage>
<description>group of units in <m>\mathbb Z_n</m></description>
</notation>
Then <m>U(n)</m> is a group called the
<term>group of units</term><idx><h>Group</h><h>of units</h></idx>
of <m>{\mathbb Z}_n</m>.
<xref ref="groups-table-cayley-u8"/> is a Cayley table for the group <m>U(8)</m>.
</p>
<figure xml:id="groups-table-cayley-u8">
<!-- math table -->
<caption>Multiplication table for <m>U(8)</m></caption>
<p>
<me>
\begin{array}{c|cccc}
\cdot & 1 & 3 & 5 & 7 \\
\hline
1 & 1 & 3 & 5 & 7 \\
3 & 3 & 1 & 7 & 5 \\
5 & 5 & 7 & 1 & 3 \\
7 & 7 & 5 & 3 & 1
\end{array}
</me>
</p>
</figure>
</example>
<example xml:id="groups-example-nonabelian">
<p>
The symmetries of an equilateral triangle described in <xref ref="groups-section-mod-n-sym"/> form a nonabelian group.
As we observed, it is not necessarily true that
<m>\alpha \beta = \beta \alpha</m> for two symmetries <m>\alpha</m> and <m>\beta</m>.
Using <xref ref="groups-table-s3"/>, which is a Cayley table for this group,
we can easily check that the symmetries of an equilateral triangle are indeed a group.
We will denote this group by either <m>S_3</m> or <m>D_3</m>,
for reasons that will be explained later.
</p>
</example>
<example xml:id="groups-example-gl2">
<p>
We use <m>{\mathbb M}_2 ( {\mathbb R})</m> to denote the set of all <m>2 \times 2</m> matrices.
Let <m>GL_2({\mathbb R})</m> be the subset of
<m>{\mathbb M}_2 ( {\mathbb R})</m> consisting of invertible matrices;
that is, a matrix
<notation>
<usage><m>\mathbb M_n(\mathbb R)</m></usage>
<description>the <m>n \times n</m> matrices with entries in <m>\mathbb R</m></description>
</notation>
<me>
A =
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
</me>
is in <m>GL_2( {\mathbb R})</m> if there exists a matrix <m>A^{-1}</m> such that <m>A A^{-1} = A^{-1} A = I</m>,
where <m>I</m> is the <m>2 \times 2</m> identity matrix.
For <m>A</m> to have an inverse is equivalent to requiring that the determinant of <m>A</m> be nonzero;
that is, <m>\det A = ad - bc \neq 0</m>.
<notation>
<usage><m>\det A</m></usage>
<description>the determinant of <m>A</m></description>
</notation>
The set of invertible matrices forms a group called the
<idx><h>Group</h><h>general linear</h></idx><term>general linear group</term>.
<notation>
<usage><m>GL_n(\mathbb R)</m></usage>
<description>the general linear group</description>
</notation>
The identity of the group is the identity matrix
<me>
I =
\begin{pmatrix}
1 & 0 \\
0 & 1
\end{pmatrix}
</me>.
The inverse of <m>A \in GL_2( {\mathbb R})</m> is
<me>
A^{-1} =
\frac{1}{ad-bc}
\begin{pmatrix}
d & -b \\
-c & a
\end{pmatrix}
</me>.
The product of two invertible matrices is again invertible.
Matrix multiplication is associative,
satisfying the other group axiom.
For matrices it is not true in general that <m>AB = BA</m>;
hence, <m>GL_2({\mathbb R})</m> is another example of a nonabelian group.
</p>
</example>
<!-- % Changed <m>AB \neq BA</m> to <m>AB = BA</m>. Suggested by Isaac Coombs. TWJ 8/24/2011 -->
<example xml:id="groups-example-quaterions">
<p>
Let
<md>
<mrow>1 & =
\begin{pmatrix}
1 & 0\\
0 & 1
\end{pmatrix}
\qquad
I
=
\begin{pmatrix}
0 & 1\\
-1 & 0
\end{pmatrix}</mrow>
<mrow>J & =
\begin{pmatrix}
0 & i\\
i & 0
\end{pmatrix}
\qquad
K =
\begin{pmatrix}
i & 0\\
0 & -i
\end{pmatrix}</mrow>
</md>,
where <m>i^2 = -1</m>.
Then the relations <m>I^2 = J^2 = K^2 = -1</m>,
<m>IJ=K</m>, <m>JK = I</m>, <m>KI = J</m>,
<m>JI = -K</m>, <m>KJ = -I</m>, and <m>IK = -J</m> hold.
The set
<notation>
<usage><m>Q_8</m></usage>
<description>the group of quaternions</description>
</notation>
<m>Q_8 = \{\pm 1, \pm I, \pm J, \pm K \}</m> is a group called the
<idx><h>Group</h><h>quaternion</h></idx><idx><h>Quaternions</h></idx><term>quaternion group</term>.
Notice that <m>Q_8</m> is noncommutative.
</p>
</example>
<example xml:id="groups-example-c-star">
<p>
Let <m>{\mathbb C}^\ast</m> be the set of nonzero complex numbers.
<notation>
<usage><m>\mathbb C^*</m></usage>
<description>the multiplicative group of complex numbers</description>
</notation>
Under the operation of multiplication <m>{\mathbb C}^\ast</m> forms a group.
The identity is <m>1</m>.
If <m>z = a+bi</m> is a nonzero complex number, then
<me>
z^{-1} = \frac{a -bi}{a^2 +b^2}
</me>
is the inverse of <m>z</m>.
It is easy to see that the remaining group axioms hold.
</p>
</example>
<p>
A group is <term>finite</term>,<idx><h>Group</h><h>finite</h></idx>
or has <term>finite order</term>,
if it contains a finite number of elements;
otherwise, the group is said to be <term>infinite</term>
or to have <idx><h>Group</h><h>infinite</h></idx><term>infinite order</term>.
The <term>order</term><idx><h>Group</h><h>order of</h></idx>
of a finite group is the number of elements that it contains.
If <m>G</m> is a group containing <m>n</m> elements, we write <m>|G| = n</m>.
<notation>
<usage><m>|G|</m></usage>
<description>the order of a group</description>
</notation>
The group <m>{\mathbb Z}_5</m> is a finite group of order <m>5</m>;
the integers <m>{\mathbb Z}</m> form an infinite group under addition,
and we sometimes write <m>|{\mathbb Z}| = \infty</m>.
</p>
</introduction>
<subsection xml:id="groups-subsection-basic-properties">
<title>Basic Properties of Groups</title>
<proposition>
<statement>
<p>
The identity element in a group <m>G</m> is unique;
that is, there exists only one element <m>e \in G</m> such that
<m>eg = ge = g</m> for all <m>g \in G</m>.
</p>
</statement>
<proof>
<p>
Suppose that <m>e</m> and <m>e'</m> are both identities in <m>G</m>.
Then <m>eg = ge = g</m> and
<m>e'g = ge' = g</m> for all <m>g \in G</m>.
We need to show that <m>e = e'</m>.
If we think of <m>e</m> as the identity, then <m>ee' = e'</m>;
but if <m>e'</m> is the identity, then <m>ee' = e</m>.
Combining these two equations,
we have <m>e = ee' = e'</m>.
</p>
</proof>
</proposition>
<p>
Inverses in a group are also unique.
If <m>g'</m> and <m>g''</m> are both inverses of an element <m>g</m> in a group <m>G</m>,
then <m>gg' = g'g = e</m> and <m>gg'' = g''g = e</m>.
We want to show that <m>g' = g''</m>,
but <m>g' = g'e = g'(gg'') = (g'g)g'' = eg'' = g''</m>.
We summarize this fact in the following proposition.
</p>
<proposition>
<statement>
<p>
If <m>g</m> is any element in a group <m>G</m>,
then the inverse of <m>g</m>,
denoted by <m>g^{-1}</m>, is unique.
</p>
</statement>
</proposition>
<proposition xml:id="groups-proposition-inverse-of-products">
<statement>
<p>
Let <m>G</m> be a group.
If <m>a, b \in G</m>, then <m>(ab)^{-1} = b^{-1}a^{-1}</m>.
</p>
</statement>
<proof>
<p>
Let <m>a, b \in G</m>.
Then <m>abb^{-1}a^{-1} = aea^{-1} = aa^{-1} = e</m>.
Similarly, <m>b^{-1}a^{-1}ab = e</m>.
But by the previous proposition, inverses are unique;
hence, <m>(ab)^{-1} = b^{-1}a^{-1}</m>.
</p>
</proof>
</proposition>
<proposition>
<statement>
<p>
Let <m>G</m> be a group.
For any <m>a \in G</m>, <m>(a^{-1})^{-1} = a</m>.
</p>
</statement>
<proof>
<p>
Observe that <m>a^{-1} (a^{-1})^{-1} = e</m>.
Consequently,
multiplying both sides of this equation by <m>a</m>, we have
<me>
(a^{-1})^{-1} = e (a^{-1})^{-1} = a a^{-1} (a^{-1})^{-1} = ae = a
</me>.
</p>
</proof>
</proposition>
<p>
It makes sense to write equations with group elements and group operations.
If <m>a</m> and <m>b</m> are two elements in a group <m>G</m>,
does there exist an element <m>x \in G</m> such that <m>ax = b</m>?
If such an <m>x</m> does exist, is it unique?
The following proposition answers both of these questions positively.
</p>
<proposition xml:id="groups-proposition-group-equations">
<statement>
<p>
Let <m>G</m> be a group and <m>a</m> and <m>b</m> be any two elements in <m>G</m>.
Then the equations <m>ax = b</m> and <m>xa = b</m> have unique solutions in <m>G</m>.
</p>
</statement>
<proof>
<p>
Suppose that <m>ax = b</m>.
We must show that such an <m>x</m> exists.
We can multiply both sides of <m>ax = b</m> by <m>a^{-1}</m> to find <m>x = ex = a^{-1}ax = a^{-1}b</m>.
</p>
<p>
To show uniqueness,
suppose that <m>x_1</m> and <m>x_2</m> are both solutions of <m>ax = b</m>;
then <m>ax_1 = b = ax_2</m>.
So <m>x_1 = a^{-1}ax_1 = a^{-1}ax_2 = x_2</m>.
The proof for the existence and uniqueness of the solution of <m>xa = b</m> is similar.
</p>
</proof>
</proposition>
<proposition>
<statement>
<p>
If <m>G</m> is a group and <m>a, b, c \in G</m>,
then <m>ba = ca</m> implies <m>b = c</m> and <m>ab = ac</m> implies <m>b = c</m>.
</p>
</statement>
</proposition>
<p>
This proposition tells us that the
<term>right and left cancellation laws</term><idx><h>Cancellation law</h><h>for groups</h></idx> are true in groups.
We leave the proof as an exercise.
</p>
<p>
We can use exponential notation for groups just as we do in ordinary algebra.
If <m>G</m> is a group and <m>g \in G</m>,
then we define <m>g^0 = e</m>.
For <m>n \in {\mathbb N}</m>, we define
<me>
g^n = \underbrace{g \cdot g \cdots g}_{n \; \text{times}}
</me>
and
<me>
g^{-n} = \underbrace{g^{-1} \cdot g^{-1} \cdots g^{-1}}_{n \; \text{times}}
</me>.
</p>
<theorem xml:id="groups-theorem-exponent-laws">
<statement>
<p>
In a group, the usual laws of exponents hold;
that is, for all <m>g, h \in G</m>,
<ol>
<li>
<p>
<m>g^mg^n = g^{m+n}</m> for all <m>m, n \in {\mathbb Z}</m>;
</p>
</li>
<li>
<p>
<m>(g^m)^n = g^{mn}</m> for all <m>m, n \in {\mathbb Z}</m>;
</p>
</li>
<li>
<p>
<m>(gh)^n = (h^{-1}g^{-1})^{-n}</m> for all <m>n \in {\mathbb Z}</m>.
Furthermore, if <m>G</m> is abelian,
then <m>(gh)^n = g^nh^n</m>.
</p>
</li>
</ol>
</p>
</statement>
</theorem>
<p>
We will leave the proof of this theorem as an exercise.
Notice that <m>(gh)^n \neq g^nh^n</m> in general,
since the group may not be abelian.
If the group is <m>{\mathbb Z}</m> or <m>{\mathbb Z}_n</m>,
we write the group operation additively and the exponential operation multiplicatively;
that is, we write <m>ng</m> instead of <m>g^n</m>.
The laws of exponents now become
<ol>
<li>
<p>
<m>mg + ng = (m+n)g</m> for all <m>m, n \in {\mathbb Z}</m>;
</p>
</li>
<li>
<p>
<m>m(ng) = (mn)g</m> for all <m>m, n \in {\mathbb Z}</m>;
</p>
</li>
<li>
<p>
<m>m(g + h) = mg + mh</m> for all <m>n \in {\mathbb Z}</m>.
</p>
</li>
</ol>
</p>
<p>
It is important to realize that the last statement can be made only because <m>{\mathbb Z}</m> and
<m>{\mathbb Z}_n</m> are commutative groups.
</p>
</subsection>
<subsection xml:id="groups-subsection-historical-note">
<title>Historical Note</title>
<p>
Although the first clear axiomatic definition of a group was not given until the late 1800s,
group-theoretic methods had been employed before this time in the development of many areas of mathematics,
including geometry and the theory of algebraic equations.
</p>
<p>
Joseph-Louis Lagrange<idx><h>Lagrange, Joseph-Louis</h></idx>
used group-theoretic methods in a 1770<ndash/>1771 memoir to study methods of solving polynomial equations.
Later, Évariste Galois<idx><h>Galois, Évariste</h></idx>
(1811<ndash/>1832) succeeded in developing the mathematics necessary to determine exactly which polynomial equations could be solved in terms of the coefficients of the polynomial.
Galois' primary tool was group theory.
</p>
<p>
The study of geometry was revolutionized in 1872 when Felix Klein<idx><h>Klein, Felix</h></idx>
proposed that geometric spaces should be studied by examining those properties that are invariant under a transformation of the space.
Sophus Lie,<idx><h>Lie, Sophus</h></idx>
a contemporary of Klein,
used group theory to study solutions of partial differential equations.
One of the first modern treatments of group theory appeared in William Burnside's<idx><h>Burnside, William</h></idx>
<pubtitle>The Theory of Groups of Finite Order</pubtitle> [1], first published in 1897.
</p>
</subsection>
</section>
<section xml:id="groups-section-subgroups">
<title>Subgroups</title>
<subsection xml:id="groups-subsection-subgroup-examples">
<title>Definitions and Examples</title>
<p>
Sometimes we wish to investigate smaller groups sitting inside a larger group.
The set of even integers <m>2{\mathbb Z} = \{\ldots, -2, 0, 2, 4, \ldots \}</m> is a group under the operation of addition.
This smaller group sits naturally inside of the group of integers under addition.
We define a <term>subgroup</term><idx><h>Subgroup</h><h>definition of</h></idx> <m>H</m> of a group <m>G</m> to be a subset <m>H</m> of <m>G</m> such that when the group operation of <m>G</m> is restricted to <m>H</m>,
<m>H</m> is a group in its own right.
Observe that every group <m>G</m> with at least two elements will always have at least two subgroups,
the subgroup consisting of the identity element alone and the entire group itself.
The subgroup <m>H = \{ e \}</m> of a group <m>G</m> is called the
<idx><h>Subgroup</h><h>trivial</h></idx><term>trivial subgroup</term>.
A subgroup that is a proper subset of <m>G</m> is called a
<idx><h>Subgroup</h><h>proper</h></idx><term>proper subgroup</term>.
In many of the examples that we have investigated up to this point,
there exist other subgroups besides the trivial and improper subgroups.
</p>
<example xml:id="groups-example-multiplicative-subgroup">
<p>
Consider the set of nonzero real numbers,
<m>{\mathbb R}^*</m>, with the group operation of multiplication.
<notation>
<usage><m>\mathbb R^*</m></usage>
<description>the multiplicative group of real numbers</description>
</notation>
The identity of this group is <m>1</m> and the inverse of any element <m>a \in {\mathbb R}^*</m> is just <m>1/a</m>.
We will show that
<me>
{\mathbb Q}^* = \{ p/q : p \, \text{and}\, q\, \text{are nonzero integers} \}
</me>
is a subgroup of <m>{\mathbb R}^*</m>.
<notation>
<usage><m>\mathbb Q^*</m></usage>
<description>the multiplicative group of rational numbers</description>
</notation>
The identity of <m>{\mathbb R}^*</m> is <m>1</m>;
however, <m>1 = 1/1</m> is the quotient of two nonzero integers.
Hence, the identity of <m>{\mathbb R}^*</m> is in <m>{\mathbb Q}^*</m>.
Given two elements in <m>{\mathbb Q}^*</m>,
say <m>p/q</m> and <m>r/s</m>,
their product <m>pr/qs</m> is also in <m>{\mathbb Q}^*</m>.
The inverse of any element <m>p/q \in {\mathbb Q}^*</m> is again in
<m>{\mathbb Q}^*</m> since <m>(p/q)^{-1} = q/p</m>.
Since multiplication in <m>{\mathbb R}^*</m> is associative,
multiplication in <m>{\mathbb Q}^*</m> is associative.
</p>
</example>
<example xml:id="groups-example-subgroup-h">
<p>
Recall that <m>{\mathbb C}^{\ast}</m> is the multiplicative group of nonzero complex numbers.
Let <m>H = \{ 1, -1, i, -i \}</m>.
Then <m>H</m> is a subgroup of <m>{\mathbb C}^{\ast}</m>.
It is quite easy to verify that <m>H</m> is a group under multiplication and that <m>H \subset {\mathbb C}^{\ast}</m>.
</p>
</example>
<example xml:id="groups-example-sl2">
<p>
Let <m>SL_2( {\mathbb R})</m> be the subset of
<m>GL_2( {\mathbb R })</m> consisting of matrices of determinant one;
that is, a matrix
<notation>
<usage><m>SL_n(\mathbb R)</m></usage>
<description>the special linear group</description>
</notation>
<me>
A =
\begin{pmatrix}