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?
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?