# 垂直

**垂直**描述的是两条直线、线段、射线、向量或平面以直角相交，即交角为90度。这种关系用符号 \( \perp \) 表示：若直线 \( l_1 \) 与 \( l_2 \) 垂直，记作 \( l_1 \perp l_2 \)，图解中在交点处画一个小正方形来标记直角。<sup>[1](https://openstax.org/books/contemporary-mathematics/pages/10-1-points-lines-and-planes)</sup> 用向量的语言来说，两个向量的点积为零时它们垂直，这一条件也称为正交。<sup>[2](https://mathworld.wolfram.com/Perpendicular.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 两条直线以90度角相交即为垂直；记号为 \( l_1 \perp l_2 \)<sup>[1](https://openstax.org/books/contemporary-mathematics/pages/10-1-points-lines-and-planes)</sup> |
| 斜率判定 | 斜率为 \( m_1 \) 和 \( m_2 \) 的两条直线垂直，当且仅当 \( m_1 m_2 = -1 \)，即 \( m_2 = -1/m_1 \)<sup>[3](https://openstax.org/books/algebra-and-trigonometry-2e/pages/4-1-linear-functions)</sup> |
| 向量判定 | 在 \( \mathbb{R}^n \) 中，向量 \( \mathbf{a} \) 与 \( \mathbf{b} \) 垂直当且仅当 \( \mathbf{a} \cdot \mathbf{b} = 0 \)<sup>[2](https://mathworld.wolfram.com/Perpendicular.html)</sup> |
| 古典出处 | 欧几里得《几何原本》第一卷定义10以相邻角相等来定义垂线；其作图见于命题I.11<sup>[4](https://www.euclids-elements.org/elements/books/bookI/definitions/defI10/)</sup> |
| 最短距离性质 | 从一点到一条直线的垂线，是该点到该直线的最短线段<sup>[5](https://www.gutenberg.org/files/21076/21076-h/21076-h.htm)</sup> |
| 历史注记 | 普罗克洛斯记载，希俄斯的俄诺庇得斯最早研究垂线的作法，他称之为“按圭表方向画出的线”<sup>[6](https://mathshistory.st-andrews.ac.uk/DSB/Oenopides.pdf)</sup> |

## 定义与记号

以 \( 90^\circ \) 角相交的两条直线是垂直线。当两条直线构成直角时，图解中用一个小的正方形符号标记该角。<sup>[1](https://openstax.org/books/contemporary-mathematics/pages/10-1-points-lines-and-planes)</sup> 这一关系不限于直线：两条直线、向量、平面或其他对象以直角相交，就说它们垂直，垂直的对象有时也称为“正交”。<sup>[2](https://mathworld.wolfram.com/Perpendicular.html)</sup>

*正交*一词在数学中常被用作垂直的同义词。<sup>[4](https://www.euclids-elements.org/elements/books/bookI/definitions/defI10/)</sup> 在英语中，该词自1571年起见于托马斯·迪格斯的《名为潘托米特利亚的几何实践》，书中将“直角、钝角与锐角”列为直线角的种类。<sup>[7](https://mathshistory.st-andrews.ac.uk/Miller/mathword/o/)</sup>

## 斜率与方程

在坐标几何中，垂直转化为对斜率的条件。由 \( f(x) = m_1 x + b_1 \) 和 \( g(x) = m_2 x + b_2 \) 给出的两条直线垂直，当且仅当

\[ m_1 m_2 = -1, \quad \text{即} \quad m_2 = -\frac{1}{m_1}. \]

两个斜率互为负倒数。<sup>[3](https://openstax.org/books/algebra-and-trigonometry-2e/pages/4-1-linear-functions)</sup> 例如，直线 \( g(x) = \tfrac{1}{2}x - 4 \) 与 \( h(x) = -2x + 2 \) 垂直，因为 \( \tfrac{1}{2} \) 与 \( -2 \) 互为负倒数。<sup>[3](https://openstax.org/books/algebra-and-trigonometry-2e/pages/4-1-linear-functions)</sup>

**写出垂线方程。** 要求一条与已知直线垂直且经过已知点的直线方程，先取已知斜率的负倒数，再将已知点代入 \( g(x) = mx + b \) 解出 \( b \)。求过 \( (3, 0) \) 且垂直于 \( f(x) = 3x + 3 \) 的直线，新斜率为 \( -\tfrac{1}{3} \)，得 \( g(x) = -\tfrac{1}{3}x + 1 \)。<sup>[3](https://openstax.org/books/algebra-and-trigonometry-2e/pages/4-1-linear-functions)</sup>

有一种边缘情形需要留意：水平线的斜率为零，垂直线的斜率无定义。这两类直线互相垂直，但它们的斜率之积并非 \( -1 \)。斜率判据并未因此被推翻，因为垂直线不是函数，判据不适用于它。<sup>[3](https://openstax.org/books/algebra-and-trigonometry-2e/pages/4-1-linear-functions)</sup> 在标准窗口的图形计算器上，垂直线可能看起来并不垂直，除非采用横纵等比例缩放，因为横向与纵向的标度不同。<sup>[3](https://openstax.org/books/algebra-and-trigonometry-2e/pages/4-1-linear-functions)</sup>

## 向量与高维空间

在 \( \mathbb{R}^n \) 中，垂直通过内积（点积）以代数方式定义。对向量 \( \mathbf{u} \) 与 \( \mathbf{v} \)，内积为

\[ \mathbf{u}^T \mathbf{v} = \sum_{i=1}^{n} u_i v_i, \]

若 \( \mathbf{u}^T \mathbf{v} = 0 \)，则两向量正交。就向量而言，正交与垂直含义相同。<sup>[8](https://www.cs.bu.edu/fac/snyder/cs132-book/L20Orthogonality.html)</sup> MathWorld 对 \( \mathbb{R}^n \) 中的向量给出同样的条件 \( \mathbf{a} \cdot \mathbf{b} = 0 \)。<sup>[2](https://mathworld.wolfram.com/Perpendicular.html)</sup> 在 \( \mathbb{R}^2 \) 中，斜率为 \( m_2 = -1/m_1 \) 的直线与斜率为 \( m_1 \) 的直线垂直，与坐标平面上的规则一致。<sup>[2](https://mathworld.wolfram.com/Perpendicular.html)</sup>

点积在任何有限维向量空间中都能使用，因此长度、距离、垂直与角度都可以推广到普通三维空间之外的维度，用代数取代几何图像。<sup>[9](https://theory.stanford.edu/~blynn/linear/ortho.html)</sup> 从投影的角度看，\( \mathbf{A} \) 与 \( \mathbf{B} \) 垂直意味着 \( \mathbf{A} \) 在 \( \mathbf{B} \) 方向上的投影为零，反之亦然。<sup>[10](https://www.sciencedirect.com/topics/mathematics/perpendicularity)</sup>

## 欧几里得的处理

欧几里得《几何原本》在第一卷定义10中定义垂线：一条直线立在另一条直线上，使相邻两角彼此相等时，这两个相等的角都是直角，立着的直线称为它所立之直线的垂线。并没有任何公设断言垂线存在；取而代之的是，命题I.11给出作法并加以证明。<sup>[4](https://www.euclids-elements.org/elements/books/bookI/definitions/defI10/)</sup> 一个配套的作法是命题I.12，从直线外一点向已知直线作垂线。<sup>[6](https://mathshistory.st-andrews.ac.uk/DSB/Oenopides.pdf)</sup>

这一概念贯穿《几何原本》。第三卷命题18证明：若一条直线与圆相切，则从圆心连到切点的直线垂直于切线。<sup>[11](https://www.euclids-elements.org/elements/books/bookIII/propositions/propIII18/)</sup> 第十一卷将这一思想推广到立体几何：命题11从平面外一已知点作一条垂直于已知平面的直线，这一作法在《几何原本》最后三卷中频繁使用。<sup>[12](https://www.euclids-elements.org/elements/books/bookXI/propositions/propXI11/)</sup>

古典版本中记载的一条实用性质是：垂线必定是从一点到一条直线的最短线段；反过来，若从一点到一条直线的线段是最短的，则它垂直于该直线。<sup>[5](https://www.gutenberg.org/files/21076/21076-h/21076-h.htm)</sup>

## 历史

据5世纪注释家普罗克洛斯引述欧德摩斯，从直线外一点向已知直线作垂线的问题（欧几里得I.12）最早由希俄斯的俄诺庇得斯研究，他认为这对天文学有用。他沿用古人的说法，称垂线为“按圭表方向画出的线”，因为圭表——日晷的直立指针——与地平线成直角。普罗克洛斯推测，俄诺庇得斯也许是最早用尺规而非直角尺作垂线的人。<sup>[6](https://mathshistory.st-andrews.ac.uk/DSB/Oenopides.pdf)</sup>

欧几里得的第四公设——所有直角彼此相等——使直角成为一个确定的量，可作为度量其他角的基准；数学史家指出，它同时也等价于空间均匀性的假设。<sup>[13](https://mathshistory.st-andrews.ac.uk/DSB/Euclid.pdf)</sup> 直角作为独立方向的作用在现代用法中依然存在：每一组互相垂直的非零向量都线性无关，尽管线性无关并不要求这样的垂直性。<sup>[14](https://mathshistory.st-andrews.ac.uk/HistTopics/Keplers_laws/)</sup>

## 相关术语

线段的垂直平分线、曲线或曲面的法向量、三角形的垂心（各顶点向对边所作垂线之交汇点），都建立在同一个直角关系之上。<sup>[2](https://mathworld.wolfram.com/Perpendicular.html)</sup><sup> • </sup><sup>[7](https://mathshistory.st-andrews.ac.uk/Miller/mathword/o/)</sup> 在中学几何课程标准中，要求学生证明平行线与垂直线的斜率判据并加以运用，例如求过已知点且垂直于已知直线的直线方程。<sup>[15](https://www2.cde.ca.gov/cacs/math?c0=18%2C27%2C30%2C31%2C24%2C26%2C24%2C15%2C4%2C20%2C8%2C26%2C28&c2=4%2C3%2C0%2C5)</sup>

## References

1. [Perpendicular Lines, Contemporary Mathematics (OpenStax)](https://openstax.org/books/contemporary-mathematics/pages/10-1-points-lines-and-planes)
2. [Perpendicular, Wolfram MathWorld](https://mathworld.wolfram.com/Perpendicular.html)
3. [Linear Functions, Algebra and Trigonometry 2e (OpenStax)](https://openstax.org/books/algebra-and-trigonometry-2e/pages/4-1-linear-functions)
4. [Euclid's Elements, Book I, Definition 10](https://www.euclids-elements.org/elements/books/bookI/definitions/defI10/)
5. [First Six Books of the Elements of Euclid, Project Gutenberg](https://www.gutenberg.org/files/21076/21076-h/21076-h.htm)
6. [Oenopides of Chios, Dictionary of Scientific Biography (MacTutor)](https://mathshistory.st-andrews.ac.uk/DSB/Oenopides.pdf)
7. [Earliest Known Uses of Some of the Words of Mathematics (O), MacTutor](https://mathshistory.st-andrews.ac.uk/Miller/mathword/o/)
8. [Analytic Geometry in R^n: Orthogonality, Boston University CS 132 text](https://www.cs.bu.edu/fac/snyder/cs132-book/L20Orthogonality.html)
9. [Linear Algebra: Orthogonality, Stanford](https://theory.stanford.edu/~blynn/linear/ortho.html)
10. [Perpendicularity, ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/perpendicularity)
11. [Euclid's Elements, Book III, Proposition 18](https://www.euclids-elements.org/elements/books/bookIII/propositions/propIII18/)
12. [Euclid's Elements, Book XI, Proposition 11](https://www.euclids-elements.org/elements/books/bookXI/propositions/propXI11/)
13. [Euclid of Alexandria, Dictionary of Scientific Biography (MacTutor)](https://mathshistory.st-andrews.ac.uk/DSB/Euclid.pdf)
14. [Kepler's Laws, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/HistTopics/Keplers_laws/)
15. [California Content Standards, Mathematics (G-GPE.5)](https://www2.cde.ca.gov/cacs/math?c0=18%2C27%2C30%2C31%2C24%2C26%2C24%2C15%2C4%2C20%2C8%2C26%2C28&c2=4%2C3%2C0%2C5)

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

Topic: 物质世界与数学 › 数学与统计学 › 几何学与拓扑学 › Elementary and Euclidean geometry › Points, lines, and angles

Copyright 2026 Edgepedia

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

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

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