
A group \((G,\ast)\) consists of a set \(G\) and a binary operation \(\ast\) on \(G\), \[\ast : G \times G \to G, \qquad (a,b) \mapsto a \ast b,\] such that:
\(\ast\) is associative, that is, \[a \ast (b \ast c) = (a \ast b) \ast c \quad \text{for all } a,b,c \in G;\]
there exists an identity \(e\) such that \[e \ast a = a = a \ast e \quad \text{for all } a \in G;\]
for each \(a \in G\) there exists an inverse \(a^{-1}\) such that \[a \ast a^{-1} = e = a^{-1} \ast a.\]
If the operation \(\ast\) is clear and unambiguous, we will often simply say “\(G\) is a group” as shorthand for “\((G,\ast)\) is a group”.
When verifying that \((G,\ast)\) is a group, we must check conditions (i), (ii), and (iii) above, and also that \(\ast\) is a binary operation, that is, \[a \ast b \in G \quad \text{for all } a,b \in G.\] This property is sometimes referred to as closure.
It is common to suppress the binary operation \(\ast\) when discussing groups and instead to write \(ab\) for \(a \ast b\). We shall do this from now on.
When \(n\) is an integer, we write \[a^{n} = \begin{cases} \underbrace{a a a \cdots a}_{n \text{ times}}, & n > 0,\\[0.5em] e, & n = 0,\\[0.5em] \underbrace{a^{-1} a^{-1} \cdots a^{-1}}_{-n \text{ times}}, & n < 0. \end{cases}\]
Basic rules of algebra following from the group axioms are:
Let \(G\) be a group, \(x,y,z \in G\), and \(m,n \in \mathbb{Z}\). Then:
\((xy)^{-1} = y^{-1}x^{-1}\);
\((x^{n})^{-1} = x^{-n}\);
\(x^{m}x^{n} = x^{m+n}\);
\((x^{m})^{n} = x^{mn}\);
(Cancelling on the left) If \(xy = xz\), then \(y = z\);
(Cancelling on the right) If \(xy = zy\), then \(x = z\).
Proof. Left as exercises. ◻
A group \(G\) is said to be abelian, after the Norwegian mathematician Niels Abel (1802–1829), if the group operation is commutative; that is, \[g_1 g_2 = g_2 g_1 \quad \text{for all } g_1, g_2 \in G.\]
The sets \(\mathbb{Z}\), \(\mathbb{Q}\), \(\mathbb{R}\), and \(\mathbb{C}\) form abelian groups under \(+\) with identity \(e = 0\) and inverse \(x^{-1} := -x\) in each case.
The sets \(\mathbb{Q}\setminus\{0\}\), \(\mathbb{R}\setminus\{0\}\), and \(\mathbb{C}\setminus\{0\}\) form abelian groups under \(\times\) with identity \(e = 1\) and inverse \(x^{-1} := 1/x\) in each case. These groups are respectively denoted \(\mathbb{Q}^\ast\), \(\mathbb{R}^\ast\), and \(\mathbb{C}^\ast\).
More generally, if \((F,+,\times)\) is a field, then \((F,+)\) and \((F\setminus\{0\},\times)\) are both abelian groups.
The set of positive real numbers \((0,\infty)\) forms an abelian group under \(\times\) with identity \(e = 1\) and inverse \(x^{-1} := 1/x\).
Any vector space forms an abelian group under \(+\).
Show that the set of \(n \times n\) invertible real matrices forms a group under matrix multiplication. This group is denoted \(\mathrm{GL}(n,\mathbb{R})\) and is called the \(n\)th general linear group. Show that \(\mathrm{GL}(n,\mathbb{R})\) is non-abelian when \(n > 1\).
Let \(S\) be a set. A bijection \(S \to S\) is called a permutation of \(S\), and the set of permutations of \(S\) is denoted \(\mathrm{Sym}(S)\).
If \(n\) is a positive integer, then we write \[S_n := \mathrm{Sym}(\{1,2,\ldots,n\}).\]
Important: although this convention is not universal, in Oxford it is usual to write permutations on the right. Thus, for \(k \in \{1,2,\ldots,n\}\) and \(\sigma,\tau \in S_n\), we write \(k\sigma\) for \(\sigma(k)\) and \[k\sigma\tau = \tau(\sigma(k)).\] Hence the permutation \(\sigma\tau\) is the composition of \(\sigma\) first with \(\tau\) second.
Let \(S\) be a set.
\(\mathrm{Sym}(S)\) forms a group under composition. It is called the symmetry group of \(S\).
If \(|S| \ge 3\), then \(\mathrm{Sym}(S)\) is non-abelian.
The cardinality of \(S_n\) is \(n!\).
Proof.
We know that the composition of two bijections is a bijection, so \(\circ\) is indeed a binary operation on \(\mathrm{Sym}(S)\). Moreover, for any \(f,g,h \in \mathrm{Sym}(S)\) and \(x \in S\) we have \[x((fg)h) = (x(fg))h = ((xf)g)h = (xf)(gh) = x(f(gh)).\] Thus \(\circ\) is associative. The identity of \(\mathrm{Sym}(S)\) is the identity map \[\mathrm{id}_S(x) = x \quad \text{for all } x \in S,\] and the inverse of \(f \in \mathrm{Sym}(S)\) is, unsurprisingly, its inverse map \(f^{-1}\).
If \(x_1,x_2,x_3\) are three distinct elements of \(S\), define permutations \(f,g \in \mathrm{Sym}(S)\) by \[\begin{aligned} f &: x_1 \mapsto x_1,\; x_2 \mapsto x_3,\; x_3 \mapsto x_2,\; x \mapsto x \text{ for other } x,\\ g &: x_1 \mapsto x_2,\; x_2 \mapsto x_1,\; x_3 \mapsto x_3,\; x \mapsto x \text{ for other } x. \end{aligned}\] Then \(f\) and \(g\) do not commute, since \[\begin{aligned} fg &: x_1 \mapsto x_2,\; x_2 \mapsto x_3,\; x_3 \mapsto x_1,\; x \mapsto x \text{ for other } x,\\ gf &: x_1 \mapsto x_3,\; x_2 \mapsto x_1,\; x_3 \mapsto x_2,\; x \mapsto x \text{ for other } x. \end{aligned}\]
For \(f \in S_n\) there are \(n\) possibilities for \(1f\). Since \(f\) is injective, we must have \(1f \neq 2f\), so once \(1f\) is fixed there are \(n-1\) possibilities for \(2f\), and similarly \(n-2\) possibilities for \(3f\), and so on. Hence there are \[n \times (n-1) \times (n-2) \times \cdots \times 1 = n!\] permutations of \(\{1,2,\ldots,n\}\).
◻
One (slightly cumbersome) way of writing a permutation \(\sigma \in S_n\) is as an array \[\begin{pmatrix} 1 & 2 & 3 & \cdots & n \\ 1\sigma & 2\sigma & 3\sigma & \cdots & n\sigma \end{pmatrix},\] though we shall improve on this notation with the introduction of cycle notation.
The group \(S_2\) has order two and consists of the elements \[\begin{pmatrix} 1 & 2 \\ 1 & 2 \end{pmatrix}, \qquad \begin{pmatrix} 1 & 2 \\ 2 & 1 \end{pmatrix}.\] The first element is the identity, and the second is self-inverse.
The group \(S_3\) has order six and consists of the elements \[\begin{pmatrix} 1 & 2 & 3\\ 1 & 2 & 3 \end{pmatrix}, \quad \begin{pmatrix} 1 & 2 & 3\\ 2 & 3 & 1 \end{pmatrix}, \quad \begin{pmatrix} 1 & 2 & 3\\ 3 & 1 & 2 \end{pmatrix},\] \[\begin{pmatrix} 1 & 2 & 3\\ 1 & 3 & 2 \end{pmatrix}, \quad \begin{pmatrix} 1 & 2 & 3\\ 3 & 2 & 1 \end{pmatrix}, \quad \begin{pmatrix} 1 & 2 & 3\\ 2 & 1 & 3 \end{pmatrix}.\]
The first element is the identity \(e\). If we write \[\sigma = \begin{pmatrix} 1 & 2 & 3\\ 2 & 3 & 1 \end{pmatrix}, \qquad \tau = \begin{pmatrix} 1 & 2 & 3\\ 1 & 3 & 2 \end{pmatrix},\] then we see (amongst other things) that \[\sigma^2 = \begin{pmatrix} 1 & 2 & 3\\ 2 & 3 & 1 \end{pmatrix} \begin{pmatrix} 1 & 2 & 3\\ 2 & 3 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 2 & 3\\ 3 & 1 & 2 \end{pmatrix},\] \[\sigma^3 = \begin{pmatrix} 1 & 2 & 3\\ 3 & 1 & 2 \end{pmatrix} \begin{pmatrix} 1 & 2 & 3\\ 2 & 3 & 1 \end{pmatrix} = \begin{pmatrix} 1 & 2 & 3\\ 1 & 2 & 3 \end{pmatrix} = e,\] \[\tau^2 = \begin{pmatrix} 1 & 2 & 3\\ 1 & 3 & 2 \end{pmatrix} \begin{pmatrix} 1 & 2 & 3\\ 1 & 3 & 2 \end{pmatrix} = e,\] \[\sigma\tau = \begin{pmatrix} 1 & 2 & 3\\ 2 & 3 & 1 \end{pmatrix} \begin{pmatrix} 1 & 2 & 3\\ 1 & 3 & 2 \end{pmatrix} = \begin{pmatrix} 1 & 2 & 3\\ 3 & 2 & 1 \end{pmatrix},\] \[\tau\sigma^2 = \begin{pmatrix} 1 & 2 & 3\\ 1 & 3 & 2 \end{pmatrix} \begin{pmatrix} 1 & 2 & 3\\ 3 & 1 & 2 \end{pmatrix} = \begin{pmatrix} 1 & 2 & 3\\ 3 & 2 & 1 \end{pmatrix}.\]
Thus the six elements of \(S_3\) are \[e,\ \sigma,\ \sigma^2,\ \tau,\ \sigma\tau,\ \sigma^2\tau.\]
The Cayley table for \(S_3\) is: \[\begin{array}{c|cccccc} \ast & e & \sigma & \sigma^2 & \tau & \sigma\tau & \sigma^2\tau \\ \hline e & e & \sigma & \sigma^2 & \tau & \sigma\tau & \sigma^2\tau \\ \sigma & \sigma & \sigma^2 & e & \sigma\tau & \sigma^2\tau & \tau \\ \sigma^2 & \sigma^2 & e & \sigma & \sigma^2\tau & \tau & \sigma\tau \\ \tau & \tau & \sigma^2\tau & \sigma\tau & e & \sigma^2 & \sigma \\ \sigma\tau & \sigma\tau & \tau & \sigma^2\tau & \sigma & e & \sigma^2 \\ \sigma^2\tau & \sigma^2\tau & \sigma\tau & \tau & \sigma^2 & \sigma & e \end{array}\]
The six permutations listed above as the elements of \(S_3\) are the same as those listed in Example 35, and the Cayley table for \(S_3\) is identical to that in Example 41 once \(\sigma\) and \(\tau\) are replaced with \(r\) and \(s\). This shows that \(D_6\) and \(S_3\) are isomorphic.
As we mentioned earlier, our hidden agenda is to understand zeros of a polynomial. Say \(p(x)\) is a polynomial with rational coefficients. We would like to understand properties of a zero \(\alpha \in \mathbb{C}\) of \(p(x)\). What exactly does understanding mean here? Whatever it means, we would expect to be able to do basic arithmetic with \(\alpha\): add and multiply, and find out if we are getting the same values or not. As we see later, this means we want to understand various properties of the subring of \(\mathbb{C}\) that is generated by \(\alpha\).
A ring \((R,+,\cdot)\) is a set \(R\) with two binary operations: \(+\) (addition) and \(\cdot\) (multiplication) such that the following hold:
\((R,+)\) is an abelian group.
(Associative) For every \(a,b,c \in R\), \[a \cdot (b \cdot c) = (a \cdot b) \cdot c.\]
(Distributive) For every \(a,b,c \in R\), \[a \cdot (b+c) = a \cdot b + a \cdot c \quad \text{and} \quad (b+c) \cdot a = b \cdot a + c \cdot a.\]
We say \(R\) is a unital ring if there exists \(1 \in R\) such that \[1 \cdot a = a \cdot 1 \quad \text{for every } a \in R.\]
We say \(R\) is a commutative ring if \[a \cdot b = b \cdot a \quad \text{for every } a,b \in R.\]
The set \(\mathbb{Z}\) of integers, the set \(\mathbb{Q}\) of rational numbers, the set \(\mathbb{R}\) of real numbers, and the set \(\mathbb{C}\) of complex numbers are unital commutative rings.
The set of non-negative integers \(\mathbb{Z}_{\ge 0}\) is not a ring, since \((\mathbb{Z}_{\ge 0}, +)\) is not an abelian group.
The set of even integers \(2\mathbb{Z}\) is a commutative ring, but it is not unital.
For an integer \(n > 1\), the set \(M_n(\mathbb{R})\) of \(n \times n\) matrices with real entries is a unital ring, but it is not commutative. In fact, for every ring \(R\) and positive integer \(n\), the set \(M_n(R)\) of \(n \times n\) matrices with entries in \(R\), equipped with the usual matrix addition and multiplication, forms a ring. Moreover, if \(R\) is unital, then \(M_n(R)\) is also unital.
The set \(\mathbb{Z}_n\) of integers modulo \(n\) is another important ring. Recall that the residue class \([a]_n\) of \(a\) modulo \(n\) consists of all integers of the form \(nk + a\), where \(k\) is an integer. In group theory, we have seen that \[\mathbb{Z}_n = \{[0]_n, \ldots, [n-1]_n\}\] can be identified with the quotient group \(\mathbb{Z}/n\mathbb{Z}\). \[\begin{aligned} a &\equiv a' \pmod{n},\\ b &\equiv b' \pmod{n} \end{aligned} \quad \Longrightarrow \quad ab \equiv a'b' \pmod{n}.\]
This implies that the following is a well-defined binary operation on \(\mathbb{Z}_n\): \[[a]_n \cdot [b]_n := [ab]_n \qquad \text{for every } a,b \in \mathbb{Z}.\] It is easy to check that \((\mathbb{Z}_n,+,\cdot)\) is a unital commutative ring.
Work out the details of why \(\mathbb{Z}_n\) is a ring.
As we have mentioned earlier, polynomials play an indispensable role in algebra. Notice that we can and will work with polynomials with coefficients in an arbitrary ring \(R\). The set of all polynomials with coefficients in a ring \(R\) and an indeterminate \(x\) is denoted by \(R[x]\). Therefore, \[R[x] := \left\{ a_n x^n + \cdots + a_0 \mid n \in \mathbb{Z}_{\ge 0},\; a_0,\ldots,a_n \in R \right\}.\]
We sometimes write \(\sum_{i=0}^n a_i x^i\) instead of \(a_n x^n + \cdots + a_0\). In some arguments it is more convenient to write a polynomial as an infinite sum \[\sum_{i=0}^{\infty} a_i x^i,\] with the understanding that \(a_{n+1} = a_{n+2} = \cdots = 0\) for some non-negative integer \(n\).
Based on our experience of working with polynomials with real or complex coefficients, we define the following operations: \[\left( \sum_{i=0}^{\infty} a_i x^i \right) + \left( \sum_{i=0}^{\infty} b_i x^i \right) := \sum_{i=0}^{\infty} (a_i + b_i)x^i \quad \text{(addition)}\]
\[\left( \sum_{i=0}^{\infty} a_i x^i \right) \left( \sum_{i=0}^{\infty} b_i x^i \right) := \sum_{n=0}^{\infty} \left( \sum_{i=0}^{n} a_i b_{n-i} \right) x^n \quad \text{(multiplication)}\] for every \(\sum_{i=0}^{\infty} a_i x^i, \sum_{i=0}^{\infty} b_i x^i \in R[x]\). It is easy to see that \((R[x],+,\cdot)\) is a ring.
Compute \(( [2]_4 x + [1]_4 ) ( [2]_4 x^2 + [3]_4 x + [1]_4 )\) in \(\mathbb{Z}_4[x]\).
We start the computation as if the coefficients were real numbers and use the distributive law. Moreover, to simplify our notation, we drop the decoration \([\,]_4\), but we remember that all coefficient computations are done in \(\mathbb{Z}_4\). Hence, \[\begin{aligned} ([2]_4 x + [1]_4)([2]_4 x^2 + [3]_4 x + [1]_4) &= (2 \cdot 2)x^3 + (2 \cdot 3 + 1 \cdot 2)x^2 \\ &\quad + (2 \cdot 1 + 1 \cdot 3)x + (1 \cdot 1) \\ &= x + 1. \end{aligned}\]
Here we see that some basic computations hold in every ring, and a unital ring \(R\) has a unique identity, which is sometimes denoted by \(1_R\).
Suppose \(R\) is a ring and \(0\) is the neutral element of the abelian group \((R,+)\). Then for every \(a,b \in R\), the following hold:
\(0 \cdot a = a \cdot 0 = 0\).
\((-a)\cdot b = -(a \cdot b) = a \cdot (-b)\).
\((-a)\cdot(-b) = a \cdot b\).
Proof. (1) Since \(0 = 0 + 0\), we have \(0 \cdot a = (0 + 0)\cdot a\) for every \(a \in R\). Hence, by the distributive law, \[0 \cdot a = (0 \cdot a) + (0 \cdot a).\] Since \((R,+)\) is a group, we deduce that \(0 = 0 \cdot a\). Similarly, we have \[a \cdot 0 = a \cdot (0 + 0) = (a \cdot 0) + (a \cdot 0),\] which implies that \(0 = a \cdot 0\).
(2) To show \((-a)\cdot b = -(a \cdot b)\), we argue that \[(a \cdot b) + ((-a)\cdot b) = 0:\] \[(a \cdot b) + ((-a)\cdot b) = (a + (-a))\cdot b \quad \text{(distributive law)}\] \[= 0 \cdot b = 0,\] where the last equality follows from part (1). By a similar argument, we deduce that \(a \cdot (-b) = -(a \cdot b)\).
(3) Using part (2) twice, we obtain \[(-a)\cdot(-b) = -(a \cdot (-b)) = -\bigl(-(a \cdot b)\bigr) = a \cdot b.\] This finishes the proof. ◻
Suppose \(R\) is a unital ring. Then there is a unique element \(1_R \in R\) such that \[1_R \cdot a = a \cdot 1_R = a \label{eq:ring-identity}\] for every \(a \in R\).
Proof. Suppose both \(1\) and \(1'\) satisfy [eq:ring-identity]. Then \[1 = 1 \cdot 1' \quad \text{(since $1'$ satisfies~\eqref{eq:ring-identity})} = 1' \quad \text{(since $1$ satisfies~\eqref{eq:ring-identity})},\] and the claim follows. ◻
Suppose \(R_1,\ldots,R_n\) are unital rings. Show that \[(1_{R_1},\ldots,1_{R_n})\] is the identity element of \(R_1 \times \cdots \times R_n\).
Whenever you learn a new structure, you should look for subsets that share the same properties (they are often called sub-structures), and more importantly for maps that preserve those properties (they are often called homomorphisms).
Suppose \((R,+,\cdot)\) is a ring. A subset \(S \subseteq R\) is called a subring of \(R\) if
\((S,+)\) is a subgroup of \((R,+)\);
\(S\) is closed under multiplication, i.e., for every \(a,b \in S\), we have \(ab \in S\).
In your book, having an identity is part of the definition of a ring. As a result, a subring of a ring \(R\) is required to contain the identity of \(R\). In our course, we do not make that assumption for subrings.
\(\mathbb{Z}\) is a subring of \(\mathbb{Q}\), \(\mathbb{Q}\) is a subring of \(\mathbb{R}\), and \(\mathbb{R}\) is a subring of \(\mathbb{C}\).
What is the smallest subring of \(\mathbb{C}\) that contains \(\mathbb{Q}\) and \(i\)?
What is the smallest subring of \(\mathbb{C}\) that contains \(\mathbb{Q}\) and \(\sqrt{2}\)?
What is the smallest subring of \(\mathbb{C}\) that contains \(\mathbb{Q}\) and \(\frac{\sqrt{3}}{2}\)?
Suppose \(R_1\) and \(R_2\) are two rings. A function \(f \colon R_1 \to R_2\) is called a ring homomorphism if for every \(a,b \in R_1\),
\(f(a+b) = f(a) + f(b)\),
\(f(a \cdot b) = f(a) \cdot f(b)\).
As mentioned earlier, in your book, having an identity is part of the definition of a ring. As a result, a ring homomorphism between two rings \(A\) and \(B\) is required to send \(1_A\) to \(1_B\). In this course, we refer to ring homomorphisms that send \(1_A\) to \(1_B\) as unital ring homomorphisms.
For every positive integer \(n\), the map \[c_n \colon \mathbb{Z} \to \mathbb{Z}_n, \qquad c_n(a) := [a]_n,\] is a ring homomorphism.
Proof. Notice that \([2]_3 \cdot [2]_3 = [1]_3\), and so \(2^{-1} = 2\) in \(\mathbb{Z}_3\). ◻
When we know that we are working with elements of \(\mathbb{Z}_n\), we often write \(a\) instead of \([a]_n\). When we are asked to find the inverse of an apparently integer number \(a\) in \(\mathbb{Z}_n\), we should not write \(\frac{1}{a}\). Instead, we should find an integer \(a'\) such that \[aa' \equiv 1 \pmod{n}.\]
Review your notes from either Math 109 or Math 100A, where the following property of the greatest common divisor of two integers is discussed. Suppose \(a\) and \(b\) are two non-zero integers. Then the equation \[ax + by = c\] has an integer solution if and only if \(\gcd(a,b)\) divides \(c\).
This fact can be written in a compact form as \[a\mathbb{Z} + b\mathbb{Z} = \gcd(a,b)\mathbb{Z}.\] (See Proposition 2.3.5 of your book.)
Using the above exercise, we can describe the group \(\mathbb{Z}_n^{\times}\) of units of \(\mathbb{Z}_n\).
Suppose \(n\) is a positive integer. Then \[\mathbb{Z}_n^{\times} = \{ [a]_n \mid \gcd(a,n) = 1 \}.\]
Proof. Notice that \([a]_n\) is a unit in \(\mathbb{Z}_n\) if and only if there exists \([x]_n \in \mathbb{Z}_n\) such that \[[a]_n [x]_n = [1]_n.\] This means that the congruence equation \[ax \equiv 1 \pmod{n}\] has a solution. This, in turn, means that for some integers \(x\) and \(y\) we have \[ax - 1 = ny.\] Thus we are looking for integers \(x\) and \(y\) such that \[ax - ny = 1.\] By Exercise [ex:gcd-linear-combination], this happens if and only if \(\gcd(a,n) = 1\). The claim follows. ◻
Euler’s phi function \(\varphi(n)\) is defined by \[\varphi(n) := \bigl| \{ a \in \mathbb{Z} \mid 1 \le a \le n,\ \gcd(a,n) = 1 \} \bigr|.\] Hence, by Proposition [prop:units-Zn], we have \[\lvert \mathbb{Z}_n^{\times} \rvert = \varphi(n).\]
As a corollary of this equation, we can deduce Euler’s theorem.
Suppose \(n\) is a positive integer and \(\gcd(a,n) = 1\). Then \[a^{\varphi(n)} \equiv 1 \pmod{n}.\]
Proof. From group theory, we know that if \((G,\cdot)\) is a finite group, then for every \(g \in G\), \[g^{\lvert G \rvert} = 1.\] Applying this to the group \(\mathbb{Z}_n^{\times}\) yields the result. ◻
Algebra I Courses · Mathematics Department · University Center of El Bayadh Nour El Bachir · 2025/2026