Impulse-Momentum Simulator Back
Classical Mechanics

Impulse-Momentum & Collision Simulator (1D/2D)

Real-time animation of elastic and inelastic collisions in 1D and 2D. Adjust coefficient of restitution to experience momentum conservation and energy loss. Visualize impulse with force-time graphs.

Mode
Mass m₁ (kg)
kg
Mass m₂ (kg)
kg
Velocity v₁ (m/s)
m/s
Velocity v₂ (m/s)
m/s
Restitution e
Presets
Pre/Post Collision Values
Results
4.00
p_total (kg·m/s)
5.50
KE total (J)
0.00
KE loss (J)
0.00
Impulse J (N·s)
Main
Impact Force F(t) vs Time (Impulse = area under curve)
Theory & Key Formulas
$$J = \Delta p = m\Delta v = F \cdot \Delta t$$

Restitution: $e = \frac{v_2'-v_1'}{v_1-v_2}$

What is Impulse & Collision?

🙋
So, in this simulator, I can make two balls collide. What exactly is the "coefficient of restitution" slider controlling?
🎓
That's the key! Basically, the restitution 'e' tells you how "bouncy" the collision is. It's the ratio of the relative speed after the collision to the relative speed before. In practice, if you set e=1, it's a perfectly elastic collision—like two super bouncy balls. Try sliding it to 0 and see what happens; the balls will stick together perfectly.
🙋
Wait, really? So if momentum is always conserved, what's actually being lost when e is less than 1?
🎓
Great observation. Momentum ($m\vec{v}$) is always conserved in the collision if we consider the whole system. But kinetic energy ($\frac{1}{2}mv^2$) is only fully conserved when e=1. For e<1, that "lost" kinetic energy is converted into other forms. For instance, in a car crash, it becomes heat, sound, and the energy used to crumple the metal. Try setting a very low 'e' with high velocities in the simulator—you'll see a big slowdown after impact.
🙋
That makes sense. So the "Impulse" mentioned is the change in momentum, right? How is that connected to the force during the crash?
🎓
Exactly right. Impulse ($J$) is the change in momentum, and it's also equal to the average collision force multiplied by the collision time: $J = F_{avg}\Delta t$. This is the crucial link for safety engineering. If you keep the impulse constant, you can reduce the peak force on passengers by increasing the collision time $\Delta t$. This is why cars have crumple zones! In the simulator, the impulse is calculated for you—watch how it changes as you adjust masses and velocities.

Physical Model & Key Equations

The fundamental principle governing all collisions is the Conservation of Linear Momentum. For a system with no external forces, the total momentum before the collision equals the total momentum after.

$$m_1 \vec{v}_1 + m_2 \vec{v}_2 = m_1 \vec{v}_1' + m_2 \vec{v}_2'$$

Here, $m_1, m_2$ are the masses, $\vec{v}_1, \vec{v}_2$ are the initial velocities, and $\vec{v}_1', \vec{v}_2'$ are the final velocities after the collision. This equation always holds true for the collision itself.

The Impulse-Momentum Theorem connects the force during the collision to the change in motion of an object. The impulse applied to an object causes its momentum to change.

$$\vec{J}= \Delta \vec{p}= m \Delta \vec{v}= \vec{F}_{avg}\cdot \Delta t$$

$\vec{J}$ is the impulse vector, $\Delta \vec{p}$ is the change in momentum, and $\vec{F}_{avg}$ is the average force over the collision duration $\Delta t$. This shows that for a given change in momentum, a longer collision time results in a smaller, safer average force.

The nature of the collision is defined by the Coefficient of Restitution (e): $e = -\frac{v_2' - v_1'}{v_2 - v_1}$. It ranges from 0 (perfectly inelastic, stick together) to 1 (perfectly elastic, kinetic energy conserved).

Frequently Asked Questions

In a perfectly inelastic collision (e=0), the two objects merge after impact and move together at the same velocity. This velocity is determined by the law of conservation of momentum, so unless the total momentum is zero, they will not stop. Depending on the masses and initial velocities, the combined object may continue moving slowly.
In 2D mode, you can directly change the direction and magnitude of each object's velocity vector by dragging it. You can also adjust the mass and initial position using sliders to freely experiment with collision angles and rebound patterns.
Impulse is the total amount of force an object experiences during a collision, corresponding to the area under the graph. It is equal to the change in momentum, calculated as the product of mass and the difference in velocity before and after the collision. A larger impulse indicates a stronger impact during the collision.
This simulator is based on an ideal physical model (no friction, no air resistance). In reality, factors such as rotation, deformation, and friction dissipate kinetic energy, so the results may not perfectly match. Adjusting the coefficient of restitution can provide an approximation.

Real-World Applications

Automotive Crash Safety & Crumple Zones: This is a direct application of the impulse-momentum theorem. Cars are designed with front and rear sections that crumple in a controlled way. This increases the collision time (Δt) during a crash, which dramatically reduces the average force (F_avg) on the passenger compartment for the same impulse, saving lives. CAE software like LS-DYNA is used to simulate and optimize these crumple zones.

Sports Equipment Design: The padding in helmets (for football, cycling) or the strings in a tennis racket are designed to increase the time over which an impact occurs. When a ball hits a racket or a head hits the ground, the longer Δt means a lower peak force is transmitted to the player's hand or skull, preventing injury.

Ballistics & Impact Testing: Engineers use these principles to design armor and test materials. By analyzing the momentum change and restitution of a projectile hitting a plate, they can calculate the average impact force and determine if the material will fail. This is critical for military, aerospace, and protective gear.

Particle Physics & Astrophysics: At both the smallest and largest scales, collision laws apply. In particle accelerators, scientists analyze collisions to discover new particles, conserving momentum in their calculations. In astrophysics, the equations govern everything from the formation of planets (accretion) to the colossal collisions of galaxies.

Common Misconceptions and Points to Note

There are a few key points you should be especially mindful of when starting to use this simulator. First is that the coefficient of restitution e is not determined solely by material. It's common to memorize things like "steel has e=0.9, clay has e=0," but in reality, it changes significantly with impact velocity and object shape. For example, even the same steel ball will see a decrease in 'e' due to localized plastic deformation if it collides at ultra-high speeds. While the simulator lets you set it as a single parameter, keep in mind that real-world CAE uses much more complex models.

The second point is not to confuse "conservation of momentum" with "balance of forces". At the instant of collision, the two objects exert equal and opposite forces on each other according to Newton's third law. However, this equality refers to the "force," not the "change in momentum," which differs if the masses are different. When a heavy ball (m1=10kg) collides with a light ball (m2=1kg), the lighter one changes its velocity much more dramatically, right? The change in momentum (impulse) is equal for both, but the change in velocity is inversely proportional to the mass.

Finally, a common pitfall in the simulator settings is the realism of initial conditions. For instance, setting an extremely large mass (1000kg) and a high velocity (100m/s) might work mathematically, but in reality, it would generate tremendous energy, shattering the objects. Since the goal here is to understand the principles, the trick to correctly grasping the phenomena is to experiment within a realistic range, like ball masses of 1–10 kg and velocities of a few meters per second.

How to Use

  1. Enter mass m1 (kg) and m2 (kg) for both objects in the input fields m1ValNum and m2ValNum.
  2. Set initial velocities v1 (m/s) and v2 (m/s) using v1ValNum and v2ValNum; use negative values for opposite directions.
  3. Adjust the coefficient of restitution (e) slider from 0 (perfectly inelastic) to 1 (perfectly elastic).
  4. Click Simulate to run the 1D or 2D collision animation and observe momentum conservation in real-time.
  5. Review output statistics: p_total (kg·m/s), KE total (J), KE loss (J), and Impulse J (N·s).

Worked Example

Steel ball (m1 = 2 kg) moving at v1 = 8 m/s collides head-on with stationary aluminum ball (m2 = 3 kg, v2 = 0 m/s). Before collision: p_total = 16 kg·m/s, KE_total = 64 J. Setting e = 0.6 (partially elastic) yields final velocities v1' = 1.2 m/s and v2' = 4.8 m/s. Momentum is conserved: p_total remains 16 kg·m/s. Energy loss = 19.2 J reflects inelastic deformation. Impulse on m2 = 14.4 N·s.

Practical Notes

  1. For automotive crash analysis, use e = 0.1–0.3 to model crumple zones and permanent deformation in mild steel frames.
  2. In robotics collision avoidance, validate sensor thresholds against Impulse values exceeding 50 N·s for impact detection.
  3. Tennis ball on racket (e ≈ 0.85) shows significant KE recovery; bowling ball on pins (e ≈ 0.4) demonstrates energy dissipation in composite materials.
  4. Monitor KE_loss to diagnose material fatigue: repeated collisions with rising loss rates indicate microcracking in aluminum or composite structures.