Distance between two position vectors.

  • Thread starter Thread starter peripatein
  • Start date Start date
  • Tags Tags
    Position Vectors
AI Thread Summary
To find the minimum distance between two bodies represented by position vectors A and B, one can express both vectors as single equations and apply the distance formula. The distance function can be minimized using calculus, specifically by working with the distance squared to simplify calculations. An alternative method involves projecting a vector formed between points on each line onto one of the lines, but this approach may not yield the minimum distance unless the particles are at their closest points simultaneously. The discussion emphasizes that the minimum distance is a quadratic function, and finding its vertex can lead to the solution. Ultimately, the participants encourage sharing calculations to facilitate further assistance.
peripatein
Messages
868
Reaction score
0
Hi,

Supposing the position vectors of two bodies A and B are described thus: A = (a1,0,a3) + (Va,0,0)t and B = (0,b2,b3) + (Vb,Vb,0)t, where Va, Vb are constant in time. How may I find the minimum distance between these two bodies?

If the vectors are skew, then the distance comes out as a3-b3, but that is probably wrong as independent of too many of the other parameters given.

I'd appreciate any advice.
 
Physics news on Phys.org
peripatein said:
Hi,

Supposing the position vectors of two bodies A and B are described thus: A = (a1,0,a3) + (Va,0,0)t and B = (0,b2,b3) + (Vb,Vb,0)t, where Va, Vb are constant in time. How may I find the minimum distance between these two bodies?

If the vectors are skew, then the distance comes out as a3-b3, but that is probably wrong as independent of too many of the other parameters given.

I'd appreciate any advice.

##t## represents the same time for both bodies I guess, so at ##t=0## A starts at ##(a_1,0,a_3)## and B starts at ##(0,b_2,b_3)##.
Write both A and B as single vectors by adding the two terms in their formulas and use the distance between two points formula. That will be a function of ##t## that you can minimize using calculus. It will be easier if you use the distance squared in the calculations.
 
peripatein said:
Hi,

Supposing the position vectors of two bodies A and B are described thus: A = (a1,0,a3) + (Va,0,0)t and B = (0,b2,b3) + (Vb,Vb,0)t, where Va, Vb are constant in time. How may I find the minimum distance between these two bodies?

If the vectors are skew, then the distance comes out as a3-b3, but that is probably wrong as independent of too many of the other parameters given.

I'd appreciate any advice.
What is the distance between the two objects at time t ?
 
This can be done without resorting to calculus techniques, if you have learned how to find the projection of one vector in the direction of another. This would be a technique you use with lines that don't intersect (and for which the minimum distance is 0.)

Pick a point on each line (the two equations are parametric equations of lines in space) and form a vector - call it H. Then find the projection of H onto one of the lines - call it Pr. The vector H - Pr gives you the vector that is perpendicular to Pr. Its magnitude is the distance between the two lines.
 
Mark44 said:
This can be done without resorting to calculus techniques, if you have learned how to find the projection of one vector in the direction of another. This would be a technique you use with lines that don't intersect (and for which the minimum distance is 0.)

Pick a point on each line (the two equations are parametric equations of lines in space) and form a vector - call it H. Then find the projection of H onto one of the lines - call it Pr. The vector H - Pr gives you the vector that is perpendicular to Pr. Its magnitude is the distance between the two lines.

I don't think so. The minimum distance between the two moving particles won't be the same as the distance between the lines unless both particles happen to be at the closest points at the same time, which wouldn't generally be true.
 
How do I project vector H onto one of the lines, given their parametric equations?
 
peripatein said:
How do I project vector H onto one of the lines, given their parametric equations?

Don't bother with that method. Read my post #5 and my earlier post.
 
The equation you get that way are too cumbersome to solve, I fear. I am pretty stuck.
 
peripatein said:
The equation you get that way are too cumbersome to solve, I fear. I am pretty stuck.

You give up too easily. If you call D the distance squared, it is just a quadratic. Show us your effort.
 
  • #10
LCKurtz said:
You give up too easily. If you call D the distance squared, it is just a quadratic. Show us your effort.
With what LCKurtz says above in mind:

The minimum (or maximum) of the quadratic ax2 + bx +c occurs at \displaystyle x=-\frac{b}{2a}\ .

Show us what you get for the square of the distance.
 
Back
Top