\documentclass[11pt]{article}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{listings}
\usepackage{courier}
\usepackage{enumerate}
\usepackage{hyperref}
\usepackage{color}
\definecolor{mylinkcolor}{rgb}{0.5,0.0,0.0}
\definecolor{myurlcolor}{rgb}{0.0,0.0,0.75}
\definecolor{mycitecolor}{rgb}{0.0,0.4,0.0}
\hypersetup{colorlinks=true,urlcolor=myurlcolor,citecolor=mycitecolor,linkcolor=mylinkcolor}
\newcommand{\due}[1]{\hfill{Due: #1}}
\lstset{
	basicstyle=\small\ttfamily,
	keywordstyle=\color{blue},
	language=python,
	xleftmargin=16pt,
}

\textwidth=5.8in
\textheight=9in
\topmargin=-0.5in
\headheight=0in
\headsep=.5in
\hoffset=-.45in
\pagestyle{plain}

\newcommand{\Fp}{\mathbb{F}_p}
\newcommand{\Fq}{\mathbb{F}_q}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Aut}{\mathrm{Aut}}
\newcommand{\fa}{\mathfrak{a}}

\begin{document}
\setlength{\unitlength}{1in}
\begin{center}
\large
\textbf{18.705 Commutative Algebra\hfill Fall~2026}\\\vspace{4pt}
\textbf{Problem Set \#3\due{10/9/2026}}\\\vspace{-6pt}
\normalsize
\begin{picture}(5.8,.1) 
\put(0,0) {\line(1,0){5.8}}
\end{picture}
\end{center}

\noindent
These problems are related to material covered in Lectures 6--8.
\bigskip

\noindent
\textbf{Instructions}: Solve problems 1 and 2 below, then complete the survey problem 3.  Your answer should be in the form of a PDF submitted to \href{https://www.gradescope.com/courses/1394808}{Gradescope} no later than midnight on the date due (do not ask for an extension, the answer is no).  Be sure to include your name somewhere on the PDF.  Each problem is worth 1 point and the grading is binary; unless otherwise specified, any credible attempt will be awarded 1 point.

I recommend using latex to create the PDF, but scanned handwritten solutions are fine provided your handwriting is legible.
For the first two problems collaboration (including with LLMs) is permitted, but I strongly encourage you to first attempt the problems on your own.  Problem 3 should be answered entirely on your own.
\medskip

\noindent
\textbf{Important}: Be sure to use the \href{https://web.mit.edu/18.705/www/13Ed.pdf}{2013 version of Altman--Kleiman}; newer versions do not necessarily use the same numbering.

\subsection*{Problem 1. Self-graded problems from Altman--Kleiman (1 point)}

Read chapters 5, 6, 8, and 9 of \href{https://web.mit.edu/18.705/www/13Ed.pdf}{AK13}.  Lectures 6--8 covered much of the material in chapters 5, 8, and 9, and the first part of chapter 6 formalizes the categorical language (functors, natural transformations, adjoint functors) that we used in Lecture 6; you may skip the material on direct limits in chapters 6 and 7, which is needed only for the proof of Lazard's Theorem (9.24).
Then solve the following~8 exercises in \href{https://web.mit.edu/18.705/www/13Ed.pdf}{AK13} and check your answers against the solution (clicking the exercise number in \href{https://web.mit.edu/18.705/www/13Ed.pdf}{AK13} will take you directly to the solution, be careful not to click prematurely).

\begin{center}
\textbf{4.19}, \textbf{5.29}, \textbf{6.5}, \textbf{8.4}, \textbf{8.12}, \textbf{8.16}, \textbf{9.15}, \textbf{9.28}
\end{center}

Do not include your answers in your Gradescope submission.  Your answer to this problem should instead be a list of 8 positive integers, each counting the number of lines in the solution to the 8 problems above that is printed in AK13.

\subsection*{Problem 2. The ideal and equational criteria for flatness (1 point)}

Let $R$ be a ring and $M$ an $R$-module.  Recall that $M$ is \emph{flat} if $N'\otimes_RM\to N\otimes_RM$ is injective for every inclusion of $R$-modules $N'\subseteq N$, and that a relation $\sum_{i=1}^n r_ix_i=0$ with $r_i\in R$ and $x_i\in M$ is \emph{trivial} if there are $y_1,\ldots,y_m\in M$ and $a_{ij}\in R$ such that
\[
x_i=\sum_{j=1}^m a_{ij}y_j\ \ (1\le i\le n)\qquad\text{and}\qquad \sum_{i=1}^n a_{ij}r_i=0\ \ (1\le j\le m).
\]
Prove the following statements (you can find proofs in \href{https://web.mit.edu/18.705/www/13Ed.pdf}{AK13} and in the \href{https://stacks.math.columbia.edu/tag/00HK}{Stacks Project}, but I encourage you to work them out yourself; the hints below outline one route).
\begin{enumerate}[(a)]
\item $M$ is flat if and only if for every finitely generated ideal $\fa\subseteq R$ the map $\fa\otimes_RM\to M$ induced by the inclusion $\fa\hookrightarrow R$ is injective (equivalently, the map $\fa\otimes_RM\to \fa M$ defined by $r\otimes x\mapsto rx$ is an isomorphism).
\item $M$ is flat if and only if every relation in $M$ is trivial.
\item Every relation in $M$ is trivial if and only if $M$ satisfies the following condition: for every $R$-linear map $\alpha\colon R^n\to M$ and every $k\in\ker\alpha$ there is a factorization $\alpha=\beta\circ\varphi$ with $\varphi\colon R^n\to R^m$ and $\beta\colon R^m\to M$ linear and $\varphi(k)=0$.
\end{enumerate}

\medskip
\noindent
\textbf{Hints}.  For (a), only the ``if'' direction requires proof.
(i) Show that $\fa\otimes_RM\to M$ is injective for \emph{every} ideal $\fa$: each element of $\fa\otimes_RM$ is the image of an element of $\fa_0\otimes_RM$ for some finitely generated ideal $\fa_0\subseteq\fa$.
(ii) Suppose $N=N'+Rz$ and set $I:=\{r\in R: rz\in N'\}$.  Tensor the exact sequence $0\to I\to N'\oplus R\to N\to 0$, in which $r\mapsto(-rz,r)$ and $(n',r)\mapsto n'+rz$, with $M$ and use (i) to show that $N'\otimes_RM\to N\otimes_RM$ is injective.
(iii) Treat the case that $N/N'$ is finitely generated by induction on the number of generators.
(iv) Reduce the general case to (iii).

\noindent
For (b), if $M$ is flat and $\sum_i r_ix_i=0$, tensor the exact sequence $K\to R^n\to \fa\to 0$ with $M$, where $\fa:=(r_1,\ldots,r_n)$ and $K$ is the kernel of the map $R^n\to\fa$ defined by $e_i\mapsto r_i$; use (a) for the converse.

\subsection*{Problem 3. Survey (1 point)}
Answer the following:

\begin{enumerate}
\item How long did it take you to complete this problem set (include everything)?
\item Do you think the pace of the lectures this week was too slow, too fast, or just right?
\item Name one thing you liked and one thing you did not about this pset.
\item Name one thing you liked and one thing you did not about the lectures this week.
\end{enumerate}


\end{document}
