Professional Documents
Culture Documents
2007
The Author(s) and The IMO Compendium Group
Arithmetic in Extensions of Q
Dusan Djukic
Contents
1
2
3
4
General Properties . . . . . . . . . . .
Arithmetic in the Gaussian Integers Z[i]
Arithmetic in the ring Z[ ] . . . . . . .
Arithmetic in other quadratic rings . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
4
5
6
General Properties
What makes work with rational numbers and integers comfortable are the essential properties they
have, especially the unique factorization property (the Main Theorem of Arithmetic). However,
the might of the arithmetic in Q is bounded. Thus, some polynomials, although they have zeros,
cannot be factorized into polynomials with rational coefficients. Nevertheless, such polynomials can
always be factorized in a wider field. For instance, the polynomial x2 + 1 is irreducible over Z or
Q, but over the ring of the so called Gaussian integers Z[i] = {a + bi | a, b Z} it can be factorized
as (x + i)(x i). Sometimes the wider field retains many properties of the rational numbers. In
particular, it will turn out that the Gaussian integers are a unique factorization domain, just like the
(rational) integers Z. We shall first discuss some basics of higher algebra.
Definition 1. A number C is algebraic if there is a polynomial p(x) = an xn + an1xn1 + + a0
with integer coefficients such that p( ) = 0. If an = 1, then is an algebraic integer.
Further, p(x) is the minimal polynomial of if it is irreducible over Z[x] (i.e. it cannot be written
as a product of nonconstant polynomials with integer coefficients).
2
Example 1. The number i is an algebraic
The theme of this text are extensions of the ring Z of degree 2, so called quadratic extensions.
2
2
Thus, for example,
the polynomials x + 1 and x + x + 1 determine the extensions Z[i] and Z[ ],
1 + 3
(this notation will be used later).
where =
2
All elements of a quadratic extension of Z are algebraic integers with the minimal polynomial of
second degree. Two elements having the same minimal polynomials are said to be conjugates. Each
nonrational element z of the quadratic extension has exactly one conjugate, called the conjugate of z
and denoted z. For a rational integer z we define z = z.
Definition 3. The norm of an element z of a quadratic extension of Z is N(z) = zz.
The norm is always an integer. Roughly speaking, it is a kind of equivalent of the absolute value
in the set of integers Z.
(k2 + 1).
k=1
division by p.
Solution. Denote P(x) = (1 + x)(2 + x) . . . (p 1 + x). We know that P(x) = x p1 1 + pQ(x) for
some polynomial Q(x) with integer coefficients.
Since k2 + 1 = (k + i)(k i) for each k, we immediately obtain that
N = P(i)P(i) = i p1 1 + pQ(i) (i) p1 1 + pQ(i)
4, if p 3 (mod 4);
0, otherwise.
The divisibility and congruences in an extension K of the ring Z is defined in the usual way:
x K is divisible by y K (denoted y | x) if there exists z K such that x = yz, and x y (mod z) if
z | x y.
Since every element of a quadratic ring is divisible by every unit, the definition of the notion of
a prime must be adjusted to the new circumstances.
Proof. If the division with remainder is possible in K, then the Euclidean algorithm ends in a finite
number of steps. A simple implication of the Euclidean algorithm is that if p is a prime, a, b K and
p | ab, then p | a or p | b. The uniqueness of factorization into primes (FTA) now easily follows. 2
There are quadratic rings in which FTA holds despite the nonexistence of a division with remainder. However, FTA is an exception rather than a rule.
We have already seen that the norm of element a + bi Z[i] (a, b Z) is N(a + bi) = a2 + b2 and the
units are 1 and i. Therefore, all divisors of a prime element Z[i] are 1, i, , i .
Theorem 6. The Fundamental Theorem of Arithmetic (FTA) holds in the set of Gaussian integers
Z[i].
Proof. Based on theorem 5, it is enough to show that for all a, b Z[i] with b 6= 0 there exists an
element p Z[i] such that N(a pb) < N(b).
Let , R be such that a/b = + i, and let s,t Z be such that | s| 1/2 and | t| 1/2.
Setting p = s + ti yields a pb = ( + i)b pb = [( s) + ( t)i]b, which implies
N(a pb) = N[( s) + ( t)i]N(b) = [( s)2 + ( t)2]N(b) N(b)/2 < N(b).
This proves the theorem. 2
The following proposition describes all prime elements in the set of Gaussian integers.
Theorem 7. An element x Z[i] is prime if and only if N(x) is a prime or |x| is a prime integer of
the form 4k 1, k N.
Proof. Consider an arbitrary prime x = a + bi Z[i] (a, b Z). Element x is prime also (indeed, if
x = yz, then x = y z), so N(x) factorizes into primes as xx.
Suppose that N(x) is composite, N(x) = mn for some two natural numbers m, n > 1. It follows
from xx = mn and the FTA that x m or x n, so we may suppose w.l.o.g. that x is a prime integer.
If x = 2 or x 1 (mod 4), then there exist integers a, b Z such that N(a + bi) = (a + bi)(a bi) =
a2 + b2 = x; hence x is composite in Z[i]. On the other hand, if x is a prime integer with x 3
(mod 4), then x is also prime in Z[i]. Indeed, if x = uv for some nonunit elements u, v Z[i], then
x2 = N(x) = N(u)N(v) implies N(u) = N(v) = x which is impossible. This proves our claim. 2
Problem 3. Solve the equation x5 1 = y2 in integers.
Solution. Rewrite the equation in the form x5 = (y + i)(y i). Note that x is not even, as otherwise
y2 1 (mod 4). Thus y is even and consequently the elements y + i and y i are coprime in
Z[i]. Since (y + i)(y i) is a fifth power, it follows that y + i and y i are both fifth powers. Let
a, b Z be such that y + i = (a + bi)5 = a(a4 10a2b2 + 5b4) + b(5a4 10a2b2 + b4 )i. It holds that
b(5a4 10a2b2 + b4 ) = 1, and therefore b = 1. It is easily seen that in both cases we have a = 0;
hence y = 0, x = 1 are the only solutions.
Problem 4. Suppose that x, y and z are natural numbers satisfying xy = z2 + 1. Prove that there
exist integers a, b, c, d such that x = a2 + b2, y = c2 + d 2 and z = ac + bd.
Solution. We use the following important fact: If m, n, p, q are elements of a unique factorization
domain K (in this case, K = Z[i]) satisfying mn = pq, then there exist u1 , u2 , v1 , v2 K such that m =
u1 v1 , n = u2 v2 , p = u1 v2 , q = u2 v1 . The proof of this fact is the same as in the case of m, n, p, q Z
and follows directly from the factorizations of m, n, p, q into primes.
Since xy = z2 + 1 = (z + i)(z i), the above fact gives us
x = u 1 v1
(1), y = u2 v2
(2), z + i = u1 v2
(3), z i = u2 v1
(4)
for some u1 , u2 , v1 , v2 Z[i]. The numbers x, y are real, and therefore v1 = q1 u1 , v2 = q2 u2 for
some rational numbers q1 , q2 . From (3) and (4) we easily conclude that q1 = q2 = 1. Now putting
u1 = a + bi, u2 = c + di yields x = u1 u1 = a2 + b2, y = c2 + d 2 and z = ac + bd.
Here denotes a primitive cubic root of unity. Then the norm of an element a + b Z[ ] (a, b Z)
is N(a + b ) = a2 ab + b2 and the units are 1, and (1 + ) = 2 .
Theorem 8. FTA holds in the ring Z[ ].
Proof. By the theorem 5, it suffices to show that a division with remainder is possible, i.e. for all
a, b Z[ ], b 6= 0 there exist p Z[ ] such that N(a pb) < N(b).
Like in the proof for the Gaussian integers, let , R be such that a/b = + i, and let s,t Z
be such that | s| 1/2 and | t| 1/2. Setting p = s+ti gives us N(a pb) 3N(b)/4 < N(b),
implying the theorem. 2
Problem 5. If p 1 (mod 6) is a prime number, prove that there exist a, b Z such that p =
a2 ab + b2.
Solution. It suffices to show that p is composite in Z[ ]. Indeed, if there is a prime element
z = a + b Z[ ] (a, b Z) that divides p, then also z | p = p. Note that z and z are coprime;
otherwise z | z, so there exists a unit element with z = z, and hence z (1 ) | 3, which is false.
Therefore a2 ab + b2 = zz | p, which implies a2 ab + b2 = p.
Thus we need to prove that p is composite in Z[ ]. It follows from the condition on p that
-3 is a quadratic residue modulo p, so there exist m, n Z which are not divisible by p such that
p | (2m n)2 + 3n2 = 4(m2 mn + n2), i.e. p | (m n )m n . However, p does not divide any of
the elements (m n ), m n , so it must be composite.
Theorem 9. Element x Z[ ] is prime if and only if N(x) is prime or |x| is a prime integer of the
form 3k 1, k N.
Proof. Number x = 3 is composite, as N(1 ) = (1 )(2 + ) = 3. Moreover, by problem 4,
every prime integer p 1 (mod 6) is composite in Z[ ].
The rest of the proof is similar to the proof of Theorem 7 and is left as an exercise. 2
Maybe the most famous application of the elementary arithmetic of the ring Z[ ] is the Last Fermat Theorem for the exponent n = 3. This is not unexpected, having in mind that x3 + y3 factorizes
over Z[ ] into linear factors:
x3 + y3 = (x + y)(x + y)(x + 2y) = (x + y)( x + 2y)( 2 x + y).
(1)
()
Proof. Suppose that x, y, z are nonzero elements of Z[ ] that satisfy (). We can assume w.l.o.g. that
x, y, z are pairwise coprime.
Consider the number = 1 . It is prime, as its norm equals (1 )(1 2 ) = 3. We observe
that = 1 2 = (1 )(1 + ) ; hence Z[ ] is divisible by if and only if so is al pha.
Each element in Z[ ] is congruent to 1, 0 or 1 (mod ): indeed, a + b a + b = 3q + r r (mod
) for some q Z and r {1, 0, 1}.
The importance of number lies in the following property:
(2)
3 + 3 + 3 = 0.
(3)
Since is a unit and a perfect cube, we have = 1. Furthermore, ABC = (z/ )3 is divisible
by (since 2 | z), so (exactly) one of the numbers , , , say , is divisible by . In fact, 3
divides ABC which is divisible by 3k3 and not by 3k2 , so k1 is the greatest power of that
divides . The numbers and are not divisible by ; consequently, 3 and 3 are congruent to
1 modulo 4 . Thus the equality A + B + C = 0 gives us 0 (mod 4 ), therefore = ;
now = 1 implies = .
Canceling in equation (3) yields 3 3 3 = 0, which gives us another nontrivial solution
to () with ( , , ) = 1. However, in this solution we have k1 | and k , which contradicts
the choice of k. 2
and norm are given by the formulas x + y d = x y d and N(x + y d) = x2 dy2 , where
x, y Z.
1 + d
, where d = 4k + 1 (k Z) is a squarefree
2 Extensions of the form K = Z[ ] for =
2
2
integer with d 6= 1 (then is an algebraic integer: + k = 0). The conjugation and norm
are given by x + y = x y y and N(x + y ) = x2 xy ky2, where x, y Z.
"
#
1 + d
Some of these rings are Euclidean, such as Z[ d] for d = 2, 1, 2, 3, 6, 7 and Z
2
for d = 7, 3, 5.
Determining all quadratic unique factorization rings (including the non-Euclidean ones) is extremely serious. Among the rings of the type 1 and 2 with d < 0, apart from the ones mentioned already, the FTA holds in only five other rings: namely, the rings of the type 2 for d =
11, 19, 43, 67, 163. Gauss conjecture that the FTA holds in infinitely many quadratic rings
with a positive d has not been proved nor disproved until today.
Problem 6. Find all integer solutions of the equation x2 + 2 = y3 .
3
Solution. Let us write the equation as (x + 2)(x 2) = y3 . For
x even we have y 2 (mod
4),which is impossible; therefore x is odd. Then x + 2 and x 2 are coprime elements
of
Z[ 2]whose product is a perfect cube. Using the FTA in Z[ 2] we conclude
that
x
+
2
3 = x + 2.
and x 2 are both perfect cubes.
Hence
there
exist
a,
b
Z
such
that
(a
+
b
2)
k
xk+1 = 2xk , i.e. xk = 2 for some > 0. The condition a0 = 2 gives us = log(2 + 3).
Therefore
n
n
(2 + 3)2 + (2 3)2
an =
.
2
Let p > 2 be a prime number such p | an . We distinguish two cases.
1 m2 3 (mod p) for some m Z. Then
n
(1)
n
Since (2 + m)(2 m) = 4 m2 1 (mod p), multiplying both sides of (1) by (2 + m)2 yields
n+1
(2 + m)2 1 (mod p). It follows that the order of number (2 + m) modulo p equals 2n+2 ,
from which we conclude 2n+2 | p 1.
n+2
multiplicative group
proof as in case (1),
Z p ( 3)2 equals 2 . This is not enough to finish the
n+2 | p2 1. However,
instead,
we
only
get
that
2
as the group Z p ( 3) has p 1 elements;
Note that(1 + 3)2 = 2(2 + 3). Now it is enough to show that 1/2 is a perfect square in the
field Z p ( 3). This immediately follows from the relation an = 0 = 2a2n1 1, as 1/2 = a2n1 .
This finishes the proof.