# 仿射子空间

**仿射子空间**是将一个线性子空间从原点平移出去所得的向量空间子集：它是形如 \( a + U = \{a + u : u \in U\} \) 的集合，其中 \( a \) 是一个固定向量，\( U \) 是一个线性子空间<sup>[1](https://iuuk.mff.cuni.cz/~ipenev/LA1W2023Lecture12slides.pdf)</sup>。\( \mathbb{R}^n \) 中不经过原点的直线和平面是标准例子，而线性方程组 \( A\vec{x} = \vec{b} \) 的解集总是一个仿射子空间<sup>[2](https://www.doc.ic.ac.uk/~mpd37/teaching/2015/145/notes.pdf)</sup><sup> • </sup><sup>[3](https://math.uniandes.edu.co/~mwinklme/teaching/LinAlg/LA-lecture_notes.pdf)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 集合 \( M = a + U \)，其中 \( a \in V \)，\( U \subseteq V \) 是线性子空间；等价地，对任意 \( a \in M \)，\( M - a \) 是线性子空间<sup>[1](https://iuuk.mff.cuni.cz/~ipenev/LA1W2023Lecture12slides.pdf)</sup><sup> • </sup><sup>[4](https://www.sciencedirect.com/topics/mathematics/affine-subspace)</sup> |
| 唯一性 | 方向子空间 \( U \) 由 \( M \) 唯一确定，但平移向量 \( a \) 不唯一：\( M \) 中任意一点都可充当<sup>[5](https://www2.isye.gatech.edu/~nemirovs/OPTI_LectureNotes.pdf)</sup> |
| 术语 | \( U \) 称为方向空间（或平行于 \( M \) 的子空间）；\( a \) 称为支撑点；该集合也称为线性流形<sup>[6](https://www.studocu.com/in/document/university-of-kerala/linear-algebra/linear-algebra-2/29662215)</sup><sup> • </sup><sup>[5](https://www2.isye.gatech.edu/~nemirovs/OPTI_LectureNotes.pdf)</sup> |
| 封闭性 | 一般对线性组合不封闭，只对系数之和为 1 的仿射组合封闭<sup>[7](https://courses.math.wichita.edu/math511/ch6/5/Applications.html)</sup> |
| 与线性方程组的关系 | \( A\vec{x} = \vec{b} \) 的解集等于 \( \vec{z}_0 + \{\vec{x} : A\vec{x} = \vec{0}\} \)，即零空间的一个平移<sup>[3](https://math.uniandes.edu.co/~mwinklme/teaching/LinAlg/LA-lecture_notes.pdf)</sup> |
| 低维情形 | \( \mathbb{R}^n \) 中的点、直线和平面，它们可以经过原点，也可以不经过；一维仿射子空间是直线 \( y = x_0 + \lambda x_1 \)<sup>[1](https://iuuk.mff.cuni.cz/~ipenev/LA1W2023Lecture12slides.pdf)</sup><sup> • </sup><sup>[2](https://www.doc.ic.ac.uk/~mpd37/teaching/2015/145/notes.pdf)</sup> |
| 最小的例子 | 空集不是仿射子空间；最小的仿射子空间是单点集 \( \{a\} = a + \{0\} \)<sup>[8](https://cs.kingsu.ca/~remkes/notes/linearalgebra/section-spans.html)</sup><sup> • </sup><sup>[1](https://iuuk.mff.cuni.cz/~ipenev/LA1W2023Lecture12slides.pdf)</sup> |

## 定义与基本结构

文献中出现了几种等价的表述。平移定义将 \( M = a + U \) 写作向量 \( a \) 与线性子空间 \( U \) 之和<sup>[1](https://iuuk.mff.cuni.cz/~ipenev/LA1W2023Lecture12slides.pdf)</sup>。差集定义则说，非空子集 \( B \subseteq V \) 是仿射子空间，当且仅当对某个固定的 \( \mathbf{a} \in V \)，差集 \( S = \{\mathbf{b} - \mathbf{a} : \mathbf{b} \in B\} \) 是 \( V \) 的子空间<sup>[7](https://courses.math.wichita.edu/math511/ch6/5/Applications.html)</sup>。第三种刻画指出，\( A \) 是仿射子空间当且仅当对 \( a \in A \)，\( A - a \) 是线性子空间<sup>[4](https://www.sciencedirect.com/topics/mathematics/affine-subspace)</sup>。

这两个组成部分有标准名称：在记号 \( L = x_0 + U \) 中，\( U \) 是方向空间，\( x_0 \) 是支撑点<sup>[6](https://www.studocu.com/in/document/university-of-kerala/linear-algebra/linear-algebra-2/29662215)</sup>。佐治亚理工学院H. Milton Stewart工业与系统工程学院的教授涅米罗夫斯基（Nemirovski）把 \( L \) 称为平行于 \( M \) 的线性子空间，并指出它可计算为 \( L = \{z = x - y : x, y \in M\} \)<sup>[5](https://www2.isye.gatech.edu/~nemirovs/OPTI_LectureNotes.pdf)</sup>。

**唯一性性质。** 对仿射子空间 \( M = a + U \)，向量 \( a \) 不必唯一：\( M \) 中每一点都给出同一个平移，因为对所有 \( a' \in M \) 都有 \( M = a' + U \)。然而方向子空间 \( U \) 是唯一的，且只依赖于 \( M \)。两个平行平移 \( M \) 与 \( b + U \)（其中 \( b \notin M \)）不相交，即 \( M \cap (b + U) = \emptyset \)<sup>[1](https://iuuk.mff.cuni.cz/~ipenev/LA1W2023Lecture12slides.pdf)</sup>。

## 与线性子空间的关系

仿射子空间推广了线性子空间。每个线性子空间 \( U \) 都是仿射子空间，因为 \( U = 0 + U \)；而 \( V \) 的线性子空间恰好就是那些包含零向量的仿射子空间<sup>[1](https://iuuk.mff.cuni.cz/~ipenev/LA1W2023Lecture12slides.pdf)</sup>。当支撑点 \( x_0 \notin U \) 时，该仿射子空间不包含 \( 0 \)，因此不是线性子空间<sup>[2](https://www.doc.ic.ac.uk/~mpd37/teaching/2015/145/notes.pdf)</sup>。

这一区别在封闭性上至关重要。线性子空间是非空集合，对其元素的线性组合封闭<sup>[5](https://www2.isye.gatech.edu/~nemirovs/OPTI_LectureNotes.pdf)</sup>。仿射子空间则对**仿射组合**封闭，即系数满足 \( \sum_{i=1}^{n} t_i = 1 \) 的线性组合 \( \sum_{i=1}^{n} t_i v_i \)<sup>[4](https://www.sciencedirect.com/topics/mathematics/affine-subspace)</sup>。仿射组合的特征性质是：当所有参与的向量都被同一个向量 \( a \) 平移时，组合本身也平移 \( a \)，这正是子空间的平移所保持的性质<sup>[5](https://www2.isye.gatech.edu/~nemirovs/OPTI_LectureNotes.pdf)</sup>。在抽象仿射空间中，这一封闭性质成为定义：仿射空间的子集 \( V \) 是仿射子空间，如果对 \( V \) 中任意一族带权点 \( ((a_i, \lambda_i)) \)，只要 \( \sum_i \lambda_i = 1 \)，其重心 \( \sum_i \lambda_i a_i \) 就属于 \( V \)<sup>[9](https://www.cis.upenn.edu/~jean/math-deep.pdf)</sup>。

## 线性方程组的解集

仿射子空间自然地作为线性方程组的解集出现。用特解 \( \vec{z}_0 \) 和自由变量表示 \( A\vec{x} = \vec{b} \) 的解集，得到

\[ \vec{x} = \vec{z}_0 + t_1 \vec{y}_1 + \cdots + t_k \vec{y}_k, \]

其中 \( k \) 是自由变量的个数，\( \vec{y}_1, \ldots, \vec{y}_k \) 是齐次方程组 \( A\vec{x} = \vec{0} \) 的解。因此解集是 \( \vec{z}_0 + \{\vec{x} : A\vec{x} = \vec{0}\} \)，即零空间经 \( \vec{z}_0 \) 平移所得<sup>[3](https://math.uniandes.edu.co/~mwinklme/teaching/LinAlg/LA-lecture_notes.pdf)</sup>。仿射子空间中的点是非齐次方程组的解，而它们的差是相应的齐次方程组的解<sup>[10](https://www.sciencedirect.com/topics/computer-science/affine-combination)</sup>。

## 参数描述与包

\( k \) 维仿射子空间 \( L = x_0 + U \) 有参数方程。若 \( (b_1, \ldots, b_k) \) 是 \( U \) 的有序基，则每个元素 \( x \in L \) 都可唯一地写成

\[ x = x_0 + \lambda_1 b_1 + \cdots + \lambda_k b_k, \qquad \lambda_1, \ldots, \lambda_k \in \mathbb{R}, \]

其中 \( b_1, \ldots, b_k \) 是方向向量，\( \lambda_1, \ldots, \lambda_k \) 是参数<sup>[2](https://www.doc.ic.ac.uk/~mpd37/teaching/2015/145/notes.pdf)</sup>。一维仿射子空间是直线 \( y = x_0 + \lambda x_1 \)；维数为 \( d \) 的子空间在 \( d = 1 \)、\( d = 2 \) 或 \( d = n - 1 \) 时分别称为直线、平面或超平面<sup>[2](https://www.doc.ic.ac.uk/~mpd37/teaching/2015/145/notes.pdf)</sup><sup> • </sup><sup>[10](https://www.sciencedirect.com/topics/computer-science/affine-combination)</sup>。

**仿射包。** 对子集 \( S \subseteq V \)，所有包含 \( S \) 的仿射子空间的交集是其中最小的一个，称为仿射包 \( \operatorname{aff}(S) \)。它等于 \( S \) 中元素的所有仿射组合之集，且对每个 \( a \in S \) 它都是某个线性子空间的平移，因此 \( S \) 张成 \( \operatorname{aff}(S) \)<sup>[4](https://www.sciencedirect.com/topics/mathematics/affine-subspace)</sup>。包含关系有一个简洁的判别准则：对仿射子空间 \( L = x_0 + U \) 与 \( \tilde{L} = \tilde{x}_0 + \tilde{U} \)，\( L \subset \tilde{L} \) 当且仅当 \( U \subset \tilde{U} \) 且 \( x_0 - \tilde{x}_0 \in \tilde{U} \)<sup>[2](https://www.doc.ic.ac.uk/~mpd37/teaching/2015/145/notes.pdf)</sup>。

## 仿射子空间的出现之处

除线性方程组之外，仿射子空间还组织起数学及其应用的若干部分。在优化中，由线性等式描述的可行集是仿射子空间，它们先于凸集的研究出现，而凸集理论正是建立在包与组合这套仿射语汇之上<sup>[5](https://www2.isye.gatech.edu/~nemirovs/OPTI_LectureNotes.pdf)</sup>。在统计学与机器学习中，寻求变量间线性关系的问题——包括线性回归、含误差变量回归、主成分分析和支持向量机——都可以表述为仿射格拉斯曼流形上的问题，后者是固定维数的所有仿射子空间构成的空间<sup>[11](https://arxiv.org/abs/1807.10883)</sup>。子空间聚类是计算机视觉与模式识别中的一个问题，研究位于仿射子空间并集上的数据，使用一种齐次化技巧把这样的并集嵌入线性子空间的并集<sup>[12](https://arxiv.org/abs/1509.06729)</sup>。

仿射格拉斯曼流形本身由芝加哥大学的林历恒（Lek-Heng Lim）与黄思伟（Ken Sze-Wai Wong）、叶科（Ke Ye）共同发展，具有丰富的结构：它是一个齐性空间、一个微分流形、一个代数簇、一个向量丛和一个分类空间，并支持用数值线性代数计算的距离、度量与概率密度<sup>[11](https://arxiv.org/abs/1807.10883)</sup>。

## References

1. [Linear Algebra 1, Lecture #12: Affine subspaces and affine functions, Irena Penev, Charles University](https://iuuk.mff.cuni.cz/~ipenev/LA1W2023Lecture12slides.pdf)
2. [Lecture Notes: Mathematical Methods, Imperial College London](https://www.doc.ic.ac.uk/~mpd37/teaching/2015/145/notes.pdf)
3. [Lecture Notes Algebra Lineal, 2025-1, Universidad de los Andes, M. Winklmeier](https://math.uniandes.edu.co/~mwinklme/teaching/LinAlg/LA-lecture_notes.pdf)
4. [Affine Subspace, an overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/affine-subspace)
5. [Introduction to Linear Optimization, Lecture Notes, Arkadi Nemirovski, Georgia Institute of Technology](https://www2.isye.gatech.edu/~nemirovs/OPTI_LectureNotes.pdf)
6. [Affine Spaces and Inner Product Properties in Linear Algebra 2, University of Kerala lecture notes](https://www.studocu.com/in/document/university-of-kerala/linear-algebra/linear-algebra-2/29662215)
7. [Applications of affine subspaces, Wichita State University Math 511 notes](https://courses.math.wichita.edu/math511/ch6/5/Applications.html)
8. [Spans and Subspaces, The King's University linear algebra notes](https://cs.kingsu.ca/~remkes/notes/linearalgebra/section-spans.html)
9. [Mathematical Foundations, Chapter 24.5: Affine Subspaces, University of Pennsylvania](https://www.cis.upenn.edu/~jean/math-deep.pdf)
10. [Affine Combination, an overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/computer-science/affine-combination)
11. [The Grassmannian of affine subspaces, Lek-Heng Lim, Ken Sze-Wai Wong, Ke Ye, arXiv:1807.10883](https://arxiv.org/abs/1807.10883)
12. [Algebraic Clustering of Affine Subspaces, arXiv:1509.06729](https://arxiv.org/abs/1509.06729)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 几何学与拓扑学 › Projective and affine geometry

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/affine-subspace

English original: https://www.edgepedia.org/affine-subspace
