Sub topic 1
Resolving Vectors into Components
Projectile motion and relative velocity both rest on one skill: splitting a vector into perpendicular parts and working with each part alone. This chapter builds that skill, covers the sign and angle mistakes that cost marks in NEET, and shows how to choose axes.
Prerequisites
This chapter assumes you already know:
- The difference between scalars and vectors, and how to add and subtract vectors graphically.
- Basic trigonometry: sine, cosine and tangent in a right triangle, and the identity sin²θ + cos²θ = 1.
- The meaning of displacement, velocity and acceleration.
- The equations of motion for constant acceleration in one dimension (reviewed in the next chapter).
Why resolve a vector?
A vector has magnitude and direction. Many motions in two dimensions are awkward to handle as a single arrow. If you split each vector along two perpendicular axes, the problem becomes two one-dimensional problems. Each one uses ordinary algebra with signs.
Resolution is the reverse of vector addition. Two perpendicular vectors add to give a resultant. Resolution starts with the resultant and finds the two perpendicular vectors, called components, that would add to it.
Components in a standard frame
Take a vector A of magnitude A. Let it make an angle θ with the positive x-axis, measured anticlockwise. Its components are:
- A_x = A cos θ
- A_y = A sin θ
You can recover the vector from its components:
- A = √(Ax² + Ay²)
- tan α = Ay / Ax, where α is the angle with the x-axis
The cosine goes with the axis from which θ is measured. The sine goes with the other axis. This is the single most useful rule in the chapter.
Worked example: a launch velocity
A ball is thrown at 20 m/s at 30° above the horizontal. Take x horizontal and y vertically upward.
- u_x = 20 cos 30° = 20 × 0.866 = 17.3 m/s
- u_y = 20 sin 30° = 20 × 0.5 = 10 m/s
The same calculation in code:
import math
def resolve(magnitude, angle_deg):
"""Return the (x, y) components of a vector at angle_deg from the +x axis."""
theta = math.radians(angle_deg)
return magnitude * math.cos(theta), magnitude * math.sin(theta)
def combine(ax, ay):
"""Return magnitude and angle (degrees from +x axis) of a vector."""
return math.hypot(ax, ay), math.degrees(math.atan2(ay, ax))
ux, uy = resolve(20, 30)
print(f"ux = {ux:.2f} m/s, uy = {uy:.2f} m/s")
print("recovered:", combine(ux, uy))The output is ux = 17.32 m/s and uy = 10.00 m/s. The recovered values are a magnitude of 20.0 and an angle of 30.0°, which confirms the split.
Choosing the angle: which one is θ?
NEET questions rarely give the angle from the x-axis in a convenient form. Check what the angle is measured from before you write a formula.
| Angle given | Component along x | Component along y |
|---|---|---|
| θ from the horizontal | A cos θ | A sin θ |
| θ from the vertical | A sin θ | A cos θ |
| θ from the x-axis, vector in the second quadrant | −A cos θ | A sin θ |
| Direction "30° north of east" | A cos 30° | A sin 30° |
| Direction "30° east of north" | A sin 30° | A cos 30° |
Signs and quadrants
Components are signed numbers. The sign tells you the direction along the axis. When the magnitude is positive, the signs depend on the quadrant of the vector.
| Quadrant | x-component | y-component |
|---|---|---|
| First (0° to 90°) | + | + |
| Second (90° to 180°) | − | + |
| Third (180° to 270°) | − | − |
| Fourth (270° to 360°) | + | − |
Finding the direction from components needs care. The formula tan α = Ay / Ax gives the same ratio for opposite vectors, because (−3, −4) and (3, 4) give the same ratio. A calculator's inverse tangent returns an angle only between −90° and 90°. In code, math.atan2(ay, ax) uses both signs and gives the correct quadrant. By hand, look at the signs of Ax and Ay first, then pick the quadrant.
Choosing axes to simplify a problem
The x-axis does not have to be horizontal. You may rotate the axes to any perpendicular pair. The physics is unchanged. Only the arithmetic changes. Good axes make one component of the unknown vector vanish.
- For a block on a slope, put the axes along and perpendicular to the slope. The weight then splits into mg sin θ along the slope and mg cos θ into it.
- For a projectile on level ground, use horizontal and vertical axes. Gravity then acts along one axis only.
- For a projectile on an inclined plane (a later chapter), tilting the axes along the plane can simplify the algebra a great deal.
Adding and subtracting with components
Component form is the easiest way to add or subtract vectors. For vectors A and B:
- (A + B)x = Ax + Bx and (A + B)y = Ay + By
- (A − B)x = Ax − Bx and (A − B)y = Ay − By
This matters later. Relative velocity is a vector subtraction, vAB = vA − v_B. When the vectors are not along the same line, subtract component by component.
import math
def subtract(a, b):
"""Return a - b for two (x, y) vectors, plus magnitude and angle of the result."""
rx, ry = a[0] - b[0], a[1] - b[1]
return (rx, ry), math.hypot(rx, ry), math.degrees(math.atan2(ry, rx))
# A moves at 10 m/s along +x, B moves at 10 m/s along +y.
print(subtract((10, 0), (0, 10)))The result is (10, −10), with magnitude 14.14 and direction −45°. A sees B moving toward the south-west of its own frame, which is the reverse of B's velocity in the vector sense.
Components of acceleration
Acceleration resolves the same way. A projectile has acceleration g pointing straight down. In axes with x horizontal and y upward, ax = 0 and ay = −g. This one fact is why the two directions can be treated separately in the chapters that follow.
If the axes are tilted by an angle θ, gravity gains components in both directions. On an incline of angle θ with x along the slope pointing up, gx = −g sin θ and gy = −g cos θ.
Common mistakes
- Using sin and cos the wrong way round because the angle is measured from the vertical.
- Dropping the negative sign of a component in the second, third or fourth quadrant.
- Adding magnitudes instead of components. A vector of 3 along x and 4 along y has magnitude 5, not 7.
- Mixing two sets of axes in the same equation, for instance using the incline axes for velocity but horizontal axes for gravity.
- Reading the angle from a calculator without checking the quadrant.
Exercise
A force of 50 N acts at 37° to the vertical, pointing up and to the right. Take cos 37° = 0.8 and sin 37° = 0.6. Find its horizontal and vertical components.
Show answer
The angle is measured from the vertical, so the vertical component uses cosine and the horizontal component uses sine. Fx = 50 sin 37° = 50 × 0.6 = 30 N to the right. Fy = 50 cos 37° = 50 × 0.8 = 40 N upward. Check: √(30² + 40²) = 50 N.
Exercise
A particle has velocity components (−6, 8) m/s. Find the speed and the angle the velocity makes with the positive x-axis, measured anticlockwise.
Show answer
Speed = √(36 + 64) = 10 m/s. The reference angle is tan⁻¹(8/6) ≈ 53°. The x-component is negative and the y-component is positive, so the vector lies in the second quadrant. The angle from the positive x-axis is 180° − 53° = 127°.
Exercise
A block sits on a smooth incline of 30°. With x along the slope pointing down and y perpendicular to it, find the components of the acceleration due to gravity, g = 10 m/s².
Show answer
Along the slope, ax = g sin 30° = 10 × 0.5 = 5 m/s² down the slope. Perpendicular to the slope, the component of gravity has magnitude g cos 30° ≈ 8.66 m/s² and points into the incline, so ay = −8.66 m/s² when y points away from the slope.