
At a Glance
To resolve a vector, measure its angle θ counterclockwise from the positive x axis, then compute Ax = A cos θ for the horizontal part and Ay = A sin θ for the vertical part. The signs show direction, and the original vector can be rebuilt with A = sqrt(Ax^2 + Ay^2) and θ = arctan(Ay/Ax).
- x-component
- Ax = A cos θ
- y-component
- Ay = A sin θ
- Angle reference
- θ measured counterclockwise from the +x axis
- Units
- Same unit as the vector (m, m/s, N…)
- Components are
- Signed scalars; the sign gives direction
On this page
- What Are the Components of a Vector?
- Vector Components Explained Simply
- What Is the Formula for Vector Components?
- How Do You Resolve a Vector Step by Step?
- How Do the Signs of Components Change by Quadrant?
- How Do You Resolve Forces on an Inclined Plane?
- Why Are Components So Useful for Projectiles?
- How Do You Find a Vector from Its Components?
- Why Do Physicists Resolve Vectors?
- Practice Resolving Vectors
- Common Misconceptions
- Key Facts
- Quiz
- FAQ
What Are the Components of a Vector?
The components of a vector are the pieces of it that lie along chosen axes. In two dimensions those axes are usually x (horizontal) and y (vertical). The x component tells you how far the vector reaches sideways, and the y component tells you how far it reaches up or down.
Placed tip to tail, the two components rebuild the original arrow exactly. That is why resolving a vector loses no information. You trade one angled arrow for two straight ones that are far easier to work with.
Components are signed numbers, not arrows with angles. A component of −8 m/s along x means 8 m/s toward the negative x direction. This is what makes components so useful: along a single axis, vectors behave like ordinary numbers.
Vector Components Explained Simply
Think of a vector's shadows. Shine a light straight down and the arrow casts a shadow on the floor; that shadow is the x component. Shine a light from the side and the shadow on the wall is the y component.
A city grid makes the idea concrete. If a friend is 5 blocks away in a diagonal direction, you still have to walk some blocks east and some blocks north to get there. Those two walks are the components of the diagonal arrow.
What Is the Formula for Vector Components?
For a vector of magnitude A that makes angle θ with the positive x axis, the components are
The trigonometry only works if θ is measured the way the formula expects. Measured counterclockwise from +x, the signs of cosine and sine automatically give the right signs for the components in every quadrant. If an angle is given from the y axis, or from a sloping surface, sine and cosine swap roles.
Both components carry the same unit as the original vector. Resolve a force in newtons and you get components in newtons; resolve a velocity in meters per second and you get components in meters per second.
These two equations split a vector of known size and angle into its x and y parts; the rearranged form recovers the angle from the parts.
| Symbol | Quantity | SI unit |
|---|---|---|
| x-component | dimensionless (1) | |
| y-component | dimensionless (1) | |
| magnitude of the vector | dimensionless (1) | |
| angle measured counterclockwise from +x axis | radian (rad) |
Rearranged to find another variable:
Valid for: θ measured from the positive x-axis; check quadrant when taking arctan.
Example 1 Dragging a cooler by its handle
A camper drags a wheeled cooler with a 120 N pull along its handle, which is tilted 25° above the ground. What is the horizontal component of the pull?
- Given:
- magnitude of the vector:
- angle measured counterclockwise from +x axis:
- magnitude of the vector:
- Formula:
- Substitute:
- Answer:
Only this horizontal part moves the cooler forward; the rest of the pull lifts slightly on the handle.
How Do You Resolve a Vector Step by Step?
- Sketch the vector on x and y axes, starting at the origin.
- Find θ from the positive x axis, turning counterclockwise. Convert a compass description like "30° west of north" first; that one is 120°.
- Compute
and with your calculator in degree mode. - Check the signs against your sketch. An arrow pointing left must have a negative x component.
- Check the size: neither component can be larger than A, and
must equal .
Many students prefer a second habit: use the acute angle to the nearest axis, compute both sizes, and attach signs by looking at the sketch. Both habits give the same answer, so pick the one you trust under exam pressure.
How Do the Signs of Components Change by Quadrant?
The quadrant a vector points into decides the signs of its components. Here is the full pattern for angles measured counterclockwise from +x:
| Quadrant | Angle range | Sign of Ax | Sign of Ay | Points toward |
|---|---|---|---|---|
| I | 0° to 90° | + | + | Right and up |
| II | 90° to 180° | − | + | Left and up |
| III | 180° to 270° | − | − | Left and down |
| IV | 270° to 360° | + | − | Right and down |
Vectors that lie exactly on an axis have one component equal to zero. A force pointing straight down at 270° has no x component at all, which is why gravity never speeds up or slows down a projectile's sideways motion.
Example 2 A trail runner heading southwest
A trail runner ends up 3,400 m from the trailhead in a direction 225° counterclockwise from east, which is exactly southwest. What is the north-south (y) component of her displacement?
- Given:
- magnitude of the vector:
- angle measured counterclockwise from +x axis:
- magnitude of the vector:
- Formula:
- Substitute:
- Answer:
The minus sign is the answer telling you the runner is south of the trailhead, not a mistake.
| Angle θ | Ax = 50 cos θ (N) | Ay = 50 sin θ (N) | Quadrant or axis |
|---|---|---|---|
| 0° | 50.0 | 0.0 | +x axis |
| 30° | 43.3 | 25.0 | I |
| 45° | 35.4 | 35.4 | I |
| 60° | 25.0 | 43.3 | I |
| 90° | 0.0 | 50.0 | +y axis |
| 135° | −35.4 | 35.4 | II |
| 180° | −50.0 | 0.0 | −x axis |
| 240° | −25.0 | −43.3 | III |
| 300° | 25.0 | −43.3 | IV |
| Source: Computed with Ax = A cos θ and Ay = A sin θ, rounded to 0.1 N · Retrieved October 2026 | |||
How Do You Resolve Forces on an Inclined Plane?
On a slope it pays to tilt the axes. Choose one axis along the surface and the other perpendicular to it, because the motion happens along the surface. The weight is the only force that does not line up with these tilted axes, so it is the one you resolve.
The angle between the weight and the perpendicular axis equals the slope angle θ. As a result, the part of the weight pulling down the slope is
Notice that sine and cosine have swapped compared with the standard formula. That is not a new rule; the angle is simply measured from a different axis. Our page on forces on an inclined plane builds on this step.


Why Are Components So Useful for Projectiles?
A thrown ball is the best advertisement for components. Split its launch velocity into a horizontal part and a vertical part, and the two can be treated separately. Gravity acts only along y, so the vertical component changes steadily, while the horizontal component stays constant if air resistance is small.
A ball launched at 16 m/s and 35° above the ground has a horizontal velocity of about 13.1 m/s and a starting vertical velocity of about 9.2 m/s. The vertical part alone decides how long the ball stays up; the horizontal part then decides how far it travels in that time. That split is the whole idea behind projectile motion.

How Do You Find a Vector from Its Components?
Going the other way is just as common. If you know
The arctangent needs care. Your calculator returns an angle between −90° and 90°, which only covers quadrants I and IV. If
This round trip, resolve then rebuild, is exactly how vector addition by components works: resolve every vector, add the x parts and the y parts, then rebuild the resultant vector.
Example 3 Recovering the angle from two components
A drone's velocity has components Ax = −5 m/s and Ay = −12 m/s. At what angle, measured counterclockwise from the positive x axis, is it flying?
- Given:
- x-component:
- y-component:
- x-component:
- Formula:
- Substitute:
- Answer:
A plain arctan of (−12)/(−5) gives about 67.4°, which points the wrong way; both components are negative, so 180° must be added to land in the third quadrant.
Why Do Physicists Resolve Vectors?
Perpendicular components are independent. A push along x cannot change motion along y, and the reverse is also true. That independence lets you split one hard two-dimensional problem into two easy one-dimensional problems, each solved with the same tools you use for straight-line motion.
Components also make Newton's second law practical. Instead of one vector equation, you write
Practice Resolving Vectors
Try resolving the same force at several angles until the sign pattern feels automatic, then move to inclines and projectiles. Our vectors worksheets include component drills with answer keys, and the vector addition calculator shows the components of each vector as it adds them. The scalar vs vector comparison is a quick refresher if the basics need one.
Common Misconceptions
Myth: The x component always uses cosine and the y component always uses sine.
Physics: That is only true when θ is measured from the x axis. If the angle is measured from the y axis or from a slope, the roles swap.
Myth: Components are always positive because they are lengths.
Physics: Components are signed. A vector pointing left or down has negative components, and the sign is how direction is stored.
Myth: A component can be bigger than the vector if the angle is large.
Physics: Each component is a side of a right triangle whose hypotenuse is the vector, so neither can exceed the vector's magnitude.
Myth: Adding the two components as numbers gives the size of the vector.
Physics: The components are perpendicular, so they combine with the Pythagorean theorem, not simple addition. Components of 6 and 8 make a vector of 10, not 14.
Key Facts
- Resolving a vector splits it into perpendicular parts, usually along x and y, that add back to the original.
- With θ measured counterclockwise from +x, the components are Ax = A cos θ and Ay = A sin θ.
- Components are signed numbers, and their signs show which quadrant the vector points into.
- Neither component can be larger than the vector itself, and Ax² + Ay² always equals A².
- On an incline, the weight splits into mg sin θ along the slope and mg cos θ into the surface.
- Perpendicular components are independent, which is why projectile motion can be split into horizontal and vertical parts.
- A vector is rebuilt from its components with A = √(Ax² + Ay²) and θ = arctan(Ay/Ax), corrected for quadrant.
Quick Quiz: How Well Do You Know Resolving Vectors into Components?
6 questions. Tap an answer to check it.
A 20 m/s velocity points 90° from the +x axis. What is its x component?
At 90° the vector lies along the y axis, and cos 90° = 0.
A vector points into the second quadrant. What are the signs of its components?
The second quadrant is left and up, so x is negative and y is positive.
Which expression gives the y component of a vector A at angle θ from the +x axis?
The y component is the side opposite θ, so it equals A sin θ.
A vector has components 6 N and 8 N. What is its magnitude?
√(6² + 8²) = √100 = 10 N.
On a ramp tilted at angle θ, which part of the weight pulls the object down the slope?
With axes along the slope, the angle sits next to the perpendicular axis, so the along-slope part uses sine.
Why does a projectile's horizontal velocity stay constant when air resistance is ignored?
Gravity points straight down, so nothing acts along x to change the horizontal component.
Frequently Asked Questions
How do you find the x and y components of a vector?
Measure the angle θ between the vector and the positive x axis, turning counterclockwise. Multiply the vector's magnitude by cos θ to get the x component and by sin θ to get the y component. Check the signs with a quick sketch: a vector pointing left needs a negative x component, and one pointing down needs a negative y component.
What does it mean to resolve a vector?
Resolving a vector means breaking it into two or more vectors along chosen directions that add back up to the original. In most physics problems those directions are perpendicular axes, x and y. Resolving makes problems easier, because motion or force along each axis can then be handled with ordinary signed numbers instead of angles.
Why do we use sine and cosine for vector components?
A vector and its two perpendicular components form a right triangle, with the vector as the hypotenuse. In a right triangle, cosine of an angle is the adjacent side divided by the hypotenuse, and sine is the opposite side divided by the hypotenuse. Multiplying the hypotenuse by these ratios gives the two side lengths, which are the components.
Can a vector component be negative?
Yes. A negative component simply means that part of the vector points in the negative direction of that axis. A velocity of 10 m/s pointing southwest has negative x and negative y components if east and north are positive. The magnitude of a vector is never negative, but its components often are.
Can a vector have a zero component?
Yes. Any vector lying exactly along one axis has a zero component along the other axis. A force pointing straight up has a zero x component, and a car driving due east has a zero y component of velocity. A vector can only have both components equal to zero if the vector itself is zero.
How do you find the angle of a vector from its components?
Use θ = arctan(Ay/Ax), then check the quadrant. A calculator's arctangent only returns angles between −90° and 90°, so if the x component is negative you add 180° to get the true direction. Many calculators and programming languages have a two-argument arctangent, often called atan2, that handles the quadrant automatically.
Do vector components have to be along x and y?
No. Any pair of perpendicular directions works, and choosing them well can save a lot of algebra. On a ramp, axes along and perpendicular to the surface are best. For circular motion, radial and tangential directions are common. The only rule is that the chosen axes stay perpendicular, so the components remain independent of each other.
What are the components of a vector at 45 degrees?
At 45°, cosine and sine are equal, so the x and y components are the same size. Each one is the magnitude times about 0.707. A 50 N force at 45° therefore has components of about 35.4 N along x and 35.4 N along y. Their sum is larger than 50, but combined with the Pythagorean theorem they give exactly 50 N.








