Mechanicshigh schoolundergraduate

1D Elastic Collision (Final Velocities)

Also known as: Hard-sphere collision · Perfectly elastic collision

Conserve both momentum and kinetic energy and the velocities of the two bodies swap (when masses are equal) or rearrange linearly in mass ratios.

v1=(m1m2)v1+2m2v2m1+m2v_1' = \frac{(m_1 - m_2) v_1 + 2 m_2 v_2}{m_1 + m_2}
Live simulation
warming up the physics…

Two balls of adjustable mass and incoming velocity collide head-on, bounce off elastically, and continue with computed final velocities; the simulation loops.

Equivalent forms

v2=(m2m1)v2+2m1v1m1+m2v_2' = \frac{(m_2 - m_1) v_2 + 2 m_1 v_1}{m_1 + m_2}
Two conservation laws solved simultaneously yield a closed-form swap.