Calculus Volume 3

# 2.5Equations of Lines and Planes in Space

Calculus Volume 32.5 Equations of Lines and Planes in Space

## Learning Objectives

• 2.5.1 Write the vector, parametric, and symmetric equations of a line through a given point in a given direction, and a line through two given points.
• 2.5.2 Find the distance from a point to a given line.
• 2.5.3 Write the vector and scalar equations of a plane through a given point with a given normal.
• 2.5.4 Find the distance from a point to a given plane.
• 2.5.5 Find the angle between two planes.

By now, we are familiar with writing equations that describe a line in two dimensions. To write an equation for a line, we must know two points on the line, or we must know the direction of the line and at least one point through which the line passes. In two dimensions, we use the concept of slope to describe the orientation, or direction, of a line. In three dimensions, we describe the direction of a line using a vector parallel to the line. In this section, we examine how to use equations to describe lines and planes in space.

## Equations for a Line in Space

Let’s first explore what it means for two vectors to be parallel. Recall that parallel vectors must have the same or opposite directions. If two nonzero vectors, $uu$ and $v,v,$ are parallel, we claim there must be a scalar, $k,k,$ such that $u=kv.u=kv.$ If $uu$ and $vv$ have the same direction, simply choose $k=‖u‖‖v‖.k=‖u‖‖v‖.$ If $uu$ and $vv$ have opposite directions, choose $k=−‖u‖‖v‖.k=−‖u‖‖v‖.$ Note that the converse holds as well. If $u=kvu=kv$ for some scalar $k,k,$ then either $uu$ and $vv$ have the same direction $(k>0)(k>0)$ or opposite directions $(k<0),(k<0),$ so $uu$ and $vv$ are parallel. Therefore, two nonzero vectors $uu$ and $vv$ are parallel if and only if $u=kvu=kv$ for some scalar $k.k.$ By convention, the zero vector $00$ is considered to be parallel to all vectors.

As in two dimensions, we can describe a line in space using a point on the line and the direction of the line, or a parallel vector, which we call the direction vector (Figure 2.63). Let $LL$ be a line in space passing through point $P(x0,y0,z0).P(x0,y0,z0).$ Let $v=〈a,b,c〉v=〈a,b,c〉$ be a vector parallel to $L.L.$ Then, for any point $Q(x,y,z)Q(x,y,z)$ on line $LL$, we know that $PQ→PQ→$ is parallel to $v.v.$ Thus, as we just discussed, there is a scalar, $t,t,$ such that $PQ→=tv,PQ→=tv,$ which gives

$PQ→=tv〈x−x0,y−y0,z−z0〉=t〈a,b,c〉〈x−x0,y−y0,z−z0〉=〈ta,tb,tc〉.PQ→=tv〈x−x0,y−y0,z−z0〉=t〈a,b,c〉〈x−x0,y−y0,z−z0〉=〈ta,tb,tc〉.$
(2.11)
Figure 2.63 Vector v is the direction vector for $PQ→.PQ→.$

Using vector operations, we can rewrite Equation 2.11 as

$〈x−x0,y−y0,z−z0〉=〈ta,tb,tc〉〈x,y,z〉−〈x0,y0,z0〉=t〈a,b,c〉〈x,y,z〉=〈x0,y0,z0〉+t〈a,b,c〉.〈x−x0,y−y0,z−z0〉=〈ta,tb,tc〉〈x,y,z〉−〈x0,y0,z0〉=t〈a,b,c〉〈x,y,z〉=〈x0,y0,z0〉+t〈a,b,c〉.$

Setting $r=〈x,y,z〉r=〈x,y,z〉$ and $r0=〈x0,y0,z0〉,r0=〈x0,y0,z0〉,$ we now have the vector equation of a line:

$r=r0+tv.r=r0+tv.$
(2.12)

Equating components, Equation 2.11 shows that the following equations are simultaneously true: $x−x0=ta,x−x0=ta,$ $y−y0=tb,y−y0=tb,$ and $z−z0=tc.z−z0=tc.$ If we solve each of these equations for the component variables $x,y,andz,x,y,andz,$ we get a set of equations in which each variable is defined in terms of the parameter t and that, together, describe the line. This set of three equations forms a set of parametric equations of a line:

$x=x0+tay=y0+tbz=z0+tc.x=x0+tay=y0+tbz=z0+tc.$

If we solve each of the equations for $tt$ assuming $a,b,andca,b,andc$ are nonzero, we get a different description of the same line:

$x−x0a=ty−y0b=tz−z0c=t.x−x0a=ty−y0b=tz−z0c=t.$

Because each expression equals t, they all have the same value. We can set them equal to each other to create symmetric equations of a line:

$x−x0a=y−y0b=z−z0c.x−x0a=y−y0b=z−z0c.$

We summarize the results in the following theorem.

## Theorem2.11

### Parametric and Symmetric Equations of a Line

A line $LL$ parallel to vector $v=〈a,b,c〉v=〈a,b,c〉$ and passing through point $P(x0,y0,z0)P(x0,y0,z0)$ can be described by the following parametric equations:

$x=x0+ta,y=y0+tb,andz=z0+tc.x=x0+ta,y=y0+tb,andz=z0+tc.$
(2.13)

If the constants $a,b,andca,b,andc$ are all nonzero, then $LL$ can be described by the symmetric equation of the line:

$x−x0a=y−y0b=z−z0c.x−x0a=y−y0b=z−z0c.$
(2.14)

The parametric equations of a line are not unique. Using a different parallel vector or a different point on the line leads to a different, equivalent representation. Each set of parametric equations leads to a related set of symmetric equations, so it follows that a symmetric equation of a line is not unique either.

## Example 2.45

### Equations of a Line in Space

Find parametric and symmetric equations of the line passing through points $(1,4,−2)(1,4,−2)$ and $(−3,5,0).(−3,5,0).$

## Checkpoint2.43

Find parametric and symmetric equations of the line passing through points $(1,−3,2)(1,−3,2)$ and $(5,−2,8).(5,−2,8).$

Sometimes we don’t want the equation of a whole line, just a line segment. In this case, we limit the values of our parameter $t.t.$ For example, let $P(x0,y0,z0)P(x0,y0,z0)$ and $Q(x1,y1,z1)Q(x1,y1,z1)$ be points on a line, and let $p=〈x0,y0,z0〉p=〈x0,y0,z0〉$ and $q=〈x1,y1,z1〉q=〈x1,y1,z1〉$ be the associated position vectors. In addition, let $r=〈x,y,z〉.r=〈x,y,z〉.$ We want to find a vector equation for the line segment between $PP$ and $Q.Q.$ Using $PP$ as our known point on the line, and $PQ→=〈x1−x0,y1−y0,z1−z0〉PQ→=〈x1−x0,y1−y0,z1−z0〉$ as the direction vector equation, Equation 2.12 gives

$r=p+t(PQ→).r=p+t(PQ→).$

Using properties of vectors, then

$r=p+t(PQ→)=〈x0,y0,z0〉+t〈x1−x0,y1−y0,z1−z0〉=〈x0,y0,z0〉+t(〈x1,y1,z1〉−〈x0,y0,z0〉)=〈x0,y0,z0〉+t〈x1,y1,z1〉−t〈x0,y0,z0〉=(1−t)〈x0,y0,z0〉+t〈x1,y1,z1〉=(1−t)p+tq.r=p+t(PQ→)=〈x0,y0,z0〉+t〈x1−x0,y1−y0,z1−z0〉=〈x0,y0,z0〉+t(〈x1,y1,z1〉−〈x0,y0,z0〉)=〈x0,y0,z0〉+t〈x1,y1,z1〉−t〈x0,y0,z0〉=(1−t)〈x0,y0,z0〉+t〈x1,y1,z1〉=(1−t)p+tq.$

Thus, the vector equation of the line passing through $PP$ and $QQ$ is

$r=(1−t)p+tq.r=(1−t)p+tq.$

Remember that we didn’t want the equation of the whole line, just the line segment between $PP$ and $Q.Q.$ Notice that when $t=0,t=0,$ we have $r=p,r=p,$ and when $t=1,t=1,$ we have $r=q.r=q.$ Therefore, the vector equation of the line segment between $PP$ and $QQ$ is

$r=(1−t)p+tq,0≤t≤1.r=(1−t)p+tq,0≤t≤1.$
(2.15)

Going back to Equation 2.12, we can also find parametric equations for this line segment. We have

$r=p+t(PQ→)〈x,y,z〉=〈x0,y0,z0〉+t〈x1−x0,y1−y0,z1−z0〉=〈x0+t(x1−x0),y0+t(y1−y0),z0+t(z1−z0)〉.r=p+t(PQ→)〈x,y,z〉=〈x0,y0,z0〉+t〈x1−x0,y1−y0,z1−z0〉=〈x0+t(x1−x0),y0+t(y1−y0),z0+t(z1−z0)〉.$

Then, the parametric equations are

$x=x0+t(x1−x0),y=y0+t(y1−y0),z=z0+t(z1−z0),0≤t≤1.x=x0+t(x1−x0),y=y0+t(y1−y0),z=z0+t(z1−z0),0≤t≤1.$
(2.16)

## Example 2.46

### Parametric Equations of a Line Segment

Find parametric equations of the line segment between the points $P(2,1,4)P(2,1,4)$ and $Q(3,−1,3).Q(3,−1,3).$

## Checkpoint2.44

Find parametric equations of the line segment between points $P(−1,3,6)P(−1,3,6)$ and $Q(−8,2,4).Q(−8,2,4).$

## Distance between a Point and a Line

We already know how to calculate the distance between two points in space. We now expand this definition to describe the distance between a point and a line in space. Several real-world contexts exist when it is important to be able to calculate these distances. When building a home, for example, builders must consider “setback” requirements, when structures or fixtures have to be a certain distance from the property line. Air travel offers another example. Airlines are concerned about the distances between populated areas and proposed flight paths.

Let $LL$ be a line in the plane and let $MM$ be any point not on the line. Then, we define distance $dd$ from $MM$ to $LL$ as the length of line segment $MP—,MP—,$ where $PP$ is a point on $LL$ such that $MP—MP—$ is perpendicular to $LL$ (Figure 2.64).

Figure 2.64 The distance from point $MM$ to line $LL$ is the length of $MP—.MP—.$

When we’re looking for the distance between a line and a point in space, Figure 2.64 still applies. We still define the distance as the length of the perpendicular line segment connecting the point to the line. In space, however, there is no clear way to know which point on the line creates such a perpendicular line segment, so we select an arbitrary point on the line and use properties of vectors to calculate the distance. Therefore, let $PP$ be an arbitrary point on line $LL$ and let $vv$ be a direction vector for $LL$ (Figure 2.65).

Figure 2.65 Vectors $PM→PM→$ and v form two sides of a parallelogram with base $‖v‖‖v‖$ and height $d,d,$ which is the distance between a line and a point in space.

By Area of a Parallelogram, vectors $PM→PM→$ and $vv$ form two sides of a parallelogram with area $‖PM→×v‖.‖PM→×v‖.$ Using a formula from geometry, the area of this parallelogram can also be calculated as the product of its base and height:

$‖PM→×v‖=‖v‖d.‖PM→×v‖=‖v‖d.$

We can use this formula to find a general formula for the distance between a line in space and any point not on the line.

## Theorem2.12

### Distance from a Point to a Line

Let $LL$ be a line in space passing through point $PP$ with direction vector $v.v.$ If $MM$ is any point not on $L,L,$ then the distance from $MM$ to $LL$ is

$d=‖PM→×v‖‖v‖.d=‖PM→×v‖‖v‖.$

## Example 2.47

### Calculating the Distance from a Point to a Line

Find the distance between the point $M=(1,1,3)M=(1,1,3)$ and line $x−34=y+12=z−3.x−34=y+12=z−3.$

## Checkpoint2.45

Find the distance between point $(0,3,6)(0,3,6)$ and the line with parametric equations $x=1−t,y=1+2t,z=5+3t.x=1−t,y=1+2t,z=5+3t.$

## Relationships between Lines

Given two lines in the two-dimensional plane, the lines are equal, they are parallel but not equal, or they intersect in a single point. In three dimensions, a fourth case is possible. If two lines in space are not parallel, but do not intersect, then the lines are said to be skew lines (Figure 2.67).

Figure 2.67 In three dimensions, it is possible that two lines do not cross, even when they have different directions.

To classify lines as parallel but not equal, equal, intersecting, or skew, we need to know two things: whether the direction vectors are parallel and whether the lines share a point (Figure 2.68).

Figure 2.68 Determine the relationship between two lines based on whether their direction vectors are parallel and whether they share a point.

## Example 2.48

### Classifying Lines in Space

For each pair of lines, determine whether the lines are equal, parallel but not equal, skew, or intersecting.

1. $L1:x=2s−1,y=s−1,z=s−4L1:x=2s−1,y=s−1,z=s−4$
$L2:x=t−3,y=3t+8,z=5−2tL2:x=t−3,y=3t+8,z=5−2t$
2. $L1:L1:$ $x=−y=zx=−y=z$
$L2:x−32=y=z−2L2:x−32=y=z−2$
3. $L1:x=6s−1,y=−2s,z=3s+1;s≠0L1:x=6s−1,y=−2s,z=3s+1;s≠0$
$L2:x−46=y+3−2=z−13L2:x−46=y+3−2=z−13$

## Checkpoint2.46

Describe the relationship between the lines with the following parametric equations:

$x=1−4t,y=3+t,z=8−6tx=1−4t,y=3+t,z=8−6t$
$x=2+3s,y=2s,z=−1−3s.x=2+3s,y=2s,z=−1−3s.$

## Equations for a Plane

We know that a line is determined by two points. In other words, for any two distinct points, there is exactly one line that passes through those points, whether in two dimensions or three. Similarly, given any three points that do not all lie on the same line, there is a unique plane that passes through these points. Just as a line is determined by two points, a plane is determined by three.

This may be the simplest way to characterize a plane, but we can use other descriptions as well. For example, given two distinct, intersecting lines, there is exactly one plane containing both lines. A plane is also determined by a line and any point that does not lie on the line. These characterizations arise naturally from the idea that a plane is determined by three points. Perhaps the most surprising characterization of a plane is actually the most useful.

Imagine a pair of orthogonal vectors that share an initial point. Visualize grabbing one of the vectors and twisting it. As you twist, the other vector spins around and sweeps out a plane. Here, we describe that concept mathematically. Let $n=〈a,b,c〉n=〈a,b,c〉$ be a vector and $P=(x0,y0,z0)P=(x0,y0,z0)$ be a point. Then the set of all points $Q=(x,y,z)Q=(x,y,z)$ such that $PQ→PQ→$ is orthogonal to $nn$ forms a plane (Figure 2.69). We say that $nn$ is a normal vector, or perpendicular to the plane. Remember, the dot product of orthogonal vectors is zero. This fact generates the vector equation of a plane: $n·PQ→=0.n·PQ→=0.$ Rewriting this equation provides additional ways to describe the plane:

$n·PQ→=0〈a,b,c〉·〈x−x0,y−y0,z−z0〉=0a(x−x0)+b(y−y0)+c(z−z0)=0.n·PQ→=0〈a,b,c〉·〈x−x0,y−y0,z−z0〉=0a(x−x0)+b(y−y0)+c(z−z0)=0.$
Figure 2.69 Given a point $PP$ and vector $n,n,$ the set of all points $QQ$ with $PQ→PQ→$ orthogonal to $nn$ forms a plane.

## Definition

Given a point $PP$ and vector $n,n,$ the set of all points $QQ$ satisfying the equation $n·PQ→=0n·PQ→=0$ forms a plane. The equation

$n·PQ→=0n·PQ→=0$
(2.17)

is known as the vector equation of a plane.

The scalar equation of a plane containing point $P=(x0,y0,z0)P=(x0,y0,z0)$ with normal vector $n=〈a,b,c〉n=〈a,b,c〉$ is

$a(x−x0)+b(y−y0)+c(z−z0)=0.a(x−x0)+b(y−y0)+c(z−z0)=0.$
(2.18)

This equation can be expressed as $ax+by+cz+d=0,ax+by+cz+d=0,$ where $d=−ax0−by0−cz0.d=−ax0−by0−cz0.$ This form of the equation is sometimes called the general form of the equation of a plane.

As described earlier in this section, any three points that do not all lie on the same line determine a plane. Given three such points, we can find an equation for the plane containing these points.

## Example 2.49

### Writing an Equation of a Plane Given Three Points in the Plane

Write an equation for the plane containing points $P=(1,1,−2),P=(1,1,−2),$ $Q=(0,2,1),Q=(0,2,1),$ and $R=(−1,−1,0)R=(−1,−1,0)$ in both standard and general forms.

The scalar equations of a plane vary depending on the normal vector and point chosen.

## Example 2.50

### Writing an Equation for a Plane Given a Point and a Line

Find an equation of the plane that passes through point $(1,4,3)(1,4,3)$ and contains the line given by $x=y−12=z+1.x=y−12=z+1.$

## Checkpoint2.47

Find an equation of the plane containing the lines $L1L1$ and $L2:L2:$

$L1:x=−y=zL2:x−32=y=z−2.L1:x=−y=zL2:x−32=y=z−2.$

Now that we can write an equation for a plane, we can use the equation to find the distance $dd$ between a point $PP$ and the plane. It is defined as the shortest possible distance from $PP$ to a point on the plane.

Figure 2.70 We want to find the shortest distance from point P to the plane. Let point $RR$ be the point in the plane such that, for any other point in the plane $Q,Q,$ $‖RP→‖<‖QP→‖.‖RP→‖<‖QP→‖.$

Just as we find the two-dimensional distance between a point and a line by calculating the length of a line segment perpendicular to the line, we find the three-dimensional distance between a point and a plane by calculating the length of a line segment perpendicular to the plane. Let $RR$ be the point in the plane such that $RP→RP→$ is orthogonal to the plane, and let $QQ$ be an arbitrary point in the plane. Then the projection of vector $QP→QP→$ onto the normal vector describes vector $RP→,RP→,$ as shown in Figure 2.70.

## Theorem2.13

### The Distance between a Plane and a Point

Suppose a plane with normal vector $nn$ passes through point $Q.Q.$ The distance $dd$ from the plane to a point $PP$ not in the plane is given by

$d=‖projnQP→‖=|compnQP→|=|QP→·n|‖n‖.d=‖projnQP→‖=|compnQP→|=|QP→·n|‖n‖.$
(2.19)

## Example 2.51

### Distance between a Point and a Plane

Find the distance between point $P=(3,1,2)P=(3,1,2)$ and the plane given by $x−2y+z=5x−2y+z=5$ (see the following figure).

## Checkpoint2.48

Find the distance between point $P=(5,−1,0)P=(5,−1,0)$ and the plane given by $4x+2y−z=3.4x+2y−z=3.$

## Parallel and Intersecting Planes

We have discussed the various possible relationships between two lines in two dimensions and three dimensions. When we describe the relationship between two planes in space, we have only two possibilities: the two distinct planes are parallel or they intersect. When two planes are parallel, their normal vectors are parallel. When two planes intersect, the intersection is a line (Figure 2.71).

Figure 2.71 The intersection of two nonparallel planes is always a line.

We can use the equations of the two planes to find parametric equations for the line of intersection.

## Example 2.52

### Finding the Line of Intersection for Two Planes

Find parametric and symmetric equations for the line formed by the intersection of the planes given by $x+y+z=0x+y+z=0$ and $2x−y+z=02x−y+z=0$ (see the following figure).

## Checkpoint2.49

Find parametric equations for the line formed by the intersection of planes $x+y−z=3x+y−z=3$ and $3x−y+3z=5.3x−y+3z=5.$

In addition to finding the equation of the line of intersection between two planes, we may need to find the angle formed by the intersection of two planes. For example, builders constructing a house need to know the angle where different sections of the roof meet to know whether the roof will look good and drain properly. We can use normal vectors to calculate the angle between the two planes. We can do this because the angle between the normal vectors is the same as the angle between the planes. Figure 2.72 shows why this is true.

Figure 2.72 The angle between two planes has the same measure as the angle between the normal vectors for the planes.

We can find the measure of the angle θ between two intersecting planes by first finding the cosine of the angle, using the following equation:

$cosθ=|n1·n2|‖n1‖‖n2‖.cosθ=|n1·n2|‖n1‖‖n2‖.$

We can then use the angle to determine whether two planes are parallel or orthogonal or if they intersect at some other angle.

## Example 2.53

### Finding the Angle between Two Planes

Determine whether each pair of planes is parallel, orthogonal, or neither. If the planes are intersecting, but not orthogonal, find the measure of the angle between them. Give the answer in radians and round to two decimal places.

1. $x+2y−z=8and2x+4y−2z=10x+2y−z=8and2x+4y−2z=10$
2. $2x−3y+2z=3and6x+2y−3z=12x−3y+2z=3and6x+2y−3z=1$
3. $x+y+z=4andx−3y+5z=1x+y+z=4andx−3y+5z=1$

## Checkpoint2.50

Find the measure of the angle between planes $x+y−z=3x+y−z=3$ and $3x−y+3z=5.3x−y+3z=5.$ Give the answer in radians and round to two decimal places.

When we find that two planes are parallel, we may need to find the distance between them. To find this distance, we simply select a point in one of the planes. The distance from this point to the other plane is the distance between the planes.

Previously, we introduced the formula for calculating this distance in Equation 2.19:

$d=QP→·n‖n‖,d=QP→·n‖n‖,$

where $QQ$ is a point on the plane, $PP$ is a point not on the plane, and $nn$ is the normal vector that passes through point $Q.Q.$ Consider the distance from point $(x0,y0,z0)(x0,y0,z0)$ to plane $ax+by+cz+k=0.ax+by+cz+k=0.$ Let $(x1,y1,z1)(x1,y1,z1)$ be any point in the plane. Substituting into the formula yields

$d=|a(x0−x1)+b(y0−y1)+c(z0−z1)|a2+b2+c2=|ax0+by0+cz0+k|a2+b2+c2.d=|a(x0−x1)+b(y0−y1)+c(z0−z1)|a2+b2+c2=|ax0+by0+cz0+k|a2+b2+c2.$

We state this result formally in the following theorem.

## Theorem2.14

### Distance from a Point to a Plane

Let $P(x0,y0,z0)P(x0,y0,z0)$ be a point. The distance from $PP$ to plane $ax+by+cz+k=0ax+by+cz+k=0$ is given by

$d=|ax0+by0+cz0+k|a2+b2+c2.d=|ax0+by0+cz0+k|a2+b2+c2.$

## Example 2.54

### Finding the Distance between Parallel Planes

Find the distance between the two parallel planes given by $2x+y−z=22x+y−z=2$ and $2x+y−z=8.2x+y−z=8.$

## Checkpoint2.51

Find the distance between parallel planes $5x−2y+z=65x−2y+z=6$ and $5x−2y+z=−3.5x−2y+z=−3.$

## Student Project

### Distance between Two Skew Lines

Figure 2.73 Industrial pipe installations often feature pipes running in different directions. How can we find the distance between two skew pipes?

Finding the distance from a point to a line or from a line to a plane seems like a pretty abstract procedure. But, if the lines represent pipes in a chemical plant or tubes in an oil refinery or roads at an intersection of highways, confirming that the distance between them meets specifications can be both important and awkward to measure. One way is to model the two pipes as lines, using the techniques in this chapter, and then calculate the distance between them. The calculation involves forming vectors along the directions of the lines and using both the cross product and the dot product.

The symmetric forms of two lines, $L1L1$ and $L2,L2,$ are

$L1:x−x1a1=y−y1b1=z−z1c1L2:x−x2a2=y−y2b2=z−z2c2.L1:x−x1a1=y−y1b1=z−z1c1L2:x−x2a2=y−y2b2=z−z2c2.$

You are to develop a formula for the distance $dd$ between these two lines, in terms of the values $a1,b1,c1;a2,b2,c2;x1,y1,z1;andx2,y2,z2.a1,b1,c1;a2,b2,c2;x1,y1,z1;andx2,y2,z2.$ The distance between two lines is usually taken to mean the minimum distance, so this is the length of a line segment or the length of a vector that is perpendicular to both lines and intersects both lines.

1. First, write down two vectors, $v1v1$ and $v2,v2,$ that lie along $L1L1$ and $L2,L2,$ respectively.
2. Find the cross product of these two vectors and call it $N.N.$ This vector is perpendicular to $v1andv2,v1andv2,$ and hence is perpendicular to both lines.
3. From vector $N,N,$ form a unit vector $nn$ in the same direction.
4. Use symmetric equations to find a convenient vector $v12v12$ that lies between any two points, one on each line. Again, this can be done directly from the symmetric equations.
5. The dot product of two vectors is the magnitude of the projection of one vector onto the other times the magnitude of the other vector—that is, $A·B=‖A‖‖B‖cosθ,A·B=‖A‖‖B‖cosθ,$ where $θθ$ is the angle between the vectors. Using the dot product, find the projection of vector $v12v12$ found in step $44$ onto unit vector $nn$ found in step 3. This projection is perpendicular to both lines, and hence its length must be the perpendicular distance $dd$ between them. Note that the value of $dd$ may be negative, depending on your choice of vector $v12v12$ or the order of the cross product, so use absolute value signs around the numerator.
6. Check that your formula gives the correct distance of $|−25|/198≈1.78|−25|/198≈1.78$ between the following two lines:
$L1:x−52=y−34=z−13L2:x−63=y−15=z7.L1:x−52=y−34=z−13L2:x−63=y−15=z7.$
7. Is your general expression valid when the lines are parallel? If not, why not? (Hint: What do you know about the value of the cross product of two parallel vectors? Where would that result show up in your expression for $d?)d?)$
8. Demonstrate that your expression for the distance is zero when the lines intersect. Recall that two lines intersect if they are not parallel and they are in the same plane. Hence, consider the direction of $nn$ and $v12.v12.$ What is the result of their dot product?
9. Consider the following application. Engineers at a refinery have determined they need to install support struts between many of the gas pipes to reduce damaging vibrations. To minimize cost, they plan to install these struts at the closest points between adjacent skewed pipes. Because they have detailed schematics of the structure, they are able to determine the correct lengths of the struts needed, and hence manufacture and distribute them to the installation crews without spending valuable time making measurements.
The rectangular frame structure has the dimensions $4.0×15.0×10.0m4.0×15.0×10.0m$ (height, width, and depth). One sector has a pipe entering the lower corner of the standard frame unit and exiting at the diametrically opposed corner (the one farthest away at the top); call this $L1.L1.$ A second pipe enters and exits at the two different opposite lower corners; call this $L2L2$ (Figure 2.74).
Figure 2.74 Two pipes cross through a standard frame unit.

Write down the vectors along the lines representing those pipes, find the cross product between them from which to create the unit vector $n,n,$ define a vector that spans two points on each line, and finally determine the minimum distance between the lines. (Take the origin to be at the lower corner of the first pipe.) Similarly, you may also develop the symmetric equations for each line and substitute directly into your formula.

## Section 2.5 Exercises

In the following exercises, points $PP$ and $QQ$ are given. Let $LL$ be the line passing through points $PP$ and $Q.Q.$

1. Find the vector equation of line $L.L.$
2. Find parametric equations of line $L.L.$
3. Find symmetric equations of line $L.L.$
4. Find parametric equations of the line segment determined by $PP$ and $Q.Q.$
243.

$P(−3,5,9),P(−3,5,9),$ $Q(4,−7,2)Q(4,−7,2)$

244.

$P ( 4 , 0 , 5 ) , Q ( 2 , 3 , 1 ) P ( 4 , 0 , 5 ) , Q ( 2 , 3 , 1 )$

245.

$P(−1,0,5),P(−1,0,5),$ $Q(4,0,3)Q(4,0,3)$

246.

$P(7,−2,6),P(7,−2,6),$ $Q(−3,0,6)Q(−3,0,6)$

For the following exercises, point $PP$ and vector $vv$ are given. Let $LL$ be the line passing through point $PP$ with direction $v.v.$

1. Find parametric equations of line $L.L.$
2. Find symmetric equations of line $L.L.$
3. Find the intersection of the line with the xy-plane.
247.

$P(1,−2,3),P(1,−2,3),$ $v=〈1,2,3〉v=〈1,2,3〉$

248.

$P(3,1,5),P(3,1,5),$ $v=〈1,1,1〉v=〈1,1,1〉$

249.

$P(3,1,5),P(3,1,5),$ $v=QR→,v=QR→,$ where $Q(2,2,3)Q(2,2,3)$ and $R(3,2,3)R(3,2,3)$

250.

$P(2,3,0),P(2,3,0),$ $v=QR→,v=QR→,$ where $Q(0,4,5)Q(0,4,5)$ and $R(0,4,6)R(0,4,6)$

For the following exercises, line $LL$ is given.

1. Find point $PP$ that belongs to the line and direction vector $vv$ of the line. Express $vv$ in component form.
2. Find the distance from the origin to line $L.L.$
251.

$x=1+t,y=3+t,z=5+4t,x=1+t,y=3+t,z=5+4t,$ $t∈ℝt∈ℝ$

252.

$− x = y + 1 , z = 2 − x = y + 1 , z = 2$

253.

Find the distance between point $A(−3,1,1)A(−3,1,1)$ and the line of symmetric equations

$x = − y = − z . x = − y = − z .$

254.

Find the distance between point $A(4,2,5)A(4,2,5)$ and the line of parametric equations

$x=−1−t,y=−t,z=2,x=−1−t,y=−t,z=2,$ $t∈ℝ.t∈ℝ.$

For the following exercises, lines $L1L1$ and $L2L2$ are given.

1. Verify whether lines $L1L1$ and $L2L2$ are parallel.
2. If the lines $L1L1$ and $L2L2$ are parallel, then find the distance between them.
255.

$L1:x=1+t,y=t,z=2+t,L1:x=1+t,y=t,z=2+t,$ $t∈ℝ,t∈ℝ,$ $L2:x−3=y−1=z−3L2:x−3=y−1=z−3$

256.

$L1:x=2,y=1,z=t,L1:x=2,y=1,z=t,$ $L2:x=1,y=1,z=2−3t,L2:x=1,y=1,z=2−3t,$ $t∈ℝt∈ℝ$

257.

Show that the line passing through points $P(3,1,0)P(3,1,0)$ and $Q(1,4,−3)Q(1,4,−3)$ is perpendicular to the line with equation $x=3t,y=3+8t,z=−7+6t,x=3t,y=3+8t,z=−7+6t,$ $t∈ℝ.t∈ℝ.$

258.

Are the lines of equations $x=−2+2t,y=−6,z=2+6tx=−2+2t,y=−6,z=2+6t$ and $x=−1+t,y=1+t,z=t,x=−1+t,y=1+t,z=t,$ $t∈ℝ,t∈ℝ,$ perpendicular to each other?

259.

Find the point of intersection of the lines of equations $x=−2y=3zx=−2y=3z$ and $x=−5−t,y=−1+t,z=t−11,x=−5−t,y=−1+t,z=t−11,$ $t∈ℝ.t∈ℝ.$

260.

Find the intersection point of the x-axis with the line of parametric equations

$x=10+t,y=2−2t,z=−3+3t,x=10+t,y=2−2t,z=−3+3t,$ $t∈ℝ.t∈ℝ.$

For the following exercises, lines $L1L1$ and $L2L2$ are given. Determine whether the lines are equal, parallel but not equal, skew, or intersecting.

261.

$L1:x=y−1=−zL1:x=y−1=−z$ and $L2:x−2=−y=z2L2:x−2=−y=z2$

262.

$L1:x=2t,y=0,z=3,L1:x=2t,y=0,z=3,$ $t∈ℝt∈ℝ$ and $L2:x=0,y=8+s,z=7+s,L2:x=0,y=8+s,z=7+s,$ $s∈ℝs∈ℝ$

263.

$L1:x=−1+2t,y=1+3t,z=7t,L1:x=−1+2t,y=1+3t,z=7t,$ $t∈ℝt∈ℝ$ and $L2:x−1=23(y−4)=27z−2L2:x−1=23(y−4)=27z−2$

264.

$L1:3x=y+1=2zL1:3x=y+1=2z$ and $L2:x=6+2t,y=17+6t,z=9+3t,L2:x=6+2t,y=17+6t,z=9+3t,$ $t∈ℝt∈ℝ$

265.

Consider line $LL$ of symmetric equations $x−2=−y=z2x−2=−y=z2$ and point $A(1,1,1).A(1,1,1).$

1. Find parametric equations for a line parallel to $LL$ that passes through point $A.A.$
2. Find symmetric equations of a line skew to $LL$ and that passes through point $A.A.$
3. Find symmetric equations of a line that intersects $LL$ and passes through point $A.A.$
266.

Consider line $LL$ of parametric equations $x=t,y=2t,z=3,x=t,y=2t,z=3,$ $t∈ℝ.t∈ℝ.$

1. Find parametric equations for a line parallel to $LL$ that passes through the origin.
2. Find parametric equations of a line skew to $LL$ that passes through the origin.
3. Find symmetric equations of a line that intersects $LL$ and passes through the origin.

For the following exercises, point $PP$ and vector $nn$ are given.

1. Find the scalar equation of the plane that passes through $PP$ and has normal vector $n.n.$
2. Find the general form of the equation of the plane that passes through $PP$ and has normal vector $n.n.$
267.

$P(0,0,0),P(0,0,0),$ $n=3i−2j+4kn=3i−2j+4k$

268.

$P(3,2,2),P(3,2,2),$ $n=2i+3j−kn=2i+3j−k$

269.

$P(1,2,3),P(1,2,3),$ $n=〈1,2,3〉n=〈1,2,3〉$

270.

$P(0,0,0),P(0,0,0),$ $n=〈−3,2,−1〉n=〈−3,2,−1〉$

For the following exercises, the equation of a plane is given.

1. Find normal vector $nn$ to the plane. Express $nn$ using standard unit vectors.
2. Find the intersections of the plane with the coordinate axes.
3. Sketch the plane.
271.

[T] $4x+5y+10z−20=04x+5y+10z−20=0$

272.

$3 x + 4 y − 12 = 0 3 x + 4 y − 12 = 0$

273.

$3 x − 2 y + 4 z = 0 3 x − 2 y + 4 z = 0$

274.

$x + z = 0 x + z = 0$

275.

Given point $P(1,2,3)P(1,2,3)$ and vector $n=i+j,n=i+j,$ find point $QQ$ on the x-axis such that $PQ→PQ→$ and $nn$ are orthogonal.

276.

Show there is no plane perpendicular to $n=i+jn=i+j$ that passes through points $P(1,2,3)P(1,2,3)$ and $Q(2,3,4).Q(2,3,4).$

277.

Find parametric equations of the line passing through point $P(−2,1,3)P(−2,1,3)$ that is perpendicular to the plane of equation $2x−3y+z=7.2x−3y+z=7.$

278.

Find symmetric equations of the line passing through point $P(2,5,4)P(2,5,4)$ that is perpendicular to the plane of equation $2x+3y−5z=0.2x+3y−5z=0.$

279.

Show that line $x−12=y+13=z−24x−12=y+13=z−24$ is parallel to plane $x−2y+z=6.x−2y+z=6.$

280.

Find the real number $αα$ such that the line of parametric equations $x=t,y=2−t,z=3+t,x=t,y=2−t,z=3+t,$ $t∈ℝt∈ℝ$ is parallel to the plane of equation $αx+5y+z−10=0.αx+5y+z−10=0.$

For the following exercises, points $P,Q,andRP,Q,andR$ are given.

1. Find the general equation of the plane passing through $P,Q,andR.P,Q,andR.$
2. Write the vector equation $n·PS→=0n·PS→=0$ of the plane at a., where $S(x,y,z)S(x,y,z)$ is an arbitrary point of the plane.
3. Find parametric equations of the line passing through the origin that is perpendicular to the plane passing through $P,Q,andR.P,Q,andR.$
281.

$P(1,1,1),Q(2,4,3),P(1,1,1),Q(2,4,3),$ and $R(−1,−2,−1)R(−1,−2,−1)$

282.

$P(−2,1,4),Q(3,1,3),P(−2,1,4),Q(3,1,3),$ and $R(−2,1,0)R(−2,1,0)$

283.

Consider the planes of equations $x+y+z=1x+y+z=1$ and $x+z=0.x+z=0.$

1. Show that the planes intersect.
2. Find symmetric equations of the line passing through point $P(1,4,6)P(1,4,6)$ that is parallel to the line of intersection of the planes.
284.

Consider the planes of equations $−y+z−2=0−y+z−2=0$ and $x−y=0.x−y=0.$

1. Show that the planes intersect.
2. Find parametric equations of the line passing through point $P(−8,0,2)P(−8,0,2)$ that is parallel to the line of intersection of the planes.
285.

Find the scalar equation of the plane that passes through point $P(−1,2,1)P(−1,2,1)$ and is perpendicular to the line of intersection of planes $x+y−z−2=0x+y−z−2=0$ and $2x−y+3z−1=0.2x−y+3z−1=0.$

286.

Find the general equation of the plane that passes through the origin and is perpendicular to the line of intersection of planes $−x+y+2=0−x+y+2=0$ and $z−3=0.z−3=0.$

287.

Determine whether the line of parametric equations $x=1+2t,y=−2t,z=2+t,x=1+2t,y=−2t,z=2+t,$ $t∈ℝt∈ℝ$ intersects the plane with equation $3x+4y+6z−7=0.3x+4y+6z−7=0.$ If it does intersect, find the point of intersection.

288.

Determine whether the line of parametric equations $x=5,y=4−t,z=2t,x=5,y=4−t,z=2t,$ $t∈ℝt∈ℝ$ intersects the plane with equation $2x−y+z=5.2x−y+z=5.$ If it does intersect, find the point of intersection.

289.

Find the distance from point $P(1,5,−4)P(1,5,−4)$ to the plane of equation $3x−y+2z−6=0.3x−y+2z−6=0.$

290.

Find the distance from point $P(1,−2,3)P(1,−2,3)$ to the plane of equation $(x−3)+2(y+1)−4z=0.(x−3)+2(y+1)−4z=0.$

For the following exercises, the equations of two planes are given.

1. Determine whether the planes are parallel, orthogonal, or neither.
2. If the planes are neither parallel nor orthogonal, then find the measure of the angle between the planes. Express the answer in degrees rounded to the nearest integer.
291.

[T] $x+y+z=0,x+y+z=0,$ $2x−y+z−7=02x−y+z−7=0$

292.

$5x−3y+z=4,5x−3y+z=4,$ $x+4y+7z=1x+4y+7z=1$

293.

$x−5y−z=1,x−5y−z=1,$ $5x−25y−5z=−35x−25y−5z=−3$

294.

[T] $x−3y+6z=4,x−3y+6z=4,$ $5x+y−z=45x+y−z=4$

295.

Show that the lines of equations $x=t,y=1+t,z=2+t,x=t,y=1+t,z=2+t,$ $t∈ℝ,t∈ℝ,$ and $x2=y−13=z−3x2=y−13=z−3$ are skew, and find the distance between them.

296.

Show that the lines of equations $x=−1+t,y=−2+t,z=3t,x=−1+t,y=−2+t,z=3t,$ $t∈ℝ,t∈ℝ,$ and $x=5+s,y=−8+2s,z=7s,x=5+s,y=−8+2s,z=7s,$ $s∈ℝs∈ℝ$ are skew, and find the distance between them.

297.

Consider point $C(−3,2,4)C(−3,2,4)$ and the plane of equation $2x+4y−3z=8.2x+4y−3z=8.$

1. Find the radius of the sphere with center $CC$ tangent to the given plane.
2. Find point P of tangency.
298.

Consider the plane of equation $x−y−z−8=0.x−y−z−8=0.$

1. Find the equation of the sphere with center $CC$ at the origin that is tangent to the given plane.
2. Find parametric equations of the line passing through the origin and the point of tangency.
299.

Two children are playing with a ball. The girl throws the ball to the boy. The ball travels in

the air, curves $33$ ft to the right, and falls $55$ ft away from the girl (see the following figure). If the plane that contains the trajectory of the ball is perpendicular to the ground, find its equation.

300.

[T] John allocates $dd$ dollars to consume monthly three goods of prices $a,b,andc.a,b,andc.$ In this context, the budget equation is defined as $ax+by+cz=d,ax+by+cz=d,$ where $x≥0,y≥0,x≥0,y≥0,$ and $z≥0z≥0$ represent the number of items bought from each of the goods. The budget set is given by ${(x,y,z)|ax+by+cz≤d,x≥0,y≥0,z≥0},{(x,y,z)|ax+by+cz≤d,x≥0,y≥0,z≥0},$ and the budget plane is the part of the plane of equation $ax+by+cz=dax+by+cz=d$ for which $x≥0,y≥0,x≥0,y≥0,$ and $z≥0.z≥0.$ Consider $a=8,a=8,$ $b=5,b=5,$ $c=10,c=10,$ and $d=500.d=500.$

1. Use a CAS to graph the budget set and budget plane.
2. For $z=25,z=25,$ find the new budget equation and graph the budget set in the same system of coordinates.
301.

[T] Consider $r(t)=〈sint,cost,2t〉r(t)=〈sint,cost,2t〉$ the position vector of a particle at time $t∈[0,3],t∈[0,3],$ where the components of r are expressed in centimeters and time is measured in seconds. Let $OP→OP→$ be the position vector of the particle after $11$ sec.

1. Determine the velocity vector $v(1)v(1)$ of the particle after $11$ sec.
2. Find the scalar equation of the plane that is perpendicular to $v(1)v(1)$ and passes through point $P.P.$ This plane is called the normal plane to the path of the particle at point $P.P.$
3. Use a CAS to visualize the path of the particle along with the velocity vector and normal plane at point $P.P.$
302.

[T] A solar panel is mounted on the roof of a house. The panel may be regarded as positioned at the points of coordinates (in meters) $A(8,0,0),A(8,0,0),$ $B(8,18,0),B(8,18,0),$ $C(0,18,8),C(0,18,8),$ and $D(0,0,8)D(0,0,8)$ (see the following figure).

1. Find the general form of the equation of the plane that contains the solar panel by using points $A,B,andC,A,B,andC,$ and show that its normal vector is equivalent to $AB→×AD→.AB→×AD→.$
2. Find parametric equations of line $L1L1$ that passes through the center of the solar panel and has direction vector $s=13i+13j+13k,s=13i+13j+13k,$ which points toward the position of the Sun at a particular time of day.
3. Find symmetric equations of line $L2L2$ that passes through the center of the solar panel and is perpendicular to it.
4. Determine the angle of elevation of the Sun above the solar panel by using the angle between lines $L1L1$ and $L2.L2.$