Distance between two non parallel lines

  • MHB
  • Thread starter mathmari
  • Start date
  • #1
mathmari
Gold Member
MHB
5,053
7
Hey! :eek:

Using vector methods show that the distance between two non parallel lines $l_1$ and $l_2$ is given by $$d=\frac{|(\overrightarrow{v}_1 - \overrightarrow{v}_2) \cdot (\overrightarrow{ a}_1 \times \overrightarrow{a}_2)|}{||\overrightarrow{a}_1 \times \overrightarrow{a}_2||}$$ where $\vec{v}_1$ and $\vec{v}_2$ are random points of $l_1$ and $l_2$ respectively, and $\vec{a}_1$ and $\vec{a}_2$ are the directions of $l_1$ and $l_2$.

HINT:
We consider the plane that contains $l_1$ and is parallel to $l_2$. Show that $\frac{\vec{a}_1 \times \vec{a}_2}{\|\vec{a}_1 \times \vec{a}_2\|}$ is unit perpendicular to that plane. Then take the projection of $\vec{v}_2-\vec{v}_1$ to that perpendicular direction.



I have done the following:


We consider the plane that contains $l_1$ and is parallel to $l_2$. That means that the plane passes through the point $\overrightarrow{v}_1$ and has as parallel vector the vector $\overrightarrow{a}$.

To find the distance between the two lines, we have to find the distance between the points $\overrightarrow{v}_1$ and $\overrightarrow{v}_2$.

The vectors $\overrightarrow{a}_1$ and $\overrightarrow{a}_2$ produce the plane, so the vector $\overrightarrow{a}_1 \times \overrightarrow{a}_2$ is perpendicular to the plane.

So, the unit perpendicular vector to the plane is $\frac{\overrightarrow{a}_1 \times \overrightarrow{a}_2}{||\overrightarrow{a}_1 \times \overrightarrow{a}_2||}$.

A vector from the plane to the point $\overrightarrow{v}_2$ is $\overrightarrow{v}_2-\overrightarrow{v}_1$.

The distance that we are looking for the length of the projection of this vector onto the normal vector to the plane.

So, $$d=\frac{|(\overrightarrow{v}_1 - \overrightarrow{v}_2) \cdot (\overrightarrow{ a}_1 \times \overrightarrow{a}_2)|}{||\overrightarrow{a}_1 \times \overrightarrow{a}_2||}$$



Is this correct?? (Wondering) Could I improve something at the formulation?? (Wondering)
 

Answers and Replies

  • #2
Svein
Science Advisor
Insights Author
2,274
785
The formulation of the question is incomplete at best. If the two lines lie in a plane and they are not parallel, the minimum distance is 0 (by definition). And in spherical geometry all parallel lines meet at the poles.
 
  • #3
36,856
8,896
I'm guessing that the intent here is to find the distance between two skew lines in ##\mathbb R^3##.
 
  • Like
Likes mathmari and Ackbach

Suggested for: Distance between two non parallel lines

Replies
12
Views
1K
  • Last Post
Replies
3
Views
94
Replies
4
Views
1K
Replies
3
Views
410
  • Last Post
Replies
9
Views
969
Replies
2
Views
1K
Replies
6
Views
1K
Replies
3
Views
369
Top