jegues
- 1,085
- 3
HallsofIvy said:What is your question?
vela said:Your reasoning is correct, but you flipped a sign when calculating the dot product in your last step.
ehild said:Quite a lot of way to attack a problem... The distance between the skew lines is the length of the straight line which intersects both lines and is perpendicular to both of them. The tangent vector of this line is the vector product of
v1 and v2.
[tex]\vec n = \vec v_1\times \vec v_2[/tex]
The length of the perpendicular line segment is equal to the projection of any vector which connects a point on l1 to a point on l2, for example r12 that points from P1 to P2. The distance is
[tex]D=\frac{\vec n\cdot\vec r_{12}}{|\vec n|}[/tex]
ehild