Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

2.4: Lines and planes through the origin in ℝ³

In Chapter 2.1, we learned how to describe a line in R2\mathbb R^2 using scalar multiples of a nonzero vector. We’ll use the same idea here, with one extra coordinate, and then describe planes using linear combinations of two vectors.

This section, along with the rest of Chapter 2, contains several 3D figures. Drag them with your mouse to view the lines and planes from different perspectives.

Here’s a video introducing what a vector looks like in R3\mathbb{R}^3.


Lines through the origin

Remember that the span of one vector is the set of all its scalar multiples. Let’s start with

v⃗=[345].\vec v=\begin{bmatrix}3\\4\\5\end{bmatrix}.

Multiplying v⃗\vec v by a scalar changes its length and possibly reverses its direction. If we draw all of these multiples from the origin, their tips trace out a line! As before, we can write this line as

ℓ=span⁡(v⃗)={t[345]:t∈R}.\ell=\operatorname{span}(\vec v) =\left\{t\begin{bmatrix}3\\4\\5\end{bmatrix}:t\in\mathbb R\right\}.
Loading...

The line through the origin spanned by v⃗=[345]\vec v=\begin{bmatrix}3\\4\\5\end{bmatrix}.

For instance, t=1t=1 gives (3,4,5)(3,4,5), t=−1t=-1 gives (−3,−4,−5)(-3,-4,-5), and t=0t=0 gives the origin. The parameter can be any real number; the figure only shows part of the line.

To move from vector form to scalar form, read off the entries. To move back, collect the coefficients of the parameter into a vector.

Here’s a video showing how to visualize a line in R3\mathbb{R}^3 using Desmos 3D.

Here’s a video that visualizes this idea further.


Planes through the origin

Linear independence

To fill a plane through the origin, we need two directions that cannot be obtained by scaling one another. Let’s give this condition a name.

We’ll often shorten “linearly independent” to just “independent.”

For two nonzero vectors, independence means that they point along different lines. For example, [100]\begin{bmatrix}1\\0\\0\end{bmatrix} and [010]\begin{bmatrix}0\\1\\0\end{bmatrix} are independent and span the xyxy-plane. But [100]\begin{bmatrix}1\\0\\0\end{bmatrix} and [200]\begin{bmatrix}2\\0\\0\end{bmatrix} are dependent and span only the xx-axis. The second vector adds no new direction.

This definition of linear independence works for a pair of vectors. In later chapters, we’ll discuss what it means for three or more vectors to be linearly independent.

Span of two vectors

Back to the main idea: describing a plane in R3\mathbb{R}^3.

For example, let

v⃗1=[345],v⃗2=[52−1].\vec v_1=\begin{bmatrix}3\\4\\5\end{bmatrix},\qquad \vec v_2=\begin{bmatrix}5\\2\\-1\end{bmatrix}.

These vectors are independent: matching the second entry of v⃗1\vec v_1 would require multiplying v⃗2\vec v_2 by 2, but that would give a first entry of 10, not 3. So, there’s no number we can multiply v⃗2\vec v_2 by to get v⃗1\vec v_1.

Notice that we’re asking for less than we did in Chapter 2.2. Our vectors don’t need to have length one, and they don’t need to be perpendicular. We just need two independent directions in the plane.

Loading...

The vectors v⃗1\vec v_1 and v⃗2\vec v_2 determine a plane PP through the origin.

For example, consider 2v⃗1−3v⃗22\vec v_1-3\vec v_2, a linear combination of v⃗1\vec v_1 and v⃗2\vec v_2:

2v⃗1−3v⃗2=2[345]−3[52−1]=[−9213].2\vec v_1-3\vec v_2 =2\begin{bmatrix}3\\4\\5\end{bmatrix} -3\begin{bmatrix}5\\2\\-1\end{bmatrix} =\begin{bmatrix}-9\\2\\13\end{bmatrix}.

Draw 2v⃗12\vec v_1 from the origin, then draw −3v⃗2-3\vec v_2 from the tip of 2v⃗12\vec v_1. The vector from the origin to the final tip is 2v⃗1−3v⃗22\vec v_1-3\vec v_2.

Loading...

Adding 2v⃗12\vec v_1 and −3v⃗2-3\vec v_2 head to tail gives 2v⃗1−3v⃗22\vec v_1-3\vec v_2.

Notice that 2v⃗1−3v⃗22\vec v_1-3\vec v_2 also lives on this same plane. In fact, every linear combination of v⃗1\vec v_1 and v⃗2\vec v_2 lives on this plane, and every vector that lives on this plane can be written as a linear combination of v⃗1\vec v_1 and v⃗2\vec v_2!

In our example, this gives

P=span⁡(v⃗1,v⃗2)={a[345]+b[52−1]:a,b∈R}={[3a+5b4a+2b5a−b]:a,b∈R}.\begin{aligned} P&=\operatorname{span}(\vec v_1,\vec v_2)\\ &=\left\{a\begin{bmatrix}3\\4\\5\end{bmatrix} +b\begin{bmatrix}5\\2\\-1\end{bmatrix}:a,b\in\mathbb R\right\}\\ &=\left\{\begin{bmatrix}3a+5b\\4a+2b\\5a-b\end{bmatrix}:a,b\in\mathbb R\right\}. \end{aligned}

You can think of aa and bb as two knobs we can turn: aa tells us how much of v⃗1\vec v_1 to use, and bb tells us how much of v⃗2\vec v_2 to use. Letting both range over all real numbers gives the entire plane.

Parametric equations

The same representation terminology applies to planes. Both of the following are vector-parametric forms of PP:

P={a[345]+b[52−1]:a,b∈R},P=\left\{a\begin{bmatrix}3\\4\\5\end{bmatrix} +b\begin{bmatrix}5\\2\\-1\end{bmatrix}:a,b\in\mathbb R\right\},
[xyz]=a[345]+b[52−1],a,b∈R.\begin{bmatrix}x\\y\\z\end{bmatrix} =a\begin{bmatrix}3\\4\\5\end{bmatrix} +b\begin{bmatrix}5\\2\\-1\end{bmatrix},\qquad a,b\in\mathbb R.

Expanding the vector sum gives

[xyz]=[3a+5b4a+2b5a−b].\begin{bmatrix}x\\y\\z\end{bmatrix} =\begin{bmatrix}3a+5b\\4a+2b\\5a-b\end{bmatrix}.

Reading the entries gives the scalar-parametric form:

x=3a+5b,y=4a+2b,z=5a−b,a,b∈R.x=3a+5b,\qquad y=4a+2b,\qquad z=5a-b,\qquad a,b\in\mathbb R.

In the scalar-parametric form above, all three equations use the same two parameters. Each pair (a,b)(a,b) selects one point; allowing both parameters to range independently over all real numbers fills the plane.

Note that the letters aa and bb are arbitrary. We could, and often do, use ss and tt as well.

We can easily move back and forth between the two parametric descriptions of a plane. For example, suppose we’re given the scalar-parametric form

x=s+t,y=s−t,z=2t,s,t∈R.x=s+t,\qquad y=s-t,\qquad z=2t,\qquad s,t\in\mathbb R.

Collecting the coefficients of ss and tt gives

[xyz]=s[110]+t[1−12],s,t∈R.\begin{bmatrix}x\\y\\z\end{bmatrix} =s\begin{bmatrix}1\\1\\0\end{bmatrix} +t\begin{bmatrix}1\\-1\\2\end{bmatrix},\qquad s,t\in\mathbb R.

Equivalently, this plane is

{s[110]+t[1−12]:s,t∈R}\left\{s\begin{bmatrix}1\\1\\0\end{bmatrix} +t\begin{bmatrix}1\\-1\\2\end{bmatrix}:s,t\in\mathbb R\right\}

or even

{a[110]+b[1−12]:a,b∈R}.\left\{a\begin{bmatrix}1\\1\\0\end{bmatrix} +b\begin{bmatrix}1\\-1\\2\end{bmatrix}:a,b\in\mathbb R\right\}.

Here’s a video showing how to visualize a plane in R3\mathbb{R}^3 using Desmos 3D.

Different vectors spanning the same plane

Recall, the plane PP is defined as the span of v⃗1\vec v_1 and v⃗2\vec v_2,

v⃗1=[345],v⃗2=[52−1].\vec v_1=\begin{bmatrix}3\\4\\5\end{bmatrix},\qquad \vec v_2=\begin{bmatrix}5\\2\\-1\end{bmatrix}.

Key idea: the exact same plane, PP, can also be written as the span of other pairs of vectors! To illustrate, let’s define two new vectors, v⃗3\vec v_3 and v⃗4\vec v_4, using our original two:

v⃗3=v⃗1−v⃗2,v⃗4=2v⃗1+3v⃗2.\vec v_3=\vec v_1-\vec v_2,\qquad\vec v_4=2\vec v_1+3\vec v_2.

The resulting vectors

v⃗3=[−226],v⃗4=[21147],\vec v_3=\begin{bmatrix}-2\\2\\6\end{bmatrix},\qquad \vec v_4=\begin{bmatrix}21\\14\\7\end{bmatrix},

also span PP:

P=span⁡(v⃗1,v⃗2)=span⁡(v⃗3,v⃗4).P=\operatorname{span}(\vec v_1,\vec v_2)=\operatorname{span}(\vec v_3,\vec v_4).

Why? Each pair can be built from the other pair. That means anything we can build using one pair can also be built using the other. Let’s check this carefully.

  • By construction, any linear combination of v⃗3\vec v_3 and v⃗4\vec v_4 is also a linear combination of v⃗1\vec v_1 and v⃗2\vec v_2:

    cv⃗3+dv⃗4=c(v⃗1−v⃗2)+d(2v⃗1+3v⃗2)=(c+2d)v⃗1+(−c+3d)v⃗2.\begin{aligned} c\vec v_3+d\vec v_4 &=c(\vec v_1-\vec v_2)+d(2\vec v_1+3\vec v_2)\\ &=(c+2d)\vec v_1+(-c+3d)\vec v_2. \end{aligned}

    So every vector in span⁡(v⃗3,v⃗4)\operatorname{span}(\vec v_3,\vec v_4) belongs to PP.

  • But that’s only half of what we need. We also need to show that we can build v⃗1\vec v_1 and v⃗2\vec v_2 using v⃗3\vec v_3 and v⃗4\vec v_4. Notice that

    3v⃗3+v⃗4=3(v⃗1−v⃗2)+(2v⃗1+3v⃗2)=5v⃗1,v⃗4−2v⃗3=(2v⃗1+3v⃗2)−2(v⃗1−v⃗2)=5v⃗2\begin{aligned} 3\vec v_3+\vec v_4 &=3(\vec v_1-\vec v_2)+(2\vec v_1+3\vec v_2)=5\vec v_1,\\ \vec v_4-2\vec v_3 &=(2\vec v_1+3\vec v_2)-2(\vec v_1-\vec v_2)=5\vec v_2 \end{aligned}

    so

    v⃗1=35v⃗3+15v⃗4,v⃗2=−25v⃗3+15v⃗4.\vec v_1=\frac35\vec v_3+\frac15\vec v_4,\qquad \vec v_2=-\frac25\vec v_3+\frac15\vec v_4.

    Therefore, any vector in PP can also be written as

    av⃗1+bv⃗2=a(35v⃗3+15v⃗4)+b(−25v⃗3+15v⃗4)=3a−2b5v⃗3+a+b5v⃗4.\begin{aligned} a\vec v_1+b\vec v_2 &=a\left(\frac35\vec v_3+\frac15\vec v_4\right) +b\left(-\frac25\vec v_3+\frac15\vec v_4\right)\\ &=\frac{3a-2b}{5}\vec v_3+\frac{a+b}{5}\vec v_4. \end{aligned}

So, we can move back and forth between the two descriptions: any linear combination of v⃗1\vec v_1 and v⃗2\vec v_2 is also a linear combination of v⃗3\vec v_3 and v⃗4\vec v_4, and vice versa. The coefficients change, but the set of vectors we can reach stays the same!

More generally, any two linearly independent vectors in PP span PP. As in Chapter 2.1, a span description is not unique.

For our original plane, the replacement vectors above give another vector-parametric form:

[xyz]=s[−226]+t[21147],s,t∈R.\begin{bmatrix}x\\y\\z\end{bmatrix} =s\begin{bmatrix}-2\\2\\6\end{bmatrix} +t\begin{bmatrix}21\\14\\7\end{bmatrix},\qquad s,t\in\mathbb R.

Its scalar-parametric form is

x=−2s+21t,y=2s+14t,z=6s+7t.x=-2s+21t,\qquad y=2s+14t,\qquad z=6s+7t.

The point (3,4,5)(3,4,5) occurred at a=1,b=0a=1,b=0 in the original parametrization. Here it occurs at s=3/5,t=1/5s=3/5,t=1/5. The same point can have different parameter values in different parametrizations.

Here’s a video synthesizing the main ideas of this section.

What’s next? This section described how to express lines and planes in R3\mathbb{R}^3 in parametric form, using the fact that they can be thought of as spans of vectors. In Chapter 2.5, we will describe lines and planes in R3\mathbb{R}^3 using linear equations: that is, equations of the form

ax+by+cz=d.ax + by + cz = d.