5.5 — Глава II, §5. Векторы5.5 — Chapter II, §5. Vectors
Это заключительный параграф §5 — точка, где геометрия векторов (треугольник, параллелограмм, проекция) окончательно растворяется в чистой арифметике над тройками чисел. Всё, что делалось геометрически в 5.1–5.4, теперь получает координатный эквивалент: сложение векторов = сложение координат, коллинеарность = пропорциональность координат. С этого момента вектор для всех практических целей (включая §6–§8 — скалярное, векторное, смешанное произведения) — это просто тройка чисел (a_x; a_y; a_z), и вся дальнейшая векторная алгебра — это алгебра над такими тройками.This is the closing section of §5 — the point where the geometry of vectors (triangle, parallelogram, projection) finally dissolves into pure arithmetic over triples of numbers. Everything done geometrically in 5.1–5.4 now gets a coordinate equivalent: vector addition = coordinate addition, collinearity = proportional coordinates. From here on, a vector, for all practical purposes (including §6–§8 — the dot, cross, and scalar triple products), is simply a triple of numbers (a_x; a_y; a_z), and all the vector algebra that follows is algebra over such triples.
Пусть векторы a = (a_x; a_y; a_z) и b = (b_x; b_y; b_z) заданы своими проекциями на оси координат Ox, Oy, Oz, или, что то же самое, a = a_x·i + a_y·j + a_z·k, b = b_x·i + b_y·j + b_z·k.Let the vectors a = (a_x; a_y; a_z) and b = (b_x; b_y; b_z) be given by their projections onto the coordinate axes Ox, Oy, Oz, or, equivalently, a = a_x·i + a_y·j + a_z·k, b = b_x·i + b_y·j + b_z·k.
Так как линейные операции над векторами сводятся к соответствующим линейным операциям над проекциями этих векторов (свойства 2–3, см. 5.3), то можно записать:Since linear operations on vectors reduce to the corresponding linear operations on the projections of these vectors (Properties 2–3, see 5.3), one can write:
a ± b = (a_x ± b_x)·i + (a_y ± b_y)·j + (a_z ± b_z)·k, или кратко a ± b = (a_x ± b_x; a_y ± b_y; a_z ± b_z). То есть при сложении (вычитании) векторов их одноимённые координаты складываются (вычитаются).a ± b = (a_x ± b_x)·i + (a_y ± b_y)·j + (a_z ± b_z)·k, or in short a ± b = (a_x ± b_x; a_y ± b_y; a_z ± b_z). That is, when vectors are added (subtracted), their like-named coordinates are added (subtracted).
λa = λa_x·i + λa_y·j + λa_z·k или короче λa = (λa_x; λa_y; λa_z). То есть при умножении вектора на скаляр координаты вектора умножаются на этот скаляр.λa = λa_x·i + λa_y·j + λa_z·k, or in short λa = (λa_x; λa_y; λa_z). That is, when a vector is multiplied by a scalar, its coordinates are multiplied by that scalar.
Заметьте, насколько это буквально повторяет соответствующие правила для матриц (см. 1.2: c_ij = a_ij + b_ij для сложения, b_ij = k·a_ij для умножения на число) — потому что вектор-столбец из трёх координат и есть частный случай матрицы размера 3×1, а линейные операции над матрицами определены именно поэлементно.Notice how this literally repeats the corresponding rules for matrices (see 1.2: c_ij = a_ij + b_ij for addition, b_ij = k·a_ij for scalar multiplication) — because a column vector of three coordinates is a special case of a 3×1 matrix, and linear operations on matrices are defined precisely element-wise.
Из определения вектора как направленного отрезка, который можно передвигать в пространстве параллельно самому себе (см. 5.1), следует, что два вектора a и b равны тогда и только тогда, когда выполняются равенства a_x = b_x, a_y = b_y, a_z = b_z, т. е.From the definition of a vector as a directed segment that can be translated through space parallel to itself (see 5.1), it follows that two vectors a and b are equal if and only if the equalities a_x = b_x, a_y = b_y, a_z = b_z hold, i.e.
a = b ⟺ { a_x = b_x,
a_y = b_y,
a_z = b_z. }
Это ещё один пример того, как «геометрическое» определение (равенство через коллинеарность + сонаправленность + равную длину, см. 5.1) превращается в чисто алгебраическую проверку — три равенства чисел вместо построения на чертеже.This is another example of how a "geometric" definition (equality via collinearity + same direction + equal length, see 5.1) turns into a purely algebraic check — three number equalities instead of a construction on a drawing.
Выясним условия коллинеарности векторов a и b, заданных своими координатами. Так как a ∥ b, то можно записать a = λ · b, где λ — некоторое число (см. свойство 1 из 5.2). То есть a_x·i + a_y·j + a_z·k = λ(b_x·i + b_y·j + b_z·k) = λb_x·i + λb_y·j + λb_z·k. Отсюда a_x = λb_x, a_y = λb_y, a_z = λb_z, т. е.Let's determine the condition for collinearity of vectors a and b given by their coordinates. Since a ∥ b, we can write a = λ · b, where λ is some number (see Property 1 from 5.2). That is, a_x·i + a_y·j + a_z·k = λ(b_x·i + b_y·j + b_z·k) = λb_x·i + λb_y·j + λb_z·k. From this a_x = λb_x, a_y = λb_y, a_z = λb_z, i.e.
a_x/b_x = a_y/b_y = a_z/b_z = λ.
Таким образом, проекции коллинеарных векторов пропорциональны. Верно и обратное утверждение: векторы, имеющие пропорциональные координаты, коллинеарны.Thus, the projections of collinear vectors are proportional. The converse also holds: vectors with proportional coordinates are collinear.
Этот критерий — рабочая лошадка практических вычислений: чтобы проверить коллинеарность двух векторов, не нужно строить чертёж, достаточно вычислить (или, чаще, просто внимательно сравнить) три отношения. Обратите внимание на естественное ограничение: если какая-то координата b равна нулю, соответствующее отношение не определено в буквальном смысле — в этом случае условие коллинеарности переформулируют как равенство «крест-накрест» произведений (a_x·b_y = a_y·b_x и т. д.), избегая деления на ноль.This criterion is the workhorse of practical computation: to check whether two vectors are collinear, you don't need to draw a picture — it's enough to compute (or, more often, simply compare) three ratios. Note the natural caveat: if some coordinate of b is zero, the corresponding ratio is literally undefined — in that case the collinearity condition is restated as a cross-multiplied equality (a_x·b_y = a_y·b_x, etc.), avoiding division by zero.
Векторы a = (2; -4; 6) и b = (1; -2; 3) коллинеарны, так как 2/1 = -4/-2 = 6/3 = 2 — все три отношения равны одному и тому же числу λ = 2, т. е. a = 2b. А векторы a = (2; -4; 6) и c = (1; -2; 4) уже не коллинеарны: 2/1 = -4/-2 = 2, но 6/4 = 1.5 ≠ 2 — третье отношение нарушает пропорциональность.The vectors a = (2; -4; 6) and b = (1; -2; 3) are collinear, since 2/1 = -4/-2 = 6/3 = 2 — all three ratios equal the same number λ = 2, i.e. a = 2b. But the vectors a = (2; -4; 6) and c = (1; -2; 4) are not collinear: 2/1 = -4/-2 = 2, but 6/4 = 1.5 ≠ 2 — the third ratio breaks the proportionality.
Пусть в пространстве задана прямоугольная декартова система координат Oxyz. Для любой точки M координаты вектора OM называются координатами точки M. Вектор OM называется радиус-вектором точки M, обозначается r, т. е. OM = r. Следовательно, координаты точки — это координаты её радиус-вектора:Let a rectangular Cartesian coordinate system Oxyz be given in space. For any point M, the coordinates of the vector OM are called the coordinates of the point M. The vector OM is called the position vector of M, denoted r, i.e. OM = r. Hence, the coordinates of a point are the coordinates of its position vector:
r = (x; y; z) или r = x·i + y·j + z·k.
Координаты точки M записываются в виде M(x; y; z).The coordinates of a point M are written as M(x; y; z).
Найдём координаты вектора a = AB, если известны координаты точек A(x1; y1; z1) и B(x2; y2; z2). Имеем:Let's find the coordinates of the vector a = AB, given the coordinates of points A(x1; y1; z1) and B(x2; y2; z2). We have:
AB = OB - OA = (x2·i + y2·j + z2·k) - (x1·i + y1·j + z1·k)
= (x2 - x1)·i + (y2 - y1)·j + (z2 - z1)·k.
Следовательно, координаты вектора равны разностям соответствующих координат его конца и начала: AB = (x2 - x1; y2 - y1; z2 - z1).Hence, the coordinates of a vector equal the differences of the corresponding coordinates of its end and start: AB = (x2 - x1; y2 - y1; z2 - z1).
Рис. 13. Координаты вектора AB = OB - OA как разность радиус-векторов точек A и BFig. 13. The coordinates of the vector AB = OB - OA as the difference of the position vectors of points A and B
Эта формула завершает круг понятий, начатый в 5.1: там вектор был направленным отрезком «откуда-то куда-то», теперь у него есть точный числовой рецепт вычисления координат по координатам концов — «конец минус начало». Обратите внимание на порядок вычитания: перепутать A и B местами — значит получить вектор BA = -AB, противоположный исходному (см. определение противоположного вектора, 5.1) — частая практическая ошибка при работе с координатами вручную.This formula closes the loop of concepts started in 5.1: there, a vector was a directed segment "from somewhere to somewhere"; now it has an exact numerical recipe for computing its coordinates from the coordinates of its endpoints — "end minus start." Note the order of subtraction: swapping A and B gives the vector BA = -AB, opposite to the original (see the definition of the opposite vector, 5.1) — a common practical mistake when working with coordinates by hand.
Даны точки A(1; -2; 3) и B(4; 0; -1). Найдём координаты вектора AB: AB = (4-1; 0-(-2); -1-3) = (3; 2; -4). Модуль этого вектора (по формуле 5.4 из §5.4): |AB| = √(3² + 2² + (-4)²) = √(9+4+16) = √29. Вектор BA (в обратную сторону) — противоположный: BA = (1-4; -2-0; 3-(-1)) = (-3; -2; 4) = -AB, что подтверждает связь между «переставить точки местами» и «взять противоположный вектор».Given points A(1; -2; 3) and B(4; 0; -1). Find the coordinates of the vector AB: AB = (4-1; 0-(-2); -1-3) = (3; 2; -4). The magnitude of this vector (via formula 5.4 from §5.4): |AB| = √(3² + 2² + (-4)²) = √(9+4+16) = √29. The vector BA (the reverse direction) is the opposite one: BA = (1-4; -2-0; 3-(-1)) = (-3; -2; 4) = -AB, confirming the link between "swap the points" and "take the opposite vector."
Формула a_x/b_x = a_y/b_y = a_z/b_z ломается буквально (деление на ноль), если у вектора b хотя бы одна координата равна нулю. Например, для b = (1; 0; 3) отношение a_y/b_y не определено. В таких случаях либо проверяют равенство «крест-накрест» (a_x·b_y = a_y·b_x), либо явно требуют, чтобы соответствующая координата a тоже была нулевой (раз a = λb и b_y = 0, то и a_y = λ·0 = 0).The formula a_x/b_x = a_y/b_y = a_z/b_z literally breaks (division by zero) if the vector b has even one zero coordinate. For instance, for b = (1; 0; 3), the ratio a_y/b_y is undefined. In such cases, one either checks the cross-multiplied equality (a_x·b_y = a_y·b_x), or explicitly requires the corresponding coordinate of a to also be zero (since a = λb and b_y = 0 imply a_y = λ·0 = 0).
Формула AB = (x2-x1; y2-y1; z2-z1) требует аккуратности с порядком: x2 (координата конца B) минус x1 (координата начала A), а не наоборот. Путаница здесь — источник систематической ошибки знака во всех дальнейших вычислениях (модуль, скалярное/векторное произведение), поскольку результат отличается от правильного ровно знаком (см. пример выше: BA = -AB).The formula AB = (x2-x1; y2-y1; z2-z1) requires care with the order: x2 (the coordinate of the end, B) minus x1 (the coordinate of the start, A), not the other way around. Mixing this up is a source of a systematic sign error in all subsequent computations (magnitude, dot/cross product), since the result differs from the correct one by exactly a sign (see the example above: BA = -AB).
источникsource
Линейные операции в координатах, критерии равенства и коллинеарности, координаты точки и вектора (включая вывод AB = (x2-x1; y2-y1; z2-z1)) — по изданию: Письменный Д. Т. Конспект лекций по высшей математике: полный курс. — 9-е изд. — М.: Айрис-пресс, 2009. — 608 с. — Глава II, §5.5 «Действия над векторами, заданными проекциями», с. 45–47. Числовые примеры и раздел «Грабли» — авторское дополнение.Linear operations in coordinates, the criteria for equality and collinearity, the coordinates of a point and a vector (including the derivation of AB = (x2-x1; y2-y1; z2-z1)) — from: Pismenny D. T. Lecture Notes on Higher Mathematics: Complete Course. — 9th ed. — Moscow: Iris-press, 2009. — 608 p. — Chapter II, §5.5 "Operations on Vectors Given by Their Projections," pp. 45–47. The numerical examples and the "Gotchas" section are original additions.