Components of a Vector: Resolving Into i, j, k

#Geometry
TL;DR
The components of a vector are the pieces it breaks into along each coordinate axis — the scalar components xx, yy, zz and the vector components xi^x\hat{i}, yj^y\hat{j}, zk^z\hat{k}. Resolving a vector into components turns one slanted arrow into simple axis-aligned parts you can add and calculate with. This article covers 2D and 3D resolution, the formulas, and six worked examples.
MV
Madhukar VLast updated on July 31, 20269 min read

Can You Split One Arrow Into Two Simpler Ones?

Push a lawnmower along a slanted handle and only part of your effort drives it forward; the rest presses it into the ground.

Splitting that single push into a "forward" part and a "downward" part is exactly what finding the components of a vector does. Any vector, however it is tilted, can be resolved into pieces that run neatly along the coordinate axes. Those pieces are far easier to add, subtract, and compute with than the original slanted arrow, which is why resolving vectors into components is one of the first skills every physics and engineering student learns.

What Are the Components of a Vector?

The components of a vector are the projections of the vector along the coordinate axes - the amounts it extends in the xx, yy, and (in 3D) zz directions. Resolving a vector means finding these components so the vector can be written as a sum of axis-aligned parts.

A vector A⃗\vec{A} in three dimensions is written in component form as A⃗=xi^+yj^+zk^\vec{A} = x\hat{i} + y\hat{j} + z\hat{k}, where i^\hat{i}, j^\hat{j}, k^\hat{k} are the unit vectors along the axes. This component form is the workhorse notation for calculation, and it is one of the standard ways of the representation of a vector. Every operation on vectors - addition, dot products, magnitudes - runs on components.

What Is the Difference Between Scalar and Vector Components?

The word "component" is used two ways, and separating them prevents most confusion.

Term

What it is

Example

Scalar component

A plain number: the size along an axis

x=4x = 4

Vector component

That number attached to a unit vector

4i^4\hat{i}

The scalar components are xx, yy, zz, the signed numbers giving how far the vector reaches along each axis. The vector components are xi^x\hat{i}, yj^y\hat{j}, zk^z\hat{k}, meaning those numbers turned back into little vectors pointing along the axes. Adding the vector components reconstructs the original vector.

How Do You Resolve a Vector Into Components?

In two dimensions, resolving uses the angle the vector makes with the x-axis. For a vector A⃗\vec{A} of magnitude AA at angle θ\theta to the x-axis:

  1. The horizontal (x) component is Ax=Acos⁡θA_x = A\cos\theta.

  2. The vertical (y) component is Ay=Asin⁡θA_y = A\sin\theta.

  3. Write the vector as A⃗=Axi^+Ayj^\vec{A} = A_x\hat{i} + A_y\hat{j}.

The vector and its two components form a right triangle, so the magnitude and angle can always be recovered from the components. This right-triangle picture is why trigonometry and vectors are so tightly linked.

How Do You Write a Vector in i, j, k Form?

In three dimensions, a vector has three components, one along each axis.

A⃗=xi^+yj^+zk^\vec{A} = x\hat{i} + y\hat{j} + z\hat{k}

Here i^\hat{i}, j^\hat{j}, k^\hat{k} are unit vectors along the x-, y-, and z-axes. Geometrically, the vector is the diagonal of a box (a rectangular parallelepiped) whose edges are the three components. To find the components from two points P(x1,y1,z1)P(x_1, y_1, z_1) and Q(x2,y2,z2)Q(x_2, y_2, z_2), subtract coordinate by coordinate:

PQ→=(x2−x1)i^+(y2−y1)j^+(z2−z1)k^\overrightarrow{PQ} = (x_2 - x_1)\hat{i} + (y_2 - y_1)\hat{j} + (z_2 - z_1)\hat{k}

Once in component form, vectors combine cleanly under addition of vectors by adding matching components.

What Are the Formulas for Vector Components?

Three formulas cover most component work.

Components from magnitude and angle (2D):

Ax=Acos⁡θ,Ay=Asin⁡θA_x = A\cos\theta, \qquad A_y = A\sin\theta

Magnitude from components:

∣A⃗∣=x2+y2+z2|\vec{A}| = \sqrt{x^2 + y^2 + z^2}

Direction angle (2D):

θ=tan⁡−1!(yx)\theta = \tan^{-1}!\left(\frac{y}{x}\right)

Variable key:

  • Ax,AyA_x, A_y - the scalar components along the x- and y-axes.

  • AA or ∣A⃗∣|\vec{A}| - the magnitude (length) of the vector.

  • θ\theta - the angle the vector makes with the x-axis.

  • x,y,zx, y, z - the scalar components along the three axes.

What Are the Properties of Vector Components?

Components behave in a few reliable ways.

  • Independence of axes. The component along one axis does not affect the component along a perpendicular axis.

  • Sign carries direction. A negative component means the vector points the negative way along that axis.

  • Components add. To add two vectors, add their matching components separately.

  • Magnitude from components. The length is the square root of the sum of the squared components, straight from the Pythagorean theorem.

What Are the Types of Vector Components?

Components come in two forms depending on the axes chosen.

  • Rectangular (perpendicular) components - the standard case, resolved along mutually perpendicular axes (xx, yy, zz). These are what i^\hat{i}, j^\hat{j}, k^\hat{k} describe.

  • Oblique components - resolved along axes that are not at 90°90°, used in some advanced settings.

Rectangular components are by far the most common because perpendicular axes keep the components independent. The independence of perpendicular directions also underlies why two vectors can be coplanar yet have separable parts.

Examples of the Components of a Vector

A frequent first-instinct error is swapping sine and cosine when resolving - pairing cos⁡θ\cos\theta with the vertical part instead of the horizontal one.

Example 1

Find the x- and y-components of a vector of magnitude 1010 at 30°30° to the x-axis.

Apply the resolution formulas.

Ax=10cos⁡30°=10×32≈8.66A_x = 10\cos 30° = 10 \times \frac{\sqrt{3}}{2} \approx 8.66 Ay=10sin⁡30°=10×12=5A_y = 10\sin 30° = 10 \times \frac{1}{2} = 5

Final answer: Ax≈8.66A_x \approx 8.66, Ay=5A_y = 5.

Example 2

A vector of magnitude 1010 at 30°30° is resolved as Ax=10sin⁡30°=5A_x = 10\sin 30° = 5 and Ay=10cos⁡30°≈8.66A_y = 10\cos 30° \approx 8.66. What went wrong?

Wrong path. Pairing sine with the horizontal component and cosine with the vertical one.

Why it breaks. The angle is measured from the x-axis, so the adjacent side is horizontal. The horizontal component uses cosine (adjacent), and the vertical uses sine (opposite). Swapping them tilts the answer the wrong way.

Correct. Ax=10cos⁡30°≈8.66A_x = 10\cos 30° \approx 8.66 and Ay=10sin⁡30°=5A_y = 10\sin 30° = 5.

Final answer: Ax≈8.66A_x \approx 8.66, Ay=5A_y = 5.

Example 3

Write the vector from P(1,2,3)P(1, 2, 3) to Q(4,6,8)Q(4, 6, 8) in i^,j^,k^\hat{i}, \hat{j}, \hat{k} form.

Subtract coordinate by coordinate.

PQ→=(4−1)i^+(6−2)j^+(8−3)k^=3i^+4j^+5k^\overrightarrow{PQ} = (4-1)\hat{i} + (6-2)\hat{j} + (8-3)\hat{k} = 3\hat{i} + 4\hat{j} + 5\hat{k}

Final answer: PQ→=3i^+4j^+5k^\overrightarrow{PQ} = 3\hat{i} + 4\hat{j} + 5\hat{k}.

Example 4

Find the magnitude of A⃗=3i^+4j^+5k^\vec{A} = 3\hat{i} + 4\hat{j} + 5\hat{k}.

Apply the magnitude formula.

∣A⃗∣=32+42+52=9+16+25=50=52|\vec{A}| = \sqrt{3^2 + 4^2 + 5^2} = \sqrt{9 + 16 + 25} = \sqrt{50} = 5\sqrt{2}

Final answer: ∣A⃗∣=52≈7.07|\vec{A}| = 5\sqrt{2} \approx 7.07.

Example 5

A vector has components Ax=−6A_x = -6 and Ay=8A_y = 8. Find its magnitude and direction angle.

Magnitude first, then the angle from the x-axis.

∣A⃗∣=(−6)2+82=36+64=100=10|\vec{A}| = \sqrt{(-6)^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100} = 10

The vector points up and to the left (Quadrant II), so θ=180°−tan⁡−1!(86)≈180°−53.1°=126.9°\theta = 180° - \tan^{-1}!\left(\dfrac{8}{6}\right) \approx 180° - 53.1° = 126.9°.

Final answer: ∣A⃗∣=10|\vec{A}| = 10, θ≈126.9°\theta \approx 126.9°.

Example 6

Add A⃗=2i^+3j^\vec{A} = 2\hat{i} + 3\hat{j} and B⃗=5i^−j^\vec{B} = 5\hat{i} - \hat{j} using components.

Add matching components.

A⃗+B⃗=(2+5)i^+(3−1)j^=7i^+2j^\vec{A} + \vec{B} = (2+5)\hat{i} + (3-1)\hat{j} = 7\hat{i} + 2\hat{j}

Final answer: A⃗+B⃗=7i^+2j^\vec{A} + \vec{B} = 7\hat{i} + 2\hat{j}.

Why Do Components of a Vector Matter?

"A slanted force is two straight forces in disguise" - that reframing is what makes hard problems solvable.

  • They make addition trivial. Adding tilted arrows geometrically is fiddly; adding their components is plain arithmetic.

  • They separate independent effects. Horizontal and vertical motion of a projectile are independent, so resolving splits one hard problem into two easy ones.

  • They power computation. Machines cannot draw arrows, but they can store and add component numbers, which is how graphics and physics engines work.

Resolving into components is the move that connects the picture of a vector to the numbers you calculate with. A fuller treatment appears in Physics LibreTexts and the Wikipedia entry on Euclidean vectors.

What Are the Most Common Mistakes With Vector Components?

The errors cluster around the resolution step and the signs.

Mistake 1: Swapping sine and cosine

Where it slips in: Resolving a vector given its angle to the x-axis.

Don't do this: Using sin⁡θ\sin\theta for the horizontal component.

The correct way: With θ\theta measured from the x-axis, horizontal uses cos⁡θ\cos\theta (adjacent) and vertical uses sin⁡θ\sin\theta (opposite). Draw the right triangle to check which side is which. Students who skip the sketch swap these constantly.

Mistake 2: Dropping the sign of a component

Where it slips in: Vectors pointing left or down.

Don't do this: Recording only the size and losing the negative sign.

The correct way: A component's sign tells you direction along the axis. A vector into Quadrant II has a negative x-component and a positive y-component - keep both signs.

Mistake 3: Forgetting the square root in the magnitude

Where it slips in: Computing ∣A⃗∣|\vec{A}| from components.

Don't do this: Reporting x2+y2+z2x^2 + y^2 + z^2 as the magnitude.

The correct way: The magnitude is the square root of that sum.

Where Are Components of a Vector Used?

Component resolution is everywhere quantities have direction.

  • Physics. Forces, velocities, and accelerations are resolved into axes to apply Newton's laws.

  • Engineering. A load on an inclined beam is split into components along and across the beam.

  • Computer graphics. Positions, movements, and the dot product for lighting all run on component vectors.

  • Navigation. A journey is recorded as east and north components for calculation, drawn from the wider family of types of vectors.

Practice Problems on Components of a Vector

Work through these in order.

  1. Find the x- and y-components of a vector of magnitude 2020 at 60°60° to the x-axis.

  2. Write the vector from A(0,1,2)A(0, 1, 2) to B(3,1,6)B(3, 1, 6) in i^,j^,k^\hat{i}, \hat{j}, \hat{k} form.

  3. Find the magnitude of v⃗=6i^−8j^\vec{v} = 6\hat{i} - 8\hat{j}.

Answer to Question 1: Ax=20cos⁡60°=10A_x = 20\cos 60° = 10, Ay=20sin⁡60°≈17.32A_y = 20\sin 60° \approx 17.32. Answer to Question 2: AB→=3i^+0j^+4k^\overrightarrow{AB} = 3\hat{i} + 0\hat{j} + 4\hat{k}. Answer to Question 3: ∣v⃗∣=36+64=100=10|\vec{v}| = \sqrt{36 + 64} = \sqrt{100} = 10.

Conclusion

  • The components of a vector are its parts along each axis: scalar components x,y,zx, y, z and vector components xi^,yj^,zk^x\hat{i}, y\hat{j}, z\hat{k}.

  • In 2D, resolve with Ax=Acos⁡θA_x = A\cos\theta and Ay=Asin⁡θA_y = A\sin\theta; in 3D, write A⃗=xi^+yj^+zk^\vec{A} = x\hat{i} + y\hat{j} + z\hat{k}.

  • The magnitude is ∣A⃗∣=x2+y2+z2|\vec{A}| = \sqrt{x^2 + y^2 + z^2}, and the direction angle is tan⁡−1(y/x)\tan^{-1}(y/x).

  • Components add axis by axis, and their signs carry direction.

  • Resolving turns one slanted arrow into simple axis-aligned parts you can compute with.

To take the components of a vector further with a teacher, explore Bhanzu's geometry tutor or high school math tutor sessions, or browse math classes online for guided vector practice.

Read More

Want a live Bhanzu trainer to work through vector resolution with you? Book a free demo class.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What are the components of a vector?
They are the vector's parts along the coordinate axes - the amounts it extends in the xx, yy, and zz directions.
What do i, j, and k mean in a vector?
They are unit vectors of length 11 pointing along the x-, y-, and z-axes, so xi^+yj^+zk^x\hat{i} + y\hat{j} + z\hat{k} builds the vector from its components.
How do you resolve a vector into components?
For a 2D vector at angle θ\theta to the x-axis, the components are Acos⁡θA\cos\theta horizontally and Asin⁡θA\sin\theta vertically.
What is the difference between scalar and vector components?
A scalar component is a plain number like x=4x = 4; a vector component is that number on a unit vector, like 4i^4\hat{i}.
How do you find the magnitude from components?
Take the square root of the sum of the squared components: ∣A⃗∣=x2+y2+z2|\vec{A}| = \sqrt{x^2 + y^2 + z^2}.
✍️ Written By
Madhukar V
Madhukar V
Math Columnist & Analyst
I see mathematics as more than just numbers and formulas—it is a way of thinking, questioning, and understanding the world around us. I work at the intersection of mathematics, EdTech, technology, and AI-powered learning, I enjoy exploring how mathematical ideas can be made simple, meaningful, and relatable. Through my articles, I aim to present mathematics with curiosity and a practical perspective, helping readers see the beauty and relevance behind every concept in a Bhanzu way.
LinkedIn
Related Articles
Book a FREE Demo ClassBook Now →