# 互反律

互反律是数论中的一类定理，它把一个同余式模一个素数的可解性，与另一个相关同余式模另一个素数的可解性联系起来。其原型是二次互反律，它联系着两个不同的奇素数 \( p \) 与 \( q \) 的两个勒让德符号 \( \left(\frac{p}{q}\right) \) 和 \( \left(\frac{q}{p}\right) \)<sup>[1](https://encyclopediaofmath.org/wiki/Quadratic_reciprocity_law)</sup>。这一名称也延伸到一系列高次幂的类似定理，而在现代形式下，则延伸到类域论中的互反律。

| 关键事实 | 细节 |
|---|---|
| 陈述 | 对不同的奇素数 \( p, q \)，有 \( \left(\frac{p}{q}\right)\left(\frac{q}{p}\right) = (-1)^{(p-1)(q-1)/4} \)<sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup> |
| 补充公式 | \( \left(\frac{-1}{p}\right) = (-1)^{(p-1)/2} \) 与 \( \left(\frac{2}{p}\right) = (-1)^{(p^2-1)/8} \)<sup>[1](https://encyclopediaofmath.org/wiki/Quadratic_reciprocity_law)</sup> |
| 陈述史 | 欧拉于1772年提出猜想；勒让德给出了现代形式，并证明了部分但并非全部情形<sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup><sup> • </sup><sup>[3](https://www.tandfonline.com/doi/abs/10.4169/amer.math.monthly.118.03.210)</sup> |
| 第一个完整证明 | 卡尔·弗里德里希·高斯，1796年，发表于《算术研究》（1801年）<sup>[4](https://www.math.columbia.edu/department/rama/chapters/chap17.html)</sup><sup> • </sup><sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup> |
| 证明数目 | 高斯一生中给出了八个证明；今天已知的证明超过五十个<sup>[5](https://www.cambridge.org/core/journals/glasgow-mathematical-journal/article/quadratic-law-of-reciprocity-and-the-theory-of-galois-fields/1D0CE51CA91276390F477A3A32ACF8A1)</sup> |
| 高次类比 | 双二次互反律（高斯，使用高斯整数 \( \mathbb{Z}[i] \)）以及爱森斯坦在 \( p \) 次分圆域中关于 \( p \) 次幂的互反律<sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup> |

## 二次互反律

对一个奇素数 \( p \)，勒让德符号 \( \left(\frac{a}{p}\right) \) 在 \( a \) 是模 \( p \) 的二次剩余（即同余式 \( x^2 \equiv a \pmod p \) 可解）时等于1，否则等于 \( -1 \)，而当 \( p \) 整除 \( a \) 时等于0。它是模 \( p \) 的唯一二次特征<sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup>。互反律断言：对不同的奇素数 \( p \) 与 \( q \)，

\[ \left(\frac{p}{q}\right)\left(\frac{q}{p}\right) = (-1)^{\frac{p-1}{2}\cdot\frac{q-1}{2}}, \]

因此，除非两个素数都模4同余于3，否则这两个符号一致；而在那种情形下它们相反<sup>[1](https://encyclopediaofmath.org/wiki/Quadratic_reciprocity_law)</sup><sup> • </sup><sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup>。两个补充公式完整地刻画了所有整数 \( a \) 的 \( \left(\frac{a}{p}\right) \)：\( -1 \) 的值为 \( (-1)^{(p-1)/2} \)，而 \( 2 \) 的值为 \( (-1)^{(p^2-1)/8} \)<sup>[1](https://encyclopediaofmath.org/wiki/Quadratic_reciprocity_law)</sup>。

这条定律有一种具体的计算意义：它使人能够迅速判定一个二次同余式是否可解，办法是把问题归结为模另一个往往更小的素数的可解性问题<sup>[5](https://www.cambridge.org/core/journals/glasgow-mathematical-journal/article/quadratic-law-of-reciprocity-and-the-theory-of-galois-fields/1D0CE51CA91276390F477A3A32ACF8A1)</sup>。一个特殊情形可以见其风味：若素数 \( p \) 与 \( q \) 都模4同余于1，则 \( p \) 是模 \( q \) 的平方，当且仅当 \( q \) 是模 \( p \) 的平方；由于17模4同余于1，且是模13的平方，便可推出13是模17的平方<sup>[6](https://www.maths.dur.ac.uk/users/herbert.gangl/reciprocity.html)</sup>。

## 对素数分布与分解的推论

对一个固定的无平方因子整数 \( d \)，该定律精确地确定出哪些奇素数 \( p \) 以 \( d \) 为二次剩余：这些素数落在某些公差为 \( 2|d| \) 或 \( 4|d| \) 的等差数列中，而这些等差数列的个数为 \( \phi(2|d|)/2 \) 或 \( \phi(4|d|)/2 \)，其中 \( \phi \) 是欧拉函数<sup>[1](https://encyclopediaofmath.org/wiki/Quadratic_reciprocity_law)</sup>。

该定律还支配着有理数域的二次扩张 \( \mathbb{Q}(\sqrt{d}) \) 中的分解：不整除 \( d \) 的素数 \( p \) 的分解方式，取决于 \( x^2 - d \) 模 \( p \) 是否可约<sup>[1](https://encyclopediaofmath.org/wiki/Quadratic_reciprocity_law)</sup>。相关的推论还出现在具体形式的除子层面上；例如，欧拉研究过的某一类经典形式所表示的数的奇素数除子，根据形式的不同，被限制在诸如 \( 4k+1 \)、\( 8k \pm 1 \) 或 \( 12k \pm 1 \) 这样的剩余类中<sup>[4](https://www.math.columbia.edu/department/rama/chapters/chap17.html)</sup>。

## 历史

这条定律源于欧拉、勒让德和高斯的工作。欧拉于1772年猜想出一般性的陈述，把他从二次型的素除子中观察到的模式推广开来<sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup><sup> • </sup><sup>[4](https://www.math.columbia.edu/department/rama/chapters/chap17.html)</sup>。阿德里安-马里·勒让德第一个以今天已知的形式陈述该定律，并证明了部分但并非全部情形<sup>[3](https://www.tandfonline.com/doi/abs/10.4169/amer.math.monthly.118.03.210)</sup>。高斯当时还是个少年，于1796年找到了第一个完整证明；一部与他的学术生涯同时代的数学史记载，他在十八岁之前通过归纳法发现了这条定律，一年之后给出了证明<sup>[4](https://www.math.columbia.edu/department/rama/chapters/chap17.html)</sup><sup> • </sup><sup>[7](https://en.wikisource.org/wiki/Page%3AA_History_of_Mathematics_%281893%29.djvu/384)</sup>。这个证明花去他一年多的工夫，并依赖于初等数论中一个繁琐的引理<sup>[5](https://www.cambridge.org/core/journals/glasgow-mathematical-journal/article/quadratic-law-of-reciprocity-and-the-theory-of-galois-fields/1D0CE51CA91276390F477A3A32ACF8A1)</sup>。

高斯一再回到这个定理，用不同的方法总共给出了八个证明<sup>[4](https://www.math.columbia.edu/department/rama/chapters/chap17.html)</sup><sup> • </sup><sup>[5](https://www.cambridge.org/core/journals/glasgow-mathematical-journal/article/quadratic-law-of-reciprocity-and-the-theory-of-galois-fields/1D0CE51CA91276390F477A3A32ACF8A1)</sup>。由于他给出了第一个完整证明，这个结果也被称为高斯互反律<sup>[1](https://encyclopediaofmath.org/wiki/Quadratic_reciprocity_law)</sup>。

## 高次互反律

为高次幂寻找类似定理，是十九世纪数论的主要研究课题之一<sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup>。戈特霍尔德·爱森斯坦在 \( p \) 次分圆域中得到了一个关于 \( p \) 次幂的互反定理，其中一个模是有理整数；后来人们又给出了对任意指数的推广<sup>[2](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)</sup>。三次、双二次和爱森斯坦互反律的证明，通常都要借助高斯和与雅可比和<sup>[9](https://math.uchicago.edu/~may/REU2021/REUPapers/Xu%2CNancy.pdf)</sup>。

## 类域论中的互反律

二十世纪，这些经典定律被吸收进类域论。在伊代尔理论的表述中，整体互反映射由整体域的各个完备化的局部互反映射构建而成，而整体互反律本身则给出关于弗罗贝尼乌斯元素的若干结果的简短证明<sup>[10](https://www.math.ucla.edu/~sharifi/notes/algnum-ch10.html)</sup>。二次互反律本身容许一种有限域上的证明，其中符号可从弗罗贝尼乌斯自同构读出，这使它成为这一普遍模式最简单的实例<sup>[8](https://arxiv.org/abs/1210.7744)</sup>。

## References

1. [Quadratic reciprocity law, Encyclopedia of Mathematics (S.A. Stepanov, originator)](https://encyclopediaofmath.org/wiki/Quadratic_reciprocity_law)
2. [Reciprocity laws, §4.1, W. Narkiewicz, Handbook of Algebra (1996), ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/reciprocity-law)
3. [S. Weintraub, On Legendre's Work on the Law of Quadratic Reciprocity, American Mathematical Monthly 118 (2011)](https://www.tandfonline.com/doi/abs/10.4169/amer.math.monthly.118.03.210)
4. [Chapter 17: Quadratic Reciprocity Law, Columbia University number theory notes](https://www.math.columbia.edu/department/rama/chapters/chap17.html)
5. [Hans J. Zassenhaus, The Quadratic Law of Reciprocity and the Theory of Galois Fields, Glasgow Mathematical Journal 1 (1952), pp. 64–71](https://www.cambridge.org/core/journals/glasgow-mathematical-journal/article/quadratic-law-of-reciprocity-and-the-theory-of-galois-fields/1D0CE51CA91276390F477A3A32ACF8A1)
6. [Project III 25–26 (H. Gangl), Durham University](https://www.maths.dur.ac.uk/users/herbert.gangl/reciprocity.html)
7. [A History of Mathematics (1893), p. 384, Wikisource](https://en.wikisource.org/wiki/Page%3AA_History_of_Mathematics_%281893%29.djvu/384)
8. [A proof of the Quadratic Reciprocity Law, arXiv:1210.7744](https://arxiv.org/abs/1210.7744)
9. [N. Xu, Reciprocity Laws, REU paper, University of Chicago (2021)](https://math.uchicago.edu/~may/REU2021/REUPapers/Xu%2CNancy.pdf)
10. [R. Sharifi, Algebraic Number Theory, Chapter 10: Global class field theory via idèles, UCLA](https://www.math.ucla.edu/~sharifi/notes/algnum-ch10.html)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Number theory › Algebraic number theory › Class field theory › Reciprocity laws

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/reciprocity-law

English original: https://www.edgepedia.org/reciprocity-law
