In three-dimensional space, a line can be depicted uniquely by a vector equation. This equation is fundamental as it combines both a point on the line and its direction. To write a vector equation for a line, you need a known point through which the line passes and a direction vector that indicates the line's direction.
The direction vector is calculated by subtracting the coordinates of one point from another point on the line. In our example, we determine the direction vector by using points \( P = (1, -2, 3) \) and \( Q = (5, 5, 5) \).
The direction vector \( \mathbf{d} \) becomes:
- \( d_1 = 5 - 1 = 4 \)
- \( d_2 = 5 - (-2) = 7 \)
- \( d_3 = 5 - 3 = 2 \)
Thus, the vector equation becomes \( \mathbf{r} = (1, -2, 3) + t(4, 7, 2) \), where \( t \) is a scalar parameter that scales the direction vector.