# 共线性

**共线性**是一组点全都位于同一条直线上的性质。三个或更多点共线，是指某一条直线经过其中每一个点；两个不同点总是共线的，因为它们确定一条直线。这一概念是解析几何的基础——在解析几何中有代数判定；它也是关联几何的基础——在关联几何中，关于共线三元组的命题（如西尔维斯特–加莱定理）约束点的排布方式。

| 关键事实 | 细节 |
|---|---|
| 代数判定 | 点 \( A:(x_1,y_1) \)、\( B:(x_2,y_2) \)、\( P:(\bar{x},\bar{y}) \) 共线，当且仅当 \( (y_2-y_1)\bar{x}-(x_2-x_1)\bar{y}+y_1x_2-x_1y_2 = 0 \)，等价地，三角形面积行列式为零<sup>[1](https://users.aber.ac.uk/sxc/TEACHING/MA10110/points_and_lines.pdf)</sup> |
| 几何意义 | 该行列式为零，等价于以三点为顶点的三角形的有向面积为零<sup>[1](https://users.aber.ac.uk/sxc/TEACHING/MA10110/points_and_lines.pdf)</sup> |
| 西尔维斯特–加莱定理 | 实平面中任意有限点集，只要不全在同一条直线上，就确定一条恰好经过其中两个点的直线（一条普通线）<sup>[2](https://oar.princeton.edu/bitstream/88435/pr1qn8g/1/IncidenceTheoremsTheirApplications.pdf)</sup> |
| 定理历史 | 由詹姆斯·约瑟夫·西尔维斯特（James Joseph Sylvester）于1893年提出；保罗·埃尔德什（Paul Erdős）于1943年独立重新发现，蒂博尔·加莱（Tibor Gallai）于1944年将其解答正式发表；最早发表的证明是梅尔基奥尔（Melchior）1941年的证明<sup>[3](https://colab.ws/articles/10.1007%2Fbf02112289)</sup><sup> • </sup><sup>[4](https://arxiv.org/abs/2402.03662)</sup> |
| 复情形 | 复射影空间中的西尔维斯特–加莱构形必须共面（凯利定理，1986）<sup>[5](https://arxiv.org/abs/math/0403023)</sup> |
| 计算中的作用 | 共线性由二维方向判定决定；在 CGAL 和谢丘克（Shewchuk）的谓词等稳健几何库中，该判定以精确、自适应方式计算<sup>[6](https://people.eecs.berkeley.edu/~jrs/papers/robust-predicates.pdf)</sup><sup> • </sup><sup>[7](https://www.cgal.org/FAQ.html)</sup> |

## 解析几何中的行列式判定

在笛卡尔平面中，三点的共线性归结为一个行列式。给定经过 \( A:(x_1,y_1) \) 与 \( B:(x_2,y_2) \) 的直线，点 \( P:(\bar{x},\bar{y}) \) 在其上，当且仅当

\[ (y_2-y_1)\bar{x}-(x_2-x_1)\bar{y}+y_1x_2-x_1y_2 = 0. \]

同一条件也由三角形 \( ABP \) 的有向面积表达：

\[ A = \tfrac{1}{2} \begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ \bar{x} & \bar{y} & 1 \end{vmatrix}, \]

当且仅当三个顶点共线时它为零；两种表述经整理后在代数上等价<sup>[1](https://users.aber.ac.uk/sxc/TEACHING/MA10110/points_and_lines.pdf)</sup>。同一个行列式，若把一个顶点视为变量，就给出经过另外两点的直线方程<sup>[8](https://journals.indianapolis.iu.edu/index.php/ias/article/download/4179/4143/10068)</sup>。

## 西尔维斯特–加莱定理

关于有限点集共线性的核心定理涉及普通线，即恰好包含集合中两个点的直线。西尔维斯特–加莱定理指出：实平面中任意 \( n \) 个点的构形，只要不全在同一条直线上，就存在一条恰好经过其中两个点的直线；等价地，若每一对点都与第三个点共线，则所有点都在同一条直线上<sup>[2](https://oar.princeton.edu/bitstream/88435/pr1qn8g/1/IncidenceTheoremsTheirApplications.pdf)</sup>。该定理把局部信息——共线三元组——转化为关于整个构形的全局结论<sup>[10](https://arxiv.org/abs/1211.0331)</sup>。

**历史。** 西尔维斯特于1893年提出该问题，请读者证明：不可能把任意有限个实点排布成这样一种情形——经过其中任意两点的直线都经过第三个点，除非它们全在同一条直线上<sup>[11](https://mathworld.wolfram.com/SylvestersLineProblem.html)</sup>。当时没有出现解答，问题随后被遗忘。埃尔德什于1943年在《美国数学月刊》上重新发现了它，当时并不知道西尔维斯特更早的陈述；加莱的解答于次年正式发表<sup>[3](https://colab.ws/articles/10.1007%2Fbf02112289)</sup>。不过，已知最早发表的证明出自 E. 梅尔基奥尔，1941年；斯坦伯格（Steinberg）、巴克（Buck）和斯廷罗德（Steenrod）的解答与加莱的解答一同于1944年发表<sup>[4](https://arxiv.org/abs/2402.03662)</sup>。

**域依赖性。** 该定理是关于实数的陈述，在其他域上不成立。在复数上，存在非共线构形，其中经过任意两点的直线都包含第三个点：经典例子是复射影平面中一条非退化三次曲线的九个拐点<sup>[5](https://arxiv.org/abs/math/0403023)</sup>。让-皮埃尔·塞尔（Jean-Pierre Serre）于1966年提出问题，寻求该定理的复版本；勒罗伊·米尔顿·凯利（Leroy Milton Kelly）于1986年利用代数几何中希策布鲁赫（Hirzebruch）的一个深刻关联不等式，证明了复射影空间中的每个西尔维斯特–加莱构形都必须共面；诺姆·埃尔基斯（Noam Elkies）、卢·M·普雷托里乌斯（Lou M. Pretorius）和康拉德·J·斯瓦内普尔（Konrad J. Swanepoel）后来给出了初等证明，并把结果推广到四元数情形，此时这样的构形必须位于一个三维平坦子空间中<sup>[5](https://arxiv.org/abs/math/0403023)</sup>。

**近似共线性。** 一种稳定变体处理位置带有噪声的点：直线被窄管替代，相关定理定量刻画有多少个近似共线三元组会迫使整个集合接近一个低维仿射子空间<sup>[10](https://arxiv.org/abs/1211.0331)</sup>。分数版本进一步弱化假设，只要求对每个点，经过它的普通线覆盖集合的某个正比例部分<sup>[12](https://pmc.ncbi.nlm.nih.gov/articles/PMC3845162/)</sup>。

## 射影几何中的共线性

共线性及其对偶——直线共点——是射影几何的基本关系。古希腊几何学家把图形视为静止的，对关于共线点或共点线的命题几乎不感兴趣；涉及平面之间的投影以及这类命题的系统研究，到17世纪才随着吉拉尔·德萨格（Girard Desargues）、布莱兹·帕斯卡（Blaise Pascal）和菲利普·德·拉伊尔（Philippe de La Hire）出现<sup>[13](https://notes.math.ca/en/article/geometric-transformations-1800-1855/)</sup>。德萨格于1639年通过其圆锥曲线研究开创了射影几何的研究<sup>[14](https://proofwiki.org/wiki/Definition%3AProjective_Geometry/Historical_Note)</sup>。19世纪初，一些数学家认为综合几何受到了不公正的忽视，于是复兴了这一学科；经过蓬斯莱（Poncelet）、莫比乌斯（Möbius）、普吕克（Plücker）和冯·施陶特（von Staudt）的工作，它逐渐成熟，直到约1930年，综合观点被公理化，解析观点则与代数几何融合<sup>[15](https://cris.unibo.it/handle/11585/1006966)</sup>。

## 计算中的共线性

判定三个点是否共线就是二维方向判定，它是计算几何中最常用的基本操作之一：它归结为行列式

\[ \det = (a_x-c_x)(b_y-c_y) - (a_y-c_y)(b_x-c_x), \]

的符号，其为零的情形恰好就是共线<sup>[16](https://vectree.io/c/shewchuk-robust-orientation-predicates)</sup>。当行列式接近零时，朴素的浮点求值可能返回错误的符号，而错误答案可能导致几何算法挂起、崩溃或产生错误输出<sup>[6](https://people.eecs.berkeley.edu/~jrs/papers/robust-predicates.pdf)</sup>。乔纳森·理查德·谢丘克（Jonathan Richard Shewchuk）的自适应精度谓词于1997年发表在《离散与计算几何》（*Discrete & Computational Geometry*）上；它们精确计算行列式，只在几何接近退化时才付出扩展精度的代价，因此普通情形以浮点速度运行<sup>[6](https://people.eecs.berkeley.edu/~jrs/papers/robust-predicates.pdf)</sup><sup> • </sup><sup>[16](https://vectree.io/c/shewchuk-robust-orientation-predicates)</sup>。

库的设计反映了同样的区分。CGAL 把谓词与构造分开：谓词返回符号或方向，必须精确，算法的控制流才能正确；构造计算新的数值，可能遭受舍入误差<sup>[17](https://doc.cgal.org/Manual/3.1/doc_html/cgal_manual/Kernel_d/Chapter_predicates_constructions_d.html)</sup>。其 Exact_predicates_inexact_constructions_kernel 保证共线性和方向判定精确，同时对构造出的对象使用双精度坐标；这种组合速度快，对大多数算法足够<sup>[7](https://www.cgal.org/FAQ.html)</sup>。近期关于间接谓词的工作把这种过滤方法扩展到关于中间构造所产生点的谓词，使稳健算法在速度和内存上接近朴素浮点实现<sup>[18](https://www.sciencedirect.com/science/article/pii/S001044852030049X)</sup>。

## References

1. [Points and Lines, MA10110 lecture notes, Aberystwyth University](https://users.aber.ac.uk/sxc/TEACHING/MA10110/points_and_lines.pdf)
2. [Incidence Theorems and Their Applications, Princeton University](https://oar.princeton.edu/bitstream/88435/pr1qn8g/1/IncidenceTheoremsTheirApplications.pdf)
3. [Borwein, P., Moser, W. O. J. (1990). A survey of Sylvester's problem and its generalizations. Aequationes Mathematicae 40, 111–135.](https://colab.ws/articles/10.1007%2Fbf02112289)
4. [Mandelkern, M. (2024). A constructive version of the Sylvester-Gallai Theorem. arXiv:2402.03662.](https://arxiv.org/abs/2402.03662)
5. [Elkies, N., Pretorius, L. M., Swanepoel, K. J. (2004). Sylvester-Gallai Theorems for Complex Numbers and Quaternions. arXiv:math/0403023.](https://arxiv.org/abs/math/0403023)
6. [Shewchuk, J. R. (1997). Robust Adaptive Floating-Point Geometric Predicates. Discrete & Computational Geometry.](https://people.eecs.berkeley.edu/~jrs/papers/robust-predicates.pdf)
7. [CGAL Frequently Asked Questions](https://www.cgal.org/FAQ.html)
8. [Proceedings of the Indiana Academy of Science: determinants in analytic geometry](https://journals.indianapolis.iu.edu/index.php/ias/article/download/4179/4143/10068)
9. [Adjoints, Cramer's Rule, Geometric Applications, MATH 2360 slides, Texas Tech University](https://www.myweb.ttu.edu/jengwer/courses/MATH2360/slides/LinAlg-Slides3.4.pdf)
10. [Sylvester-Gallai type theorems for approximate collinearity. arXiv:1211.0331.](https://arxiv.org/abs/1211.0331)
11. [Sylvester's Line Problem, Wolfram MathWorld](https://mathworld.wolfram.com/SylvestersLineProblem.html)
12. [Fractional Sylvester–Gallai theorems, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC3845162/)
13. [Geometric Transformations, 1800–1855, CMS Notes, Canadian Society for History and Philosophy of Mathematics](https://notes.math.ca/en/article/geometric-transformations-1800-1855/)
14. [Historical Note on Projective Geometry, ProofWiki](https://proofwiki.org/wiki/Definition%3AProjective_Geometry/Historical_Note)
15. [Del Centina, A., Gimigliano, A. (2025). From Here to Infinity. Tracing the Origin and Development of Projective Geometry. Springer.](https://cris.unibo.it/handle/11585/1006966)
16. [Robust orientation predicates and Shewchuk's adaptive precision arithmetic, Vectree Visual Explainer](https://vectree.io/c/shewchuk-robust-orientation-predicates)
17. [Predicates and Constructions, CGAL Manual](https://doc.cgal.org/Manual/3.1/doc_html/cgal_manual/Kernel_d/Chapter_predicates_constructions_d.html)
18. [Indirect Predicates for Geometric Constructions, Computer-Aided Design 126 (2020), 102856.](https://www.sciencedirect.com/science/article/pii/S001044852030049X)

---
*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: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Combinatorics › Geometric, polyhedral, and topological combinatorics › Point configurations and combinatorial incidence

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/collinearity

English original: https://www.edgepedia.org/collinearity
