Distance between two lines in 3D

  • Thread starter Thread starter Melawrghk
  • Start date Start date
  • Tags Tags
    3d Lines
Melawrghk
Messages
140
Reaction score
0

Homework Statement


L1=(x,y,z)=(-2,-4,-3)+t(-2,3,-2)
L2=(x,y,z)=(0,0,4)+ s(-2,-3,-1)

Find the shortest distance between the two lines

The Attempt at a Solution


First, I did the cross product of the two directional vectors from both lines:
(-2,3,-2) x (-2,-3,-1) = (-9,-2, 12)
And its unit vector is:
-9x-2y+12z
-----------
2291/2

Then I found the distance between two points on the lines:
R = (0,0,4)-(-2,-4,-3) = (2,4,7)

And then I just tried to project the R onto the unit vector and got 58/sqrt(229), but that's not right. Help?
 
Physics news on Phys.org
that should be correct.

EDIT: yeah Dick is right...Sorry about that
 
Last edited:
I get that the cross product is (-9,+2,+12).
 
Ooohhh! I see, I'm just retarded and forgot about the negative space in the second row. OOOOH. This all makes sense now!

Thank you!
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top