Let
be a line in the plane and let
be any point not on the line. Then, we define distance
from
to
as the length of line segment
where
is a point on
such that
is perpendicular to
(
[link] ).
When we’re looking for the distance between a line and a point in space,
[link] 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
be an arbitrary point on line
and let
be a direction vector for
(
[link] ).
By
[link] , vectors
and
form two sides of a parallelogram with area
Using a formula from geometry, the area of this parallelogram can also be calculated as the product of its base and height:
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.
Distance from a point to a line
Let
be a line in space passing through point
with direction vector
If
is any point not on
then the distance from
to
is
Calculating the distance from a point to a line
Find the distance between t point
and line
From the symmetric equations of the line, we know that vector
is a direction vector for the line. Setting the symmetric equations of the line equal to zero, we see that point
lies on the line. Then,
To calculate the distance, we need to find
Therefore, the distance between the point and the line is (
[link] )
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 (
[link] ).
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 (
[link] ).
Classifying lines in space
For each pair of lines, determine whether the lines are equal, parallel but not equal, skew, or intersecting.
Line
has direction vector
line
has direction vector
Because the direction vectors are not parallel vectors, the lines are either intersecting or skew. To determine whether the lines intersect, we see if there is a point,
that lies on both lines. To find this point, we use the parametric equations to create a system of equalities:
By the first equation,
Substituting into the second equation yields
Substitution into the third equation, however, yields a contradiction:
There is no single point that satisfies the parametric equations for
simultaneously. These lines do not intersect, so they are skew (see the following figure).
Line
L
1 has direction vector
and passes through the origin,
Line
has a different direction vector,
so these lines are not parallel or equal. Let
represent the parameter for line
and let
represent the parameter for
Solve the system of equations to find
and
If we need to find the point of intersection, we can substitute these parameters into the original equations to get
(see the following figure).
Lines
and
have equivalent direction vectors:
These two lines are parallel (see the following figure).