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

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 (2025)

FAQs

What are the components of a vector in 2D and 3D? ›

Ans:The Vector which has magnitude in two directions i.e x-axis and y-axis can be called a 2D vector. The Vector which has magnitude in three directions i.e x-axis and y-axis, z-axis can be called a 3D vector.

What are the components of a 3D vector formula? ›

Components of a Three – Dimensional Vector

Here the vectors are represented as Q=xˆi+yˆj+zˆk. Whereinˆi, ˆj, ˆk, denotes the unit vectors along the x-axis, y-axis, and z-axis respectively. These unit vectors assist in determining the components of the vectors with reference to each of the axis.

What are the components of a 2D 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 = (vx, vy), where V is the vector. These are the parts of vectors generated along the axes.

What is a 2 and 3 dimensional vector? ›

Vectors can be either two dimensional, with components in the x and y directions, or three dimensional, with components in the x, y, and z directions. Both three-dimensional and two-dimensional vectors can be represented by components in each direction.

What are the 2 main components of a vector? ›

Vector has two components in which it can be broken, that is, magnitude and direction. By using the hypotenuse method, we can calculate the horizontal component and vertical component of the vector by using the angle that the vector makes with the two components.

What is the formula for a vector? ›

Thus, the formula to determine the magnitude of a vector (in two-dimensional space) v = (x, y) is: |v| =√(x2 + y2). This formula is derived from the Pythagorean theorem. the formula to determine the magnitude of a vector (in three-dimensional space) V = (x, y, z) is: |V| = √(x2 + y2 + z2)

What are vectors in 2D? ›

In two dimensional space, (R2), a vector can be represented graphically as an arrow with a starting point and an ending point. The length of the arrow represents the magnitude of the vector, while the direction in which the arrow is pointing represents the vector's direction.

What is the formula for the vector equation in 3D? ›

Parametric Equation of a Line in 3D

In other words →P0P will be a multiple of the direction vector →V. So →P0P=t→V where t∈R is some number. These equations x=x0+at, y=y0+bt and z=z0+ct are called the parametric equations of the line that contains the point (x0,y0,z0) and has the direction vector →V=aˆi+bˆj+cˆk.

What is the formula for the product of a 3D vector? ›

Cross Product: a×b

The cross product of two 3D vectors is another vector in the same 3D vector space. Since the result is a vector, we must specify both the length and the direction of the resulting vector: length(a × b) = |a × b| = |a| |b| sinΘ

How to add 3D vector components? ›

We know that, in order to add two vectors in three dimensions, we add the corresponding components individually. If ⃑ 𝐴 = ( 𝑥 , 𝑦 , 𝑧 )    and ⃑ 𝐵 = ( 𝑥 , 𝑦 , 𝑧 )    , then ⃑ 𝐴 + ⃑ 𝐵 = ( 𝑥 + 𝑥 , 𝑦 + 𝑦 , 𝑧 + 𝑧 )       . This means that ⃑ 𝐴 + ⃑ 𝐵 = ( − 2 + ( − 3 ) , − 3 + 3 , 0 + ( − 2 ) ) .

What are the components of 3D? ›

3D models usually consist of the following three components: Vertices: Vertices are points in a 3D model that define the basic shape and structure of the model. edges: Edges are line segments connecting vertices. They define the outline and details of the model.

How many components does a vector in 2D space have? ›

Components of a Vector in Two Dimensions

Assume V is defined in a two-dimensional plane. The vector V is divided into two parts, vx, and vy. Let an angle be formed between the vector V and the vector's x-component θ.

What are 2D components? ›

A 2D component is a re-usable set of geometry and annotations. This component is located in a sheet and can be edited like a view. This is why we call this component a detail view. The 2D component can be instantiated several times, each instance providing a component with a specific orientation, position and scale.

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 6497

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.