# 不可约多项式

不可约多项式是域上（更一般地，整环上）的一类非常数多项式，它不能写成两个次数严格更低的多项式的乘积；它是素数在多项式中的对应物。形式化地说，多项式 \( f(x) \in K[x] \) 在 \( K[x] \) 中不可约，是指 \( \deg f \ge 1 \)，并且只要 \( f(x) = g(x)h(x) \) 而 \( g, h \in K[x] \)，则 \( g \) 与 \( h \) 中必有一个是常数<sup>[1](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)</sup>。按此定义，每个一次多项式都是不可约的<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algebra-ch03.html)</sup>。

| 关键事实 | 细节 |
|---|---|
| 定义 | \( f \in K[x] \) 不可约，是指 \( \deg f \ge 1 \)，且任一分解 \( f = gh \) 中 \( g \) 或 \( h \) 必为常数<sup>[1](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)</sup> |
| 对域的依赖 | \( x^2 + 1 \) 在 \( \mathbb{R}[x] \) 中不可约，但在 \( \mathbb{C}[x] \) 中分解为 \( (x+i)(x-i) \)<sup>[1](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)</sup> |
| 低次数 | 域上次数为 2 或 3 的多项式不可约，当且仅当它在该域中无根<sup>[3](https://math.dartmouth.edu/~trs/PreTeXtProjects/old/abstract-algebra-refresher-CLI/output/web/section-15.html)</sup> |
| 高斯引理 | \( \mathbb{Z}[x] \) 中的多项式在 \( \mathbb{Z} \) 上不可约，当且仅当它在 \( \mathbb{Q} \) 上不可约<sup>[4](https://crypto.stanford.edu/pbc/notes/numberfield/gausslemma.html)</sup> |
| 有限域 | 对 \( \mathbb{F}_p \) 上次数为正的不可约多项式 \( E(x) \)（次数为 \( s \)），商 \( \mathbb{F}_p[x]/E(x) \) 是含 \( p^s \) 个元素的域<sup>[5](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/chapters/chap5.pdf)</sup> |
| 计数 | \( \mathbb{F}_p \) 上次数为 \( m \) 的首一不可约多项式的个数为 \( I_p^m = \frac{1}{m} \sum_{d \mid m} \mu(m/d)\, p^d \)<sup>[6](https://www.cs.cmu.edu/~cdm/pdf/41-ffields.pdf)</sup> |
| 密码学用途 | AES 通过模 \( m(x) = x^8 + x^4 + x^3 + x + 1 \) 约化来定义 \( \mathrm{GF}(2^8) \) 中的乘法<sup>[7](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197-upd1.pdf)</sup> |

## 对系数域的依赖

不可约性是多项式连同其系数环一起具有的性质，而不是多项式单独具有的性质。标准的例子是 \( x^2 + 1 \)：它在 \( \mathbb{R}[x] \) 中不可约，但在 \( \mathbb{C}[x] \) 中可约，因为 \( x^2 + 1 = (x+i)(x-i) \)<sup>[1](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)</sup>。同一个多项式在 \( \mathbb{Q}[x] \) 中却是不可约的<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algebra-ch03.html)</sup>。正因如此，人们说 \( f \) 在 \( K \) *上*不可约，并且总要明确写出系数域<sup>[1](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)</sup>。

域 \( K \) 上，环 \( K[x] \) 是唯一分解整环：每个非零多项式都可分解为不可约多项式之积，且分解在次序与单位倍数的意义下唯一<sup>[1](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)</sup>。域上的不可约多项式同时是素元素，它们生成的主理想是素理想<sup>[8](https://crypto.stanford.edu/pbc/notes/commalg/factorization.html)</sup>。

## 基本判别法

**根与小次数。** 若 \( a \in F \) 是 \( f \) 的根，则 \( x - a \) 整除 \( f \)，所以次数大于 1 且在 \( F \) 中有根的多项式是可约的<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algebra-ch03.html)</sup>。由于次数为 2 或 3 的可约多项式必含一个线性因子，域上次数为 2 或 3 的多项式不可约，当且仅当它在该域中无根<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algebra-ch03.html)</sup><sup> • </sup><sup>[3](https://math.dartmouth.edu/~trs/PreTeXtProjects/old/abstract-algebra-refresher-CLI/output/web/section-15.html)</sup>。在有限域 \( \mathbb{F}_p \) 上，这给出一个直接的判别法：把 \( f \) 在 \( \mathbb{F}_p \) 的每个元素处求值<sup>[1](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)</sup>。

根判别法在更高次数时失效。\( \mathbb{F}_2 \) 上的多项式 \( (1 + X + X^2)^2 \) 在 \( \mathbb{F}_2 \) 中无根，却显然可约<sup>[5](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/chapters/chap5.pdf)</sup>。同样，\( x^4 - x^2 - 2x - 1 = (x^2 + x + 1)(x^2 - x - 1) \) 在 \( \mathbb{Q}[x] \) 中可约，却没有有理根<sup>[2](https://www.math.ucla.edu/~sharifi/notes/algebra-ch03.html)</sup>。

**模素数约化。** 若整环上的首一多项式模一个真理想约化后所得的多项式不能分解为两个非常数多项式之积，则原多项式不可约<sup>[3](https://math.dartmouth.edu/~trs/PreTeXtProjects/old/abstract-algebra-refresher-CLI/output/web/section-15.html)</sup>。这正是常见做法的依据：把系数模素数 \( p \) 约化，在 \( \mathbb{F}_p[x] \) 中判断 \( \mathbb{Q} \) 上的不可约性<sup>[1](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)</sup>。

## 高斯引理与整数上的不可约性

对整系数多项式而言，在 \( \mathbb{Z} \) 上不可约与在 \( \mathbb{Q} \) 上不可约是一回事：\( \mathbb{Z}[x] \) 中的多项式在 \( \mathbb{Z}[x] \) 上不可约，当且仅当它在 \( \mathbb{Q}[x] \) 上不可约<sup>[4](https://crypto.stanford.edu/pbc/notes/numberfield/gausslemma.html)</sup><sup> • </sup><sup>[9](https://crypto.stanford.edu/pbc/notes/numbertheory/eisenstein.html)</sup>。证明依据的事实是：两个本原多项式（系数最大公因数为 1 的多项式）之积仍是本原的，故乘积的容度等于容度之积<sup>[3](https://math.dartmouth.edu/~trs/PreTeXtProjects/old/abstract-algebra-refresher-CLI/output/web/section-15.html)</sup>。

更一般地，若 \( R \) 是唯一分解整环、分式域为 \( K \)，则 \( p \in R[x] \) 在 \( R[x] \) 中不可约，当且仅当 \( p \) 是本原的且在 \( K[x] \) 中不可约<sup>[3](https://math.dartmouth.edu/~trs/PreTeXtProjects/old/abstract-algebra-refresher-CLI/output/web/section-15.html)</sup>。一个推论是高斯定理：只要 \( R \) 是唯一分解整环，\( R[x] \) 也是<sup>[8](https://crypto.stanford.edu/pbc/notes/commalg/factorization.html)</sup>。具体到 \( \mathbb{Z}[x] \)，其不可约元素是通常的素数及其相反数，以及在 \( \mathbb{Q} \) 上不可约的正次数本原多项式<sup>[10](https://math.stanford.edu/~conrad/121Page/handouts/gausslemma.pdf)</sup>。

## 不可约性判别法

**舍讷曼–艾森斯坦判别法。** 最著名的充分条件是这样说的：整系数首一多项式 \( f(x) = x^n + a_{n-1}x^{n-1} + \cdots + a_1 x + a_0 \) 在 \( \mathbb{Z}[x] \) 中不可约，只要存在素数 \( p \) 整除 \( a_0, a_1, \ldots, a_{n-1} \)，而 \( p^2 \) 不整除 \( a_0 \)<sup>[11](https://web.math.pmf.unizg.hr/~duje/pdf/section11-3.pdf)</sup>。从历史上看，特奥多尔·舍讷曼（Theodor Schönemann）在 1846 年就发表了这一判别法的一个版本，早于戈特霍尔德·艾森斯坦（Gotthold Eisenstein）1850 年在同一期刊上的论文，因此多沃特（Dorwart）1935 年的综述称之为舍讷曼–艾森斯坦定理<sup>[12](https://people.math.ethz.ch/~halorenz/4students/Algebra/Schoenemann_Eisenstein.pdf)</sup>。两位作者都受到高斯《算术研究》的启发，但得到结果的路径不同<sup>[12](https://people.math.ethz.ch/~halorenz/4students/Algebra/Schoenemann_Eisenstein.pdf)</sup>。

**分圆多项式。** 一个经典应用是：对素数 \( p \)，\( f(x) = x^{p-1} + x^{p-2} + \cdots + x + 1 \) 不可约。作代换 \( x = y + 1 \)，\( f \) 就变成一个可直接应用艾森斯坦判别法的多项式，因为每个中间的二项式系数 \( \binom{p}{i} \) 都被 \( p \) 整除，而常数项 \( p \) 不被 \( p^2 \) 整除<sup>[9](https://crypto.stanford.edu/pbc/notes/numbertheory/eisenstein.html)</sup><sup> • </sup><sup>[11](https://web.math.pmf.unizg.hr/~duje/pdf/section11-3.pdf)</sup>。高斯已在《算术研究》第 341 条（1801 年）中证明了这个不可约性<sup>[13](https://www.ams.org/journals/notices/201903/rnoti-p330.pdf)</sup>。

## 在域论中的作用

不可约多项式支配着代数扩张。对域 \( k \) 上的代数元 \( \alpha \)，使 \( \alpha \) 零化的多项式构成 \( k[x] \) 中的一个理想；它的首一生成元即 \( \alpha \) 的极小多项式，是不可约的，其次数等于扩张次数 \( [k(\alpha) : k] \)<sup>[14](https://stacks.math.columbia.edu/tag/09GL)</sup>。反过来，对非常数 \( f \in F[x] \)，商 \( F[x]/(f) \) 是域当且仅当 \( f \) 不可约，因为此时 \( (f) \) 是主理想整环 \( F[x] \) 中的极大理想<sup>[15](https://math.stackexchange.com/questions/272784/let-f-be-a-field-fx-is-a-polynomial-in-fx-e-fx-f-is-a-field)</sup>。

在有限域上，这种构造是穷尽的。对每个素数 \( p \) 与正整数 \( d \)，\( \mathbb{F}_p[x] \) 中都存在次数为 \( d \) 的不可约多项式，用它作商即得域 \( \mathbb{F}_{p^d} \)<sup>[16](https://users.math.msu.edu/users/jhall/classes/codenotes/topstuff.pdf)</sup>。多项式 \( x^{p^n} - x \) 在 \( \mathbb{F}_p \) 上分解为所有次数整除 \( n \) 的首一不可约多项式之积<sup>[17](https://web.ma.utexas.edu/users/ikmartin/notes/finite-fields-existence-and-galois-theory/)</sup><sup> • </sup><sup>[6](https://www.cs.cmu.edu/~cdm/pdf/41-ffields.pdf)</sup>，而莫比乌斯反演给出次数为 \( m \) 的首一不可约多项式的个数 \( I_p^m = \frac{1}{m} \sum_{d \mid m} \mu(m/d)\, p^d \)<sup>[6](https://www.cs.cmu.edu/~cdm/pdf/41-ffields.pdf)</sup>。

## 算法

**拉宾不可约性判别法。** 迈克尔·O·拉宾（Michael O. Rabin）是研究随机算法与复杂性理论的计算机科学家，他在《SIAM 计算杂志》（SIAM Journal on Computing）第 9 卷第 2 期（1980 年 5 月，第 273–280 页）上发表了关于有限域的若干概率算法，包括求给定次数的不可约多项式、求根以及分解有限域上的多项式<sup>[18](https://epubs.siam.org/doi/10.1137/0209024)</sup>。拉宾的确定性判别法说：\( \mathrm{GF}(q) \) 上次数为 \( m \) 的多项式不可约，当且仅当它整除 \( x^{q^m} - x \)，并且对 \( m \) 的每个素因子 \( p_i \)（\( i \) 从 1 到 \( k \)），\( f(x) \) 与 \( x^{q^{m/p_i}} - x \) 的最大公因式都等于 1<sup>[19](https://mhostetter.github.io/galois/v0.4.11/api/galois.Poly.is_irreducible/)</sup>。该判别法利用了恒等式：\( x^{q^d} - x \) 是所有次数整除 \( d \) 的不可约多项式之积<sup>[20](https://www.kevos.com/engineering/testing-and-constructing-irreducible-polynomials)</sup>；它在 Python 的 galois 包等库中已有实现<sup>[19](https://mhostetter.github.io/galois/v0.4.11/api/galois.Poly.is_irreducible/)</sup>。

**筛法。** 在有限域上，固定次数的多项式只有有限多个，因此可以用排除法找出不可约多项式：次数为 \( d \) 的可约多项式必是某个次数不超过 \( d/2 \) 的不可约多项式的倍数，于是把所有这样的倍数筛掉，剩下的恰是不可约多项式<sup>[16](https://users.math.msu.edu/users/jhall/classes/codenotes/topstuff.pdf)</sup>。

## 应用

不可约多项式定义了贯穿计算与编码理论的有限域算术。高级加密标准（AES）把每个字节解释为 \( \mathrm{GF}(2^8) \) 的一个元素，并以"先作多项式乘法、再模固定多项式 \( m(x) = x^8 + x^4 + x^3 + x + 1 \) 约化"来定义乘法<sup>[7](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197-upd1.pdf)</sup>。为此类应用，人们维护了 \( q \le 27 \) 时 \( \mathrm{GF}(q) \) 上最低重量不可约多项式的表<sup>[21](https://people.math.carleton.ca/~daniel/hff/)</sup>。

## References

1. [Fields and polynomials, Galois Theory III (MATH3041), Durham University](https://www.maths.dur.ac.uk/users/daniel.evans/GaloisTheory/Notes/fields-and-polynomials.html)
2. [Romyar Sharifi, Abstract Algebra, Chapter 3: Ring theory](https://www.math.ucla.edu/~sharifi/notes/algebra-ch03.html)
3. [AAR: Identifying irreducibles, Dartmouth abstract algebra refresher](https://math.dartmouth.edu/~trs/PreTeXtProjects/old/abstract-algebra-refresher-CLI/output/web/section-15.html)
4. [Gauss' Lemma, Stanford PBC notes](https://crypto.stanford.edu/pbc/notes/numberfield/gausslemma.html)
5. [Coding Theory, Chapter 5, University at Buffalo (Venkatesan Guruswami et al.)](https://cse.buffalo.edu/faculty/atri/courses/coding-theory/book/chapters/chap5.pdf)
6. [CDM: Finite Fields, Carnegie Mellon University](https://www.cs.cmu.edu/~cdm/pdf/41-ffields.pdf)
7. [FIPS 197: Advanced Encryption Standard, NIST](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197-upd1.pdf)
8. [Comm. Algebra: Factorization, Stanford PBC notes](https://crypto.stanford.edu/pbc/notes/commalg/factorization.html)
9. [Eisenstein's Irreducibility Criterion, Stanford PBC notes](https://crypto.stanford.edu/pbc/notes/numbertheory/eisenstein.html)
10. [Eisenstein criterion and Gauss' Lemma, Math 121 handout, Keith Conrad, Stanford University](https://math.stanford.edu/~conrad/121Page/handouts/gausslemma.pdf)
11. [Irreducibility of Polynomials, University of Zagreb lecture notes](https://web.math.pmf.unizg.hr/~duje/pdf/section11-3.pdf)
12. [David A. Cox, Why Eisenstein Proved the Eisenstein Criterion and Why Schönemann Discovered It First, American Mathematical Monthly 118 (2011)](https://people.math.ethz.ch/~halorenz/4students/Algebra/Schoenemann_Eisenstein.pdf)
13. [The Mathematics of Grace, Notices of the AMS 66 (2019)](https://www.ams.org/journals/notices/201903/rnoti-p330.pdf)
14. [Section 9.9: Minimal polynomials, The Stacks Project](https://stacks.math.columbia.edu/tag/09GL)
15. [Let F be a field, f(x) a polynomial; E = F[x]/(f) is a field iff f is irreducible, Mathematics Stack Exchange](https://math.stackexchange.com/questions/272784/let-f-be-a-field-fx-is-a-polynomial-in-fx-e-fx-f-is-a-field)
16. [Notes on Coding Theory, Jonathan Hall, Michigan State University](https://users.math.msu.edu/users/jhall/classes/codenotes/topstuff.pdf)
17. [Finite Fields: Existence and Galois Theory, Isaac Martin, University of Texas](https://web.ma.utexas.edu/users/ikmartin/notes/finite-fields-existence-and-galois-theory/)
18. [Michael O. Rabin, Probabilistic Algorithms in Finite Fields, SIAM Journal on Computing 9(2): 273–280 (1980)](https://epubs.siam.org/doi/10.1137/0209024)
19. [galois.Poly.is_irreducible documentation](https://mhostetter.github.io/galois/v0.4.11/api/galois.Poly.is_irreducible/)
20. [Testing and Constructing Irreducible Polynomials, KEVOS](https://www.kevos.com/engineering/testing-and-constructing-irreducible-polynomials)
21. [Handbook of Finite Fields tables, Mullen and Panario, CRC Press](https://people.math.carleton.ca/~daniel/hff/)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Algebraic structures › Ring theory › Factorization and orders › Factorization of polynomials over rings and fields

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/irreducible-polynomial

English original: https://www.edgepedia.org/irreducible-polynomial
