Intuition behind the distance between two lines

  • Thread starter Thread starter jegues
  • Start date Start date
  • Tags Tags
    Intuition Lines
Click For Summary

Homework Help Overview

The discussion revolves around understanding the distance between two lines in three-dimensional space, specifically focusing on the nature of skew lines and their geometric properties. Participants explore the implications of vector representations and the conditions under which lines intersect or are skew.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the initial setup of the problem, including the use of vector equations and direction vectors to determine the relationship between the lines. Questions arise regarding the interpretation of intersection points and the conditions for skew lines. Some participants also explore the geometric representation of the lines as planes and the implications for calculating distances.

Discussion Status

There is an ongoing exploration of the calculations related to the distance between the lines, with some participants providing corrections and clarifications on previous reasoning. Multiple interpretations of the problem are being examined, particularly concerning the geometric relationships and the mathematical expressions involved.

Contextual Notes

Participants are navigating through assumptions about the parameters defining the lines and the implications of their relationships. There is a mention of potential errors in calculations, particularly regarding dot products and projections, which are still under discussion.

jegues
Messages
1,085
Reaction score
3
RE-EDITING POST: I had misread some of my notes. :redface:
 

Attachments

  • LIND.JPG
    LIND.JPG
    32.7 KB · Views: 486
Last edited:
Physics news on Phys.org
What is your question?
 
HallsofIvy said:
What is your question?

I've been working on trying to solve the following question. (See figure)

(NOTE FOR FIGURE: Ignore salshed out part)

The first thing I did is write the two lines in vector format with different parameters (s&t). After that, looking at the direction vectors of each line we can determine that one is not a multiple of the other, therefore they musn't be parallel. I double checked this with the cross product between the two direction vectors, and I did not obtain the zero vector.

From here I established a system of equations, equating the x, y and z coordinates and solving for t and s.

Since I obtained t = -12 and s = 7, the two lines should intersect at some point, and the distance should simply be 0, but I'm not entirely sure this is true.

Am I interpreting the question wrong?

Thanks again.

EDIT: Is it possible that both the lines are defined by the same parameter, t? If so then they lines would be skew lines, correct?

As soon as I can clarify the first few questions I have, then I may have a question regarding the intution behind solving for the distance between two lines.
 

Attachments

  • DISL.JPG
    DISL.JPG
    37.2 KB · Views: 436
I think I've made some progressive after doing some more reading/review.

Since there are no values of t and s that satisfy the three equations, l_1 and l_2 do not intersect. Thus l_1 and l_2 are skew lines.

Since the two lines are skew, we can think of them as two parallel planes P_1 and P_2. The normal vector to both planes will be orthogonal to the direction vectors of l_1 and l_2. (\vec{v_{1}}\times \vec{v_{2}})

\vec{n} = 8\hat{i} - 5\hat{j} -1\hat{k}

Now if we simply use a point on either l_1 or l_2 we should be able to describe either of the planes P_1 or P_2.

If we choose P_1,

8(x +1) -5(y -3) -(z+4) = 0 or 8x -5y -z + 19 = 0

Now if we set t = 0 in the equations for l_2, we get the point P(1,0,-3) on P_2.

That being said the distance between the two lines is now reduced to the distance between a plane and a given point.

This will distance will be equal to the absolute value of the scalar projection of any vector that lies in the plane and travels to the point P(1,0,-3) projected onto the normal vector of that plane.

D = \frac{|8(1)-5(0)-1(3)+19|}{|\sqrt{8^{2} + (-5)^{2} + (-1)^{2}}|} = \frac{24}{\sqrt{90}} = \frac{4\sqrt{10}}{5} \approx 2.530

Is this correct?
 
Last edited:
Bump, still looking for a quick check on this one!
 
Your reasoning is correct, but you flipped a sign when calculating the dot product in your last step.
 
vela said:
Your reasoning is correct, but you flipped a sign when calculating the dot product in your last step.

Thank you for pointing that out. I'll edit this post later when I have the time to redo the calculations!

EDIT:

D = \frac{|8(1)-5(0)-1(-3)+19|}{|\sqrt{8^{2} + (-5)^{2} + (-1)^{2}}|} = \frac{30}{\sqrt{90}} = \sqrt{10} \approx 3.162
 
Last edited:
Hopefully that's correct now!
 
Yup, that's it.
 
  • #10
And it is equal to the minimum distance between points on the two lines.

ehild
 
  • #11
I have one more quick question.

When I preformed the dot product with the normal vector of the plane, it seems as though I didn't dot together two vectors, but rather a plane and a point.

Can someone try and clarfiy this for me, it's the only part left that has me rattled!

Thanks again!
 
  • #12
You're choosing one point on P1. It's just that regardless of which point on the plane you choose, you always have \vec{n}\cdot\vec{x} = -19.
 
  • #13
Quite a lot of way to attack a problem... The distance between the skew lines is the length of the straight line which intersects both lines and is perpendicular to both of them. The tangent vector of this line is the vector product of

v1 and v2.

\vec n = \vec v_1\times \vec v_2

The length of the perpendicular line segment is equal to the projection of any vector which connects a point on l1 to a point on l2, for example r12 that points from P1 to P2. The distance is

D=\frac{\vec n\cdot\vec r_{12}}{|\vec n|}

ehild
 
  • #14
ehild said:
Quite a lot of way to attack a problem... The distance between the skew lines is the length of the straight line which intersects both lines and is perpendicular to both of them. The tangent vector of this line is the vector product of

v1 and v2.

\vec n = \vec v_1\times \vec v_2

The length of the perpendicular line segment is equal to the projection of any vector which connects a point on l1 to a point on l2, for example r12 that points from P1 to P2. The distance is

D=\frac{\vec n\cdot\vec r_{12}}{|\vec n|}

ehild

Thank you, this cleared things up for me!
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 48 ·
2
Replies
48
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
4
Views
1K
Replies
5
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
19
Views
4K