\documentclass[12pt]{article}
\usepackage{fancyhdr,fancybox,amssymb,epsfig, amsmath, latexsym}
\usepackage[all]{xy}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{patterns}
\usetikzlibrary{shapes.geometric}
\usepackage{tkz-graph}
\usepackage{tikz-cd}
\usepackage{enumerate}
\usepackage{multicol}
\usepackage{url}
\usepackage{bm} 

\topmargin=-.5in
\headsep=0.2in
\oddsidemargin=0in
\textwidth=6.7in
\textheight=9.2in
\footskip=.5in


% Useful math macros
\def\ds{\displaystyle}
\def\bold{\bm}     % Change ``bm'' to ''mathbf'' for upright boldface.

\newcommand{\vv}[2]{\begin{bmatrix} #1 \\ #2 \end{bmatrix}}
\newcommand{\vvv}[3]{\begin{bmatrix} #1 \\ #2 \\ #3 \end{bmatrix}}
\newcommand{\vvvv}[4]{\begin{bmatrix} #1 \\ #2 \\ #3 \\ #4 \end{bmatrix}}
\newcommand{\vvvvv}[5]{\begin{bmatrix} #1 \\ #2 \\ #3 \\ #4 \\ #5 \end{bmatrix}}
\def\<{\langle}
\def\>{\rangle}
\newcommand{\ceil}[1] {\left\lceil #1 \right\rceil}
\newcommand{\floor}[1] {\left\lfloor #1 \right\rfloor}
\def\normal{\lhd}
\def\normaleq{\unlhd}
\def\nnormal{\ntriangleleft}
\def\nnormaleq{\ntrianglelefteq}
\def\Dot{\bm{.}}

%\def\subgroup{\leqslant}
%\def\nsubgroup{\nleqslant}
%\def\normal{\leqslant}
%\def\nnormal{\nleqslant}

\newcommand{\rddots}{\rotatebox{90}{$\ddots$}}
\def\setmin{-}

\def\Sum{\sum\limits}
\def\Prod{\prod\limits}
\def\Cap{\mathop\cap\limits}
\def\Cup{\mathop\cup\limits}
\def\Times{\mathop\times\limits}
\def\Oplus{\mathop\oplus\limits}
\def\Lim{\mathop\lim\limits}

\def\And{\wedge}
\def\Or{\vee}
\def\Not{\neg}

\def\longto{\longrightarrow}
\def\into{\hookrightarrow}
\def\longinto{\longhookrightarrow}
\def\onto{\twoheadrightarrow}


\def\A{\mathbb{A}}
\def\C{\mathbb{C}}
\def\F{\mathbb{F}}
\def\HH{\mathbb{H}}
\def\N{\mathbb{N}}
\def\Q{\mathbb{Q}}
\def\R{\mathbb{R}}
\def\Z{\mathbb{Z}}


\DeclareMathOperator{\Id}{Id}
\DeclareMathOperator{\Lcm}{lcm}
\DeclareMathOperator{\del}{\nabla}
\DeclareMathOperator{\Trace}{tr}
\DeclareMathOperator{\Span}{Span}
\DeclareMathOperator{\Image}{Im}
\DeclareMathOperator\Perm{Perm}
\DeclareMathOperator\Char{char}
\DeclareMathOperator\Aut{Aut}
\DeclareMathOperator\Inn{Inn}
\DeclareMathOperator\Out{Out}
\DeclareMathOperator\orb{orb}
\DeclareMathOperator\Orb{Orb}
\DeclareMathOperator\Stab{Stab}
\DeclareMathOperator\stab{stab}
\DeclareMathOperator\Fix{Fix}
\DeclareMathOperator\fix{fix}
\DeclareMathOperator\Syl{Syl}
\DeclareMathOperator\Pre{Pre}
\DeclareMathOperator\Ker{Ker}
\DeclareMathOperator\Sym{Sym}
\DeclareMathOperator\Mat{Mat}
\DeclareMathOperator{\cl}{cl}
\DeclareMathOperator{\GL}{GL}
\DeclareMathOperator{\SL}{SL}
\DeclareMathOperator\PGL{PGL}
\DeclareMathOperator\PSL{PSL}
\DeclareMathOperator\PSU{PSU}
\DeclareMathOperator\PSP{PsP}
\DeclareMathOperator\Heis{Heis}
\DeclareMathOperator\Pauli{Pauli}
\DeclareMathOperator\Dih{D}
\DeclareMathOperator\Dic{Dic}
\DeclareMathOperator\DQ{DQ}
\DeclareMathOperator\SD{SD}
\DeclareMathOperator\SA{SA}
\DeclareMathOperator\AGL{AGL}
\DeclareMathOperator\Gal{Gal}
\DeclareMathOperator\Deg{Deg}
\newcommand{\Nil}{\mathfrak{N}}


%% Categories
\DeclareMathOperator\Hom{Hom}
\DeclareMathOperator\Ob{Ob}
\newcommand{\catname}[1]{{\normalfont\textbf{#1}}}
\newcommand{\Ab}{\catname{Ab}}
\newcommand{\Field}{\catname{Field}}
\newcommand{\Set}{\catname{Set}}
\newcommand{\Grp}{\catname{Grp}}
\newcommand{\Semi}{\catname{Sgp}}
\newcommand{\Ring}{\catname{Ring}}
\newcommand{\Rng}{\catname{Rng}}
\newcommand{\Top}{\catname{Top}}
\newcommand{\Vect}{\catname{Vect}}
\newcommand{\Svl}{\catname{Svl}}
\newcommand\cat{\mathcal{C}}
\newcommand\dat{\mathcal{D}}
\newcommand\eat{\mathcal{E}}
\newcommand\fun{\mathcal{F}}

\DeclareMathOperator\Rect{\mathbf{Rect}}
\DeclareMathOperator\Tri{\mathbf{Tri}}
\DeclareMathOperator\Coin{\mathbf{Coin}}
\DeclareMathOperator\BOX{\mathbf{Box}}
\DeclareMathOperator\Light{\mathbf{Light}}
\DeclareMathOperator\Sq{\mathbf{Sq}}

\DeclareMathOperator\Frieze{\mathbf{Frz}}

% Colors 
\usepackage{xcolor}
\usepackage{color}
\definecolor{darkblue}{rgb}{0, 0, .6}
\definecolor{grey}{rgb}{.7, .7, .7}
\newcommand{\balert}[1]{\textcolor{blue}{#1}}
\newcommand{\galert}[1]{\textcolor{darkgreen}{#1}}
\newcommand{\Palert}[1]{\textcolor{amethyst}{#1}}
\newcommand{\Alert}[1]{\textcolor{Red}{#1}}
\newcommand{\Balert}[1]{\textcolor{Blue}{#1}}
\newcommand{\Galert}[1]{\textcolor{Green}{#1}}



%\hypersetup{colorlinks=true,linkcolor=darkblue,anchorcolor=darkblue,
%  citecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue,
%  pdftitle={},pdfauthor={}
%}                               %% THIS CAUSES COMPILER ERROR
\colorlet{lightred}{red!30!white}
\colorlet{lightblue}{blue!30!white}
\colorlet{lightyellow}{yellow!30!white}
\colorlet{keylime}{green!10!white}
\colorlet{darkgreen}{green!50!black}
\colorlet{midgreen}{green!70!black}
\colorlet{lightgreen}{darkgreen!30!white}
\colorlet{lightpurple}{violet!60!white}
\colorlet{darkgrey}{black!70}
\colorlet{midgrey}{black!50}
\definecolor{Red}{rgb}{.9,0,0}
\definecolor{Blue}{rgb}{0,0,.9}
\definecolor{Green}{HTML}{7EC636}
\definecolor{Purple}{HTML}{D287FF} % GoodNotes 0.82 .53 1
\definecolor{Gold}{rgb}{.83,.67,.08}

\definecolor{conj-purple}{HTML}{E4B7FF}
\definecolor{conj-orange}{HTML}{FFD4B7}

\colorlet{lred}{red!50!white}
\definecolor{lblue}{rgb}{0.60, 0.75, 1}
\colorlet{lgreen}{green!40!white}
\colorlet{lyellow}{yellow!30!white}
%\definecolor{lpurple}{rgb}{0.6 0.35 0.8}
\definecolor{lpurple}{rgb}{0.7 0.45 0.9}
\colorlet{lorange}{orange!50!white}
\definecolor{lightgrey}{rgb}{.85, .85, .85}
\definecolor{faded}{rgb}{.75,.75,.75}
\definecolor{midgrey}{rgb}{.5,.5,.5}
%\definecolor{midgrey}{rgb}{.35, .35, .35}
%\definecolor{amethyst}{rgb}{0.6 0.4 0.8}
\definecolor{amethyst}{rgb}{0.54 0.17 0.89}
\definecolor{amber}{rgb}{1.0 0.49 0.0}
\definecolor{turq}{rgb}{0.12 0.69 0.71}

\colorlet{lightestgray}{gray!15!white}

\colorlet{lightestblue}{blue!15!white}
\colorlet{midblue}{blue!45!white}

\colorlet{lightestred}{red!15!white}
\colorlet{midred}{red!45!white}
\colorlet{lightestgreen}{darkgreen!15!white}
\colorlet{lightestpurple}{amethyst!20!white}



% COLORS FOR MULTIPLICATION TABLES  
\colorlet{tred}{red!70!white}
\colorlet{tblue}{blue!60!white}     %(higher number is more faded)
\colorlet{tgreen}{green!55!black}   %(higher number is brighter)
\colorlet{tyellow}{yellow!60!white}
\colorlet{tlime}{green!80!white}
\colorlet{tpink}{pink}
\colorlet{tpurple}{lpurple}
\colorlet{torange}{orange}

\newcommand*{\n}{5}   % counter for Cayley tables

%% CAYLEY DIAGRAM GLOBAL DEFAULTS
\tikzstyle{v} = [circle, draw, fill=lightgrey,inner sep=0pt, 
  minimum size=6mm]
\tikzstyle{r} = [draw, very thick, Red, -stealth]        % Red --->
\tikzstyle{b} = [draw, very thick, Blue, -stealth]       % Blue --->
\tikzstyle{g} = [draw, very thick, Green, -stealth]  % Green --->
\tikzstyle{p} = [draw, very thick, Purple, -stealth]     % Purple --->
\tikzstyle{rr} = [draw, very thick, Red]                 % Red ----
\tikzstyle{bb} = [draw, very thick, Blue]                % Blue ----
\tikzstyle{gg} = [draw, very thick, Green]           % Green ----
\tikzstyle{oo} = [draw, very thick, orange]           % Purple ----
\tikzstyle{pp} = [draw, very thick, Purple]           % Purple ----

\tikzstyle{R} = [draw, very thick, Red, -stealth']        % Red --->
\tikzstyle{B} = [draw, very thick, Blue, -stealth']       % Blue --->
\tikzstyle{G} = [draw, very thick, Green, -stealth']  % Green --->

\tikzset{r/.style={draw, very thick, Red, -stealth}}        % Red --->
\tikzset{R/.style={draw, very thick, Red, -stealth'}}        % Red --->

\tikzset{v/.style={circle, draw, fill=lightgrey,inner sep=0pt, 
  minimum size=6mm}}

\renewcommand\labelitemi{\rule[0.12em]{0.4em}{0.4em}}
\renewcommand\labelitemii{\normalfont\bfseries \rule[0.15em]{0.3em}{0.3em}}
\renewcommand\labelitemiii{\textasteriskcentered}
\renewcommand\labelitemiv{\textperiodcentered}

\renewcommand{\footrulewidth}{1pt}
\newenvironment{proof}[1][Proof.]{\smallskip\begin{trivlist}
    \item[\hskip \labelsep {\sffamily #1}]}{\qed\end{trivlist}\bigskip}
\newenvironment{sol}[1][Solution.]{\smallskip\begin{trivlist}
    \item[\hskip \labelsep {\sffamily #1}]}{\qed\end{trivlist}\bigskip}
\newenvironment{fminipage}%
{\setlength{\fboxsep}{15pt}\begin{Sbox}\begin{minipage}}%
{\end{minipage}\end{Sbox}\fbox{\TheSbox}}
\newcommand{\qed}{\hfill \ensuremath{\Box}}
\newcommand{\disp}{\displaystyle}


\pagestyle{fancy} \lhead{{\sf Homework 11 $|$ Due November 14 (Tuesday)
}} \rhead{\thepage} \cfoot{{\sf Math 8510 $|$ Abstract Algebra $|$
    Fall 2023 $|$ M.~Macauley}}

\begin{document}

$\;$ \vspace{-6mm}

\begin{enumerate}

  %%---------------------------------------------------------------------

\item Construct the Cayley tables, Cayley graphs, and subring lattices
  of the finite field $\F_9\cong\Z_3[x]/(x^2+x+2)$. Examples for the
  finite fields
  \[
  \F_4\cong\Z_2[x]/(x^2+x+1)\qquad\text{and}\qquad
  \F_8\cong\Z_2[x]/(x^3+x+1)
  \]
  are shown below. \vspace{-4mm}
  
  %% Finite field F_8, multiplication
  \[
  \tikzstyle{e-pp} = [draw, ultra thick, tpink]
  \begin{tikzpicture}[scale=1]
    %%
    \colorlet{color-000}{tpink}
    \colorlet{color-100}{tyellow}
    \colorlet{color-010}{tred}
    \colorlet{color-110}{tblue}
    \colorlet{color-001}{tpurple}
    \colorlet{color-101}{torange}
    \colorlet{color-011}{tgreen}
    \colorlet{color-111}{tlime}
    %%
    \colorlet{color-0}{tred}
    \colorlet{color-1}{tyellow}
    \colorlet{color-x}{tred}
    \colorlet{color-x+1}{tblue}
    %%
    \begin{scope}[shift={(,0)}]
      \path[fill=color-1] (-.1,3) rectangle ++(1,1);
      \path[fill=color-x] (-.1,2) rectangle ++(1,1);
      \path[fill=color-x+1] (-.1,1) rectangle ++(1,1);
      %%
      \path[fill=color-1] (1,4.1) rectangle ++(1,.9);
      \path[fill=color-x] (2,4.1) rectangle ++(1,.9);
      \path[fill=color-x+1] (3,4.1) rectangle ++(1,.9);
      %%
      \path[fill=color-x+1] (2,2) rectangle ++(1,1);
      \path[fill=color-x+1] (3,3) rectangle ++(1,1);
      %%
      \path[fill=color-1] (1,3) rectangle ++(1,1);
      \path[fill=color-x] (3,1) rectangle ++(1,1);
      %%
      \path[fill=color-x] (1,2) rectangle ++(1,1);
      \path[fill=color-1] (2,1) rectangle ++(1,1);
      %%
      \path[fill=color-x+1] (1,1) rectangle ++(1,1);
      \path[fill=color-x] (2,3) rectangle ++(1,1);
      \path[fill=color-1] (3,2) rectangle ++(1,1);
      %%
      \foreach \i in {1,2,3,4} {
        \draw [very thin] (\i,1) -- (\i,\n-1); 
        \draw [very thin] (\i,\n-1+.1) -- (\i,\n); 
        \draw [very thin] (1,\i) -- (\n-1,\i); 
        \draw [very thin] (-.1,\i) -- (.9,\i); 
      } 
      \draw [very thin] (1,\n-1+.1) rectangle (\n-1,\n);
      \draw [very thin] (-.1,1) rectangle (.9,\n-1); 
      \node at (0.4,4.6) {\Large $\times$};
      \node at (0.4,3.5) {$1$};
      \node at (0.4,2.5) {$x$};
      \node at (0.4,1.5) {$x\!+\!1$};
      \node at (1.5,4.5) {$1$}; 
      \node at (2.5,4.5) {$x$};
      \node at (3.5,4.5) {$x\!+\!1$};
      %%
      \node at (1.5,3.5) {$1$};
      \node at (1.5,2.5) {$x$};
      \node at (1.5,1.5) {$x\!+\!1$};
      %%
      \node at (2.5,3.5) {$x$};
      \node at (2.5,2.5) {$x\!+\!1$};
      \node at (2.5,1.5) {$1$};
      %%
      \node at (3.5,3.5) {$x\!+\!1$};
      \node at (3.5,2.5) {$1$};
      \node at (3.5,1.5) {$x$};
    \end{scope}
    %%
    \begin{scope}[scale=1,shift={(6.5,0)}]
      \renewcommand*{\n}{8}%
      \tikzstyle{every node}=[font=\footnotesize]
      %% Left column of table (header)
      \path[fill=color-100] (-.1,7) rectangle ++(1,1);
      \path[fill=color-010] (-.1,6) rectangle ++(1,1);
      \path[fill=color-110] (-.1,5) rectangle ++(1,1);
      \path[fill=color-001] (-.1,4) rectangle ++(1,1);
      \path[fill=color-101] (-.1,3) rectangle ++(1,1);
      \path[fill=color-011] (-.1,2) rectangle ++(1,1);
      \path[fill=color-111] (-.1,1) rectangle ++(1,1);
      %% Top row of table (header)
      \path[fill=color-100] (1,8.1) rectangle ++(1,1);
      \path[fill=color-010] (2,8.1) rectangle ++(1,1);
      \path[fill=color-110] (3,8.1) rectangle ++(1,1);
      \path[fill=color-001] (4,8.1) rectangle ++(1,1);
      \path[fill=color-101] (5,8.1) rectangle ++(1,1);
      \path[fill=color-011] (6,8.1) rectangle ++(1,1);
      \path[fill=color-111] (7,8.1) rectangle ++(1,1);
      %
      \path[fill=color-100] (1,7) rectangle ++(1,1);
      \path[fill=color-010] (2,7) rectangle ++(1,1);
      \path[fill=color-110] (3,7) rectangle ++(1,1);
      \path[fill=color-001] (4,7) rectangle ++(1,1);
      \path[fill=color-101] (5,7) rectangle ++(1,1);
      \path[fill=color-011] (6,7) rectangle ++(1,1);
      \path[fill=color-111] (7,7) rectangle ++(1,1);
      %
      \path[fill=color-010] (1,6) rectangle ++(1,1);
      \path[fill=color-001] (2,6) rectangle ++(1,1);
      \path[fill=color-011] (3,6) rectangle ++(1,1);
      \path[fill=color-110] (4,6) rectangle ++(1,1);
      \path[fill=color-100] (5,6) rectangle ++(1,1);
      \path[fill=color-111] (6,6) rectangle ++(1,1);
      \path[fill=color-101] (7,6) rectangle ++(1,1);
      %
      \path[fill=color-110] (1,5) rectangle ++(1,1);
      \path[fill=color-011] (2,5) rectangle ++(1,1);
      \path[fill=color-101] (3,5) rectangle ++(1,1);
      \path[fill=color-111] (4,5) rectangle ++(1,1);
      \path[fill=color-001] (5,5) rectangle ++(1,1);
      \path[fill=color-100] (6,5) rectangle ++(1,1);
      \path[fill=color-010] (7,5) rectangle ++(1,1);
      %
      \path[fill=color-001] (1,4) rectangle ++(1,1);
      \path[fill=color-110] (2,4) rectangle ++(1,1);
      \path[fill=color-111] (3,4) rectangle ++(1,1);
      \path[fill=color-011] (4,4) rectangle ++(1,1);
      \path[fill=color-010] (5,4) rectangle ++(1,1);
      \path[fill=color-101] (6,4) rectangle ++(1,1);
      \path[fill=color-100] (7,4) rectangle ++(1,1);
      %
      \path[fill=color-101] (1,3) rectangle ++(1,1);
      \path[fill=color-100] (2,3) rectangle ++(1,1);
      \path[fill=color-001] (3,3) rectangle ++(1,1);
      \path[fill=color-010] (4,3) rectangle ++(1,1);
      \path[fill=color-111] (5,3) rectangle ++(1,1);
      \path[fill=color-110] (6,3) rectangle ++(1,1);
      \path[fill=color-011] (7,3) rectangle ++(1,1);
      %
      \path[fill=color-011] (1,2) rectangle ++(1,1);
      \path[fill=color-111] (2,2) rectangle ++(1,1);
      \path[fill=color-100] (3,2) rectangle ++(1,1);
      \path[fill=color-101] (4,2) rectangle ++(1,1);
      \path[fill=color-110] (5,2) rectangle ++(1,1);
      \path[fill=color-010] (6,2) rectangle ++(1,1);
      \path[fill=color-001] (7,2) rectangle ++(1,1);
      %
      \path[fill=color-111] (1,1) rectangle ++(1,1);
      \path[fill=color-101] (2,1) rectangle ++(1,1);
      \path[fill=color-010] (3,1) rectangle ++(1,1);
      \path[fill=color-100] (4,1) rectangle ++(1,1);
      \path[fill=color-011] (5,1) rectangle ++(1,1);
      \path[fill=color-001] (6,1) rectangle ++(1,1);
      \path[fill=color-110] (7,1) rectangle ++(1,1);
      %%
      \foreach \i in {1,...,\n} {
        \draw [very thin] (\i,1) -- (\i,\n); 
        \draw [very thin] (\i,\n+.1) -- (\i,\n+1.1); 
        \draw [very thin] (1,\i) -- (\n,\i); 
        \draw [very thin] (-.1,\i) -- (.9,\i); 
      }
      \draw [very thin] (1,\n+.1) rectangle (\n,\n+1.1);
      \draw [very thin] (-.1,1) rectangle (.9,\n);
      %%
      \node at (0.4,8.6) {\Large $\times$};
      \node at (0.4,7.5) {$1$};
      \node at (0.4,6.5) {$x$};
      \node at (0.4,5.5) {$x\!+\!1$}; 
      \node at (0.4,4.5) {$x^2$}; 
      \node at (0.4,3.5) {$x^2\!+\!1$};
      \node at (0.4,2.5) {$x^2\!+\!x$};
      \node at (0.4,1.5) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$};
      %% 
      \node at (1.5,8.6) {$1$};
      \node at (2.5,8.6) {$x$};
      \node at (3.5,8.6) {$x\!+\!1$}; 
      \node at (4.5,8.6) {$x^2$}; 
      \node at (5.5,8.6) {$x^2\!+\!1$};
      \node at (6.5,8.6) {$x^2\!+\!x$};
      \node at (7.5,8.6) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$};
      %%%%%%
      \node at (1.5,7.5) {$1$};
      \node at (1.5,6.5) {$x$};
      \node at (1.5,5.5) {$x\!+\!1$}; 
      \node at (1.5,4.5) {$x^2$}; 
      \node at (1.5,3.5) {$x^2\!+\!1$};
      \node at (1.5,2.5) {$x^2\!+\!x$};
      \node at (1.5,1.5) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$};
      %%
      \node at (2.5,7.5) {$x$};
      \node at (2.5,6.5) {$x^2$};
      \node at (2.5,5.5) {$x^2\!+\!x$};
      \node at (2.5,4.5) {$x\!+\!1$}; 
      \node at (2.5,3.5) {$1$}; 
      \node at (2.5,2.5) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$};
      \node at (2.5,1.5) {$x^2\!+\!1$};
      %%
      \node at (3.5,7.5) {$x\!+\!1$};
      \node at (3.5,6.5) {$x^2\!+\!x$};
      \node at (3.5,5.5) {$x^2\!+\!1$};
      \node at (3.5,4.5) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$};
      \node at (3.5,3.5) {$x^2$};
      \node at (3.5,2.5) {$1$};
      \node at (3.5,1.5) {$x$};
      %%
      \node at (4.5,7.5) {$x^2$};
      \node at (4.5,6.5) {$x\!+\!1$};
      \node at (4.5,5.5) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$}; 
      \node at (4.5,4.5) {$x^2\!+\!x$};
      \node at (4.5,3.5) {$x$};
      \node at (4.5,2.5) {$x^2\!+\!1$};
      \node at (4.5,1.5) {$1$};
      %%
      \node at (5.5,7.5) {$x^2\!+\!1$};
      \node at (5.5,6.5) {$1$};
      \node at (5.5,5.5) {$x^2$};
      \node at (5.5,4.5) {$x$}; 
      \node at (5.5,3.5) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$};
      \node at (5.5,2.5)  {$x\!+\!1$};
      \node at (5.5,1.5) {$x^2\!+\!x$};
      %%
      \node at (6.5,7.5) {$x^2\!+\!x$};
      \node at (6.5,6.5) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$};
      \node at (6.5,5.5) {$1$}; 
      \node at (6.5,4.5) {$x^2\!+\!1$}; 
      \node at (6.5,3.5) {$x\!+\!1$};
      \node at (6.5,2.5) {$x$};
      \node at (6.5,1.5) {$x^2$};
      %%
      \node at (7.5,7.5) {\tiny $x^2\hspace{-1mm}+\hspace{-1mm}x\hspace{-1mm}+\hspace{-1mm}1$};
      \node at (7.5,6.5) {$x^2\!+\!1$};
      \node at (7.5,5.5) {$x$}; 
      \node at (7.5,4.5) {$1$}; 
      \node at (7.5,3.5) {$x^2\!+\!x$};
      \node at (7.5,2.5) {$x^2$};
      \node at (7.5,1.5) {$x+1$};
      %%
    \end{scope}
    %%
  \end{tikzpicture}
  \]
  
  \vspace{-5mm}
  
  \[
  \colorlet{Ideal}{Blue}
  \colorlet{Subring}{Red}
  \colorlet{Neither}{faded}
  \begin{tikzpicture}[shorten >= -3pt, shorten <= -3pt, scale=2]
    \begin{scope}[shift={(0,0)}]
      \tikzstyle{every node}=[font=\normalsize]
      \node[Ideal] (G) at (0,2) {$\F_4$};
      \node[Neither] (a) at (-1,1) {$\Z_2$};
      \node[Subring] (b) at (0,1) {$\F_2$};
      \node[Neither] (c) at (1,1) {$\Z_2$};
      \node[Ideal] (0) at (0,0) {$\<0\>$};
      \draw[faded] (G) to (b); \draw[faded] (G) to (a); \draw[faded] (G) to (c);
      \draw (0) to (b); \draw[faded] (0) to (a); \draw[faded] (0) to (c);
    \end{scope}
    %%
    \begin{scope}[shift={(4,0)},xscale=.8]
      \tikzstyle{every node}=[font=\normalsize]
      \node[Ideal] (G) at (0,3) {\normalsize $\F_8$};
      %%
      \node[Neither] (010-001) at (-3,2) {$\Z_2^2$}; % 010,001,011
      \node[Neither] (100-001) at (-2,2) {$\Z_2^2$}; % 100,001,101    
      \node[Neither] (100-010) at (-1,2) {$\Z_2^2$}; % 100,010,110
      \node[Neither] (100-011) at (0,2) {$\Z_2^2$};  % 100,011,111
      \node[Neither] (010-101) at (1,2) {$\Z_2^2$}; % 010,101,111
      \node[Neither] (110-001) at (2,2) {$\Z_2^2$};  % 110,001,111
      \node[Neither] (110-011) at (3,2) {$\Z_2^2$};  % 110,011,101
      %%
      \node[Neither] (100) at (-3,1) {$\Z_2$};
      \node[Neither] (010) at (-2,1) {$\Z_2$};
      \node[Neither] (001) at (-1,1) {$\Z_2$};
      \node[Subring] (011) at (0,1) {$\F_2$};
      \node[Neither] (101) at (1,1) {$\Z_2$};
      \node[Neither] (110) at (2,1) {$\Z_2$};
      \node[Neither] (111) at (3,1) {$\Z_2$};
      %%
      \node[Ideal] (000) at (0,0) {$\<0\>$};
      %%
      \draw[faded] (000) to (100); \draw[faded] (000) to (010);
      \draw[faded] (000) to (110); \draw[faded] (000) to (101);
      \draw[faded] (000) to (001); \draw (000) to (011);
      \draw[faded] (000) to (111);
      %%
      \draw[faded] (100)to(100-010); \draw[faded] (100)to(100-001);
      \draw[faded] (100)to(100-011); \draw[faded] (010)to(100-010);
      \draw[faded] (010)to(010-001); \draw[faded] (010)to(010-101);
      \draw[faded] (110)to(100-010); \draw[faded] (110)to(110-001);
      \draw[faded] (110)to(110-011); \draw[faded] (101)to(100-001);
      \draw[faded](101)to(010-101); \draw[faded] (101)to(110-011);
      \draw[faded](111)to(100-011); \draw[faded](111)to(010-101);
      \draw[faded] (111)to(110-001); \draw[faded](011)to(010-001);
      \draw[faded] (011)to(100-011); \draw[faded] (011)to(110-011);
      \draw[faded](001)to(100-001); \draw[faded](001)to(010-001);
      \draw[faded] (001)to(110-001);
      %%
      \draw[faded] (100-010) to (G); \draw[faded] (100-001) to (G);
      \draw[faded] (010-001) to (G); \draw[faded] (100-011) to (G);
      \draw[faded] (010-101) to (G); \draw[faded] (110-001) to (G);
      \draw[faded] (110-011) to (G);
    \end{scope}
  \end{tikzpicture}
  \]
  
  \vspace{-4mm}
  
  
  \tikzstyle{g-dashed} = [draw,very thick, darkgreen, dashed, -stealth]
  \tikzstyle{p} = [draw, very thick, dashed, amethyst,-stealth]
  \[
  \begin{tikzpicture}[scale=1]
    \begin{scope}[shift={(0,0)},scale=1.2]
      \tikzstyle{v-big} = [circle, draw, fill=lightgrey,inner sep=0pt, 
        minimum size=7mm]
      \tikzstyle{every node}=[font=\footnotesize]
      \node (0) at (135:1.5) [v-big] {$0$};
      \node (1) at (45:1.5) [v-big] {$1$};
      \node (3) at (-135:1.5) [v-big] {$x$};
      \node (2) at (-45:1.5) [v-big] {\scriptsize $x\!+\!1$};   
      \draw [bb] (0) to (1);
      \draw [bb] (2) to (3);
      \draw [rr] (0) to (3);
      \draw [rr] (1) to (2);
      \draw [g-dashed,bend right=20] (1) to (3);
      \draw [g-dashed,bend right=40] (2) to (1);
      \draw [g-dashed,bend right=40] (3) to (2);
    \end{scope}
    %%
    \begin{scope}[shift={(5,-1.2)},scale=1.2]
      \tikzstyle{every node}=[font=\scriptsize]
      \tikzstyle{v-big} = [circle, draw, fill=lightgrey,inner sep=0pt, 
        minimum size=7mm]
      \node (2) at (0,0) [v-big] {$x^2\!\!+\!1$};
      \node (0) at (-0.1,2) [v-big] {$1$};
      \node (3) at (2,-.4) [v-big] {\tiny \scalebox{.85}{$x^2\!\!+\!\!x\!\!+\!\!1$}};
      \node (1) at (2.1,1.7) [v-big] {$x\!+\!1$};
      \node (6) at (1,1.1) [v-big] {$x^2$};
      \node (4) at (.9,3) [v-big] {$0$};
      \node (7) at (2.7,.8) [v-big] {$x^2\!\!+\!x$};
      \node (5) at (2.8,2.8) [v-big] {$x$}; 
      \draw [rr] (0) to (1);
      \draw [rr] (2) to (3);
      \draw [bb] (0) to (4);
      \draw [bb] (1) to (5);
      \draw [bb] (2) to (6);
      \draw [bb] (3) to (7);
      \draw [gg] (0) to (2);
      \draw [gg] (1) to (3);
      \draw [rr] (4) to (5);
      \draw [rr] (6) to (7);
      \draw [gg] (4) to (6);
      \draw [gg] (5) to (7);
      \draw [p,bend left=10] (0) to (5);
      \draw [p,bend right=15] (5) to (6);
      \draw [p,bend left=0] (6) to (1);
      \draw [p,bend left=0] (1) to (7);
      \draw [p,bend left=25] (7) to (3);
      \draw [p,bend left=20] (3) to (2);
      \draw [p,bend left=20] (2) to (0);
    \end{scope}
  \end{tikzpicture}
  \]

  %%---------------------------------------------------------------------
  
\item Let $f:R\rightarrow S$ be a ring homomorphism between
  commutative rings.
  \begin{enumerate} 
  \item If $f$ is surjective and $I$ is an ideal of $R$, show that
    $f(I)$ is an ideal of $S$.
  \item Show that Part~(a) is not true in general when $f$ is not
    surjective.
  \item Show that if $f$ is surjective and $R$ is a field, then $S$ is
    a field as well. \\
  \end{enumerate}

  %%---------------------------------------------------------------------
  
\item Use Zorn's lemma to show that the ring $\R$ contains a subring
  $A$ containing $1$ that is maximal with respect to the property that
  $1/2\not\in A$. \\
  
  %%---------------------------------------------------------------------
  
\item Let $R$ be a commutative ring with unity.
  \begin{enumerate}
    \item Show that if $x$ is contained in every maximal ideal, then
      $1+x$ is a unit.
    \item A ring is \emph{local} if it has a unique maximal
      ideal. Show that $R$ is local if and only if the non-units form
      an ideal.
    \item Characterize units and maximal ideals of the following ring,
      where $p$ is a fixed prime.
      \[
      R=\big\{\tfrac{a}{b}\mid a,b\in\Z,\;(a,b)=1,\; p\nmid b\big\}\subseteq\Q,
      \] \smallskip
  \end{enumerate}
      
      %%---------------------------------------------------------------------
      
\item Let $R$ be a commutative ring with $1$. The \emph{radical}
  of an ideal $I\subseteq R$ is the set
  \[
  \sqrt{I}=\big\{x\in R\mid x^n\in I\text{ for some } n\in\N\big\},
  \]
  and $I$ is a \emph{radical ideal} if $I=\sqrt{I}$. An ideal
  $I\subsetneq R$ is \emph{primary} if $ab\in I$ implies $a\in I$ or
  $b^n\in I$ for some $n\in\N$.
  \begin{enumerate}
  \item Show that an ideal $I$ is prime if and only if it is primary
    and radical.
  \item Show that the radical of a primary ideal must be prime.
  \item Show that $I$ is primary if and only if all zero-divisors in
    $R/I$ are nilpotent.
  \item Give an example to show that, in general, there are primary
    ideals which are not prime powers. 
  \end{enumerate}

  %%---------------------------------------------------------------------
 
\end{enumerate}

\end{document}
