Notes2 34t4
Notes2 34t4
2 Algebraic numbers
2.1 Algebraic numbers and algebraic integers
Pythagoras and his school discovered that the square root of 2 is not a rational
number. (You saw the proof of this in Introduction to Algebra.) However, it
is an easy number to describe geometrically: it is the ratio of the diagonal of a
square to its side.
The number π has a more complicated geometric description: it is the ratio
of the circumference of a circle to its diameter, but there is no simple method
to construct a straight line which is equal to the circumference of a given circle.
(We know now, for example, that such a line cannot be constructed with the
traditional geometric instruments of “ruler and compass”.)
We make a distinction between algebraic numbers (which are roots of poly-
nomials with rational coefficients) and transcendental numbers (which are not):
1
Just asking one of these conditions would just define algebraic numbers over
again. For, given any non-zero polynomial f (x),
Example
√
• Let α = 2. Then α2 − 2 = 0, so α is a root of the polynomial x2 − 2.
This is monic and has integer coefficients. Thus α is an algebraic integer.
√ √
• Let α = 21 2 = 1/ 2. Then α2 = 12 , so α is a root of the monic rational
polynomial x2 − 12 , or (equivalently) of the non-monic integer polynomial
2x2 −1. Thus, α is an algebraic number; but we haven’t decided yet whether
it is an algebraic integer. We will see soon that it is not.
For this reason, we sometimes call the ordinary integers “rational integers”.
Proof We have seen that integers are algebraic integers; we have to prove that
a rational number which is an algebraic integer is an integer.
Let q = a/b be a rational number (a ∈ Z, b ∈ Z, b ≥ 1) in its lowest terms
(so that gcd(a, b) = 1). Suppose that q satisfies a monic polynomial with integer
coefficients, say
2
Now every term in this equation except the first is divisible by b, so b divides
an . Now assume b > 1, and choose a prime factor p of b. Since b divides an , p
divides an as well. Applying Lemma 1.2, we find that p | a. But also p | b, so
p | gcd(a, b) = 1. This is a contradiction. Therefore b = 1, so that q is an integer.
There is a result, which I will not prove, which makes things like this much
easier. This is known as Gauss’s Lemma. It can be stated in many different
ways. But the following will do for our purposes.
3
Definition An algebraic number is a quadratic number if its minimal polyno-
mial is of degree 2.
An algebraic number is a quadratic integer if its minimal polynomial is of
degree 2 and has integer coefficients.
Proposition
√ 2.3 A complex number α is a quadratic number if and only if α =
u + v d where u, v ∈ Q, v 6= 0 and d is a squarefree integer not equal to 1.
4
√
Remark √ The expression
√ u + v d for α is unique, in the sense that if we have
u1 + v1 d1 = u2 + v2 d2 for some u1 , u2 , v1 , v2 ∈ Q and squarefree integers d1 , d2
not equal to 1, then u1 = u2 , v1 = v2 and d1 = d2 .
√
2.3 The ring of integers of Q( d)
√ √
Recall that Q( d) = {u + v d : u, v ∈ Q} is a field. For d = 1 this is just the
rational numbers, which contains Z, the ring of integers.
√ In this section we will
introduce the analog of the integers for the field Q( d).
√
Definition Suppose d is -free. The ring of integers of Q( d) denoted OQ(√d)
is defined as
√
OQ(√d) = {α ∈ Q( d) : α is an algebraic integer}.
It turns out that OQ(√d) is a ring, however this is not clear from the definition.
√
Also, note that Z ⊂ OQ(√d) since Z ⊂ Q( d) and every integer is an algebraic
integer.
In the following proposition we will characterize the quadratic integers.
Proposition
√ 2.4 A quadratic number α is a quadratic integer if and only if
α = u + v d, where d is a squarefree integer not equal to 1 and either
• u, v ∈ Z, v 6= 0, or
• u − 21 , v − 1
2
∈ Z and d ≡ 1 (mod 4).
√
Example The golden ratio φ = (1 + 5)/2 is a quadratic integer, with u =
v = 12 and d = 5. It is a root of the polynomial x2 − x − 1.
√
Example The complex number ω = (−1 + −3)/2 is a quadratic integer.
Indeed, it is an algebraic integer since it is a cube root of unity; that is, it is a
root of x3 − 1. Now x3 − 1 = (x − 1)(x2 + x + 1), so ω has minimal polynomial
x2 + x + 1.
√ √
Example 1/ 2 = 12 2 is an algebraic number but not an algebraic integer,
√ √
since it has the form u + v d with u = 0, v = 12 and d = 2. Similarly, (3 + 7)/2
is an algebraic number but not an algebraic integer; we have u = 3/2, v = 1/2,
and d = 7 6≡ 1 (mod 4).
5
The proof of Proposition 2.4 is not difficult, but for sake of brevity has been
moved to an appendix. I won’t expect you to know√the proof.
A naive guess would be that OQ(√d) = {m + n d : m, n ∈ Z}, but if d = 5
√
in the example above we saw that φ = (1 + 5)/2 ∈ OQ(√5) so the guess is not
quite correct.
Using the proposition we can now describe OQ(√d) .
and
√ " √ !#
1+ d 1+ d
OQ(√d) = m+n : m, n ∈ Z =: Z if d ≡ 1 (mod 4)
2 2
6
2.4 Units in OQ(√d) and Pell’s equation
By analogy with the integers number theorists are also interested in the arith-
metic structure of OQ(√d) . One of the most fundamental questions one can ask
is: ”What are the units in OQ(√d) ?”.
Recall that in a ring R an element α ∈ R is a unit provided that α · β = 1R
for some β ∈ R.
Example In Z[i], ±1, ±i are units. In fact, these are all the units.
√ √
Definition Given α = u + v d ∈ Q( d) the conjugate of α, denoted by α is
√
α = u − v d.
√ √ √
√For example the conjugate of 1 + 2 is 1 − 2, and the conjugate of 5 is
− 5. Also, α is rational if and only if α = α (why?). Here are some properties
of conjugates.
√
Lemma 2.6 Suppose α, β ∈ Q( d) where d is squarefree then
a) α = β if and only if α = β
√ √
b) αα ∈ Z if α = u + v d ∈ Z[ d]
c) αβ = αβ
√ √
Proof Write
√ α = u +
√ v d and β = r + s d. To prove a) notice that if α = β
then u + v d = r + s d so
√
(u − r) = (v − s) d
since the left hand side is a rational number we must have v − s = 0 (otherwise
the right
√ hand side√ would be irrational). So u = r and v = s. This implies
u − v d = r − s d as desired.
Now consider
√ √
αα = (u + v d)(u − v d) = u2 − dv 2 ∈ Z
whenever u, v ∈ Z. This proves b).
Finally,
√ √ √ √ √
αβ = (u + v d)(r + s d) = ur +vsd−(us+vr) d = (u−v d)(r −s d) = αβ,
which proves c).
7
√ 2.7 Suppose that d ≡ 2, 3 (mod 4) is squarefree. An element
Proposition
α = u + v d ∈ OQ(√d) is a unit if and only if
u2 − dv 2 = ±1.
Example In Z[i], α = u + vi is a unit iff u2 + v 2 = ±1. The only way this can
happen is if u = 0, v = ±1 or u = ±1 and v = 0. Hence the units in Z[i] are
precisely ±1, ±i.
√
Remark
√ It turns out that Z[ 3] has infinitely many units! We’ll see that
(2 + 3)n is a unit for each n ∈ N .
√ √
Proof √(⇒) Suppose that α = u + v d ∈ Z[ d] is a unit. Then there exists
β ∈ Z[ d] such that αβ = 1 so by the lemma, part a), αβ = 1. Combining these
equations gives
1 = αβαβ = (αα)(ββ)
by part c) of the lemma. By part b) we know ββ ∈ Z and also αα = u2 − dv 2 so
we get
1 = (u2 − dv 2 ) · ” an integer”.
Hence u2 − dv 2 is a unit in Z so u2 − dv 2 = ±1.
(⇐) Suppose that u2 − dv 2 = ±1. Then
(αα)2 = (u2 − dv 2 )2 = 1
√
so α(α · α2 ) = 1 so that α is a unit in Z[ d].
8
Let f (x) = x2√
− ax + b be the minimal polynomial√of α. So one root of
f (x) is α =√u + v d, the other
√ one has to be = u − v d. Therefore, f (x) =
(x − (u + v d))(x − (u − v d)). We conclude that
• a = 2u, and
• b = u2 − dv 2 .
1 1
Case 2: u − 2
∈ Z. Say u = s + 2
where s ∈ Z. We have
1
s2 + s + − dv 2 ∈ Z,
4
so dv 2 − 41 ∈ Z, and in particular 4v 2 d − 1 ∈ 4Z.
The last condition shows that v ∈ / Z; for if it is, then 4v 2 d − 1 would be odd.
Again, write v = ab for a, b ∈ Z, b > 0, gcd(a, b) = 1. By assumption,
2
4dv 2 = 4da
b2
∈ Z. So b2 | 4da2 . Let p be a prime, n ≥ 1 an integer with pn | b.
Then p2n divides b2 . Thus p2n | 4da2 . But we also have p 6 | a as gcd(a, b) = 1. It
follows that p2n | 4d. As d is squarefree, this implies p2n−1 | 4. Hence p = 2 and
n = 1. So the denominator of v must be 2, and v = t + 12 for some t ∈ Z. Then
u2 − dv 2 = s2 + s + 41 − d(t2 + t + 41 ),