Find the Shortest Distance Between Two Lines: L1 and L2

  • Thread starter Thread starter brad sue
  • Start date Start date
  • Tags Tags
    Dimension
Click For Summary
SUMMARY

The shortest distance between the two lines L1: r = (1,0,0) + t(2,3,4) and L2: u = (2,1,0) + s(1,2,0) can be determined by constructing the function "distance squared between the lines," defined as the norm squared of the distance vector function d(s,t) = r(t) - u(s). This approach simplifies the problem, as the minimum distance occurs when the distance squared is minimized. The function is dependent on the variables t and s, and the extrema can be found using standard optimization techniques without needing the second derivative test.

PREREQUISITES
  • Understanding of vector functions and their representations
  • Familiarity with optimization techniques in multivariable calculus
  • Knowledge of norms and distance metrics in Euclidean space
  • Basic proficiency in mathematical notation and vector algebra
NEXT STEPS
  • Study the method for finding extrema of multivariable functions
  • Learn about vector projections and their applications in distance calculations
  • Explore the concept of distance metrics in higher-dimensional spaces
  • Investigate alternative methods for calculating distances between lines in 3D space
USEFUL FOR

Mathematicians, physics students, engineers, and anyone involved in computational geometry or optimization problems will benefit from this discussion.

brad sue
Messages
270
Reaction score
0
Hi,
Can someone help me with this:

What is the shortest distance between the two lines:

L1: r= (1,0,0) +t( 2,3,4)
L2 u= (2,1,0) +s(1,2,0)

Thank you very much for your help

B
 
Physics news on Phys.org
There is probably a shorter way in terms of vectors and stuff, but here's a way:

Build the function "distance squared btw the lines", defined as the norm squared of the distance vector function

[tex]\vec{d}(s,t) = \vec{r}(t) - \vec{u}(s)[/tex]

The reason we work with the function distance squared instead of the function distance itself is that the distance is minimum when the distance squared is minimum, and as you'll see, it is much easier to find when d² is minimum then when d is minimum.

This function is a function of the two variables t and s. Use the usual method to find the extrema of the function. (no need to use the second derivative test to determine the nature of each extrema; yuo know the function distance quared as no maxima and only one minimum :wink:.
 
quasar987 said:
There is probably a shorter way in terms of vectors and stuff, but here's a way:

Build the function "distance squared btw the lines", defined as the norm squared of the distance vector function

[tex]\vec{d}(s,t) = \vec{r}(t) - \vec{u}(s)[/tex]

The reason we work with the function distance squared instead of the function distance itself is that the distance is minimum when the distance squared is minimum, and as you'll see, it is much easier to find when d² is minimum then when d is minimum.

This function is a function of the two variables t and s. Use the usual method to find the extrema of the function. (no need to use the second derivative test to determine the nature of each extrema; yuo know the function distance quared as no maxima and only one minimum :wink:.

OK thank you very much
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 30 ·
2
Replies
30
Views
3K