Find the Shortest Distance Between Two Lines: L1 and L2

  • Thread starter brad sue
  • Start date
  • Tags
    Dimension
In summary, the shortest distance between the two lines can be found by building the function "distance squared btw the lines" and using the usual method to find the extrema of the function. This is because the distance is minimum when the distance squared is minimum. The function is a function of the variables t and s. There is no need to use the second derivative test to determine the nature of each extrema.
  • #1
brad sue
281
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
  • #2
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:.
 
  • #3
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
 

1. What is the formula for finding the shortest distance between two lines?

The formula for finding the shortest distance between two lines, L1 and L2, is d = |[ (A1x + B1y + C1) - (A2x + B2y + C2) ] / √(A1^2 + B1^2 + A2^2 + B2^2)|, where A1, B1, C1 are the coefficients of the first line and A2, B2, C2 are the coefficients of the second line.

2. How does the formula for finding the shortest distance between two lines work?

The formula works by finding the perpendicular distance between the two lines. It subtracts the distance from a point on one line to a point on the other line from the distance between the two lines. This gives the shortest distance between the two lines.

3. Can the shortest distance between two lines be negative?

No, the shortest distance between two lines cannot be negative. The distance is always a positive value because it is the absolute value of the difference between two distances.

4. What does the value of the shortest distance between two lines represent?

The value of the shortest distance between two lines represents the shortest distance between any two points on the two lines. This means that the distance between any point on one line and any point on the other line will always be equal to or greater than this value.

5. Are there any special cases when using the formula for finding the shortest distance between two lines?

Yes, there are two special cases when using the formula. The first case is when the two lines are parallel, in which case the shortest distance between them is the distance between any two points on the lines. The second case is when the two lines are the same, in which case the shortest distance between them is 0, as the lines are already on top of each other.

Similar threads

  • Linear and Abstract Algebra
Replies
2
Views
3K
  • Precalculus Mathematics Homework Help
Replies
11
Views
3K
  • Introductory Physics Homework Help
Replies
13
Views
735
  • Introductory Physics Homework Help
Replies
30
Views
2K
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
2K
  • Introductory Physics Homework Help
Replies
4
Views
4K
  • Introductory Physics Homework Help
Replies
6
Views
2K
  • Introductory Physics Homework Help
Replies
4
Views
4K
  • Introductory Physics Homework Help
3
Replies
98
Views
4K
Back
Top