Sub topic 15
Collisions in Two Dimensions
What this chapter assumes
You should already be comfortable with momentum as a vector, conservation of momentum in an isolated system, and kinetic energy in collisions. You also need vector components (sine and cosine) and the ability to solve a few simultaneous equations. Here we apply the one-dimensional collision ideas to motion in a plane.
One vector law, two scalar equations
In an isolated system, total momentum is constant. Momentum is a vector, so this single statement is really one equation per direction:
- Total p in x before = total p in x after.
- Total p in y before = total p in y after.
The components are independent. A collision can shift momentum between objects in the x direction without touching the y balance. Each axis is solved separately and then recombined at the end.
Kinetic energy is a scalar and has no components. For an elastic collision you write one energy equation that uses the squared speeds, v² = vₓ² + vᵧ².
Perfectly inelastic collision at a right angle
A 1000 kg car travels east at 20 m/s. A 1500 kg car travels north at 10 m/s. They collide at an intersection and stick together. Find their common velocity.
Take east as +x and north as +y.
- x: 1000 × 20 + 1500 × 0 = 2500 × vₓ, so vₓ = 8 m/s.
- y: 1000 × 0 + 1500 × 10 = 2500 × vᵧ, so vᵧ = 6 m/s.
The speed is √(8² + 6²) = 10 m/s. The direction is arctan(6/8) ≈ 36.87° north of east.
import math
def stick_together(m1, v1, m2, v2):
total = m1 + m2
vx = (m1 * v1[0] + m2 * v2[0]) / total
vy = (m1 * v1[1] + m2 * v2[1]) / total
return vx, vy
def kinetic_energy(m, v):
return 0.5 * m * (v[0] ** 2 + v[1] ** 2)
m1, v1 = 1000.0, (20.0, 0.0)
m2, v2 = 1500.0, (0.0, 10.0)
vx, vy = stick_together(m1, v1, m2, v2)
speed = math.hypot(vx, vy)
angle = math.degrees(math.atan2(vy, vx))
print(vx, vy) # 8.0 6.0
print(speed, round(angle, 2)) # 10.0 36.87
ke_before = kinetic_energy(m1, v1) + kinetic_energy(m2, v2)
ke_after = kinetic_energy(m1 + m2, (vx, vy))
print(ke_before, ke_after) # 275000.0 125000.0Momentum was conserved in both components, yet 150 000 J of kinetic energy became deformation, heat, and sound. This is the same pattern as the one-dimensional perfectly inelastic case.
The code uses atan2(vy, vx) rather than atan(vy / vx). atan2 returns the correct quadrant when a component is negative or zero.
Elastic collision: the billiard-ball case
A cue ball (mass m, speed 4 m/s along +x) strikes an identical ball at rest. Suppose the collision is elastic and the cue ball leaves at 30° above the x axis. Momentum conservation gives two equations, and conservation of kinetic energy gives a third.
For equal masses the vector equation is v = v₁′ + v₂′. Squaring (dot product with itself) gives:
v² = v₁′² + v₂′² + 2 v₁′·v₂′
Energy conservation says v² = v₁′² + v₂′². Subtracting the two leaves v₁′·v₂′ = 0. So after an elastic collision of equal masses, with one initially at rest and neither ball stopping, the balls leave at 90° to each other. The second ball therefore leaves at −60°. The speeds follow from the components:
- v₁′ = 4 cos 30° ≈ 3.46 m/s
- v₂′ = 4 sin 30° = 2.00 m/s
import math
m = 1.0
speed_in = 4.0
a1 = math.radians(30.0) # cue ball angle after the collision
a2 = math.radians(-60.0) # target ball angle after the collision
u1 = speed_in * math.cos(a1)
u2 = speed_in * math.sin(a1)
px_after = m * u1 * math.cos(a1) + m * u2 * math.cos(a2)
py_after = m * u1 * math.sin(a1) + m * u2 * math.sin(a2)
ke_before = 0.5 * m * speed_in ** 2
ke_after = 0.5 * m * u1 ** 2 + 0.5 * m * u2 ** 2
print(round(u1, 3), round(u2, 3)) # 3.464 2.0
print(math.isclose(px_after, m * speed_in)) # True
print(math.isclose(py_after, 0.0, abs_tol=1e-9)) # True
print(math.isclose(ke_after, ke_before)) # TrueThe 90° rule is a shortcut, not a general law. It needs equal masses, a target at rest, and a collision that is truly elastic. If the masses differ, or energy is lost, the angle between the outgoing paths is not 90°. For equal masses with energy lost, it is greater than 90°.
Counting equations and unknowns
Two-dimensional collisions often look underdetermined. Count before you start.
| Collision | Unknowns after | Equations available | Extra data needed |
|---|---|---|---|
| Perfectly inelastic (stick) | 2 (vₓ, vᵧ of the combined body) | 2 (momentum x and y) | None |
| Elastic, two objects | 4 (both velocity vectors) | 3 (momentum x, y, and energy) | One angle or one final speed |
| Partly inelastic, two objects | 4 | 2 (momentum x, y) | Two items, or the energy lost plus one angle |
This explains why a typical elastic 2D problem gives you one outgoing angle. The data supply the missing fourth condition.
Common errors
- Applying energy conservation to a sticking collision. If objects stick, kinetic energy drops. Use momentum only.
- Mixing up axes. Pick the axes once, ideally with x along the incoming object's direction, and keep that choice in every equation.
- Dropping signs. A component pointing in the −y direction is negative. A wrong sign in one term shifts the whole answer.
- Working in degrees and radians together. Python's
math.cosexpects radians. Convert withmath.radians. - Forgetting an object at rest. Its momentum is zero, but it still appears on the after side with unknown components.
- Reporting only components. If asked for a speed and direction, convert back with
hypotandatan2. - Treating external forces as negligible without checking. Friction on a road can matter in a real car crash. The conservation law holds only for the short time of the impact, when the collision forces far exceed friction.
Strategy as a flow
The last step is a built-in check. Total momentum must match before and after in both components. Kinetic energy must match only if the collision is elastic, and it must never increase in an isolated collision.
Exercise
A 2.0 kg puck moving east at 5.0 m/s collides with a 3.0 kg puck moving north at 2.0 m/s on frictionless ice. The pucks stick together. Find the speed of the combined pucks and their direction measured north of east.
Show answer
Total mass is 5.0 kg. In x: 2.0 × 5.0 = 5.0 × vₓ, so vₓ = 2.0 m/s. In y: 3.0 × 2.0 = 5.0 × vᵧ, so vᵧ = 1.2 m/s. The speed is √(2.0² + 1.2²) = √5.44 ≈ 2.33 m/s. The direction is arctan(1.2 / 2.0) ≈ 31° north of east.
Exercise
A ball moving at 6.0 m/s hits an identical ball at rest in an elastic collision. The first ball leaves at 40° from its original direction, and neither ball stops. At what angle does the second ball leave, and what are the two final speeds?
Show answer
The paths are 90° apart, so the second ball leaves at 50° on the other side of the original line. The speeds follow from the components: the first ball moves at 6.0 cos 40° ≈ 4.60 m/s, and the second at 6.0 sin 40° ≈ 3.86 m/s. Check energy: 4.60² + 3.86² ≈ 21.2 + 14.9 ≈ 36 = 6.0², as required.