• Support PF! Buy your school textbooks, materials and every day products Here!

Vectors/ lines

  • Thread starter zell99
  • Start date
  • #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
 

Answers and Replies

  • #2
HallsofIvy
Science Advisor
Homework Helper
41,808
933
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
13
0
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 realise) 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 explaination 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.
 

Related Threads on Vectors/ lines

  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
10
Views
3K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
11
Views
9K
Replies
5
Views
1K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
7
Views
2K
Top