The following are two lines in the 3-dimensional -space which
are assumed to be non-parallel:
For :
Thus, the following vector indicates the direction of the common perpendicular line:
and
are respectively parts of
and
. If we project the
vector
on a normalized
vector, we obtain the minimum distance between
and
:
We are seeking for a line
(of direction
) such that it belongs to both a plan
that contains
and is orthogonal to
and a plan
that contains
and is orthogonal to
.
An equation of
has the following form:
Provided that
and
are not equal to 0, we can choose
and
, and we have an equation of the particular
we are looking for.
Similarly, an equation of
is given by:
Then, an equation of the line
is: