Distance between two lines in R^3

  • Thread starter Thread starter SteveDC
  • Start date Start date
  • Tags Tags
    Lines
Click For Summary

Homework Help Overview

The problem involves finding the shortest distance between two lines in three-dimensional space, specifically line L1 through the origin and point B(2,-1,-2), and line L2 through point A(3,1,-1) with a given direction vector. The original poster attempts to find a vector orthogonal to both lines to facilitate this calculation.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the use of the cross product of direction vectors to find a normal vector and explore the properties of the line segment connecting the closest points on the two lines. Questions arise regarding how to find these closest points and the projection of vectors onto the normal vector.

Discussion Status

The discussion is ongoing, with participants exploring various approaches to the problem. Some guidance has been offered regarding the properties of the line segment and projections, but there is no explicit consensus on the best method to find the shortest distance.

Contextual Notes

Participants are considering the implications of using arbitrary points on the lines and the need for a general approach to the problem. There is a hint in the original problem statement regarding the use of vector OA and the normal vector, which remains under discussion.

SteveDC
Messages
39
Reaction score
0

Homework Statement



Let line L1 be the line through origin O and the point B(2,-1,-2). Let line L2 be the line through point A(3,1,-1) with direction vector i-j-k. Obtain a vector n, orthogonal to both lines. Use n and the vector OA connecting the lines to find the shortest distance between two lines.


Homework Equations





The Attempt at a Solution



I have used both direction vectors for both lines to find their cross product to obtain the vector n, orthogonal to both lines: (2i-j-2k) x (i-j-k) = -i-k

But then not sure where to go from here despite the hint in the question of using vector OA and n?
 
Physics news on Phys.org
If you drew a line-segment joining the closest points on the lines to each other, what sort of properties would it have?
 
It would have direction n and have two points, one lying on L1 and one lying on L2, but I can't think of a way of finding these points?
 
Given some point p1 on line 1 and some point p2 on line 2, what is the projection of the vector from point p1 to point p2 onto the vector n that is normal to both lines?
 
Am I right in saying that vector p1>p2 projected onto n would always be the distance between the two lines, but even if this is the case, how would you find the smallest value for this to find the shortest distance.
 
Write an expression for some arbitrary point p1 on line 1 and some arbitrary point p2 on line 2. What is the projection of p2-p1 onto a vector perpendicular to both lines?

It's perhaps better if you any two arbitrary lines rather than your specific lines because the result is very general.

Hint: Use ##\vec p_i + \lambda\vec \tau_i## as the equation of a line passing through some point pi.
 
The line of "shortest distance" between two lines is, as said above, perpendicular to both lines. Find the plane perpendicular to the first line at an arbitrary point (x_0, y_0, z_0). Determine the point, (x_1, y_1, z_1), where the second line crosses that plane. Determine what (x_0, y_0, z_0) must be so the line between (x_0, y_0, z_0) and (x_1, y_1, z_1) is also pependicular the second line.
 
That's an alternative approach, Halls, that isn't quite pertinent to the problem at hand. The OP was asked to use the normal to both lines and a line segment connecting a point on one line to a point on the other line.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
4K
Replies
18
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K