PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: No information on entry rating
[parent] distance of non-parallel lines (Derivation)

As an application of the vector product we derive the expression of the distance $ d$ between two non-parallel straight lines in $ \mathbb{R}^3$.

Suppose that the position vectors of the points of the two non-parallel lines are expressed in parametric forms

$\displaystyle \vec{r} = \vec{a}\!+\!s\vec{u}$
and
$\displaystyle \vec{r} = \vec{b}\!+\!t\vec{v},$
where $ s$ and $ t$ are parameters. A common normal vector of the lines is the cross product $ \vec{u}\times\vec{v}$ of the direction vectors of the lines, and it may be normed to a unit vector
$\displaystyle \vec{n} := \frac{\vec{u}\!\times\!\vec{v}}{\vert\vec{u}\!\times\!\vec{v}\vert}$
by dividing it by its length, which is distinct from 0 because of the non-parallelity. The vectors $ \vec{a}$ and $ \vec{b}$ are the position vectors of certain points $ A$ and $ B$ on the lines, and thus their difference $ \vec{a}\!-\!\vec{b}$ is the vector from $ B$ to $ A$. If we project $ \vec{a}\!-\!\vec{b}$ on the unit normal $ \vec{n}$, the obtained vector
$\displaystyle \vec{d} := [(\vec{a}\!-\!\vec{b})\!\cdot\!\vec{n}]\,\vec{n}$
has the sought length $ d = \vert(\vec{a}\!-\!\vec{b})\!\cdot\!\vec{n}\vert$, i.e.
$\displaystyle d = \frac{\vert(\vec{a}\!-\!\vec{b})\cdot(\vec{u}\!\times\!\vec{v})\vert}{\vert\vec{u}\!\times\!\vec{v}\vert}. $
For illustrating that $ d$ is the minimal distance between points of the two lines we underline, that the construction of $ d$ guarantees that it connects two points on the lines and is perpendicular to both lines -- thus any displacement of its end point makes it longer.

Notes. The numerator is the absolute value of a triple scalar product. If the lines intersect each other, then the connecting vector $ \vec{a}\!-\!\vec{b}$ is at right angles to the common normal vector $ \vec{n}$ of their plane and thus the dot product of these vectors vanishes, i.e. also $ d = 0$. If the lines do not intersect, they are called agonic lines or skew lines; then $ d > 0$.



"distance of non-parallel lines" is owned by pahio.
(view preamble)

View style:

See Also: line in space, distance from point to a line, Euclidean distance, angle between two lines

Other names:  distance of lines
Also defines:  agonic lines, skew lines

This object's parent.
Log in to rate this entry.
(view current ratings)

Cross-references: vanishes, dot product, plane, normal vector, right angles, intersect, triple scalar product, absolute value, numerator, end point, perpendicular, distance, minimal, unit normal, project, difference, unit vector, direction vectors, cross product, vector, parameters, parametric forms, points, position vectors, lines, expression, application
There are 2 references to this entry.

This is version 12 of distance of non-parallel lines, born on 2005-08-08, modified 2008-05-31.
Object id is 7304, canonical name is DistanceOfNonParallelLines.
Accessed 5885 times total.

Classification:
AMS MSC15A72 (Linear and multilinear algebra; matrix theory :: Vector and tensor algebra, theory of invariants)

Pending Errata and Addenda
None.
[ View all 1 ]
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add example | add (any)