Hartshorne Solution

Chapter 2

1.1 Let AA be an abelian group, and define the constant presheaf associated to AA on the topological space XX to be the presheaf U↦AU \mapsto A for all U≠φU \neq \varphi, with restriction maps the identity. Show that the constant sheaf A\mathcal{A} defined in the text is the sheaf associated to this presheaf.
Solution:
Let F\mathcal{F} denote the given presheaf. Then we construct the associated sheaf , F+\mathcal{F^+} of the given presheaf F\mathcal{F} by defining F+(U)\mathcal{F^+}(U) to be set of continuous functions from U→⋃p∈UFpU\rightarrow \bigcup_{p\in U} \mathcal{F_p} satisfying two conditions in the definition. Now recall how constant sheaf was defined that by taking set of continuous functions U→AU\rightarrow A. It is clear that constant sheaf A\mathcal{A} satisfies conditions of associated sheaf and by uniqueness constant sheaf is associated sheaf F+\mathcal{F^+}.

1.2
a) For any morphism of sheaves φ:F↦G\varphi:\mathcal{F} \mapsto \mathcal{G} show that for each point PP, (kerφ)P=kerφP(ker\varphi)_P=ker\varphi_P and (imφ)P=imφP(im\varphi)_P=im\varphi_P.

Solution:
Consider the following φ:F→G\varphi:\mathcal{F}\rightarrow \mathcal{G} then we have the induced map at stalks φp:Fp→Gp\varphi_p:\mathcal{F_p}\rightarrow \mathcal{G_p} coming back to the question,
let sp∈kerφps_p\in ker\varphi_p then [φ(s),U]=0[\varphi(s),U]=0.It implies that there exists open subset VV of UU such that φ(s)∣V=0∣V\varphi(s)|_V=0|_V.
Hence s∣V∈kerφ(V)s|_V \in ker\varphi(V) and [s∣V,V]∈(kerφ)p[s|_V, V]\in (ker\varphi)_p. For other direction we have this induced map ip:(kerφ(U))p→Fpi_p:(ker\varphi(U))_p\rightarrow \mathcal{F}_p. so φp∘ip=0\varphi_p \circ i_p=0 and (kerφ)p⊆kerφp(ker\varphi)_p\subseteq ker\varphi_p.
For second part, imφim\varphi is associated sheaf of presheaf image of F\mathcal{F}.
im(φp)im(\varphi_p)— image of stalk
(imφ)p(im\varphi)_p— Stalk of image sheaf=Stalk of preimage sheaf
yp∈(imφ)p  ⟹  ypy_p\in (im\varphi)_p \implies y_p belongs to the stalk of presheaf image and it is contained in Gp\mathcal{G_p}.So yp=[V,s]y_p=[V,s] where p∈Vp\in V and s∈preimφ(V)s\in preim\varphi(V).
So there exists t∈F(V)t\in \mathcal{F}(V) such that φ(t)=s\varphi(t)=s and yp∈imφpy_p\in im\varphi_p.
Now consider yp∈imφpy_p\in im\varphi_p implies there exists tP∈Fpt_P\in \mathcal{F_p} such that φp(tp)=yp\varphi_p(t_p)=y_p. Suppose p∈Up\in Uopen and t∈F(U)t\in \mathcal{F}(U) .[U,t]∈Fp[U,t]\in \mathcal{F_p} and φ(U)(t)∈\varphi(U)(t)\in presheaf image φ(U)\varphi(U).Implies yp=(U,φ(U)(t))∈(imφ)py_p=(U,\varphi(U)(t))\in (im\varphi)_p.

b) Show that φ\varphi is injective (resp. Surjective) if and only if induced map on stalks φP\varphi_P is injective (resp. surjective) for all PP.
Solution:
It follows from the above exercise because kerφ=0ker\varphi=0 if and only if (kerφ)p=0(ker\varphi)_p=0 for all pp if and only if kerφp=0ker\varphi_p=0 for all pp.
Similarly φ\varphi is surjective if and only if imφ=Gim\varphi=\mathcal{G} if and only if (imφ)p=Gp(im\varphi)_p=\mathcal{G_p} for all pp if and only if imφp=Gpim\varphi_p=\mathcal{G_p} for all p.

c) Show that a sequence ⋯→Fi−1undefinedφi−1FiundefinedφiFi+1→⋯\cdots \rightarrow \mathcal{F^{i-1}} \xrightarrow {\varphi^{i-1}} \mathcal{F^{i}} \xrightarrow {\varphi^{i}} \mathcal{F^{i+1}} \rightarrow \cdots of sheaves and morphisms is exact if and only if for each P∈XP\in X the corresponding sequence of stalks is exact as a sequence of abelian groups.
Solution:
kerφpi=imφpi−1ker\varphi_p^{i}=im\varphi_p^{i-1} if and only if (kerφi)p=(imφi−1)p(ker\varphi^i)_p=(im\varphi^{i-1})_p for all pp.
[F,GF,G be subsheaves of HH then F=G⇔Fp=Gp∀pF=G\Leftrightarrow F_p=G_p \forall p.]

1.3 Let φ:F→G\varphi: \mathcal{F} \rightarrow \mathcal{G} be a morphism of sheaves on X. Show that φ\varphi is surjective if and only if the following condition holds: for every open set U⊆XU \subseteq X, and for every s∈G(U)s\in\mathcal{G}(U), there is a covering Ui{ U_i} of U, and there are elements ti∈F(Ui)t_i\in \mathcal{F}(U_i), such that φ(ti)=s∣Ui\varphi(t_i) = s|_{U_i}, for all ii.
Solution: Suppose φ\varphi is surjective then by definition imφ=Gim\varphi=\mathcal{G}.
Hence G(U)=imφ(U)\mathcal{G}(U)=im\varphi(U)(definition of associated sheaf of presheaf image) for UU open subset of XX.
Let s∈G(U)s\in \mathcal{G}(U) with Vi′sV_i's forming open cover of UU and si∈impφ(Vi)s_i\in im_p\varphi(V_i)(presheaf image) such that s∣Vi=si∈impφ(Vi)s|_{V_i}=s_i\in im_p\varphi(V_i).
si∈impφ(Vi)s_i\in im_p\varphi(V_i) implies there exists ti∈F(Vi)t_i\in \mathcal{F}(V_i) such that φ(ti)=si=s∣Vi.\varphi(t_i)=s_i=s|_{V_i}.
Conversely it is enough to show that φp\varphi_p is surjective. Let the said condition hold .
Let sp∈Gps_p \in \mathcal{G_p} implies sp=[U,s]∈Gps_p=[U,s]\in \mathcal{G_p} where p∈Up\in U and s∈G(U)s\in \mathcal{G}(U). By condition, there is covering Ui{U_i} of UU and there are elements ti∈F(Ui)t_i\in \mathcal{F}(U_i) such that φ(ti)=s∣Ui∈G(Ui)\varphi(t_i)=s|_{U_i}\in \mathcal{G}(U_i) for p∈Uip\in U_i$. So
[Ui,φ(ti)]=[U,s]  ⟹  [Ui,s∣Ui]=[U,s][U_i,\varphi(t_i)]=[U,s]\implies [U_i,s|_{U_i}]=[U,s]. It will imply φp[Ui,ti]=[Ui,φ(ti)]=[Ui,s∣Ui]=[U,s]\varphi_p[U_i,t_i]=[U_i,\varphi(t_i)]= [U_i,s|_{U_i}]=[U,s]. Therefore φp\varphi_p is surjective.

1.4
a) Let φ:F→G\varphi:\mathcal{F} \rightarrow \mathcal{G} be a morphism of presheaves such that
φ(U):F(U)→G(U)\varphi(U):\mathcal{F}(U) \rightarrow \mathcal{G}(U) is injective for each U. Show that the induced map φ+:F+→G+\varphi^+: \mathcal{F}^+ \rightarrow \mathcal{G}^+ of associated sheaves is injective.
Solution:
We show that φp+:Fp+→Gp+\varphi_p^+: \mathcal{F}_p^+ \rightarrow \mathcal{G}_p^+ is injective. Note that
Fp+=Fp\mathcal{F}_p^+=\mathcal{F}_p and Gp+=Gp\mathcal{G}_p^+=\mathcal{G}_p. Let φp+(U,s)=0\varphi_p^+(U,s)=0 , then there exists open neighborhood of pp say VV contained in UU such that φV+(s∣V)=0\varphi_V^+(s|_V)=0.By using the definition of associated sheaf and injectivity of φ\varphi we get [U,s]=0[U,s]=0.

b) Use part (a) φ:F→G\varphi:\mathcal{F} \rightarrow \mathcal{G} to show that if is a morphism of sheaves, then imφim\varphi can be naturally identified with a subsheaf of G\mathcal{G} as mentioned in the text.
Solution:
We have impφ→Gim_p\varphi\rightarrow \mathcal{G} is injective. So by above result
imφ→Gim\varphi \rightarrow \mathcal{G} is injective. So the imφim\varphi can be naturally identified by subsheaf of G\mathcal{G}.

1.5 Show that a morphism of sheaves is an isomorphism if and only if it is both injective and surjective.
Solution:
Isomorphisms means there must exist two sided inverse. Also φ\varphi is isomorphism between sheaves F\mathcal{F} and G\mathcal{G} if and only if the induced morphism at stalks is isomorphisms and φp\varphi_p is injective and surjective iff φ\varphi is injective and surjective.

1.8 For any open subset U⊆XU\subseteq X, show that the functor Γ(U,.)\Gamma(U, .) from sheaves on XX to abelian groups is a left exact functor.
Solution:
We have 0→F′undefinedφ′FundefinedφF′′→00 \rightarrow \mathcal{F'} \xrightarrow {\varphi'} \mathcal{F} \xrightarrow{\varphi} \mathcal{F''} \rightarrow 0 is exact sequence. So induced sequence at stalks is exact. Two things to note are φ′\varphi' is injective so φ′(U)\varphi'(U) is injective for all open subsets UU of XX. So it is enough to prove imφ′(U)=kerφ(U)im\varphi'(U)=ker\varphi(U) and impφ′=imφ′im_p\varphi'=im\varphi' ( impφ′im_p\varphi' is presheaf image).For U⊆XU\subseteq X open, let s∈imφ′s\in im\varphi' then there exists t∈F′(U)t\in \mathcal{F'}(U) such that  φU′(t)=s\ \varphi'_U(t)=s. So tp∈Fpt_p\in \mathcal{F_p} and
[U,t]↦[U,φU′(t)]=[U,s]=sp[U,t]\mapsto [U,\varphi'_U(t)]=[U,s]=s_p. It implies
sp=[U,s]∈s_p=[U,s]\in imφp′=kerφpim\varphi'_p=ker\varphi_p. So φp(sp)=0\varphi_p(s_p)=0.
[U,φU(s)]=[U,0]  ⟹  [U,\varphi_U(s)]=[U,0] \implies φU(s)∣Ui=0\varphi_U(s)|_{U_i}=0 and these Ui{U_i} form open cover for UU. Hence by Sheaf axiom φU(s)=0\varphi_U(s)=0 and s∈kerφUs\in ker\varphi_U. For other direction proof follows similar to proposition 1.1.

1.13. Espace Etale of a Presheaf.
Solution
Detailed solution can be found here.

1.14. Support. Let F\mathcal{F} be a sheaf on X, and lets s∈F(U)s\in \mathcal{F}(U) be a section over an open set U. The support of ss, denoted SuppSupp ss, is defined to be {P∈U∣sp≠0}\{ P\in U|s_p \neq 0\}, where sps_p denotes the germ of ss in the stalk Fp\mathcal{F}_p. Show that SuppSupp ss is a closed subset of UU. We define the support of F\mathcal{F} , SuppSupp F\mathcal{F}, to be {P∈X∣Fp≠0}\{P\in X| \mathcal{F}_p \neq 0\}. It need not be a closed subset.
Solution:
We show W={p∈U∣sp≠0}W=\{p\in U|s_p\neq 0\} is open in UU. Let p∈Wp\in W then [U,s]=0[U,s]=0 implies there exists V⊆UV\subseteq U open with p∈Vp\in V and
s∣V=0s|_V=0 and s∣V∈F(V)s|_V \in \mathcal{F}(V). Let q∈Vq\in V then V⊆UV\subseteq U and s∣V=0s|_V=0 means sq=0  ⟹  V⊂Ws_{q}=0\implies V\subset W.
Therefore WW is open.
Consider the following example for last part.
Let X be a irreducible topological space.Let p∈Xp\in X.Define for any open subset UU:
F(U)=0\mathcal{F}(U)=0 if UU is empty or p∈Up\in U otherwise F(U)=A\mathcal{F}(U)=A with restriction maps as identity or zero. Then FF forms a Sheaf.
If q∈{p}‾  ⟹  q∈Uq \in \overline{\{p\}}\implies q\in U and U∩{p}≠∅  ⟹  p∈UU\cap \{p\} \neq \emptyset\implies p\in U and F(U)=0\mathcal{F}(U)=0.Hence Fq=0\mathcal{F_q}=0.
If q∉{p}‾  ⟹  Fq=Aq\notin \overline{\{p\}}\implies \mathcal{F_q}=A.
SuppF={q∈X∣Fp≠0}=XSupp\mathcal{F}=\{q\in X|\mathcal{F_p}\neq 0\}=X\ {p}‾\overline{\{p\}} which is open.

1.16. Flasque Sheaves. A sheaf F\mathcal{F} on a topological space XX is Falsque if for every inclusion V⊆UV\subseteq U of open sets, the restriction map
F(U)→F(V)\mathcal{F}(U)\rightarrow \mathcal{F}(V) is surjective.

a) Show that a constant sheaf on an irreducible topological space is flasque. See (I, §I) for irreducible topological spaces.
Solution:
XX is irreducible space so by definition of irreducibility UU is connected and so we have F(U)≅A\mathcal{F}(U) \cong A and F(V)≅A\mathcal{F}(V) \cong A. Hence restriction mapping is just identity and we get surjectivity.

b) If 0→F′undefinedφ′′FundefinedφF′′→00 \rightarrow \mathcal{F'} \xrightarrow{\varphi''} \mathcal{F} \xrightarrow{\varphi} \mathcal{F''} \rightarrow 0 is an exact sequence of sheaves, and if F′\mathcal{F'} is Flasque , then for any open set UU, the sequence
0→F′(U)→F(U)→F′′(U)→00\rightarrow \mathcal{F'}(U)\rightarrow \mathcal{F}(U) \rightarrow \mathcal{F''}(U)\rightarrow 0 of abelian groups is also exact.
Solution:
To show 0→F′(U)undefinedφU′F(U)undefinedφUF′′(U)→00\rightarrow \mathcal{F'}(U)\xrightarrow{\varphi'_U}\mathcal{F}(U) \xrightarrow{\varphi_U} \mathcal{F''}(U)\rightarrow 0
Taking sections is left exact. It is enough to show that φU\varphi_U is surjective. Let t∈F′′(U)t\in \mathcal{F''}(U). Since the following sequence is exact
0→F′undefinedφ′′FundefinedφF′′→00 \rightarrow \mathcal{F'} \xrightarrow{\varphi''} \mathcal{F} \xrightarrow{\varphi} \mathcal{F''} \rightarrow 0 . So φ\varphi is surjective. It implies that for U⊆XU\subseteq X open, there exist open covering {Ui}\{U_i\} of UU for ti∈F(Ui)t_i\in \mathcal{F}(U_i) such that φ(ti)=t∣Ui\varphi(t_i)=t|_{U_i}. Let ZZ be the set of pair (Ui,ti)(U_i,t_i) with the following partial order (Ui,ti)<(Uj,tj)⇔Ui⊆Uj(U_i,t_i)<(U_j,t_j)\Leftrightarrow U_i\subseteq U_j such that tj∣Ui=tit_j|_{U_i}=t_i. Let M\mathcal{M} be chain in ZZ and let V=⋃CUiV=\bigcup_CU_i where
C={i∣(Ui,ti)∈Z}C=\{i|(U_i,t_i)\in Z\}.By the given partial order relation, for i∈Ci\in C each ti∈F(Ui)t_i\in \mathcal{F}(U_i) agree on intersection, so by sheaf axiom there exist s∈F(V)s\in \mathcal{F}(V) such that s∣Ui=tis|_{U_i}=t_i and φ(s)=t∣V\varphi(s)=t|_V.Therefore (V,s)∈Z(V,s)\in Z and is the upper bound of the chain M\mathcal{M}. By Zorn’s lemma, there exist maximal element say (V′,s′)(V',s') of ZZ. Our Claim is that
V′=UV'=U. Now, suppose otherwise then there exists x∉V′x\notin V'. So we have V′⊂V′⋃Uk=UV'\subset V'\bigcup U_k=U for some UkU_k and φ(s′)=t∣V′\varphi(s')=t|_{V'} and φ(tk)=t∣Uk\varphi(t_k)=t|_{U_k}.Consider, V′⋂UkV'\bigcap U_k then s′∣V′⋂Uk∈F(V′⋂Uk)s'|_{V'\bigcap U_k}\in \mathcal{F}(V'\bigcap U_k) and t∣V′⋂Uk∈F(V′⋂Uk)t|_{V'\bigcap U_k}\in \mathcal{F}(V'\bigcap U_k).
So φ(s′∣V′⋂Uk)=t∣V′⋂Uk=φ(tk∣V′⋂Uk)\varphi(s'|_{V'\bigcap U_k})=t|_{V'\bigcap U_k}=\varphi(t_k|_{V'\bigcap U_k}).It implies
s′∣V′⋂Uk−tk∣V′⋂Uk∈kerφ(V′⋂Uk)s'|_{V'\bigcap U_k}-t_k|_{V'\bigcap U_k}\in ker\varphi(V'\bigcap U_k).So there exists w∣V′⋂Uk∈F′(V′⋂Uk)w|_{V'\bigcap U_k}\in \mathcal{F'}(V'\bigcap U_k) such that φ′(w∣V′⋂Uk)=s′∣V′⋂Uk−tk∣V′⋂Uk.\varphi'(w|_{V'\bigcap U_k})=s'|_{V'\bigcap U_k}-t_k|_{V'\bigcap U_k}.
F′\mathcal{F'} is given to be flasque and w∣V′⋂Uk∈F′(V′⋂Uk)  ⟹  w|_{V'\bigcap U_k}\in \mathcal{F'}(V'\bigcap U_k)\implies there exists w∈F′(V′)w\in \mathcal{F'}(V') such that w↦w∣V′⋂Ukw\mapsto w|_{V'\bigcap U_k}.Let m=φ′(w)∈imφ′(V′)=kerφ(V′)m=\varphi'(w)\in im\varphi'(V')=ker\varphi(V') and m∣V′⋂Uk=s′∣V′⋂Uk−tk∣V′⋂Ukm|_{V'\bigcap U_k}=s'|_{V'\bigcap U_k}-t_k|_{V'\bigcap U_k} (Draw diagram for better understanding).Hence, (m−s′)∣V′⋂Uk=tk∣V′⋂Uk(m-s')|_{V'\bigcap U_k}=t_k|_{V'\bigcap U_k} with m−s′∈F(V′)m-s'\in \mathcal{F}(V') and tk∈F(Uk)t_k\in \mathcal{F}(U_k). Also, U=V′⋃UkU=V'\bigcup U_k. So by sheaf axiom there exist t′′∈F(U)t''\in \mathcal{F}(U) that restricts to m−s′m-s' and tkt_k on V′V' and UkU_k respectively with φU(t′′)=t∣U\varphi_U(t'')=t|_U. So (U,t′′)∈Z(U,t'')\in Z contradicting maxamilty of (V′,s′)(V',s').So U=V′U=V' and the result follows

c) 0→F′→F→F′′→00 \rightarrow \mathcal{F'} \rightarrow \mathcal{F} \rightarrow \mathcal{F''} \rightarrow 0 is an exact sequence, and if F′\mathcal{F'} and F\mathcal{F} are Flasque then F′′\mathcal{F''} is Flasque.
Solution:
Since 0→F′→F→F′′→00 \rightarrow \mathcal{F'} \rightarrow \mathcal{F} \rightarrow \mathcal{F''} \rightarrow 0 is an exact sequence and F′\mathcal{F'} is flasque we have upper sequence and lower sequence of the following diagram as exact, also V⊆UV\subseteq U

\begin{tikzcd}
0 \arrow[r] & \mathcal{F'}(U) \arrow[d] \arrow[r, "\varphi'_U"] & \mathcal{F}(U) \arrow[d] \arrow[r, "\varphi_U"] & \mathcal{F''}(U) \arrow[d] \arrow[r] & 0 \\
0 \arrow[r] & \mathcal{F'}(V) \arrow[r, "\varphi'_V"]           & \mathcal{F}(V) \arrow[r, "\varphi_V"]           & \mathcal{F''}(V) \arrow[r]           & 0
\end{tikzcd}

φV\varphi_V is surjective. So start with w∣V∈F′′(V)w|_V\in \mathcal{F''}(V) and use the fact that diagram is commutative and F\mathcal{F} is flasque to complete the proof.

d) If f:X→Yf:X \rightarrow Y is a continuous map, and if F\mathcal{F} is a flasque sheaf on XX , then f∗Ff_{*}\mathcal{F} is a flasque sheaf on YY.
Solution:
For V⊆YV\subseteq Y is open then f−1(V)f^{-1}(V) is open in X.
f∗F(V)=F(f−1(V))f_*\mathcal{F}(V)=\mathcal{F}(f^{-1}(V)) and F\mathcal{F} is given to be flasque.

e) Let F\mathcal{F} be any sheaf on XX. We define a new sheaf G\mathcal{G}, called the sheaf of discontinuous sections of F\mathcal{F} as follows. For each open set U⊆XU \subseteq X , G(U)\mathcal{G}(U) is the set of maps s:U→⋃p∈UFps:U\rightarrow \bigcup_{p\in U} \mathcal{F_p} for all p∈Up\in U, s(p)∈Fps(p)\in \mathcal{F_p}. Show that G\mathcal{G} is flasque sheaf and that there is a natural injective morphism of F\mathcal{F} to G\mathcal{G}.
Solution:
G\mathcal{G} is a sheaf just by taking restrictions. Let V⊆UV\subseteq U and
G(U)⟶G(V)\mathcal{G}(U)\longrightarrow \mathcal{G}(V). For t∈G(V)t\in \mathcal{G}(V) then define w∈G(U)w\in \mathcal{G}(U) such that w∣V=tw|_V=t and w=0w=0 elsewhere.

1.17 Skyscraper Sheaves.
Solution:
Stalks can be checked with same method as in the example given in solution of exercise 1.14. with necessary changes.

2.1. Let AA be a ring, let X=SpecAX=Spec A, let f∈Af\in A and let D(f)⊆XD(f)\subseteq X be the open complement of V((f))V((f)). Show that locally ringed space (D(f),OX∣D(f))(D(f),\mathcal{O}_X|_{D(f)})is isomorphic to SpecAf.Spec A_f.
Solution:
Similar to the solution of proposition 2.5(b) and 2.18.

2.2. Let (X,OX)(X,\mathcal{O}_X) be a scheme, and let U⊆XU\subseteq X. Show that (U,OX∣U)(U,\mathcal{O}_{X}|_U) is a scheme.We call this induced scheme structure on the open set UU, and we refer to (U,OX∣U)(U,\mathcal{O}_X|_U) as open subscheme of XX.
Solution:
A scheme by definition is something which locally looks like an affine scheme. Let x∈U⊆Xx\in U\subseteq X and let V≅SpecAV\cong SpecA be the affine neighborhood of xx, since D(f)D(f) form basis for topology on VV, where f∈Af\in A. So x∈D(f)⊂Ux\in D(f)\subset U for some f∈Af\in A and from previous exercise (D(f),OSpecA∣D(f))(D(f),\mathcal{O}_{SpecA}|_{D(f)}) is isomorphic to (SpecAf,OSpecAf)(Spec A_f,\mathcal{O}_{Spec A_f}).

2.3. Reduced schemes. A scheme (X,OX)(X,\mathcal{O}_X) is called reduced if for every open set U⊆XU\subseteq X, the ring OX(U)\mathcal{O}_X(U) has no nilpotent elements.
Show that (X,OX)(X,\mathcal{O}_X) is reduced if and only if for every P∈XP\in X, the local ring OX,P\mathcal{O}_{X,P} has no nilpotent elements.
Solution:
Suppose (X,OX)(X,\mathcal{O}_X) is reduced then OX(U)\mathcal{O}_X(U) has no nilpotent elements for any open set U⊆XU\subseteq X. For P∈XP\in X let [U,s][U,s] be germ of OX,P\mathcal{O}_{X,P} such that it is nilpotent. Then
sn∣W=0s^n|_W=0 for P∈W⊆UP\in W\subseteq U and 0=sn∈OX(W)0=s^n\in \mathcal{O}_X(W) but it has no nilpotent so ss is zero on OX(W)\mathcal{O}_X(W) hence on UU.
Conversely, suppose s∈OX(U)s\in \mathcal{O}_X(U) such that sn=0s^n=0 for some nn. Then sxn=0s^n_x=0 in OX,x\mathcal{O}_{X,x} where x∈Ux\in U. But there are no nilpotent elements in OX,x\mathcal{O}_{X,x}.

2.4. Let AA be a ring and let (X,OX(X, \mathcal{O}_X be a scheme. Given a morphism f→SpecAf\rightarrow SpecA, we have asscociated maps on sheaves f#:OSpecA→f∗OX.f^\# :\mathcal{O}_{SpecA}\rightarrow f_{*} \mathcal{O}_X.
Taking global sections we obtain a homomorphism
A→Γ(X,OX)A\rightarrow \Gamma(X,\mathcal{O}_X).Thus there is natural map
α:HomSch(X,SpecA)→HomRings(A,Γ(X,OX))\alpha:Hom_{\mathfrak{Sch}}(X,SpecA)\rightarrow Hom_{\mathfrak{Rings}}(A, \Gamma(X,\mathcal{O}_X))

Show that α\alpha is bijective.
Solution:
There are few subtle things to note before giving the solution: First of all, on right side we are dealing rings unity but not necessarily commutative. Then we take spectrum of commutative ring with unity. Also we make use of the following resulting when giving the solution:

If XX and YY are two schemes, then giving a morphism from X→YX\rightarrow Y is equivalent to giving an open cover {Ui}i∈I\{Ui\}_{i\in I} of XX, together with morphism fi:Ui→Yf_i:U_i\rightarrow Y, where UiU_i has the induced open subscheme structure, such that the restrictions of fif_i and fjf_j to Ui∩UjU_i\cap U_j are the same, for each i,j∈Ii,j\in I.

We try to give the inverse map to α\alpha. So consider
g∈HomRings(A,Γ(X,OX))g\in Hom_{\mathfrak{Rings}}(A, \Gamma(X,\mathcal{O}_X))
Since we have the propostion 2.3. we try to give glueing argument to get scheme XX.
Since XX is scheme let XX be covered by affine opens {Ui}i∈I\{U_i\}_{i\in I}. Since UiU_i is affine we have Ui≅SpecU_i\cong Spec CiC_i.
Therefore, OX(U)=A\mathcal{O}_X(U)=A.
AundefinedgOX(X)undefinedρXUOX(U)=CA\xrightarrow{g}\mathcal{O}_X(X)\xrightarrow{\rho_{XU}}\mathcal{O}_X(U)=C and taking Spec we have a map fi:Ui≅Specf_i:U_i\cong Spec C→SpecC\rightarrow Spec AA.
By the above result we only have to show that fi∣Ui∩Uj=fj∣Ui∩Ujf_i|_{Ui\cap U_j}=f_j|_{U_i\cap U_j}. But in order to use functoriality of Spec(proposition 2.3), we consider affine covering of
Ui∩UjU_i\cap U_j say {Vk≅SpecZk}\{V_k\cong SpecZ_k\}. So its enough to show fif_i and fjf_j agree on Vk.V_k. We have the following:
Vk⊂Ui∩Uj⊂Ui⊂XV_k\subset U_i\cap U_j \subset U_i\subset X and Vk⊂Ui∩Uj⊂Uj⊂XV_k\subset U_i\cap U_j \subset U_j\subset X.
So we have the morphisms of ring:
\begin{tikzcd}
A \arrow[r, "g"] & \mathcal{O}_X(X) \arrow[r, "res^X_{U_i}"] \arrow[d, "res^X_{U_j}"'] & \mathcal{O}_X(U_i) \arrow[d]           &                    \\
                 & \mathcal{O}_X(U_j) \arrow[r]                                        & \mathcal{O}_{X}(U_j\cap U_j) \arrow[r] & \mathcal{O}_X(V_K)
\end{tikzcd}
Taking spec we get,

\begin{tikzcd}
Spec A               & Spec \ C_j \arrow[l]           \\
Spec \ C_i \arrow[u] & Spec \ Z_K \arrow[u] \arrow[l]
\end{tikzcd}
Hence the result follows

2.5. Describe SpecZSpec Z, and show that it is a final object for the category of schemes.
Solution:
Since ZZ is initial object in category of rings with 1 (f:Z→Rf:Z\rightarrow R by n↦n⋅1n\mapsto n\cdot 1) . By using the above result we get the desired result.

2.9. If XX is a topological space, and ZZ an irreducible closed subset of XX, a generic point for ZZ is point ζ\zeta such that Z={ζ}Z=\{\zeta\} ˉ\bar{}. If XX is a scheme show that every (nonempty) irreducible closed subset has a unique generic point.
Solution:
Remark: In SpecASpecA there is one to one correspondence between points of SpecASpecA and irreducible closed subsets of SpecA.Spec A. Now, let ZZ be irreducible closed subset of XX. Since XX is a scheme, UU be affine open set such that
U∩Z=∅U\cap Z=\emptyset (there exist such a UU). So U∩ZU\cap Z is irreducible( since open subset of ZZ) closed subset of UU. So W=U∩Z=V(p)(=Spec(A/p))={p}ˉW=U\cap Z=V(p) (=Spec(A/p))=\bar{\{p\}} for some prime ideal. {p}ˉ\bar{\{p\}} is generic point of WW. {p}ˉ\bar{\{p\}} is generic point of ZZ. By definition of denseness, p∈V∩Zp\in V\cap Z where VV is nonempty affine open subset. Taking closure of {p}\{p\} in V∩ZV\cap Z is ZZ. So {p}ˉ=V∩Z\bar{\{p\}}=V\cap Z and by uniqueness of generic point of affine scheme (see above remark) we have that it is the only generic point for any V∩ZV\cap Z. Hence, for ZZ.

2.13. A topological space is quasi-compact if every open cover has a finite subcover.
a) Show that a topological space is noetherian (I, §1) if and only if every open subset is quasi-compact.
Solution:
A topological space XX is noetherian then every collection of open subset has maximal element. Let ZZ be open subset such that Z=⋃iUi.Z=\bigcup_i U_i.Then Z⊂U1∪U2∪⋯∪UmZ\subset U_1\cup U_2\cup \cdots \cup U_m (said maximal element). Conversely, let every open subset be quasi compact. Consider the following sequence of open subsets: Z1⊂Z2⊂Z3⊂⋯Z_1\subset Z_2\subset Z_3\subset \cdots and suppose XX does not satisfy ACC for open subsets. Consider Z=⋃iZiZ=\bigcup_i Z_i where ZiZ_i is open and so isZZ. Hence Z=⋃iUiZ=\bigcup_iU_i and we get contradiction.

b) If XX is an affine scheme, show that sp(X)sp(X) is quasi-compact, but not in general noetherian. We say a scheme XX is quasi-compact if sp(X)sp(X) is.
Solution:
X≅SpecAX\cong SpecA and D(f)D(f) form basis for topology on SpecASpecA.So any cover of SpecASpec A is given by D(fi)D(f_i).
Let SpecA=⋃iD(fi)SpecA=\bigcup_iD(f_i) then
∅=(⋃iD(fi))c=⋂iV(fi)=V(∑fi).\emptyset=(\bigcup_iD(f_i))^c=\bigcap_iV(f_i)=V(\sum f_i).It implies that 1∈∑fi1\in \sum f_i so 1=∑finiteaifi1=\sum_{finite} a_if_i. Hence,
∅=V(∑finitefi)=⋂finiteV(fi)\emptyset=V(\sum_{finite}f_i)=\bigcap_{finite}V(f_i). Taking complement we get SpecA=⋃finiteD(fi)SpecA=\bigcup_{finite}D(f_i).
For other part take SpecSpec k[x1,x2,x3,⋯ ].k[x_1,x_2,x_3,\cdots].

c) If AA is a noetherian ring, show that sp(Specsp(Spec A)A) is a noetherian topological space.
Solution:
Let Z(T1)⊂Z(T2)⊂⋯Z(T_1)\subset Z(T_2)\subset \cdots be the chain of closed subset of SpecSpec AA that does not satisfy DCC.
Take I(⋅)I(\cdot) to get ascending chain of ideals in AA.
Let I=⋃iI(Z(Ti))\mathcal{I}=\bigcup_iI(Z(T_i)) then I\mathcal{I} is ideal in AA which is noetherian then I\mathcal{I} is finitely generated by say fif_i's and these fif_i's are contained in some I(Z(Ti))I(Z(T_i)). Hence I\mathcal{I} is contained in I(Z(Ti))I(Z(T_i)) and we get contradiction.

2.18. Let AA be a ring, X=SpecAX=Spec A, f∈Af\in A. Show that ff is nilpotent if and only if D(f)D(f) is empty.
Solution:
Suppose ff is nilpotent. Then fn=0f^n=0 for some positive nn. Then fn∈pf^n\in p (pp is prime ideal). So f∈pf\in p and D(f)D(f) is empty.
Suppose ff is not nilpotent. Then fk≠0f^k\neq0 for any kk. Consider the following multiplicative set,
S={1,f,f2,f3,⋯ }S=\{1,f,f^2,f^3,\cdots\} then we localize to at this set.
Define l:A→Afl:A\rightarrow A_f by x↦x1x\mapsto \frac{x}{1}.
Then Spec(l):Spec(Af)→Spec(A)Spec(l):Spec(A_f)\rightarrow Spec(A)
And we know prime ideals of localization correspnds to prime ideal pp of ring AA such that p∩S=∅p\cap S=\emptyset, that is pp is a prime ideal such that f∉pf\notin p.Therefore, Spec(Af)≅D(f)Spec(A_f)\cong D(f).