Saturday, November 19, 2011

How to find vector between 2 points not in reference to the origin ?

Hello, I have 2 points (A and B) in 3D space. I have the coordinate for them A(x1,y1,z1) and B (x2,y2,z2). I want to find the vector that connect them not in reference to the origin but in reference to the point B. Could someone help me with some tips ?


Thanks,


Victoria|||There may not be a non vector unit unless it is : -


V(t) = B + t*%26lt;x1-x2, y1-y2, z1-z2%26gt;|||Parametrically, the vector V can be represented by:



V(t) = B + t*%26lt;x1-x2, y1-y2, z1-z2%26gt;



Note that when t=1,

V(t) = %26lt;x2, y2, z2%26gt; + %26lt;x1-x2, y1-y2, z1-z2%26gt; = %26lt;x1, y1, z1%26gt; = A

No comments:

Post a Comment