Components Of Vector - For 2D and 3D with Formula and Example (2024)

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 = (vx, vy), 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 asvxand vy

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

By trigonometric ratios, we know,

cosθ = Adjacent Side/Hypotenuse = vx/V

sinθ = Opposite Side/Hypotenuse = vy/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θ= vx/V

sinθ =vy/V

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

vx=V cosθ

vy=Vsinθ

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

|V| =√(vx2, vy2)

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.

\(\begin{array}{l}\hat{x} = \frac{\overrightarrow{x}}{|\overrightarrow{x}|}\end{array} \)

Here,

\(\begin{array}{l}\hat{x}\end{array} \)

represents a unit vector,

\(\begin{array}{l}\overrightarrow{x}\end{array} \)

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:

Components Of Vector - For 2D and 3D with Formula and Example (1)

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

\(\begin{array}{l}\overrightarrow{OA}\end{array} \)

along the-axis is 1. Similarly, that of vectors

\(\begin{array}{l}\overrightarrow{OB}\end{array} \)

and

\(\begin{array}{l} \overrightarrow {OC}\end{array} \)

is also 1along the yandz axes respectively. These vectors are the unit vectors along x, y and z axis and are represented by

\(\begin{array}{l}\hat{i}\end{array} \)

,

\(\begin{array}{l} \hat{j}\end{array} \)

and

\(\begin{array}{l}\hat{k}\end{array} \)

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 OMas the diagonal, a parallelepiped is constructed whose edges OA, OB and OClie along the three perpendicular axes.

Components Of Vector - For 2D and 3D with Formula and Example (2)

From the above figure, we can say that

\(\begin{array}{l}\overrightarrow{OA}\end{array} \)

=

\(\begin{array}{l} x\hat{i}\end{array} \)

\(\begin{array}{l}\overrightarrow{OB}\end{array} \)

=

\(\begin{array}{l} y\hat{j}\end{array} \)

\(\begin{array}{l}\overrightarrow{OC}\end{array} \)

=

\(\begin{array}{l} z\hat{k}\end{array} \)

The vector can be represented as

\(\begin{array}{l}r\end{array} \)

=

\(\begin{array}{l}\overrightarrow{OM} = x\hat{i} + y \hat{j} + z \hat{k}\end{array} \)

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 =

\(\begin{array}{l}\overrightarrow {OM} \end{array} \)

=

\(\begin{array}{l}x\hat{i} + y\hat{j} + z\hat{k}\end{array} \)

\(\begin{array}{l} \Rightarrow |r|\end{array} \)

=

\(\begin{array}{l}\sqrt{(x^2 + y^2 + z^2)}\end{array} \)

The sum of two vectors a =

\(\begin{array}{l} a_1 \hat{i} + a_2 \hat{j} + a_3 \hat{k} \end{array} \)

and b =

\(\begin{array}{l} b_1 \hat{i} + b_2 \hat{j} + b_3 \hat{k} \end{array} \)

is given by adding the components of the three axes separately.

i.e.a + b =

\(\begin{array}{l} a_1 \hat{i} + a_2\hat{j} + a_3\hat{k} + b_1 \hat{i} + b_2\hat{j} + b_3\hat{k} \end{array} \)

\(\begin{array}{l}\Rightarrow a + b\end{array} \)

=

\(\begin{array}{l}(a_1 + b_1)\hat{i} + (a_2 + b_2)\hat{j} + (a_3 + b_3)\hat{k}\end{array} \)

Similarly, the difference can be given as:

a – b =

\(\begin{array}{l}(a_1 – b_1)\hat{i} + (a_2 – b_2)\hat{j} + (a_3 – b_3)\hat{k}\end{array} \)

.

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 =

\(\begin{array}{l}5\hat{i} – 3\hat{j} + 4\hat{k}\end{array} \)

and b =

\(\begin{array}{l}2\hat{i} – \hat{j} + \hat{k}\end{array} \)

. Find the unit vectors and the sum and difference of both the vectors.

Solution: The unit vector is given by

\(\begin{array}{l}\hat{x}\end{array} \)

=

\(\begin{array}{l} \frac{\overrightarrow{x}}{|\overrightarrow{x}|}\end{array} \)

The magnitude of both the vectors can be given as:

|a| =

\(\begin{array}{l}\sqrt{5^2 + (-3)^2 + 4^2}\end{array} \)

\(\begin{array}{l}\Rightarrow \end{array} \)

|a| =

\(\begin{array}{l}\sqrt{50}\end{array} \)

|b| =

\(\begin{array}{l}\sqrt{2^2 + (-1)^2 + 1^2}\end{array} \)

\(\begin{array}{l}\Rightarrow\end{array} \)

|b| =

\(\begin{array}{l}\sqrt{6}\end{array} \)

Now, the unit vectors can be given as:

\(\begin{array}{l}\hat{a}\end{array} \)

=

\(\begin{array}{l}\frac{5\hat{i} – 3\hat{j} + 4\hat{k}}{\sqrt{50}}\end{array} \)

\(\begin{array}{l}\hat{b}\end{array} \)

=

\(\begin{array}{l}\frac{2\hat{i} – \hat{j} + \hat{k}}{\sqrt{6}}\end{array} \)

The sum can be given by:

a + b =

\(\begin{array}{l}5\hat{i} – 3\hat{j} + 4 \hat{k} + 2\hat{i} – \hat{j} + \hat{k}\end{array} \)

a + b =

\(\begin{array}{l}7\hat{i} – 4\hat{j} + 5\hat{k}\end{array} \)

The difference is given by:

a – b =

\(\begin{array}{l}3\hat{i} – 2\hat{j} + 3\hat{k}\end{array} \)

Components Of Vector - For 2D and 3D with Formula and Example (2024)
Top Articles
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 6342

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.