-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLecture notes 2 Modules.tm
More file actions
1888 lines (1556 loc) · 110 KB
/
Lecture notes 2 Modules.tm
File metadata and controls
1888 lines (1556 loc) · 110 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
<TeXmacs|2.1.2>
<style|<tuple|article|number-long-article>>
<\body>
<\hide-preamble>
<new-remark|observation|Observation>
<assign|remark-name|<\macro|name>
<em|<arg|name>>
</macro>>
<assign|example-text|<macro|<inactive|<localize|Example>>>>
<assign|example|<\macro|body>
<surround|<compound|next-example>||<compound|render-theorem|<compound|example-numbered|<compound|example-text>|<compound|the-example>>|<arg|body>>>
</macro>>
<assign|render-theorem|<\macro|which|body>
<render-enunciation|<theorem-name|<arg|which><theorem-sep>>|<arg|body>>
</macro>>
</hide-preamble>
<inc-section><inc-section><inc-section><section|Modules: an introduction>
Suppose that <math|R> is a ring and <math|M> is a commutative group with
operation +. A map <math|.\<#2236\>R\<times\>M\<rightarrow\>M;(r,x)\<mapsto\>r.x>
is called a <strong|scalar multiplication of <math|R> on <math|M>> if
<no-indent>(M1) <math|1.x=x> for all <math|x\<in\>M>;
<no-indent>(M2) <math|r.(s.x)=(r*s).x> for all <math|r,s\<in\>R> and
<math|x\<in\>M>;
<no-indent>(M3) <math|(r+s).x=(r.x)+(s.x)> for all <math|r,s\<in\>R> and
<math|x\<in\>M>;
<no-indent>(M4) <math|r.(x+y)=(r.x)+(r.y)> for all <math|r\<in\>R> and
<math|x,y\<in\>M>.
An <strong|<math|R>-module> is a commutative group <math|M>, called the
<strong|additive group> of the module and whose operation is called
<strong|addition>, equipped with a scalar multiplication of <math|R> on
<math|M>. We often speak of simply the module <math|M> if all other data is
clear, and in this case <math|R> is the <strong|ring of scalars> of
<math|M>.
T<with|font-base-size|11|>he elements of <math|M> are called
<strong|vectors> and the elements of <math|R> are called <strong|scalars>.
The identity of <math|M> is called the <strong|zero> of the module and
denoted 0, and for each <math|x\<in\>M> we write <math|\<minus\>x> for the
unique inverse of <math|x>; the map <math|M\<rightarrow\>M;x\<mapsto\>\<minus\>x>
is the <strong|negation> of the module.
<\remark>
Since <math|M> is a commutative group,
<math|\<minus\>0=0,\<minus\>(\<minus\>x)=x> for all <math|x\<in\>M>, and
negation is a homomorphism.
(M4) says exactly that for <math|r\<in\>R> the map
<math|M\<rightarrow\>M;x\<mapsto\>r.x> is a group homomorphism of the
additive group of <math|M>, so <math|r.0<rsub|M>=0<rsub|M>> and
<math|r.(\<minus\>x)=\<minus\>(r.x)> for all <math|x\<in\>M>.
(M3) says exactly that for <math|x\<in\>M> the map
<math|R\<rightarrow\>M;r\<mapsto\>r.x> is a group homomorphism from the
additive group of <math|R> to the additive group of <math|M>, so
<math|0<rsub|R>.x=0<rsub|M>> and <math|(\<minus\>r).x=\<minus\>(r.x)> for
all <math|r\<in\>R>.
</remark>
<\example>
<dueto|Vector spaces as modules>Given a field <math|\<bbb-F\>>, a vector
space <math|V> is exactly an <math|\<bbb-F\>>-module, with the two
notions of scalar multiplication coinciding.
</example>
<\example>
<dueto|The zero <math|R>-module>For a ring <math|R>, the trivial group \U
usually denoted {0} in this context \U and the scalar multiplication
defined by <math|r.0\<assign\>0> for all <math|r\<in\>R> is a module
called <strong|the zero <math|R>-module>.
<with|font|Segoe UI Emoji|\<#26A0\>>If <math|R> is trivial this is the
<em|only> <math|R>-module, since <math|x=1.x=(1+1).x=1.x+1.x=x+x>, so
<math|x=0> for all <math|x\<in\>M>.
</example>
<\example>
<dueto|The <math|R>-module <math|R>>For a ring <math|R>, the
multiplication map on <math|R> is also a scalar multiplication of the
ring <math|R> on the additive group of <math|R> making <math|R> into an
<math|R>-module which we call <strong|the <math|R>-module <math|R>>.
(M1) is exactly the statement that <math|1<rsub|R>> is a left identity of
ring multiplication; (M2) is exactly associativity of ring
multiplication; (M3) is exactly that all right multiplication maps on a
ring are homomorphisms of the additive group; and (M4) is exactly that
all left multiplication maps on a ring are homomorphisms.
<with|font|Segoe UI Emoji|\<#26A0\>>There may be more than one scalar
multiplication of the ring <math|R> on the additive group of <math|R>: we
saw in Example 1.26 that <math|\<lambda\>.z\<assign\>\<lambda\>z> and
<math|\<lambda\>.z\<assign\><wide|\<lambda\>|\<wide-bar\>>.z> are two
different scalar multiplications of <math|\<bbb-C\>> on <math|\<bbb-C\>>.
</example>
<\example>
<dueto|Direct sums>Given <math|R>-modules
<math|M<rsub|1>,\<ldots\>,M<rsub|n>>, the product group
<math|M<rsub|1>\<times\>\<cdots\>\<times\>M<rsub|n>> equipped with the
map <math|(r,x)\<mapsto\>(r<rsub|1>.x<rsub|1>,\<ldots\>,r<rsub|n>.x<rsub|n>)>
where the <math|i>th instance of . is the scalar multiplication in
<math|M<rsub|i>>, is a scalar multiplication of <math|R> on
<math|M<rsub|1>\<times\>\<cdots\>\<times\>M<rsub|n>>. This module is
denoted <math|M<rsub|1>\<varoplus\>\<cdots\>\<varoplus\>M<rsub|n>> and is
called the <strong|direct sum> of the <math|R>-modules
<math|M<rsub|1>,\<ldots\>,M<rsub|n>>.
In particular the direct sum of <math|n> copies of the <math|R>-module
<math|R> is called <strong|the <math|R>-module <math|R<rsup|n>>> and the
scalar multiplication is given by <math|r.x=(r*x<rsub|1>,\<ldots\>,r*x<rsub|n>)>.
For a field <math|\<bbb-F\>> the <math|\<bbb-F\>>-module
<math|\<bbb-F\><rsup|n>> is the usual vector space
<math|\<bbb-F\><rsup|n>>.
</example>
<\example>
<dueto|The <math|M<rsub|n>(R)>-module
<math|R<rsup|n><rsub|<text|<math|col>>>>>For a ring <math|R>, we write
<math|R<rsup|n><rsub|<text|col>>> for <math|M<rsub|n,1>(R)>. By
Proposition 1.44, this is a commutative group and the map
<math|M<rsub|n>(R)\<times\>R<rsup|n><rsub|<text|<math|col>>>\<rightarrow\>R<rsup|n><rsub|<text|col>>;(A,v)\<mapsto\>A*v>
is a scalar multiplication of the ring <math|M<rsub|n>(R)> on
<math|R<rsup|n><rsub|<text|col>>>. We call this <strong|the
<math|M<rsub|n>(R)>-module <math|R<rsup|n><rsub|<text|<math|col>>>>>.
</example>
<\example>
<dueto|The <math|R>-module <math|R<rsup|n><rsub|<text|col>>>>For a ring
<math|R>, the additive group <math|R<rsup|n><rsub|<text|<math|col>>>> has
the structure of an <math|R>-module called <strong|the <math|R>-module
<math|R<rsup|n><rsub|<text|<math|col>>>>> with scalar multiplication
<\equation*>
r\<cdot\><around*|(|<tabular*|<tformat|<cwith|1|-1|1|1|cell-halign|c>|<cwith|1|-1|1|1|cell-lborder|0ln>|<cwith|1|-1|1|1|cell-rborder|0ln>|<table|<row|<cell|x<rsub|1>>>|<row|<cell|\<vdots\>>>|<row|<cell|x<rsub|n>>>>>>|)>=<around*|(|<tabular*|<tformat|<cwith|1|-1|1|1|cell-halign|c>|<cwith|1|-1|1|1|cell-lborder|0ln>|<cwith|1|-1|2|2|cell-halign|c>|<cwith|1|-1|3|3|cell-halign|c>|<cwith|1|-1|3|3|cell-rborder|0ln>|<table|<row|<cell|r>|<cell|>|<cell|0>>|<row|<cell|>|<cell|\<ddots\>>|<cell|>>|<row|<cell|0>|<cell|>|<cell|r>>>>>|)><around*|(|<tabular*|<tformat|<cwith|1|-1|1|1|cell-halign|c>|<cwith|1|-1|1|1|cell-lborder|0ln>|<cwith|1|-1|1|1|cell-rborder|0ln>|<table|<row|<cell|x<rsub|1>>>|<row|<cell|\<vdots\>>>|<row|<cell|x<rsub|n>>>>>>|)>=<around*|(|<tabular*|<tformat|<cwith|1|-1|1|1|cell-halign|c>|<cwith|1|-1|1|1|cell-lborder|0ln>|<cwith|1|-1|1|1|cell-rborder|0ln>|<table|<row|<cell|r*x<rsub|1>>>|<row|<cell|\<vdots\>>>|<row|<cell|r*x<rsub|n>>>>>>|)><space|1em><text|for
>r\<in\>R,x\<in\>R<rsub|<math-up|col>><rsup|n>
</equation*>
For a field <math|\<bbb-F\>> the <math|\<bbb-F\>>-module
<math|\<bbb-F\><rsup|n><rsub|<text|<math|col>>>> is the usual
<math|\<bbb-F\>>-vector space <math|\<bbb-F\><rsup|n><rsub|<text|<math|col>>>>.
</example>
<\example>
<dueto|The <math|R>-module <math|M<rsub|n>(R)>>For a ring <math|R>, the
additive group <math|M<rsub|n>(R)> has the structure of an
<math|R>-module called <strong|the <math|R>-module <math|M<rsub|n>(R)>>
with scalar multiplication <math|(r.A)<rsub|i,j>\<assign\>r*A<rsub|i,j>>
for all <math|1\<leqslant\>i, j\<leqslant\>n>.
For fields this is the vector space structure described in Example 1.48.
</example>
<\example>
<dueto|The <math|\<bbb-Z\>>-module of a commutative group>Given a
commutative group <math|M>, the map <math|\<bbb-Z\>\<times\>M\<rightarrow\>M>
defined by
<\equation*>
(n\<minus\>m).x\<assign\><wide|(x+\<cdots\>+x)|\<wide-overbrace\>><rsup|n<text|
times>>\<minus\><wide|(x+\<cdots\>+x)|\<wide-overbrace\>><rsup|m<text|
times>>
</equation*>
is a scalar multiplication of <math|\<bbb-Z\>> on <math|M> giving it the
structure of a <math|\<bbb-Z\>>-module called <strong|the
<math|\<bbb-Z\>>-module <math|M>>. It is the unique
<math|\<bbb-Z\>>-module on <math|M>.
</example>
<\example>
<dueto|Polynomial rings as <math|R>-modules>The additive group of the
ring <math|R[X]> can be made into an <math|R[X]>-module \U for example
the <math|R[X]>-module <math|R[X]> \U but it can also be made into an
<math|R>-module with scalar multiplication <math|r.(a<rsub|0>+a<rsub|1>X
+\<cdots\>+a<rsub|n>X<rsub|n>)=(r*a<rsub|0>)+(r*a<rsub|1>)X+\<cdots\>+(r*a<rsub|n>)X<rsup|n>>.
</example>
<\example>
<dueto|Modules over matrix rings as vector spaces>An
<math|M<rsub|n>(\<bbb-F\>)>-module <math|M> is also vector space over
<math|\<bbb-F\>> with scalar multiplication
<\equation*>
\<lambda\>.v\<assign\><around*|(|<tabular*|<tformat|<cwith|1|-1|1|1|cell-halign|c>|<cwith|1|-1|1|1|cell-lborder|0ln>|<cwith|1|-1|2|2|cell-halign|c>|<cwith|1|-1|3|3|cell-halign|c>|<cwith|1|-1|3|3|cell-rborder|0ln>|<table|<row|<cell|\<lambda\>>|<cell|>|<cell|0>>|<row|<cell|>|<cell|\<ddots\>>|<cell|>>|<row|<cell|0>|<cell|>|<cell|\<lambda\>>>>>>|)>.v<space|1em><text|for
>\<lambda\>\<in\>\<bbb-F\>,v\<in\>M<rsub|n><around*|(|\<bbb-F\>|)>
</equation*>
</example>
<\example>
<dueto|Vector spaces with an endomorphism>For
<math|T\<#2236\>V\<rightarrow\>V> an <math|\<bbb-F\>>-linear map we can
define a scalar multiplication of <math|\<bbb-F\><around*|[|X|]>> on the
additive group of <math|V> by
<\equation*>
(a<rsub|0>+a<rsub|1>X+\<cdots\>+a<rsub|d>X<rsup|d>).v\<#2236\>=a<rsub|0>.v+a<rsub|1>.T(v)+\<cdots\>+a<rsub|d>.T<rsup|d>(v)<text|
for all >p\<in\>\<bbb-F\>[X]<text| and >v\<in\>V
</equation*>
where the . on the right is the scalar multiplication of <math|\<bbb-F\>>
on <math|V> resulting from the given vector space structure.
</example>
<subsection|Linear maps>
As with rings we shall be interested in the structure-preserving maps for
modules: An <strong|<math|R>-linear map> between two <math|R>-modules
<math|M> and <math|N> is a group homomorphism
<math|\<phi\>\<#2236\>M\<rightarrow\>N> with
<math|\<phi\>(r.x)=r.\<phi\>(x)> for all <math|x\<in\>M> and
<math|r\<in\>R>.
<\remark>
Since an <math|R>-linear map <math|\<phi\>\<#2236\>M\<rightarrow\>N> is a
group homomorphism, <math|\<phi\>(0<rsub|M>)=0<rsub|N>> and
<math|\<phi\>(\<minus\>x)=\<minus\>\<phi\>(x)> for all <math|x\<in\>M>.
</remark>
<\example>
<dueto|Example 4.2, contd.>For vector spaces <math|V> and <math|W> over a
field <math|\<bbb-F\>>, the linear maps <math|V\<rightarrow\>W> in the
usual sense are exactly the <math|\<bbb-F\>>-linear maps in the sense
defined here.
</example>
<\example>
For an <math|R>-module <math|M> and elements
<math|x<rsub|1>,\<ldots\>,x<rsub|n>\<in\>M>, the map
<math|\<Phi\><rsub|x>\<#2236\>R<rsup|n>\<rightarrow\>M;r\<mapsto\>r<rsub|1>.x<rsub|1>+\<cdots\>+r<rsub|n>.x<rsub|n>>
is <math|R>-linear by (M2) and (M3).
</example>
<\example>
For <math|A\<in\>M<rsub|n,m>(R)> the map
<math|R<rsup|n>\<rightarrow\>R<rsup|m>;v\<mapsto\>v*A> between the
<math|R>-modules <math|R<rsup|n>> and <math|R<rsup|m>> is an
<math|R>-linear map between the <math|R>-modules <math|R<rsup|n>> and
<math|R<rsup|m>> since <math|r.(v*A)=r(v*A)=(r*v)A=(r.v)A> for all
<math|r\<in\>R> and <math|v\<in\>R<rsup|n>>, and <math|(v+w)A=v*A+w*A>
for all <math|v,w\<in\>R<rsup|n>> by Proposition 1.44.
</example>
<\example>
For <math|A\<in\>M<rsub|n,m>(R)> the map
<math|R<rsup|m><rsub|<text|col>>\<rightarrow\>R<rsup|n><rsub|<text|col>>;v\<mapsto\>A*v>
between the <math|R>-modules <math|R<rsup|m><rsub|<text|col>>> and
<math|R<rsup|n><rsub|<text|col>>> is additive since <math|A(v+w)=A*v+A*w>
by Proposition 1.44.
If <math|R> is commutative then (writing <math|\<#2206\>(r)> for the
matrix with <math|r>s on the diagonal and 0 elsewhere as in Example 1.48)
we have <math|\<#2206\>(r)> is in the centre of the ring
<math|M<rsub|n>(R)> and so <math|A(r.v)=A(\<#2206\>(r)v)=(A\<#2206\>(r))v=(\<#2206\>(r)A)v=\<#2206\>(r)(A*v)=r.(A*v)>.
Hence the map <math|R<rsup|m><rsub|<text|col>>\<rightarrow\>R<rsup|n><rsub|<text|col>>;v\<mapsto\>A*v>
is <math|R>-linear.
If <math|R> is a non-commutative ring then there are elements
<math|r,s\<in\>R> with <math|r*s\<neq\>s*r> and the map
<math|R<rsup|1><rsub|<text|col>>\<rightarrow\>R<rsup|1><rsub|<text|col>>;x\<mapsto\>r*x>
is <em|not> linear since <math|r(s.1)=r*s\<neq\>s*r=s.(r1)>.
</example>
<\example>
For <math|M> an <math|R>-module and <math|x\<in\>M>, the map
<math|\<phi\>\<#2236\>R\<rightarrow\>M;r\<mapsto\>r.x> from the
<math|R>-module <math|R> to <math|M> is <math|R>-linear since
<math|(r+s).x=(r.x)+(s.x)> by (M3) for <math|M>, and
<math|(s.r).x=(s*r).x=s.(r.x)> for all <math|r,s\<in\>R> by definition of
scalar multiplication in the <math|R>-module <math|R> and (M2) for
<math|M>.
</example>
<\example>
If <math|R> is commutative then the scalar multiplication map
<math|M\<rightarrow\>M;x\<mapsto\>s.x> is <math|R>-linear since
<math|s.(r.x)=(s*r).x=(r*s).x=r.(s.x)> for all <math|r\<in\>R> and
<math|x\<in\>M>.
On the other hand, for any ring <math|R> if <math|M> is the zero-module
then the map <math|M\<rightarrow\>M;x\<mapsto\>s.x> is <math|R>-linear.
</example>
<\proposition>
<dueto|Algebra of linear maps>Suppose that <math|M> and <math|N> are
<math|R>-modules. Then <math|L(M,N)>, the set of <math|R>-linear maps
<math|M\<rightarrow\>N>, is a subgroup of <math|Hom(M,N)> (under
pointwise addition). Furthermore, if <math|\<phi\>\<in\>L(M,N)> and
<math|\<psi\>\<in\>L(N,P)> then <math|\<psi\>\<circ\>\<phi\>\<in\>L(M,P)>,
and <math|L(M,M)> is a subring of <math|Hom(M,M)>.
</proposition>
<\proof>
Certainly <math|L(M,N)> is a subset of <math|Hom(M,N)>, and the zero map
<math|z\<#2236\>M\<rightarrow\>N;x\<mapsto\>0<rsub|N>> is a homomorphism,
and linear since <math|z(r.x)=0<rsub|N>=r.0<rsub|N>=r.z(x)> and so
<math|L(M,N)> is non-empty. If <math|\<phi\>,\<psi\>\<in\>L(M,N)> then
<math|\<phi\>\<minus\>\<psi\>> is a homomorphism since <math|Hom(M,N)> is
a group, and <math|(\<phi\>\<minus\>\<psi\>)(r.x)=\<phi\>(r.x)\<minus\>\<psi\>(r.x)=r.\<phi\>(x)\<minus\>r.\<phi\>(x)=r.(\<phi\>(x)\<minus\>\<psi\>(x))=r.((\<phi\>\<minus\>\<psi\>)(x))>
so <math|\<phi\>\<minus\>\<psi\>\<in\>L(M,N)> and hence <math|L(M,N)> is
a subgroup by the subgroup test.
For the second part, <math|\<psi\>\<circ\>\<phi\>> is a group
homomorphism, and it is <math|R>-linear since
<math|(\<psi\>\<circ\>\<phi\>)(r.x)=\<psi\>(\<phi\>(r.x))=\<psi\>(r.\<phi\>(x))=r.\<psi\>(\<phi\>(x))=r.(\<psi\>\<circ\>\<phi\>)(x)>
for all <math|r\<in\>R> and <math|x\<in\>M> <em|i.e.>
<math|\<psi\>\<circ\>\<phi\>\<in\>L(M,P)> as claimed. Finally, the
identity map <math|\<iota\>\<#2236\>M\<rightarrow\>M> is <math|R>-linear
since <math|\<iota\>(r.x)=r.x=r.\<iota\>(x)> for all <math|r\<in\>R> and
<math|x\<in\>M>, so <math|1<rsub|Hom(M,M)>\<in\>L(M,M)>. <math|L(M,M)> is
closed under differences by the first part of the proposition, and is
closed under products by what we just showed. By the subring test
<math|L(M,M)> is a subring of <math|Hom(M,M)> as claimed.
</proof>
<\remark>
If <math|R> is a commutative ring then we can define a scalar
multiplication on <math|L(M,N)> by <math|(r.\<phi\>)(x)\<assign\>\<phi\>(r.x)>
giving it the structure of an <math|R>-module.
<with|font|Segoe UI Emoji|\<#26A0\>>In Exercise III.10 there is an
example of a ring <math|R> and <math|R>-module <math|M> such that the
commutative group <math|L(M,M)> cannot be given the structure of an
<math|R>-module.
</remark>
<subsection|Isomorphisms and submodules>
We say that <math|\<phi\>:M\<rightarrow\>N> is an <strong|<math|R>-linear
isomorphism> if it is <math|R>-linear and it has an <math|R>-linear
inverse.
<\observation>
If <math|\<phi\>:M\<rightarrow\>N> is an <math|R>-linear bijection then
its inverse map is a group homomorphism, and
<math|\<phi\><rsup|\<minus\>1>(\<lambda\>.x)=\<phi\><rsup|\<minus\>1>(\<lambda\>.\<phi\>(\<phi\><rsup|\<minus\>1>(x)))=\<phi\><rsup|\<minus\>1>(\<phi\>(\<lambda\>.\<phi\><rsup|\<minus\>1>(x)))=\<lambda\>.\<phi\><rsup|\<minus\>1>(x)>
so that <math|\<phi\>> is an <math|R>-linear isomorphism.
</observation>
<\example>
The map
<\equation*>
R<rsup|n>\<rightarrow\>R<rsup|n><rsub|<text|col>>;<around*|(|r<rsub|1>,\<ldots\>,r<rsub|n>|)>\<mapsto\><around*|(|<tabular*|<tformat|<cwith|1|-1|1|1|cell-halign|c>|<cwith|1|-1|1|1|cell-lborder|0ln>|<cwith|1|-1|1|1|cell-rborder|0ln>|<table|<row|<cell|r<rsub|1>>>|<row|<cell|\<vdots\>>>|<row|<cell|r<rsub|n>>>>>>|)>
</equation*>
is an <math|R>-linear bijection between the <math|R>-module
<math|R<rsup|n>> and the <math|R>-module
<math|R<rsup|n><rsub|<text|col>>>, and hence an <math|R>-linear
isomorphism.
</example>
<\example>
The map <math|\<bbb-Q\>\<rightarrow\>\<bbb-Q\>;x\<mapsto\>2x> is a
<math|\<bbb-Z\>>-linear bijection from the <math|\<bbb-Z\>>-module
<math|\<bbb-Q\>> to itself arising via scalar multiplication as in
Example 4.19. <with|font|Segoe UI Emoji|\<#26A0\>>The inverse map, while
also <math|\<bbb-Z\>>-linear does <em|not> arise via scalar
multiplication when <math|\<bbb-Q\>> is considered as a
<math|\<bbb-Z\>>-module since there is no integer <math|z\<in\>\<bbb-Z\>>
such that <math|2z*x=x> for all <math|x\<in\>\<bbb-Q\>>.
</example>
An <math|R>-module <math|N> is a <strong|submodule> of an <math|R>-module
<math|M> if the map <math|j:N\<rightarrow\>M;x\<mapsto\>x> is a
well-defined <math|R>-linear map. We write <math|N\<leqslant\>M> and also
say that <math|N> is <strong|proper> if <math|M\<neq\>N>.
<\example>
<dueto|Example 4.2, contd.>When <math|V> is a vector space, a submodule
of <math|V> is exactly a subspace of <math|V>.
</example>
<\example>
<dueto|Left ideals are submodules><math|I> is a left ideal in a ring
<math|R> if and only if <math|I> is a submodule of the <math|R>-module
<math|R>.
</example>
<\example>
The ideal \<langle\>2\<rangle\> in the ring <math|\<bbb-Z\>> is a proper
submodule of the <math|\<bbb-Z\>>-module <math|\<bbb-Z\>> and it is
<math|\<bbb-Z\>>-linearly isomorphic to the <math|\<bbb-Z\>>-module
<math|\<bbb-Z\>> via <math|\<bbb-Z\>\<rightarrow\>\<langle\>2\<rangle\>;z\<mapsto\>2z>.
<with|font|Segoe UI Emoji|\<#26A0\>>This is quite different from the
situation with vector spaces: the only subspaces of the
<math|\<bbb-F\>>-vector space <math|\<bbb-F\>> are {0} and
<math|\<bbb-F\>>.
</example>
<\lemma>
<dueto|Submodule test>Suppose that <math|M> is an <math|R>-module and
<math|\<emptyset\>\<neq\>N\<subset\>M> has <math|x+y\<in\>N> for all
<math|x,y\<in\>N>, and <math|r.x\<in\>N> whenever <math|x\<in\>N> and
<math|r\<in\>R>. Then addition on <math|M> and scalar multiplication of
<math|R> on <math|M> restrict to well-defined operations on <math|N>
giving it the structure of a submodule of <math|M>.
</lemma>
<\proof>
First, <math|\<minus\>1\<in\>R> and <math|(\<minus\>1).x=\<minus\>x> for
all <math|x\<in\>M> so that by the hypotheses, <math|N> is non-empty and
<math|x\<minus\>y\<in\>N> whenever <math|x,y\<in\>N>. It follows that
<math|N> with addition on <math|M> restricted to <math|N>, is a subgroup
of <math|M> by the subgroup test. Since <math|r.x\<in\>N> whenever
<math|r\<in\>R> and <math|x\<in\>N>, scalar multiplication of <math|R> on
<math|M> restricts to a well-defined function
<math|R\<times\>N\<rightarrow\>N> which <em|a fortiori> satisfies
(M1)\U(M4). Finally, the inclusion map is <math|R>-linear and the result
is proved.
</proof>
As with rings, given a subset satisfying the hypotheses of the above lemma,
we make the common abuse of calling it a submodule on the understanding
that we are referring to the induced operations.
<subsection|Quotients and the First Isomorphism Theorem>
<\theorem>
<dueto|Quotient modules>Suppose that <math|M> is an <math|R>-module and
<math|N> is a submodule of <math|M>. Then the commutative group
<math|M/N> may be endowed with the structure of an <math|R>-module such
that <math|q:M\<rightarrow\>M/N;x\<mapsto\>x+N> is an <math|R>-linear
surjection with kernel <math|N>.
</theorem>
<\proof>
Since <math|N> is a commutative subgroup of <math|M> we have that
<math|M/N> is a commutative group and the map <math|q> is a surjective
homomorphism with kernel <math|N> by definition of the quotient group.
Define a scalar multiplication of <math|R> on <math|M/N> by
<math|r.(x+N)\<assign\>r.x+N>. This is well defined: if <math|x+N=y+N>
then <math|x+n=y+n<rprime|'>> for some <math|n,n<rprime|'>\<in\>N>, so
<math|r.x+r.n=r.y+r.n<rprime|'>>, but since <math|N> is a submodule
<math|r.n,r.n<rprime|'>\<in\>N> and hence <math|r.x+N=r.y+N> as required.
(M1) follows since <math|1.(x+N)=(1.x)+N=x+N> for all <math|x\<in\>M> by
(M1) for the scalar multiplication on <math|M>. (M2) follows since
<math|r.(s.(x+N))=r.(s.x+N)=(r.(s.x))+N=(r*s).x+ N=(r*s).(x+N)> for all
<math|r,s\<in\>R> and <math|x\<in\>M> by (M2) for the scalar
multiplication on <math|M>. (M3) follows by (M3) for the scalar
multiplication on <math|M> and the fact that <math|q> is a homomorphism
so <math|(r+s).(x+N)=(r+s).x+N=((r.x)+(s.x))+N=(r.x+N)+(s.x+N)=r.(x+N)+s.(x+N)>
for all <math|r,s\<in\>R> and <math|x\<in\>M>. Finally, (M4) follows by
(M4) for the scalar multiplication on <math|M> and the fact that <math|q>
is a homomorphism so <math|r.((x+N)+(y+N))=r.((x+y)+N)=r.(x+y)+N=((r.x)+(r.y))+N=(r.x+N)+(r.y+N)>
for all <math|r\<in\>R> and <math|x,y\<in\>M>.
Finally, it remains to note that <math|q> is <math|R>-linear by
definition and the result is proved.
</proof>
<\remark>
Since the map <math|q> above is a surjective <math|R>-linear map the
scalar multiplication on <math|M/N> is determined by <math|q>:
<math|r.(x+N)=r.x+N> for all <math|x\<in\>M> and <math|r\<in\>R>, where
the first . is scalar multiplication in <math|M/N>, and the second in
<math|M>.
By the <math|R>-module <math|M/N> we mean the module structure of this
theorem.
</remark>
<\theorem>
<dueto|First Isomorphism Theorem for modules>Suppose that
<math|\<phi\>:M\<rightarrow\>N> is <math|R>-linear. Then <math|ker
\<phi\>> is a submodule of <math|M>; <math|Im \<phi\>> is a submodule of
<math|N>; and the map
<\equation*>
<wide|\<phi\>|~>:M/ker \<phi\>\<rightarrow\>N;x+ker
\<phi\>\<mapsto\>\<phi\>(x)
</equation*>
is an injective <math|R>-linear map with image <math|Im \<phi\>>. In
particular, <math|Im \<phi\>\<cong\>M/ker \<phi\>>.
</theorem>
<\proof>
Both <math|ker \<phi\>> and <math|Im \<phi\>> are subgroups of the
additive groups of <math|M> and <math|N> respectively by the First
Isomorphism Theorem for groups since <math|\<phi\>> is, in particular, a
group homomorphism. Therefore by the submodule test <math|ker \<phi\>>
and <math|Im \<phi\>> are submodules since if <math|x\<in\>ker \<phi\>>
then <math|0<rsub|N>=r.0<rsub|N>=r.\<phi\>(x)=\<phi\>(r.x)> and so
<math|r.x\<in\>ker \<phi\>>; and if <math|x\<in\>Im \<phi\>> then there
is <math|y\<in\>M> such that <math|x=\<phi\>(y)> and so
<math|r.x=r.\<phi\>(y)=\<phi\>(r.y)\<in\>Im \<phi\>>.
By Theorem 4.29 <math|M/ker \<phi\>> is an <math|R>-module.
<math|<wide|\<phi\>|~>> is an injective well-defined group homomorphism
by the First Isomorphism Theorem for groups. It remains to check that it
is linear which follows since <math|<wide|\<phi\>|~>(r.(x+ker
\<phi\>))=<wide|\<phi\>|~>((r.x)+ker \<phi\>)=\<phi\>(r.x)=r.\<phi\>(x)=r.<wide|\<phi\>|~>(x+ker
\<phi\>)> for all <math|r\<in\>R> and <math|x\<in\>M>.
</proof>
<section|Free modules>
<subsection|Generation>
For an <math|R>-module <math|M> and <math|\<Lambda\>\<subset\>M> we write\
<\equation*>
\<langle\>\<Lambda\>\<rangle\>\<assign\>{r<rsub|1>.x<rsub|1>+\<cdots\>+r<rsub|n>.x<rsub|n>:n\<in\>\<bbb-N\><rsub|0>,
x<rsub|1>,\<ldots\>,x<rsub|n>\<in\>\<Lambda\>,
r<rsub|1>,\<ldots\>,r<rsub|n>\<in\>R}.
</equation*>
This is a submodule of <math|M> by the submodule test, and we call this
submodule the <strong|module generated by <math|\<Lambda\>>>. For
<math|x<rsub|1>,\<ldots\>,x<rsub|n>\<in\>M> we write
<\equation*>
\<langle\>x<rsub|1>,\<ldots\>,x<rsub|n>\<rangle\>\<assign\>{r<rsub|1>.x<rsub|1>+\<cdots\>+r<rsub|n>.x<rsub|n>:r<rsub|1>,\<ldots\>,r<rsub|n>\<in\>R},
</equation*>
and since <math|0<rsub|R>.x<rsub|i>=0<rsub|M>>, the identity of the
additive group of <math|M>, we have that
<math|\<langle\>x<rsub|1>,\<ldots\>,x<rsub|n>\<rangle\>=\<langle\>{x<rsub|1>,\<ldots\>,x<rsub|n>}\<rangle\>>.
<\example>
An <math|R>-module <math|M> is generated by the set <math|M> itself, and
<math|M> is generated by the empty set if and only if it is the zero
<math|R>-module.
</example>
<\example>
<dueto|Vector spaces, contd.>For <math|\<bbb-F\>> a field, <math|V> an
<math|\<bbb-F\>>-module, and <math|\<Lambda\>\<subset\>V> the submodule
generated by <math|\<Lambda\>> is the same as subspace spanned by
<math|\<Lambda\>>.
</example>
<\example>
Write <math|e<rsub|i>\<assign\>(0,\<ldots\>,0,1,0,\<ldots\>,0)> for the
elements of <math|R<rsup|n>> with <math|1<rsub|R>> in the <math|i>th
position and <math|0<rsub|R>> elsewhere. Similarly write
<math|e<rsup|t><rsub|i>> for the column vector in
<math|R<rsup|n><rsub|<text|col>>> with <math|1<rsub|R>> in the <math|i>th
row and <math|0<rsub|R>>s elsewhere.
<math|{e<rsub|1>,\<ldots\>,e<rsub|n>}> generates the <math|R>-module
<math|R<rsup|n>> since if <math|r\<in\>\<bbb-R\><rsup|n>> then
<math|r=r<rsub|1>.e<rsub|1>+\<cdots\>+r<rsub|n>.e<rsub|n>>, and similarly
<math|{e<rsup|t><rsub|1>,\<ldots\>,e<rsup|t><rsub|n>}> generates
<math|R<rsup|n><rsub|<text|col>>>.
</example>
If there is a finite set <math|\<Lambda\>> such that <math|M> is generated
by <math|\<Lambda\>> then we say that <math|M> is <strong|finitely
generated>. If <math|M> is generated by a set of size 1 we say that
<math|M> is <strong|cyclic>.
<\example>
<dueto|Commutative groups, contd.>A commutative group <math|M> is cyclic
if and only if the <math|\<bbb-Z\>>-module <math|M> is cyclic.
For <math|M> a <em|finite> commutative group, the <math|\<bbb-Z\>>-module
<math|M> is finitely generated since it is generated by the finite set
<math|M>.
</example>
<\example>
The <math|\<bbb-Z\>>-module <math|\<bbb-Q\>> is not cyclic. Indeed, for
any <math|q\<in\>\<bbb-Q\><rsup|\<ast\>>> there is no
<math|z\<in\>\<bbb-Z\>> such that <math|z*q=q/2>, and since
<math|\<bbb-Q\>\<neq\>\<langle\>0\<rangle\>> the claim follows.
<with|font|Segoe UI Emoji|\<#26A0\>>The <math|\<bbb-Q\>>-module
<math|\<bbb-Q\>> is cyclic and it is generated by any set <math|{q}> with
<math|q\<in\>\<bbb-Q\><rsup|\<ast\>>>.
</example>
<\example>
For <math|R> a ring, the <math|R>-module <math|R> is cyclic \U it is
generated by 1 \U and if <math|K> a submodule of the <math|R>-module
<math|R> (equivalently <math|K> is a left ideal in the ring <math|R>),
the quotient module <math|R/K> is cyclic \U it is generated by
<math|1+K>.
</example>
In fact <em|every> cyclic <math|R>-module is isomorphic to a module of this
form: if <math|M> is a cyclic <math|R>-module then the map
<math|\<phi\>:R\<rightarrow\>M;r\<mapsto\>r.x> is surjective and
<math|R>-linear, and so by the First Isomorphism Theorem there is a
submodule <math|K> of the <math|R>-module <math|R> \U in this case
<math|ker \<phi\>> \U such that <math|R/K> is <math|R>-linearly isomorphic
to <math|M>.
<\observation>
The <math|R>-linear image of an <math|R>-module generated by a set of
size <math|n> is generated by a set of size <math|n> [image of a
generating set generates the image].
</observation>
<\proposition>
Suppose that <math|\<phi\>:M\<rightarrow\>N> is an <math|R>-linear map
and <math|Im \<phi\>> and <math|ker \<phi\>> are generated by sets of
sizes <math|n> and <math|m> respectively. Then <math|M> is generated by a
set of size <math|n+m>.
</proposition>
<\proof>
Let <math|x<rsub|1>,\<ldots\>,x<rsub|n>\<in\>M> be such that
<math|\<phi\>(x<rsub|1>),\<ldots\>,\<phi\>(x<rsub|n>)> generate <math|Im
\<phi\>>, and let <math|x<rsub|n+1>,\<ldots\>,x<rsub|n+m>> generate
<math|ker \<phi\>>. Then if <math|x\<in\>M>, there are elements
<math|r<rsub|1>,\<ldots\>,r<rsub|n>\<in\>R> such that
<math|\<phi\>(x)=r<rsub|1>.\<phi\>(x<rsub|1>)+\<cdots\>+r<rsub|n>.\<phi\>(x<rsub|n>)>,
and hence <math|\<phi\>(x\<minus\>r<rsub|1>.x<rsub|1>\<minus\>\<cdots\>\<minus\>r<rsub|n>.x<rsub|n>)=0>
and so there are elements <math|r<rsub|n+1>,\<ldots\>,r<rsub|n+m>\<in\>R>
with <math|x\<minus\>r<rsub|1>.x<rsub|1>\<minus\>\<cdots\>\<minus\>r<rsub|n>.x<rsub|n>=r<rsub|n+1>.x<rsub|n+1>+\<cdots\>+r<rsub|n+m>.x<rsub|n+m>>.
Rearranging the result is proved.
</proof>
<\example>
<dueto|Vector spaces, contd.>The proof above is modelled on a proof of
the Rank Nullity theorem, and in fact since a basis for a vector space is
certainly a spanning and so generating set, it tells us that if <math|V>
is a vector space and <math|T:V\<rightarrow\>W> is linear with finite
rank and nullity then <math|dim V\<leqslant\>rk(T)+n(T)>. The
Rank-Nullity Theorem is the stronger claim that we have equality here.
</example>
In an <math|R>-module <math|M>, we say <math|\<cal-E\>\<subset\>M> is a
<strong|minimal generating set> if <math|\<cal-E\>> generates <math|M> and
no proper subset of <math|\<cal-E\>> generates <math|M>.
<\observation>
A finitely generated <math|R>-module <math|M> contains a minimal
generating set by induction.
</observation>
<\example>
<with|font|Segoe UI Emoji|\<#26A0\>>Minimal generating sets need not
exist: Exercise III.1 asks for a proof that the <math|\<bbb-Z\>>-module
<math|\<bbb-Q\>> does not have a minimal generating set. In particular,
in view of the preceding observation, the <math|\<bbb-Z\>>-module
<math|\<bbb-Q\>> is not finitely generated.
</example>
<\example>
The set <math|{2,3}> is a generating set for the <math|\<bbb-Z\>>-module
<math|\<bbb-Z\>>, and no proper subset is generating so it is a minimal
generating set. <with|font|Segoe UI Emoji|\<#26A0\>>There are smaller
generating sets of <math|\<bbb-Z\>>\V <math|{1}> and
<math|{\<minus\>1}>.[minimal generating set may not have minimal size]
</example>
<\proposition>
Suppose that <math|M> is a finitely generated <math|R>-module. Then every
generating set for <math|M> contains a finite subset that is also a
generating set. In particular, every minimal generating set is finite.
</proposition>
<\proof>
Let <math|{x<rsub|1>,\<ldots\>,x<rsub|n>}> generate <math|M> and suppose
that <math|\<cal-E\>> is a generating set for <math|M>. For each
<math|1\<leqslant\>i\<leqslant\>n> there is a finite subset
<math|S<rsub|i>\<subset\>\<cal-E\>> such that
<math|x<rsub|i>\<in\>\<langle\>S<rsub|i>\<rangle\>>, and hence
<math|x<rsub|1>,\<ldots\>,x<rsub|n>\<in\>\<langle\><big|cup><rsup|n><rsub|i=1>
S<rsub|i>\<rangle\>>. Since <math|{x<rsub|1>,\<ldots\>,x<rsub|n>}>
generates <math|M> we have <math|\<cal-E\>\<subset\>M=\<langle\>x<rsub|1>,\<ldots\>,x<rsub|n>\<rangle\>\<subset\><around*|\<langle\>|<around*|\<langle\>|<big|cup><rsup|n><rsub|i=1>
S<rsub|i>|\<rangle\>>|\<rangle\>>=<around*|\<langle\>|<big|cup><rsup|n><rsub|i=1>
S<rsub|i>|\<rangle\>>>. However, <math|<big|cup><rsup|n><rsub|i=1>
S<rsub|i>\<subset\>\<cal-E\>>, and a finite union of finite sets is
finite as required.
</proof>
<subsection|Linear independence>
For an <math|R>-module <math|M> we say that a finite sequence
<math|x<rsub|1>,\<ldots\>,x<rsub|n>\<in\>M> is <strong|(<math|R>-)linearly
independent> if whenever <math|r<rsub|1>,\<ldots\>,r<rsub|n>\<in\>R> have
<math|r<rsub|1>.x<rsub|1>+\<cdots\>+r<rsub|n>.x<rsub|n>=0<rsub|M>> we have
<math|r<rsub|1>,\<ldots\>,r<rsub|n>=0<rsub|R>>. A set \<Lambda\> is
<strong|(<math|R>-)linearly independent> if for every
<math|n\<in\>\<bbb-N\><rsub|0>>, <math|x<rsub|1>,\<ldots\>,x<rsub|n>> is
<math|R>-linearly independent for every sequence of <em|distinct>
<math|x<rsub|1>,\<ldots\>,x<rsub|n>\<in\>\<Lambda\>.>
Sets and sequences are <strong|(<math|R>-)linearly dependent> if they are
not <math|R>-linearly independent.
<\example>
In an <math|R>-module <math|M> the empty set or empty sequence is
<math|R>-linearly independent.
</example>
<\example>
<dueto|Vector spaces, contd.>A subset of a vector space is linearly
independent in the usual sense if and only if it is linearly independent
in the sense here.
</example>
<\example>
<dueto|Example 5.3, cont.><math|e<rsub|1>,\<ldots\>,e<rsub|n>> are
<math|R>-linearly independent in <math|R<rsup|n>>: if
<math|r<rsub|1>.e<rsub|1>+\<cdots\>+r<rsub|n>.e<rsub|n>=0> for
<math|r<rsub|1>,\<ldots\>,r<rsub|n>\<in\>R> then
<math|r<rsub|1>,\<ldots\>,r<rsub|n>=0>, and similarly for
<math|<math|e<rsup|t><rsub|1>,\<ldots\>,e<rsup|t><rsub|n>>> in
<math|R<rsup|n><rsub|<text|col>>>.
</example>
<\example>
<dueto|Commutative groups, contd.>If <math|M> is a finite commutative
group then by Lagrange's Theorem <math|<around*|\||M|\|>.x=0> for all
<math|x> in the <math|\<bbb-Z\>>-module <math|M>, and hence there are no
non-empty <math|\<bbb-Z\>>-linearly independent subsets of <math|M>.
</example>
<\example>
<dueto|torsion>The <math|\<bbb-Z\>>-module <math|\<bbb-Q\>> has no
<math|\<bbb-Z\>>-linearly independent subset of size 2. Indeed, suppose
that <math|e<rsub|1>,e<rsub|2>\<in\>\<bbb-Q\>> were a
<math|\<bbb-Z\>>-linearly independent sequence with
<math|e<rsub|2>\<neq\>0>. There is <math|z\<in\>\<bbb-Z\><rsup|\<ast\>>>
such that <math|z*e<rsub|1>,z*e<rsub|2>\<in\>\<bbb-Z\>>, and hence
<math|(z*e<rsub|2>).e<rsub|1>+(\<minus\>z*e<rsub|1>).e<rsub|2>=0> but
<math|z*e<rsub|2>\<neq\>0> so <math|e<rsub|1>,e<rsub|2>> is
<math|\<bbb-Z\>>-linearly dependent \U a contradiction.
</example>
<subsection|Bases>
For an <math|R>-module <math|M> we say that <math|\<cal-E\>> is a
<strong|basis> for <math|M> if it is a linearly independent generating set
for <math|M>. A module with a basis is called <strong|free>.
<\example>
The zero <math|R>-module has the empty set as a basis and so is free.
<with|font|Segoe UI Emoji|\<#26A0\>>If <math|R> is trivial then {0} is
also a basis since it is <math|R>-linearly independent.
</example>
<\example>
<dueto|Commutative groups, contd.>If <math|M> is a non-trivial finite
commutative group then the <math|\<bbb-Z\>>-module <math|M> is not free
since the only independent sets are empty and the module generated by the
empty set has only one element: zero.
</example>
<\example>
The <math|\<bbb-Z\>>-module <math|\<bbb-Q\>> is <em|not> free: If it were
it would have a basis <math|\<cal-E\>>. If <math|\<cal-E\>> had more than
one element then it would contain two linearly independent elements
contradicting the conclusion of Example 5.18; if it had strictly fewer
than two elements then <math|\<bbb-Q\>> would be cyclic contradicting the
conclusion of Example 5.5.
</example>
<\example>
<dueto|Example 5.3, contd.>In view of Examples 5.3 & 5.16,
<math|{e<rsub|1>,\<ldots\>,e<rsub|n>}> is a basis for the <math|R>-module
<math|R<rsup|n>> and <math|{e<rsup|t><rsub|1>,\<ldots\>,e<rsup|t><rsub|n>}>
is a basis for the <math|R>-module <math|R<rsup|n><rsub|<text|col>>> \U
these are both free modules.
</example>
<\example>
<dueto|Example 4.15, contd.>If <math|{x<rsub|1>,\<ldots\>,x<rsub|n>}> is
a basis for the <math|R>-module <math|M> then the linear map
<math|\<Phi\><rsub|x>:R<rsup|n>\<rightarrow\>M;r\<mapsto\>r<rsub|1>.x<rsub|1>+\<cdots\>+r<rsub|n>.x<rsub|n>>
is injective since <math|{x<rsub|1>,\<ldots\>,x<rsub|n>}> is linearly
independent, and surjective since <math|{x<rsub|1>,\<ldots\>,x<rsub|n>}>
is a generating set, hence <math|\<Phi\><rsub|x>> is an <math|R>-linear
isomorphism.
</example>
<\proposition>
Suppose that <math|M> is an <math|R>-module with a basis
<math|\<cal-E\>>. Then <math|\<cal-E\>> is a minimal generating set. In
particular, if <math|M> is finitely generated then <math|\<cal-E\>> is
finite.
</proposition>
<\proof>
Suppose that <math|\<cal-E\><rprime|'>\<subset\>\<cal-E\>> generates
<math|M> and <math|e\<in\>\<cal-E\>\<setminus\>\<cal-E\><rprime|'>>.
Since <math|\<cal-E\><rprime|'>> generates <math|M>,
<math|1.e=e\<in\>\<langle\>\<cal-E\><rprime|'>\<rangle\>> and so
<math|{e}\<cup\>\<cal-E\><rprime|'>> is linearly dependent. But this is
contained in <math|\<cal-E\>> which is linearly independent and linear
independence is preserved under passing to subsets. This contradiction
establishes the first claim.
For the last part \PSuppose <math|M> is finitely generated, then <math|M>
has a finite basis\Q: Let <math|\<cal-E\>> be a basis for <math|M>, then
<math|\<cal-E\>> is minimal generating set by the first part, and
<math|\<cal-E\>> contains a finite generating set
<math|\<cal-E\><rprime|'>> by Proposition 5.13. But by minimality
<math|\<cal-E\>=\<cal-E\><rprime|'>>.
</proof>
<\example>
The set <math|{2,3}> is a minimal generating set for the
<math|\<bbb-Z\>>-module <math|\<bbb-Z\>>, but it is not linearly
independent and so not a basis.
</example>
<\example>
<dueto|Vector spaces, contd.>A minimal generating set in a vector space
is linearly independent and so a basis. In particular, any finitely
generated vector space has a minimal generating set and so has a finite
basis. In other words, every finitely generated vector space has a basis,
by contrast with the case of more general modules (Example 5.20).
</example>
<\remark>
<with|font|Segoe UI Emoji|\<#26A0\>>In a vector space any two finite
bases have the same size \U this is sometimes called the Dimension
Theorem. For more general rings, finite bases of modules over those rings
need not have the same size: the zero module over the trivial ring has
\<emptyset\> and {0} as bases of sizes 0 and 1 respectively; Exercise
III.9 gives an example of a non-trivial ring and a module over that ring
with bases of sizes 1 and 2.
</remark>
<subsection|Presentations>
A quotient of a finitely generated module is finitely generated, but the
same is not true of submodules:
<\example>
In Exercise II.4 we saw that <math|<wide|\<bbb-Z\>|\<wide-bar\>>>
contains an ideal that is not finitely generated, and this ideal is
therefore a submodule of the cyclic <math|<wide|\<bbb-Z\>|\<wide-bar\>>>-module
<math|<wide|\<bbb-Z\>|\<wide-bar\>>> that is not finitely generated.
</example>
A matrix <math|A\<in\>M<rsub|n>(R)> is said to be <strong|upper triangular>
if <math|A<rsub|i,j>=0> whenever <math|j\<less\>i>.
<\proposition>
Suppose that <math|R> is a PID and <math|M\<leqslant\>R<rsup|n>>. Then
there is an upper triangular <math|A\<in\>M<rsub|n>(R)> such that
<math|M=R<rsup|n>A=<around*|{|x*A:x\<in\>R<rsup|n>|}>>.
</proposition>
<\proof>
For each <math|1\<leqslant\>i\<leqslant\>n> the set
<math|M<rsub|i>\<assign\>{x<rsub|i>\<in\>R:x\<in\>M<text| and
>x<rsub|1>,\<ldots\>,x<rsub|i\<minus\>1>=0}> is a submodule of the
<math|R>-module <math|R> and since <math|R> is a PID every such submodule
is an ideal and generated by one element of <math|R>. Let
<math|A\<in\>M<rsub|n>(R)> be such that <math|(0,\<ldots\>,0,
A<rsub|i,i>,\<ldots\>,A<rsub|i,n>)\<in\>M> has <math|A<rsub|i,i>>
generating <math|M<rsub|i>>.
By design <math|A> is upper triangular and every row of <math|A> is in
<math|M>, so any linear combination of rows of <math|A> is in <math|M> \U
in other words <math|R<rsup|n>A\<subset\>M>. In the other direction,
suppose that <math|x\<in\>M\<setminus\>R<rsup|n>A> has
<math|i\<leqslant\>n> maximal such that
<math|x<rsub|1>,\<ldots\>,x<rsub|i\<minus\>1>=0>. Since <math|x> is not
equal to 0 we have <math|A<rsub|i,i>\<divides\>x<rsub|i>>, say
<math|x<rsub|i>=z*A<rsub|i,i>>. Then <math|x<rprime|'>\<assign\>x\<minus\>(0,\<ldots\>,0,z,0,\<ldots\>,0)A\<in\>M\<setminus\>R<rsup|n>A>
but <math|x<rprime|'><rsub|1>,\<ldots\>,x<rprime|'><rsub|i>= 0>
contradicting the maximality.
</proof>
<\remark>
Being free and finitely generated are properties that are preserved by
isomorphisms so in particular, if <math|M> is a submodule of a free and
finitely generated module over a PID then it is finitely generated.
</remark>
<\example>
<dueto|Vector spaces, contd.>For <math|V> a finitely generated vector
space, any subspace of <math|V> is also finitely generated by the above
since <math|V> itself is free and every field is a PID.
</example>
An <math|R>-module <math|M> has a <strong|finite presentation with
presentation matrix> <math|A\<in\>M<rsub|m,n>(R)> if there is an
<math|R>-linear isomorphism <math|\<Phi\>:R<rsup|n>/R<rsup|m>A\<rightarrow\>M>.
<\example>
For <math|M> an <math|R>-module with basis
<math|x<rsub|1>,\<ldots\>,x<rsub|n>>, the linear map
<math|><math|R<rsup|n>\<rightarrow\>M;r\<mapsto\>r<rsub|1>.x<rsub|1>+\<cdots\>+r<rsub|n>.x<rsub|n>>
is an <math|R>-linear isomorphism. For any
<math|m\<in\>\<bbb-N\><rsub|0>>, we have
<math|R<rsup|m>0<rsub|m\<times\>n>={0<rsub|R<rsup|n>>}> and hence by the
First Isomorphism Theorem <math|M> has a finite presentation with
presentation matrix <math|0<rsub|m\<times\>n>>.
</example>
<\observation>
A module with a finite presentation is finitely generated. On the other
hand, Exercise III.6 gives an example of a finitely generated module that
does <em|not> have a finite presentation.
</observation>
<\example>
For <math|R> a PID and <math|M> an <math|R>-module generated by
<math|x<rsub|1>,\<ldots\>,x<rsub|n>> there is an <math|R>-linear
surjection <math|R<rsup|n>\<rightarrow\>M;r\<mapsto\>r<rsub|1>.x<rsub|1>+\<cdots\>+r<rsub|n>.x<rsub|n>>.
By Proposition 5.29 the kernel of this map is <math|R<rsup|n>A> for some
upper triangular <math|A\<in\>M<rsub|n>(R)>, and hence by the First
Isomorphism Theorem <math|M> has a finite presentation with presentation
matrix <math|A>.
</example>
<section|Elementary operations and the Smith normal form>
There are three types of <strong|elementary column (resp. row) operation>
that can be applied to matrices in <math|M<rsub|n,m>(R)> \U transvections,
dilations, and interchanges \U and these correspond to right (resp. left)
multiplication by matrices from <math|M<rsub|m>(R)> and <math|M<rsub|n>(R)>
respectively.
Write <math|E<rsub|n>(i,j)> for the matrix in <math|M<rsub|n>(R)> with
<math|0<rsub|R>>s everywhere except for row <math|i> and column <math|j>
where the entry is <math|1<rsub|R>>. Then <math|E<rsub|n>(i, j)E<rsub|n>(k,
l)=E<rsub|n>(i,l)> if <math|j=k> and <math|E<rsub|n>(i,
j)E<rsub|n>(k,l)=0<rsub|n\<times\>n>> if <math|j\<neq\>k>.
<subsection|Transvections>
For <math|1\<leqslant\>i,j\<leqslant\>m> with <math|i\<neq\>j> and
<math|\<lambda\>\<in\>R> put <math|T<rsub|m>(i,j;\<lambda\>)=I<rsub|m>+\<lambda\>.E<rsub|m>(i,j)>
(where . is the scalar multiplication of the <math|R>-module
<math|M<rsub|m>(R)>) so that
<\equation*>
T<rsub|m>(i,j;\<lambda\>)T<rsub|m>(i,j;\<minus\>\<lambda\>)=I<rsub|m>=T<rsub|m>(i,j;\<minus\>\<lambda\>)T<rsub|m>(i,j;\<lambda\>).
</equation*>
Given <math|A\<in\>M<rsub|n,m>(R)>, the matrix
<math|A*T<rsub|m>(i,j;\<lambda\>)> is the matrix <math|A> with the
<math|i>th column times <math|\<lambda\>> added to the <math|j>th column;
we write this
<\equation*>
A<long-arrow|\<rubber-rightarrow\>|c<rsub|j>\<mapsto\>c<rsub|j>+c<rsub|i>\<lambda\>>A*T<rsub|m>(i,j;\<lambda\>).
</equation*>
Similarly the matrix <math|T<rsub|n>(i,j;\<lambda\>)A> is the matrix
<math|A> with <math|\<lambda\>> times the <math|j>th row added to the
<math|i>th row; we write this
<\equation*>
A*<long-arrow|\<rubber-rightarrow\>|r<rsub|i>\<mapsto\>r<rsub|i>+\<lambda\>r<rsub|j>>T<rsub|n>(i,j;\<lambda\>)A.
</equation*>
<subsection|Dilations>
For <math|1\<leqslant\>i\<leqslant\>m> and <math|u\<in\>U(R)> let
<math|D<rsub|m>(i;u)=I<rsub|m>+(u\<minus\>1).E<rsub|m>(i,i)> so that
<\equation*>
D<rsub|m>(i;u)D<rsub|m>(i;u<rsup|\<minus\>1>)=I<rsub|m>=D<rsub|m>(i;u<rsup|\<minus\>1>)D<rsub|m>(i;u).
</equation*>
The matrix <math|A*D<rsub|m>(i;u)> is the matrix with the <math|i>th column
replaced by the <math|i>th column times <math|u> and as above we write this
and the corresponding row operation as
<\equation*>
A<long-arrow|\<rubber-rightarrow\>|c<rsub|i>\<mapsto\>c<rsub|i>u>A*D<rsub|m>(i;u)<text|
and >A<long-arrow|\<rubber-rightarrow\>|r<rsub|i>\<mapsto\>u*r<rsub|i>>D<rsub|n>(i;u)A.
</equation*>
<subsection|Interchanges>
For <math|1\<leqslant\>i,j\<leqslant\>m> let
<math|S<rsub|m>(i,j)=I<rsub|m>+E<rsub|m>(i,j)+E<rsub|m>(j,i)\<minus\>E<rsub|m>(i,i)\<minus\>E<rsub|m>(j,j)>
so that <math|S<rsub|m>(i,j)<rsup|2>=I<rsub|m>>. The matrix
<math|A*S<rsub|m>(i,j)> is the matrix <math|A> with columns <math|i> and
<math|j> swapped and as above we write
<\equation*>
A<long-arrow|\<rubber-rightarrow\>|c<rsub|i>\<leftrightarrow\>c<rsub|j>>A*S<rsub|m>(i,j)<text|
and >A<long-arrow|\<rubber-rightarrow\>|r<rsub|i>\<leftrightarrow\>r<rsub|j>>S<rsub|n>(i,j)A
</equation*>
for this and the corresponding row operation.
<\remark>
We write <math|GL<rsub|n>(R)> for the group <math|U(M<rsub|n>(R))>, and
<math|GE<rsub|n>(R)> for the subgroup of <math|GL<rsub|n>(R)> generated
by the transvections, dilations, and interchanges.