Distance Between Nonparallel Lines: Linear Algebra Solution

Click For Summary
SUMMARY

The discussion focuses on calculating the distance between two nonparallel lines, L1 and L2, using linear algebra techniques. The user identifies the normal vector v = [6, 15, -3] derived from the direction vectors of the lines. To find the distance, the user is advised to project the difference vector between points on L1 and L2 onto the unit vector of the normal direction. This projection method provides a definitive solution to the problem of determining the distance between the two lines.

PREREQUISITES
  • Understanding of linear algebra concepts, specifically vector projections.
  • Familiarity with the representation of lines in parametric form.
  • Knowledge of normal vectors and their significance in geometry.
  • Ability to perform dot product calculations between vectors.
NEXT STEPS
  • Study the concept of vector projections in linear algebra.
  • Learn how to derive normal vectors from parametric equations of lines.
  • Explore the application of dot products in calculating distances between geometric entities.
  • Investigate the use of planes in three-dimensional space and their equations.
USEFUL FOR

Students and professionals in mathematics, particularly those studying linear algebra, as well as engineers and physicists dealing with spatial relationships and distances between lines in three-dimensional space.

dangish
Messages
72
Reaction score
0
I already posted this once, have a hard time believing nobody knows how to do it, and it's due tomorrow, so here it is again:

Find the distance between the nonparallel lines,

L1:

|x| ...|4| ...|1|
|y| = |-1| + t|0|
|x| ...|3| ...|2|

and L2:

|x| ...|1| ...|-3|
|y| = |2| + s|1|
|x| ...|2| ...|-1|

picture the above as matricies, sorry i don't know how to properly make them :...(

Attempt at a solution:

The hint told me to find a vector orthogonal to both lines. so i took the normal vector of each line ( the three numbers after s and t ) and got a vector parallel to each.

The vector I used was v = |6,15,-3| <-- again picture this as a matricie.

The next part in the hint said take a plane with this normal containing one of the lines.

so I did and got, 6x +15y - 3z = d , then I subbed in a point from L2 to get,

6(1)+15(2)-3(2)=d ==> d=30

the equation of the plane is now 6x+15y-3z=30

The next part of the hint says "use a projection", and this is where I am stuck.

how will I project the line onto the plane? any help would be much appreciated, thanks.
 
Physics news on Phys.org
You don't really need the plane equation. Take the normal vector v=[6,15,-3] and find a vector of unit length pointing in the same direction. If you take the dot product of that with the difference between any point in L1 and any point in L2, the result will be the distance. That's 'projecting' a difference vector between the two lines onto the normal direction.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K