Active Calculus · 9: Multivariable and Vector Functions

9.5: Lines and Planes in Space

Motivating Questions
  • How are lines in R3\mathbb{R}^3 similar to and different from lines in R2?\mathbb{R}^2\text{?}
  • What is the role that vectors play in representing equations of lines, particularly in R3?\mathbb{R}^3\text{?}
  • How can we think of a plane as a set of points determined by a point and a vector?
  • How do we find the equation of a plane through three given non-collinear points?

In single variable calculus, we learn that a differentiable function is locally linear. In other words, if we zoom in on the graph of a differentiable function at a point, the graph looks like the tangent line to the function at that point. Linear functions played important roles in single variable calculus, useful in approximating differentiable functions, in approximating roots of functions (see Newton's Method), and approximating solutions to first order differential equations (see Euler's Method). In multivariable calculus, we will soon study curves in space; differentiable curves turn out to be locally linear as well. In addition, as we study functions of two variables, we will see that such a function is locally linear at a point if the surface defined by the function looks like a plane (the tangent plane) as we zoom in on the graph.

Consequently, it is important for us to understand both lines and planes in space, as these define the linear functions in R2\mathbb{R}^2 and R3.\mathbb{R}^3\text{.} (Recall that a function is linear if it is a polynomial function whose terms all have degree less than or equal to 1. For example, xx defines a single variable linear function and x+yx+y a two variable linear function, but xyxy is not linear since it has degree two, the sum of the degress of its factors.) We begin our work by considering some familiar ideas in R2\mathbb{R}^2 but from a new perspective.

Preview Activity 9.5.19.5.1

We are familiar with equations of lines in the plane in the form y=mx+b,y = mx+b\text{,} where mm is the slope of the line and (0,b)(0,b) is the yy-intercept. In this activity, we explore a more flexible way of representing lines that we can use not only in the plane, but in higher dimensions as well.

To begin, consider the line through the point (2,−1)(2,-1) with slope 23\frac{2}{3} as shown in Figure 9.5.19.5.1.

fig_9_5_PA1.svg

Figure 9.5.19.5.1. The line through (2,−1)(2,-1) with slope 23.\frac{2}{3}\text{.}
  1. Suppose we increase xx by 1 from the point (2,−1).(2,-1)\text{.} How does the yy-value change? What is the point on the line with xx-coordinate 3?3\text{?}
  2. Suppose we decrease xx by 3.25 from the point (2,−1).(2,-1)\text{.} How does the yy-value change? What is the point on the line with xx-coordinate −1.25?-1.25\text{?}
  3. Now, suppose we increase xx by some arbitrary value 3t3t from the point (2,−1).(2,-1)\text{.} How does the yy-value change? What is the point on the line with xx-coordinate 2+3t?2+3t\text{?}
  4. Observe that the slope of the line is related to any vector whose yy-component divided by the xx-component is the slope of the line. For the line in this exercise, we might use the vector ⟨3,2⟩,\langle 3,2 \rangle\text{,} which describes the direction of the line. Explain why the terminal points of the vectors r(t),\mathbf{r}(t)\text{,} where

    r(t)=⟨2,−1⟩+⟨3,2⟩t, \mathbf{r}(t) = \langle 2,-1 \rangle + \langle 3,2 \rangle t,

    trace out the graph of the line through the point (2,−1)(2,-1) with slope 23.\frac{2}{3}\text{.}

  5. Now we extend this vector approach to R3\mathbb{R}^3 and consider a second example. Let L\mathcal{L} be the line in R3\mathbb{R}^3 through the point (1,0,2)(1,0,2) in the direction of the vector ⟨2,−1,4⟩.\langle 2, -1, 4 \rangle\text{.} Find the coordinates of three distinct points on line L.\mathcal{L}\text{.} Explain your thinking.
  6. Find a vector in the form
    r(t)=⟨x0,y0,z0⟩+⟨a,b,c⟩t \mathbf{r}(t) = \langle x_0, y_0, z_0 \rangle + \langle a,b,c \rangle t

    whose terminal points trace out the line L\mathcal{L} that is described in (e). That is, you should be able to locate any point on the line by determining a corresponding value of t.t\text{.}

Lines in Space

In two-dimensional space, a non-vertical line is defined to be the set of points satisfying the equation

y=mx+b, y = mx + b,

for some constants mm and b.b\text{.} The value of mm (the slope) tells us how the dependent variable changes for every one unit increase in the independent variable, while the point (0,b)(0,b) is the yy-intercept and anchors the line to a location on the yy-axis. Alternatively, we can think of the slope as being related to the vector ⟨1,m⟩,\langle 1, m \rangle\text{,} which tells us the direction of the line, as shown on the left in Figure 9.5.29.5.2. Thus, we can identify a line in space by fixing a point PP and a direction v,\mathbf{v}\text{,} as shown on the right. Since we also have vectors in space to provide direction, this same idea of a point and a direction determining a line works in Rn\mathbb{R}^n for any n.n\text{.}

fig_9_5_line_slope.svg

Figure 9.5.29.5.2. A vector description of a line
Definition 9.5.19.5.1

A line in space is the set of terminal points of vectors emanating from a given point PP that are parallel to a fixed vector v.\mathbf{v}\text{.}

The fixed vector v\mathbf{v} in the definition is called a direction vector for the line. As we saw in Preview Activity 9.5.19.5.1, to find an equation for a line through point PP in the direction of vector v,\mathbf{v}\text{,} observe that any vector parallel to v\mathbf{v} will have the form tvt \mathbf{v} for some scalar t.t\text{.} So, any vector emanating from the point PP in a direction parallel to the vector v\mathbf{v} will be of the form

OP→+vt(9.5.1) \overrightarrow{OP} + \mathbf{v} t\tag{9.5.19.5.1}

for some scalar tt (where OO is the origin).

fig_9_5_line_2d_01.svgfig_9_5_line_2d_10.svgfig_9_5_line_2d_20.svg

Figure 9.5.39.5.3. A line in 2-space.

Figure 9.5.39.5.3 presents three images of a line in two-space in which we can identify the vector OP→\overrightarrow{OP} and the vector tvt \mathbf{v} as in Equation (9.5.19.5.1). Here, OP→\overrightarrow{OP} is the fixed vector shown in blue, while the direction vector v\mathbf{v} is the vector parallel to the vector shown in green (that is, the green vector represents tv,t\mathbf{v}\text{,} and the line is traced out by the terminal points of the magenta vector). In other words, the tips (terminal points) of the magenta vectors (the vectors of the form OP→+tv\overrightarrow{OP} + t\mathbf{v}) trace out the line as tt changes.

In particular, the terminal points of the vectors of the form in (9.5.19.5.1) define a linear function r\mathbf{r} in space of the following form, which is valid in any dimension.

The vector form of a line

The vector form of a line through the point PP in the direction of the vector v\mathbf{v} is

r(t)=r0+tv,(9.5.2) \mathbf{r}(t) = \mathbf{r}_0 + t\mathbf{v},\tag{9.5.29.5.2}

where r0\mathbf{r}_0 is the position vector OP→\overrightarrow{OP} from the origin to the point P.P\text{.}

Of course, it is common to represent lines in the plane using the slope-intercept equation y=mx+b.y=mx + b\text{.} The vector form of the line, described above, is an alternative way to represent lines that has the following two advantages. First, in two dimensions, we are able to represent vertical lines, whose slope mm is not defined, using a vertical direction vector, such as v=⟨0,1⟩.\mathbf{v}=\langle 0, 1\rangle\text{.} Second, this description of lines works in any dimension even though there is no concept of the slope of a line in more than two dimensions.

fig_9_5_line_3d_01.svgfig_9_5_line_3d_10.svgfig_9_5_line_3d_20.svg

Figure 9.5.49.5.4. A line in 3-space.
Activity 9.5.29.5.2

Let P1=(1,2,−1)P_1 = (1,2,-1) and P2=(−2,1,−2).P_2 = (-2,1,-2)\text{.} Let L\mathcal{L} be the line in R3\mathbb{R}^3 through P1P_1 and P2,P_2\text{,} and note that three snapshots of this line are shown in Figure 9.5.59.5.5.

  1. Find a direction vector for the line L.\mathcal{L}\text{.}
  2. Find a vector equation of L\mathcal{L} in the form r(t)=r0+tv.\mathbf{r}(t) = \mathbf{r}_0 + t\mathbf{v}\text{.}
  3. Consider the vector equation s(t)=⟨−5,0,−3⟩+t⟨6,2,2⟩.\mathbf{s}(t) = \langle -5, 0, -3 \rangle + t \langle 6, 2, 2 \rangle. What is the direction of the line given by s(t)?\mathbf{s}(t)\text{?} Is this new line parallel to line L?\mathcal{L}\text{?}
  4. Do r(t)\mathbf{r}(t) and s(t)\mathbf{s}(t) represent the same line, L?\mathcal{L}\text{?} Explain.

The Parametric Equations of a Line

The vector form of a line, r(t)=r0+tv\mathbf{r}(t) = \mathbf{r}_0 + t\mathbf{v} in Equation (9.5.29.5.2), describes a line as the set of terminal points of the vectors r(t).\mathbf{r}(t)\text{.} If we write this in terms of components letting

r(t)=⟨x(t),y(t),z(t)⟩,   r0=⟨x0,y0,z0⟩,    and    v=⟨a,b,c⟩, \mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle, \ \ \ \mathbf{r}_0 = \langle x_0, y_0, z_0 \rangle, \ \ \ \text{ and } \ \ \ \mathbf{v} = \langle a, b, c \rangle,

then we can equate the components on both sides of r(t)=r0+tv\mathbf{r}(t) = \mathbf{r}_0 + t\mathbf{v} to obtain the equations

x(t)=x0+at,     y(t)=y0+bt,      and    z(t)=z0+ct, x(t) = x_0 + at, \ \ \ \ \ y(t) = y_0 + bt, \ \ \ \ \ \text{ and } \ \ \ z(t) = z_0 + ct,

which describe the coordinates of the points on the line. The variable tt represents an arbitrary scalar and is called a parameter. In particular, we use the following language.

The parametric equations of a line

The parametric equations for a line through the point P=(x0,y0,z0)P = (x_0, y_0, z_0) in the direction of the vector v=⟨a,b,c⟩\mathbf{v} = \langle a,b,c \rangle are

x(t)=x0+at,     y(t)=y0+bt,     z(t)=z0+ct. x(t) = x_0 + at, \ \ \ \ \ y(t) = y_0 + bt, \ \ \ \ \ z(t) = z_0 + ct.

Notice that there are many different parametric equations for the same line. For example, choosing another point PP on the line or another direction vector v\mathbf{v} produces another set of parametric equations. It is sometimes useful to think of tt as a time parameter and the parametric equations as telling us where we are on the line at each time. In this way, the parametric equations describe a particular walk taken along the line; there are, of course, many possible ways to walk along a line.

Activity 9.5.39.5.3

Let P1=(1,2,−1)P_1 = (1,2,-1) and P2=(−2,1,−2),P_2 = (-2,1,-2)\text{,} and let L\mathcal{L} be the line in R3\mathbb{R}^3 through P1P_1 and P2,P_2\text{,} which is the same line as in Activity 9.5.29.5.2.

  1. Find parametric equations of the line L.\mathcal{L}\text{.}
  2. Does the point (1,2,1)(1, 2, 1) lie on L?\mathcal{L}\text{?} If so, what value of tt results in this point?
  3. Consider another line, K,\mathcal{K}\text{,} whose parametric equations are
    x(s)=11+4s,  y(s)=1−3s,  z(s)=3+2s. x(s) = 11 + 4s, \ \ y(s) = 1-3s, \ \ z(s) = 3 + 2s.

    What is the direction of the line K?\mathcal{K}\text{?}

  4. Do the lines L\mathcal{L} and K\mathcal{K} intersect? If so, provide the point of intersection and the tt and ss values, respectively, that result in the point. If not, explain why.

Planes in Space

Now that we have a way of describing lines, we would like to develop a means of describing planes in three dimensions. We studied the coordinate planes and planes parallel to them in Section 9.1. Each of those planes had one of the variables x,x\text{,} y,y\text{,} or zz equal to a constant. We can note that any vector in a plane with xx constant is orthogonal to the vector ⟨1,0,0⟩,\langle 1,0,0 \rangle\text{,} any vector in a plane with yy constant is orthogonal to the vector ⟨0,1,0⟩,\langle 0,1,0 \rangle\text{,} and any vector in a plane with zz constant is orthogonal to the vector ⟨0,0,1⟩.\langle 0,0,1 \rangle\text{.} This idea works in general to define a plane.

Definition 9.5.69.5.6

A plane pp in space is the set of all terminal points of vectors emanating from a given point P0P_0 perpendicular to a fixed vector n,\mathbf{n}\text{,} as shown in Figure 9.5.59.5.5.

fig_9_5_plane_normal.svg
Figure 9.5.59.5.5. A point P0P_0 on a plane pp with a normal vector n\mathbf{n}

The definition allows us to find the equation of a plane. Assume that n=⟨a,b,c⟩,\mathbf{n}=\langle a,b,c\rangle\text{,} P0=(x0,y0,z0),P_0 = (x_0, y_0, z_0)\text{,} and that P=(x,y,z)P=(x,y,z) is an arbitrary point on the plane. Since the vector P0P→\overrightarrow{P_0P} lies in the plane, it must be perpendicular to n.\mathbf{n}\text{.} This means that

0=(n⋅P0P→=(n⋅(⟨x,y,z⟩−⟨x0,y0,z0⟩)=(n⋅⟨x−x0,y−y0,z−z0⟩=(a(x−x0)+b(y−y0)+c(z−z0).\begin{align*} 0 =\mathstrut & \mathbf{n}\cdot\overrightarrow{P_0P}\\[4pt] =\mathstrut & \mathbf{n}\cdot \big(\langle x,y,z \rangle - \langle x_0, y_0, z_0\rangle\big)\\[4pt] =\mathstrut & \mathbf{n} \cdot \langle x-x_0, y-y_0, z-z_0 \rangle\\[4pt] =\mathstrut & a(x-x_0) + b(y-y_0) + c(z-z_0). \end{align*}

The fixed vector n\mathbf{n} perpendicular to the plane is frequently called a normal vector to the plane. We may now summarize as follows.

Equations of a plane
  • The scalar equation of the plane with normal vector n=⟨a,b,c⟩\mathbf{n} =\langle a,b,c \rangle containing the point P0=(x0,y0,z0)P_0 = (x_0, y_0,z_0) is
    a(x−x0)+b(y−y0)+c(z−z0)=0.(9.5.3) a(x-x_0) + b(y-y_0) + c(z-z_0) = 0.\tag{9.5.39.5.3}
  • The vector equation of the plane with normal vector n=⟨a,b,c⟩\mathbf{n} =\langle a,b,c \rangle containing the points P0=(x0,y0,z0)P_0 = (x_0, y_0,z_0) and P=(x,y,z)P = (x,y,z) is
    n⋅P0P→=0.(9.5.4) \mathbf{n} \cdot \overrightarrow{P_0P} = 0.\tag{9.5.49.5.4}

We may take the scalar equation of a plane a little further and note that since

a(x−x0)+b(y−y0)+c(z−z0)=0, a(x-x_0) + b(y-y_0) + c(z-z_0) = 0,

it equivalently follows that

ax+by+cz=ax0+by0+cz0. ax + by + cz = ax_0+by_0+cz_0.

That is, we may write an equation of a plane as ax+by+cz=dax+by+cz = d where d=n⋅⟨x0,y0,z0⟩.d = \mathbf{n}\cdot\langle x_0,y_0,z_0\rangle\text{.}

For instance, if we would like to describe the plane passing through the point P0=(4,−2,1)P_0=(4, -2,1) and perpendicular to the vector n=⟨1,2,1⟩,\mathbf{n} = \langle 1, 2, 1 \rangle\text{,} we have

⟨1,2,1⟩⋅⟨x,y,z⟩=⟨1,2,1⟩⋅⟨4,−2,1⟩ \langle 1,2,1 \rangle\cdot \langle x,y,z\rangle = \langle 1,2,1 \rangle\cdot \langle 4,-2,1\rangle

or

x+2y+z=1. x + 2y + z = 1.

Notice that the coefficients of x,x\text{,} y,y\text{,} and zz in this description give a vector perpendicular to the plane. For instance, if we are presented with the plane

−2x+y−3z=4, -2x + y - 3z = 4,

we know that n=⟨−2,1,−3⟩\mathbf{n} = \langle -2, 1, -3\rangle is a vector perpendicular to the plane.

Activity 9.5.49.5.4
  1. Write a scalar equation of the plane p1p_1 passing through the point (0,2,4)(0, 2, 4) and perpendicular to the vector n=⟨2,−1,1⟩.\mathbf{n}=\langle 2, -1, 1\rangle\text{.}
  2. Is the point (2,0,2)(2, 0, 2) on the plane p1?p_1\text{?}
  3. Write a scalar equation of the plane p2p_2 that is parallel to p1p_1 and passing through the point (3,0,4).(3, 0, 4)\text{.} (Hint: Compare normal vectors of the planes.)
  4. Write a parametric description of the line ll passing through the point (2,0,2)(2,0,2) and perpendicular to the plane p3p_3 described by the equation x+2y−2z=7.x+2y-2z = 7\text{.}
  5. Find the point at which ll intersects the plane p3.p_3\text{.}

Just as two distinct points in space determine a line, three non-collinear points in space determine a plane. Consider three points P0,P_0\text{,} P1,P_1\text{,} and P2P_2 in space, not all lying on the same line as shown in Figure 9.5.69.5.6.

fig_9_5_plane_3pts.svg

Figure 9.5.69.5.6. A plane determined by three points P0,P_0\text{,} P1,P_1\text{,} and P2P_2

Observe that the vectors P0P1→\overrightarrow{P_0P_1} and P0P2→\overrightarrow{P_0P_2} both lie in the plane p.p\text{.} If we form their cross-product

n=P0P1→×P0P2→, \mathbf{n} = \overrightarrow{P_0P_1} \times \overrightarrow{P_0P_2},

we obtain a normal vector to the plane p.p\text{.} Therefore, if PP is any other point on p,p\text{,} it then follows that P0P→\overrightarrow{P_0P} will be perpendicular to n,\mathbf{n}\text{,} and we have, as before, the equation

n⋅P0P→=0.(9.5.5) \mathbf{n} \cdot \overrightarrow{P_0P} = 0.\tag{9.5.59.5.5}
Activity 9.5.59.5.5

Let P0=(1,2,−1),P_0 = (1,2,-1)\text{,} P1=(1,0,−1),P_1 = (1, 0 ,-1)\text{,} and P2=(0,1,3)P_2 = (0,1,3) and let pp be the plane containing P0,P_0\text{,} P1,P_1\text{,} and P2.P_2\text{.}

  1. Determine the components of the vectors P0P1→\overrightarrow{P_0P_1} and P0P2→.\overrightarrow{P_0P_2}\text{.}
  2. Find a normal vector n\mathbf{n} to the plane p.p\text{.}
  3. Find a scalar equation of the plane p.p\text{.}
  4. Consider a second plane, q,q\text{,} with scalar equation −3(x−1)+4(y+3)+2(z−5)=0.-3(x-1) + 4(y+3) + 2(z-5)=0\text{.} Find two different points on plane q,q\text{,} as well as a vector m\mathbf{m} that is normal to q.q\text{.}
  5. The angle between two planes is the acute angle between their respective normal vectors. What is the angle between planes pp and q?q\text{?}

Summary

  • While lines in R3\mathbb{R}^3 do not have a slope, like lines in R2\mathbb{R}^2 they can be characterized by a point and a direction vector. Indeed, we define a line in space to be the set of terminal points of vectors emanating from a given point that are parallel to a fixed vector.
  • Vectors play a critical role in representing the equation of a line. In particular, the terminal points of the vector r(t)=r0+tv\mathbf{r}(t) = \mathbf{r}_0 + t\mathbf{v} define a linear function r\mathbf{r} in space through the terminal point of the vector r0\mathbf{r}_0 in the direction of the vector v,\mathbf{v}\text{,} tracing out a line in space.
  • A plane in space is the set of all terminal points of vectors emanating from a given point perpendicular to a fixed vector.
  • If P1,P_1\text{,} P2,P_2\text{,} and P3P_3 are non-collinear points in space, the vectors P1P2→\overrightarrow{P_1P_2} and and P1P3→\overrightarrow{P_1P_3} are vectors in the plane and the vector n=P1P2→×P1P3→\mathbf{n} = \overrightarrow{P_1P_2} \times \overrightarrow{P_1P_3} is a normal vector to the plane. So any point PP in the plane satisfies the equation PP1→⋅n=0.\overrightarrow{PP_1} \cdot \mathbf{n} = 0\text{.} If we let P=(x,y,z),P = (x,y,z)\text{,} n=⟨a,b,c⟩\mathbf{n} = \langle a,b,c \rangle be the normal vector, and P1=(x0,y0,z0),P_1 = (x_0,y_0,z_0)\text{,} we can also represent the plane with the equation
    a(x−x0)+b(y−y0)+c(z−z0)=0. a(x-x_0) + b(y-y_0) + c(z-z_0) = 0.

Credit and licence

This page titled 9.5: Lines and Planes in Space was last modified on Wed, 09 Nov 2022 19:40:38 GMT and is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Matthew Boelkins, David Austin, and Steven Schlicker ( ScholarWorks @Grand Valley State University ) via source content that was edited to the style and standards of the LibreTexts platform.

Source: https://math.libretexts.org/Bookshelves/Calculus/Active_Calculus_(Boelkins_et_al.)/09%3A_Multivariable_and_Vector_Functions/9.05%3A_Lines_and_Planes_in_Space

Licence: CC BY-SA 4.0 (creativecommons.org/licenses/by-sa/4.0/). You may share and adapt it under the same licence, with this credit. WorldClass adapted the formatting only: the text is the authors', with interactive parts and links to other sites left out.

Build status · Flash Infinity AI™ is a trademark of AI-Flash Inc.. WorldClass is not affiliated with, approved or accredited by any exam board, curriculum provider or university unless a page says so.