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 $x$, $y$, $z$ and the vector components $x\hat{i}$, $y\hat{j}$, $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.
BT
Bhanzu TeamLast 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 $x$, $y$, and (in 3D) $z$ directions. Resolving a vector means finding these components so the vector can be written as a sum of axis-aligned parts.

A vector $\vec{A}$ in three dimensions is written in component form as $\vec{A} = x\hat{i} + y\hat{j} + z\hat{k}$, where $\hat{i}$, $\hat{j}$, $\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 = 4$

Vector component

That number attached to a unit vector

$4\hat{i}$

The scalar components are $x$, $y$, $z$, the signed numbers giving how far the vector reaches along each axis. The vector components are $x\hat{i}$, $y\hat{j}$, $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 $\vec{A}$ of magnitude $A$ at angle $\theta$ to the x-axis:

  1. The horizontal (x) component is $A_x = A\cos\theta$.

  2. The vertical (y) component is $A_y = A\sin\theta$.

  3. Write the vector as $\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.

$$\vec{A} = x\hat{i} + y\hat{j} + z\hat{k}$$

Here $\hat{i}$, $\hat{j}$, $\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(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$, subtract coordinate by coordinate:

$$\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):

$$A_x = A\cos\theta, \qquad A_y = A\sin\theta$$

Magnitude from components:

$$|\vec{A}| = \sqrt{x^2 + y^2 + z^2}$$

Direction angle (2D):

$$\theta = \tan^{-1}!\left(\frac{y}{x}\right)$$

Variable key:

  • $A_x, A_y$ - the scalar components along the x- and y-axes.

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

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

  • $x, 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 ($x$, $y$, $z$). These are what $\hat{i}$, $\hat{j}$, $\hat{k}$ describe.

  • Oblique components - resolved along axes that are not at $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\theta$ with the vertical part instead of the horizontal one.

Example 1

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

Apply the resolution formulas.

$$A_x = 10\cos 30° = 10 \times \frac{\sqrt{3}}{2} \approx 8.66$$ $$A_y = 10\sin 30° = 10 \times \frac{1}{2} = 5$$

Final answer: $A_x \approx 8.66$, $A_y = 5$.

Example 2

A vector of magnitude $10$ at $30°$ is resolved as $A_x = 10\sin 30° = 5$ and $A_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. $A_x = 10\cos 30° \approx 8.66$ and $A_y = 10\sin 30° = 5$.

Final answer: $A_x \approx 8.66$, $A_y = 5$.

Example 3

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

Subtract coordinate by coordinate.

$$\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: $\overrightarrow{PQ} = 3\hat{i} + 4\hat{j} + 5\hat{k}$.

Example 4

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

Apply the magnitude formula.

$$|\vec{A}| = \sqrt{3^2 + 4^2 + 5^2} = \sqrt{9 + 16 + 25} = \sqrt{50} = 5\sqrt{2}$$

Final answer: $|\vec{A}| = 5\sqrt{2} \approx 7.07$.

Example 5

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

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

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

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

Final answer: $|\vec{A}| = 10$, $\theta \approx 126.9°$.

Example 6

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

Add matching components.

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

Final answer: $\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\theta$ for the horizontal component.

The correct way: With $\theta$ measured from the x-axis, horizontal uses $\cos\theta$ (adjacent) and vertical uses $\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 $|\vec{A}|$ from components.

Don't do this: Reporting $x^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 $20$ at $60°$ to the x-axis.

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

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

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

Conclusion

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

  • In 2D, resolve with $A_x = A\cos\theta$ and $A_y = A\sin\theta$; in 3D, write $\vec{A} = x\hat{i} + y\hat{j} + z\hat{k}$.

  • The magnitude is $|\vec{A}| = \sqrt{x^2 + y^2 + z^2}$, and the direction angle is $\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.

Book a Free Demo

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 $x$, $y$, and $z$ directions.
What do i, j, and k mean in a vector?
They are unit vectors of length $1$ pointing along the x-, y-, and z-axes, so $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 $A\cos\theta$ horizontally and $A\sin\theta$ vertically.
What is the difference between scalar and vector components?
A scalar component is a plain number like $x = 4$; a vector component is that number on a unit vector, like $4\hat{i}$.
How do you find the magnitude from components?
Take the square root of the sum of the squared components: $|\vec{A}| = \sqrt{x^2 + y^2 + z^2}$.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →