📚 Relationships between Lines | 直线之间的关系
Understanding how straight lines interact with one another is fundamental in coordinate geometry and vector algebra. Whether in two dimensions or three, analysing whether lines are parallel, perpendicular, intersecting, or skew enables us to solve geometric problems, find distances, and model real-world situations. This article covers the key relationships you need for the IB Mathematics course, with clear conditions, formulae, and vector interpretations.
理解直线之间的相互作用是坐标几何与向量代数的基础。无论是在二维还是三维空间,分析直线是平行、垂直、相交还是异面,不仅有助于我们解决几何问题、计算距离,还能用来模拟现实情境。本文涵盖IB数学课程所需的核心关系,包括明确的条件、公式以及向量角度的解释。
1. Forms of Linear Equations | 直线方程的形式
Before exploring relationships, recall the common ways to represent a line. In two dimensions, the slope-intercept form y = mx + c directly gives the gradient m and y-intercept c. The general form is Ax + By + C = 0, where A, B, and C are real numbers. A third useful representation is the parametric form using a direction vector: r = a + λb, where a is a position vector to a point on the line, b is the direction vector, and λ is a scalar parameter. In three dimensions, the vector form is standard, as there is no single slope concept.
在探讨直线关系之前,先回顾直线的常见表示法。在二维空间,斜截式 y = mx + c 直接给出了斜率 m 和 y 轴截距 c。一般式为 Ax + By + C = 0,其中 A、B、C 为实数。第三种实用表示是利用方向向量的参数形式:r = a + λb,其中 a 是直线上一点的位置向量,b 是方向向量,λ 是标量参数。在三维空间中,由于没有单一的斜率概念,向量形式成为标准选择。
2. Parallel Lines | 平行直线
Two lines are parallel if they never meet and remain the same distance apart. In slope-intercept form, lines y = m₁x + c₁ and y = m₂x + c₂ are parallel exactly when m₁ = m₂. Provided the intercepts differ, they are distinct parallel lines. In general form A₁x + B₁y + C₁ = 0 and A₂x + B₂y + C₂ = 0, the condition for parallel lines is that the coefficients of x and y are proportional but the constant term is not: A₁/A₂ = B₁/B₂ ≠ C₁/C₂ (assuming none are zero). For vector lines r = a + λb and r = c + μd, they are parallel if the direction vectors are scalar multiples of each other: b = k d for some scalar k.
若两条直线永不相交且保持等距,则称它们平行。在斜截式中,直线 y = m₁x + c₁ 和 y = m₂x + c₂ 平行的充要条件是 m₁ = m₂。若截距不同,它们就是不同的平行线。在一般式 A₁x + B₁y + C₁ = 0 与 A₂x + B₂y + C₂ = 0 中,平行的条件是 x 与 y 的系数成比例,而常数项不成比例:A₁/A₂ = B₁/B₂ ≠ C₁/C₂(假设分母均非零)。对于向量直线 r = a + λb 和 r = c + μd,当方向向量彼此成标量倍数,即 b = k d(k 为标量)时,两条直线平行。
| Condition | Parallel (distinct) | Parallel and coincident |
| Slope-intercept | m₁ = m₂, c₁ ≠ c₂ | m₁ = m₂, c₁ = c₂ |
| General form | A₁/A₂ = B₁/B₂ ≠ C₁/C₂ | A₁/A₂ = B₁/B₂ = C₁/C₂ |
3. Perpendicular Lines | 垂直直线
Two lines are perpendicular if they intersect at a right angle (90°). For non-vertical lines in slope-intercept form, the product of their slopes is -1: m₁ × m₂ = -1. Therefore, one slope is the negative reciprocal of the other: m₂ = -1/m₁. In the general form, the condition becomes A₁A₂ + B₁B₂ = 0. When using direction vectors b₁ and b₂, the dot product must equal zero: b₁ · b₂ = 0. Note that horizontal and vertical lines are trivially perpendicular: a horizontal line has slope 0, a vertical line has undefined slope, yet they satisfy the perpendicular condition in vector terms.
如果两条直线相交且夹角为直角(90°),则它们互相垂直。对于斜截式中非竖直的直线,其斜率乘积为 -1:m₁ × m₂ = -1。因此一个斜率是另一个的负倒数:m₂ = -1/m₁。在一般式中,垂直条件为 A₁A₂ + B₁B₂ = 0。若使用方向向量 b₁ 和 b₂,则点积必须为零:b₁ · b₂ = 0。值得注意的是,水平线与竖直线显然垂直:水平线斜率为 0,竖直线斜率无定义,但从向量角度看它们满足垂直条件。
b₁ · b₂ = 0 ⇔ θ = 90°
4. Coincident Lines | 重合直线
Coincident lines lie exactly on top of each other, effectively being the same line. In slope-intercept form, they share both the same slope and the same y-intercept: m₁ = m₂ and c₁ = c₂. In general form, all coefficients are proportional: A₁/A₂ = B₁/B₂ = C₁/C₂. Vectorially, the lines have parallel direction vectors and a common point; that is, the position vector of one line satisfies the equation of the other for some parameter.
重合直线完全重叠,实际上是同一条直线。在斜截式中,它们不仅斜率相同,y 截距也相同:m₁ = m₂ 且 c₁ = c₂。在一般式中,所有系数成比例:A₁/A₂ = B₁/B₂ = C₁/C₂。从向量角度看,它们的方向向量平行且存在共同点;即一条直线的位置向量在某个参数下满足另一条直线的方程。
5. Intersecting Lines and the Angle Between Them | 相交直线与其夹角
Unless lines are parallel, they intersect at a single point. Finding the intersection involves solving their equations simultaneously. For two lines in slope-intercept form, set m₁x + c₁ = m₂x + c₂ to find the x-coordinate, then substitute back to obtain y. The acute angle θ between two intersecting lines with slopes m₁ and m₂ (neither vertical) is given by tan θ = |(m₁ – m₂) / (1 + m₁m₂)|, for m₁m₂ ≠ -1. When lines are perpendicular, the denominator is zero and θ = 90°. In vector form, the angle between direction vectors b₁ and b₂ is found using the dot product: cos θ = |b₁·b₂| / (|b₁||b₂|), taking the absolute value ensures the acute angle.
除非直线平行,它们都会在惟一的点相交。求交点需要联立解方程。对于斜截式给出的两条直线,令 m₁x + c₁ = m₂x + c₂ 解出 x 坐标,再代回求得 y。两条相交直线(均非竖直)的锐角 θ 可由斜率 m₁ 和 m₂ 用下式求出:tan θ = |(m₁ – m₂) / (1 + m₁m₂)|,要求 m₁m₂ ≠ -1。若两直线垂直,分母为零,θ = 90°。在向量形式下,方向向量 b₁ 与 b₂ 的夹角利用点积求得:cos θ = |b₁·b₂| / (|b₁||b₂|),取绝对值可保证得到锐角。
tan θ = |(m₁ – m₂) / (1 + m₁m₂)|
6. Distance from a Point to a Line | 点到直线的距离
The shortest distance from a point P(x₁, y₁) to a line Ax + By + C = 0 is the length of the perpendicular segment. The formula is d = |Ax₁ + By₁ + C| / √(A² + B²). This works for any line in general form. If the line is given in slope-intercept form y = mx + c, it can be rewritten as mx – y + c = 0 and then the same formula applied with A = m, B = -1, giving d = |mx₁ – y₁ + c| / √(m² + 1).
点 P(x₁, y₁) 到直线 Ax + By + C = 0 的最短距离,就是垂线段的长度。计算公式为 d = |Ax₁ + By₁ + C| / √(A² + B²)。该公式适用于一般式给出的任何直线。若直线以斜截式 y = mx + c 给出,可改写为 mx – y + c = 0,然后代入 A = m、B = -1,得到 d = |mx₁ – y₁ + c| / √(m² + 1)。
In vector terms, if a line is given by r = a + λb and a point has position vector p, the distance is d = |(p – a) × b| / |b| in three dimensions (using the cross product), or an analogous projection method in two dimensions.
在向量表示中,若直线为 r = a + λb,点位置向量为 p,在三维空间中的距离为 d = |(p – a) × b| / |b|(使用叉积),在二维中也可采用类似的投影方法。
7. Distance Between Two Parallel Lines | 两平行线间距离
When two lines are parallel, the perpendicular distance between them is constant. Starting from general forms A₁x + B₁y + C₁ = 0 and A₂x + B₂y + C₂ = 0 that satisfy the parallel condition, the distance is d = |C₁ – C₂| / √(A² + B²) provided the equations are normalised to have the same A and B (or, more generally, d = |C₁ – C₂| / √(A² + B²) if they already share the same A and B coefficients). If not, first multiply one equation by a constant to make the coefficients of x and y identical.
当两条直线平行时,它们之间的垂直距离处处相等。从满足平行条件的一般式 A₁x + B₁y + C₁ = 0 与 A₂x + B₂y + C₂ = 0 出发,若两方程的 A 和 B 相同,则距离为 d = |C₁ – C₂| / √(A² + B²)。若系数不同,需先将其中一个方程乘以常数,使 x 与 y 的系数相等,再套用公式。
For vector lines, pick a point on one line and compute its distance to the other line using the point-line distance method described earlier.
对于向量直线,可任取一条直线上的一点,再用前述点到直线的距离方法计算它到另一直线的距离。
8. Line Relationships in Three Dimensions | 三维空间中的直线关系
In 3D space, two lines can be parallel, intersecting, or skew. Skew lines are neither parallel nor intersecting; they lie in different planes. Given two lines in vector form L₁: r = a + λb and L₂: r = c + μd, first check whether the direction vectors are parallel (b = k d). If they are, the lines are either parallel or coincident; test by seeing if a point from L₁ lies on L₂.
在三维空间中,两条直线可能平行、相交或异面。异面直线既不平行也不相交,它们位于不同的平面上。给定向量形式的两条直线 L₁: r = a + λb 与 L₂: r = c + μd,首先检查方向向量是否平行(b = k d)。若平行,则直线或平行或重合,代入一点验证即可。
If directions are not parallel, solve a + λb = c + μd for the parameters λ and μ. If a unique solution exists for both components (in 3D this means all three coordinate equations are consistent), the lines intersect. If no solution exists because the third equation contradicts the first two, the lines are skew.
若方向向量不平行,则解方程组 a + λb = c + μd 求参数 λ 和 μ。若三个坐标方程相容并得出唯一解,则直线相交。若前两个方程可解而第三个方程不成立,则直线为异面直线。
9. Using Vector Methods to Analyse Line Relationships | 使用向量方法分析直线关系
Vector algebra provides a unified approach. For two lines L₁ and L₂ with direction vectors b₁ and b₂:
– Parallel: b₁ × b₂ = 0 (cross product zero).
– Intersecting: b₁ × b₂ ≠ 0 and the scalar triple product (a – c) · (b₁ × b₂) = 0, indicating the lines are coplanar and meet.
– Skew: (a – c) · (b₁ × b₂) ≠ 0.
向量代数提供了统一的分析方法。对于方向向量为 b₁ 和 b₂ 的两条直线 L₁、L₂:
- 平行:叉积 b₁ × b₂ = 0。
- 相交:b₁ × b₂ ≠ 0 且标量三重积 (a – c) · (b₁ × b₂) = 0,表明两线共面且相交。
- 异面:(a – c) · (b₁ × b₂) ≠ 0。
The shortest distance between skew lines is given by d = |(a – c) · (b₁ × b₂)| / |b₁ × b₂|. For intersecting lines, the distance is zero, and for parallel lines, use the point-line formula.
异面直线间的最短距离由 d = |(a – c) · (b₁ × b₂)| / |b₁ × b₂| 计算。相交直线距离为零,平行直线则采用点到直线的距离公式。
10. Worked Examples | 典型例题
Example 1 (2D): Consider lines L₁: 2x – 3y + 4 = 0 and L₂: 4x – 6y – 1 = 0. Observe that A₁/A₂ = 2/4 = 1/2, B₁/B₂ = (-3)/(-6) = 1/2, but C₁/C₂ = 4/(-1) = -4. Since the coefficient ratios are equal for x and y but not for the constant term, the lines are parallel and distinct. The distance between them is |4 – (-0.5?)| – first normalise L₁ and L₂ to have the same A and B. Multiply L₁ by 2: 4x – 6y + 8 = 0. Now distance d = |8 – (-1)| / √(4² + (-6)²) = 9 / √52 = 9 / (2√13).
例题1(二维):给定直线 L₁: 2x – 3y + 4 = 0 和 L₂: 4x – 6y – 1 = 0。注意到 A₁/A₂ = 2/4 = 1/2,B₁/B₂ = (-3)/(-6) = 1/2,但 C₁/C₂ = 4/(-1) = -4。由于 x 和 y 的系数比相等而常数项比不同,两直线平行但不重合。将它们化为相同系数:将 L₁ 乘以 2 得 4x – 6y + 8 = 0。距离 d = |8 – (-1)| / √(4² + (-6)²) = 9 / √52 = 9 / (2√13)。
Example 2 (3D): L₁: r = (1,0,2) + λ(2,1,1) and L₂: r = (0,1,-1) + μ(1,2,1). Direction vectors are not multiples: (2,1,1) ≠ k(1,2,1), so not parallel. Solve for intersection: 1+2λ = μ, 0+λ = 1+2μ, 2+λ = -1+μ. The second gives λ = 1+2μ, substitute into first: 1+2(1+2μ) = μ → 3+4μ = μ → μ = -1, then λ = -1. Check third: 2+(-1) = 1 vs -1+(-1) = -2, mismatch. The lines are skew. Shortest distance can be computed via the cross product method.
例题2(三维):L₁: r = (1,0,2) + λ(2,1,1)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课程辅导,国外大学本科硕士研究生博士课程论文辅导Cancel reply