- #1
iamsmooth
- 103
- 0
Homework Statement
What is the shortest distance between these two lines?
L1:(x,y,z)=(4,−2,−2)+t(1,1,−3)
L2: The line through the points (−2,−2,0) and (−4,−5,0)
Homework Equations
distance formula
The Attempt at a Solution
I thought I was on the right track but apparently not.
For L1, I took 2 arbitrary t's to get 2 points on the line (which looking back, I think might be a wrong way to approach)
With t=1 and t=3, I got the points (5,-1,-5) for t=1 and (7,1,-11) for t=3.
P2-P1 = (2,2,-6) for L1
Now since the points for L2 are given:
P2-P1 = (-2,-3,0) for L2
Now I can take the cross product of the two lines:
[tex]
\left| \begin{array}{ccc} i & j & k \\ 2 & 2 & -6 \\ -2 & -3 & 0 \end{array} \right| = -18i -12j -2k
[/tex]Plugging this all into the distance formula equation I get:
[tex]\frac{-4(-18)-5(-12)+6(-2)}{\sqrt{-18^2-12^2-2^2}} = \frac{120}{\sqrt{472}}
[/tex]
However, the answer is wrong. Any idea what I did wrong?
Thanks