9 Arithmetic in number fields

9.1 Algebraic integers

Remember the following definition from Algebra: let \(\alpha \in \mathbb{C}\); then \(\alpha\) is algebraic if there is a non-constant polynomial \(f(X) \in \mathbb{Q}[X]\) with \(f(\alpha) = 0.\)

Of course, the set \(\overline{\mathbb{Q}}\) of all algebraic numbers is too big to have any interesting factorisation theory (it’s a field, so every non-zero element is a unit); we want to pick out the algebraic numbers which “don’t have any denominators” in some sense. It turns out the good definition is the following:

Definition 9.1

We say \(\alpha \in \mathbb{C}\) is an algebraic integer if there exists a monic polynomial \(f(X) \in \mathbb{Z}[X]\) with \(f(\alpha) = 0.\) We write \(\bar{\mathbb{Z}}\) for the set of algebraic integers.

Example 9.2

Clearly we have \(\mathbb{Z}\subseteq \bar{\mathbb{Z}},\) since for any \(n \in \mathbb{Z},\) \(f(X) = X - n\) is a monic polynomial that it satisfies. Moreover, if \(n \in \mathbb{Z}\) then \(\sqrt{n} \in \bar{\mathbb{Z}}.\)

Less obviously, \(\omega = \tfrac{-1 + \sqrt{-3}}{2} \in \bar{\mathbb{Z}},\) since it satisfies \(X^2 + X + 1 = 0.\)

Proposition 9.3

For any algebraic number \(\alpha,\) there exists some \(N \in \mathbb{N}_+\) such that \(N\alpha \in \bar{\mathbb{Z}}.\)

Proof. Exercise. (Hint: if \(f(X) = X^n + a_{n-1} X^{n-1} + \dots + a_0 \in \mathbb{Q}[X]\) is the minimal polynomial of \(\alpha,\) and \(\beta = N\alpha\) for some \(N,\) then what is the minimal polynomial of \(\beta\)?)

What’s less obvious is how one would show that anything is not an algebraic integer! Fortunately, we have the following criterion:

Proposition 9.4

An algebraic number \(\alpha \in \mathbb{C}\) is an algebraic integer if and only if its minimal polynomial has integer coefficients.

Proof. Let \(f \in \mathbb{Q}[X]\) be the minimal polynomial of \(\alpha.\) If \(f \in \mathbb{Z}[X],\) then clearly \(f\) is an algebraic integer.

Conversely, suppose \(f\) does not have integer coefficients, but there is some (larger-degree) monic integral polynomial \(h\) with \(h(\alpha) = 0.\) Then we must have \(h(X) = f(X) g(X)\) for some \(g \in \mathbb{Q}[X].\)

Let \(C\) be the least common multiple of the denominators of the coefficients of \(f,\) so that \(C f \in \mathbb{Z}[X],\) and similarly \(D\) for \(g.\) Then we clearly have \((C f) (D g) = (CD)h.\) Now let \(p\) be a prime dividing \(CD.\) Clearly at least one coefficient of \(C f\) is not divisible by \(p\) (since otherwise \(C / p\) would be the LCM of the denominators). Similarly at least one of the coefficients of \(D g\) is not divisible by \(p.\) So \(Cf \bmod p\) and \(D g \bmod p\) are non-zero in \(\mathbb{F}_p[X].\) But their product \(C D h\) is zero, since \(p \mid CD\) and \(h\) has integral coefficients. This contradicts the fact that \(\mathbb{F}_p[X]\) is an integral domain. So \(CD\) must in fact be 1, i.e. both \(f\) and \(g\) are integral.

Example 9.5

  • If \(x \in \mathbb{Q}- \mathbb{Z},\) then \(x\) is not an algebraic integer. (That is, we have \(\bar{\mathbb{Z}} \cap \mathbb{Q}= \mathbb{Z}\)).

  • The number \(\tfrac{1 + \sqrt{3}}{2}\) is not an algebraic integer: it is a root of the polynomial \(x^2 - x - \tfrac{1}{2},\) and since it clearly isn’t in \(\mathbb{Q},\) this must be the minimal polynomial.

It follows that a rational number is an algebraic integer iff it’s an integer in the usual sense.

Exercise 9.6 • Warning!

Give a counterexample to show that is not true that if \(\alpha\) is an algebraic integer, then every monic polynomial that \(f\) satisfies has to have integral coefficients.

For doing arithmetic with algebraic integers, the following characterisation is useful:

Proposition 9.7

\(\alpha \in \mathbb{C}\) is an algebraic integer if and only if \(\mathbb{Z}[\alpha]\) is finitely generated as an abelian group.

Proof. If \(\alpha\) satisfies a polynomial \(f(X) = X^n + a_{n-1} X^{n - 1} + \dots,\) then \(\alpha^{n}\) is in the \(\mathbb{Z}\)-span of \(1, \dots, \alpha^{n-1},\) and by induction one can show that \(\alpha^{n+1},\) \(\alpha^{n + 2}\) etc are also in this span.

Conversely, if this group is finitely generated, then each generator can only mention finitely many powers of \(\alpha,\) so there is some \(N\) such that \(\{1, \dots, \alpha^N\}\) is a generating set. Hence \(\alpha^{N + 1}\) is in the \(\mathbb{Z}\)-span of \(\{1, \dots, \alpha^N\},\) giving a monic integral polynomial that \(\alpha\) satisfies.

Corollary 9.8

If \(\alpha, \beta\) are algebraic integers then so are \(\alpha \pm \beta\) and \(\alpha \beta.\)

Proof. Suppose \(\alpha,\) \(\beta\) satisfy polynomials of degree \(M, N\) respectively. Consider the subgroup of \(\mathbb{C}\) generated by \(\{ \alpha^i \beta^j : 0 \leqslant i < N, 0 \leqslant j < M\}.\) This is finitely generated and contains \(\alpha^r \beta^s\) for all \(r, s \in \mathbb{N},\) so in particular it contains \((\alpha \beta)^j\) and \((\alpha \pm \beta)^k\) for all \(j, k.\) Since a subgroup of a finitely generated abelian group is finitely generated, the result follows.

Thus the set \(\overline{\mathbb{Z}}\) of all algebraic integers is a subring of of \(\mathbb{C}.\)

Exercise 9.9

Find a monic polynomial \(f(X) \in \mathbb{Z}[X]\) with \(f(\sqrt{2} + \sqrt{3}) = 0.\)

9.2 Number fields

Definition 9.10

A number field is a subfield \(K \subset \mathbb{C}\) such that \([K: \mathbb{Q}] < \infty\) (i.e. \(K\) is finite-dimensional as a \(\mathbb{Q}\)-vector space).

Note that every number field consists of algebraic numbers. Conversely, if \(\alpha\) is an algebraic number, then \(\mathbb{Q}(\alpha),\) the field extension generated by \(\alpha\) (cf. Algebra chapter 10) is a number field. (However, the field \(\bar{\mathbb{Q}}\) of all algebraic numbers isn’t a number field – it’s too big.)

Definition 9.11

If \(K\) is a number field, then we define \(\mathcal{O}_K,\) the ring of integers of \(K\), as \(K \cap \bar{\mathbb{Z}}.\)

Note that if \(\alpha\) is an algebraic integer, \(\mathbb{Z}[\alpha]\) might not be equal to the ring of integers of \(\mathbb{Q}(\alpha).\) For instance, \(\mathbb{Z}[\sqrt{-3}]\) is not the ring of integers of \(\mathbb{Q}(\sqrt{-3}),\) because it doesn’t contain \(\omega.\)

Proposition 9.12 • Rings of integers of quadratic fields

Let \(d \in \mathbb{Z}\) with \(d \ne 1,\) and suppose \(d\) is not divisible by \(n^2\) for any \(n > 1\) (\(d\) is “square-free”). Then the ring of integers of \(\mathbb{Q}(\sqrt{d})\) is given by \[\mathcal{O}_{\mathbb{Q}(\sqrt{d})} = \begin{cases} \mathbb{Z}\left[\tfrac{1 + \sqrt{d}}{2}\right] & \text{if $d = 1 \bmod 4$}, \\ \mathbb{Z}[\sqrt{d}] & \text{otherwise}. \end{cases}\]

Proof. First, note that \(\tfrac{1 + \sqrt{d}}{2}\) is a root of \(X^2 - X + \tfrac{1 - d}{4},\) so it is an algebraic integer iff \(d = 1 \bmod 4.\)

Conversely, let \(\alpha = u + v \sqrt{d}\) with \(u, v \in \mathbb{Q},\) and suppose \(\alpha \in \bar{\mathbb{Z}}.\) Then \(\alpha' = u - v \sqrt{d}\) is also in \(\bar{\mathbb{Z}},\) since it satisfies the same polynomial that \(\alpha\) does; and hence \(\alpha + \alpha' = 2u \in \bar{\mathbb{Z}} \cap \mathbb{Q}= \mathbb{Z}.\) Similarly, \(\alpha - \alpha' = 2v \sqrt{d} \in \bar{\mathbb{Z}}\); thus \((2v)^2 d \in \mathbb{Z},\) but since \(d\) is squarefree, this implies that \(2v \in \mathbb{Z}.\)

So, if \(\alpha\) is an algebraic integer but doesn’t lie in \(\mathbb{Z}[\sqrt{d}],\) then we can subtract a \(\mathbb{Z}\)-linear combination of \(1\) and \(\sqrt{d}\) to deduce that one of \(\{ \tfrac{1}{2}, \tfrac{\sqrt{d}}{2}, \tfrac{1 + \sqrt{d}}{2}\}\) is an algebraic integer. Clearly \(\tfrac{1}{2}\) and \(\tfrac{\sqrt{d}}{2}\) are never algebraic integers (since \(4 \nmid d\)); and \(\tfrac{1 + \sqrt{d}}{2}\) is an algebraic integer iff \(d = 1 \bmod 4.\)

Remark 9.13

Note that \(\mathcal{O}_{\mathbb{Q}(\sqrt{d})}\) is isomorphic to \(\mathbb{Z}^2\) as an abelian group: every element can be written uniquely in the form \(a + b \lambda\) for \(a, b \in \mathbb{Z},\) where \(\lambda = \frac{1 + \sqrt{d}}{2}\) or \(\sqrt{d}\) respectively.

More generally, one can show that for any number field \(K,\) \(\mathcal{O}_K\) is isomorphic to \(\mathbb{Z}^d\) as an abelian group, where \(d = [K : \mathbb{Q}].\) See Theorem 2.16 of Stewart & Tall.

We finish this chapter with a useful little result which will be helpful in the next chapter:

Proposition 9.14

For any number field \(K\) and any non-zero \(\alpha \in \mathcal{O}_K,\) there exists a non-zero \(\beta \in \mathcal{O}_K\) such that \(\alpha \beta \in \mathbb{Z}.\) That is, \(\alpha\) divides some non-zero integer.

Proof. This is a disguised version of Proposition 9.3. Let \(\gamma = 1 / \alpha.\) Then \(\gamma \in \overline{\mathbb{Q}},\) so there is some \(N \in \mathbb{N}_+\) such that \(N\gamma\) is an algebraic integer. Let \(\beta = N\gamma\) for any such \(N.\) Then \(\beta = N / \alpha\) is in \(K,\) and it’s an algebraic integer, so it’s in \(\mathcal{O}_K\); and we have \(\alpha \beta = N.\)

Home

Chapters

Contents

PDFs