Complex 3d vector intersection formula..

by Physicist1231
Tags: complex, formula, intersection, vector
 P: 103 ok here goes... In a three dimentional environment. i am standing at point (0,0,0) and there is someone else standing at (10,0,0) I start moving with a velocity of (1,2,3)/s and the other guy wants to meet me. I know that he is approaching the point of intersection at 4m/s (that is cumulative). We wind up meeting at the same spot at the same time. My question is how do you get that spot in 3d space and at what time did you meet? This seems that it can be done since we have the initial positions and the velocities. But since you only know the overall velocity of the other guy how do you know how to break it down into the velocities on the X, Y and Z without knowing how much time has passed?
 Math Emeritus Sci Advisor Thanks PF Gold P: 39,285 Interesting problem. Are we to assume you and the other guy both move in a single direction? You say that you moved from (0, 0, 0) with velocity vector <1, 2, 3> m/s so at any time, t, you will be a position x= t, y= 2t, z= 3t. The other person moves with speed 4 m/s so at any time, t, he will be at distance 4t from (10, 0, 0). In other words, his position will be on the circle with center at (10, 0, 0) and radius 4t. That is given by $(x- 10)^2+ y^2+ z^2= 16t^2$. If you put x= t, y= 2t, z= 3t into that equation, you will get a quadratic equation for t.
 Sci Advisor P: 6,027 Set up a family of lines start at (10,0,0) which intersect the line (1,2,3)t. The family can be define as a function of angle with the line between (0,0,0) and (10,0,0). For any point of intersection get the times that the two vectors hit the point of intersection. Solve the equations for the times being equal.
P: 103
Complex 3d vector intersection formula..

 Quote by mathman Set up a family of lines start at (10,0,0) which intersect the line (1,2,3)t. The family can be define as a function of angle with the line between (0,0,0) and (10,0,0). For any point of intersection get the times that the two vectors hit the point of intersection. Solve the equations for the times being equal.
interesting concept. I am unfamiliar with setting up a family of lines. Can you go into more detail?
P: 103
 Quote by HallsofIvy Interesting problem. Are we to assume you and the other guy both move in a single direction? You say that you moved from (0, 0, 0) with velocity vector <1, 2, 3> m/s so at any time, t, you will be a position x= t, y= 2t, z= 3t.
Yes

 Quote by HallsofIvy The other person moves with speed 4 m/s so at any time, t, he will be at distance 4t from (10, 0, 0). In other words, his position will be on the circle with center at (10, 0, 0) and radius 4t.
I think you have that right. His position would land on the permimiter of the circle with a radius of 4t.

 Quote by HallsofIvy That is given by $(x- 10)^2+ y^2+ z^2= 16t^2$. If you put x= t, y= 2t, z= 3t into that equation, you will get a quadratic equation for t.
... i got a pretty big equasion for that but since there are two (or more) unknowns it seems unsolvable but i KNOW it can be done. I actually did this once before but someone (a friend of mine....) deleted my work...
P: 6,027
 Quote by Physicist1231 interesting concept. I am unfamiliar with setting up a family of lines. Can you go into more detail?
Construct the triangle where one side (C) is the line from (0,0,0) to (10,0,0). One angle is given by the angle at (0,0,0) between the given side and a line along (0,0,0) to (1,2,3) - this will be along side A. Then let a be the angle at (10,0,0). You now have defined a complete triangle.

Start at (10,0,0) and go along (B) the third side (at angle a) and get the point of intersection with the line along side A. Compute the distances along A and B and get the times. These times will depend on angle a. Find the value of angle a needed to make these times equal.
Math
Emeritus
Thanks
PF Gold
P: 39,285
 Quote by Physicist1231 Yes I think you have that right. His position would land on the permimiter of the circle with a radius of 4t. ... i got a pretty big equasion for that but since there are two (or more) unknowns it seems unsolvable but i KNOW it can be done. I actually did this once before but someone (a friend of mine....) deleted my work...
On the contrary, there is only one variable, t- putting x= t, y= 2t, z= 3t into $(x- 10)^2+ y^2+ z^2= 16t$, $t^2- 20t+ 100+ 4t^2+ 9t^2= 16t^2$ which reduces to the quadratic equation $t^2+ 10t- 50= 0$. That's not hard to solve!
P: 103
 Quote by HallsofIvy On the contrary, there is only one variable, t- putting x= t, y= 2t, z= 3t into $(x- 10)^2+ y^2+ z^2= 16t$, $t^2- 20t+ 100+ 4t^2+ 9t^2= 16t^2$ which reduces to the quadratic equation $t^2+ 10t- 50= 0$. That's not hard to solve!
very nice! I will try this out in my project (no not for school or a grade:))

I will let you know as soon as i find out!
P: 103
 Quote by mathman Construct the triangle where one side (C) is the line from (0,0,0) to (10,0,0). One angle is given by the angle at (0,0,0) between the given side and a line along (0,0,0) to (1,2,3) - this will be along side A. Then let a be the angle at (10,0,0). You now have defined a complete triangle. Start at (10,0,0) and go along (B) the third side (at angle a) and get the point of intersection with the line along side A. Compute the distances along A and B and get the times. These times will depend on angle a. Find the value of angle a needed to make these times equal.
Yeah that is what i have been trying to do but i seem to be missing something...

I will also check out HallsofIvy solve to see if i can get anywhere with it.
P: 6,027
 Quote by Physicist1231 Yeah that is what i have been trying to do but i seem to be missing something... I will also check out HallsofIvy solve to see if i can get anywhere with it.
P: 103
 Quote by HallsofIvy On the contrary, there is only one variable, t- putting x= t, y= 2t, z= 3t into $(x- 10)^2+ y^2+ z^2= 16t$, $t^2- 20t+ 100+ 4t^2+ 9t^2= 16t^2$
Ok i got that far....

 Quote by HallsofIvy which reduces to the quadratic equation $t^2+ 10t- 50= 0$. That's not hard to solve!
Can you show this because I cant seem to get there...

I get this:

$13t^2-20t + 100 = 16t^2$

guess im looking for the next step... I can get it down to:

$t^2 - (20/3)t = (100/3)$ (I kept it as fraction to keep it clean)

ideas? I know it is something simple
 P: 103 can someone double check me? I got T = 6.25 which means Person 1 (from 0,0,0) traveled a total of 23.38125m and Person 2 traveled 25m.. Sounds close but does not feel right...
HW Helper
Thanks
PF Gold
P: 7,562
 Quote by Physicist1231 I get this: $13t^2-20t + 100 = 16t^2$
That should be ##14t^2## on the left, not ##13t^2##.
P: 103
 Quote by LCKurtz That should be ##14t^2## on the left, not ##13t^2##.
Thank you for that! I still do not seem to be getting a clear cut answer. What I am striving for a formula that i can use for this and just plug in the following:

initial (x,y,z) of person 1
initial (x,y,z) of person 2
(x,y,z) Velocity of person 1
Overall Velocity of person 2

I want to result in:

The time of collision (assuming that the lines intersect)
and
The (x,y,z) of collision (assuming that the lines intersect)