# 维数（向量空间）

**维数**是向量空间的一个基中向量的个数，记作 \(\dim V\)。基是一组线性无关且张成该空间的向量；本学科的中心定理保证，有限维空间的每个基都恰好含有相同数目的向量，因此维数是空间本身的一个良定义属性，而不是某个选定基的属性。<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup><sup> • </sup><sup>[2](https://math.libretexts.org/Bookshelves/Linear_Algebra/Map%3A_Linear_Algebra_%28Waldron_Cherney_and_Denton%29/11%3A_Basis_and_Dimension)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | \(\dim V\) 是 \(V\) 的一个基中向量的个数；零向量空间 \(\{\vec 0\}\) 的维数为 0<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> |
| 良定义性 | 若 \(V\) 有一个含 \(n\) 个向量的基，则 \(V\) 的每个基都恰含 \(n\) 个向量<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> |
| 大小上限 | \(n\) 维空间中任何多于 \(n\) 个向量的集合都线性相关<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> |
| 子空间 | 若 \(H \subseteq V\) 是有限维空间的子空间，则 \(\dim H \le \dim V\)，等号恰在 \(H = V\) 时成立<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup><sup> • </sup><sup>[3](https://ximera.osu.edu/linearalgebra/textbook/describingVectorSpaces/basisAndDimension)</sup> |
| 秩-零度 | 对线性映射 \(T: V \to W\)，若 \(V\) 有限维，则 \(\dim(\mathrm{im}\,T) + \dim(\ker T) = \dim V\)<sup>[4](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup> |
| 同构判别 | 同一域上的两个向量空间同构，当且仅当它们有相同的维数<sup>[5](https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_%28Kuttler%29/09%3A_Vector_Spaces/9.07%3A_Isomorphisms)</sup> |
| 无限情形 | 对无限维空间，维数是基的基数，且任意两个基有相同的基数<sup>[6](https://courses.math.wichita.edu/math511/ch4/5/BasisAndDimension.html)</sup> |

## 定义

向量空间 \(V\) 若由一个有限集张成，则称为有限维的，其维数是某个基中向量的个数。若 \(V\) 不由任何有限集张成，则它是无限维的。<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> 只含零向量的零向量空间按约定被赋予维数 0。<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup>

这个定义预设了基的存在。对有限维空间，这一点直截了当：按定义，这样的空间有一个有限张成集，而每个有限张成集都可约化为一个基，所以每个有限维向量空间都有基。<sup>[7](https://sites.ualberta.ca/~jsylvest/books/DLA/section-dimension-theory.html)</sup> 对无限维空间，基的存在是一个真正的集合论问题；每个向量空间都有基的证明通过佐恩引理使用选择公理。<sup>[8](https://math.ucla.edu/~sharifi/notes/algebra-ch05.html)</sup>

## 为什么所有基的大小一致

一个基中向量的个数原则上可能取决于所选的是哪个基；排除这一点的定理依赖一个简单的计数事实。

**定理 10.** 若 \(V\) 有一个基 \(\mathcal{B} = \{\vec b_1, \dots, \vec b_n\}\)，则 \(V\) 中任何多于 \(n\) 个向量的集合必然线性相关。等价地，\(V\) 中每个线性无关集至多有 \(n\) 个向量。<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup>

**定理 11.** 若 \(V\) 有一个含 \(n\) 个向量的基，则 \(V\) 的每个基都必恰由 \(n\) 个向量组成。<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup>

证明两次应用定理 10。设 \(\mathcal{B}_1\) 是一个含 \(n\) 个向量的基，\(\mathcal{B}_2\) 是另一个基。由于 \(\mathcal{B}_2\) 线性无关而 \(\mathcal{B}_1\) 张成空间，故 \(|\mathcal{B}_2| \le n\)。交换角色，\(\mathcal{B}_1\) 线性无关而 \(\mathcal{B}_2\) 张成空间，所以 \(n \le |\mathcal{B}_2|\)。因此 \(|\mathcal{B}_2| = n\)。<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> 这正是维数与基无关的原因：这个计数是空间的属性，而不是特定基的属性。<sup>[2](https://math.libretexts.org/Bookshelves/Linear_Algebra/Map%3A_Linear_Algebra_%28Waldron_Cherney_and_Denton%29/11%3A_Basis_and_Dimension)</sup>

对无限维空间，同样的陈述以基数的语言成立：维数是基的基数，任意两个基有相同的基数，不过其证明超出初等课程的范围。<sup>[6](https://courses.math.wichita.edu/math511/ch4/5/BasisAndDimension.html)</sup> 具有可数无限基的空间，其维数记作 \(\aleph_0\) 而不是 \(\infty\)；次数无界的多项式空间就是例子，而无限维巴拿赫函数空间，例如 \(C([0,1])\)，具有不可数的哈梅尔基。<sup>[9](https://www.learnmathclass.com/linear-algebra/vector-spaces/dimension)</sup><sup> • </sup><sup>[16](https://files.warwick.ac.uk/vgelfreykh/files/FA1-2009-1.pdf)</sup>

## 对线性无关集与张成集的推论

维数把寻找基变成一道计数练习。基定理指出，在 \(p\) 维空间（\(p \ge 1\)）中，任何恰有 \(p\) 个元素的线性无关集自动是基，任何恰有 \(p\) 个元素且张成该空间的集合也自动是基。所以一旦知道维数，一个大小合适的候选集只需检验两条定义性质中的一条。<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup>

两个配套事实补全了图景。有限维空间中的每个线性无关集都可扩充为一个基，每个张成集都可约化为一个基。<sup>[7](https://sites.ualberta.ca/~jsylvest/books/DLA/section-dimension-theory.html)</sup> 特别地，若 \(H\) 是有限维空间 \(V\) 的子空间，则 \(H\) 中任何线性无关集都可扩充为 \(H\) 的一个基，且 \(\dim H \le \dim V\)。<sup>[1](https://www.math.purdue.edu/~xu1121/Sec4.5)</sup> 等号恰在 \(H = V\) 时成立：真子空间的维数严格更小。<sup>[3](https://ximera.osu.edu/linearalgebra/textbook/describingVectorSpaces/basisAndDimension)</sup>

## 示例

- \(F^n\) 的标准基 \(\{e_1, e_2, \dots, e_n\}\)——其中 \(e_i\) 在第 \(i\) 个坐标为 1、其余坐标为 0——表明 \(\dim F^n = n\)。<sup>[8](https://math.ucla.edu/~sharifi/notes/algebra-ch05.html)</sup>
- \(t\) 的次数至多 \(n\) 的多项式有基 \(\{1, t, \dots, t^n\}\)，所以 \(\dim P_n(t) = n+1\)。<sup>[2](https://math.libretexts.org/Bookshelves/Linear_Algebra/Map%3A_Linear_Algebra_%28Waldron_Cherney_and_Denton%29/11%3A_Basis_and_Dimension)</sup>
- 多项式环 \(F[x]\) 有基 \(\{x^i \mid i \ge 0\}\)，因为每个多项式都是有限个互异单项式之和；它是无限维的。<sup>[8](https://math.ucla.edu/~sharifi/notes/algebra-ch05.html)</sup>
- 哈密顿（Hamilton）的四元数于 1843 年发表，构成实数域上的一个 4 维向量空间。<sup>[10](https://mathshistory.st-andrews.ac.uk/HistTopics/Abstract_linear_spaces/)</sup>

## 秩-零度定理

维数衡量子空间的大小，而对线性变换，它给出线性代数中最常用的公式之一。维数定理（也称秩-零度定理）指出，若 \(T: V \to W\) 是线性变换且 \(V\) 有限维，则

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

这里 \(\dim(\mathrm{im}\,T)\) 是 \(T\) 的秩，\(\dim(\ker T)\) 是零度。知道其一便可确定另一。<sup>[4](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup> 证明把核的一个基扩充为 \(V\) 的一个基；新增向量的像构成像的一个基，从而得到 \(\dim(\mathrm{im}\,T) = \dim V - \dim(\ker T)\)。<sup>[4](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)</sup>

对矩阵而言，同样的计数关系出现在四个基本子空间中：一个秩为 \(r\) 的 \(m \times n\) 矩阵，其行空间和列空间的维数均为 \(r\)，而两个零空间的维数分别为 \(n - r\) 和 \(m - r\)。<sup>[11](https://ocw.mit.edu/courses/18-085-computational-science-and-engineering-i-fall-2008/7549c43ec4a5c4544fb68cb626396fbd_nutshell.pdf)</sup> 对于无限维空间，例如所有多项式构成的空间，这个公式仍然有意义，但它在计算秩时并不有用，因为像 \(\infty = \infty + x\) 这样的方程无法解出 \(x\)。<sup>[12](https://www.math.ucdavis.edu/~linear/linear-guest.pdf)</sup>

## 维数与同构

维数把向量空间按同构分类。同构的向量空间总有相同的维数；证明方法是对一个线性双射应用秩-零度定理：其核是平凡的，所以 \(\dim U = \dim(\mathrm{im}\,T) = \dim V\)。<sup>[13](https://www.homepages.ucl.ac.uk/~ucahmto/0005_2023/Ch4.S21.html)</sup> 反过来，同一域上的两个向量空间同构，当且仅当它们有相同的维数。<sup>[5](https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_%28Kuttler%29/09%3A_Vector_Spaces/9.07%3A_Isomorphisms)</sup> 具体地说，选定一个 \(n\) 维空间的一个基，就给出到 \(F^n\) 的坐标同构，因此每个有限维向量空间都同构于一个列向量空间。<sup>[13](https://www.homepages.ucl.ac.uk/~ucahmto/0005_2023/Ch4.S21.html)</sup>

这就是为什么维数是如此强有力的不变量：两个维数相同的空间可能包含十分不同的对象，例如多项式、矩阵或函数，但从线性代数的角度看，它们无法区分。<sup>[9](https://www.learnmathclass.com/linear-algebra/vector-spaces/dimension)</sup>

## 历史

维数背后的思想比现代定义更古老。赫尔曼·格拉斯曼（Hermann Grassmann）的《线性扩张论》（*Die lineale Ausdehnungslehre*）于 1844 年在莱比锡（Leipzig）出版，其中包含熟悉的向量空间定律，并清楚地包含线性无关集与线性相关集的思想以及维数的思想，尽管他并未使用这个术语。<sup>[10](https://mathshistory.st-andrews.ac.uk/HistTopics/Abstract_linear_spaces/)</sup> 格拉斯曼的目标是建立数学的一个分支，以纯粹抽象的方式给出类似于几何学的定律，而几何学局限于空间。<sup>[14](https://mathshistory.st-andrews.ac.uk/Extras/Grassmann_1844/)</sup> 实线性空间的第一个公理化定义由皮亚诺（Peano）在 1888 年于都灵（Torino）出版的一本书中给出；他把莱布尼茨（Leibniz）、莫比乌斯（Möbius）、格拉斯曼和哈密顿列为来源；这本书多年间影响甚微。<sup>[10](https://mathshistory.st-andrews.ac.uk/HistTopics/Abstract_linear_spaces/)</sup> 线性代数作为一个整体主要是在二十世纪发展起来的。<sup>[15](https://u.cs.biu.ac.il/~tsaban/LinearAlgebra/LAT68/LAT68.html)</sup>

## References

1. [Section 4.5: The Dimension of a Vector Space, Purdue University](https://www.math.purdue.edu/~xu1121/Sec4.5)
2. [Chapter 11: Basis and Dimension, Linear Algebra (Waldron, Cherney, and Denton), Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Linear_Algebra/Map%3A_Linear_Algebra_%28Waldron_Cherney_and_Denton%29/11%3A_Basis_and_Dimension)
3. [Bases and dimension, Ximera, Ohio State University](https://ximera.osu.edu/linearalgebra/textbook/describingVectorSpaces/basisAndDimension)
4. [4.D Dimension theorem, MATH220 Linear transformations, Lancaster University](https://www.lancaster.ac.uk/~prendivs/accessible/math220/MATH220-Complete-Notes-2017.tex/Ch4.S4.html)
5. [9.7: Isomorphisms, A First Course in Linear Algebra (Kuttler), Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Linear_Algebra/A_First_Course_in_Linear_Algebra_%28Kuttler%29/09%3A_Vector_Spaces/9.07%3A_Isomorphisms)
6. [Section 4.5: Basis and Dimension, Math 511, Wichita State University](https://courses.math.wichita.edu/math511/ch4/5/BasisAndDimension.html)
7. [Section 20.5 Theory, DLA Theory, University of Alberta](https://sites.ualberta.ca/~jsylvest/books/DLA/section-dimension-theory.html)
8. [Abstract Algebra, Chapter 5: Advanced ring theory, Romyar Sharifi, UCLA](https://math.ucla.edu/~sharifi/notes/algebra-ch05.html)
9. [Dimension: Basis Size & Invariant, Learn Math Class](https://www.learnmathclass.com/linear-algebra/vector-spaces/dimension)
10. [Abstract linear spaces, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/HistTopics/Abstract_linear_spaces/)
11. [Linear Algebra in a Nutshell, MIT OCW 18.085](https://ocw.mit.edu/courses/18-085-computational-science-and-engineering-i-fall-2008/7549c43ec4a5c4544fb68cb626396fbd_nutshell.pdf)
12. [Kernel, Range, Nullity, Rank, UC Davis](https://www.math.ucdavis.edu/~linear/linear-guest.pdf)
13. [4.21 Coordinate isomorphisms, MATH0005 Algebra 1, UCL](https://www.homepages.ucl.ac.uk/~ucahmto/0005_2023/Ch4.S21.html)
14. [Grassmann: 1844 foreword, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Extras/Grassmann_1844/)
15. [Linear Algebra Theory (LAT68)](https://u.cs.biu.ac.il/~tsaban/LinearAlgebra/LAT68/LAT68.html)
16. [files.warwick.ac.uk](https://files.warwick.ac.uk/vgelfreykh/files/FA1-2009-1.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Linear and multilinear algebra › Vector spaces and linear maps

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/dimension-vector-space

English original: https://www.edgepedia.org/dimension-vector-space
