Two bodies on a frictionless line. Impulse conservation: m₁v₁ + m₂v₂ = m₁v₁′ + m₂v₂′. Newton's restitution law: v₂′ − v₁′ = −e (v₂ − v₁) with 0 ≤ e ≤ 1. Solving gives v₁′ = v₁ − (1+e) · m₂/(m₁+m₂) · (v₁−v₂), v₂′ = v₂ + (1+e) · m₁/(m₁+m₂) · (v₁−v₂).
Kinetic energy lost: ΔKE = −½ μ (1−e²) (v₁−v₂)², μ = m₁m₂/(m₁+m₂). It is zero for e = 1 (elastic) and largest for e = 0 (the gliders leave together at the centre-of-mass speed). The centre-of-mass velocity (m₁v₁+m₂v₂)/(m₁+m₂) never changes in a collision.
Simplifications: a single constant e (real e depends on speed and material), no air drag or track friction (a real air track has a little), and the bumpers collide instantaneously with no spring compression. The end stops are modelled as walls with the same e. Contact times are solved exactly, so the result does not depend on the frame rate. The glider's visible mass is the number of brass weights (0.5 kg each).
3D assets (air track, gliders, bench) modelled and baked in Blender.