Shortest distance between lines and the lines

Click For Summary

Homework Help Overview

The problem involves finding the shortest distance between two skew lines represented in vector form. The lines are defined by their respective position vectors and direction vectors, and the task is to determine the minimum distance between them.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the use of the cross product of the direction vectors to find a normal vector for the connecting line. There are questions about the justification for the orthogonality of the shortest segment connecting the lines. Some participants suggest expressing the connecting line in terms of parameters and exploring the implications of minimizing the distance squared function.

Discussion Status

Several participants have provided insights and methods for approaching the problem, including the use of vector equations and the properties of the cross product. There is an ongoing exploration of the correct application of these concepts, with some participants confirming the accuracy of calculations and others questioning specific steps taken in the reasoning process.

Contextual Notes

Participants mention constraints such as the lack of reference materials and the need to clarify steps taken in the calculations. There is also a focus on ensuring that the correct mathematical operations are applied, particularly regarding dot and cross products.

ezsmith
Messages
16
Reaction score
0

Homework Statement


Find the shortest distance between the lines r = (0,7,6) + t (-3,2,2) and the line r = (-3,6,-4) + s (2,-5,6)

The Attempt at a Solution


What I did was I cross product s(2,-5,6) & t(-3,2,2) then I took (0,7,6) - (-3,6,-4)
After getting both answer from the 2 steps I took the 2 equation I got and times (x) with each other. It is even correct? Because I referred this step from Shortest distance between 2 skewed lines since I have no notes or example regarding 2 lines
 
Physics news on Phys.org
I didn't understand why you were doing what you said after cross product. Try giving us a conceptual recipe for your steps, such as:

The shortest segment connecting these two lines I would guess would be orthogonal to both of them. This is hard to justify (unless you come up with a slick reason), but it seems lie it might be right. So the segment should be parallel to the cross product of the directions.

We can express the connecting line as a point on the first curve plus some multiple call it u times the cross product we found earlier. We'll set this expression for the connecting line to be equal to the other skew line.

So we now have three unknowns, s,t and u, and one equation, the one for the line. So we don't have enough equations? Actually, our equation is a vector equation, so it is actually three equations, so we'll be able to solve.
Here's another method. Consider the distance squared function,

f(s,t)=d^2(r_1(s),r_2(t))=|r_1(s)-r_2(t)|^2.

This is a function from ℝ^2 to ℝ. Since we are trying to minimize it, we can just check for the partials \frac{\partial}{\partial s}f(s,t) and \frac{\partial}{\partial t}f(s,t) are both zero. The reason I squared the distance is so you wouldn't have to take the derivative of a square root. This is okay since distance is nonnegative, and is an increasing function there.
 
algebrat said:
We can express the connecting line as a point on the first curve plus some multiple call it u times the cross product we found earlier. We'll set this expression for the connecting line to be equal to the other skew line.

You can take any vector that connects the two lines. It can be the vector b=(0,7,6)-(-3,6,-4)=(3,1,10) The projection of b onto the direction of the common normal is the distance between the lines. d=\vec b \cdot \vec n where n is the unit normal vector and the dot means dot product.

ezsmith said:
What I did was I cross product s(2,-5,6) & t(-3,2,2) then I took (0,7,6) - (-3,6,-4)
After getting both answer from the 2 steps I took the 2 equation I got and times (x) with each other. It is even correct?

You need to multiply the difference vector by the unit normal vector, that is, the cross product divided by its magnitude. Find the magnitude of the cross product and divide your result with it. That will be all right.
 
Oops, that must be what ezsmith was going for. That works nice, very fast, clever trick.
 
Sorry for the late reply and thanks for the reply algebrat and ehild.. Its really helpful as I am pretty stuck earlier. Just to make sure whether I am on the right track. After doing cross product which is -22i-22j+11k. I found the magnitude of the cross product which is 33 and then I took the (3,1,10)x(-22,-22,11) and got 198. Lastly, I took 198/33 and the final answer I got was 6.
 
ezsmith said:
Sorry for the late reply and thanks for the reply algebrat and ehild.. Its really helpful as I am pretty stuck earlier. Just to make sure whether I am on the right track. After doing cross product which is -22i-22j+11k. I found the magnitude of the cross product which is 33 and then I took the (3,1,10)x(-22,-22,11) and got 198. Lastly, I took 198/33 and the final answer I got was 6.

The cross product is 22i+22j+11k. The magnitude is correct. When multiplying with 3,1,10, it is dot product, so use dot instead of cross. The result is correct, that means you used the correct normal vector instead of the written one.

ehild
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K