# 秩-零化度定理

秩-零化度定理是线性代数中的一个定理，它指出：对于定义域 \( V \) 为有限维的线性映射 \( T:V \to W \)，像的维数加上核的维数等于定义域的维数：

\[ \dim(\operatorname{im} T) + \dim(\ker T) = \dim V. \]

左侧两项分别称为 \( T \) 的**秩**和**零化度**：秩为 \( \dim(\operatorname{im} T) \)，即输出集合的维数；零化度为 \( \dim(\ker T) \)，即被 \( T \) 送到零的输入集合的维数。<sup>[1](https://www.homepages.ucl.ac.uk/~ucahmto/0005_2023/Ch4.S15.html)</sup> 有些教材把这一结果称为维数定理。<sup>[2](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup>

| 关键事实 | 细节 |
|---|---|
| 陈述 | 对于 \( V \) 有限维的线性映射 \( T:V \to W \)，\( \dim(\operatorname{im} T) + \dim(\ker T) = \dim V \)<sup>[2](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup> |
| 定义 | 秩 \( T = \dim(\operatorname{im} T) \)；零化度 \( T = \dim(\ker T) \)<sup>[1](https://www.homepages.ucl.ac.uk/~ucahmto/0005_2023/Ch4.S15.html)</sup> |
| 矩阵形式 | 对于 \( m \times n \) 矩阵 \( A \)，\( \operatorname{rank} A + \operatorname{nullity} A = n \)，即列数<sup>[3](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> |
| 矩阵解释 | 秩等于主元列的数目；零化度等于 \( A\vec{x} = \vec{0} \) 中自由变量的数目<sup>[3](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> |
| 对算子的推论 | 对于有限维 \( V \) 上的 \( T:V \to V \)，\( T \) 单射当且仅当满射，当且仅当可逆<sup>[4](https://archive.nptel.ac.in/content/storage2/courses/122104018/node136.html)</sup> |
| 行秩-列秩相等 | \( \operatorname{rank} A = \dim(\text{由 } A \text{ 的列张成的空间}) = \dim(\text{由 } A \text{ 的行张成的空间}) \)，因而 \( \operatorname{rank} A = \operatorname{rank} A^{T} \)<sup>[2](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup> |
| 历史术语 | 弗罗贝尼乌斯（Frobenius）于1878年定义了矩阵的秩；西尔维斯特（Sylvester）于1884年定义了方阵的零化度<sup>[5](https://mathshistory.st-andrews.ac.uk/HistTopics/Matrices_and_determinants/)</sup> |

## 陈述与含义

该定理说明，线性映射将其定义域的维数划分为两部分：保留到输出中的那些维数（秩），以及被压为零的那些维数（零化度）。知道其中任何一个数就能确定另一个数，因为它们的和固定为 \( \dim V \)。<sup>[2](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup> 核是定义域 \( V \) 的子空间，而像是陪域 \( W \) 的子空间；尽管这两个子空间位于不同的空间中，定理仍把它们的维数联系起来。<sup>[6](https://marcinofulus.github.io/LA/linear_transformations_kernel-image.html)</sup>

一个具体例子是至多 \( n \) 次的一元多项式向量空间上的微分映射 \( D \)。它的核是一维的，由常数多项式 \( 1 \) 张成，因此零化度为 \( 1 \)；它的像有一组基 \( 1, x, \ldots, x^{n-1} \)，大小为 \( n \)，因此秩为 \( n \)。和 \( n + 1 \) 等于 \( \dim \mathbb{R}_{\leq n}[x] \)，正如定理所要求的那样。<sup>[1](https://www.homepages.ucl.ac.uk/~ucahmto/0005_2023/Ch4.S15.html)</sup>

## 证明思路

标准证明如下。令 \( n = \dim V \)，并选取核的一组基 \( \vec{x}_1, \ldots, \vec{x}_k \)，其中 \( k = \dim(\ker T) \)。这个线性无关组可以通过添加向量 \( \vec{x}_{k+1}, \ldots, \vec{x}_n \) 扩充为 \( V \) 的一组基。<sup>[2](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup>

于是像 \( T(\vec{x}_{k+1}), \ldots, T(\vec{x}_n) \) 构成像空间的一组基。它们张成像空间，因为像空间由 \( V \) 的所有基向量的像张成，而对 \( i = 1, \ldots, k \) 有 \( T(\vec{x}_i) = \vec{0} \)。它们线性无关，因为若 \( \sum_{i=k+1}^{n} \alpha_i T(\vec{x}_i) = \vec{0} \)，则由线性性得 \( T\left(\sum_{i=k+1}^{n} \alpha_i \vec{x}_i\right) = \vec{0} \)，于是组合 \( \sum \alpha_i \vec{x}_i \) 位于核中，而核由 \( \vec{x}_1, \ldots, \vec{x}_k \) 张成；整个基的线性无关性迫使每个 \( \alpha_i = 0 \)。因此 \( \dim(\operatorname{im} T) = n - k \)，整理即得定理。<sup>[2](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup>

## 矩阵形式

对于矩阵 \( A \in \mathbb{R}^{m \times n} \)，映射 \( \vec{x} \mapsto A\vec{x} \) 的定义域是 \( \mathbb{R}^n \)，因此定理写成

\[ \operatorname{rank} A + \operatorname{nullity} A = n. \]

这里 \( \operatorname{rank} A = \dim(\operatorname{Col} A) \)，即主元列的数目；\( \operatorname{nullity} A = \dim(\operatorname{Nul} A) \)，即 \( A\vec{x} = \vec{0} \) 中自由变量的数目；主元列加上非主元列正好构成全部 \( n \) 列。<sup>[3](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> 同样的计数给出快速约束：一个 \( 6 \times 9 \) 矩阵不可能有二维零空间，因为那将迫使秩为 7，超过可用于主元的 6 行；\( 6 \times 9 \) 或 \( 9 \times 6 \) 矩阵的最大可能秩都是 6。<sup>[3](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup>

该定理也是行秩与列秩相等的基础。记 \( A_{\mathrm{red}} \) 为 \( A \) 的简化行阶梯形，行化简同时保持秩和零化度，而 \( A_{\mathrm{red}} \) 的像包含在 \( \vec{e}_1, \ldots, \vec{e}_r \) 张成的 \( r \) 维空间中，其中 \( r \) 是非零行的数目。由此得到 \( \dim(\text{由 } A \text{ 的列张成的空间}) \leq \dim(\text{由 } A \text{ 的行张成的空间}) \)；对 \( A^T \) 应用同样的论证会反转不等号，因此等号成立，且 \( \operatorname{rank} A = \operatorname{rank} A^T \)。<sup>[2](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup>

## 推论

**单射性与满射性。** 对于有限维空间上的线性算子 \( T:V \to V \)，该定理表明单射性、满射性与可逆性彼此等价：若 \( T \) 是单射，则 \( \dim(\ker T) = 0 \)，于是 \( \dim(\operatorname{im} T) = \dim V \)，而像作为满维数的子空间就是整个 \( V \)；反过来，满射性迫使零化度为零。<sup>[4](https://archive.nptel.ac.in/content/storage2/courses/122104018/node136.html)</sup> 更一般地，维数相同的有限维空间之间的线性映射，只要它是单射，或者只要它是满射，就一定是同构。<sup>[7](https://www.ucl.ac.uk/~ucahaya/2201notesNew.pdf)</sup>

**第一同构定理。** 商映射 \( \tilde{T}(v + \ker T) := T(v) \) 是从 \( V / \ker T \) 到 \( \operatorname{im}(T) \) 的向量空间同构。该陈述对任意向量空间（无论有限维与否）之间的线性映射都成立；当 \( V \) 有限维时，秩-零化度定理就是它在维数计数上的影子。<sup>[8](https://math.stackexchange.com/questions/752056/does-the-rank-nullity-theorem-hold-for-infinite-dimensional-v?noredirect=1)</sup>

**正合列。** 该定理可改写为关于短正合列 \( 0 \to U \to V \to W \to 0 \) 的陈述；所谓短正合列，是指线性映射的序列，其中第一个映射是单射，第二个映射是满射，且第一个映射的像等于第二个映射的核；在这种情形下，\( \dim V = \dim U + \dim W \)。进一步的一个推论是，任何正合链复形的欧拉（Euler）示性数 \( \chi(V) = \sum_{k=1}^{n} (-1)^k \dim(V_k) \) 都为零。<sup>[9](https://pmelvin.blogs.brynmawr.edu/files/2021/09/304S20LectureNotes.pdf)</sup>

## 应用

**图论。** 对于具有 \( n \) 个顶点、\( m \) 条边和 \( c \) 个连通分量的图的有向关联矩阵 \( B \in \mathbb{R}^{n \times m} \)，其核是环空间 \( Z_1 \)，即满足每个顶点处基尔霍夫（Kirchhoff）定律的无散度边流构成的空间。秩-零化度定理给出 \( \dim(Z_1) = m - \operatorname{rank}(B) \)，而秩算出来是 \( n - c \)，因此

\[ \dim(Z_1) = m - n + c, \qquad \dim(B_1) = n - c, \]

其中 \( B_1 = \operatorname{im}(B^T) \) 是势流的割空间。<sup>[10](https://math-cs-compass.com/Mathematics/Discrete/incidence_structure.html)</sup> 对于连通平面图，\( \dim(Z_1) = m - n + 1 = F - 1 \)，其中 \( F \) 是面的数目；每个有界面为环空间贡献一个维数，这正是欧拉公式 \( n - m + F = 2 \) 的代数内容。<sup>[10](https://math-cs-compass.com/Mathematics/Discrete/incidence_structure.html)</sup> 同理，对连通图的关联矩阵应用秩-零化度定理，可得到计数恒等式：最大独立简单环数减去边数再加上顶点数等于 1。<sup>[11](https://people.math.umass.edu/~havens/m235Lectures/RankNullity.pdf)</sup>

**结构矩阵。** 另一个单独的结果也称为零化度定理，它涉及逆矩阵：若可逆矩阵 \( A \) 与其逆矩阵 \( B \) 作相容分块，则前导块 \( A_{11} \) 的零化度等于逆矩阵的尾块 \( B_{22} \) 的零化度。该结果最初由古斯塔夫森（Gustafson）对主理想整环上的矩阵提出，后由菲德勒（Fiedler）和马克姆（Markham）改述为域上的矩阵情形；它用于预测结构秩矩阵之逆的结构秩。<sup>[12](https://people.cs.kuleuven.be/~raf.vandebril/homepage/publications/papers_html/nullity/node3.html)</sup>

## 适用范围与历史

有限维假设对定理的数值形式很重要。对于无限维定义域，维数是基数，简洁的加法恒等式被同构 \( V / \ker T \cong \operatorname{im} T \) 取代，而该同构在一般情况下成立。<sup>[8](https://math.stackexchange.com/questions/752056/does-the-rank-nullity-theorem-hold-for-infinite-dimensional-v?noredirect=1)</sup>

定理中的两个量是分别进入文献的。1878年弗罗贝尼乌斯关于线性代换与双线性型的论文包含了矩阵的秩的定义，他在关于标准形的工作中使用了这一概念。方阵的零化度由西尔维斯特于1884年定义，即最大的 \( i \)，使得 \( A \) 的每个 \( n - i + 1 \) 阶子式都为零；西尔维斯特对矩阵的不变量感兴趣，还证明了界 \( \max\{n(A), n(B)\} \leq n(AB) \leq n(A) + n(B) \)。<sup>[5](https://mathshistory.st-andrews.ac.uk/HistTopics/Matrices_and_determinants/)</sup>

该定理也已在证明助手中形式化：一项 Isabelle/HOL 开发证明了有限维向量空间上线性映射的秩-零化度定理，以及如下推论：对于矩阵 \( A \)，零空间与列空间的维数之和等于 \( A \) 的列数。<sup>[13](https://www.isa-afp.org/browser_info/current/AFP/Rank_Nullity_Theorem/document.pdf)</sup>

## References

1. [MATH0005 Algebra 1, §4.15 The rank-nullity theorem, University College London](https://www.homepages.ucl.ac.uk/~ucahmto/0005_2023/Ch4.S15.html)
2. [MATH220 Linear Algebra, §4.D Dimension theorem, Lancaster University](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)
3. [Section 4.5: The Dimension of a Vector Space, Purdue University](https://www.math.purdue.edu/~xu1121/Sec4.5)
4. [Proof of Rank-Nullity Theorem, NPTEL course notes](https://archive.nptel.ac.in/content/storage2/courses/122104018/node136.html)
5. [Matrices and determinants, MacTutor History of Mathematics, University of St Andrews](https://mathshistory.st-andrews.ac.uk/HistTopics/Matrices_and_determinants/)
6. [Kernel, Image and the Rank-Nullity Theorem, Linear Algebra notes](https://marcinofulus.github.io/LA/linear_transformations_kernel-image.html)
7. [MATH2201 Lecture Notes, University College London](https://www.ucl.ac.uk/~ucahaya/2201notesNew.pdf)
8. [Does the rank-nullity theorem hold for infinite dimensional V? Mathematics Stack Exchange](https://math.stackexchange.com/questions/752056/does-the-rank-nullity-theorem-hold-for-infinite-dimensional-v?noredirect=1)
9. [Abstract Algebra II lecture notes, Bryn Mawr College](https://pmelvin.blogs.brynmawr.edu/files/2021/09/304S20LectureNotes.pdf)
10. [Incidence Structure & Cycle/Cut Spaces, MATH-CS COMPASS](https://math-cs-compass.com/Mathematics/Discrete/incidence_structure.html)
11. [Rank, Nullity, and The Row Space, lecture notes, University of Massachusetts Amherst](https://people.math.umass.edu/~havens/m235Lectures/RankNullity.pdf)
12. [The nullity theorem, KU Leuven](https://people.cs.kuleuven.be/~raf.vandebril/homepage/publications/papers_html/nullity/node3.html)
13. [Rank-Nullity Theorem in Linear Algebra, Archive of Formal Proofs (Isabelle/HOL)](https://www.isa-afp.org/browser_info/current/AFP/Rank_Nullity_Theorem/document.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Linear and multilinear algebra › Decompositions and canonical forms › Singular value and rank factorizations

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/rank-nullity-theorem

English original: https://www.edgepedia.org/rank-nullity-theorem
