Mechanicsp = mv

Collisions Simulator

Simulate 1D elastic and inelastic collisions. Adjust masses and initial velocities to explore momentum and kinetic energy conservation.

Parameters
Collision type
Mass m₁
kg
Velocity v₁
m/s
Mass m₂
kg
Velocity v₂
m/s

p₁0.000 kg·m/s
p₂0.000 kg·m/s
p_total0.000 kg·m/s
v₁ after0.000 m/s
v₂ after0.000 m/s
KE before0.000 J
KE after0.000 J
ΔKE0.000 J

About Collisions

A collision is an event in which two or more objects exert forces on each other over a short time interval. The total linear momentum of an isolated system is always conserved in any collision. Kinetic energy, however, is only conserved in perfectly elastic collisions.

Momentum is always conserved in collisions (assuming no external forces). Kinetic energy is conserved only in elastic collisions — in inelastic collisions, some KE converts to heat, sound, or deformation.

Key Variables

SymbolNameUnitDescription
m₁, m₂MasseskgMasses of the two blocks
v₁, v₂Initial Velocitiesm/sVelocities before collision (positive = rightward)
v₁f, v₂fFinal Velocitiesm/sVelocities after collision
p₁, p₂Momentakg·m/sp = mv for each block
p_totalTotal Momentumkg·m/sp₁ + p₂ — conserved in all collisions
KE_beforeInitial KEJ½m₁v₁² + ½m₂v₂²
KE_afterFinal KEJ½m₁v₁f² + ½m₂v₂f²
ΔKEEnergy LostJKE_before − KE_after (zero for elastic)

Elastic Collision Example

m₁ = 2 kg, v₁ = 3 m/s, m₂ = 1 kg, v₂ = −1 m/s (elastic collision):

Inelastic (Perfectly Inelastic) Collision

In a perfectly inelastic collision, the two objects stick together and move as one. This represents maximum kinetic energy loss while still conserving momentum.

💡Switch between Elastic and Inelastic modes in the simulator. Notice total momentum is always conserved, but the KE_after readout changes significantly between modes.

Special Cases

  • Equal masses (elastic): objects exchange velocities — classic Newton's Cradle behaviour.
  • Very heavy object hits stationary light object (elastic): heavy barely slows, light bounces at ~2× heavy's speed.
  • Light hits very heavy stationary object (elastic): light bounces back at nearly the same speed.
  • Head-on collision with equal speeds (elastic): both reverse directions.

Collision Formulas

Conservation of Momentum

Elastic Collision Velocities

Perfectly Inelastic Collision Velocity

Kinetic Energy Before and After

QuantityElasticInelastic
MomentumConservedConserved
Kinetic EnergyConservedNOT conserved (ΔKE lost as heat/sound)
Final velocitiesTwo separateOne shared velocity
ObjectsBounce apartStick together
In elastic collisions, both momentum AND kinetic energy are conserved simultaneously. This gives two equations for two unknowns (v1f, v2f), yielding the formulas above.

Frequently Asked Questions

Is momentum always conserved in a collision?

Yes, if there are no external forces on the system. The internal collision forces are equal and opposite (Newton's Third Law), so they cancel when summing over the whole system. Momentum is always conserved in both elastic and inelastic collisions.

What is the coefficient of restitution?

The coefficient of restitution e = |v2f − v1f| / |v1 − v2|. For perfectly elastic collisions e = 1, for perfectly inelastic e = 0. Values between 0 and 1 represent partially inelastic collisions. This simulator shows the two extreme cases.

What happens when equal masses collide elastically?

The velocities are exchanged. If m₁ = m₂ = m, then v1f = v2 and v2f = v1. This is why in Newton's Cradle, one ball hitting a stationary ball sends exactly one ball out the other side.

Can I set a negative velocity?

Yes. Negative velocity means the block moves to the left. This allows head-on collisions where both blocks approach each other, or scenarios where one block overtakes another from behind.

What causes kinetic energy loss in an inelastic collision?

The 'lost' KE is converted to other forms of energy: heat from deformation, sound (the collision 'thud'), permanent deformation of materials, and vibrations. Total energy including these forms is still conserved — only mechanical KE decreases.