STEMviz
Mathematics · Geometry, Vectors and Statistics

The Vector and Parametric Equations of a Line

A line in space cannot be written as a single equation the way a line in the plane can (y=mx+cy=mx+c) — it takes two surfaces intersecting to pin down a line in 3D, which is awkward. Vectors solve this cleanly: a line is described by one point on it and one direction along it, swept out by a single parameter. This chapter builds that description and its two equivalent forms.

To follow the chapter you need position vectors, vector addition and scalar multiplication, and the parallel vectors test from earlier in this block. Have a clear sense of what a "direction vector" means geometrically — an arrow lying along the line, of any convenient length.

A line needs a point and a direction. Unlike a line in the plane (which needs a point and a slope, a single number), a line in space needs a point and a direction vector — because direction in 3D cannot be captured by one number.

1. The Vector Equation of a Line

Let AA be a known point on a line, with position vector a⃗\vec a, and let d⃗\vec d be a non-zero direction vector parallel to the line. Every point PP on the line can be reached from AA by travelling some multiple of d⃗\vec d:

r⃗=a⃗+td⃗,t∈R\vec r = \vec a + t\vec d, \qquad t\in\mathbb{R}

Here r⃗=OP→\vec r=\overrightarrow{OP} is the position vector of a general point on the line, and tt is a parameter: as tt ranges over all real numbers, PP traces out the entire line. t=0t=0 gives AA itself; different values of tt give different points, each reached by walking a multiple of d⃗\vec d (forward for t>0t>0, backward for t<0t<0) from AA.

Worked example. Find the vector equation of the line through A(1,2,−1)A(1,2,-1) with direction d⃗=(2−13)\vec d=\begin{pmatrix}2\\-1\\3\end{pmatrix}.

r⃗=(12−1)+t(2−13)\vec r = \begin{pmatrix}1\\2\\-1\end{pmatrix} + t\begin{pmatrix}2\\-1\\3\end{pmatrix}

Keep reading: The Vector and Parametric Equations of a Line

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.