Fundamentals / Physics / Classical mechanics

Momentum, impulse and collisions

Use the centre-of-mass frame to predict the outcome of a collision and account for the kinetic energy that disappears from the motion of the bodies.

From first principles

Construct the centre-of-mass and relative kinetic energies

Take two bodies of constant masses \(m_1,m_2\) moving along one axis. During their brief contact suppose the external impulse is negligible. The mechanical inputs are Newton's momentum balance and equal, opposite contact forces. Add the two balances, then divide the resulting conserved total momentum \(P\) by total mass \(M\):

\[\dot P=\dot p_1+\dot p_2=0,\]
\[V=P/M,\]
\[M=m_1+m_2 .\]

Let \(u=v_1-v_2\) be the signed relative speed. Solving this definition together with \(m_1v_1+m_2v_2=MV\) recovers each velocity. These expressions distinguish the common motion shared by both bodies from their approach:

\[v_1=V+(m_2/M)u,\]
\[v_2=V-(m_1/M)u.\]

Insert both in the kinetic-energy sum. The terms proportional to \(Vu\) cancel, while those in \(u^2\) combine into the reduced mass \(\mu=m_1m_2/M\):

\[K=\tfrac12m_1v_1^2+\tfrac12m_2v_2^2=\tfrac12MV^2+\tfrac12\mu u^2 .\]

No constitutive law for the contact has entered this identity. Since \(V\) is fixed, only the second energy term can change during an isolated collision. Restitution or another contact measurement is needed to predict the final relative motion.

Two equal masses move to the right at three and one metres per second in the laboratory. In the centre-of-mass frame they move in opposite directions at one metre per second.Open full-size diagram
Which portion of the motion can enter a collision? For equal masses the centre of mass travels at 2 m/s. Subtract this velocity from both arrows. The lower pair now has zero total momentum, but it still has kinetic energy because the two masses approach one another. With 1 kg per mass, 4 J travels with the centre of mass and 1 J belongs to relative motion.

Explore the related parameter study beside the computed figure.

Derivation and applications

Where does kinetic energy go during a finite contact?

A collision record often contains a force trace but no direct measurement of stored deformation energy. Consider two carts moving along the same straight track. Neglect the external impulse during contact, assume that the bodies do not rotate, and define the initial closing speed as \(u=v_1-v_2>0\). The common centre-of-mass speed is constant, but the relative speed changes continuously as the contact force grows and subsides.

Let \(J(t)\) be the positive impulse applied to cart 2 up to time \(t\). Cart 1 receives the opposite impulse. Subtract the resulting velocities and collect the two inverse masses into the reduced mass \(\mu\):

\[v_1(J)=v_1-J/m_1,\]
\[v_2(J)=v_2+J/m_2,\]
\[u(J)=u-J/\mu,\]
\[\mu^{-1}=m_1^{-1}+m_2^{-1}.\]

For each cart the instantaneous kinetic-energy change is velocity times momentum change. Consequently the sum of both changes measures the relative velocity during contact. Integrating over the measured impulse gives

\[dK=-u(J)\,dJ,\]
\[K(J)-K(0)=-uJ+\frac{J^2}{2\mu}.\]

Maximum compression occurs when the relative velocity first vanishes, at \(J_c=\mu u\). At separation let the measured opening speed be \(eu\), where \(e\) is the coefficient of restitution. Solving \(u(J_f)=-eu\) and inserting the resulting final impulse gives

\[J_f=(1+e)\mu u,\]
\[K(0)-K(J_f)=\tfrac12\mu u^2(1-e^2).\]

The two stages need not have the same force histories. The loss is fixed by endpoint data because total momentum was conserved. An elastic contact temporarily removes relative kinetic energy and returns it all. A sticking contact returns none.

Worked example

Reconstruct the two stages of a cart encounter

A \(0.600\) kg cart catches a \(0.400\) kg cart with \(u=1.50\) m/s. Their force sensor measures \(J_f=0.576\) N s. Here \(\mu=0.240\) kg, so \(J_c=0.360\) N s and \(e=0.576/0.360-1=0.600\). Compression removes \(0.270\) J of relative motion. Separation returns \(0.270(0.600)^2=0.0972\) J; the bodies leave contact with \(0.173\) J less kinetic energy.

Second application

Repeat in a moving laboratory

Suppose the initial cart velocities were \(2.00\) and \(0.500\) m/s. The impulses predict final velocities \(1.04\) and \(1.94\) m/s. An observer travelling at \(1.00\) m/s instead obtains \(0.040\) and \(0.940\) m/s after contact. In that frame the initial kinetic energy is \(0.350\) J and the final energy \(0.177\) J. Their difference again gives \(0.173\) J: changing the observer changes the centre-of-mass contribution by the same amount at both endpoints.

Try it · Inelastic carts

Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.

Select a system and a clock

Two gliders collide on a level air track. A force sensor can display a sharp pulse, while video resolves only the velocities before and after contact. Can the two instruments describe the same event? Begin with Newton’s law for a constant-mass particle. Integrating over the contact time gives

\[\mathbf p_f-\mathbf p_i=\int\mathbf F\,dt.\]

The right-hand side is an impulse. It has units of N·s, equal to kg·m/s. A large force acting briefly can produce the same impulse as a smaller force acting for longer.

Draw a boundary around both gliders. The contact forces contribute equal and opposite impulses within that boundary. The change in their total momentum equals the external impulse. Gravity and the track reaction cancel vertically. Provided that horizontal friction supplies little impulse during contact, the horizontal momentum is conserved to the accuracy of that approximation. This reasoning also tells us which claim a measurement can test. Momentum conservation constrains the two final velocities together, but supplies only one scalar equation in a one-dimensional experiment.

Separate translation and approach

Let \(M=m_1+m_2\) be the total mass and \(u=v_1-v_2\) the signed closing velocity. Introduce the centre-of-mass velocity and reduced mass,

\[\begin{aligned} V &= \frac{m_1v_1+m_2v_2}{M},\\ \mu &= \frac{m_1m_2}{M}. \end{aligned}\]

Solving the two velocity equations for the laboratory measurements gives

\[\begin{aligned} v_1 &= V+\frac{m_2}{M}u,\\ v_2 &= V-\frac{m_1}{M}u. \end{aligned}\]

Substitute both expressions in the kinetic energy. The terms linear in \(Vu\) cancel and the squared terms give

\[K=\tfrac12 MV^2+\tfrac12\mu u^2.\]

The first term translates the centre of mass. A collision with negligible external impulse leaves it fixed. The second term measures the energy available for deformation, heating and relative motion after impact. All observers moving uniformly along the track agree on the relative speed. They assign different values to the first term while agreeing on the kinetic energy lost during this isolated collision.

Supply a material observation

Suppose the gliders approach with \(u_i>0\) and separate afterwards. Define the restitution coefficient along the line of impact as \(e=-u_f/u_i\). Elastic rebound gives \(e=1\), and two bodies sticking together have \(e=0\). Substituting the definition into the energy decomposition gives

\[K_i-K_f=\mu(1-e^2)u_i^2/2.\]

A smaller restitution coefficient reduces the energy available for separation. A spring mechanism initially storing energy can instead produce a relative speed larger than its approach speed.

Restitution is an empirical closure. Inferring it from a pair of outgoing velocities is an experimental result. In an oblique impact the normal relative velocity supplies the restitution condition. Tangential motion requires a separate physical assumption about friction and rotation. Applying the one-dimensional formula to the full speed would implicitly impose a tangential contact law as well.

OneSimulation · Two bumpers with the same impulse

A 0.20 kg cart approaches a 0.30 kg cart at a relative speed of 0.50 m/s. Between first touch and separation, an ideal spring bumper exerts the same force magnitude on both carts. Subtract the two acceleration equations. Their relative compression \(s\) then obeys the equation for a single oscillator of reduced mass \(\mu\).

\[\mu\ddot s=-ks,\]
\[\mu=\frac{m_1m_2}{m_1+m_2},\]
\[s(0)=0,\]
\[\dot s(0)=v_{\rm rel}.\]

At the first return to zero compression the spring disengages. The force pulse lasts half a period. Quadrupling the stiffness doubles its peak and halves its duration. OneSimulation integrates the compression in time and checks the area of each pulse against the momentum change \(2\mu v_{\rm rel}\). A momentum measurement alone cannot recover the peak load.

"""Elastic collision of two carts with interchangeable spring bumpers."""
import matplotlib.pyplot as plt
import numpy as np
from onesim.numerics.time import ClassicalRungeKutta4TimeIntegrator

mass_left, mass_right = 0.20, 0.30  # kg
closing_speed = 0.50  # m/s
reduced_mass = mass_left * mass_right / (mass_left + mass_right)
stepper = ClassicalRungeKutta4TimeIntegrator()
fig, ax = plt.subplots(figsize=(6.6, 3.5), layout="constrained")

for stiffness in (120.0, 480.0):  # N/m
    omega = np.sqrt(stiffness / reduced_mass)
    times = np.linspace(0, np.pi / omega, 201)
    dt = times[1] - times[0]
    state = (0.0, closing_speed)  # compression and compression rate
    force = [0.0]
    def contact_rate(state, time):
        compression, speed = state
        return speed, -stiffness * compression / reduced_mass
    for time in times[:-1]:
        state = stepper.advance(state, contact_rate, dt, time=time)
        force.append(stiffness * state[0])
    impulse = np.trapezoid(force, times)
    assert np.isclose(impulse, 2 * reduced_mass * closing_speed, rtol=3e-5)
    print(f"{stiffness:g} N/m: {max(force):.3f} N peak, {impulse:.4f} N s")
    ax.plot(1000 * times, force, label=f"{stiffness:g} N/m")
ax.set(xlabel="Time since first contact (ms)", ylabel="Contact force (N)")
ax.grid(alpha=0.2)
ax.legend(title="Bumper stiffness")
fig.savefig("classical-mechanics.png", dpi=180)
Two half-sine contact force pulses. The taller pulse reaches 3.8 N and ends halfway through the 1.9 N pulse.
Changing the stiffness from 120 to 480 N/m raises the peak from 1.90 to 3.79 N. Both pulses transfer 0.120 N s.

Try it · Contact pulse

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Download the Python example

Reconstruct an air-track event

A 0.60 kg glider moving right at 1.20 m/s strikes a 0.40 kg glider initially at rest. High-speed video gives \(e=0.50\). The centre of mass travels right at \(0.72\) m/s. The final relative velocity is \(-0.60\) m/s, hence the first glider travels at \(0.72+0.40(-0.60)=0.48\) m/s and the second at \(0.72-0.60(-0.60)=1.08\) m/s. Both move right, but the smaller glider pulls away.

The impulse on the smaller glider is \(0.40(1.08)=0.432\) N·s. A 12 ms contact would therefore give a mean force of 36 N. The kinetic energy lost is

\[0.5(0.24)(1-0.25)(1.20)^2=0.130\,\mathrm{J}.\]

Momentum and energy provide independent checks on an instrument record. If both measured impulses agree while the kinetic energy falls by this amount, the missing mechanical energy can reside in the contact material and the sound it emitted.

A different choice of frame changes each cart’s measured kinetic energy but leaves the loss in a collision unchanged if total momentum is conserved. To verify this, subtract a constant velocity \(U\) from each velocity before forming the initial and final kinetic sums. In each sum the additional terms are \(-UP+MU^2/2\). The two corrections cancel in the energy difference. This is why a collision film taken by an observer riding beside the track can give the same inferred internal-energy gain.

Resolve an oblique impact along the contact normal

A single restitution coefficient describes the part of relative velocity along the line of impact. A two-dimensional collision needs a geometric measurement as well. Take two smooth disks gliding on a horizontal air table, with negligible external impulse during contact. At first touch draw a unit normal \(\mathbf n\) from the centre of disk 1 toward disk 2. Let \(\mathbf t\) be a perpendicular direction in the table. Assume the contact exerts no tangential impulse. The force then passes through the centres and leaves the two spins unchanged, even when the centres approach on intersecting paths.

Call the positive magnitude of contact impulse \(J\). Disk 1 receives \(-J\mathbf n\) and disk 2 receives \(+J\mathbf n\). Subtract the individual impulse–momentum equations; if \(\mathbf g=\mathbf v_1-\mathbf v_2\), the relative normal velocity after impact is \(g'_n=g_n-J(1/m_1+1/m_2)\). Approaching disks have \(g_n>0\) with this choice of normal. Applying \(g'_n=-e g_n\) gives

\[J=(1+e)\mu g_n,\]
\[\mu=\frac{m_1m_2}{m_1+m_2}.\]

Both tangential velocities remain individually unchanged. The energy lost is \(\mu(1-e^2)g_n^2/2\), even when tangential motion carries most of the initial relative kinetic energy. A grazing trajectory with \(g_n\) tending to zero therefore transfers very little momentum and loses even less energy. If the centres are already moving apart, this instantaneous collision model applies no impulse.

Predict both tracks after an off-centre hit

Take \(m_1=0.20\) kg, \(m_2=0.30\) kg, \(\mathbf v_1=(1.00,0)\) m/s and disk 2 initially at rest. A frame taken at contact places \(\mathbf n=(0.80,0.60)\), and the normal restitution coefficient is \(0.75\). Projecting the incoming velocity gives \(g_n=0.80\) m/s. The reduced mass is \(0.120\) kg, so the impulse magnitude is \((1.75)(0.120)(0.80)=0.168\) N s. Resolving the changes in the laboratory axes yields

\[\mathbf v'_1=(1,0)-(0.168/0.20)(0.80,0.60)=(0.328,-0.504)\ {\rm m/s},\]
\[\mathbf v'_2=(0.168/0.30)(0.80,0.60)=(0.448,0.336)\ {\rm m/s}.\]

The vertical momenta are equal and opposite. Their horizontal sum is \(0.200\) kg m/s as before. The final normal relative velocity is \(-0.600\) m/s, and the energy loss is \(0.0168\) J. Using the full relative speed in the restitution loss formula would give a different result. In the laboratory, fit straight lines to both tracks on either side of contact and compare the inferred impulse vector with the measured centre line. A significant tangential component would motivate adding friction or rotational degrees of freedom to the contact law.

The two-dimensional data also permit a consistency check even when the contact frame is slightly blurred. Subtract disk 2’s incident velocity from its outgoing velocity and normalize that vector. The result estimates the centre line from the observed impulse, given the smooth-disk assumption. Reconstruct the restitution coefficient using this direction and repeat with the direction recorded by the camera. If the inferred coefficient changes significantly between the two choices, possible explanations include a rotational friction impulse or an error in locating the instant of contact. Spin markings on the disks supply an independent discriminator because an off-centre tangential impulse changes their rotation.

How should two colliding carts be mass-matched?

Launch a cart at a stationary target on a horizontal track. Assume a one-dimensional elastic impact. Momentum and relative-speed reversal give \(v_2=2u_1/(1+r)\) for mass ratio \(r=m_2/m_1\). Squaring this speed alone misses the mass factor in the transferred energy.

How should two colliding carts be mass-matched?. Horizontal axis: Target / incident mass. Vertical axis: Energy fraction. Data follow the figure.
Equal masses transfer all the kinetic energy. Mass ratios 1/4 and 4 each transfer 64%, although the incident cart continues forwards in one case and rebounds in the other. A kinetic-energy measurement alone cannot tell those cases apart.
Try it · Collision

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Read values from the plot
Energy fraction at selected values of Target / incident mass.
Target / incident massTransferred to targetLeft in incident cart
0.050.181410.81859
1.29160.98380.016196
2.53330.811680.18832
3.75840.663960.33604
50.555560.44444

Download all 300 plotted samples (CSV)

Study the full derivation

Relativistic collisions, centre-of-momentum energy and thresholds · Analytical mechanics from constraints to invariants

Two particles with the same total laboratory energy can have very different energy available for changing their internal state. Determine the energy and motion of the centre-of-momentum system, reconstruct two-body elastic scattering, and follow how a detector threshold transforms between frames.