Mechanics  ·  22 July 2026

Conservation of Momentum: Elastic and Inelastic Collision Simulator

Click the first ball of a Newton's cradle into the row and, instead of all five swinging away together, one ball pops out the far side at almost exactly the speed the first one arrived with. The cradle is performing a calculation in steel and string: it is conserving momentum. The same bookkeeping governs car crashes, rocket launches, billiard breaks and the recoil of a rifle.

This page is an interactive collision simulator built around the law of conservation of momentum. Set the masses and velocities of two blocks, slide the elasticity anywhere between a perfect bounce and a sticky crash, and watch the before/after bars prove the law that examiners in AP Physics, A-Level, JEE and NEET never tire of testing: total momentum is always conserved. Kinetic energy is a different story.

What Is the Law of Conservation of Momentum?

Momentum is mass times velocity, p=mvp = mv — a vector pointing along the motion, measured in kg·m/s. The conservation law states:

In any collision or interaction with no external force, the total momentum of the system is the same before and after: m1u1+m2u2=m1v1+m2v2m_1 u_1 + m_2 u_2 = m_1 v_1 + m_2 v_2

where uu denotes velocities before the collision and vv after.

Why must this be true? It follows directly from Newton's third law. During the collision, block 1 pushes on block 2 as hard as block 2 pushes back on block 1, for the same duration. Equal and opposite forces for equal times mean equal and opposite impulses (J=FΔt=ΔpJ = F\Delta t = \Delta p), so whatever momentum one block gains, the other loses. The total cannot change; it can only be redistributed.

Two ice skaters at rest who push apart demonstrate the vector nature perfectly: the light skater glides away fast, the heavy one slowly, and the total momentum stays exactly what it was: zero.

What Is the Difference Between Elastic and Inelastic Collisions?

Momentum is conserved in every collision. The type of collision is decided by what happens to kinetic energy:

TypeKinetic energyRestitution eReal examples
Perfectly elasticFully conserved1Billiard balls (nearly), colliding gas molecules, Newton's cradle
InelasticPartly lostbetween 0 and 1Most real collisions — sports balls, bumper cars
Perfectly inelasticMaximum possible loss0Objects that stick: railway coupling, a tackle, a bullet embedding in a block

The coefficient of restitution ee measures the "bounciness" — the ratio of separation speed to approach speed:

e=v2v1u1u2e = \frac{v_2 - v_1}{u_1 - u_2}

A dropped superball (e0.9e \approx 0.9) rebounds to about 81% of its height (height scales with e2e^2); a beanbag (e0e \approx 0) just thuds.

Interactive Collision Simulator

Set each block's mass and initial velocity, choose the elasticity, and press play. The blocks are labelled with their live velocities; the bar chart below is the whole point of the lesson: the momentum bars stay equal before and after, while the kinetic-energy bars drop by the fraction lost to heat, sound and deformation. The velocity–time graph at the bottom shows the collision the way examiners draw it: two flat lines, one instantaneous step, with the dotted marker tracking the animation in real time. Three experiments worth running: equal masses with e = 1 (they swap velocities), any masses with e = 0 (they stick and move together), and a heavy block hitting a light one (the light one rockets away at up to nearly twice the impact speed).

Loading chart...
Loading chart...
Loading chart...
Block 1 (left)
2 kg
4 m/s
Block 2 (right)
1 kg
-2 m/s
Elasticity
1
e = 1: perfectly elastic (billiard balls). e = 0: perfectly inelastic — the blocks stick together (railway coupling).
p before = 6.00 kg·m/s, p after = 6.00 kg·m/s — conserved. KE: 18.0 J → 18.0 J (0% lost to heat, sound and deformation). Final velocities: v₁ = 0.00 m/s, v₂ = 6.00 m/s.

How Do You Solve Collision Problems Step by Step?

Every 1D collision problem uses the same recipe:

  1. Choose a positive direction and write every velocity with its sign.
  2. Write momentum conservation: m1u1+m2u2=m1v1+m2v2m_1 u_1 + m_2 u_2 = m_1 v_1 + m_2 v_2.
  3. Add the second equation your problem type provides:
    • Perfectly inelastic: the objects share one final velocity, v1=v2=vv_1 = v_2 = v, giving v=m1u1+m2u2m1+m2v = \dfrac{m_1 u_1 + m_2 u_2}{m_1 + m_2}
    • Perfectly elastic: kinetic energy is also conserved, which (after algebra) yields v1=(m1m2)u1+2m2u2m1+m2,v2=(m2m1)u2+2m1u1m1+m2v_1 = \frac{(m_1 - m_2)\,u_1 + 2 m_2 u_2}{m_1 + m_2}, \qquad v_2 = \frac{(m_2 - m_1)\,u_2 + 2 m_1 u_1}{m_1 + m_2}
  4. Sanity-check the special cases. Equal masses in an elastic collision swap velocities. A heavy object hitting a light stationary one barely slows down, while the light one flies off at up to 2u12u_1. A light object bouncing off a heavy one reverses direction with almost unchanged speed.

The simulator implements the general case using the restitution form: v2v1=e(u1u2)v_2 - v_1 = e(u_1 - u_2) combined with momentum conservation, which smoothly interpolates between the elastic (e=1e = 1) and perfectly inelastic (e=0e = 0) formulas above.

Why Does a Newton's Cradle Release Exactly as Many Balls as You Lift?

The equal-mass velocity swap is the entire operating principle of the desk toy below. Lift one, two, three or four balls and release: each collision in the chain hands the incoming velocity to the next ball, the impulse walks invisibly through the stationary row, and the same number of balls exits the far side. The alternative — two balls popping out at half speed after lifting one — would conserve momentum just fine, and it never happens, because it would not conserve kinetic energy (12mv2\frac{1}{2}m v^2 punishes splitting speed across more mass). The cradle enforces both laws at once, every swing.

The timing doesn't depend on how many balls move together, since a pendulum's period doesn't care about mass. It does depend on how far you lift them, though: large-angle pendulums run measurably slower than the small-angle formula predicts.

Watch the swings shrink over several passes, too. This demo isn't a perfect, frictionless idealisation — every real cradle bleeds off a little kinetic energy each swing to air resistance and to ball-on-ball collisions that are very nearly, but not quite, perfectly elastic. Same story as the KE bars above, just playing out more slowly.

2
30 °
Equal masses + elastic collisions mean each impact swaps velocities, so the impulse walks through the row and exactly as many balls exit as entered. Lift one ball: two coming out at half speed would conserve momentum but not kinetic energy — so it never happens. The swing timing doesn't depend on how many balls move together — a pendulum's period doesn't care about mass — though it does depend on how far you lift them: big swings take measurably longer than small ones. And just like a real desk toy, this one loses a little height every pass to air resistance and imperfect collisions, until it winds down to rest.

Why Is Kinetic Energy Lost in Inelastic Collisions?

The "lost" kinetic energy hasn't vanished. Metal bends, materials heat up, sound waves carry energy away — it's gone somewhere, just not into motion anymore. Total energy is always conserved; only the kinetic portion shrinks (our kinetic and potential energy visualiser explores these conversions).

Car crumple zones are this physics used deliberately. The collision is made as inelastic as possible so the car body absorbs kinetic energy by deforming — and, just as importantly, the crumpling stretches the collision over a longer time. The occupants' momentum change is fixed by the crash, but impulse J=FΔtJ = F\Delta t means a longer Δt\Delta t requires a smaller force. Rigid old-fashioned cars bounced — transferring the energy and the short, violent force to the passengers instead.

Worked Examples for Physics Exams

Example 1: Railway trucks coupling (perfectly inelastic)

A 4,000 kg truck moving at 3 m/s couples with a stationary 2,000 kg truck. Find their common speed and the kinetic energy lost.

v=4000×3+2000×06000=2v = \dfrac{4000 \times 3 + 2000 \times 0}{6000} = 2 m/s. KE before =12(4000)(32)=18,000= \frac{1}{2}(4000)(3^2) = 18{,}000 J; KE after =12(6000)(22)=12,000= \frac{1}{2}(6000)(2^2) = 12{,}000 J. One third of the kinetic energy became sound, heat and deformation of the coupling. Try it in the simulator: m₁ = 4, m₂ = 2, u₁ = 3, u₂ = 0, e = 0 (same numbers, scaled ×1000).

Example 2: Equal masses, elastic collision

A 2 kg ball moving at 5 m/s strikes an identical stationary ball perfectly elastically. Find both final velocities.

Using the elastic formulas with m1=m2m_1 = m_2: v1=0v_1 = 0, v2=5v_2 = 5 m/s — the balls exchange velocities. This is the entire secret of Newton's cradle: each ball hands its momentum and energy to the next, and only the last one is free to move.

Example 3: Ballistic block (bullet embeds)

A 10 g bullet travelling at 400 m/s embeds itself in a stationary 1.99 kg wooden block. Find the block's speed and the fraction of kinetic energy lost.

v=0.01×4000.01+1.99=42=2v = \dfrac{0.01 \times 400}{0.01 + 1.99} = \dfrac{4}{2} = 2 m/s. KE before =12(0.01)(4002)=800= \frac{1}{2}(0.01)(400^2) = 800 J; KE after =12(2.0)(22)=4= \frac{1}{2}(2.0)(2^2) = 4 J. 99.5% of the energy is lost to splintering wood and heat — yet momentum is perfectly conserved. This is the principle of the ballistic pendulum, historically used to measure bullet speeds.

Frequently Asked Questions

Explore more simulations

Every concept on PhysicStuff has an interactive simulation. No login, no setup required.