# 排列的奇偶性

排列的奇偶性，指一个排列是偶排列还是奇排列这一性质：有限集合的一个排列，若能写成偶数个对换（交换两个元素）的复合，就称为偶排列；若能写成奇数个对换的复合，就称为奇排列。符号，记作 sgn(σ)，用 +1 表示偶排列、−1 表示奇排列来刻画这一性质。<sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup><sup> • </sup><sup>[2](https://encyclopediaofmath.org/wiki/Signature_%28permutation%29)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | sgn(σ) = (−1)^k，其中 k 是 σ 的任一分解中对换的个数；+1 表示偶，−1 表示奇<sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup> |
| 奇偶性定理 | 若 σ = τ₁τ₂⋯τ_k = τ′₁τ′₂⋯τ′_ℓ 是两种对换分解，则 k 与 ℓ 的奇偶性相同<sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup> |
| 逆序公式 | sgn(σ) = (−1)^t，其中 t 是逆序数，即满足 i < j 但 σ(i) > σ(j) 的对 (i, j) 的个数<sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup> |
| 轮换公式 | 符号等于减量 n − c 的奇偶性，其中 c 是轮换个数；一个 r-轮换的符号为 (−1)^(r−1)<sup>[2](https://encyclopediaofmath.org/wiki/Signature_%28permutation%29)</sup> |
| 同态 | sgn(σ∘τ) = sgn(σ)·sgn(τ)，因此符号是从 S_n 到 {±1} 的群同态<sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup> |
| 交错群 | sgn 的核是交错群 A_n；当 n ≥ 2 时，它是 S_n 的一个阶为 n!/2 的正规子群<sup>[3](https://math.libretexts.org/Workbench/Group_Theory_4e_%28Milne%29/04%3A_Groups_Acting_on_Sets/4.02%3A_Permutation_groups)</sup> |
| 在行列式中的用途 | 排列的符号决定行列式莱布尼茨展开中每一项的正负号<sup>[4](https://jovanaeducation.com/glossary/permutation-sign)</sup> |

## 奇偶性定理

每个排列都能写成对换的乘积，但分解远不唯一。奇偶性定理指出：无论何时把一个偶排列（相应地，奇排列）表示成对换的复合，所用对换的个数必为偶数（相应地，奇数）；等价地，若 σ = τ₁τ₂⋯τ_k = τ′₁τ′₂⋯τ′_ℓ 是同一个 σ 的两种对换分解，则 k 与 ℓ 的奇偶性相同。<sup>[5](https://gubner.ece.wisc.edu/notes/PermutationsAndDeterminants.pdf)</sup><sup> • </sup><sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup> 正是这一点使偶排列与奇排列的定义成为良定义：否则，同一个排列就可能因分解方式不同而既是偶排列又是奇排列。

一种标准证明是数逆序。把排列写成单行记号时，逆序是指一对 (i, j) 满足 i < j 但 σ(i) > σ(j)，也就是两个条目出现的次序与自然顺序相反。逆序与对换在奇偶性上总是一致的：逆序数的奇偶性，等于用来构造该排列的对换个数的奇偶性；因此，既然逆序总数只依赖于 σ，对换个数的奇偶性也就被确定了。<sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup><sup> • </sup><sup>[6](https://a-warded.org/open-book/university-abstract-algebra/lesson-15)</sup> 一个支持性的观察是：交换排列中两个相邻元素，恰好使逆序数改变 1，从而改变符号。<sup>[7](https://ocw.mit.edu/courses/18-024-multivariable-calculus-with-theory-spring-2011/043cde74c9d86eb3405f99edbc1a4c2e_MIT18_024s11_ChB2notes.pdf)</sup> 一个相关论证表明：每一次把排列向自然顺序推进的交换，都会改变逆序数的奇偶性；而按自然顺序排列的排列有零个逆序、需要零步，所以两种奇偶性始终一致。<sup>[8](https://linearalgebra.math.umanitoba.ca/math1220/DeterminantDeeperTopics.html)</sup>

## 计算符号

**数逆序。** 最直接实用的方法是数逆序，再取 (−1) 的该次幂。例如，σ = (2, 4, 1, 3) 有三个逆序：(1, 3)，因为 2 > 1；(2, 3)，因为 4 > 1；(2, 4)，因为 4 > 3。三个逆序给出 sgn(σ) = −1，所以 σ 是奇排列。<sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup>

**用轮换。** 若 σ 写成轮换记号时共有 c 个轮换（包括长度为 1 的轮换），则其符号为 (−1)^(n−c)。<sup>[2](https://encyclopediaofmath.org/wiki/Signature_%28permutation%29)</sup> 等价地，长度为 r 的轮换符号为 (−1)^(r−1)，所以 r-轮换当 r 为奇数时为偶排列、当 r 为偶数时为奇排列；不相交轮换乘积的符号等于各轮换符号的乘积。<sup>[9](https://jmilne.org/math/CourseNotes/GTe6.pdf)</sup> 例如，σ = (1 5 3)(2 4) 有一个符号为 (−1)² = 1 的 3-轮换，以及一个符号为 (−1)¹ = −1 的 2-轮换，所以 sgn(σ) = −1，σ 是奇排列。<sup>[6](https://a-warded.org/open-book/university-abstract-algebra/lesson-15)</sup>

**排列矩阵。** 符号也等于 σ 的排列矩阵的行列式，而该行列式总是 1 或 −1；由于行列式具有乘性，并且在对换下变号，这给出了一个一致的定义。<sup>[6](https://a-warded.org/open-book/university-abstract-algebra/lesson-15)</sup> 一个相关公式把符号定义为乘积之比：s = ∏_{i<j}(i^p − j^p) / ∏_{i<j}(i − j)，其中点对取到 p 所移动的最大点为止。<sup>[10](https://www.math.rwth-aachen.de/~GAP/WWW2/Gap3/Manual3/C020S006.htm)</sup>

## 符号同态与交错群

符号具有乘性：sgn(σ∘τ) = sgn(σ)·sgn(τ)。<sup>[1](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)</sup> 这直接由对换定义推出：若 σ 是 r 个对换的乘积，τ 是 s 个对换的乘积，则 στ 是 r + s 个对换的乘积，且 (−1)^(r+s) = (−1)^r(−1)^s。<sup>[6](https://a-warded.org/open-book/university-abstract-algebra/lesson-15)</sup> 用群论术语说，sgn 是从对称群 S_n 到乘法群 {±1} 的同态；当 n ≥ 2 时它是满射，因为每个对换的符号都是 −1。<sup>[3](https://math.libretexts.org/Workbench/Group_Theory_4e_%28Milne%29/04%3A_Groups_Acting_on_Sets/4.02%3A_Permutation_groups)</sup>

该同态的核，即符号为 +1 的排列集合，是交错群 A_n。由于任何同态的核都是正规子群，A_n 在 S_n 中正规；当 n ≥ 2 时其阶为 n!/2，所以恰好一半排列是偶排列。<sup>[3](https://math.libretexts.org/Workbench/Group_Theory_4e_%28Milne%29/04%3A_Groups_Acting_on_Sets/4.02%3A_Permutation_groups)</sup> 乘积的奇偶规则随之成立：两个偶排列或两个奇排列的复合是偶排列，而一个偶排列与一个奇排列的复合是奇排列。<sup>[6](https://a-warded.org/open-book/university-abstract-algebra/lesson-15)</sup> 共轭排列有相同的符号，因为符号只依赖于轮换结构。<sup>[11](https://webspace.maths.qmul.ac.uk/p.j.cameron/notes/algstr.pdf)</sup>

基于逆序的定义可推广到 {1, …, n} 之外：一旦选定了任意 n 元集合 X 的一个顺序，就可以定义 Sym(X) 中元素的逆序；所得的符号同态与抽象定义一致。事实上，逆序数的奇偶性与所选顺序无关。<sup>[3](https://math.libretexts.org/Workbench/Group_Theory_4e_%28Milne%29/04%3A_Groups_Acting_on_Sets/4.02%3A_Permutation_groups)</sup>

## 在行列式中的作用

排列的符号是行列式莱布尼茨公式中正负号的来源：每个从每行每列各取一个元素得到的乘积 a_{1,σ(1)}a_{2,σ(2)}⋯a_{n,σ(n)} 都带有因子 sgn(σ)。<sup>[4](https://jovanaeducation.com/glossary/permutation-sign)</sup> 一次交换一次交换地撤销一个排列，累积起来的正好是 sgn(σ)，这就是该因子位于每一项前面的原因。<sup>[4](https://jovanaeducation.com/glossary/permutation-sign)</sup> 同样的结构出现在范德蒙德行列式中：对于 n ≥ 2，B(a₁ … a_n) = ∏_{1≤j<i≤n}(a_i − a_j)；当把乘积整理成自然顺序时，排列的每个逆序都会引入一个负号。<sup>[12](https://encyclopediaofmath.org/wiki/Vandermonde_determinant)</sup><sup> • </sup><sup>[9](https://jmilne.org/math/CourseNotes/GTe6.pdf)</sup> 这一联系也解释了为什么交换矩阵的两行或两列会改变其行列式的符号。<sup>[13](https://people.math.wisc.edu/~apisa/notes541.pdf)</sup>

## References

1. [Chapter 8: Determinants, learn-linear-algebra notes (permutations and their sign), GitHub](https://github.com/prashantkul/learn-linear-algebra/blob/main/chapters/08-determinants/notes.md)
2. [Signature (permutation), Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Signature_%28permutation%29)
3. [4.2: Permutation groups, Mathematics LibreTexts (Milne, Group Theory)](https://math.libretexts.org/Workbench/Group_Theory_4e_%28Milne%29/04%3A_Groups_Acting_on_Sets/4.02%3A_Permutation_groups)
4. [Sign of a permutation, JOVANA Education Glossary](https://jovanaeducation.com/glossary/permutation-sign)
5. [John A. Gubner, Permutations, the Parity Theorem, and Determinants, University of Wisconsin–Madison](https://gubner.ece.wisc.edu/notes/PermutationsAndDeterminants.pdf)
6. [The Sign of a Permutation, Abstract Algebra, A-Warded](https://a-warded.org/open-book/university-abstract-algebra/lesson-15)
7. [18.024 Calculus with Theory, Course Notes Chapter B2, MIT OpenCourseWare](https://ocw.mit.edu/courses/18-024-multivariable-calculus-with-theory-spring-2011/043cde74c9d86eb3405f99edbc1a4c2e_MIT18_024s11_ChB2notes.pdf)
8. [A deeper investigation of the properties of determinants, University of Manitoba](https://linearalgebra.math.umanitoba.ca/math1220/DeterminantDeeperTopics.html)
9. [Group Theory, J.S. Milne, Course Notes v6](https://jmilne.org/math/CourseNotes/GTe6.pdf)
10. [GAP Manual 20.6 SignPerm, RWTH Aachen](https://www.math.rwth-aachen.de/~GAP/WWW2/Gap3/Manual3/C020S006.htm)
11. [Notes on Algebraic Structures, P.J. Cameron, Queen Mary University of London](https://webspace.maths.qmul.ac.uk/p.j.cameron/notes/algstr.pdf)
12. [Vandermonde determinant, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Vandermonde_determinant)
13. [Groups and Rings notes, University of Wisconsin–Madison](https://people.math.wisc.edu/~apisa/notes541.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Algebraic structures › Group theory › Finite groups and classification › Permutation groups

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/parity-of-a-permutation

English original: https://www.edgepedia.org/parity-of-a-permutation
