Vector equation of a line given by a point and a direction:
A line in two- or three-dimensional space may be described using two vectors:
We can describe the line as:
\[ \vec{r} = \vec{a} + t\vec{d} \] for some \( t \in \mathbb{R} \)
Usually we omit the set notation. We write \( \vec{r}(t) \) for the position vector of a point P on the line, and therefore \( \vec{r}(t) = \vec{a} + t\vec{d} \), \( t \in \mathbb{R} \).
This is a vector equation of the line \( \vec{r} \).
As the value of \( t \) varies over the real numbers, the position vector \( \vec{r}(t) \) varies over all the points on the line \( \vec{r} \).
We sometimes express this idea by saying that \( t \) is a parameter and that \( \vec{r}(t) \) is a parameterization of the line \( \vec{r} \).
Created with GeoGebra, by Cliff-Lee, Link
Note: There is no unique vector equation of a given line. We can choose any point A as the 'starting point' on the line and any vector \( \vec{d} \) parallel to the line.
If the position vectors \( \vec{a} = \overrightarrow{OA} \) and \( \vec{b} = \overrightarrow{OB} \) of two points on a line \( \vec{r} \) are known, then the line may be described by:
\[ \vec{r}(t) = \overrightarrow{OA} + t(\overrightarrow{AB}) = \vec{a} + t(\vec{b} - \vec{a}), \quad t \in \mathbb{R} \]
This is also a vector equation of the line \( \vec{r} \).
This vector equation can be rewritten as:
\[ \vec{r}(t) = (1 - t)\vec{a} + t\vec{b}, \quad t \in \mathbb{R} \]
From a Vector Equation to the Cartesian Equation
For example, start with the vector equation:
\[ \vec{r} = \vec{i} + 5\vec{j} + t(\vec{i} + 2\vec{j}), \quad t \in \mathbb{R} \]
Rearrange this equation as:
\[ \vec{r} = (1 + t)\vec{i} + (5 + 2t)\vec{j} \]
Let \( P(x, y) \) be the point on the line with position vector \( \vec{r} \), so that \( \vec{r} = xi + yj \). Then, by equating coefficients of \( \vec{i} \) and \( \vec{j} \), we have:
These are parametric equations for the line.
Now eliminate \( t \) to find \( y \) in terms of \( x \). We have \( t = x - 1 \), so \( y = 5 + 2(x - 1) = 2x + 3 \).
The Cartesian equation of the line is \( y = 2x + 3 \).
For example, start with the Cartesian equation \( y = 2x + 3 \).
A point on the line is \( (0, 3) \), with position vector \( 3\vec{j} \). The line has gradient 2, so a vector parallel to the line is \( \vec{i} + 2\vec{j} \).
Therefore, a vector equation of the line is:
\[ \vec{r} = 3\vec{j} + t(\vec{i} + 2\vec{j}), \quad t \in \mathbb{R} \]
Note: For a line with equation \( y = mx + c \), you can choose the point \( (0, c) \) on the line and the vector \( \vec{i} + m\vec{j} \) parallel to the line.
From a Vector Equation to Cartesian Form
For example, the line through the point \( (5, -2, 4) \) that is parallel to the vector \( 2\vec{i} - \vec{j} + 3\vec{k} \) can be described by the vector equation:
\[ \vec{r} = 5\vec{i} - 2\vec{j} + 4\vec{k} + t(2\vec{i} - \vec{j} + 3\vec{k}), \quad t \in \mathbb{R} \]
Let \( P(x, y, z) \) be the point on the line with position vector \( \vec{r} \). Then we can write the vector equation as:
\[ xi + yj + zk = (5 + 2t)i + (-2 - t)j + (4 + 3t)k \]
The corresponding parametric equations are:
Solving each of these equations for \( t \), we have:
\( \frac{x - 5}{2} = \frac{y + 2}{-1} = \frac{z - 4}{3} = t \)
This is in Cartesian form. You cannot describe a line in three dimensions using a single linear Cartesian equation.
From Cartesian Form to a Vector Equation
To convert from Cartesian form to a vector equation, we can perform these steps in the reverse order.
A line in three-dimensional space can be described in the following three ways, where \( \vec{a} = a_1\vec{i} + a_2\vec{j} + a_3\vec{k} \) is the position vector of a point \( A \) on the line, and \( \vec{d} = d_1\vec{i} + d_2\vec{j} + d_3\vec{k} \) is a vector parallel to the line.
Vector Equation | Parametric Equations | Cartesian Form |
---|---|---|
\( \vec{r} = \vec{a} + t\vec{d} \), \( t \in \mathbb{R} \) | \( x = a_1 + d_1t \) \( y = a_2 + d_2t \) \( z = a_3 + d_3t \) |
\( \frac{x - a_1}{d_1} = \frac{y - a_2}{d_2} = \frac{z - a_3}{d_3} \) |
For two lines `1 : \( \vec{r}_1 = \vec{a}_1 + t\vec{d}_1 \), \( t \in \mathbb{R} \), and `2 : \( \vec{r}_2 = \vec{a}_2 + s\vec{d}_2 \), \( s \in \mathbb{R} \):