Solving 2 Line Equations: Find Point of Intersection

  • #1
13
0

Homework Statement


One of those annoying questions that should be simple, but that I've forgotten how to do:

Two lines are given by the equations r1=a+lp and r2=b+mq. Find the condition for the lines to cross, and find there position of intersection.

Homework Equations



The Attempt at a Solution


I've done the first bit: (a-b).(p*q)=0 where * means the cross product. But I can't find a way of doing the second bit (find the point of intersection), I'd know how to do it if the actual vectors were given, but how do you write in in a nice vector form?
Thanks
 
Physics news on Phys.org
  • #2
Where did you get that "first bit". If p and q are perpendicular, then pXq= 0 so that condition is satisfied for all a and b but the line do not necessarily intersect. Or are you working in 2 dimensions?
 
  • #3
I'm working in three dimensions.
To get the first part I used the result that the minimum distance between two skew lines= (a-b).(p*q)/|p*q| where || means modulus which comes from the fact that the vector across the minimum distance will be perpendicular to both lines, and using the dot product to find the cosine of an angle. Then I set this equal to zero to find when the intersect.

As you pointed out (and I didn't realize) this is only going to work if p and q are not a multiple of one another, so I either need to add that onto the end as a condition with an explanation there could in this case either be infinite intersetions or no intersection. Alternatively do you know a better way of finding a condition?
Thanks for your help.
 

Suggested for: Solving 2 Line Equations: Find Point of Intersection

Back
Top