Distance between two lines in 3D

  • Thread starter Melawrghk
  • Start date
  • Tags
    3d Lines
In summary, the shortest distance between two lines can be found by taking the cross product of the directional vectors, finding its unit vector, and then projecting the difference between two points on the lines onto the unit vector.
  • #1
Melawrghk
145
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
  • #2
that should be correct.

EDIT: yeah Dick is right...Sorry about that
 
Last edited:
  • #3
I get that the cross product is (-9,+2,+12).
 
  • #4
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!
 

1. What is the formula for calculating the distance between two lines in 3D?

The formula for calculating the distance between two lines in 3D is using the distance formula, which is the square root of the sum of the squares of the differences in the x, y, and z coordinates between two points on the two lines.

2. How do you find the shortest distance between two skew lines in 3D?

The shortest distance between two skew lines in 3D can be found by finding the closest points on each line and then using the distance formula to calculate the distance between those two points.

3. Can the distance between two lines in 3D be negative?

No, the distance between two lines in 3D cannot be negative. The distance is always a positive value, representing the length between the two lines.

4. Is the distance between two parallel lines in 3D always the same?

Yes, the distance between two parallel lines in 3D is always the same. This distance is equal to the distance between any two parallel planes that contain the lines.

5. Can the distance between two intersecting lines in 3D be zero?

Yes, the distance between two intersecting lines in 3D can be zero. This occurs when the lines are coincident, meaning they overlap each other completely.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
874
  • Calculus and Beyond Homework Help
Replies
12
Views
988
  • Calculus and Beyond Homework Help
Replies
2
Views
384
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
467
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
557
  • Calculus and Beyond Homework Help
Replies
8
Views
975
  • Precalculus Mathematics Homework Help
Replies
17
Views
989
  • Calculus and Beyond Homework Help
Replies
19
Views
1K
Back
Top