# Direction of a Vector Formula

As the name suggest, when two distinct points are directed from one place to another then it is done by a vector. It can also be seen as differences between velocity and speed. We get no clue about in which direction the object is moving. Therefore, we use this formula that will enable us to know in which direction the object is moving. In physics, the magnitude and direction are expressed as a vector. If we say that the rock is moving at 5meter per second, and the direction is towards the West, then it is represented as a vector.

If x is the horizontal movement and y is the vertical movement, then the formula of direction is

\[\LARGE \theta =\tan^{-1}\frac{y}{x}\]

If ($x_{1}$,$y_{1}$ ) is the starting point and ends with ($x_{2}$,$y_{2}$ ), then the formula for direction is

$\LARGE \theta =\tan^{-1}\frac{(y_{2}-y_{1})}{(x_{2}-x_{1})}$

**Question 1:**

Find the direction of the vector $\overrightarrow{pq}$ whose initial point P is at (5, 2) and end point is at Q is at (4, 3)?

**Solution:**

Given $(x_{1}$, $y_{1})$ = (5, 2)

$(x_{2}$, $y_{2})$ = (4, 3)

According to the formula we have,

$\theta$ = $tan^{-1}$ $\frac{(y_{2} – y_{1})}{(x_{2} – x_{1})}$

$\theta$ = $tan^{-1}$ $\frac{(3-4)}{(2-5)}$

$\theta$ = -0.26

**$\theta$ $14.89^{circ}$**