I need to find the points on two lines in 4 dimensions that are closest to each other. How would I go about doing that?

Thanks!

Printable View

- December 5th 2011, 04:51 PMtubetess123Finding minimum distance between two lines
I need to find the points on two lines in 4 dimensions that are closest to each other. How would I go about doing that?

Thanks! - December 5th 2011, 05:19 PMpickslidesRe: Finding minimum distance between two lines
What are the equations of the lines?

- December 9th 2011, 11:03 AMtubetess123Re: Finding minimum distance between two lines
The first line is all scalar multiples of (1,2,0,0).

The second line is (1,0,-2,3) + all scalar multiples of (-1,1,2,-1).

The answer I got was the points (3/7,6/7,0,0) and (-1/7,8/7,2/7,5/7). The distance I got was one.

Is this correct?

Thanks!