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.6: Affine lines and planes in ℝ³

In Chapter 2.4, we described lines and planes through the origin in parametric form. In Chapter 2.5, we described them using linear equations of the form

ax+by+cz=d,ax + by + cz = d,

where dd was forced to be 0.

Let’s now think about lines and planes in R3\mathbb{R}^3 that are not required to pass through the origin. These are called affine lines and planes.

As we discussed in Chapter 2.1 when we introduced affine lines in R2\mathbb{R}^2, the idea is to add a fixed vector p⃗\vec p to every vector in the set. The direction(s) stay the same, but the starting point changes.


Translating a plane

Recall the plane

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

It has normal vector and equation

w⃗=[1−21],x−2y+z=0.\vec w=\begin{bmatrix}1\\-2\\1\end{bmatrix},\qquad x-2y+z=0.
Loading...

The plane P=span⁡(v⃗1,v⃗2)P=\operatorname{span}(\vec v_1,\vec v_2), with equation x−2y+z=0x-2y+z=0, before translation.

This plane passes through the origin. Let’s suppose we add the vector p⃗=[003]\vec p = \begin{bmatrix} 0 \\ 0 \\ 3 \end{bmatrix} to every vector on the plane. The new plane has the vector-parametric form

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

Adding p⃗=[003]\vec p=\begin{bmatrix}0\\0\\3\end{bmatrix} translates PP to the parallel plane x−2y+z=3x-2y+z=3.

How do we express this translated plane as a linear equation? First, note that translation preserves the directions in the plane, so w⃗=[1−21]\vec w=\begin{bmatrix}1\\-2\\1\end{bmatrix} is still a normal vector. A vector x⃗=[xyz]\vec x=\begin{bmatrix}x\\y\\z\end{bmatrix} is on the translated plane exactly when x⃗−p⃗\vec x-\vec p – in other words, x⃗\vec x if we “undo” the translation by the fixed vector p⃗\vec p – is on the original plane, PP. In other words, x⃗−p⃗\vec x - \vec p is on the translated plane when x⃗−p⃗\vec x - \vec p is orthogonal to the original plane (and new plane)'s normal vector, w⃗\vec w. Therefore,

w⃗⋅(x⃗−p⃗)=0w⃗⋅x⃗=w⃗⋅p⃗\begin{aligned} \vec w\cdot(\vec x-\vec p)&=0\\ \vec w\cdot\vec x&=\vec w\cdot\vec p\\ \end{aligned}

The equation w⃗⋅x⃗=w⃗⋅p⃗\vec w \cdot \vec x = \vec w \cdot \vec p is what we will use to find the constant value of dd in

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

In our current example,

w⃗⋅x⃗=[1−21]⋅[xyz]\vec w \cdot \vec x = \begin{bmatrix} 1 \\ -2 \\ 1 \end{bmatrix} \cdot \begin{bmatrix} x \\ y \\ z \end{bmatrix}

and

w⃗⋅p⃗=[1−21]⋅[003]=1(0)−2(0)+1(3)=3\vec w \cdot \vec p = \begin{bmatrix} 1 \\ -2 \\ 1 \end{bmatrix} \cdot \begin{bmatrix} 0 \\ 0 \\ 3 \end{bmatrix} = 1(0) -2(0) +1(3) = 3

so the linear equation for the translated plane is

x−2y+z=3.x - 2y + z = 3.

More generally, a plane has equation ax+by+cz=dax+by+cz=d, where the normal vector [abc]\begin{bmatrix}a\\b\\c\end{bmatrix} is nonzero. If d=0d=0, the equation is homogeneous and the plane passes through the origin. If d≠0d\ne0, it is nonhomogeneous and the plane does not pass through the origin.


Translating a line

The same idea works for a line. Recall

ℓ=span⁡(v⃗1),v⃗1=[345].\ell=\operatorname{span}(\vec v_1),\qquad \vec v_1=\begin{bmatrix}3\\4\\5\end{bmatrix}.

In Chapter 2.5, we used the two independent normals

n⃗1=[1−21],n⃗2=[21−2].\vec n_1=\begin{bmatrix}1\\-2\\1\end{bmatrix},\qquad \vec n_2=\begin{bmatrix}2\\1\\-2\end{bmatrix}.

Both dot products with v⃗1\vec v_1 are zero. The line is therefore the intersection of x−2y+z=0x-2y+z=0 and 2x+y−2z=02x+y-2z=0. Adding p⃗\vec p to each vector on ℓ=span⁡(v⃗1)\ell=\operatorname{span}(\vec v_1) gives

[xyz]=[003]+t[345],t∈R.\begin{bmatrix}x\\y\\z\end{bmatrix} =\begin{bmatrix}0\\0\\3\end{bmatrix} +t\begin{bmatrix}3\\4\\5\end{bmatrix},\qquad t\in\mathbb R.

Again, we haven’t changed the direction of the line, so we can keep the same normal vectors n⃗1\vec n_1 and n⃗2\vec n_2. Taking their dot products with p⃗\vec p gives the new right-hand sides, 3 and -6:

{x−2y+z=3,2x+y−2z=−6.\begin{cases}x-2y+z=3,\\2x+y-2z=-6.\end{cases}

An affine line in R3\mathbb R^3 is the intersection of two planes with independent normal vectors. Translating changes the right-hand sides of their equations while preserving the direction of the line.

Loading...

The two translated planes intersect in the affine line through (0,0,3)(0,0,3) with direction v⃗1\vec v_1.

Another example

Consider the affine line LL in scalar-parametric form:

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

Choose the normals n⃗1=[031]\vec n_1=\begin{bmatrix}0\\3\\1\end{bmatrix} and n⃗2=[−302]\vec n_2=\begin{bmatrix}-3\\0\\2\end{bmatrix} which are perpendicular to this line’s direction: their dot products with [2−13]\begin{bmatrix}2\\-1\\3\end{bmatrix} are −3+3=0-3+3=0 and −6+6=0-6+6=0. Their dot products with the starting point p⃗=[12−1]\vec p=\begin{bmatrix}1\\2\\-1\end{bmatrix} are 5 and -5. Thus,

L={x⃗∈R3:n⃗1⋅x⃗=n⃗1⋅p⃗,n⃗2⋅x⃗=n⃗2⋅p⃗},L=\left\{\vec x\in\mathbb R^3: \vec n_1\cdot\vec x=\vec n_1\cdot\vec p,\quad \vec n_2\cdot\vec x=\vec n_2\cdot\vec p\right\},

or, in scalar equations,

{3y+z=5,−3x+2z=−5.\begin{cases}3y+z=5,\\-3x+2z=-5.\end{cases}

These planes intersect in LL. To check, let z=−1+3tz=-1+3t in the system; the equations give y=2−ty=2-t and x=1+2tx=1+2t.

An affine line or plane need not pass through the origin, but it can. Translation does not automatically make every right-hand side nonzero: each constant is determined by the corresponding dot product.