Dr Zoidburg said:
Homework Statement
following equations represent lines P nad Q in 3 dimensional space:
P: 2-x=y+1=(z-3)/2
Q: 5-x=y-2=(z+1)/2
(a) Show that P & Q are two different lines which are parallel
(b) Find the distance between the two lines, measured along a line perpendicular to P & Q.
Homework Equations
The Attempt at a Solution
(a) I attempted to turn the above equations into vector equations. I came out with the following:
v(P) = (2,-1,3) + t(-1,1,2)
v(Q) = (5,2,-1) + s(-1,1,2)
I concluded that since the the direction vectors are the same, therefore the lines are parallel.
correct?
Yes, the vector equations and the conclusion that the lines are parallel because they have the same direction vector are correct.
(b) Not sure what to do here. Do I use the distance formula for between two points?
ie.
\sqrt{((2-5)}^{2}+(-1-2)}^{2}+(3--1)}^{2})
I then get \sqrt{34}
correct? (I have the nagging feeling it ain't!)
Okay, but what two points? Do you have any reason to believe that the line from (2, -1, 3), on the first line, to (5, 2, -1), on the second line, is perpendicular to the lines? One way to check is to calculate the vector from one of those points to the other:(5-2, 2-(-1), -1-3)= (3, 3, -4) and then find its dot product with the direction vector: (3, 3, -4)\cdot(-1, 1, 2)= -3+ 3- 8= -8. Since that is NOT 0, the two vectors are NOT perpendicular and the line between the two points is NOT perpendicular to the two lines.
Try this instead: the vector (-1, 1, 2), the direction vector, is in the direction of the line and so perpendicular to any plane perpendicular to the line. That means that the plane perpendicular to the first line and containing the point (2, -1, 3) has equation -1(x- 2)+ 1(y-(-1))+ 2(z- 3)= 0 or -x+ y+ 2z= 3. Where does the second line x= 5- s, y= 2+ s, z= -1+ 2s cross that line? (Replace x, y and z in the equation of the plane with those formulas in terms of s and solve for s.) Now you can find the distance between (2, -1, 3) and that point.