10.2 — Глава III, §10. Линии на плоскости10.2 — Chapter III, §10. Curves in the plane

Уравнения прямой на плоскостиEquations of a line in the plane

Первое применение прямой задачи из 10.1: у прямой линии — простейшего геометрического объекта после точки — оказывается сразу пять разных, но эквивалентных форм уравнения, и у каждой своя область удобства. Все пять выводятся из одной и той же идеи: прямая однозначно определяется точкой на ней и направлением (либо нормалью), а «направление» и «нормаль» — это ровно те объекты, что уже были введены как векторы в Главе II.The first application of the direct problem from 10.1: a straight line — the simplest geometric object after a point — turns out to have five different but equivalent forms of its equation, each with its own area of convenience. All five are derived from the same idea: a line is uniquely determined by a point on it and a direction (or a normal), and "direction" and "normal" are exactly the objects already introduced as vectors in Chapter II.

частый теоретический вопросcommon theory question фундамент аналитической геометрииfoundational, analytic geometry

Общее уравнение прямойThe general equation of a line

Пусть на плоскости Oxy дана произвольная прямая. Её положение вполне определяется заданием какой-либо точки M0(x0;y0) на ней и вектора n = (A;B), перпендикулярного этой прямой.Let an arbitrary line be given in the plane Oxy. Its position is fully determined by specifying some point M0(x0;y0) on it and a vector n = (A;B) perpendicular to the line.

Вектор нормалиThe normal vector

Вектор n, перпендикулярный прямой, называется нормальным вектором (или просто нормалью) этой прямой.A vector n perpendicular to a line is called a normal vector (or simply the normal) of that line.

Возьмём на прямой произвольную точку M(x;y). Тогда вектор M0M = (x-x0; y-y0) лежит на самой прямой, а значит перпендикулярен нормали n. Условие перпендикулярности двух векторов — это в точности обращение в нуль их скалярного произведения (см. 6.1, свойство ортогональности):Take an arbitrary point M(x;y) on the line. Then the vector M0M = (x-x0; y-y0) lies on the line itself, and hence is perpendicular to the normal n. The condition for two vectors to be perpendicular is exactly that their dot product vanishes (see 6.1, the orthogonality property):

n · M0M = 0,   т. е.   A(x - x0) + B(y - y0) = 0.   (10.1)
x y O M0 M n

Рис. 31. Прямая через точку M0 с нормалью n; произвольная точка M на прямой даёт вектор M0M ⊥ nFig. 31. A line through the point M0 with normal n; an arbitrary point M on the line gives a vector M0M ⊥ n

Уравнение (10.1) называется уравнением прямой, проходящей через точку M0 перпендикулярно вектору n. Раскрыв скобки, получаемEquation (10.1) is called the equation of the line passing through the point M0 perpendicular to the vector n. Expanding the brackets, we obtain

Ax + By + C = 0,   где   C = -Ax0 - By0.   (10.2)

Общее уравнение прямойThe general equation of a line

Уравнение (10.2) называется общим уравнением прямой. Коэффициенты A и B при переменных x и y — это в точности координаты нормального вектора n = (A; B) этой прямой.Equation (10.2) is called the general equation of a line. The coefficients A and B of the variables x and y are exactly the coordinates of the line's normal vector n = (A; B).

Это первый пример прямой задачи из 10.1, доведённый до конца: геометрическое условие («точка лежит на прямой с данной нормалью») напрямую переведено в алгебраическое уравнение через скалярное произведение из 6.1. Заметьте: коэффициенты уравнения прямой — не произвольные числа, а буквально координаты вполне конкретного вектора, что и объясняет, почему по одному только виду уравнения (10.2) сразу видно направление нормали, без дополнительных вычислений.This is the first example of the direct problem from 10.1 carried through to the end: a geometric condition ("a point lies on the line with a given normal") is translated directly into an algebraic equation via the dot product from 6.1. Notice: the coefficients of the line's equation aren't arbitrary numbers, but literally the coordinates of a perfectly specific vector, which is exactly why the direction of the normal is visible at a glance from the form of equation (10.2), with no extra computation.

Уравнение прямой с угловым коэффициентомThe slope-intercept equation of a line

Пусть общее уравнение (10.2) задаёт прямую, не параллельную оси Oy, т. е. B ≠ 0. Тогда его можно разрешить относительно y:Let the general equation (10.2) define a line not parallel to the axis Oy, i.e. B ≠ 0. Then it can be solved for y:

y = kx + b,   где   k = -A/B,   b = -C/B.   (10.3)

Угловой коэффициентThe slope

Число k в уравнении (10.3) называется угловым коэффициентом прямой, b — величиной отрезка, отсекаемого прямой на оси Oy. Угловой коэффициент равен тангенсу угла α, образованного прямой с положительным направлением оси Ox: k = tg α.The number k in equation (10.3) is called the slope of the line, and b is the length of the segment the line cuts off on the axis Oy. The slope equals the tangent of the angle α the line makes with the positive direction of the axis Ox: k = tg α.

Прямая, параллельная оси Oy (B = 0), углового коэффициента не имеет: у неё α = π/2, а tg(π/2) не определён. Такая прямая задаётся уравнением x = a — частным случаем общего уравнения (10.2) при B = 0, не сводимым к виду (10.3). Это первое напоминание, что «уравнение с угловым коэффициентом» — не универсальная форма, а частный случай общего уравнения, работающий не всегда (см. Грабли).A line parallel to the axis Oy (B = 0) has no slope: for it, α = π/2, and tg(π/2) is undefined. Such a line is given by the equation x = a — a special case of the general equation (10.2) with B = 0, not reducible to form (10.3). This is the first reminder that "the equation with a slope" isn't a universal form but a special case of the general equation that doesn't always apply (see Gotchas).

Уравнение прямой в отрезкахThe intercept form of a line's equation

Пусть в общем уравнении (10.2) C ≠ 0. Перенесём C в правую часть и разделим обе части на -C:Let C ≠ 0 in the general equation (10.2). Move C to the right-hand side and divide both sides by -C:

x/a + y/b = 1,   где   a = -C/A,   b = -C/B.   (10.4)

Уравнение в отрезкахThe intercept form

Уравнение (10.4) называется уравнением прямой в отрезках. Числа a и b — величины отрезков, отсекаемых прямой на осях Ox и Oy соответственно (считая от начала координат).Equation (10.4) is called the intercept form of the line's equation. The numbers a and b are the lengths of the segments the line cuts off on the axes Ox and Oy, respectively (measured from the origin).

Эта форма особенно удобна для быстрого построения прямой по чертежу: достаточно отметить две точки (a;0) и (0;b) и соединить их — никаких вычислений сверх того, что уже дано коэффициентами уравнения. Уравнение в отрезках не работает, если прямая проходит через начало координат (C = 0, тогда отсекать нечего) или параллельна одной из осей (тогда одного из отрезков не существует — прямая, параллельная Ox, никогда не пересекает Ox, кроме вырожденного случая совпадения).This form is especially convenient for quickly plotting a line from its equation: it suffices to mark the two points (a;0) and (0;b) and join them — no computation beyond what the equation's coefficients already give. The intercept form doesn't work if the line passes through the origin (C = 0, so there's nothing to cut off) or is parallel to one of the axes (then one of the intercepts doesn't exist — a line parallel to Ox never crosses Ox, except in the degenerate case of coincidence).

Каноническое и параметрические уравнения прямойThe canonical and parametric equations of a line

Прямую можно задать не только нормалью, но и направляющим вектором — вектором, лежащим на прямой или ей параллельным. Пусть M0(x0;y0) — точка на прямой, s = (m;n) — её направляющий вектор.A line can be specified not only by a normal but also by a direction vector — a vector lying on the line or parallel to it. Let M0(x0;y0) be a point on the line and s = (m;n) its direction vector.

Точка M(x;y) лежит на этой прямой тогда и только тогда, когда вектор M0M = (x-x0; y-y0) коллинеарен s. Условие коллинеарности двух векторов (см. 7.2) — пропорциональность их координат:A point M(x;y) lies on this line if and only if the vector M0M = (x-x0; y-y0) is collinear with s. The condition for two vectors to be collinear (see 7.2) is that their coordinates are proportional:

Каноническое уравнение прямойThe canonical equation of a line

(x - x0)/m = (y - y0)/n.   (10.5)

Введя параметр t, равный общему значению этих двух дробей, получаем параметрические уравнения прямой — частный случай общих параметрических уравнений линии из 10.1, но с линейными функциями параметра:Introducing a parameter t, equal to the common value of these two ratios, gives the parametric equations of a line — a special case of the general parametric equations of a curve from 10.1, but with linear functions of the parameter:

x = x0 + mt,   y = y0 + nt,   t ∈ ℝ.   (10.6)

Каноническое уравнение (10.5) записано как пропорция, а не как явное равенство, именно из-за коллинеарности: она в точности означает «отношение соответствующих координат постоянно» (7.2), и это единственный способ выразить «параллельность направлению s» без деления на возможный нуль, если m или n равны нулю — формально запись /0 в этом контексте читается не как деление, а как условие «числитель тоже равен нулю» (см. Грабли).The canonical equation (10.5) is written as a proportion rather than an explicit equality precisely because of collinearity: it means exactly "the ratio of corresponding coordinates is constant" (7.2), and it's the only way to express "parallel to the direction s" without dividing by a possible zero, if m or n is zero — formally, the notation /0 in this context is read not as division but as the condition "the numerator is also zero" (see Gotchas).

Угол между двумя прямыми. Условия параллельности и перпендикулярностиThe angle between two lines. Conditions for parallelism and perpendicularity

Пусть две прямые заданы уравнениями с угловыми коэффициентами y = k1x + b1 и y = k2x + b2. Угол φ между ними (угол, на который нужно повернуть первую прямую вокруг точки пересечения против часовой стрелки до совмещения со второй) выражается формулойLet two lines be given by the slope-intercept equations y = k1x + b1 and y = k2x + b2. The angle φ between them (the angle by which the first line must be rotated counterclockwise about the intersection point to coincide with the second) is given by

tg φ = (k2 - k1) / (1 + k1·k2).   (10.7)

Условие параллельностиThe condition for parallelism

k1 = k2

Условие перпендикулярностиThe condition for perpendicularity

k1 · k2 = -1, т. е. k2 = -1/k1

Условие перпендикулярности прямых через угловые коэффициенты — не новый факт, а переформулировка того же условия ортогональности (6.1), что уже дало общее уравнение (10.1): если n1 = (A1;B1) и n2 = (A2;B2) — нормали двух прямых, перпендикулярность самих прямых равносильна коллинеарности их нормалей (7.2: n1 ∥ n2), а параллельность прямых — перпендикулярности нормалей (n1 · n2 = 0). Формула k1·k2 = -1 — это то же самое условие, только выраженное через угловые коэффициенты вместо координат нормали.The perpendicularity condition for lines via slopes isn't a new fact but a restatement of the same orthogonality condition (6.1) that already gave the general equation (10.1): if n1 = (A1;B1) and n2 = (A2;B2) are the normals of two lines, the lines being perpendicular is equivalent to their normals being collinear (7.2: n1 ∥ n2), and the lines being parallel is equivalent to their normals being perpendicular (n1 · n2 = 0). The formula k1·k2 = -1 is the same condition, just expressed through slopes instead of the normal's coordinates.

ГраблиGotchas

Вертикальная прямая не имеет углового коэффициентаA vertical line has no slope

Попытка «привести общее уравнение к виду с угловым коэффициентом» для прямой x = a (то есть B = 0) требует деления на B, что невозможно. Это не редкий вырожденный случай, который можно игнорировать, — вертикальные прямые встречаются в задачах регулярно (например, как асимптоты), и уравнение (10.3) для них просто неприменимо: нужно явно проверять B ≠ 0, прежде чем переходить от общего уравнения к уравнению с угловым коэффициентом.Trying to "convert the general equation to slope-intercept form" for the line x = a (i.e. B = 0) requires dividing by B, which is impossible. This isn't a rare degenerate case that can be ignored — vertical lines show up regularly in problems (say, as asymptotes), and equation (10.3) simply doesn't apply to them: B ≠ 0 must be explicitly checked before moving from the general equation to the slope-intercept one.

Уравнение в отрезках ломается при C=0 или параллельности осиThe intercept form breaks down when C=0 or the line is parallel to an axis

Формулы (10.4) требуют деления на A и на B по отдельности (через C), а не только на B, как в (10.3). Это означает, что уравнение в отрезках неприменимо сразу в трёх случаях: прямая проходит через начало координат (C=0), параллельна Ox (A=0) или параллельна Oy (B=0) — три отдельных условия, которые стоит проверять по очереди, а не полагаться на то, что «формула сработает».Formulas (10.4) require dividing by A and by B separately (via C), not just by B as in (10.3). This means the intercept form fails in three separate cases at once: the line passes through the origin (C=0), is parallel to Ox (A=0), or is parallel to Oy (B=0) — three distinct conditions worth checking one by one, rather than assuming "the formula will just work."

Нормаль и направляющий вектор — разные объекты, их нельзя путатьThe normal and the direction vector are different objects, not to be confused

Нормаль n = (A;B) из общего уравнения (10.2) перпендикулярна прямой, а направляющий вектор s = (m;n) из канонического уравнения (10.5) лежит на прямой (или ей параллелен) — это два принципиально разных вектора, повёрнутых друг относительно друга на 90°. Если прямая задана уравнением Ax+By+C=0, её направляющий вектор — это s = (-B; A) (или (B; -A)), а не (A;B) напрямую: перепутать их — значит перепутать «куда указывает перпендикуляр» с «куда идёт сама прямая».The normal n = (A;B) from the general equation (10.2) is perpendicular to the line, while the direction vector s = (m;n) from the canonical equation (10.5) lies on the line (or is parallel to it) — two fundamentally different vectors, rotated 90° relative to each other. If a line is given by Ax+By+C=0, its direction vector is s = (-B; A) (or (B; -A)), not (A;B) directly: confusing them means confusing "which way the perpendicular points" with "which way the line itself runs."

источникsource

Общее уравнение прямой, уравнение с угловым коэффициентом, уравнение в отрезках, каноническое и параметрические уравнения, угол между прямыми, условия параллельности и перпендикулярности (формулы 10.1–10.7) — по изданию: Письменный Д. Т. Конспект лекций по высшей математике: полный курс. — 9-е изд. — М.: Айрис-пресс, 2009. — 608 с. — Глава III, §10.2 «Уравнения прямой на плоскости», с. 63–66. Связь с 6.1 и 7.2, раздел «Грабли» — авторское дополнение.The general equation of a line, the slope-intercept equation, the intercept form, the canonical and parametric equations, the angle between lines, the conditions for parallelism and perpendicularity (formulas 10.1–10.7) — from: Pismenny D. T. Lecture Notes on Higher Mathematics: Complete Course. — 9th ed. — Moscow: Iris-press, 2009. — 608 p. — Chapter III, §10.2 "Equations of a Line in the Plane," pp. 63–66. The connection to 6.1 and 7.2, and the "Gotchas" section, are original additions.