Distance between two lines in 3D

  • Thread starter Thread starter Melawrghk
  • Start date Start date
  • Tags Tags
    3d Lines
Click For Summary

Homework Help Overview

The problem involves finding the shortest distance between two lines in three-dimensional space, defined by their parametric equations. The subject area pertains to vector calculus and geometry in 3D.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to calculate the distance by using the cross product of the directional vectors and projecting the vector between points on the lines onto the unit vector derived from the cross product. Some participants question the correctness of the calculations, particularly regarding the signs in the cross product.

Discussion Status

The discussion includes attempts to clarify the calculations involved in the cross product and the projection method. Some participants express uncertainty about the results and seek confirmation or correction of their reasoning.

Contextual Notes

There appears to be confusion regarding the signs in the calculations, which may affect the results. Participants are also navigating the complexities of vector operations in three dimensions.

Melawrghk
Messages
140
Reaction score
0

Homework Statement


L1=(x,y,z)=(-2,-4,-3)+t(-2,3,-2)
L2=(x,y,z)=(0,0,4)+ s(-2,-3,-1)

Find the shortest distance between the two lines

The Attempt at a Solution


First, I did the cross product of the two directional vectors from both lines:
(-2,3,-2) x (-2,-3,-1) = (-9,-2, 12)
And its unit vector is:
-9x-2y+12z
-----------
2291/2

Then I found the distance between two points on the lines:
R = (0,0,4)-(-2,-4,-3) = (2,4,7)

And then I just tried to project the R onto the unit vector and got 58/sqrt(229), but that's not right. Help?
 
Physics news on Phys.org
that should be correct.

EDIT: yeah Dick is right...Sorry about that
 
Last edited:
I get that the cross product is (-9,+2,+12).
 
Ooohhh! I see, I'm just retarded and forgot about the negative space in the second row. OOOOH. This all makes sense now!

Thank you!
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K