| Previous page (Subrings and ideals) | Contents | Next page (Ring homomorphisms and isomorphisms) |
We now investigate some rather special rings. We start with a very familiar result.
The division algorithm for
If a, b
with b
0 then
q, r
such that a = bq + r with |r| <|b|.
The element q is called the quotient and r is the remainder.
Proof
Remarks
The greatest common divisor (or highest common factor) of two integers a, b
Remarks
The Euclidean algorithm
If d is the gcd of a, b there are integers x, y such that d = ax + by.
Proof
As a consequence of this algorithm we can now prove:
Theorem
Every ideal of
Proof
We now prove similar results for another ring.
The division algorithm for
If a(x), b(x)
Remarks
Proof
Remark
The above shows that if you divide by a monic polynomial (one with leading coefficient 1) you can do it in
Definition
The greatest common divisor of two polynomials a(x), b(x)
Remarks
One can then prove:
The Euclidean algorithm for polynomials.
If d(x) is the gcd of a(x), b(x) there are polynomials p(x), q(x) such that d = a(x)p(x) + b(x)q(x).
Proof
Remarks
In Maple the integer gcd is impemented with igcd and the Euclidean algorithm with igcdex. For polynomials use gcd and gcdex.
The above result on principal ideals follows for this ring.
Every ideal of
Proof
Remarks
Definition
The ring of Gaussian integers is the subring {a + bi | a, b
We'll prove the division and Euclidean algorithms for this ring but first we have to decide when one Gaussian integer is bigger or smaller than another.
Definition
The norm (or length) of the Gaussain integer a + bi is a2 + b2. We will write it as N(a + bi).
Remarks
If u, v
Remarks
First divide u by v in
For most positions of u/v there will be a choice of 2, 3 or even four Gaussian integers for the quotient.
Definition
The greatest common divisor of two Gaussian integers u, v
Remarks
The Euclidean algorithm for Gaussian integers.
If w is the gcd of u, v there are Gaussian integers g, h such that w = ug + vh.
and then we can deduce:
Every ideal of
Remark
Assume a > b > 0. Subtract multiples of b from a until just before things go negative. The quotient q is the number of times you subtract and r = a - bq.
we measure "size" by absolute value.
Definition
is the largest integer which divides them both.
1. These are the invertible elements or units of
.
We can use the division algorithm to prove
Here is an example: Take a = 76, b = 32 :

In general, use the procedure: divide (say) a by b to get remainder r1. Note that one can write r1 in terms of a and b.
Then divide b by r1 to get remainder r2. Note that one can write r2 in terms of b and r1 and hence in terms of a and b.
Repeat the process getting smaller and smaller remainders r1 , r2 , ... which must eventually lead to a remainder of 0.
At each stage ri can be expressed in terms of a and b. the last non-zero remainder d divides all the previous ones and hence both a and b. Hence it divides gcd(a, b). Since d can be written in terms of a and b the gcd(a, b) divides d and must therefore be
d.
is principal.
Let I be a non-zero ideal. Choose the smallest (non-zero) element a in the ideal I. If b is any other element then the Euclidean algorithm shows that gcd(a, b) is in I and this must be either
a since a is the smallest element in I. So b is a multiple of a.
Thus I = < a > .
[x]
[x] with b(x)
0 then
q(x), r(x)
[x] such that a(x) = b(x)q(x) + r(x) with either r(x) = 0 or deg(r(x)) < deg(b(x)).
case.
[x] we measure "size" by the degree.
We use the (slightly less well-known) process of dividing one polynomial by another (of lower degree). It is just like long division.
One example will suffice!
Take a(x) = 3x4 + 2x3 + x2 - 4x + 1 and b = x2 + x + 1


[x], but in general you may need to invert some elements so you'd better be in
[x].
[x] is a polynomial of highest degree which divides them both.
[x].
Just the same as for
-- except that the divisions are more tedious.
[x] is principal.
Just as in the
case, an ideal is generated by its smallest (in degree) element.
Now let us prove the same result for a completely different ring.
} of
. It is denoted
[i].
The division algorithm for
[i]
[i] with v
0 then
q, r
[i] such that u = vq + r with N(r) < N(v).
[i] we measure "size" by the norm.
Proof
This proof is very different to the other proofs above.
. You get a complex number u /v which lies in one of the "cells of the integer lattice".
At least one corner of the square is within distance 1 of u/v. This is the quotient q. The remainder is then r = u - vq and since |u/v - q| < 1 we have |u - qv| < |v| and so N(r) < N(v) as required.

Remark
Example

Divide 3 + 4i by 1 - i. In
we have (3 + 4i)/(1 - i) = [multiplying top and bottom by 1 + i] (-1 + 7i)/2 and this is in the square:
So we have a choice of four quotients and remainders:
q1 = 3i, r1 = 3 + 4i - (1 - i)3i = i ;
q2 = -1 + 3i, r2 = 1 ; q3 = 4i, r3 = -1 ; q4 = -1 + 4i, r4 = -i.
In each case N(ri) < N(1 - i) = 2
[i] is a Gaussian integer of largest norm which divides them both.
[i] are
1 and
i.
Then we can calculate just as before and prove:
[i] is principal.
also).
Previous page
(Subrings and ideals)
Contents
Next page
(Ring homomorphisms and isomorphisms)