📚 The Shortest Distance from a Line to a Point | 点到直线的最短距离
In many geometric and physical situations, we need to determine the shortest path connecting a line and a point. This distance is always measured along a perpendicular segment from the point to the line.
在许多几何与物理问题中,我们需要找到直线与点之间的最短路径。该距离总是沿从该点到直线的垂线段测量。
The shortest distance from a line to a point is fundamental in vector geometry and calculus, and it frequently appears in IB Mathematics Analysis and Approaches and Applications and Interpretation exams.
点到直线的最短距离是向量几何和微积分的基础,经常出现在 IB 数学分析与方法和应用与解释的考试中。
1. Introduction to the Problem | 问题引入
The concept of the shortest distance from a point to a line deals with finding the minimal separation between a fixed point and any point lying on a given straight line. In Euclidean space, this minimal distance is always the length of the perpendicular segment dropped from the point to the line.
点到直线最短距离的概念,是寻找一个固定点与给定直线上任意点之间的最小间隔。在欧氏空间中,这个最小距离永远是从该点向直线所作垂线段的长度。
Why is it the perpendicular? Because any other segment connecting the point to the line forms the hypotenuse of a right‑angled triangle where the perpendicular is one leg; the hypotenuse is always longer than either leg.
为什么是垂线?因为连接点与直线的任何其他线段都构成直角三角形的斜边,而垂线是其中一条直角边;斜边永远长于任一直角边。
2. Understanding Lines in Vector Form | 理解直线的向量形式
A line in 2D or 3D can be expressed in parametric vector form as r = a + λ v, where a is the position vector of a known point on the line, v is the direction vector, and λ is a real parameter.
二维或三维中的直线可表示为参数向量形式 r = a + λ v,其中 a 是直线上已知点的位置向量,v 是方向向量,λ 为实数参数。
The direction vector v determines the orientation of the line. Any point P not on the line can be connected to the line in infinitely many ways, but only one segment is perpendicular to v. That segment gives the shortest distance.
方向向量 v 决定了直线的方向。不在直线上的任意点 P 可以以无限多种方式连接到直线,但只有一条线段与 v 垂直。该线段即为最短距离。
3. The Concept of Perpendicular Distance | 垂线距离概念
If we drop a perpendicular from point P to line L meeting at point F, then PF is the shortest distance. In vector terms, the vector PF must satisfy PF · v = 0, meaning it is orthogonal to the direction of the line.
如果从点 P 向直线 L 作垂线,垂足为 F,则 PF 为最短距离。在向量语言中,向量 PF 必须满足 PF · v = 0,即它与直线方向正交。
This perpendicular distance can be computed without explicitly finding the foot F by using the vector projection or cross product method. The geometric reasoning relies on the fact that the perpendicular length is the height of a suitable parallelogram or the leg of a right triangle.
这一垂线距离可在不必显式求出垂足 F 的情况下,借助向量投影或叉积方法计算。其几何推理依赖于如下事实:垂线长度恰为一个适当平行四边形的高,或一个直角三角形的直角边。
4. Deriving the Formula: Vector Projection | 公式推导:向量投影
Given a point P with position vector p, and a line L: r = a + λ v. Form the vector AP = p − a, which connects a point A on the line to P. The scalar projection of AP onto v has length |AP · v| / |v|.
给定点 P 的位置向量 p,直线 L:r = a + λ v。构造向量 AP = p − a,它连接线上点 A 与 P。AP 在 v 上的标量投影长度为 |AP · v| / |v|。
Using Pythagoras’ theorem, the perpendicular distance d is then d = √(|AP|² − (|AP · v| / |v|)²). This expression yields the shortest distance directly.
应用勾股定理,垂直距离 d 为 d = √(|AP|² − (|AP · v| / |v|)²)。该表达式直接给出最短距离。
Equivalently, d = |AP × v| / |v| in 3D, a compact formula that avoids finding the foot of the perpendicular. Since |AP × v| = |AP||v| sin θ, dividing by |v| leaves the perpendicular component.
等价地,在三维中有 d = |AP × v| / |v|,一个无需寻求垂足的紧凑公式。因为 |AP × v| = |AP||v| sin θ,除以 |v| 后即得到垂直分量。
5. Shortest Distance as Cross Product Magnitude | 最短距离即叉积模长
In three dimensions, vectors AP and v define a parallelogram whose area equals |AP × v|. If we take v as the base, the height of this parallelogram is precisely the perpendicular distance from P to the line.
在三维中,向量 AP 与 v 定义一个平行四边形,其面积为 |AP × v|。若以 v 为底,则该平行四边形的高正是点 P 到直线的垂直距离。
Thus, d = area / base = |AP × v| / |v|. This method works even if we treat a 2D problem by embedding it in the xy‑plane with z = 0; the cross product then reduces to the absolute value of a 2×2 determinant.
因此,d = 面积 / 底 = |AP × v| / |v|。若将二维问题嵌入 xy 平面并令 z = 0,叉积则退化为一个 2×2 行列式的绝对值,该方法同样有效。
The beauty of the cross product approach is that the choice of point A on the line is arbitrary. Any point on the line produces the same cross product magnitude, because the component of AP parallel to v vanishes in the cross product.
叉积方法的美妙之处在于线上点 A 的选择是任意的。线上任意点所产生的叉积模长相同,因为 AP 平行于 v 的分量在叉积中化为零。
6. Coordinate Geometry Formula in 2D | 二维坐标几何公式
When a line is given in Cartesian form Ax + By + C = 0 and a point P has coordinates (x₁, y₁), the shortest distance is
当直线以笛卡尔形式 Ax + By + C = 0 给出,且点 P 的坐标为 (x₁, y₁) 时,最短距离为
d = |Ax₁ + By₁ + C| / √(A² + B²)
This formula is derived by projecting the vector from any point on the line to P onto the normal vector n = (A, B) and taking the absolute projection length.
该公式是通过将线上任意点到 P 的向量投影到法向量 n = (A, B) 上,并取其投影长度绝对值推导而得的。
It is crucial that the equation is in the form Ax + By + C = 0 before substitution. If supplied as y = mx + c, rearrange to mx − y + c = 0 where A = m, B = −1, C = c.
代入前务必使方程为 Ax + By + C = 0 的形式。若给出的是 y = mx + c,则重排为 mx − y + c = 0,其中 A = m, B = −1, C = c。
7. Worked Example: Find Distance in 2D | 例题:求二维距离
Find the shortest distance from the point P(3, −2) to the line 2x − y + 4 = 0.
求点 P(3, −2) 到直线 2x − y + 4 = 0 的最短距离。
Solution: Identify A = 2, B = −1, C = 4. Substitute (x₁, y₁) = (3, −2) into the numerator: |2·3 + (−1)·(−2) + 4| = |6 + 2 + 4| = 12. Denominator: √(2² + (−1)²) = √(4 + 1) = √5.
解:确定 A = 2, B = −1, C = 4。将 (x₁, y₁) = (3, −2) 代入分子:|2·3 + (−1)·(−2) + 4| = |6 + 2 + 4| = 12。分母:√(2² + (−1)²) = √(4 + 1) = √5。
Therefore, d = 12 / √5. Rationalising the denominator gives d = 12√5 / 5. The shortest distance is 12√5/5 units.
因此,d = 12 / √5。分母有理化得 d = 12√5 / 5。最短距离为 12√5/5 单位。
In IB examinations, leaving the answer as 12/√5 might be penalised if simplification is expected, so always rationalise the denominator.
在 IB 考试中,若要求化简,把答案写成 12/√5 可能被扣分,所以务必对分母进行有理化。
8. Ext
Published by TutorHao | IB Mathematics Revision Series | aleveler.com
Find IB Maths Textbooks on eBay UK
New, used and second-hand copies of textbooks and revision guides are often much cheaper than retail — check current listings and prices before you buy.
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导