# 代数整数

**代数整数**是这样的复数：它是某个以普通整数 \(\mathbb{Z}\) 中元素为系数的首一多项式的根——所谓首一，即首项系数为 1。<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup> 全体代数整数构成的集合记作 \(\overline{\mathbb{Z}}\)；在数域 \(K\)（即 \(\mathbb{Q}\) 的有限扩张）中，代数整数构成**整数环** \(\mathcal{O}_K = \overline{\mathbb{Z}} \cap K\)，它是 \(K\) 内部与 \(\mathbb{Z}\) 相对应的对象。<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup><sup> • </sup><sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> 这些环是代数数论的核心研究对象，代数数论正是把数域及其整数环当作有理数与 \(\mathbb{Z}\) 的推广来研究。<sup>[3](https://math.ucla.edu/~sharifi/notes/algnum.html)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | 若存在首一多项式 \(f \in \mathbb{Z}[x]\) 使 \(f(\alpha) = 0\)，则 \(\alpha\) 是代数整数；全体代数整数构成 \(\overline{\mathbb{Z}}\)<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup> |
| 环结构 | 代数整数之和与积仍是代数整数，因此 \(\overline{\mathbb{Z}}\) 是一个环<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> |
| 极小多项式 | 代数整数在 \(\mathbb{Q}\) 上的极小多项式，其系数属于 \(\mathbb{Z}\)<sup>[4](https://crypto.stanford.edu/pbc/notes/numberfield/numberfields.html)</sup> |
| 有限生成判据 | \(\alpha\) 是代数整数，当且仅当 \(\mathbb{Z}[\alpha]\) 作为阿贝尔群是有限生成的<sup>[5](https://www.ucl.ac.uk/~ucahmki/ant/3704notes.pdf)</sup> |
| 二次域 | 对无平方因子的 \(d\)，若 \(d \equiv 1 \bmod 4\) 则 \(\mathcal{O}_{\mathbb{Q}(\sqrt{d})} = \mathbb{Z}[(1+\sqrt{d})/2]\)；若 \(d \equiv 2, 3 \bmod 4\) 则 \(\mathcal{O}_{\mathbb{Q}(\sqrt{d})} = \mathbb{Z}[\sqrt{d}]\)<sup>[6](https://www.math.ucla.edu/~sharifi/notes/algnum-ch01.html)</sup> |
| 有理整数 | \(\mathcal{O}_K \cap \mathbb{Q} = \mathbb{Z}\)，且 \(\mathbb{Q} \cdot \mathcal{O}_K = K\)<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> |
| 分式域 | \(\overline{\mathbb{Z}}\) 的商域是 \(\overline{\mathbb{Q}}\)<sup>[6](https://math.ucla.edu/~sharifi/notes/algnum.html)</sup> |

## 定义为何采取这种形式

这个定义的设计意图，是让代数整数在 \(\overline{\mathbb{Q}}\) 中的地位，恰如 \(\mathbb{Z}\) 在 \(\mathbb{Q}\) 中的地位。对 \(\overline{\mathbb{Q}}\) 中“整数”这一概念，有三条自然的要求：整数构成一个环；整数的共轭仍是整数；一个有理数是整数，当且仅当它是普通整数。<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup> 若 \(\alpha\) 满足这些要求，则其共轭 \(\alpha_1, \ldots, \alpha_d\) 都是整数，于是 \(p_\alpha(x) = (x - \alpha_1) \cdots (x - \alpha_d)\) 的系数作为共轭的和与积，是落在 \(\mathbb{Q}\) 中的整数，因而属于 \(\mathbb{Z}\)。所以整数应当是 \(\mathbb{Z}[x]\) 中首一多项式的根，而定义正是为了让这一点成立而选定的。<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup>

从定义本身并不显然能看出：代数整数之和与积仍是代数整数。例如，\(i\) 是 \(x^2 + 1\) 的根，\((1+\sqrt{-3})/2\) 是 \(x^2 - x + 1\) 的根，但仅凭这两个多项式，并不能直接看出 \(i + (1+\sqrt{-3})/2\) 满足某个 \(\mathbb{Z}\) 上的首一多项式。<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup>

## 刻画与基本性质

**有限生成。** 真正可操作的判据是模论式的：\(\alpha\) 是代数整数，当且仅当 \(\mathbb{Z}[\alpha]\) 作为阿贝尔群是有限生成的。<sup>[5](https://www.ucl.ac.uk/~ucahmki/ant/3704notes.pdf)</sup> 若 \(\alpha\) 满足一个 \(n\) 次首一多项式，则每个 \(m \ge n\) 的幂 \(\alpha^m\) 都可化为 \(1, \alpha, \ldots, \alpha^{n-1}\) 的 \(\mathbb{Z}\)-线性组合，因此这些幂生成 \(\mathbb{Z}[\alpha]\)。<sup>[5](https://www.ucl.ac.uk/~ucahmki/ant/3704notes.pdf)</sup> 反过来，若 \(\mathbb{Z}[\alpha]\) 由 \(n\) 个元素有限生成，便可构造一个 \(n \times n\) 的整数矩阵来编码"乘以 \(\alpha\)"这一运算，而凯莱–哈密顿式的行列式方程 \(\det(\alpha I - M) = 0\) 就是 \(\alpha\) 所满足的一个 \(n\) 次首一方程。<sup>[4](https://crypto.stanford.edu/pbc/notes/numberfield/numberfields.html)</sup>

这个判据可以证明代数整数对加法与乘法封闭。若 \(\alpha\) 与 \(\beta\) 都是代数整数，则 \(\mathbb{Z}[\alpha]\) 与 \(\mathbb{Z}[\beta]\) 都有限生成，从而 \(\mathbb{Z}[\alpha, \beta]\) 有限生成；\(\mathbb{Z}[\alpha + \beta]\) 与 \(\mathbb{Z}[\alpha\beta]\) 都是它的子模，因而也有限生成，所以 \(\alpha + \beta\) 与 \(\alpha\beta\) 都是代数整数。<sup>[4](https://crypto.stanford.edu/pbc/notes/numberfield/numberfields.html)</sup><sup> • </sup><sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> 于是 \(\overline{\mathbb{Z}}\) 是一个环。<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup>

**极小多项式。** 有理系数多项式可以通过伸缩使其首一，或使其系数为整数，但代数整数的条件要求二者同时成立。<sup>[7](https://notes.edubirdie.com/docs/massachusetts-institute-of-technology/res-18-012-algebra-ii-student-notes/97008-lecture-14-notes-number-fields)</sup> 事实上这两个条件是等价的：若 \(\alpha\) 是某个首一多项式 \(f \in \mathbb{Z}[x]\) 的根，则 \(f\) 是极小多项式 \(m_\alpha \in \mathbb{Q}[x]\) 的倍式，而高斯引理给出一个常数 \(c \in \mathbb{Q}^{\times}\)，使得 \(cq\) 与 \(c^{-1} m_\alpha\) 都属于 \(\mathbb{Z}[x]\)；由于 \(f\) 与 \(q\) 都是首一的，故 \(c = \pm 1\)，从而 \(m_\alpha \in \mathbb{Z}[x]\)。<sup>[5](https://www.ucl.ac.uk/~ucahmki/ant/3704notes.pdf)</sup> 等价地说，\(\mathbb{Z}[x]\) 中的首一多项式不可能在 \(\mathbb{Q}\) 上分解为系数不全是整数的首一因式之积。<sup>[4](https://crypto.stanford.edu/pbc/notes/numberfield/numberfields.html)</sup>

**有理数。** 既约有理数 \(a/b\) 的极小多项式是 \(bx - a\)，它在 \(\mathbb{Z}[x]\) 中首一当且仅当 \(b = 1\)；所以一个有理数是代数整数，当且仅当它是普通整数。<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup><sup> • </sup><sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> 例子 \(1/2\) 说明这个条件确有约束力：\(\mathbb{Z}[1/2]\) 作为 \(\mathbb{Z}\)-模不是有限生成的，因为它是无限的，而 \(\mathbb{Z}[1/2]/2\,\mathbb{Z}[1/2] = 0\)。<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> 更一般地，对每个数域都有 \(\mathcal{O}_K \cap \mathbb{Q} = \mathbb{Z}\)；且 \(K\) 中每个元素乘以某个适当的普通整数后都成为代数整数，因此 \(\mathbb{Q} \cdot \mathcal{O}_K = K\)。<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> 在最顶层，\(\overline{\mathbb{Z}}\) 的商域是 \(\overline{\mathbb{Q}}\)。<sup>[6](https://math.ucla.edu/~sharifi/notes/algnum.html)</sup>

## 数域的整数环

对数域 \(K\)，整数环 \(\mathcal{O}_K\) 是 \(K\) 中由 \(\mathbb{Z}[x]\) 里所有首一多项式的根组成的子环；等价地说，它是 \(\mathbb{Z}\) 在 \(K\) 中的整闭包。<sup>[3](https://math.ucla.edu/~sharifi/notes/algnum.html)</sup><sup> • </sup><sup>[6](https://math.ucla.edu/~sharifi/notes/algnum.html)</sup> 最简单的情形是 \(d\) 无平方因子时的二次域 \(\mathbb{Q}(\sqrt{d})\)：当 \(d \equiv 1 \bmod 4\) 时整数环为 \(\mathbb{Z}[(1+\sqrt{d})/2]\)，当 \(d \equiv 2, 3 \bmod 4\) 时为 \(\mathbb{Z}[\sqrt{d}]\)。<sup>[6](https://math.ucla.edu/~sharifi/notes/algnum.html)</sup> 因此 \(\mathbb{Q}(i)\) 的整数环是 \(\mathbb{Z}[i]\)，即高斯整数；而 \(\mathbb{Q}(\sqrt{5})\) 的整数环是 \(\mathbb{Z}[(1+\sqrt{5})/2]\)，因为黄金比 \((1+\sqrt{5})/2\) 是多项式 \(x^2 - x - 1\) 的根。<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup>

朴素的猜想——对 \(K\) 的生成元 \(\theta\) 有 \(\mathcal{O}_K = \mathbb{Z}[\theta]\)——一般而言并不成立：同一个域可以写成 \(\mathbb{Q}(\theta) = \mathbb{Q}(\theta')\)，而 \(\mathbb{Z}[\theta] \neq \mathbb{Z}[\theta']\)。<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup> 永远成立的是：当 \(\alpha\) 为代数整数时，\(\mathbb{Z}[\alpha]\) 是 \(\mathcal{O}_K\) 中的一个**序**，即作为阿贝尔群具有有限指数的子环；但 \(\mathbb{Z}[\alpha] \neq \mathcal{O}_K\) 的情形屡见不鲜。<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> 实践中常用序，因为它们比 \(\mathcal{O}_K\) 本身更容易显式写出。<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup> 确定完整的整数环——例如对 \(\mathbb{Q}(\sqrt[12]{a})\) 这类域求出 \(\mathbb{Z}[\theta]\) 在 \(\mathcal{O}_K\) 中的指数——仍是一个活跃的计算问题。<sup>[8](https://arxiv.org/abs/2304.00339)</sup>

## 整数环为何重要：分解

与 \(\mathbb{Z}\) 不同，并非所有整数环都是唯一分解整环。标准例子是 \(\mathbb{Z}[\sqrt{-5}]\)，即 \(\mathbb{Q}(\sqrt{-5})\) 的整数环，其中

\[ 6 = 2 \cdot 3 = (1 - \sqrt{-5})(1 + \sqrt{-5}) \]

给出了 6 的两种互不相同的不可约分解。<sup>[3](https://math.ucla.edu/~sharifi/notes/algnum.html)</sup><sup> • </sup><sup>[9](https://arxiv.org/abs/1711.10842)</sup> 元素唯一分解的失效，促成了理想理论的发展：以研究代数数、数域与模著称的理查德·戴德金（Richard Dedekind）用集合论式的**理想**取代了恩斯特·库默尔（Ernst Kummer）的“理想数”——理想是数域或其整数环的子集，它们在理想的层面上恢复了某种形式的唯一分解。<sup>[10](https://plato.stanford.edu/entries/dedekind-foundations/)</sup> 在 \(\mathbb{Z}[\sqrt{-5}]\) 这一具体情形中，该环不是唯一分解整环，但满足较弱的半因子性：一个元素的任意两种不可约分解长度相同。<sup>[9](https://arxiv.org/abs/1711.10842)</sup>

整数环还支撑着本学科的局部工具：对 \(\mathcal{O}\) 的一个素理想 \(\mathfrak{p}\)，可在 \(F\) 上定义度量，衡量能整除两点之差的 \(\mathfrak{p}\) 的最高幂次，而 \(F\) 关于此度量的完备化是一个 \(p\) 进域。<sup>[3](https://math.ucla.edu/~sharifi/notes/algnum.html)</sup>

## 例子与非例子

- \(\sqrt{2}\) 是代数整数，它是 \(x^2 - 2\) 的根。<sup>[5](https://www.ucl.ac.uk/~ucahmki/ant/3704notes.pdf)</sup>
- \(i\) 与 \((1+\sqrt{-3})/2\) 是代数整数，对应的首一多项式分别为 \(x^2 + 1\) 与 \(x^2 - x + 1\)。<sup>[1](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)</sup>
- \(1/2\) 不是代数整数。<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup>
- 每个普通整数都是代数整数，而 \(\mathcal{O}_K \cap \mathbb{Q} = \mathbb{Z}\) 表明这些是仅有的有理代数整数。<sup>[2](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)</sup>

## References

1. [Number Theory III: Notes, Jack Shotton, Durham University](https://www.maths.dur.ac.uk/users/jack.g.shotton/Teaching/number-theory/notes.html)
2. [Rings of Algebraic Integers, Math 129 notes, Harvard University](https://abel.math.harvard.edu/archive/129_spring_04/ant/html/node14.html)
3. [Algebraic Number Theory — Introduction, Romyar Sharifi, UCLA](https://math.ucla.edu/~sharifi/notes/algnum.html)
4. [Introduction — Number Fields, Stanford University notes](https://crypto.stanford.edu/pbc/notes/numberfield/numberfields.html)
5. [Math 3704 Lecture Notes, University College London](https://www.ucl.ac.uk/~ucahmki/ant/3704notes.pdf)
6. [Algebraic Number Theory — Chapter 1 Abstract algebra, Romyar Sharifi, UCLA](https://www.math.ucla.edu/~sharifi/notes/algnum-ch01.html)
7. [Lecture 14 Notes: Number Fields, MIT 18.012](https://notes.edubirdie.com/docs/massachusetts-institute-of-technology/res-18-012-algebra-ii-student-notes/97008-lecture-14-notes-number-fields)
8. [Discriminant and integral basis of \( \mathbb{Q}(\sqrt[12]{a}) \), arXiv:2304.00339](https://arxiv.org/abs/2304.00339)
9. [How do elements really factor in \( \mathbb{Z}[\sqrt{-5}] \)?, arXiv:1711.10842](https://arxiv.org/abs/1711.10842)
10. [Dedekind's Contributions to the Foundations of Mathematics, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/dedekind-foundations/)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Algebraic structures › Ring theory › Factorization and orders › Orders in rings and rings of integers

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/algebraic-integer

English original: https://www.edgepedia.org/algebraic-integer
