Skip to main content
Mathematics LibreTexts

8.1: Definitions and Examples

  • Page ID
    100763
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Recall that a group is a set together with a single binary operation, which together satisfy a few modest properties. Loosely speaking, a ring is a set together with two binary operations (called addition and multiplication) that are related via a distributive property.

    Definition: Ring

    A ring \(R\) is a set together with two binary operations \(+\) and \(\cdot\) (called addition and multiplication, respectively) satisfying the following:

    1. \((R,+)\) is an abelian group.
    2. \(\cdot\) is associative: \((a\cdot b)\cdot c=a\cdot (b\cdot c)\) for all \(a,b,c\in R\).
    3. The distributive property holds: \(a\cdot (b+c)=(a\cdot b)+(a\cdot c)\) and \((a+b)\cdot c = (a\cdot c)+(b\cdot c)\) for all \(a,b,c\in R\).

    Remark \(\PageIndex{1}\)

    We make a couple comments about notation.

    1. We often write \(ab\) in place of \(a\cdot b\).
    2. The additive inverse of the ring element \(a\in R\) is denoted \(-a\).

    Theorem \(\PageIndex{1}\)

    If \(R\) is a ring, then for all \(a,b\in R\):

    1. \(0a=a0=0\)
    2. \((-a)b=a(-b)=-(ab)\)
    3. \((-a)(-b)=ab\)

    Definition: Commutative

    A ring \(R\) is called commutative if multiplication is commutative.

    Definition: Identity

    A ring \(R\) is said to have an identity (or called a ring with 1) if there is an element \(1\in R\) such that \(1a=a 1=a\) for all \(a\in R\).

    Problem \(\PageIndex{1}\)

    Justify that \(\mathbb{Z}\) is a commutative ring with 1 under the usual operations of addition and multiplication. Which elements have multiplicative inverses in \(\mathbb{Z}\)?

    Problem \(\PageIndex{2}\)

    Justify that \(\mathbb{Z}_n\) is a commutative ring with 1 under addition and multiplication mod \(n\).

    Problem \(\PageIndex{3}\): \(\mathbb{Z}_{10}\) Ring

    [prob:Z10Ring] Consider the set \(\mathbb{Z}_{10}=\{0,1,2,3,4,5,6,7,8,9\}\). Which elements have multiplicative inverses in \(\mathbb{Z}_{10}\)?

    Problem \(\PageIndex{4}\)

    For each of the following, find a positive integer \(n\) such that the ring \(\mathbb{Z}_n\) does not have the stated property.

    1. \(a^2=a\) implies \(a=0\) or \(a=1\).
    2. \(ab=0\) implies \(a=0\) or \(b=0\).
    3. \(ab=ac\) and \(a\neq 0\) imply \(b=c\).

    Theorem \(\PageIndex{2}\)

    If \(R\) is a ring with 1, then the multiplicative identity is unique and \(-a=(-1)a\).

    Problem \(\PageIndex{5}\)

    Requiring \((R,+)\) to be a group is fairly natural, but why require \((R,+)\) to be abelian? Suppose \(R\) has a 1. Compute \((1+1)(a+b)\) in two different ways.

    Definition: Division Ring

    A ring \(R\) with 1 (with \(1\neq 0\)) is called a division ring if every nonzero element in \(R\) has a multiplicative inverse: if \(a\in R\setminus\{0\}\), then there exists \(b\in R\) such that \(ab=ba=1\).

    Definition: Field

    A commutative division ring is called a field.

    Definition: Zero Divisor

    A nonzero element \(a\) in a ring \(R\) is called a zero divisor if there is a nonzero element \(b\in R\) such that either \(ab=0\) or \(ba=0\).

    Problem \(\PageIndex{6}\)

    Are there any zero divisors in \(\mathbb{Z}_{10}\)? If so, find all of them.

    Problem \(\PageIndex{7}\)

    Are there any zero divisors in \(\mathbb{Z}_5\)? If so, find all of them.

    Problem \(\PageIndex{8}\)

    Provide an example of a ring \(R\) and elements \(a,b\in R\) such that \(ax=b\) has more than one solution. How does this compare with groups?

    Theorem \(\PageIndex{3}\): Ring Cancellation

    Assume \(a,b,c\in R\) such that \(a\) is not a zero divisor. If \(ab=ac\), then either \(a=0\) or \(b=c\).

    Definition: Unit

    Assume \(R\) is a ring with \(1\) with \(1\neq 0\). An element \(u\in R\) is called a unit in \(R\) if \(u\) has a multiplicative inverse (i.e., there exists \(v\in R\) such that \(uv=vu=1\)). The set of units in \(R\) is denoted \(U(R)\).

    Problem \(\PageIndex{9}\)

    Consider the ring \(\mathbb{Z}_{20}\).

    1. Find \(U(\mathbb{Z}_{20})\).
    2. Find the zero divisors of \(\mathbb{Z}_{20}\).
    3. Any observations?

    Theorem \(\PageIndex{4}\)

    If \(U(R)\neq\emptyset\), then \(U(R)\) forms a group under multiplication.

    Remark \(\PageIndex{2}\)

    We make a few observations.

    1. A field is a commutative ring \(F\) with identity \(1\neq 0\) in which every nonzero element is a unit, i.e., \(U(F)=F\setminus\{0\}\).
    2. Zero divisors can never be units.
    3. Fields never have zero divisors.

    Definition: Integral Domain

    A commutative ring with identity \(1\neq 0\) is called an integral domain if it has no zero divisors.

    Remark \(\PageIndex{3}\): Ring Cancellation

    The Cancellation Law (Theorem \(\PageIndex{3}\)) holds in integral domains for any three elements.

    Theorem \(\PageIndex{5}\)

    Any finite integral domain is a field.

    Example \(\PageIndex{1}\)

    Here are a few examples. Details left as an exercise.

    1. Zero Ring: If \(R=\{0\}\), we can turn \(R\) into a ring in the obvious way. The zero ring is a finite commutative ring with 1. It is the only ring where the additive and multiplicative identities are equal. The zero ring is not a division ring, not a field, and not an integral domain.
    2. Trivial Ring: Given any abelian group \(R\), we can turn \(R\) into a ring by defining multiplication via \(ab=0\) for all \(a,b\in R\). Trivial rings are commutative rings in which every nonzero element is a zero divisor. Hence a trivial ring is not a division ring, not a field, and not a integral domain.
    3. The integers form an integral domain, but \(\mathbb{Z}\) is not a division ring, and hence not a field.
    4. The rational numbers \(\mathbb{Q}\), the real numbers \(\mathbb{R}\), and the complex numbers \(\mathbb{C}\) are fields under the usual operations of addition and multiplication.
    5. The group of units \(U(\mathbb{Z}_n)\) is the set of elements in \(\mathbb{Z}_n\) that are relatively prime to \(n\). That is, \(U(\mathbb{Z}_n)=U_n\). All other nonzero elements are zero divisors. It turns out that \(\mathbb{Z}_n\) forms a finite field if and only if \(n\) is prime.
    6. The set of even integers \(2\mathbb{Z}\) forms a commutative ring under the usual operations of addition and multiplication. However, \(2\mathbb{Z}\) does not have a 1, and hence cannot be a division ring nor a field. Moreover, if you look closely at the definition of integral domain, you’ll see that \(2\mathbb{Z}\) is also not an integral domain since \(2\mathbb{Z}\) does not contain a multiplicative identity.
    7. Polynomial Ring: Fix a commutative ring \(R\). Let \(R[x]\) denote the set of polynomials in the variable \(x\) with coefficients in \(R\). Then \(R[x]\) is a commutative ring. Moreover, \(R[x]\) is a ring with 1 if and only if \(R\) is a ring with 1. The units of \(R[x]\) are exactly the units of \(R\) (if there are any). So, \(R[x]\) is never a division ring nor a field. However, if \(R\) is an integral domain, then so is \(R[x]\).
    8. Matrix Ring: Fix a ring \(R\) and let \(n\) be a positive integer. Let \(M_n(R)\) be the set of \(n\times n\) matrices with entries from \(R\). Then \(M_n(R)\) forms a ring under ordinary matrix addition and multiplication. If \(R\) is nontrivial and \(n\geq 2\), then \(M_n(R)\) always has zero divisors and \(M_n(R)\) is not commutative even if \(R\) is. If \(R\) has a 1, then the matrix with 1’s down the diagonal and 0’s elsewhere is the multiplicative identity in \(M_n(R)\). In this case, the group of units is the set of invertible \(n\times n\) matrices, denoted \(GL_n(R)\) and called the general linear group of degree \(n\) over \(R\).
    9. Quadratic Field: Define \(\mathbb{Q}(\sqrt{2})=\{a+b\sqrt{2}\mid a,b\in\mathbb{Q}\}\). It turns out that \(\mathbb{Q}(\sqrt{2})\) is a field. In fact, we can replace 2 with any rational number that is not a perfect square in \(\mathbb{Q}\).
    10. Hamilton Quaternions: Define \(\mathbb{H}=\{a+bi+cj+dk\mid a,b,c,d\in\mathbb{R}, i,j,k\in Q_8\}\) Then \(\mathbb{H}\) forms a ring, where addition is definite componentwise in \(i\), \(j\), and \(k\) and multiplication is defined by expanding products and the simplifying using the relations of \(Q_8\). It turns out that \(\mathbb{H}\) is a non-commutative ring with 1.

    Problem \(\PageIndex{10}\)

    Find an example of a ring \(R\) and an element \(a\in R\setminus\{0\}\) such that \(a\) is neither a zero divisor nor a unit.

    Definition: Subring

    A subring of a ring \(R\) is a subgroup of \(R\) under addition that is also closed under multiplication.

    Remark \(\PageIndex{4}\)

    The property “is a subring" is clearly transitive. To show that a subset \(S\) of a ring \(R\) is a subring, it suffices to show that \(S\neq \emptyset\), \(S\) is closed under subtraction, and \(S\) is closed under multiplication.

    Example \(\PageIndex{2}\)

    Here are a few quick examples.

    1. \(\mathbb{Z}\) is a subring of \(\mathbb{Q}\), which is a subring of \(\mathbb{R}\), which in turn is a subring of \(\mathbb{C}\).
    2. \(2\mathbb{Z}\) is a subring of \(\mathbb{Z}\).
    3. The set \(\mathbb{Z}(\sqrt{2})=\{a+b\sqrt{2}\mid a,b\in\mathbb{Z}\}\) is a subring of \(\mathbb{Q}(\sqrt{2})\).
    4. The ring \(R\) is a subring of \(R[x]\) if we identify \(R\) with set of constant functions.
    5. The set of polynomials with zero constant term in \(R[x]\) is a subring of \(R[x]\).
    6. \(\mathbb{Z}[x]\) is a subring of \(\mathbb{Q}[x]\).
    7. \(\mathbb{Z}_n\) is not a subring of \(\mathbb{Z}\) as the operations are different.

    Problem \(\PageIndex{10}\)

    Consider the ring \(\mathbb{Z}_{10}\) from Problem \(\PageIndex{3}\). Let \(S=\{0,2,4,6,8\}\).

    1. Argue that \(S\) is a subring of \(\mathbb{Z}_{10}\).
    2. Is \(S\) a ring with 1? If so, find the multiplicative identity. If not, explain why.
    3. Is \(S\) a field? Justify your answer.

    Problem \(\PageIndex{11}\)

    Suppose \(R\) is a ring and let \(a\in R\). Define \(S=\{x\in R\mid ax=0\}\). Prove that \(S\) is a subring of \(R\).

    Problem \(\PageIndex{12}\)

    Consider the ring \(\mathbb{Z}\). It turns out that \(2\mathbb{Z}\) and \(3\mathbb{Z}\) are subrings (but you don’t need to prove this). Determine whether \(2\mathbb{Z}\cup 3\mathbb{Z}\) is a subring of \(\mathbb{Z}\). Justify your answer.


    This page titled 8.1: Definitions and Examples is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Dana Ernst via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.