Sub topic 14
Splitting momentum into components
This chapter assumes you can resolve a vector into x and y components with sine and cosine, and that you know momentum is p = mv. It also assumes you can read Newton's second law in the form F = Δp/Δt. The goal is to treat momentum as a two-dimensional vector that you split into independent x and y parts. The next chapter uses that skill to solve two-dimensional collisions.
Why components?
Momentum is a vector, so it has a magnitude and a direction. In one dimension a plus or minus sign records the direction. In two dimensions a sign is not enough. Two carts moving at right angles cannot be combined by adding their speeds or their momentum magnitudes.
The fix is to choose perpendicular axes and treat each axis as its own one-dimensional problem. Everything you already know about one-dimensional momentum then carries over, one axis at a time.
The component equations
Multiplying a vector by a scalar (the mass) multiplies each component by that scalar:
- px = m vx
- py = m vy
If you know the speed v and the angle θ measured from the +x axis, then vx = v cos θ and vy = v sin θ. So px = m v cos θ and py = m v sin θ.
To go back from components to a magnitude and a direction:
- |p| = √(px² + py²)
- θ = atan2(py, px)
For a system, you add components, never magnitudes. The total momentum has Px = Σ px and Py = Σ py.
import math
def momentum(mass, vx, vy):
return mass * vx, mass * vy
def from_speed_angle(mass, speed, angle_deg):
theta = math.radians(angle_deg)
return mass * speed * math.cos(theta), mass * speed * math.sin(theta)
def magnitude_and_angle(px, py):
return math.hypot(px, py), math.degrees(math.atan2(py, px))
# A 0.50 kg ball moving at 6.0 m/s, 30 degrees above the +x axis
px, py = from_speed_angle(0.50, 6.0, 30.0)
print(round(px, 3), round(py, 3)) # 2.598 1.5A procedure you can reuse
The first step matters most. The physics does not depend on your axes, but your arithmetic does. Pick axes that make as many velocities as possible lie along an axis, because those have a zero component.
Worked example: two carts at right angles
Cart A has mass 2.0 kg and moves east (+x) at 3.0 m/s. Cart B has mass 1.5 kg and moves north (+y) at 4.0 m/s. Find the total momentum of the pair.
- Cart A: px = 2.0 × 3.0 = 6.0 kg·m/s and py = 0.
- Cart B: px = 0 and py = 1.5 × 4.0 = 6.0 kg·m/s.
- Totals: Px = 6.0 and Py = 6.0 kg·m/s.
- Magnitude: √(6.0² + 6.0²) ≈ 8.49 kg·m/s. Direction: 45° north of east.
Adding the magnitudes gives 6.0 + 6.0 = 12.0 kg·m/s, which is wrong. The vector sum is shorter because the two momenta are not parallel.
import math
def momentum(mass, vx, vy):
return mass * vx, mass * vy
def magnitude_and_angle(px, py):
return math.hypot(px, py), math.degrees(math.atan2(py, px))
pa = momentum(2.0, 3.0, 0.0) # cart A, east
pb = momentum(1.5, 0.0, 4.0) # cart B, north
total_x = pa[0] + pb[0]
total_y = pa[1] + pb[1]
print(total_x, total_y) # 6.0 6.0
mag, ang = magnitude_and_angle(total_x, total_y)
print(round(mag, 3), round(ang, 1)) # 8.485 45.0Newton's second law and conservation, component by component
Newton's second law holds along each axis separately:
- Fnet,x = Δpx / Δt
- Fnet,y = Δpy / Δt
This has a consequence for conservation. Momentum is conserved along an axis whenever the net external force along that axis is zero. It does not need to be zero along the other axis.
A ball launched as a projectile is the standard case. Gravity acts only in the vertical direction, so py changes continuously. If you ignore air resistance, px stays constant for the whole flight. The same reasoning applies to a collision on a table. The table's normal force cancels gravity in the vertical direction, so both components of the horizontal momentum of the colliding objects can be conserved.
Choosing axes well
You may orient the axes any way you like, but some choices save work:
- Put one axis along the direction of a known initial velocity. That velocity then has one nonzero component.
- If an object starts at rest, its initial momentum is zero on both axes, whatever axes you chose.
- For a motion on an incline, tilting the axes along the slope can be simpler. Remember that gravity is then no longer purely along one axis.
Whichever axes you pick, keep them the same for the whole problem, before and after.
Common errors
| Error | What goes wrong | Fix |
|---|---|---|
| Adding magnitudes of momentum | Ignores direction, so the total is too large | Add components, then recombine |
| Using the wrong trig function | Angle measured from the y axis swaps sine and cosine | Draw the triangle and check which side is adjacent to the angle |
| Dropping a sign | A component pointing in the negative direction gets a plus sign | Write the sign into each component before multiplying |
| Using `atan(py/px)` for the direction | The result lies only in (−90°, 90°), so it fails when p_x is negative | Use `atan2(py, px)` |
| Degrees given to `math.sin` | Python expects radians | Convert with `math.radians` |
| Applying conservation to the magnitude only | Magnitude of momentum can change even when the vector is conserved on one axis | Conserve each component |
The atan mistake is easy to miss, so here it is in code. The momentum (−3.0, 4.0) points up and to the left.
import math
px, py = -3.0, 4.0
print(round(math.degrees(math.atan(py / px)), 2)) # -53.13 (wrong quadrant)
print(round(math.degrees(math.atan2(py, px)), 2)) # 126.87 (correct)Edge cases
- A component can be zero while the vector is not. A car moving due north has p_x = 0, but its momentum is not zero.
- Both components can cancel in a system. Two equal masses moving in opposite directions at equal speeds give Px = 0 and Py = 0, even though each object has momentum.
- The same method extends to three dimensions with a p_z component. The rules are identical.
Exercise
A 0.20 kg puck has velocity components vx = −3.0 m/s and vy = 4.0 m/s. Find its momentum components, its momentum magnitude, and its direction measured counterclockwise from the +x axis.
Show answer
px = 0.20 × (−3.0) = −0.60 kg·m/s and py = 0.20 × 4.0 = 0.80 kg·m/s. The magnitude is √(0.60² + 0.80²) = 1.0 kg·m/s. The direction is atan2(0.80, −0.60) ≈ 126.87°, which is about 53.1° above the −x axis, in the second quadrant.
Exercise
A 0.40 kg ball moves at 10 m/s at 60° below the +x axis. A second ball of mass 0.30 kg moves at 5.0 m/s along +y. What are the total momentum components Px and Py?
Show answer
First ball: px = 0.40 × 10 × cos 60° = 2.0 kg·m/s and py = −0.40 × 10 × sin 60° ≈ −3.46 kg·m/s. Second ball: px = 0 and py = 0.30 × 5.0 = 1.5 kg·m/s. Totals: Px = 2.0 kg·m/s and Py ≈ −3.46 + 1.5 = −1.96 kg·m/s.