-
Notifications
You must be signed in to change notification settings - Fork 152
/
exercises.tex
6828 lines (5922 loc) · 227 KB
/
exercises.tex
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
\input{preamble}
% OK, start here.
%
\begin{document}
\title{Exercises}
\maketitle
\phantomsection
\label{section-phantom}
\tableofcontents
\section{Algebra}
\label{section-algebra}
\noindent
This first section just contains some assorted questions.
\begin{exercise}
\label{exercise-isomorphism-localizations}
Let $A$ be a ring, and ${\mathfrak m}$ a maximal ideal. In $A[X]$
let $\tilde {\mathfrak m}_1 = ({\mathfrak m}, X)$ and
$\tilde {\mathfrak m}_2 = ({\mathfrak m}, X-1)$. Show
that
$$
A[X]_{\tilde {\mathfrak m}_1} \cong A[X]_{\tilde {\mathfrak m}_2}.
$$
\end{exercise}
\begin{exercise}
\label{exercise-coherent}
Find an example of a non Noetherian ring $R$ such that every
finitely generated ideal of $R$ is finitely presented as an $R$-module.
(A ring is said to be {\it coherent} if the last property holds.)
\end{exercise}
\begin{exercise}
\label{exercise-flat-ideals-pid}
Suppose that $(A, {\mathfrak m}, k)$ is a Noetherian local ring. For any
finite $A$-module $M$ define $r(M)$ to be the minimum number
of generators of $M$ as an $A$-module. This number equals
$\dim_k M/{\mathfrak m} M = \dim_k M \otimes_A k$ by NAK.
\begin{enumerate}
\item Show that $r(M \otimes_A N) = r(M)r(N)$.
\item Let $I\subset A $ be an ideal with $r(I) > 1$. Show that
$r(I^2) < r(I)^2$.
\item Conclude that if every ideal in $A$ is a flat module, then
$A$ is a PID (or a field).
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-not-isomorphic}
Let $k$ be a field. Show that the following pairs of
$k$-algebras are not isomorphic:
\begin{enumerate}
\item $k[x_1, \ldots, x_n]$ and $k[x_1, \ldots, x_{n + 1}]$ for any
$n\geq 1$.
\item $k[a, b, c, d, e, f]/(ab + cd + ef)$ and $k[x_1, \ldots, x_n]$
for $n = 5$.
\item $k[a, b, c, d, e, f]/(ab + cd + ef)$ and $k[x_1, \ldots, x_n]$
for $n = 6$.
\end{enumerate}
\end{exercise}
\begin{remark}
\label{remark-simple-geometric}
Of course the idea of this exercise is to find
a simple argument in each case rather than applying a ``big'' theorem.
Nonetheless it is good to be guided by general principles.
\end{remark}
\begin{exercise}
\label{exercise-silly}
Algebra. (Silly and should be easy.)
\begin{enumerate}
\item Give an example of a ring $A$ and a nonsplit
short exact sequence of $A$-modules
$$
0 \to M_1 \to M_2 \to M_3 \to 0.
$$
\item Give an example of a nonsplit sequence of $A$-modules
as above and a faithfully flat $A \to B$ such that
$$
0 \to M_1\otimes_A B \to M_2\otimes_A B \to M_3\otimes_A B \to 0.
$$
is split as a sequence of $B$-modules.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-field-kummer}
Suppose that $k$ is a field having a primitive $n$th root
of unity $\zeta$. This means that $\zeta^n = 1$, but $\zeta^m\not = 1$ for
$0 < m < n$.
\begin{enumerate}
\item Show that the characteristic of $k$ is prime to $n$.
\item Suppose that $a \in k$ is an element of $k$ which is not
an $d$th power in $k$ for any divisor $d$ of $n$ for $n \geq d > 1$. Show that
$k[x]/(x^n-a)$ is a field. (Hint: Consider a splitting field for
$x^n-a$ and use Galois theory.)
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-valuation}
Let $\nu : k[x]\setminus \{0\} \to {\mathbf Z}$ be a map
with the following properties: $\nu(fg) = \nu(f) + \nu(g)$ whenever
$f$, $g$ not zero, and $\nu(f + g) \geq min(\nu(f), \nu(g))$ whenever
$f$, $g$, $f + g$ are not zero, and $\nu(c) = 0$ for all $c\in k^*$.
\begin{enumerate}
\item Show that if $f$, $g$, and $f + g$ are nonzero and
$\nu(f) \not = \nu(g)$ then we have equality $\nu(f + g) = min(\nu(f), \nu(g))$.
\item Show that if $f = \sum a_i x^i$, $f\not = 0$, then
$\nu(f) \geq min(\{i\nu(x)\}_{a_i\not = 0})$. When does equality hold?
\item Show that if $\nu$ attains a negative value then
$\nu(f) = -n \deg(f)$ for some $n\in {\mathbf N}$.
\item Suppose $\nu(x) \geq 0$. Show that
$\{f \mid f = 0, \ or\ \nu(f) > 0\}$ is a prime ideal of $k[x]$.
\item Describe all possible $\nu$.
\end{enumerate}
\end{exercise}
\noindent
Let $A$ be a ring. An {\it idempotent} is an element $e \in A$
such that $e^2 = e$. The elements $1$ and $0$ are always idempotent.
A {\it nontrivial idempotent} is an idempotent which is not
equal to zero. Two idempotents $e, e' \in A$ are called {\it orthogonal}
if $ee' = 0$.
\begin{exercise}
\label{exercise-product}
Let $A$ be a ring. Show that $A$ is a product of two nonzero rings if
and only if $A$ has a nontrivial idempotent.
\end{exercise}
\begin{exercise}
\label{exercise-lift-idempotents}
Let $A$ be a ring and let $I \subset A$ be a locally nilpotent ideal.
Show that the map $A \to A/I$ induces a bijection on idempotents.
(Hint: It may be easier to prove this when $I$ is nilpotent. Do this first.
Then use ``absolute Noetherian reduction'' to reduce to the nilpotent case.)
\end{exercise}
\section{Colimits}
\label{section-colimits}
\begin{definition}
\label{definition-directed-poset}
A {\it directed set} is a nonempty set $I$ endowed with a preorder $\leq$
such that given any pair $i, j \in I$ there exists a $k \in I$ such that
$i \leq k$ and $j \leq k$. A {\it system of rings} over $I$ is given by a
ring $A_i$ for each $i \in I$ and a map of rings $\varphi_{ij} : A_i \to A_j$
whenever $i \leq j$ such that the composition $A_i \to A_j \to A_k$ is equal to
$A_i \to A_k$ whenever $i \leq j \leq k$.
\end{definition}
\noindent
One similarly defines systems of groups, modules over a fixed ring,
vector spaces over a field, etc.
\begin{exercise}
\label{exercise-directed-colimit}
Let $I$ be a directed set and let
$(A_i, \varphi_{ij})$ be a system of rings over $I$.
Show that there exists a ring $A$ and maps $\varphi_i : A_i \to A$
such that $\varphi_j \circ \varphi_{ij} = \varphi_i$ for all $i \leq j$
with the following universal property: Given any ring $B$
and maps $\psi_i : A_i \to B$ such that
$\psi_j \circ \varphi_{ij} = \psi_i$ for all $i \leq j$, then
there exists a unique ring map $\psi : A \to B$ such that
$\psi_i = \psi \circ \varphi_i$.
\end{exercise}
\begin{definition}
\label{definition-colimit}
The ring $A$ constructed in Exercise \ref{exercise-directed-colimit}
is called the {\it colimit} of the system. Notation $\colim A_i$.
\end{definition}
\begin{exercise}
\label{exercise-prime-in-colimit}
Let $(I, \geq)$ be a directed set and let
$(A_i, \varphi_{ij})$ be a system of rings over $I$ with colimit
$A$. Prove that there is a bijection
$$
\Spec(A) = \{(\mathfrak p_i)_{i \in I} \mid
\mathfrak p_i \subset A_i \text{ and }
\mathfrak p_i = \varphi_{ij}^{-1}(\mathfrak p_j)\ \forall i \leq j\}
\subset \prod\nolimits_{i \in I} \Spec(A_i)
$$
The set on the right hand side of the equality is the limit of the sets
$\Spec(A_i)$. Notation $\lim \Spec(A_i)$.
\end{exercise}
\begin{exercise}
\label{exercise-colimit-surjective}
Let $(I, \geq)$ be a directed set and let
$(A_i, \varphi_{ij})$ be a system of rings over $I$ with colimit
$A$. Suppose that $\Spec(A_j) \to \Spec(A_i)$ is
surjective for all $i \leq j$. Show that
$\Spec(A) \to \Spec(A_i)$ is surjective for all $i$.
(Hint: You can try to use Tychonoff, but there is also a basically trivial
direct algebraic proof based on
Algebra, Lemma \ref{algebra-lemma-in-image}.)
\end{exercise}
\begin{exercise}
\label{exercise-integral-colimit-finite}
Let $A \subset B$ be an integral ring extension. Prove that
$\Spec(B) \to \Spec(A)$ is surjective.
Use the exercises above, the fact that this holds for a finite ring
extension (proved in the lectures), and by proving that
$B = \colim B_i$ is a directed colimit of finite extensions $A \subset B_i$.
\end{exercise}
\begin{exercise}
\label{exercise-colimit-tensor}
Let $(I, \geq)$ be a directed set.
Let $A$ be a ring and let $(N_i, \varphi_{i, i'})$ be a directed system of
$A$-modules indexed by $I$. Suppose that $M$ is another $A$-module. Prove
that
$$
\colim_{i\in I} M \otimes_A N_i\cong
M \otimes_A \Big( \colim_{i\in I} N_i\Big).
$$
\end{exercise}
\begin{definition}
\label{definition-finite-presentation}
A module $M$ over $R$ is said to be of {\it finite presentation} over
$R$ if it is isomorphic to the cokernel of a map of finite free modules
$ R^{\oplus n} \to R^{\oplus m}$.
\end{definition}
\begin{exercise}
\label{exercise-colimit-modules}
Prove that any module over any ring is
\begin{enumerate}
\item the colimit of its finitely generated submodules, and
\item in some way a colimit of finitely presented modules.
\end{enumerate}
\end{exercise}
\section{Additive and abelian categories}
\label{section-additive}
\begin{exercise}
\label{exercise-filtered-vector-spaces}
Let $k$ be a field. Let $\mathcal{C}$ be the category of filtered vector
spaces over $k$, see
Homology, Definition \ref{homology-definition-filtered}
for the definition of a filtered object of any category.
\begin{enumerate}
\item Show that this is an additive category (explain carefully what the
direct sum of two objects is).
\item Let $f : (V, F) \to (W, F)$ be a morphism of $\mathcal{C}$.
Show that $f$ has a kernel and cokernel (explain precisely
what the kernel and cokernel of $f$ are).
\item Give an example of a map of $\mathcal{C}$ such that
the canonical map $\Coim(f) \to \Im(f)$ is not an isomorphism.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-torsion-free}
Let $R$ be a Noetherian domain. Let $\mathcal{C}$ be the category of
finitely generated torsion free $R$-modules.
\begin{enumerate}
\item Show that this is an additive category.
\item Let $f : N \to M$ be a morphism of $\mathcal{C}$.
Show that $f$ has a kernel and cokernel (make sure you define precisely
what the kernel and cokernel of $f$ are).
\item Give an example of a Noetherian domain $R$ and a map of
$\mathcal{C}$ such that the canonical map $\Coim(f) \to \Im(f)$
is not an isomorphism.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-other}
Give an example of a category which is additive and has kernels
and cokernels but which is not as in
Exercises \ref{exercise-filtered-vector-spaces} and
\ref{exercise-torsion-free}.
\end{exercise}
\section{Tensor product}
\label{section-tensor-product}
\noindent
Tensor products are introduced in Algebra, Section
\ref{algebra-section-tensor-product}.
Let $R$ be a ring. Let $\text{Mod}_R$ be the category of $R$-modules.
We will say that a functor $F : \text{Mod}_R \to \text{Mod}_R$
\begin{enumerate}
\item is additive if
$F : \Hom_R(M, N) \to \Hom_R(F(M), F(N))$
is a homomorphism of abelian groups
for any $R$-modules $M, N$, see
Homology, Definition \ref{homology-definition-preadditive}.
\item $R$-linear if $F : \Hom_R(M, N) \to \Hom_R(F(M), F(N))$ is $R$-linear
for any $R$-modules $M, N$,
\item right exact if for any short exact sequence
$0 \to M_1 \to M_2 \to M_3 \to 0$ the sequence
$F(M_1) \to F(M_2) \to F(M_3) \to 0$ is exact,
\item left exact if for any short exact sequence
$0 \to M_1 \to M_2 \to M_3 \to 0$ the sequence
$0 \to F(M_1) \to F(M_2) \to F(M_3)$ is exact,
\item commutes with direct sums, if given a set
$I$ and $R$-modules $M_i$ the maps
$F(M_i) \to F(\bigoplus M_i)$ induce an isomorphism
$\bigoplus F(M_i) = F(\bigoplus M_i)$.
\end{enumerate}
\begin{exercise}
\label{exercise-characterize-tensor-functor}
Let $R$ be a ring. With notation as above.
\begin{enumerate}
\item Give an example of a ring $R$ and an additive functor
$F : \text{Mod}_R \to \text{Mod}_R$ which is not $R$-linear.
\item Let $N$ be an $R$-module. Show that the functor
$F(M) = M \otimes_R N$ is $R$-linear,
right exact, and commutes with direct sums,
\item Conversely, show that any functor $F : \text{Mod}_R \to \text{Mod}_R$
which is $R$-linear,
right exact, and commutes with direct sums is of the
form $F(M) = M \otimes_R N$ for some $R$-module $N$.
\item Show that if in (3) we drop the assumption
that $F$ commutes with direct sums, then the conclusion no
longer holds.
\end{enumerate}
\end{exercise}
\section{Flat ring maps}
\label{section-flat}
\begin{exercise}
\label{exercise-localization-flat}
Let $S$ be a multiplicative subset of the ring $A$.
\begin{enumerate}
\item For an $A$-module $M$ show that $S^{-1}M = S^{-1}A \otimes_A M$.
\item Show that $S^{-1}A$ is flat over $A$.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-examples-not-flat}
Find an injection $M_1 \to M_2$ of $A$-modules such that
$M_1\otimes N \to M_2 \otimes N$ is not injective in the following
cases:
\begin{enumerate}
\item $A = k[x, y]$ and $N = (x, y) \subset A$. (Here and below $k$ is a field.)
\item $A = k[x, y]$ and $N = A/(x, y)$.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-flat-not-projective}
Give an example of a ring $A$ and a finite $A$-module $M$
which is a flat but not a projective $A$-module.
\end{exercise}
\begin{remark}
\label{remark-flat-not-projective}
If $M$ is of finite presentation and flat over $A$,
then $M$ is projective over $A$. Thus your example will have to
involve a ring $A$ which is not Noetherian. I know of an example
where $A$ is the ring of ${\mathcal C}^\infty$-functions on ${\mathbf R}$.
\end{remark}
\begin{exercise}
\label{exercise-flat-not-free-dvr}
Find a flat but not free module over ${\mathbf Z}_{(2)}$.
\end{exercise}
\begin{exercise}
\label{exercise-flat-deformations}
Flat deformations.
\begin{enumerate}
\item Suppose that $k$ is a field and $k[\epsilon]$ is the ring of
dual numbers $k[\epsilon] = k[x]/(x^2)$ and $\epsilon = \bar x$. Show that for
any $k$-algebra $A$ there is a flat $k[\epsilon]$-algebra $B$ such that
$A$ is isomorphic to $B/\epsilon B$.
\item Suppose that $k = {\mathbf F}_p = {\mathbf Z}/p{\mathbf Z}$ and
$$
A = k[x_1, x_2, x_3, x_4, x_5, x_6]/
(x_1^p, x_2^p, x_3^p, x_4^p, x_5^p, x_6^p).
$$
Show that there exists a flat ${\mathbf Z}/p^2{\mathbf Z}$-algebra $B$ such
that $B/pB$ is isomorphic to $A$. (So here $p$ plays the role of $\epsilon$.)
\item Now let $p = 2$ and consider the same question for
$k = {\mathbf F}_2 = {\mathbf Z}/2{\mathbf Z}$ and
$$
A = k[x_1, x_2, x_3, x_4, x_5, x_6]/
(x_1^2, x_2^2, x_3^2, x_4^2, x_5^2, x_6^2, x_1x_2 + x_3x_4 + x_5x_6).
$$
However, in this case show that there does {\it not} exist a flat
${\mathbf Z}/4{\mathbf Z}$-algebra $B$ such that $B/2B$ is isomorphic to
$A$. (Find the trick! The same example works in arbitrary characteristic
$p > 0$, except that the computation is more difficult.)
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-flat-given-residue-field-extension}
Let $(A, {\mathfrak m}, k)$ be a local ring and let $k'/k$ be
a finite field extension. Show there exists a flat, local map of
local rings $A \to B$ such that ${\mathfrak m}_B = {\mathfrak m} B$ and
$B/{\mathfrak m} B$ is
isomorphic to $k'$ as $k$-algebra. (Hint: first do the case where
$k \subset k'$ is generated by a single element.)
\end{exercise}
\begin{remark}
\label{remark-flat-given-residue-field-extension-general}
The same result holds for arbitrary field extensions $K/k$.
\end{remark}
\section{The Spectrum of a ring}
\label{section-spectrum-ring}
\begin{exercise}
\label{exercise-spec-Z}
Compute $\Spec(\mathbf{Z})$ as a set and describe its topology.
\end{exercise}
\begin{exercise}
\label{exercise-basis-opens-standard}
Let $A$ be any ring. For $f\in A$ we define
$D(f):= \{\mathfrak p \subset A \mid f \not \in \mathfrak p\}$.
Prove that the open subsets $D(f)$ form a basis of the topology of
$\Spec(A)$.
\end{exercise}
\begin{exercise}
\label{exercise-radical-ideals-closed}
Prove that the map $I\mapsto V(I)$
defines a natural bijection
$$
\{I\subset A\text{ with }I = \sqrt{I}\}
\longrightarrow
\{T\subset \Spec(A)\text{ closed}\}
$$
\end{exercise}
\begin{definition}
\label{definition-quasi-compact}
A topological space $X$ is called {\it quasi-compact}
if for any open covering $X = \bigcup_{i\in I} U_i$ there is a finite
subset $\{i_1, \ldots, i_n\}\subset I$ such that $X = U_{i_1}\cup\ldots
U_{i_n}$.
\end{definition}
\begin{exercise}
\label{exercise-spec-quasi-compact}
Prove that $\Spec(A)$ is quasi-compact for any ring $A$.
\end{exercise}
\begin{definition}
\label{definition-Hausdorff}
A topological space $X$ is said to verify the separation axiom $T_0$
if for any pair of points $x, y\in X$, $x\not = y$ there is an open
subset of $X$ containing one but not the other.
We say that $X$ is {\it Hausdorff} if for any pair $x, y\in X$, $x\not = y$
there are disjoint open subsets $U, V$ such that $x\in U$
and $y\in V$.
\end{definition}
\begin{exercise}
\label{exercise-not-hausdorff}
Show that $\Spec(A)$ is {\bf not} Hausdorff in general.
Prove that $\Spec(A)$ is $T_0$. Give an example of a topological
space $X$ that is not $T_0$.
\end{exercise}
\begin{remark}
\label{remark-not-hausdorff}
Usually the word compact is reserved for quasi-compact and
Hausdorff spaces.
\end{remark}
\begin{definition}
\label{definition-irreducible}
A topological space $X$ is called {\it irreducible} if $X$ is not empty
and if $X = Z_1\cup Z_2$ with $Z_1, Z_2\subset X$ closed, then either
$Z_1 = X$ or $Z_2 = X$. A subset $T\subset X$ of a topological space
is called {\it irreducible} if it is an irreducible
topological space with the topology induced from $X$.
This definition implies $T$ is irreducible if and only
if the closure $\bar T$ of $T$ in $X$ is irreducible.
\end{definition}
\begin{exercise}
\label{exercise-irreducible-spec}
Prove that $\Spec(A)$ is irreducible if and only if
$Nil(A)$ is a prime ideal and that in this case it is the unique
minimal prime ideal of $A$.
\end{exercise}
\begin{exercise}
\label{exercise-irreducible-prime}
Prove that a closed subset $T\subset \Spec(A)$
is irreducible if and only if it is of the form $T = V({\mathfrak p})$ for
some prime ideal ${\mathfrak p}\subset A$.
\end{exercise}
\begin{definition}
\label{definition-generic-point}
A point $x$ of an irreducible topological space $X$ is called
a {\it generic point} of $X$ if $X$ is equal to the closure of
the subset $\{x\}$.
\end{definition}
\begin{exercise}
\label{exercise-irreducible-T0-at-most-one-generic}
Show that in a $T_0$ space $X$ every irreducible closed
subset has at most one generic point.
\end{exercise}
\begin{exercise}
\label{exercise-spec-sober}
Prove that in $\Spec(A)$ every
irreducible closed subset {\it does} have a generic point.
In fact show that the map
${\mathfrak p} \mapsto \overline{\{{\mathfrak p}\}}$ is
a bijection of $\Spec(A)$ with the set of irreducible closed
subsets of $X$.
\end{exercise}
\begin{exercise}
\label{exercise-irreducible-subset-not-generic}
Give an example to show that an irreducible
subset of $\Spec(\mathbf{Z})$ does not necessarily have a generic point.
\end{exercise}
\begin{definition}
\label{definition-Noetherian-space}
A topological space $X$ is called {\it Noetherian} if any
decreasing sequence $Z_1\supset Z_2 \supset Z_3\supset \ldots$
of closed subsets of $X$ stabilizes.
(It is called {\it Artinian} if any increasing sequence of closed
subsets stabilizes.)
\end{definition}
\begin{exercise}
\label{exercise-Noetherian-spec}
Show that if the ring $A$ is Noetherian then
the topological space $\Spec(A)$ is Noetherian. Give an
example to show that the converse is false. (The same for
Artinian if you like.)
\end{exercise}
\begin{definition}
\label{definition-irreducible-component}
A maximal irreducible subset $T\subset X$ is called an
{\it irreducible component} of the space $X$. Such an irreducible
component of $X$ is automatically a closed subset of $X$.
\end{definition}
\begin{exercise}
\label{exercise-irreducible-in-irreducible}
Prove that any irreducible subset
of $X$ is contained in an irreducible component of $X$.
\end{exercise}
\begin{exercise}
\label{exercise-Noetherian-finite-nr-irreducible}
Prove that a Noetherian topological space $X$
has only finitely many irreducible components, say $X_1, \ldots, X_n$,
and that $X = X_1\cup X_2\cup\ldots\cup X_n$. (Note that
any $X$ is always the union of its irreducible components, but that
if $X = {\mathbf R}$ with its usual topology for instance then the irreducible
components of $X$ are the one point subsets. This is not
terribly interesting.)
\end{exercise}
\begin{exercise}
\label{exercise-irreducible-components-minimal-primes}
Show that irreducible components of $\Spec(A)$
correspond to minimal primes of $A$.
\end{exercise}
\begin{definition}
\label{definition-closed}
A point $x\in X$ is called {\it closed} if $\overline{\{x\}} = \{ x\}$.
Let $x, y$ be points of $X$. We say that $x$ is a {\it specialization}
of $y$, or that $y$ is a {\it generalization} of $x$ if
$x\in \overline{\{y\}}$.
\end{definition}
\begin{exercise}
\label{exercise-closed-maximal}
Show that closed points of $\Spec(A)$
correspond to maximal ideals of $A$.
\end{exercise}
\begin{exercise}
\label{exercise-generalization}
Show that ${\mathfrak p}$ is a generalization of ${\mathfrak q}$
in $\Spec(A)$ if and only if ${\mathfrak p}\subset {\mathfrak q}$.
Characterize closed points,
maximal ideals, generic points and minimal prime ideals in terms of
generalization and specialization. (Here we use the terminology that a point
of a possibly reducible topological space $X$ is called a generic point
if it is a generic points of one of the irreducible components of $X$.)
\end{exercise}
\begin{exercise}
\label{exercise-disjoint-closed-spec}
Let $I$ and $J$ be ideals of $A$.
What is the condition for $V(I)$ and $V(J)$ to be disjoint?
\end{exercise}
\begin{definition}
\label{definition-connected-component}
A topological space $X$ is called {\it connected} if it is nonempty and not the
union of two nonempty disjoint open subsets. A {\it connected component}
of $X$ is a maximal connected subset. Any point of $X$ is contained
in a connected component of $X$ and any connected component of $X$ is
closed in $X$. (But in general a connected component need not be open in $X$.)
\end{definition}
\begin{exercise}
\label{exercise-disconnected-spec}
Let $A$ be a nonzero ring.
Show that $\Spec(A)$ is disconnected
iff $A\cong B \times C$ for certain nonzero rings $B, C$.
\end{exercise}
\begin{exercise}
\label{exercise-connected-component-stable-generalization}
Let $T$ be a connected component
of $\Spec(A)$. Prove that $T$ is stable under generalization.
Prove that $T$ is an open subset of $\Spec(A)$ if $A$ is Noetherian.
(Remark: This is wrong when $A$ is an infinite product of copies of
${\mathbf F}_2$ for example. The spectrum of this ring consists of infinitely
many closed points.)
\end{exercise}
\begin{exercise}
\label{exercise-primes-kx}
Compute $\Spec(k[x])$, i.e., describe
the prime ideals in this ring, describe the possible specializations, and
describe the topology. (Work this out when $k$ is algebraically closed but
also when $k$ is not.)
\end{exercise}
\begin{exercise}
\label{exercise-primes-kxy}
Compute $\Spec(k[x, y])$, where $k$ is algebraically
closed.
[Hint: use the morphism
$\varphi : \Spec(k[x, y]) \to \Spec(k[x])$; if
$\varphi({\mathfrak p}) = (0)$ then localize with respect to
$S = \{f\in k[x] \mid f \not = 0\}$ and use result of lecture
on localization and $\Spec$.]
(Why do you think algebraic geometers call this affine 2-space?)
\end{exercise}
\begin{exercise}
\label{exercise-primes-Zy}
Compute $\Spec(\mathbf{Z}[y])$.
[Hint: as above.] (Affine 1-space over $\mathbf{Z}$.)
\end{exercise}
\section{Localization}
\label{section-localization}
\begin{exercise}
\label{exercise-submodule-localization}
Let $A$ be a ring. Let $S \subset A$ be a multiplicative subset.
Let $M$ be an $A$-module. Let $N \subset S^{-1}M$ be an $S^{-1}A$-submodule.
Show that there exists an $A$-submodule $N' \subset M$ such that
$N = S^{-1}N'$. (This useful result applies in particular to ideals
of $S^{-1}A$.)
\end{exercise}
\begin{exercise}
\label{exercise-localize-zero}
Let $A$ be a ring. Let $M$ be an $A$-module. Let $m \in M$.
\begin{enumerate}
\item Show that $I = \{a \in A \mid am = 0\}$ is an ideal of $A$.
\item For a prime $\mathfrak p$ of $A$ show that the image of $m$
in $M_\mathfrak p$ is zero if and only if $I \not \subset \mathfrak p$.
\item Show that $m$ is zero if and only if the image of $m$ is zero
in $M_\mathfrak p$ for all primes $\mathfrak p$ of $A$.
\item Show that $m$ is zero if and only if the image of $m$ is zero
in $M_\mathfrak m$ for all maximal ideals $\mathfrak m$ of $A$.
\item Show that $M = 0$ if and only if $M_{\mathfrak m}$ is zero
for all maximal ideals $\mathfrak m$.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-localization-is-field}
Find a pair $(A, f)$ where $A$ is a domain with three or more pairwise
distinct primes and $f \in A$ is an element such that the principal
localization $A_f = \{1, f, f^2, \ldots \}^{-1}A$ is a field.
\end{exercise}
\begin{exercise}
\label{exercise-localize-finite-module-zero}
Let $A$ be a ring. Let $M$ be a finite $A$-module. Let $S \subset A$
be a multiplicative set. Assume that $S^{-1}M = 0$. Show that there
exists an $f \in S$ such that the principal localization
$M_f = \{1, f, f^2, \ldots \}^{-1}M$ is zero.
\end{exercise}
\begin{exercise}
\label{exercise-localization-is-quotient}
Give an example of a triple $(A, I, S)$ where $A$ is a ring,
$0 \not = I \not = A$ is a proper nonzero ideal, and $S \subset A$
is a multiplicative subset
such that $A/I \cong S^{-1}A$ as $A$-algebras.
\end{exercise}
\section{Nakayama's Lemma}
\label{section-nakayama}
\begin{exercise}
\label{exercise-nakayama}
Let $A$ be a ring.
Let $I$ be an ideal of $A$.
Let $M$ be an $A$-module.
Let $x_1, \ldots, x_n \in M$.
Assume that
\begin{enumerate}
\item $M/IM$ is generated by $x_1, \ldots, x_n$,
\item $M$ is a finite $A$-module,
\item $I$ is contained in every maximal ideal of $A$.
\end{enumerate}
Show that $x_1, \ldots, x_n$ generate $M$. (Suggested solution:
Reduce to a localization at a maximal ideal of $A$ using
Exercise \ref{exercise-localize-zero} and exactness of localization.
Then reduce to the statement of Nakayama's lemma in the lectures
by looking at the quotient of $M$ by the submodule generated by
$x_1, \ldots, x_n$.)
\end{exercise}
\section{Length}
\label{section-length}
\begin{definition}
\label{definition-length}
Let $A$ be a ring. Let $M$ be an $A$-module. The
{\it length} of $M$ as an $R$-module is
$$
\text{length}_A(M)
=
\sup
\{
n
\mid
\exists\ 0 = M_0 \subset M_1 \subset \ldots \subset M_n = M,
\text{ }M_i \not = M_{i + 1}
\}.
$$
In other words, the supremum of the lengths of chains of submodules.
\end{definition}
\begin{exercise}
\label{exercise-length-is-one}
Show that a module $M$ over a ring $A$ has length $1$ if and only if
it is isomorphic to $A/\mathfrak m$ for some maximal ideal $\mathfrak m$
in $A$.
\end{exercise}
\begin{exercise}
\label{exercise-length-easy}
Compute the length of the following modules over the following rings.
Briefly(!) explain your answer. (Please feel free to use additivity of
the length function in short exact sequences, see
Algebra, Lemma \ref{algebra-lemma-length-additive}).
\begin{enumerate}
\item The length of $\mathbf{Z}/120\mathbf{Z}$ over $\mathbf{Z}$.
\item The length of $\mathbf{C}[x]/(x^{100} + x + 1)$ over $\mathbf{C}[x]$.
\item The length of $\mathbf{R}[x]/(x^4 + 2x^2 + 1)$ over $\mathbf{R}[x]$.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-compute-length}
Let $A = k[x, y]_{(x, y)}$ be the local ring of the affine plane at
the origin. Make any assumption you like about the field $k$. Suppose
that $f = x^3 + x^2y^2 + y^{100}$ and $g = y^3 - x^{999}$. What is the length
of $A/(f, g)$ as an $A$-module? (Possible way to proceed: think about the
ideal that $f$ and $g$ generate in quotients of the form $A/{\mathfrak m}_A^n=
k[x, y]/(x, y)^n$ for varying $n$. Try to find $n$ such that
$A/(f, g)+{\mathfrak m}_A^n \cong A/(f, g)+{\mathfrak m}_A^{n + 1}$
and use NAK.)
\end{exercise}
\section{Associated primes}
\label{section-ass}
\noindent
Associated primes are discussed in
Algebra, Section \ref{algebra-section-ass}
\begin{exercise}
\label{exercise-compute-ass}
Compute the set of associated primes for each of the following modules.
\begin{enumerate}
\item $R = k[x, y]$ and $M = R/(xy(x + y))$,
\item $R = \mathbf{Z}[x]$ and $M = R/(300x + 75)$, and
\item $R = k[x, y, z]$ and $M = R/(x^3, x^2y, xz)$.
\end{enumerate}
Here as usual $k$ is a field.
\end{exercise}
\begin{exercise}
\label{exercise-prime-power-not-primary}
Give an example of a Noetherian ring $R$ and a prime ideal $\mathfrak p$
such that $\mathfrak p$ is not the only associated prime of $R/\mathfrak p^2$.
\end{exercise}
\begin{exercise}
\label{exercise-product-primes-not-only-associated}
Let $R$ be a Noetherian ring with incomparable prime ideals
$\mathfrak p$, $\mathfrak q$, i.e., $\mathfrak p \not \subset \mathfrak q$
and $\mathfrak q \not \subset \mathfrak p$.
\begin{enumerate}
\item Show that for $N = R/(\mathfrak p \cap \mathfrak q)$
we have $\text{Ass}(N) = \{\mathfrak p, \mathfrak q\}$.
\item Show by an example that the module
$M = R/\mathfrak p \mathfrak q$ can
have an associated prime not equal to $\mathfrak p$ or $\mathfrak q$.
\end{enumerate}
\end{exercise}
\section{Ext groups}
\label{section-ext}
\noindent
Ext groups are defined in Algebra, Section \ref{algebra-section-ext}.
\begin{exercise}
\label{exercise-compute-ext-abelian-groups}
Compute all the Ext groups $\Ext^i(M, N)$ of the given modules
in the category of $\mathbf{Z}$-modules
(also known as the category of abelian groups).
\begin{enumerate}
\item $M = \mathbf{Z}$ and $N = \mathbf{Z}$,
\item $M = \mathbf{Z}/4\mathbf{Z}$ and $N = \mathbf{Z}/8\mathbf{Z}$,
\item $M = \mathbf{Q}$ and $N = \mathbf{Z}/2\mathbf{Z}$, and
\item $M = \mathbf{Z}/2\mathbf{Z}$ and $N = \mathbf{Q}/\mathbf{Z}$.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-compute-in-regular}
Let $R = k[x, y]$ where $k$ is a field.
\begin{enumerate}
\item Show by hand that the Koszul complex
$$
0 \to R
\xrightarrow{
\left(
\begin{matrix}
y \\
-x
\end{matrix}
\right)
}
R^{\oplus 2} \xrightarrow{(x, y)} R \xrightarrow{f \mapsto f(0, 0)} k \to 0
$$
is exact.
\item Compute $\Ext^i_R(k, k)$ where $k = R/(x, y)$ as an $R$-module.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-infinitely-many-nonzero-ext}
Give an example of a Noetherian ring $R$ and finite modules $M$, $N$
such that $\Ext^i_R(M, N)$ is nonzero for all $i \geq 0$.
\end{exercise}
\begin{exercise}
\label{exercise-infinite-ext}
Give an example of a ring $R$ and ideal $I$ such that
$\Ext^1_R(R/I, R/I)$ is not a finite $R$-module.
(We know this cannot happen if $R$ is Noetherian by
Algebra, Lemma \ref{algebra-lemma-ext-noetherian}.)
\end{exercise}
\section{Depth}
\label{section-depth}
\noindent
Depth is defined in Algebra, Section \ref{algebra-section-depth}
and further studied in
Dualizing Complexes, Section \ref{dualizing-section-depth}.
\begin{exercise}
\label{exercise-compute-depth}
Let $R$ be a ring, $I \subset R$ an ideal, and $M$ an $R$-module.
Compute $\text{depth}_I(M)$ in the following cases.
\begin{enumerate}
\item $R = \mathbf{Z}$, $I = (30)$, $M = \mathbf{Z}$,
\item $R = \mathbf{Z}$, $I = (30)$, $M = \mathbf{Z}/(300)$,
\item $R = \mathbf{Z}$, $I = (30)$, $M = \mathbf{Z}/(7)$,
\item $R = k[x, y, z]/(x^2 + y^2 + z^2)$, $I = (x, y, z)$, $M = R$,
\item $R = k[x, y, z, w]/(xz, xw, yz, yw)$, $I = (x, y, z, w)$,
$M = R$.
\end{enumerate}
Here $k$ is a field. In the last two cases feel free to localize
at the maximal ideal $I$.
\end{exercise}
\begin{exercise}
\label{exercise-depth-not-inherited-localization}
Give an example of a Noetherian local ring $(R, \mathfrak m, \kappa)$
of depth $\geq 1$ and a prime ideal $\mathfrak p$ such that
\begin{enumerate}
\item $\text{depth}_\mathfrak m(R) \geq 1$,
\item $\text{depth}_\mathfrak p(R_\mathfrak p) = 0$, and
\item $\dim(R_\mathfrak p) \geq 1$.
\end{enumerate}
If we don't ask for (3) then the exercise is too easy. Why?
\end{exercise}
\begin{exercise}
\label{exercise-depth-torsion-free}
Let $(R, \mathfrak m)$ be a local Noetherian domain.
Let $M$ be a finite $R$-module.
\begin{enumerate}
\item If $M$ is torsion free, show that $M$ has depth at least $1$ over $R$.
\item Give an example with depth equal to $1$.
\end{enumerate}
\end{exercise}
\begin{exercise}
\label{exercise-depth-examples}
For every $m \geq n \geq 0$ give an example of a Noetherian local
ring $R$ with $\dim(R) = m$ and $\text{depth}(R) = n$.