How to calculate the end point of a vector?

  • Thread starter Thread starter Morgoth
  • Start date Start date
  • Tags Tags
    Point Vector
Click For Summary
To calculate the final point of a vector (X2, Y2) given its initial point (X1, Y1), magnitude (R), and angle (θ), use the equations (X2 - X1) = R cos(θ) and (Y2 - Y1) = R sin(θ). This allows for direct computation of the final coordinates based on the vector's direction and length. Alternatively, the relationship Y2 = Y1 + tan(θ)(X2 - X1) can be used, followed by solving for X2 using the distance formula. The discussion highlights the importance of understanding the angle's impact on the vector's direction and magnitude. Variations in angle measurement, such as bearings from North, are also noted as relevant in specific applications.
Morgoth
Messages
125
Reaction score
0
Knowing the initial point of a vector (X1,Y1) and its magnitude and angle (R,θ)
HOW CAN I CALCULATE ITS FINAL POINT (X2,Y2)?

like I know
(X2-X1)^2 = R^2 - (Y2-Y1)^2
tanθ= [Y2-Y1]/[X2-X1]
 
Physics news on Phys.org


Morgoth said:
Knowing the initial point of a vector (X1,Y1) and its magnitude and angle (R,θ)
HOW CAN I CALCULATE ITS FINAL POINT (X2,Y2)?

like I know
(X2-X1)^2 = R^2 - (Y2-Y1)^2
tanθ= [Y2-Y1]/[X2-X1]

The last equation gives us

Y_2=Y_1+\tan(\theta)(X_2-X_1)

Now plug this value for Y_2 in the equation

(X_2-X_1)^2 + (Y_2-Y_1)^2=R^2

and solve for X_2 (you will get two values, why?, which value you want depends on \theta).
 


Hint: Do you also know what (Y2-Y1)/R and (X2-X1)/R are?

Edit: I wonder how many times I've made a post only to find that micromass replied a minute earlier. :smile:
 


Fredrik said:
Edit: I wonder how many times I've made a post only to find that micromass replied a minute earlier. :smile:

You snooze, you lose :-p

But your to this question answer is way better than mine! I didn't even think of something like that.
 
thanks everyone. I think i thought of a faster way, like using:
(x2-x1)= r cosθ
(y2-y1)= r sinθ
 
Morgoth said:
thanks everyone. I think i thought of a faster way, like using:
(x2-x1)= r cosθ
(y2-y1)= r sinθ
That's exactly what I suggested. :smile:
 
lol fair enough :p the x/r and y/r thing didn't work in my mind that fast...

Now about the question to "why"
prolly because a vector showing to the -x or +x makes no difference for measuring its magnitude (r=+/- sqrt[Δx^2 + Δy^2, however - has no meaning, for you define r>=0). it's a problem of θ to solve.
 
Knowing the initial point of a vector (X1,Y1) and its magnitude and angle (R,θ)
HOW CAN I CALCULATE ITS FINAL POINT (X2,Y2)?

An interesting variation of this problem is if θ is the bearing from North as used by surveyors and navigators.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
636
  • · Replies 7 ·
Replies
7
Views
2K