Rings

Definition (ring) open_in_new

A ring is a quintuple $(R, +, \cdot, 0_R, 1_R)$ where

  • $R$ is a set,

  • $0_R, 1_R \in R$,

  • $+: R\times R\to R$ is the addition, and

  • $\cdot : R\times R\to R$ is the multiplication

such that

  1. $(R, +, 0_R)$ is an abelian group;

  2. $(R, \cdot, 1_R)$ is a monoid, i.e.

    • $\cdot$ is associative: $a\cdot (b\cdot c) = (a\cdot b) \cdot c$;

    • $1_R$ is the multiplicative identity: $1_R \cdot a = a\cdot 1_R = a$;

  3. multiplication is distributive over addition:

    • $a\cdot (b+c) = a\cdot b + a\cdot c$;

    • $(a+b)\cdot c = a\cdot b + a\cdot c$.


  • In this course, all rings are commutative, i.e. $a\cdot b = b\cdot a$.

  • $r\cdot 0_R = 0_R$. (Derivation)

  • $1_R = 0_R$ iff $R$ is the zero ring $\set{0}$. (Derivation)

Definition (subring) open_in_new

A subset $S$ of a ring $R$ is called a subring, denoted as $S\leq R$, if

  • $0_R, 1_R \in S$;

  • $s_1 + s_2\in S$ and $s_1\cdot s_2 \in S$ for all $s_1, s_2\in S$; and

  • $(S, +, \cdot , 0_R, 1_R)$ is a ring.

Examples of rings

Definition (unit) open_in_new

Let $R$ be a ring.

An element $u\in R$ is called a unit if it has a multiplicative inverse, i.e. there exists $v\in R$ such that $u\cdot v = 1_R$.

Definition (field) open_in_new

A ring $R$ is called a field if $R$ is non-zero and every non-zero element of $R$ is a unit.

Definition (direct product of rings) open_in_new

Let $R$ and $S$ be rings. Their direct product is the ring $R\times S = \sb{(r,s)}{r\in R, s\in S}$ with operations $$ \begin{align*} (r_1, s_1) + (r_2, s_2) ={}& (r_1 + r_2, s_1 + s_2), \\ (r_1, s_1) \cdot (r_2, s_2) ={}& (r_1 \cdot r_2, s_1 \cdot s_2), \\ \end{align*} $$

Definition (ring homomorphism, isomorphism) open_in_new

Let $R$ and $S$ be rings.

A function $f: R\to S$ is called a ring homomorphism if for all $r_1,r_2\in R$,

  1. $f(r_1 + r_2) = f(r_1) + f(r_2)$;

  2. $f(0_R) = 0_S$;

  3. $f(r_1\cdot r_2) = f(r_1) \cdot f(r_2)$;

  4. $f(1_R) = 1_S$.

A bijective ring homomorphism is called a ring isomorphism.

Definition (ideal) open_in_new

Let $R$ be a ring.

A subset $I\subseteq R$ is called an ideal, written as $I\lhd R$, if

  1. $I$ is a subgroup under addition;

  2. (absorbing property) for all $a\in I$ and $b\in R$, we have $ab\in I$.


  • Since addition is commutative, $I$ is a normal subgroup.

  • If $I$ contains a unit, then $I = R$. (Derivation) In particular:

Definition (ideal generated by a set, principal ideal) open_in_new

Let $R$ be a ring and $A\subseteq R$ be a subset.

The ideal generated by $A$ is the set of all finite $R$-linear combinations of $A$ $$ \begin{align*} (A) = \sb{\sum_{a\in A} r_a a}{r_a\in R \text{, non-zero for at most finitely many $a$}}. \end{align*} $$

An ideal $I\lhd R$ is said to be principal if $I = (r)$ for some $r\in R$.

Definition (quotient ring) open_in_new

Let $I\lhd R$ be an ideal.

The quotient ring $R/I = \sb{r+I}{r\in R}$ is the set of cosets with $0_{R/I} = 0_R + I$, $1_{R/I} = 1_R + I$ and operations $$ \begin{align*} (r_1 + I) + (r_2 + I) ={}& (r_1 + r_2) + I, \\ (r_1 + I) \cdot (r_2 + I) ={}& (r_1 \cdot r_2) + I. \end{align*} $$

Proof that this is a ring

  • By definition, the function $f: R\to R/I$ sending $r\mapsto r+I$ is a ring homomorphism.

Isomorphism theorems for rings open_in_new

Theorem (first isomorphism theorem for rings) open_in_new

Let $ϕ: R\to S$ be a ring homomorphism.

Then $\ker ϕ$ $\lhd$ $R$, and $$ \begin{align*} f:\quad R/\ker(ϕ) &\to \im(ϕ) \leq S \\ r + \ker(ϕ) &\mapsto ϕ(r) \end{align*} $$ is a well-defined ring isomorphism.

Proof

Theorem (second isomorphism theorem for rings) open_in_new

Let $R$ be a ring, $S\leq R$ be a subring, and $I\lhd R$ be an ideal. Then

  • $S + I\leq R$ is a subring of $R$;

  • $S\cap I \lhd S$ is an ideal of $S$; and

  • $(S+I)/I \isom S/(S\cap I)$.

Proof

Theorem (correspondence theorem for rings) open_in_new

Let $R$ be a ring and $I\lhd R$ be an ideal. There is a bijection $$ \begin{align*} \set{\text{subrings of $R$ containing $I$}} &\xleftrightarrow{\quad} \set{\text{subrings of $R/I$}} \\ \end{align*} $$ and a bijection $$ \begin{align*} \set{\text{ideals of $R$ containing $I$}} &\xleftrightarrow{\quad} \set{\text{ideals of $R/I$}} \\ \end{align*} $$ given by $$ \begin{align*} S &\shortmid\!\xrightarrow{\quad} S/I \\ \sb{r\in R}{r+I \in L} &\xleftarrow{\quad}\!\shortmid L. \end{align*} $$

Theorem (third isomorphism theorem for rings) open_in_new

Let $R$ be a ring, $I\lhd R$ and $J\lhd R$ with $I\subseteq J$. Then $$ \begin{align*} ^{\large (R/I)}/_{\large (J/I)} \isom R/J. \end{align*} $$

Proof

Definition (characteristic of a ring) open_in_new

The characteristic of a ring $R$ is the non-negative integer $n$ such that $n\Z\lhd \Z$ is the kernel of the unique ring homomorphism $\Z\to R$.

Integral domains open_in_new

Definition (integral domain) open_in_new

Let $R$ be a ring.

An element $a\in R$ is called a zero divisor if

  1. $a\neq 0$; and

  2. there exists $b\in R\setminus \set{0}$ such that $ab=0$.

$R$ is called an integral domain if

  1. $R\neq \set{0}$; and

  2. it has no zero divisors, i.e. for all $a,b\in R$, $$ \begin{align*} ab = 0\implies a=0 \quad \text{or} \quad b=0. \end{align*} $$

Lemma (finite integral domain is a field) open_in_new

If $R$ is an integral domain that is finite, then $R$ is a field.

Proof

Definition (field of fractions) open_in_new

Let $R$ be an integral domain.

A field of fractions for $R$ is a field $F$ such that

  1. $R\leq F$ is a subring; and

  2. every $λ\in F$ can be written as $ab\inv$, where $a,b\in R$ and $b\inv$ is the multiplicative inverse in $F$.

Theorem (existence of field of fractions) open_in_new

Every integral domain has a field of fractions.

Proof

Divisibility in rings open_in_new

Definition (maximum ideal) open_in_new

An ideal $I\lhd R$ of a ring is called maximal if

  1. $I\neq R$; and

  2. for any $J\lhd R$, $$ \begin{align*} I\subseteq J\subseteq R \implies J=I \quad \text{or} \quad J=R. \end{align*} $$

  • A maximal ideal always exists for any ring, a consequence of Zorn's lemma.

Proposition (ideal is maximal iff quotient is a field) open_in_new

Let $R$ be a ring and $I\lhd R$ be an ideal.

$I$ is maximal iff $R/I$ is a field.

Proof

Definition (prime ideal) open_in_new

An ideal $I\lhd R$ of a ring is called prime if

  1. $I\neq R$; and

  2. for all $a,b\in R$, $$ \begin{align*} ab\in I \implies a\in I \quad \text{or} \quad b\in I. \end{align*} $$

Proposition (ideal is prime iff quotient is an integral domain) open_in_new

Let $R$ be a ring and $I\lhd R$ be an ideal.

$I$ is prime iff $R/I$ is a integral domain.

Proof

Corollary (maximal ideals are prime) open_in_new

If $R$ is a ring and $I\lhd R$ is maximal, then $I$ is prime.

Proof: $I$ is maximal $\iff$ $R/I$ is a field $\implies$ $R/I$ is an integral domain $\iff$ $I$ is prime.

Definition (division, associates) open_in_new

Let $R$ be a ring, and let $a,b\in R$ be elements.

We say $b$ divides $a$, written as $b\mid a$, if equivalently

  • $a = bc$ for some $c\in R$;

  • $(a)$ $\subseteq (b)$.

We say $a,b$ are associates if equivalently

  • $a=bc$ for some unit $c\in R$;

  • $a\mid b$ and $b\mid a$;

  • $(a)=(b)$.

Definition (irreducible) open_in_new

Let $R$ be a ring. An element $a\in R$ is said to be irreducible if

  1. $a\neq 0$;

  2. $a$ is not a unit; and

  3. for all $x,y\in R$, if $a=xy$, then $x$ or $y$ is a unit.

Definition (prime element) open_in_new

Let $R$ be a ring. An element $p\in R$ is said to be prime if

  1. $p\neq 0$;

  2. $p$ is not a unit; and

  3. for all $x,y\in R$, if $p\mid xy$, then $p\mid x$ or $p\mid y$.

Proposition (non-zero element is prime iff it generates a prime ideal) open_in_new

Let $R$ be a ring, and $r\in R$ be an element.

If $r\neq 0$, then $r$ is a prime element iff $(r)$ is a prime ideal.

Proof

Proposition (prime element is irreducible) open_in_new

Let $R$ be an integral domain.

If $r\in R$ is prime, then $r$ is irreducible.

Proof

  • The converse is false.

Summary: for $R$ an integral domain and $r\in R$ non-zero, $$ \begin{align*} \text{$(r)$ maximal ideal} \implies \text{$(r)$ prime ideal} \iff \text{$r$ prime element} \implies \text{$r$ irreducible}. \end{align*} $$

Factorisation in rings open_in_new

Definition (Euclidean domain) open_in_new

A ring $R$ is a Euclidean domain if it is an integral domain and there exists a Euclidean function $$ \begin{align*} ϕ: R\setminus \set{0} \to \Z_{\geq 0} \end{align*} $$ satisfying

  1. $ϕ(ab) \geq ϕ(b)$ for all $a,b\neq 0$; and

  2. for all $a,b\in R$ with $b\neq 0$, there exists $q,r\in R$ such that $a = qb + r$ and either $r=0$ or $ϕ(r)<ϕ(b)$.

A field is a Euclidean domain: take the Euclidean function to be $ϕ(r) = 1$.

Definition (principal ideal domain) open_in_new

A ring is called a principal ideal domain (PID) if it is an integral domain and every ideal is principal.

Proposition (Euclidean domain is PID) open_in_new

If $R$ is a Euclidean domain, then $R$ is a principal ideal domain.

Proof

Proposition (equivalence of maximal ideal, prime ideal, prime element, irreducible element in PID) open_in_new

Let $R$ be a principal ideal domain, and $r\in R$. If $r\neq 0$, the following are equivalent:

  1. $r$ is irreducible;

  2. $r$ is prime;

  3. $(r)$ is a prime ideal;

  4. $(r)$ is a maximal ideal.

In particular, if $I\lhd R$ is non-zero, then $I$ is prime iff $I$ is maximal.

Proof

Definition (unique factorisation domain) open_in_new

A ring $R$ is called a unique factorisation domain (UFD) if

  1. $R$ is an integral domain;

  2. every non-zero non-unit in $R$ can be written as a product of irreducibles; and

  3. if $p_1 \ldots p_n = q_1 \ldots q_m$ where $p_i,q_i$ are all irreducibles, then $n=m$ and up to reordering, $p_i$ and $q_i$ are associates for all $i$.

Theorem (PID is UFD) open_in_new

Proposition (irreducible iff prime in UFD) open_in_new

Let $R$ be a unique factorisation domain, and $r\in R$ be an element.

Then $r$ is irreducible iff $r$ is prime.

Proof

Summary: $$ \begin{align*} \text{field} \implies \text{Euclidean} \implies \text{PID} \implies \text{UFD} \implies \text{integral} \end{align*} $$

Definition (greatest common divisor, least common multiple) open_in_new

Let $R$ be an integral domain, and $a_1, \ldots, a_n\in R$.

We say $d\in R$ is a greatest common divisor (GCD) of $a_1, \ldots, a_n$ if

  1. $d\mid a_i$ for all $i$; and

  2. if $d'\mid a_i$ for all $i$, then $d' \mid d$.

We say $m\in R$ is the least common multiple (LCM) of $a_1, \ldots, a_n$ if

  1. $a_i \mid m$ for all $i$; and

  2. if $a_i \mid m'$ for all $i$, then $m\mid m'$.

Theorem (existence and uniqueness of GCD and LCM in UFD) open_in_new

Polynomial rings open_in_new

Definition (polynomial ring) open_in_new

Let $R$ be a ring.

The polynomial ring $R[X]$ is the set of all polynomials in $X$ with coefficients in $R$ $$ \begin{align*} R[X] = \sb{\sum_{i=0}^{n} a_i X^i}{n\geq 0, \, a_i\in R} \end{align*} $$ where $X^i$ are formal symbols, with $0_{R[X]} = 0_R$, $1_{R[X]} = 1_R$ and the usual operations $$ \begin{align*} \sum_{i=0}^{n} a_i X^i + \sum_{i=0}^{m} b_i X^i ={}& \sum_{i=0}^{\max\set{n,m}} (a_i + b_i )X^i, \\ \left(\sum_{i=0}^{n} a_i X^i\right) \cdot \left(\sum_{i=0}^{m} b_i X^i\right) ={}& \sum_{i=0}^{n+m} \left(\sum_{j=0}^{i} a_j b_{i-j}\right) X^i. \\ \end{align*} $$

The polynomial ring of two variables $R[X,Y] \isom (R[X])[Y]$ is constructed similarly, etc.

Definition (ring of formal power series) open_in_new

The ring of formal power series in $X$ with coefficients in $R$ is $$ \begin{align*} R[[X]] = \sb{\sum_{i=0}^{\infty} r_i X^i}{r\in R} \end{align*} $$ with the usual operations.

Proposition (polynomial ring over a field is a Euclidean domain) open_in_new

Let $K$ be a field. The polynomial ring $K[X]$ is a Euclidean domain, with Euclidean function $ϕ = \deg$.

Proof

Keep in mind $K[X]$ has all the nice properties you get in a Euclidean domain.

Definition (content of polynomial, primitive polynomial) open_in_new

Let $R$ be a unique factorisation domain.

The content of $f = a_0 + a_1 X + \ldots + a_n X^n \in$ $R[X]$ is $$ \begin{align*} c(f) = \op{gcd}(a_0, a_1, \ldots, a_n) \in R, \end{align*} $$ defined up to associates.

We say $f$ is primitive if $c(f)$ is a unit.

Lemma (product of primitive polynomials is primitive) open_in_new

Let $R$ be a unique factorisation domain.

If $f,g\in R[X]$ are primitive, then so is $f\cdot g$.

Proof

Corollary (content of product of polynomials) open_in_new

Let $R$ be a unique factorisation domain.

For $f,g\in R[X]$, $c$$(fg)$ and $c(f) c(g)$ are associates.

Proof

Lemma (Gauss's lemma, reducibility of polynomials in UFD and its field of fractions) open_in_new

Let $R$ be a unique factorisation domain and $F$ be its field of fractions.

For a primitive polynomial $f\in R[X]$, $f$ is irreducible in $R[X]$ iff $f$ is irreducible in $F[X]$.

Proof

Proposition (divisibility of polynomials in UFD and its field of fractions) open_in_new

Let $R$ be a unique factorisation domain and $F$ be its field of fractions.

For a primitive polynomial $g\in R[X]$, a polynomial $f\in R[X]$ is divisible by $g$ in $R[X]$ iff it is divisible by $g$ in $F[X]$.

Equivalently, if $J=(g)\lhd R[X]$ and $I=(g)\lhd F[X]$, then $J = I \cap R[X]$.

Proof

Theorem (polynomial ring of UFD is UFD) open_in_new

If $R$ is a unique factorisation domain, then so is $R[X]$.

Proof

  • We can repeat to show $R[X_1, \ldots X_n]$ is a unique factorisation domain.

Theorem (Eisenstein's criterion) open_in_new

Let $R$ be a unique factorisation domain and $f=a_0 + a_1 X + \ldots + a_n X^n\in R[X]$ be primitive with $a_n \neq 0$.

If there exists an irreducible $p\in R$ such that

  1. $p\not\mid a_n$;

  2. $p\mid a_i$ for all $i=0,1,\ldots,n-1$; and

  3. $p^2\not\mid a_0$,

then $f$ is irreducible in $R[X]$.

Proof

Summary of key results: All implications

Gaussian integers open_in_new

The ring of Gaussian integers is $$ \begin{align*} \Z[i] = \sb{a+bi}{a,b\in \Z} \leq \C. \end{align*} $$

Proposition (Gaussian integers is a Euclidean domain) open_in_new

The ring of Gaussian integers $\Z[i]$ is a Euclidean domain, with Euclidean function $$ \begin{align*} ϕ(a+bi) = a^2 + b^2. \end{align*} $$

Proof

Proposition (units in Gaussian integers) open_in_new

The units in $\Z[i]$ is exactly the norm-1 elements $\pm 1, \pm i$.

Proof

Proposition (primes in integers and Gaussian integers) open_in_new

Let $p$ be a prime in $\Z$. The following are equivalent:

  1. $p$ is not a prime in $\Z[i]$;

  2. $p$ is a sum of two squares, i.e. $p=a^2 + b^2$ for some $a,b\in \Z$;

  3. $p\equiv 1$ or $p\equiv 2\pmod 4$.

Proof

Theorem (Gaussian primes) open_in_new

The primes in $\Z[i]$ are, up to associates, exactly

  • the primes $p$ in $\Z$ such that $p\equiv 3\pmod 4$; and

  • Gaussian integers $z\in \Z[i]$ such that $N(z) = z\bar z = p$ is prime in $\Z$ with $p\equiv 1$ or $p\equiv 2\pmod 4$.

Proof

Corollary (criterion for sum of two squares) open_in_new

Let $n\in \Z$ have prime factorisation $n = p_1^{n_1} \ldots p_k^{n_k}$.

$n$ can be written as the sum of two squares iff $n_i$ is even whenever $p_i \equiv 3\pmod 4$.

Proof

Algebraic integers open_in_new

Definition (algebraic integer) open_in_new

A complex number $α\in \C$ is called an algebraic integer if it is the root of a monic polynomial in $\Z[X]$.

We write $$ \begin{align*} \Z[α] = \bigcap_{\substack{R\leq \C \\ α\in R}} R, \end{align*} $$ or equivalently, $$ \begin{align*} \Z[α] ={}& \im(e_α), & e_α : \Z[X] &\to \C \\ && f &\mapsto f(α). \end{align*} $$

Proposition (minimal polynomial) open_in_new

Let $α\in \C$ be a algebraic integer.

The ideal $I = \ker($$e_α$$)\lhd \Z[X]$ is principal, generated by a monic and irreducible polynomial $f_α\in \Z[X]$ known as the minimal polynomial.

Proof

Proposition (rational algebraic integer is an integer) open_in_new

Let $α\in \C$ be an algebraic integer.

If $α\in \Q$, then $α\in \Z$.

Proof

Noetherian rings open_in_new

Definition (Noetherian ring) open_in_new

A ring $R$ is Noetherian if every chain of ideals $$ \begin{align*} I_1 \subseteq I_2 \subseteq I_3 \subseteq \ldots \end{align*} $$ eventually stabilises, i.e. there exists $N\in \N$ such that $I_n = I_{n+1}$ for all $n\geq N$. This is known as the ascending chain condition.

Proposition (Noetherian iff all ideals are finitely generated) open_in_new

A ring is Noetherian iff all ideals are finitely generated.

Proof

Theorem (Hilbert's basis theorem) open_in_new

If a ring $R$ is Noetherian, then so is $R[X]$.

Proof

Proposition (quotient of Noetherian ring is Noetherian) open_in_new

If $R$ is a Noetherian ring and $I\lhd R$ is an ideal, then $R/I$ is also Noetherian.

Proof