Section 6.5 Lines and Planes
¶Lines and planes are perhaps the simplest of curves and surfaces in three dimensional space. They also will prove important as we seek to understand more complicated curves and surfaces.
You may recall that the equation of a line in two dimensions is \(ax+by=c\text{;}\) it is reasonable to expect that a line in three dimensions is given by \(ax + by +cz = d\text{.}\) However it turns out that this is the equation of a plane. We will turn our attention to a study of planes and return to consider lines later in this section.
A plane does not have an obvious “direction” as does a line. It is possible to associate a plane with a direction in a very useful way, however: there are exactly two directions perpendicular to a plane. Any vector with one of these two directions is called normal to the plane. While there are many normal vectors to a given plane, they are all parallel or antiparallel to each other.
Suppose two points \((v_1,v_2,v_3)\) and \((w_1,w_2,w_3)\) are in a plane; then the vector \(\langle w_1v_1,w_2v_2,w_3v_3\rangle\) is parallel to the plane. In particular, if this vector is placed with its tail at \((v_1,v_2,v_3)\) then its head is at \((w_1,w_2,w_3)\) and it lies in the plane. As a result, any vector perpendicular to the plane is perpendicular to \(\langle w_1v_1,w_2v_2,w_3v_3\rangle\text{.}\) In fact, it is easy to see that the plane consists of precisely those points \((w_1,w_2,w_3)\) for which \(\langle w_1v_1,w_2v_2,w_3v_3\rangle\) is perpendicular to a normal to the plane, as indicated in Figure 6.11. Turning this around, suppose we know that \(\langle a,b,c\rangle\) is normal to a plane containing the point \((v_1,v_2,v_3)\text{.}\) Then \((x,y,z)\) is in the plane if and only if \(\langle a,b,c\rangle\) is perpendicular to \(\langle xv_1,yv_2,zv_3\rangle\text{.}\) In turn, we know that this is true precisely when \(\langle a,b,c\rangle\cdot\langle xv_1,yv_2,zv_3\rangle=0\text{.}\) That is, \((x,y,z)\) is in the plane if and only if
Working backwards, note that if \((x,y,z)\) is a point satisfying \(ax+by+cz=d\) then
Namely, \(\langle a,b,c\rangle\) is perpendicular to the vector with tail at \((d/a,0,0)\) and head at \((x,y,z)\text{.}\) This means that the points \((x,y,z)\) that satisfy the equation \(ax+by+cz=d\) form a plane perpendicular to \(\langle a,b,c\rangle\text{.}\) (This doesn't work if \(a=0\text{,}\) but in that case we can use \(b\) or \(c\) in the role of \(a\text{.}\) That is, either \(a(x0)+b(yd/b)+c(z0)=0\) or \(a(x0)+b(y0)+c(zd/c)=0\text{.}\))
Thus, given a vector \(\langle a,b,c\rangle\) we know that all planes perpendicular to this vector have the form \(ax+by+cz=d\text{,}\) and any surface of this form is a plane perpendicular to \(\langle a,b,c\rangle\text{.}\)
Definition 6.10. Scalar Equation of a Plane.
Any plane can be written in the form
where \(a, b, c, d\) are constants and not all \(a, b, c\) are zero.
This plane is perpendicular to the vector \(\langle a,b,c \rangle\text{.}\)
Example 6.11. Perpendicular Plane.
Find an equation for the plane perpendicular to \(\langle 1,2,3\rangle\) and containing the point \((5,0,7)\text{.}\)
Using the formula above, the plane is \(1x+2y+3z=d\text{.}\) To find \(d\) we may substitute the known point on the plane to get \(5+2\cdot0+3\cdot7=d\text{,}\) so \(d=26\text{.}\)
Example 6.12. Normal Vector.
Find a vector normal to the plane \(2x3y+z=15\text{.}\)
One example is \(\langle 2, 3,1\rangle\text{.}\) Any vector parallel or antiparallel to this works as well, so for example \(2\langle 2, 3,1\rangle=\langle 4,6,2\rangle\) is also normal to the plane.
We will frequently need to find an equation for a plane given certain information about the plane. While there may occasionally be slightly shorter ways to get to the desired result, it is always possible, and usually advisable, to use the given information to find a normal to the plane and a point on the plane, and then to find the equation as above.
Example 6.13. Plane Perpendicular.
The planes \(xz=1\) and \(y+2z=3\) intersect in a line. Find a third plane that contains this line and is perpendicular to the plane \(x+y2z=1\text{.}\)
First, we note that two planes are perpendicular if and only if their normal vectors are perpendicular. Thus, we seek a vector \(\langle a,b,c\rangle\) that is perpendicular to \(\langle 1,1,2\rangle\text{.}\) In addition, since the desired plane is to contain a certain line, \(\langle a,b,c\rangle\) must be perpendicular to any vector parallel to this line. Since \(\langle a,b,c\rangle\) must be perpendicular to two vectors, we may find it by computing the cross product of the two.
Therefore we need a vector parallel to the line of intersection of the given planes. For this, it suffices to know two points on the line. To find two points on this line, we must find two points that are simultaneously on the two planes, \(xz=1\) and \(y+2z=3\text{.}\) Any point on both planes will satisfy \(xz=1\) and \(y+2z=3\text{.}\) It is easy to find values for \(x\) and \(z\) satisfying the first, such as \(x=1, z=0\) and \(x=2, z=1\text{.}\) Then we can find corresponding values for \(y\) using the second equation, namely \(y=3\) and \(y=1\text{,}\) so \((1,3,0)\) and \((2,1,1)\) are two such points. They are both on the line of intersection since they are contained in both planes.
Now \(\langle 21,13,10\rangle=\langle 1,2,1\rangle\) is parallel to the line. Finally, we may choose \(\langle a,b,c\rangle=\langle 1,1,2\rangle\times \langle 1,2,1\rangle=\langle 3,3,3\rangle\text{.}\) While this vector will do perfectly well, any vector parallel or antiparallel to it will work as well. For example we might choose \(\langle 1,1,1\rangle\) which is antiparallel to it, and easier to work with.
Now we know that \(\langle 1,1,1\rangle\) is normal to the desired plane and \((2,1,1)\) is a point on the plane. This gives an equation of \((1)x + (1)y + (1)z = d\text{.}\) Substituting the value of the point into the equation gives \(d = 4\text{,}\) and therefore an equation of the plane is \(x+y+z=4\text{.}\) As a quick check, since \((1,3,0)\) is also on the line, it should be on the plane; since \(1+3+0=4\text{,}\) we see that this is indeed the case.
Note that had we used \(\langle 3,3,3\rangle\) as the normal, we would have discovered the equation \(3x3y3z=12\text{.}\) Then we might well have noticed that we could divide both sides by \(3\) to get the equivalent \(x+y+z=4\text{.}\)
We will now turn our attention to a study of lines. Unfortunately, it turns out to be quite inconvenient to represent a typical line with a single equation; we need to approach lines in a different way.
Unlike a plane, a line in three dimensions does have an obvious direction, namely, the direction of any vector parallel to it. In fact a line can be defined and uniquely identified by providing one point on the line and a vector parallel to the line (in one of two possible directions). That is, the line consists of exactly those points we can reach by starting at the point and going for some distance in the direction of the vector. Let's see how we can translate this into more mathematical language.
Suppose a line contains the point \((v_1,v_2,v_3)\) and is parallel to the vector \(\langle a,b,c\rangle\text{.}\) If we place the vector \(\langle v_1,v_2,v_3\rangle\) with its tail at the origin and its head at \((v_1,v_2,v_3)\text{,}\) and if we place the vector \(\langle a,b,c\rangle\) with its tail at \((v_1,v_2,v_3)\text{,}\) then the head of \(\langle a,b,c\rangle\) is at a point on the line. We can get to any point on the line by doing the same thing, except using \(t\langle a,b,c\rangle\) in place of \(\langle a,b,c\rangle\text{,}\) where \(t\) is some real number. Because of the way vector addition works, the point at the head of the vector \(t\langle a,b,c\rangle\) is the point at the head of the vector \(\langle v_1,v_2,v_3\rangle+t\langle a,b,c\rangle\text{,}\) namely \((v_1+ta,v_2+tb,v_3+tc)\text{;}\) see Figure 6.12.
In other words, as \(t\) runs through all possible real values, the vector \(\langle v_1,v_2,v_3\rangle+t\langle a,b,c\rangle\) points to every point on the line when its tail is placed at the origin. It is occasionally useful to use this form of a line even in two dimensions; a vector form for a line in the \(x\)\(y\)plane is \(\langle v_1,v_2\rangle+t\langle a,b\rangle\text{,}\) which is the same as \(\langle v_1,v_2,0\rangle+t\langle a,b,0\rangle\text{.}\)
Definition 6.14.
{Vector Equation of a Line} An equation for a line passing through point \((v_1, v_2, v_3)\) and parallel to the vector\(\langle a, b, c\rangle\) is
where the vector \(\langle a, b, c\rangle\) is called the direction vector for the line.
Another common way to write this is as a set of parametric equations:
Definition 6.15. Parametric Equations of a Line.
A line in space can be described as
where \((v_1, v_2, v_3)\) is a point on the line and \(\langle a, b, c \rangle\) is parallel to the line.
Example 6.16. Vector Expression.
Find a vector expression for the line through \((6,1,3)\) and \((2,4,5)\text{.}\)
To get a vector parallel to the line we subtract \(\langle 6,1,3\rangle\langle2,4,5\rangle=\langle 4,3,8\rangle\text{.}\) The line is then given by \(\langle 2,4,5\rangle+t\langle 4,3,8\rangle\text{;}\) there are of course many other possibilities, such as \(\langle 6,1,3\rangle+t\langle 4,3,8\rangle\text{.}\)
Example 6.17. Intersecting Lines.
Determine whether the lines \(\langle 1,1,1\rangle+t\langle 1,2,1\rangle\) and \(\langle 3,2,1\rangle+t\langle 1,5,3\rangle\) are parallel, intersect, or neither.
In two dimensions, two lines either intersect or are parallel; in three dimensions, lines that do not intersect might not be parallel. In this case, since the direction vectors for the lines are not parallel or antiparallel we know the lines are not parallel. If they intersect, there must be two values \(a\) and \(b\) so that \(\langle 1,1,1\rangle+a\langle 1,2,1\rangle= \langle 3,2,1\rangle+b\langle 1,5,3\rangle\text{.}\) That is, the following must have a solution:
This gives three equations in two unknowns, so there may or may not be a solution in general. In this case, it is easy to discover that \(a=3\) and \(b=1\) satisfies all three equations. Substituting these values into \(\langle 1,1,1\rangle+a\langle 1,2,1\rangle= \langle 3,2,1\rangle+b\langle 1,5,3\rangle\text{,}\) the point of intersection is \((4,7,2)\text{.}\)
Example 6.18. Distance from a Point to a Plane.
Find the distance from the point \((1,2,3)\) to the plane \(2xy+3z=5\text{.}\)
The distance from a point \(P\) to a plane is the shortest distance from \(P\) to any point on the plane; this is the distance measured from \(P\) perpendicular to the plane; see Figure 6.13. This distance is the absolute value of the scalar projection of \(\overrightarrow{\strut QP}\) onto a normal vector \(\vect{n}\text{,}\) where \(Q\) is any point on the plane. It is easy to find a point on the plane, say \((1,0,1)\text{.}\) Thus the distance is
Example 6.19. Distance from a Point to a Line.
Find the distance from the point \((1,2,1)\) to the line \(\langle 1,1,1\rangle + t\langle 2,3,1\rangle\text{.}\)
Again we want the distance measured perpendicular to the line, as indicated in Figure 6.14. The desired distance is
where \(\vect{v}\) is any vector parallel to the line. From the equation of the line, we can use \(Q=(1,1,1)\) and \(\vect{v}=\langle 2,3,1\rangle\) along with \(P = (1,2,1)\text{,}\) so the distance is
Exercises for Section 6.5.
Exercise 6.5.1.
Find an equation of the plane which satisfies the given conditions.

contains \((6,2,1)\text{,}\) perpendicular to \(\langle 1,1,1\rangle\)
Answer\((x6)+(y2)+(z1)=0\) 
contains \((1,2,3)\text{,}\) perpendicular to \(\langle 4,5,1\rangle\)
Answer\(4(x+1)+5(y2)(z+3)=0\) 
contains \((1,2,3)\text{,}\) \((0,1,2)\text{,}\) \((1,2,2)\)
Answer\((x1)(y2)=0\) 
contains \((1,0,0)\text{,}\) \((4,2,0)\text{,}\) \((3,2,1)\)
Answer\(2(x1)+3y2z=0\) 
contains \((1,0,0)\text{,}\) \((4,2,0)\text{,}\) \((3,2,1)\)
Answer\(4(x1)6y = 0\) 
contains \((1,0,0)\) and the line \(\langle 1,0,2\rangle + t\langle 3,2,1\rangle\)
Answer\(x+3y=0\) contains the line of intersection of \(x+y+z=1\) and \(xy+2z=2\text{,}\) perpendicular to the \(x\)\(y\) plane
Exercise 6.5.2.
Find an equation of the line which satisfies the given conditions.

passes through \((1,0,3)\text{,}\) \((1,2,4)\)
Answer\(\langle 1,0,3\rangle+t\langle 0,2,1\rangle\) 
passes through \((1,0,3)\text{,}\) perpendicular to the plane \(x+2yz=1\)
Answer\(\langle 1,0,3\rangle+t\langle 1,2,1\rangle\) 
passes through the origin, perpendicular to the plane \(x+yz=2\)
Answer\(t\langle 1,1,1\rangle\)
Exercise 6.5.3.
Find \(a\) and \(c\) so that \((a,1,c)\) is on the line through \((0,2,3)\) and \((2,7,5)\text{.}\)
Answer\(2/5\text{,}\) \(13/5\)
Exercise 6.5.4.
Explain how to discover the solution in Example 6.17.
Exercise 6.5.5.
Determine whether the given lines are parallel, intersect, or neither.

\(\langle 1,3,1\rangle+t\langle 1,1,0\rangle\) and \(\langle 0,0,0\rangle+t\langle 1,4,5\rangle\)
Answerneither 
\(\langle 1,0,2\rangle+t\langle 1,1,2\rangle\) and \(\langle 4,4,2\rangle+t\langle 2,2,4\rangle\)
Answerparallel 
\(\langle 1,2,1\rangle+t\langle 1,2,3\rangle\) and \(\langle 1,0,1\rangle+t\langle 2/3,2,4/3\rangle\)
Answerintersect at \((3,6,5)\) 
\(\langle 1,1,2\rangle+t\langle 1,2,3\rangle\) and \(\langle 2,3,1\rangle+t\langle 2,4,6\rangle\)
Answersame line
Exercise 6.5.6.
Find a unit normal vector to each of the coordinate planes.
Exercise 6.5.7.
Show that \(\langle 2,1,3 \rangle + t \langle 1,1,2 \rangle\) and \(\langle 3, 2, 5 \rangle + s \langle 2, 2, 4 \rangle\) are the same line.
Exercise 6.5.8.
Give a prose description for each of the following processes:
Given two distinct points, find the line that goes through them.
Given three points (not all on the same line), find the plane that goes through them. Why do we need the caveat that not all points be on the same line?
Given a line and a point not on the line, find the plane that contains them both.
Given a plane and a point not on the plane, find the line that is perpendicular to the plane through the given point.
Exercise 6.5.9.
Find the distance: