Rings of Polynomials
Rings of Polynomials
Note to reader
Mathematical/statistical content at the Open University is usually provided to students in printed
books, with PDFs of the same online. This format ensures that mathematical notation is
presented accurately and clearly. The PDF of this extract thus shows the content exactly as it
would be seen by an Open University student. Please note that the PDF may contain references
to other parts of the module and/or to software or audio-visual components of the module.
Regrettably mathematical and statistical content in PDF files is unlikely to be accessible using a
screenreader, and some OpenLearn units may have PDF files that are not searchable. You may
need additional help to read these documents.
Contents
1 Rings 5
1.1 Subrings 11
1.2 Zero divisors and units 13
1.3 Fields 16
3 Divisibility of polynomials 25
3.1 Polynomial division 25
3.2 Highest common factors 29
3.3 The Euclidean Algorithm 31
3.4 Least common multiples 33
exercises
Index 45
1 Rings
1 Rings
In Book B we learnt about groups, which are defined as a set of elements
equipped with some operation ◦, and satisfying certain axioms given in
Definition 1.1 of Book B, Chapter 5. When we think of the set of integers,
however, there are two basic operations that we can use: addition, +, and
multiplication, ·. We learnt in Chapter 5 that (Z, +) is an abelian group, What about subtraction and
but we can quickly verify that (Z, ·) is not: no integers apart division? In a sense, we can think of these as the inverses to
from 1 and −1 have multiplicative inverses and so axiom G3 of addition and multiplication.
Definition 1.1 does not hold.
We may ask which of the group axioms do hold for (Z, ·). If m,
n ∈ Z, then m · n ∈ Z and so we have closure (axiom G1).
Next, since 1 · m = m · 1 = m, the element 1 ∈ Z acts as the
identity to confirm axiom G2. Finally, associativity of
multiplication is a basic property of the integers and so G4
holds. The integers form a model for our definition of a ring.
5
Rings and polynomials
At first sight, this looks like a lot of individual axioms to satisfy; so let us
look at them collectively. First off, note that the axioms for addition (R1
to R5) are exactly the axioms required for (R, +) to be an abelian group.
As a result, we can use the ‘Elementary consequences’ (see, for example,
Proposition 1.2 of Book B, Chapter 5) to deduce the following.
Lemma 1.2
Let (R, +, ·) be a ring. Then the additive identity 0 ∈ R is unique.
Furthermore, for every a ∈ R the additive inverse (−a) is unique.
Exercise 1.2
Show that the following are commutative rings.
(a) The set of integers Zn = {0, 1, 2, . . . , n − 1}, equipped with addition
and multiplication modulo n.
(b) The set
√ √
Z[ 2] = {a + b 2 : a, b ∈ Z},
equipped with the usual addition and multiplication of real numbers.
8
1 Rings
Having seen some examples and non-examples, we are ready to prove some
simple properties that we should expect to find. Throughout these, you
should be thinking how this is exactly what we expect in the examples of
rings that we have just seen. Are the properties also true for each of our
two non-examples, and if they aren’t, why not?
9
Rings and polynomials
Proving statements like these is Proof We will prove parts (a)–(c), and leave part (d) as an exercise for
actually quite tricky: we need to be careful that at each stage we 10
use only the axioms that define a ring, or results that we have you to do.
derived from these axioms.
(a) Let a ∈ R, and set b = 0 · a. We want to show that b is the
additive identity. First, we know that 0 = 0 + 0, and so 0 · a = (0
+ 0) · a = 0 · a + 0 · a, using axiom R9. Since we set b = 0 · a,
we have b = b + b. Therefore, using associativity:
0 = b + (−b) = (b + b) + (−b) = b + (b + (−b)) = b + 0 = b. A
similar argument can be used to prove that a · 0 = 0.
(b) First, for any a ∈ R we have (−a) + a = 0. Now, the element
(−a) of R has a unique additive inverse (by Lemma 1.2), namely
−(−a), from which it follows that a = −(−a).
(c) We have a · b + (−a) · b = (a + (−a)) · b = 0 · b = 0, the last
step following by part (a) of the proposition. Therefore, (−a) · b
must be the additive inverse of a · b, and so we have (−a) · b =
−(a · b). Similarly, we can show that −(a · b) = a · (−b).
Exercise 1.3
Prove part (d) of Proposition 1.5. What can you say about a ring in which the additive and
multiplicative identities are the same, that is, a ring where
Exercise 1.4 0 = 1?
1 Rings
1.1 Subrings
√
In Exercise 1.2, we showed that the sets Zn and Z[ 2] were rings. In the
solution, we appealed to properties of addition and multiplication of a
√
larger set to prove some of the axioms. For example, Z[ 2] is a subset of
the ring R, and hence, since we are using the same definition of addition
and multiplication for both, some of the axioms hold immediately. In this
subsection, we want to formalise this approach.
Lemma 1.7
Let R be a ring, and S a subring of R. Then the additive identity
of S is the same as the additive identity of R.
11
Rings and polynomials
Lemma 1.8 Subring criterion
Let R be a ring and let S be a subset of R. Then S is a subring of R
if:
Axiom SR1 can be thought of as SR1 for all s, t ∈ S, s − t ∈ S
sure under subtraction’.
‘clo SR2 for all s, t ∈ S, st ∈ S
SR3 the multiplicative identity of R is in S.
12
1 Rings
Exercise 1.5
By considering a suitable larger ring and using Lemma 1.8, prove that the
following are rings:
(a) Z[ω] = {a + bω + cω2: a, b, c ∈ Z} where ω = e2iπ/3, so that ω3 = 1
(b) Q[i] = {a + bi : a, b ∈ Q}.
13
Rings and polynomials
Now that we are aware of the possibility that rings have zero divisors, we
turn again to the issue of multiplicative inverses: which elements of a ring
can be multiplied together to give 1? For example, in Z, we have
(−1) · (−1) = 1, and so −1 is its own multiplicative inverse, but there is no
multiplicative inverse of 2 in Z.
So far, we have allowed our rings to be non-commutative, that is, axiom
R10 has not needed to be satisfied. Our main example of a
non-commutative ring has been M2×2, the ring of 2 × 2 matrices with
entries from R. As we move our focus to consider elements that have
multiplicative inverses, the existence of non-commutative rings leads to
some awkward possibilities. For example, could we have a
The answer to this question is non-commutative ring R and a, b ∈ R, with a · b = 1, but b · a 6= 1? ‘yes’ for
some quite peculiar
rings, but we will not explore
this here.
14
1 Rings
With this settled, we can define a term for elements that have
multiplicative inverses.
Exercise 1.7
For example, in the ring Z the only units are 1 and −1; in the
ring Z10 the units are 1, 3, 7 and 9, since List all the units in the following rings.
(a) Z12 15
(b) Z × Z
(c) Z[i]
Exercise 1.8
(a) Write down all the zero divisors in the rings Zn, for n =
8, 9, 10, 11 and 12.
(b) Give a description of all the zero divisors in Z n, for any
given natural number n.
1.3 Fields
In the definition of a ring, the axiom we were missing for the non-zero
elements to form a group under multiplication was that every element has
an inverse: in other words, every non-zero element is a unit. A ring with
this property is called a field.
In the same way that we have been using the symbol R to refer to a general
ring, we will use F for a field. You may find that in other texts the letter
K is used: this is because the German mathematician Richard Dedekind
(1831–1916) used the term K¨orper for field, which translates as ‘body’.
z−1 =1 a + i b= a2 + b2 +i
−b a2 + b2 .
a
16
1 Rings
Lemma 1.17
Let F be a field. Then F has no zero divisors.
In Exercise 1.8, we stated that Zn has no zero divisors if, and only if, n is a
prime number. In fact, each element of Zn is either a zero divisor or a unit.
Lemma 1.18
Let a ∈ Zn be non-zero, where n ∈ N. Then a is either a zero divisor
or a unit.
Proof If hcf(a, n) = 1, then by Proposition 4.7 of Book A, Chapter 1 For any non-zero element a, one
there exist s, t ∈ Z such that sa + tn = 1. Therefore, sa ≡ 1 (mod This lemma immediately gives us an important
n), and hence a is a unit in Zn. consequence.
On the other hand, if hcf(a, n) = d > 1, then a = dh and n =
dk for some h, k, with 1 < k < n and hcf(h, k) = 1. Then Corollary 1.19
ak = (dh)k = (hd)k = h(dk) = hn ≡ 0 (mod n), The ring Zn is a field if, and only if, n is a prime number.
which proves that a is a zero divisor. of two things can happen: either hcf(a, n) = 1, or hcf(a, n) > 1.
We consider each of these possibilities in turn. 17
Rings and polynomials
The fields Zp, where p is a prime number, contain only finitely many
elements, and are therefore called finite fields. We will not explore finite
fields further in this chapter, as we will study them in some detail in
Book E, Chapter 19. However, we will make two quick remarks.
First, the fields Zp, for p prime, are not the only finite fields: in fact, there
exists a finite field with q elements if, and only if, q is a power of a prime
number.
Second, if we repeatedly add the multiplicative identity to itself,
1 + 1 + · · · + 1, we will at some point end up with the additive identity.
For example, in Z3, 1 + 1 + 1 = 3 ≡ 0 (mod 3). The number of times we
add 1 to itself to get 0 is known as the characteristic. So, the
characteristic of Z3 is 3.
We finish this section by defining subfields, and developing an analogue to
the subring criterion (Lemma 1.8) that allows us to avoid checking all the
axioms.
Exercise 1.10
By considering suitable larger fields, show that the following are fields.
(a) Q[i] = {a + bi : a, b ∈ Q}
√ √
(b) Q[ 2] = {a + b 2 : a, b ∈ Q}
18
2 Polynomials over fields
We have seen the square bracket notation ‘F[x]’ a few times already in this
chapter, and it is worth verifying that our use of it has been consistent.
√
For example, in Exercise 1.10(b) we encountered Q[ 2], which was defined
√
to be the set {a + b 2 : a, b ∈ Q}. The above definition would define it as
√ √ √
{a0 + a1 2 + · · · + an( 2)n: ai ∈ Q}, but of course ( 2)2 = 2 is already
√
an element of Q, and so the higher terms of 2 can simply be included in
the coefficients a0 and a1.
To be clear that F[x] is indeed a ring, we need to define ‘addition’ and
‘multiplication’ within F[x], and then be sure that all the axioms hold.
How we add and multiply polynomials should come as no surprise: first,
we need to remember that the field F came with its own addition and
multiplication, and use these to build the natural definitions. If in doubt,
think about how it is done in R[x], that is, when the coefficients are all real
numbers.
Addition is defined by
Xn i=0 aixi + bixi = (ai + bi)xi.
! Xm i=0 !
max( m,n)
X i=0
Note that the sum on the right-hand side of this equation goes up to
max(m, n): so, if n < m then we add ‘dummy’ coefficients
an+1 = an+2 = · · · = am = 0.
What is the zero of F[x]? If ‘0’ is the symbol for the zero in the field F,
then let 0x be the zero in F[x]. It is defined as the polynomial where every
coefficient is equal to 0; so in fact we have 0x = 0. However, we will
continue to use the symbol 0x to highlight when we are working in the
polynomial ring F[x].
19
Rings and polynomials
At first sight, this definition looks rather offputting. So, let us quickly
consider an example to reassure ourselves that this is exactly what we
expect to see. Take polynomials f(x) = 1 + 5x − 4x2 and g(x) = 2 + 3x
over R. Then
f(x)g(x) = (1 + 5x − 4x2) · (2 + 3x)
2 3
=1 · 2 +1 · 3 + 5 · 2 x +5 · 3 + (−4) · 2 x +(−4) · 3 x
= 2 + 13x + 7x2 − 12x3.
What is the multiplicative identity of F[x]? As we did with the zero, we
will use the special symbol 1x to distinguish it from the ‘1’ in F, even
though 1x = 1.
The remaining axioms R6–R9 are readily verified, as a consequence of the
axioms for the field F. In addition, since multiplication in F is
commutative, it follows that F[x] is a commutative ring, that is, axiom
R10 holds.
20
2 Polynomials over fields
Exercise 2.1
Let f(x) = 2x3 − 3 and g(x) = 9x4 + 7x2 − x + 1. Compute (i) f(x) + g(x) and (ii) f(x) · g(x) in the following polynomial rings:
(a) Q[x]
(b) Z7[x]
(c) Z2[x].
This choice is made so that the following lemma is consistent when one or
both of the polynomials f and g are equal to 0x.
Lemma 2.6
Let F be a field, and let f(x) and g(x) be polynomials in F[x]. Then
deg(fg) = deg(f) + deg(g).
Exercise 2.2
22
2 Polynomials over fields
Proof of Lemma 2.6 First, if either f(x) or g(x) is equal to 0x, then
fg = 0x and deg(fg) = −∞ as we should expect. So we now suppose that
f(x) 6= 0x and g(x) 6= 0x.
Let f(x) = a0 + a1x + · · · + anxn and g(x) = b0 + b1x + · · · + bmxm be
polynomials over F, where deg(f) = n and deg(g) = m. In particular, this
means that an 6= 0 and bm 6= 0. Now, from the definition of multiplication
in F[x], m +n
X k=0 ai· bj
X i+j=k xk.
f(x)g(x) =
Exercise 2.3
Calculate the degree of f(x) + g(x) over the stated ring:
(a) f(x) = 2x3 + 4x2 − 1 and g(x) = 3x3 + 3x2 − 2x over Z5
(b) f(x) = 1 + x and g(x) = 1 − x over Q.
In the above exercise, you should have found that it is indeed possible for
the degree of the sum of two polynomials to be less than the sum of the
degrees. In each case, the top term of f + g disappeared because
deg(f) = deg(g), and the leading coefficients of f and g were additive
inverses of each other.
Lemma 2.7
Let F be a field, and let f(x) and g(x) be polynomials in F[x]. Then
deg(f + g) ≤ max(deg(f), deg(g)).
23
Rings and polynomials
First, the property that the field F has no zero divisors can be shown to
imply that there are also no zero divisors in F[x].
Lemma 2.8
Let F be a field, and let f(x), g(x) ∈ F[x] be polynomials such that
f(x)g(x) = 0x. Then either f(x) = 0x, or g(x) = 0x (or both).
Lemma 2.9
An element of a polynomial ring F[x] over a field F has a
multiplicative inverse (that is, the element is a unit) if, and only if, it
has degree 0.
Conversely, for a polynomial f(x) ∈ F[x], suppose that g(x) ∈ F[x] is the
multiplicative inverse. Then f(x)g(x) = 1x, and so by Lemma 2.6
deg(f) + deg(g) = deg(1x) = 0. By definition, the degree of a polynomial is
either −∞ or an integer value greater than or equal to 0. So the only
possible situation in which deg(f) + deg(g) = 0 arises is when f has
degree 0.
24
3 Divisibility of polynomials
We finish this section with a couple of definitions that we will need later in
this chapter.
Exercise 2.4
Let F be a field, and f(x) a non-zero polynomial in F[x].
Prove the
following.
(a) If g(x) ∈ F[x] is an associate of f(x), then deg(g) = deg(f).
(b) There exists a unique monic polynomial that is an
associate of f(x).
3 Divisibility of polynomials
This section seeks to develop some results concerning
the divisibility of
polynomials that mirror results in Book A, Chapter 1 for
the integers.
There are two parts to this Proof If f = 0x or deg(f) < deg(g), then we can simply take q = 0x and
proof. First, we prove the existence of a suitable q and r using bmxm, with an 6= 0 and bm 6= 0 so that deg(f) = n and deg(g)
induction, and then we prove that they are unique. = m. We use induction on d = n − m ≥ 0 to prove the existence
r = f(x). Thus from now on we will assume deg(f) ≥ deg(g). Let of a suitable q(x) and r(x).
f(x) = a0 + a1x + · · · + anxn and g(x) = b0 + b1x + · · · +
The base case is d = 0, when m = n. In this case, we can take q = anb−1 Remember F is a field, and so m , m =
m
1.and r = f − qg. Note that deg(r) < deg(g) because the coefficient of x
we can find b−1
bmb−1 in r disappears: am − amb−1 For the inductive step, suppose that
m such that the statement is true for
m bm = 0.
k
m x We have expressly constructed g. There
d = 0, 1, . . . , k − 1. Now consider d = k. Define f1 = f − anb−1
) < deg(f).
f1 so that deg(f1 are three cases to consider: f1 = 0x, deg(f1) < deg(g) and deg(f1) ≥
deg(g). If f1 = 0x, then we take q = anb−1
deg(f1) < deg(g), then we take q = anb−1 mx
n−m
and r = 0x. If
n−m
mx and
r = f1. Thus we now
suppose deg(f1) ≥ deg(g). By induction, we can find q1(x), r1(x) such that
f1 = q1g + r1, with deg(r1) < deg(g). We now substitute back:
f = anb−1
n−m
mx g + f1
−1
= a nb
n−m
mx g + (q1g + r1)
n−m
mx + q 1 g + r1
−1
=anb
and so we take q = anb−1
n−m
mx + q1 and r = r1.
For uniqueness of q and r, suppose that we can find another pair of
polynomials q∗, r∗ with f = q∗g + r∗. Then we have qg + r = q∗g + r∗,
which can be rearranged to give (r − r∗) = (q∗ − q)g. Applying Lemma 2.6,
we get deg(r − r∗) = deg(q∗ − q) + deg(g), but since deg(g) > deg(r − r∗)
this is a contradiction unless r = r∗ and q∗ = q.
26
3 Divisibility of polynomials
x4 − x2
2x2 + x − 2
x4 − x2
2x2 + x − 2
2x2 − 2
x
We would now repeat the process, except that the highest term of
g(x) is now larger than the highest term of the polynomial we want to
divide, and hence what is left is the remainder. This gives
q(x) = x2 + 2 and r(x) = x.
27
Rings and polynomials
Exercise 3.1
For each of the following polynomials f(x), g(x) in Q[x], find the quotient
q(x) and the remainder r(x) for the division of f(x) by g(x).
(a) f(x) = x3 − 2x2 + 3x − 1, g(x) = x − 1
(b) f(x) = 2x4 − x + 1, g(x) = x2 + 1
(c) f(x) = 3x3 − 2x2 + 1, g(x) = 2x + 1
28
3 Divisibility of polynomials
As with the highest common factor of two integers, the hcf of two
polynomials is unique, as the next result will show. First, however, we
should ask ourselves whether the condition that hcf(f, g) is monic is
strictly necessary. It is straightforward to see that yes, it is necessary to
ensure uniqueness; otherwise, any associate of hcf(f, g) would also satisfy
conditions (a) and (b) of Definition 3.4.
Theorem 3.5
Let F be a field, and f, g two polynomials in F[x], not both equal
to 0x. Then hcf(f, g) is unique, and there exist polynomials
a, b ∈ F[x] such that
hcf(f, g) = af + bg.
To complete the proof, we need to prove that h = hcf(f, g). For this, we
use the Division Algorithm (Theorem 3.1) to find polynomials q and r such
that f = qh + r with deg(r) < deg(h). We want to show that r = 0x. To
do this, we demonstrate that r is a member of S:
r = f − qh
= 1 · f − q (af + bg)
= (1 − qa)f + (−qb)g ∈ S.
However, r has strictly smaller degree than h, and so we must have r = 0x.
Hence f = qh and so f is a multiple of h. A similar argument tells us
that g is a multiple of h, and hence h is a common factor.
Finally, we have to show that h is the highest of these factors. This follows
by Exercise 3.2(c): for any common factor d of f and g, we know that d
divides af + bg = h.
Both Definition 3.4 and Theorem 3.5 have the condition that f and g
cannot both be equal to the zero polynomial 0x of F[x]. When working
with the integers in Book A, Chapter 1 we simply stated that hcf(0, 0)
does not exist, and this would seem to make sense here too; thus, we
Some authors instead define declare that hcf(0x, 0x) does not exist.
.
hcf(0x, 0x) = 0x Following the pattern laid out by Chapter 1, we can now give meaning to the term ‘coprime’ in
the context of polynomials.
Corollary 3.7
The polynomials f, g ∈ F[x], not both equal to 0x, are coprime if, and
only if, there exist polynomials a, b ∈ F[x] such that af + bg = 1x.
Exercise 3.3
Let F be a field, and f, g and h be polynomials in F[x]. Prove the
following.
(a) If hcf(f, g) = 1x and both f and g divide h, then fg divides h.
Part (b) is the polynomial ring (b) If f divides gh and hcf(f, g) = 1x, then f divides h. equivalent to
Euclid’s Lemma,
Theorem 4.12 of Book A,
Chapter 1.
30
3 Divisibility of polynomials
31
Rings and polynomials
Exercise 3.4
Exercise 3.5
Lemma 3.11
Let F be a field, and f, g two non-zero polynomials in F[x]. Then
ℓ = lcm(f, g) is unique.
The proof follows the same pattern as the uniqueness part of the proof of
Theorem 3.5.
Proof By the remarks before the lemma, it suffices to show that among
the monic polynomials satisfying condition (a) of Definition 3.10, there is
only one of lowest degree.
For a contradiction, suppose that ℓ1 and ℓ2 are two monic polynomials of
the same lowest degree k that satisfy condition (a). However, then ℓ 1 − ℓ2
is a polynomial of degree strictly less than k, and by Exercise 3.2(c), since
each of f and g divides both ℓ1 and ℓ2, each also divides ℓ1 − ℓ2. Thus
ℓ1 − ℓ2 is a polynomial of degree less than k that satisfies condition (a),
which is a contradiction.
33
Rings and polynomials
Now we have established that lcms are indeed unique, we want a practical
way to find them. Of course, if we can factorise the polynomials f and g
then it is relatively straightforward to find lcm(f, g) (and indeed hcf(f, g)),
simply by comparing factors as we would do with prime factorisations in
the integers.
There are two problems with this approach. First, we haven’t yet
developed an analogue to ‘prime factorisation’ for polynomials (we will
consider this task in the next section). Second, having managed to
describe an analogue to ‘prime factorisation’, we would then need to find a
way of calculating it. This is no easy task for integers, let alone
polynomials over arbitrary fields! Instead, we will use the following result.
Proposition 3.12
Let f(x), g(x) be non-zero monic polynomials with coefficients from a
field F. Then
lcm(f, g) · hcf(f, g) = f · g.
Compare the proof of this Proof Let h(x) = hcf(f, g). Since h divides f, it also divides fg.
proposition with the proof of Proposition 4.15 in Book A, Chapter and q in F[x] such that
1: it is almost identical.
Therefore, there exists a polynomial ℓ(x) ∈ F[x] such that fg = f = hp and g = hq.
hℓ. We want to show that ℓ = lcm(f, g). Substituting for f and then g in fg = hℓ, and then cancelling
Since h divides both f and g, there exist polynomials p out a factor
Remember that Lemma 2.10 of of h, we obtain
this chapter tells us that we are allowed to cancel factors from 34
either side of an equation. ℓ = gp and ℓ = f q.
This shows that ℓ is a common multiple of f and g, and so
all that remains is for us to show it is the least such.
Suppose ℓ1 is another polynomial in F[x] that is divisible by
both f and g. There exist polynomials p1, q1 ∈ F[x] such
that
ℓ1 = q1f and ℓ1 = p1g.
We also know from Theorem 3.5 that there exist
polynomials a and b in F[x] such that h = hcf(f, g) = af +
bg.
3 Divisibility of polynomials
= x6 + x5 − x4 + x3 − x2 + x − 2.
Exercise 3.6
Working in Q[x], find the lcm of:
(a) x3 − 1 and x4 − x3 + x2 − 1
(b) x3 + x2 − 8x − 12 and x3 + 5x2 + 8x + 4.
35
Solutions and comments on exercises
37
Solutions and comments on exercises
(c) Zn has no zero divisors if, and only if, n is a prime number.
(d) Suppose that a ∈ R is a unit, and so there exists a multiplicative
inverse a−1. If there exists b ∈ R such that a · b = 0, then
b = 1 · b = (a−1a)b = a−1(ab) = a−1· 0 = 0.
Therefore a cannot be a zero divisor.
38
Rings and polynomials
Thus c =a
2
a2 + b and d =−b
2
a2 + b are both in Q, and the
multiplicative inverse c + di ∈ Q[i] is
2
a2 + b −b
a 2
a2 + b i.
√
(b) We will use the fact that Q[ 2] ⊂ R. First we show, using the subring
√
criterion (Lemma 1.8) that Q[ 2] is a subring of R. For a, b, c, d ∈ Q,
we have
√ √ √ √
SR1: (a + b 2) − (c + d 2) = (a − c) + (b − d) 2 ∈ Q[ 2].
√ √ √ √
SR2: (a + b 2) · (c + d 2) = (ac + 2bd) + (ad + bc) 2 ∈ Q[ 2].
√ √
SR3: The multiplicative identity of R and Q[ 2] is 1 = 1 + 0 2.
√
Finally, we find the multiplicative inverses of elements in Q[ 2]. Let
a, b ∈ Q, with at least one of a or b non-zero, and consider
√ √
a + b 2 ∈ Q[ 2]. We wish to find c, d ∈ Q such that
√ √
(a + b 2)(c + d 2) = 1.
√ √
Observe that (a + b 2)(a − b 2) = a2 − 2b2
If a is in Q, and is non-zero 2 − 2b2 were 0 with at least
one of a and b non-zero then b must be non-zero and so a2 √ √ √
2
since 2 is irrational. Thus, (a + b 2)(a − b 2)
= 2.
b
2
√ a a2 − 2b = 1.
This gives the contradiction that 2 = b∈ Q.
2
Therefore, we may take a2 − 2b , d =−b
2
c =a a2 − 2b ,
noting that this choice satisfies c, d ∈ Q, and therefore c +
√ √ √
d 2 ∈ Q[ 2]. Hence, the inverse of a + b 2 is
√ 39
2.
2
a2 − 2b +b
a
2b2 − a2
Solutions and comments on exercises
40
Rings and polynomials
x3 − x2
− x2 + 3x − 1
− x2 + x
2x − 1
2x − 2
1
Thus q(x) = x2 − x + 2 and r(x) = 1.
(b)
2x2 − 2
x2 + 1 2x4 − x + 1
4 2
2x + 2x
− 2x2 − x + 1
− 2x2 − 2
−x+3
Thus q(x) = 2x2 − 2 and r(x) = −x + 3.
(c)
2 7
2x − 4x +78
3
2x + 1 3x3 − 2x2 + 1
3x3 + 32x2
− 72x2 + 1
7 2 7
− 2x − 4x
7
4x +1
7
4x +78
1
8
42
Rings and polynomials
43
Solutions and comments on exercises
44
Index Euclidean Algorithm, 33
factor, 30, 44
Index Factor Theorem, 38
field, 18
finite fields, 20
associate, 27
Gauss’s Lemma, 45
binomial coefficient, 49 Gaussian integers, 14
characteristic, 20 hcf, 31
commutative ring, 8 highest common factor, 31
complex conjugate, ¯z, 41
content, 44 integral domains, 15
coprime, 32 irreducible, 40, 44
cyclotomic polynomials, 48
degree, 23
divides, 30, 44
Division Algorithm for polynomials, 28
Eisenstein’s Criterion, 47
45
lcm, 35
leading coefficient, 23 least common multiple, 35
monic, 27
subfield, 20
subring, 13
unit, 17
z¯, 41
zero divisor, 15