← 返回资讯屏轩教育 · 行业资讯

4A Equations of Straight Lines in Two Dimensions | 二维空间中的直线方程

2026-08-03 03:22 · 本文部分内容由AI辅助创作

📚 4A Equations of Straight Lines in Two Dimensions | 二维空间中的直线方程

In IB Mathematics, mastering the equations of straight lines is a foundational skill that bridges algebra and geometry. Whether you are plotting graphs, solving intersection problems, or modelling real‑world relationships, a solid understanding of how to represent and manipulate lines in the Cartesian plane is essential. This article covers all major forms of linear equations, the concept of slope, conditions for parallel and perpendicular lines, distance and midpoint calculations, and offers practical tips for your IB exams.

在 IB 数学中,掌握直线方程是连接代数与几何的基础技能。无论是绘制图像、求解交点问题,还是对现实关系进行建模,扎实理解如何在笛卡尔平面上表示和处理直线都至关重要。本文涵盖直线方程的各种主要形式、斜率的概念、平行与垂直直线的条件、距离与中点的计算,并为你的 IB 考试提供实用技巧。

1. Introduction to Straight Lines in 2D | 二维直线的简介

A straight line in two dimensions is the simplest geometric object after a point. In coordinate geometry, we describe a line using an equation that relates the x‑ and y‑coordinates of every point lying on it. The most common ways to write the equation of a line are the slope‑intercept form, point‑slope form, two‑point form, general form and intercept form. Each form highlights different features, such as the slope, intercepts or specific points.

二维空间中的直线是仅次于点的最简单几何对象。在坐标几何中,我们用一个联系直线上每个点的 x 坐标和 y 坐标的方程来描述它。最常见的直线方程形式有斜截式、点斜式、两点式、一般式和截距式。每一种形式都突出了不同的特征,例如斜率、截距或特定点。

an extract the slope as −A/B, while from y = mx + c you immediately read the slope m and y‑intercept c. The choice of form often depends on the information given in a problem.

理解如何在这些形式之间进行转换是一项关键技能。例如,从一般式 Ax + By + C = 0 可以提取斜率为 −A/B,而从 y = mx + c 则可以直接读出斜率 m 和 y 截距 c。选择哪种形式通常取决于题目给出的信息。


2. Understanding Slope (Gradient) | 理解斜率

s A(x₁, y₁) and B(x₂, y₂) with x₂ ≠ x₁, the slope m is given by m = (y₂ − y₁) / (x₂ − x₁).

斜率(坡度)衡量直线的倾斜程度和方向。它被定义为直线上任意两个不同点之间的垂直变化(纵向增量)与水平变化(横向增量)之比。对于点 A(x₁, y₁) 和 B(x₂, y₂) 且 x₂ ≠ x₁,斜率 m 的计算公式为 m = (y₂ − y₁) / (x₂ − x₁)。

ms, you will often need to calculate slope directly from a graph or from two given points.

m 为正表示从左向右直线上升;m 为负表示直线下降。零斜率对应水平线 y = 常数,而斜率不存在(即 x₂ = x₁ 时)表示垂直线 x = 常数。在 IB 问题中,你经常需要根据图像或给定的两点直接计算斜率。


3. Slope-Intercept Form: y = mx + c | 斜截式

The slope‑intercept form is written as y = mx + c, where m is the slope and c is the y‑intercept (the point where the line crosses the y‑axis). This is the most straightforward form for sketching a graph: plot the y‑ pe to find another point by moving 1 unit right and m units up (or down if m is negative).

斜截式写作 y = mx + c,其中 m 为斜率,c 为 y 截距(即直线与 y 轴的交点)。这是绘制图像最直接的形式:先标出 y 截距 (0, c),然后利用斜率,向右移动 1 个单位并向上(若 m 为负则向下)移动 m 个单位,得到另一点。

For instance, the line y = 2x − 3 has slope 2 and crosses the y‑ at (0, −3), move 1 unit right and 2 units up to (1, −1), and connect the points. The slope‑ l for modelling linear relationships where the rate of change and initial value are known.

例如,直线 y = 2x − 3 的斜率为 2,与 y 轴交于 (0, −3)。绘制时,从 (0, −3) 出发,向右移动 1 个单位,向上移动 2 个单位到达 (1, −1),然后连接两点。斜截式在已知变化率和初始值时进行线性关系建模尤为方便。


4. Point-Slope Form: y − y₁ = m(x − x₁) | 点斜式

When you know the slope m of a line and one point (x₁, y₁) on it, the point‑ directly from the definition of slope. If an exam question gives you a point and the slope, you can write the equation immediately without first finding the intercept.

当你已知直线的斜率 m 及其上一点 (x₁, y₁) 时,点斜式极其高效:y − y₁ = m(x − x₁)。该方程直接来源于斜率的定义。如果考试题目给出一个点和斜率,你可以立即写出方程,而不必先求截距。

4 = 3(x − (−1)), which simplifies to y − 4 = 3(x + 1). You can then rearrange it to slope‑ orm: y = 3x + 7. This form is also the basis for deriving other equations, such as the two‑point form.

示例:一条斜率为 3 且经过点 (−1, 4) 的直线,其方程为 y − 4 = 3(x − (−1)),化简为 y − 4 = 3(x + 1)。然后可将其整理为斜截式:y = 3x + 7。点斜式也是推导其他方程(如两点式)的基础。


5. Two-Point Form | 两点式

can first calculate the slope m = (y₂ − y₁) / (x₂ − x₁) and then substitute into the point‑slope form. Alternatively, the direct two‑ that the slope between (x, y) and (x₁, y₁) equals the slope between the two given points.

如果给出两点 (x₁, y₁) 和 (x₂, y₂) 且 x₁ ≠ x₂,可以先计算斜率 m = (y₂ − y₁) / (x₂ − x₁),然后代入点斜式。或者直接使用两点式公式:(y − y₁) / (x − x₁) = (y₂ − y₁) / (x₂ − x₁)。该方程表示 (x, y) 与 (x₁, y₁) 之间的斜率等于两个给定点之间的斜率。

ng point A, the equation becomes y − 3 = ½(x − 2), which simplifies to y = ½x + 2. The two‑point form is particularly helpful when no slope is provided directly and you need a line's equation from a graph or table of values.

对于点 A(2, 3) 和 B(6, 5),斜率为 (5 − 3) / (6 − 2) = ½。利用点 A,方程变为 y − 3 = ½(x − 2),化简得 y = ½x + 2。两点式在没有直接给出斜率而需要从图像或数值表中求直线方程时尤其有用。


广告 / Sponsored

6. General Form: Ax + By + C = 0 | 一般式

quations and in vector problems. The slope can be found as m = −A/B, provided B ≠ 0. The x‑intercept occurs when y = 0, giving −C/A (if A ≠ 0), and the y‑intercept is −C/B (if B ≠ 0).

直线的一般式为 Ax + By + C = 0,其中 A、B、C 为实数,且 A 与 B 不同时为零。这种形式在线性方程组和向量问题中非常常见。当 B ≠ 0 时,斜率可通过 m = −A/B 求得。x 截距发生在 y = 0 时,为 −C/A(若 A ≠ 0);y 截距为 −C/B(若 B ≠ 0)。

For instance, 3x − 4y + 8 = 0 has slope 3/4, x‑intercept −8/3 and y‑intercept 2. Converting between general and slope‑ makes it easy to apply the distance formula and to test whether a point lies on the line.

例如,3x − 4y + 8 = 0 的斜率为 3/4,x 截距为 −8/3,y 截距为 2。IB 考试常要求在一般式与斜截式之间进行转换:只需解出 y。一般式也便于应用距离公式,以及检验一个点是否在直线上。


7. Intercept Form: x/a + y/b = 1 | 截距式

If a line has x‑intercept a (where a ≠ 0) and y‑ 3y = 6, for example, can be rewritten as x/3 + y/2 = 1, giving intercepts (3,0) and (0,2).

如果一条直线的 x 截距为 a(a ≠ 0)、y 截距为 b(b ≠ 0),其方程可写为 x/a + y/b = 1,这就是截距式。它清晰显示直线与坐标轴的交点,便于快速绘制草图。例如,直线 2x + 3y = 6 可改写为 x/3 + y/2 = 1,得到截距 (3,0) 和 (0,2)。

Keep in mind that the intercept form only exists when both intercepts are non‑zero. If the line passes through the origin, a or b equals 0 and this form cannot be used. In such cases, the slope‑intercept or general form is preferred. The intercept form is also useful in optimisation and area problems, as the area of the triangle formed with the axes is ½|ab|.

需要注意的是,截距式仅在两个截距均不为零时存在。如果直线过原点,a 或 b 等于零,该形式不能使用。此时应优先采用斜截式或一般式。截距式在优化和面积问题中也很有用,因为与坐标轴围成的三角形面积为 ½|ab|。


8. Parallel Lines | 平行直线

Two distinct non‑tical lines are parallel if and only if they have the same slope. For lines given in slope‑ ₁ = 0 and A₂x + B₂y + C₂ = 0 are parallel if A₁B₂ = A₂B₁ (and they are not the same line).

两条不重合的非垂直直线平行,当且仅当它们的斜率相等。对于以斜截式表示的直线,y = m₁x + c₁ 与 y = m₂x + c₂ 平行时 m₁ = m₂。若它们都是垂直线(形式均为 x = k),则也平行。在一般式中,A₁x + B₁y + C₁ = 0 与 A₂x + B₂y + C₂ = 0 平行,当 A₁B₂ = A₂B₁(且不为同一直线)。

through a specified point. Simply extract the slope from the given line and use the point‑ = −2x + 5 through (3, 1) has slope −2, so its equation is y − 1 = −2(x − 3) → y = −2x + 7.

典型的 IB 题目会要求你求一条与给定直线平行且过特定点的直线方程。只需从给定直线中提取斜率,再使用点斜式。例如,过点 (3, 1) 且平行于 y = −2x + 5 的直线斜率为 −2,其方程为 y − 1 = −2(x − 3) → y = −2x + 7。


9. Perpendicular Lines | 垂直直线

Two non‑ l and horizontal lines, a vertical line x = a is perpendicular to a horizontal line y = b.

两条非垂直直线互相垂直,当它们的斜率乘积为 −1:m₁ × m₂ = −1。因此,如果一条直线的斜率为 m (m ≠ 0),则与之垂直的直线斜率为 −1/m。对于垂直线和水平线,垂直线 x = a 垂直于水平线 y = b。

hrough (−1, 2). The original slope is 4/3, so the perpendicular slope is −3/4. Using point‑slope: y − 2 = −3/4 (x + 1), which gives 3x + 4y = 5.

在一般式中,A₁x + B₁y + C₁ = 0 与 A₂x + B₂y + C₂ = 0 垂直,当 A₁A₂ + B₁B₂ = 0。示例:求过点 (−1, 2) 且垂直于 4x − 3y = 12 的直线。原直线斜率为 4/3,故垂直斜率为 −3/4。利用点斜式:y − 2 = −3/4 (x + 1),整理得 3x + 4y = 5。


10. Distance from a Point to a Line | 点到直线的距离

distance d from a point P(x₀, y₀) to a line given in general form Ax + By + C = 0 is: d = |Ax₀ + By₀ + C| / √A² + B². This formula works for any line and any point, and it is derived from the length of the perpendicular segment. Always write the line in general form with all terms on one side before applying the formula.

点 P(x₀, y₀) 到一般式直线 Ax + By + C = 0 的垂直距离 d 为:d = |Ax₀ + By₀ + C| / √A² + B²。该公式适用于任何直线和任意点,它来源于垂线段的长度。应用公式前,务必将直线写成所有项在等号一侧的一般式。

For instance, find the distance from (2, −3) to 3x − 4y + 6 = 0. Substitute: d = |3(2) − 4(−3) + 6| / √(3² + (−4)²) = |6 + 12 + 6| / √9 + 16 lculation is essential for coordinate geometry problems involving area, circles, or locus.

例如,求点 (2, −3) 到直线 3x − 4y + 6 = 0 的距离。代入:d = |3(2) − 4(−3) + 6| / √(3² + (−4)²) = |6 + 12 + 6| / √9 + 16 = 24 / 5 = 4.8。这一计算对于涉及面积、圆或轨迹的坐标几何问题至关重要。


11. Midpoint and Symmetry |

Published by TutorHao | IB Mathematics Revision Series | aleveler.com

广告 / Sponsored
IBDP国际文凭计算机科学学生用书 高级及标准水平 Computer Science for the IB Diplo…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥524.0

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao