# Components Of A Vector

The **components of a vector** in two dimension coordinate system are usually considered to be x-component and y-component. It can be represented as, V = (v_{x}, v_{y}), where V is the vector. These are the parts of vectors generated along the axes. In this article, we will be finding the components of any given vector using formula both for two-dimension and three-dimension coordinate system.

## Components of a Vector Definition

Suppose a vector V is defined in a two-dimensional plane. The vector V is broken into two components such as v_{x} and v_{y}

Now let an angle θ, is formed between the vector V and x-component of vector. The vector V and its x-component (v_{x}) form a right-angled triangle if we draw a line parallel to y-component (v_{y}).

By trigonometric ratios, we know,

cos θ = Adjacent Side/Hypotenuse = v_{x}/V

sin θ = Opposite Side/Hypotenuse = v_{y}/V

where V is the magnitude of the vector V.

### Components of vector formula

Since, in the previous section we have derived the expression:

cos θ = v_{x}/V

sin θ = v_{y}/V

Therefore, the formula to find the components of any given vector becomes:

** v _{x}=V cos θ**

**v _{y}=Vsin θ**

Where V is the magnitude of vector V and can be found using Pythagoras theorem;

**|V| = √(v _{x}^{2}, v_{y}^{2})**

## Orthogonal vectors

Vectors can be easily represented using the co-ordinate system in three dimensions. Before getting into the representation of vectors, let us understand what orthogonal representation is.

In terms of coordinate geometry, by orthogonal representation, we mean parameters that are at right angles to each other. In orthogonal three dimensional system, we have three axes perpendicular to each other, which represent x,y and z axis.

Unit vectors: are the vectors which have magnitude of unit length.

\(\hat{x} = \frac{\overrightarrow{x}}{|\overrightarrow{x}|}\)

Here, \(\hat{x}\) represents a unit vector, \(\overrightarrow{x}\) represents the vector and represents the magnitude of the vector.

In orthonormal or orthogonal systems, we can have three different unit vectors with one in each direction. It can be represented as follows:

The point X(1, 1, 1) can be represented using the three mutually perpendicular axes as points A(1, 0, 0), B(0, 1, 0) and C(0, 0, 1) on the and axes respectively.

The magnitude of the vector \(\overrightarrow{OA}\) along the-axis is 1. Similarly, that of vectors \(\overrightarrow{OB}\) and \( \overrightarrow {OC}\) is also 1 along the y and z axes respectively. These vectors are the unit vectors along x, y and z axis and are represented by \(\hat{i}\),\( \hat{j}\) and \(\hat{k}\) respectively.

Now, with the help of unit vectors we can represent any vector in the three-dimensional coordinate system.

### Components of vector in 3D

To represent a vector in space, we resolve the vector along the three mutually perpendicular axes as shown below.

The vector OM can be resolved along the three axes as shown. With OM as the diagonal, a parallelepiped is constructed whose edges OA, OB and OC lie along the three perpendicular axes.

From the above figure, we can say that

\(\overrightarrow{OA}\) =\( x\hat{i}\)

\(\overrightarrow{OB}\) =\( y\hat{j}\)

\(\overrightarrow{OC}\) =\( z\hat{k}\)

The vector can be represented as

\(r\) = \(\overrightarrow{OM} = x\hat{i} + y \hat{j} + z \hat{k}\)

This is known as the component form of a vector.

Thus, the vector r can be resolved in the directions i, j and k respectively. This represents the position of given vectors in terms of the three co-ordinate axes.

If a vector is given in a form as shown above, then the magnitude of such a vector can be found out by using the Pythagoras theorem in the given figure as ,

r =\(\overrightarrow {OM} \)= \(x\hat{i} + y\hat{j} + z\hat{k}\)

\( \Rightarrow |r|\) = \(\sqrt{(x^2 + y^2 + z^2)}\)

The sum of two vectors a =\( a_1 \hat{i} + a_2 \hat{j} + a_3 \hat{k} \)and b =\( b_1 \hat{i} + b_2 \hat{j} + b_3 \hat{k} \) is given by adding the components of the three axes separately.

i.e.a + b = \( a_1 \hat{i} + a_2\hat{j} + a_3\hat{k} + b_1 \hat{i} + b_2\hat{j} + b_3\hat{k} \)

\(\Rightarrow a + b\) = \((a_1 + b_1)\hat{i} + (a_2 + b_2)\hat{j} + (a_3 + b_3)\hat{k}\)

Similarly, the difference can be given as:

a – b = \((a_1 – b_1)\hat{i} + (a_2 – b_2)\hat{j} + (a_3 – b_3)\hat{k}\).

We can perform a number of mathematical operations on vectors using this system of representation. It is both easy and simple. To make our understanding more clear, let us take an example.

### Vector Components Problem

Example: Two vectors are given by a = \(5\hat{i} – 3\hat{j} + 4\hat{k}\) and b = \(2\hat{i} – \hat{j} + \hat{k}\). Find the unit vectors and the sum and difference of both the vectors.

Solution: The unit vector is given by \(\hat{x}\) =\( \frac{\overrightarrow{x}}{|\overrightarrow{x}|}\)

The magnitude of both the vectors can be given as:

|a| = \(\sqrt{5^2 + (-3)^2 + 4^2}\)

\(\Rightarrow \)|a| = \(\sqrt{50}\)

|b| = \(\sqrt{2^2 + (-1)^2 + 1^2}\)

\(\Rightarrow\) |b| = \(\sqrt{6}\)

Now, the unit vectors can be given as:

\(\hat{a}\) = \(\frac{5\hat{i} – 3\hat{j} + 4\hat{k}}{\sqrt{50}}\)

\(\hat{b}\) = \(\frac{2\hat{i} – \hat{j} + \hat{k}}{\sqrt{6}}\)

The sum can be given by:

a + b = \(5\hat{i} – 3\hat{j} + 4 \hat{k} + 2\hat{i} – \hat{j} + \hat{k}\)

a + b = \(7\hat{i} – 4\hat{j} + 5\hat{k}\)

The difference is given by:

a – b = \(3\hat{i} – 2\hat{j} + 3\hat{k}\)