Skill: Write vector equations of lines

Explanation and Free Practice Resources

A line is represented in vector form as r=a+td\mathbf r=\mathbf a+t\mathbf d, where a\mathbf a is the position vector of a known point, d≠0\mathbf d\ne\mathbf0 is a direction vector, and tt ranges over all real numbers; from two points, a valid direction vector is their difference. Equivalent equations may use different points or scalar multiples of the direction vector, while restricting tt would describe a ray or segment rather than the entire line. The treatment excludes abstract vector spaces and higher-dimensional generalizations.

Detailed Explanation: Write vector equations of lines

A vector equation for a line has the form

r=a+td,\mathbf r=\mathbf a+t\mathbf d,

where:

  • r\mathbf r is the position vector of any point on the line,
  • a\mathbf a is the position vector of a known point on the line,
  • d\mathbf d is a nonzero direction vector,
  • t∈Rt\in\mathbb R.

When two points are given, subtract their coordinates to find a direction vector.

Example

Find a vector equation for the line through

A(2,−1,3)andB(5,1,−3).A(2,-1,3) \quad\text{and}\quad B(5,1,-3).

First, use one of the points as the known point. Take AA:

a=(2−13).\mathbf a= \begin{pmatrix} 2\\ -1\\ 3 \end{pmatrix}.

Next, find a direction vector by subtracting the coordinates:

AB→=B−A=(51−3)−(2−13)=(32−6).\overrightarrow{AB}=B-A = \begin{pmatrix} 5\\ 1\\ -3 \end{pmatrix} - \begin{pmatrix} 2\\ -1\\ 3 \end{pmatrix} = \begin{pmatrix} 3\\ 2\\ -6 \end{pmatrix}.

Therefore, the vector equation of the line is

r=(2−13)+t(32−6),t∈R\boxed{ \mathbf r= \begin{pmatrix} 2\\ -1\\ 3 \end{pmatrix} +t \begin{pmatrix} 3\\ 2\\ -6 \end{pmatrix}, \qquad t\in\mathbb R }

The value t=0t=0 gives point AA. The value t=1t=1 gives

(2−13)+(32−6)=(51−3),\begin{pmatrix} 2\\ -1\\ 3 \end{pmatrix} + \begin{pmatrix} 3\\ 2\\ -6 \end{pmatrix} = \begin{pmatrix} 5\\ 1\\ -3 \end{pmatrix},

which is point BB. Since tt can be any real number, the equation describes the entire line.

Learn by doing: Write vector equations of lines

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Your results

Practice with unlimited practice problems

3D Space - Line Vector Form - Two Points to Vector Form


    ?

    Download/Modify Free Grade 12 'Write vector equations of lines' Worksheet

    Print this free 'Write vector equations of lines' worksheet to practice this skill away from the computer. Click 'Modify' to easily customize this worksheet to your exact needs.

    Units Teaching This Skill

    These adaptive units introduce, teach, or reinforce this skill (Write vector equations of lines) through scaffolded problems that grow in difficulty as concepts are understood.

    Explore More Grade 12 Math