The momentum of a body is its mass times its velocity, p = mv, and in one dimension its sign is its direction. In a collision the two carts push on each other and on nothing else, so their total momentum is the same after as before, whatever the collision does to their kinetic energy.
What each symbol means
p
- momentum,
mv, in kg·m/s. Right is positive, so a cart moving left carries negative momentum.
u
- a velocity before the collision:
u₁ for cart 1 on the left, u₂ for cart 2 on the right. The carts meet only if u₁ > u₂.
v
- a velocity after the collision.
e
- the coefficient of restitution, the speed at which the carts separate divided by the speed at which they met. 1 gives back all the kinetic energy of their relative motion; 0 makes them stick.
J
- the impulse, the change in one cart's momentum, in N·s. Over a contact lasting
Δt it is the average force times Δt.
Where the formula comes from
- Impulse is the change in momentum. Newton's second law summed over the contact: the force times the time it acts is the momentum it adds.
J=∫Fdt=FˉΔt=m(v−u)=Δp
- Newton's third law makes the two impulses equal and opposite. Each cart pushes the other as hard as it is pushed, for the same contact time, so whatever cart 2 gains, cart 1 loses.
m2(v2−u2)=−m1(v1−u1)⇒ m1u1+m2u2=m1v1+m2v2
- That is one equation for two unknowns, and restitution is the second. It compares how fast the carts separate with how fast they met, and it is the only place the kind of collision enters.
v2−v1=e(u1−u2)
- Solve the pair. These are the formulas the results table works through.
v1=m1+m2(m1−em2)u1+m2(1+e)u2v2=m1+m2(m2−em1)u2+m1(1+e)u1
- The kinetic energy lost depends only on the relative speed. It is zero at e = 1 and largest at e = 0, when the carts stick; the same masses meeting at the same relative speed lose the same energy wherever the pair as a whole is going.
ΔK=21m1+m2m1m2(1−e2)(u1−u2)2
- Assumes
- The carts move along one line and touch only each other during the contact, so friction and the track add no impulse while it lasts. The restitution is one number for the pair, though for real materials it falls as the impact gets harder. The animation's walls are outside the two-cart system: a wall bounce reverses one cart, which changes the total momentum and leaves the kinetic energy alone.