Minimizing Distance between Lines in R3 | Squared Distance and Equations

  • Thread starter derryck1234
  • Start date
  • Tags
    Lines
In summary, the conversation discusses finding the values of t and s that minimize the distance between two given lines in R3. The homework equations involve using the formula [P] = A(ATA)-1AT, and the attempt at a solution involves finding the basis for each line and minimizing PQ2. There is a mention of possibly using calculus, but an alternative method is suggested.
  • #1
derryck1234
56
0

Homework Statement



In R3, consider the line l given by the equations {x=t,y=t,z=t} and the line m given by the equations {x=s,y=2s-1,z=1}. Let P be a point on l, and let Q be a point on m. Find the values of t and s that minimize the distance between the lines by minimizing the squared distance abs(P-Q).

Homework Equations



[P] = A(ATA)-1AT

The Attempt at a Solution



Let the basis for l be span{(1, 1, 1)} and the basis for m be span{(1,2,0),(0,-1,1)}

From here on I actually don't know what to do:( Do I have to apply the formula to both lines?

Please help!
 
Physics news on Phys.org
  • #2
hi derryck1234! :smile:

what's the difficulty? :confused:

P is (t,t,t) and Q is (s,2s-1,1), so minimise PQ2 (as the question says :wink:)
 
  • #3
Ok. But are you saying that I should use calculus to do that? Because in my textbook, whenever we need to use calculus, the question has a line before it saying: FOR THOSE READERS WHO HAVE STUDIED CALCULUS...

This one doesn't?

To be honest, I don't even think I remember how to do it...would it entail working out abs(P-Q), then finding the derivative and then setting it to zero?

Thanks

Derryck
 
  • #5
Thanks tiny tim. I do hope my correspondence maths course goes ok. It is not easy let me tell you...doin maths via correspondence:( Especially in South Africa!
 

FAQ: Minimizing Distance between Lines in R3 | Squared Distance and Equations

What is the distance between two parallel lines?

The distance between two parallel lines is the shortest distance between any two points on the lines. This distance will remain constant, regardless of the length or position of the lines.

How do you calculate the distance between two non-parallel lines?

To calculate the distance between two non-parallel lines, you can find the shortest distance between any two points on the lines. This can be done by creating a right triangle with one side being the line connecting the two points and the other two sides being the two lines. You can then use the Pythagorean theorem to find the length of the shortest side, which will be the distance between the two lines.

Can the distance between two lines be negative?

No, the distance between two lines cannot be negative. Distance is a measure of the length between two points, so it can only have positive values.

What is the significance of the distance between two lines?

The distance between two lines is significant in many mathematical applications, such as geometry and calculus. It can also be useful in real-world scenarios, such as measuring the distance between two parallel roads or railway tracks.

How does the distance between two lines change if one of the lines is moved?

If one of the lines is moved, the distance between the two lines may increase or decrease depending on the direction and distance of the movement. However, if the lines remain parallel, the distance between them will remain constant.

Similar threads

Back
Top