The Physics of the Universe
Home › Simulations › 1D & 2D Momentum Collision Lab (Elastic, Inelastic & Impulse)

1D & 2D Momentum Collision Lab (Elastic, Inelastic & Impulse)

Test 1D and 2D collisions between two spheres using an exact analytical time-of-impact solver: vary masses, restitution e ∈ [0, 1], perfectly inelastic sticking, and off-center glancing impact offset.

Presets:
Look at the live vector readout: total momentum p = m₁v₁ + m₂v₂ stays conserved through the collision regardless of elasticity e!

Key Equations & Physics Model

Conservation of Total Momentum Vector: p_total = m₁ v₁ + m₂ v₂ = constant (2D vector)
Normal Impulse with Restitution e: j = −(1 + e) (v_rel · n̂) / (1/m₁ + 1/m₂)
Kinetic Energy Change: K_total = ½ m₁ |v₁|² + ½ m₂ |v₂|² (conserved only if e = 1)

Uses exact quadratic swept-sphere Time-of-Impact resolution (zero tunneling) and applies restitution e strictly along the normal line of centers while keeping tangential components untouched.

How the Physics Works

Whenever two isolated spheres collide without external friction or walls, Newton's third law guarantees equal and opposite impulses J and −J during contact, so total vector momentum (px, py) before impact identically equals total momentum after impact.

Coefficient of restitution e sets how bouncy the collision is along the center-to-center line: e = 1 gives a perfectly elastic collision conserving both momentum and kinetic energy (as in Equal-Mass Billiard Swap, where sphere 1 stops dead and transfers all momentum to sphere 2), while e < 1 dissipates energy into heat and sound.

In 2D glancing collisions (Δy > 0), restitution acts solely along the impact normal vector n̂, leaving perpendicular tangential velocity unchanged—producing the classic 90° scattering angle when equal masses collide elastically!

Collision Regimes Compared

RegimeRestitution eMomentum Conserved?Kinetic Energy Conserved?Post-Collision Behavior
Perfectly Elastice = 1.0Yes (vector)Yes (100%)Equal masses swap velocities 1D or split 90° 2D
Partially Inelastic0 < e < 1Yes (vector)No (partial loss)Separate with reduced relative normal speed
Sticky Perfectly InelasticMerge modeYes (vector)Maximum lossLock together at shared center-of-mass velocity
Heavy Hits Stationary Lighte = 1, m₁ ≫ m₂Yes (vector)YesLight target shoots forward at nearly 2 v₁

Why is momentum conserved even when kinetic energy vanishes?

A 40-second animation: Newton's 3rd Law equal impulses, restitution e, 50% inelastic loss, and 90° glancing splits.

Experiments to Try

Watch Equal-Mass Momentum Transfer

Select Equal-Mass Billiard Swap: sphere 1 stops completely after striking stationary sphere 2, handing off 100% of both p and KE.

Verify 50% KE Loss in Sticky Merger

Choose Inelastic Sticky Merge for equal masses initially at rest + moving: total momentum stays 12 kg·m/s while kinetic energy drops cleanly by 50%.

Observe 90° Elastic Glancing Split

Run 2D Glancing Billiard Shot (e = 1, m₁ = m₂) and confirm the velocity vectors diverge perpendicular to each other.

Frequently Asked Questions

Does e = 0 always mean two balls stick together in 2D?

Only along the normal line of centers—for an off-center 2D glance, e = 0 stops relative normal motion while tangential slip continues, which is why this lab provides a dedicated Sticky Merger toggle.

Why isn't momentum conserved when Container Walls is switched on?

Bouncing off stationary container walls exerts an external impulse from the walls on the spheres, reversing px or py.

How can a stationary light ball fly faster than the incoming heavy ball?

By both conserving momentum and kinetic energy, elastic head-on rebound gives v₂' = 2 m₁ v₁ / (m₁ + m₂), approaching 2 v₁ when m₁ ≫ m₂.

Related Topics & Tools