Vector Equation of a Line with Examples

The vector equation of a line is used to describe the position of each point on a line in terms of a single parameter, usually denoted t. We can find the vector equation of a line if we know two points on the line, or a point and a direction.

In this article, we will learn how to find the vector equation of a line using both cases mentioned above. Then, we will look some examples where we will apply these cases.

PHYSICS
Formula for the vector equation of a line

Relevant for...

Learning about the vector equation of a line.

See equation

PHYSICS
Formula for the vector equation of a line

Relevant for...

Learning about the vector equation of a line.

See equation

How to find the vector equation of a line?

There are two main methods we can use to find the vector equation of a line depending on the information we have available:

  • A point on a line and the direction of the line
  • Two points on the line

First case

Given a point $latex A $ and a direction $latex \vec{u}$, we can find the position vector $latex \vec{r}=\overrightarrow{OP}$ of a general point $latex P$ on the line:

Diagram for the vector equation of a line

Using vector addition, we can see that:

$latex \overrightarrow{OP}=\overrightarrow{OA}+\overrightarrow{AP}$

Here we have $latex \vec{a}=\overrightarrow{OA}$ and since $latex \overrightarrow{AP}$ is parallel to $latex =\vec{u}$, we can write:

$latex \vec{r}=\vec{a}+t~\vec{u}$

where $latex t$ is a parameter or scalar quantity. In this equation, different values of $latex t$ give us all the points on the line.

Second case

When we know two points $latex A$ and $latex B$ on the line, we can express the vector equation of the line in terms of the position vectors of the points.

Similar to the previous case, we have $latex \vec{a}=\overrightarrow{OA}$. Also, in this case, $latex \overrightarrow{AB}$ is parallel to the line, so $latex \vec{u}=\overrightarrow{AB}$ and we have:

$latex \vec{r}=\overrightarrow{OA}+t~\overrightarrow{AB}$

Solved examples of vector equation of a line

EXAMPLE 1

Given two points A(1, 2, 3) and B(4, 6, 9), find the vector equation of the line through these points.

Solution

EXAMPLE 2

Given a point $latex C(2,~ -1,~ 4)$ on the line and the direction vector of the line $latex \vec{d} = 4\hat{i}, ~5\hat{j}, ~-2\hat{k}$, find the vector equation of the line.

Solution

EXAMPLE 3

Given a point $latex A(5,~ -2,~ 3)$ on the line and the direction vector of the line $latex \vec{e} = 2\hat{i} -3\hat{j} +1 \hat{k}$, find the vector equation of the line.

Solution

EXAMPLE 4

Find the vector equation of the line through the two points P(-1, 3, 2) and Q(3, 7, -1).

Solution

EXAMPLE 5

Given a point U(-3, 5, 2) on the line and the direction vector of the line $latex \vec{f} = -1\hat{i}+ 4\hat{j} +3\hat{k }$, find the vector equation of the line.

Solution

EXAMPLE 6

Given two points $latex S(6,~ 4,~ -1)$ and $latex T(0,~ -2, ~3)$, what is the vector equation of the line that passes through these points?

Solution

EXAMPLE 7

Find the vector equation of the line that passes through the two points A(1, 2, -1) and B(1, 1, 2) and determine whether the point P(1, 3, 1) lies on the line.

Solution

EXAMPLE 8

Find the vector equations of the lines $latex \overrightarrow{AB}~$ and $latex ~\overrightarrow{CD}$, with the points $latex A(1, ~2,~ -1)$, $latex B(1 , ~1,~ 2)$, $latex C(0, ~1, ~2)~$ and $latex ~D(-1,~ 3,~ -4)$.

Find the point of intersection of the lines.

Solution

Vector equation of the line - Practice problems

Vector equation of the line quiz
Logo
You have completed the quiz!

See also

Interested in learning more about vectors? You can look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE