# 异面直线

**异面直线**是三维空间中两条既不相交也不平行的直线；等价地说，它们不共面，因为没有任何一个平面能同时包含这两条直线<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>。这种位置关系只存在于三维或更高维的空间中：在平面内，两条直线要么相交于一点，要么平行，因为二者都被限制在同一个平坦的表面上<sup>[2](https://www.geometricbites.com/2025/11/understanding-skew-lines-in-three.html)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 两条既不相交也不平行的直线；没有任何平面能同时包含二者<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup> |
| 维数要求 | 在二维中不可能出现，因为二维中不相交的直线必然平行<sup>[2](https://www.geometricbites.com/2025/11/understanding-skew-lines-in-three.html)</sup> |
| 最短距离 | 唯一一条公垂线段的长度，该线段与两条直线均成直角相交<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup> |
| 向量公式 | 对于 \( \vec{r} = \vec{a}_1 + \lambda \vec{b}_1 \) 和 \( \vec{r} = \vec{a}_2 + \mu \vec{b}_2 \)，距离为 \( \left| \dfrac{(\vec{b}_1 \times \vec{b}_2) \cdot (\vec{a}_2 - \vec{a}_1)}{|\vec{b}_1 \times \vec{b}_2|} \right| \)<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup> |
| 最短线段的方向 | 由两个方向向量的叉积 \( \vec{b}_1 \times \vec{b}_2 \) 给出<sup>[3](https://sjmaths.com/mathematics/vectors-and-three-dimensional-geometry/three-dimensional/skew-lines/)</sup> |
| 标准例子 | 正方体前上方的水平棱与后左侧的竖直棱互为异面直线<sup>[2](https://www.geometricbites.com/2025/11/understanding-skew-lines-in-three.html)</sup> |
| 实际应用 | 在工程制图中，两条异面直线之间最短的管道或下水道连接沿其公垂线铺设<sup>[4](https://people.math.harvard.edu/~knill/history/darstellend/Schaum.pdf)</sup> |

## 定义与分类

在三维空间中，两条不同的直线有四种可能的位置关系：它们是同一条直线；它们平行但不同；它们恰好相交于一点；或者它们异面<sup>[5](https://content.one.lumenlearning.com/calculus3/chapter/lines-and-planes-in-space-learn-it-3/)</sup>。异面直线是第四种情形，也是唯一没有二维对应物的情形。其定义条件是：两直线不相交、不平行、不共面<sup>[2](https://www.geometricbites.com/2025/11/understanding-skew-lines-in-three.html)</sup>。

不共面这一条件正是异面与单纯不相交的区别所在。处于不同平面内的两条直线仍可能相交或平行；而异面直线则是这样的两条直线：它们的两个方向向量，连同连接两条直线上各一点的向量，张成整个三维空间<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>。

## 例子

正方体提供了标准的直观例子。前上方的水平棱与后左侧的竖直棱永不相触，不平行（一条水平，一条竖直），且不可能位于同一平面内，因此它们是异面直线<sup>[2](https://www.geometricbites.com/2025/11/understanding-skew-lines-in-three.html)</sup>。在一间房间里，一条横穿天花板的对角线与一条沿相邻墙壁向下的对角线同样互为异面直线：不平行，也永不相交<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>。

一个物理类比可以使这个概念更具体：一条在一楼东西向铺设的线，与另一条在二楼南北向铺设的线，彼此完全错开<sup>[5](https://content.one.lumenlearning.com/calculus3/chapter/lines-and-planes-in-space-learn-it-3/)</sup>。

## 最短距离

对于相交直线，最短距离为零；对于平行直线，最短距离是一条直线上一点到另一条直线的通常的垂直距离<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>。对于异面直线，最短距离是公垂线的长度：即与两条直线均成直角相交的那条线段<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>。

这条线段的方向由几何关系确定。由于最短距离向量必须同时垂直于两个方向向量 \( \vec{b}_1 \) 和 \( \vec{b}_2 \)，其方向即为叉积 \( \vec{b}_1 \times \vec{b}_2 \) 的方向<sup>[3](https://sjmaths.com/mathematics/vectors-and-three-dimensional-geometry/three-dimensional/skew-lines/)</sup>。距离本身等于：在两条直线上各任取一点，连接这两点所得向量在该垂直方向上的投影<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>。

## 公式

对于以向量形式给出的两条直线，

\[ \vec{r} = \vec{a}_1 + \lambda \vec{b}_1, \qquad \vec{r} = \vec{a}_2 + \mu \vec{b}_2, \]

最短距离为<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>

\[ d = \left| \frac{(\vec{a}_2 - \vec{a}_1) \cdot (\vec{b}_1 \times \vec{b}_2)}{|\vec{b}_1 \times \vec{b}_2|} \right|. \]

分子衡量两个锚点 \( \vec{a}_1 \) 和 \( \vec{a}_2 \) 沿公垂线方向相距多远；分母将叉积化为沿该方向的单位向量。当叉积为零时，方向向量平行，两直线不是异面直线，该公式不适用。

在笛卡尔形式下，对于写为

\[ \frac{x - x_1}{a_1} = \frac{y - y_1}{b_1} = \frac{z - z_1}{c_1} \quad \text{和} \quad \frac{x - x_2}{a_2} = \frac{y - y_2}{b_2} = \frac{z - z_2}{c_2}, \]

的两条直线，最短距离为<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>

\[ d = \frac{\begin{vmatrix} x_2 - x_1 & y_2 - y_1 & z_2 - z_1 \\ a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \end{vmatrix}}{\sqrt{(b_1 c_2 - b_2 c_1)^2 + (c_1 a_2 - c_2 a_1)^2 + (a_1 b_2 - a_2 b_1)^2}}. \]

作为对照，两条平行直线 \( \vec{r} = \vec{a}_1 + \lambda \vec{b} \) 和 \( \vec{r} = \vec{a}_2 + \mu \vec{b} \) 的距离为 \( \left| \dfrac{\vec{b} \times (\vec{a}_2 - \vec{a}_1)}{|\vec{b}|} \right| \)<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>。

## 判定两条直线是否异面

要对一对直线进行分类，两个问题就够了：方向向量是否平行？两直线是否共点<sup>[5](https://content.one.lumenlearning.com/calculus3/chapter/lines-and-planes-in-space-learn-it-3/)</sup>？如果方向向量不是彼此的标量倍数，且不存在同时满足两个参数方程的共同点，则两直线异面。

异面直线之间的夹角通过其方向向量来定义，对于方向比 \( (l_1, m_1, n_1) \) 和 \( (l_2, m_2, n_2) \)，使用 \( \cos \theta = |l_1 l_2 + m_1 m_2 + n_1 n_2| \)；尽管两直线永不相交，该夹角仍有明确定义<sup>[1](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)</sup>。

## 应用与推广

画法几何将求两条异面直线之间最短连接线段的实长、坡度和方位角视为常见的工程问题；两条异面直线之间最短的管道或下水道连接沿公垂线铺设，通常用直角三通接头连接<sup>[4](https://people.math.harvard.edu/~knill/history/darstellend/Schaum.pdf)</sup>。

这一概念也超越了一对直线的范围。\( \mathbb{R}^3 \) 的异面纤维化是将空间分割为一族有向直线，其中任意两条都互为异面直线；此类纤维化因其与三维球面的大圆纤维化以及 \( \mathbb{R}^3 \) 上切触结构的联系而受到研究<sup>[6](https://arxiv.org/abs/1911.06804)</sup>。

## References

1. [SATHEE: Chapter 11, Three Dimensional Geometry (NCERT Class 12), IIT Kanpur](https://sathee.iitk.ac.in/ncert-books/jee-ncert-books/jee-nb-math-12/chapter-11_three-dimensional-geometry/)
2. [Understanding Skew Lines in Three-Dimensional Space, Geometric Bites](https://www.geometricbites.com/2025/11/understanding-skew-lines-in-three.html)
3. [Skew Lines, Mathematics Study Notes, SJ Maths](https://sjmaths.com/mathematics/vectors-and-three-dimensional-geometry/three-dimensional/skew-lines/)
4. [Schaum's Outline of Descriptive Geometry](https://people.math.harvard.edu/~knill/history/darstellend/Schaum.pdf)
5. [Lines and Planes in Space, Calculus 3, Lumen Learning](https://content.one.lumenlearning.com/calculus3/chapter/lines-and-planes-in-space-learn-it-3/)
6. [Fibrations of R³ by oriented lines, arXiv:1911.06804](https://arxiv.org/abs/1911.06804)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/skew-lines

English original: https://www.edgepedia.org/skew-lines
