Key Points
- Scalar components are plain numbers such as , while vector components are those numbers on unit vectors, such as .
- In 2D the components of a vector are and , with θ measured from the positive x-axis.
- The vector and its components form a right triangle, so the length is in 2D and in 3D.
- A negative component means the vector points the negative way along that axis.
- Vectors add component by component because perpendicular directions never interfere with each other.
Can You Split One Arrow Into Two Simpler Ones?
Push a lawnmower with N along its handle, and only about N drives it forward. The handle slopes down, so a second part, about N, presses into the grass. The single slanted push behaves like two straight pushes at right angles.
Splitting one push into a "forward" part and a "downward" part is what finding the components of a vector means. Any tilted vector can be split into pieces along the axes, and then adding and measuring it become ordinary arithmetic.

What Are the Components of a Vector?
The components of a vector are how far it reaches along each coordinate axis. The vector from the origin to goes 3 across and 4 up, so its components are 3 and 4.
- Unit vectors are arrows of length 1: along the x-axis, along y, along z.
- The vector is a sum of stretched unit vectors: .
- The same arrow can be written or .
- Every operation on vectors, from addition to lengths, runs on components.
What Is the Difference Between Scalar and Vector Components?
A scalar component is a signed number; a vector component is that number attached to its unit vector.
| Term | What it is | For v = 3i + 4j |
|---|---|---|
| Scalar component | a signed number: how far along an axis | 3 and 4 |
| Vector component | that number on its unit vector: an arrow along the axis | and |
Adding the vector components rebuilds the vector: .
How Do You Resolve a Vector Into Components?
Multiply the vector's length by the cosine of its angle for the x-part and by the sine for the y-part. The vector is the hypotenuse (longest side) of a right triangle; the x-part is adjacent to θ and the y-part is opposite it.
- The horizontal component: .
- The vertical component: .
- The vector: .
For a vector of length 10 at : and .

Going back: length and direction from components
- For : and .
- A calculator's only gives angles from to , so it cannot tell from .
- Check the signs first to find the quadrant, as in Example 4.
The unit vector: direction with the length taken out
Divide a vector by its length to get a vector of length 1 pointing the same way:
Its components are and .
Drag the head of and watch its parts change.
Try It Yourself
Use the vector lab to see Components of a Vector at work: drag, change the numbers and watch what happens.
How Do You Write a Vector in i, j, k Form?
In 3D a vector has three components: . Picture a box with edges , and ; the vector runs corner to opposite corner.
- The floor diagonal is .
- That diagonal and the height form a second right triangle, so .
- For : floor diagonal , and .

From two points to components
From to , the components are "end minus start":
Direction cosines
The cosines of the angles a vector makes with the x-, y- and z-axes (, and ) are the direction cosines. For :
- The angles are about , and exactly .
- Their squares add to 1 (), because the unit vector has length 1.
What Are the Formulas for Vector Components?
Four formulas cover most component work.
| What you want | Formula |
|---|---|
| Components from length and angle (2D) | , |
| Length from components | |
| Direction angle (2D) | , then check the quadrant |
| Components from two points | end coordinates minus start coordinates |
Here θ is the angle with the positive x-axis.
What Are the Properties of Vector Components?
Components behave in four reliable ways.
- Independence of axes. The part along one axis does not affect the part along a perpendicular axis.
- Sign carries direction. A negative component points the negative way along that axis.
- Components add. To add two vectors, add matching components.
- Length from components. By Pythagoras, so no component is longer than the vector.
What Are the Types of Vector Components?
Components come in two types, depending on the axes chosen.
- Rectangular components lie along axes at (, , ). These are the standard , , ones.
- Oblique components lie along axes not at , such as frame members. Their length needs the law of cosines.
- Rectangular ones win almost everywhere: Pythagoras works and the parts stay independent.
Why Do Components of a Vector Matter?
A slanted force is two straight forces in disguise, and that makes hard problems solvable.
- Addition becomes arithmetic. Adding components is easier than drawing tilted arrows.
- Independent effects separate. A thrown ball's across-motion and up-motion can be solved one at a time.
Why the split always works
- The split is unique. Go along x until directly below the head, then straight up: only one way exists.
- Perpendicular moves do not interfere. Moving along never changes your position along .
Arrows placed head to tail land on the same point, ; that is addition of vectors in pictures.

- The letters , , come from William Rowan Hamilton's quaternions (1843).
- Simon Stevin's 1586 book on statics stated the triangle of forces.
Examples of the Components of a Vector
Example 1
Find the x- and y-components of a vector of length 10 at to the positive x-axis.
- .
- .
The vector is about .
Example 2
A student resolves the same vector as and . Is that right?
- Turn it back into an angle: , so , not .
- Swapping sine and cosine turned the vector through the other acute angle.

No. The angle is from the x-axis, so the x-part takes cosine: and .
Example 3
Write the vector from to in form.
- End minus start: .
.
Example 4
A vector has components and . Find its length and direction.
- Length: .
- Signs: x negative, y positive, so it points up and left, into the second quadrant.
- Angle with the negative x-axis: , so the direction is .
- A calculator's points the wrong way.

Length 10, direction about .
Example 5
A ball is kicked at 20 m/s at above the ground. How fast is it moving across, and up, at the start?
- Across: m/s.
- Up: m/s.
About 17.32 m/s across and 10 m/s up; gravity then changes only the up part.
What Are the Most Common Mistakes With Vector Components?
Mistake 1: Swapping sine and cosine
Where it slips in: The angle is drawn next to the vertical, not the horizontal.
Don't do this: Use for the x-part because "x comes first and so does sine".
The correct way: The side touching the angle takes cosine. If θ is from the y-axis, .
Mistake 2: Dropping a minus sign
Where it slips in: Vectors pointing left or down.
Don't do this: Turn into .
The correct way: The sign is the direction. Sketch the arrow first; the signs must match its quadrant.
Mistake 3: Forgetting the square root
Where it slips in: Finding the length in a hurry.
Don't do this: Report as the length of .
The correct way: The length is . It can never exceed .
Where Are Components of a Vector Used?
Component resolution is used wherever a quantity has a direction.
- Pushing at an angle. On the lawnmower, N pushes forward and N presses down.
- Projectiles. Across-motion and up-motion are independent, as in Example 5.
- Slopes and ramps. A box's weight splits into a part along the slope and a part into it.
- Computer graphics. Movement and the dot product used for lighting run on components.

Conclusion
- Components are the straight moves inside one slanted arrow: or .
- Resolve with and .
- The length is ; check the quadrant before using .
- Components add axis by axis, and their signs carry direction.
- So one slanted push, like the lawnmower's, acts as two straight ones.
Practice Problems on Components of a Vector
- Find the x- and y-components of a vector of length 20 at to the x-axis.
- Write the vector from to in form and find its length.
- Find the length of and say which quadrant it points into.
Answer to Question 1: and .
Answer to Question 2: , with length .
Answer to Question 3: ; it points right and down, into the fourth quadrant.
If a direction lands in the wrong quadrant, go back to Example 4.
To take vectors further, explore Bhanzu's geometry tutor or high school math tutor sessions, or browse math classes online.
Want a live Bhanzu trainer to work through vector components with your child? Book a free demo class, online globally, or in person at our McKinney, TX center.
Read More
- Position Vector
- Representation of Vector
- Angle Between Two Vectors
- Cross Product of Two Vectors
- Types of Vectors
- Trigonometric Ratios
Research Behind This Article
- OpenStax, University Physics Volume 1, Section 2.2: Coordinate Systems and Components of a Vector (scalar and vector components; end minus start). openstax.org
- OpenStax, Calculus Volume 3, Section 2.2: Vectors in Three Dimensions (the 3D length and unit vector). openstax.org
- J. J. O'Connor and E. F. Robertson, "William Rowan Hamilton", MacTutor History of Mathematics, University of St Andrews (quaternions and their units i, j, k, 1843). mathshistory.st-andrews.ac.uk
- J. J. O'Connor and E. F. Robertson, "Simon Stevin", MacTutor History of Mathematics, University of St Andrews (the triangle of forces, 1586). mathshistory.st-andrews.ac.uk
Quick Quiz: Check Yourself
Three levels, questions with figures, instant feedback with the reason.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
What are the components of a vector?
What do i, j and k mean?
How do you resolve a vector into horizontal and vertical components?
How do you find the magnitude from components?
Can a component be negative?
Can a component be bigger than the vector itself?
