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

I have two linear, skew, 3D lines, and I was wondering how I could find a point on each of the lines whereby the distance between the two points are a particular distance apart, and that the vector formed between these points is perpendicular to both original lines?

I'm not after the points where the lines are the closest distance apart, nor the furthest distance apart! I'm after the points on the lines where the two lines are a particular distance apart and the vector between them is perpendicular. I'd like to also be able to change this distance and find the new points.

Please note that this is a different question to the one I posted here. I wanted to rewrite the question with the necessary changes because I got some really good answers to the last question I asked.

Thanks very much in advance for any help! :)

share|cite|improve this question
If the vector between the points is perpendicular to both lines, then those points are the points where the distance is minimal. – Hans Lundmark Mar 18 '11 at 11:18
up vote 3 down vote accepted

You can't do this. If the lines are skew, there is only one line between them that is perpendicular to them both. (And if the lines are parallel, there are many such lines, but they all have the same length.)

share|cite|improve this answer
Whoops! Yea of course - I can see this now lol! – James Bedford Mar 18 '11 at 13:21

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.