Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The line L has equation:$$r=(i-4k)+t(i+2j-2k)$$ The line M has equation $$r=(4i+nj+5k)+s(7i+3j-4k)$$ where n is a constant.

Find (in terms of n) the shortest distance between lines L and M.

Here's what I've tried:

The direction vector of the line perpendicular to both L and M is $(2i+10j+11k)$.

So I tried to find the vector equation of the line perpendicular to both L and M then I can find the intersection of this line with L and M. (I failed to continue)

Then I tried to express the distance between the two lines in terms of $n$ and $t$


but I'm not sure whether the two 't' in the equation of L and M is the same..

share|cite|improve this question
Change one $t$ to a letter $s$ instead. – Will Jagy Jul 29 '12 at 4:58
up vote 1 down vote accepted

So you want $t,s,b$ such that $$i-4k+t(i+2j-2k)+b(2i+10j+11k)=4i+nj+5k+s(7i+3j-4k)$$ That's three linear equations in the three unknowns $t,s,b$ (and the parameter $n$), so you should be able to solve for the three unknowns (in terms 0f $n$). From the value of $b$ you can easily calculate the distance between the lines (as a function of $n$).

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.