Section 4.8 Geometric applications
The dot product and cross product in \(\R^3\) allow us to compute many different geometric properties of lines and planes.
Subsection 4.8.1 The equation of the line of intersection of two planes
Suppose we are given the equation of two planes and want the equation of the line of intersection. If the two equations are
then the line of intersection will be the set of all points that satisfy both equations. We can rewrite the two equations as
and use the augmented matrix
When this matrix is put in reduced row echelon form, there will be one free variable, which we may call \(t\text{.}\) Writing the solution as a vector and rearranging give the equation of a line.
Here is an example to show how this technique works: the equations of the planes are
Here is the picture of the two planes and the line of intersection:
The augmented matrix for the system is
which has a reduced row echelon form of
Hence \(z\) is a free variable and can be assigned the value \(t\text{.}\) This gives \(z=t\text{,}\) \(y=6-3t\) and \(x=-4+2t\text{,}\) which may be written as
As another example, consider the two planes with equations written as
Then the augmented matrix is
with reduced row echelon form
This means that \(y\) is a free variable and may be assigned the value \(t\text{,}\) from which follows \(z=-1\text{,}\) \(y=t\) and \(x=2-t\text{.}\) In other words,
which is the equation of the line \(L\text{.}\)
Subsection 4.8.2 Intersection of a Line and a Plane
Suppose we have a line \(L\) with equation \((x_0,y_0,z_0)+t\vec {n_0}\) and a plane with equations \(ax+by+cz=0\text{.}\) Is there a point in both the line and the plane, and, if so, what is it? As usual when discussing planes, let \(\vec n=(a,b,c)\text{.}\) Then a point \(\vec x=(x,y,z)\) is in the plane if and only if \(\vec x\cdot \vec n=0\text{.}\) If \(\vec x\) is also on the line, then \(\vec x=(x_0,y_0,z_0)=t\vec{n_0}\) for some \(t\text{.}\) Then
and, if \(\vec{n_0}\cdot\vec n\not=0\text{,}\)
Here is the picture of the situation. The points on the line are determined by using all the different values of \(t\text{.}\) The point of intersection is the particular \(t\) where \(t=-\frac{(x_0,y_0,z_0)\cdot \vec n}{\vec{n_0}\cdot\vec n}\text{.}\)
What if \(\vec{n_0}\cdot\vec n=0\text{?}\) Then a line with direction vector \(n\) (that is, orthogonal to the plane) itself is orthogonal to \(L\text{.}\) If \((x_0,y_0,z_0)\) is not in the plane, the line is then parallel to the plane and never intersects it. On the other hand, if \((x_0,y_0,z_0)\) is in the plane, the line is then actually contained in the plane, so every point on the line intersects it.
In the following picture, the red line had direction vector \(\vec n=(a,b,c)\) and hence is orthogonal to the plane. Since the line \(L\) has direction vector \(\vec{n_0}\text{,}\) and \(\vec{n_0}\cdot\vec{n}=0\text{,}\) \(L\) is also orthogonal to the red line. That makes the plane and the line \(L\) parallel.
Subsection 4.8.3 Distance Between Two Lines
If two lines intersect, the distance between them is obviously \(0\text{.}\) Otherwise, there are two cases:
The lines lie in a plane, in which case the lines are parallel.
The lines do not lie in a plane, in which case the lines are skew.
Parallel lines.
We start with two parallel lines with equations
\(L_1\) with equation \((x,y,z)=\vec{X_1} + t_1\vec{n_1}\)
\(L_2\) with equation \((x,y,z)=\vec{X_2} + t_2\vec{n_2}\)
The distance \(d\) between the two lines satisfies \(d=\|\vec X_2-\vec X_1 \|\sin(\theta)\text{.}\) Recall from TheoremĀ 4.5.5 that the length of \(\vec x\times \vec y\) is \(\|\vec x\| \|\vec y\| \sin(\theta)\text{.}\) Hence
Skew lines.
We start with the equations of two skew lines:
\(L_1\) has equation \((x,y,z)=\vec{X_1}+t_1\vec{n_1}\text{,}\) \(-\infty \lt t \lt\infty\)
\(L_2\) has equation \((x,y,z)=\vec{X_2}+t_2\vec{n_2}\) \(-\infty \lt t \lt\infty\)
We want the (shortest) distance \(d\) between the lines.
The direction vector for \(L_1\) is \(\vec{n_1}\) while that of \(L_2\) is \(\vec{n_2}\text{.}\) Let us say that the shortest line segment joining \(L_1\) to \(L_2\) is on the line \(L\text{.}\) The length of the line segment, \(d\text{,}\) is the distance we wish to compute. In addition, let \(t_1\) and \(t_2\) be the particular values so both \(\vec{X_1}+t_1\vec{n_1}\) and \(\vec{X_2}+t_2\vec{n_2}\) lie on \(L\text{.}\)
Now \(L\) is perpendicular to both \(L_1\) and \(L_2\) , so the direction vector of \(L\) is orthogonal to both \(\vec{n_1}\) and \(\vec{n_2}\text{.}\) How can such a direction vector be produced? With the cross product, of course! And so we let \(\vec{n_1}\times\vec{n_2}\) be the direction vector of \(L\text{.}\) We then have, for some \(t_3\text{,}\)
In principle the problem is solved. We have three unknowns \(t_1\text{,}\) \(t_2\) and \(t_3\text{,}\) and each of the three coordinates gives an equation, so we have three equations in three unknowns. There is a quicker way: take the dot product of both sides of (\(*\)) above with \(\vec{n_1}\) and then with \(\vec{n_2}\text{.}\) This gives