On this page
Trap a ball between two walls and make one wall jiggle back and forth at random. Each bounce off the jiggling wall can speed the ball up or slow it down, and you might expect the two to cancel. They don't. On average the ball gains energy at every bounce, and Class 11 elastic collisions plus one weighted average give the size of the gain. This toy model is called Fermi acceleration.
A note on the name: it honours the physicist Enrico Fermi, who proposed the idea in 1949. It has no connection with Fermi, the company that publishes this site.
Problem idea: International Zhautykov Olympiad (IZhO) 2023, theory problem 2. The explanation and all numbers below are our own.
What happens when a ball hits a moving wall?
Take a heavy wall moving at speed V and a light ball arriving at speed u, with the bounce perfectly elastic. Work in the wall's frame, where an elastic bounce simply reverses the relative velocity, then come back to the ground frame. Our post on the speed of a ball after an elastic collision with a moving wall works this step by step. The two results are:
Wall coming towards the ball (head-on): the ball leaves at u + 2V.
Wall moving away from the ball (tail-chase): the ball leaves at u − 2V.
If the wall closes in steadily, every bounce is head-on and the ball keeps speeding up, as in a ping-pong ball rattling under a lowered bat. The interesting case is a wall that moves back and forth, so that half the time it approaches and half the time it recedes.
Why are head-on hits more frequent than tail-chase hits?
If the wall spends equal time moving each way and the ball arrives at a random moment, you might think half the bounces are head-on. They are not, for the same reason you notice on a highway.
Say you drive at 60 km/h. In the next lane, cars travel at 80 km/h in your direction, 10 cars per kilometre. Over there, an identical lane carries cars at 80 km/h the opposite way, also 10 per kilometre.
Cars overtaking you: they gain on you at 80 − 60 = 20 km/h, so in one hour you meet 20 × 10 = 200 cars, about 3.3 per minute.
Oncoming cars: they close on you at 80 + 60 = 140 km/h, so you meet 140 × 10 = 1,400 cars an hour, about 23.3 per minute.
Same density, same speed, but seven times as many meetings with oncoming traffic. The meeting rate is proportional to the closing speed.
For the ball, the closing speed is u + V when the wall approaches and u − V when it recedes. So, for equal times spent moving each way, the fractions of bounces are:
head-on: (u + V)/2u
tail-chase: (u − V)/2u
How much energy does the ball gain on average?
Kinetic energy goes as speed squared, so average v² after one bounce, using those weights:
⟨v²⟩ = [(u + V)(u + 2V)² + (u − V)(u − 2V)²] / 2u
Expand the brackets:
(u + V)(u + 2V)² = u³ + 5u²V + 8uV² + 4V³
(u − V)(u − 2V)² = u³ − 5u²V + 8uV² − 4V³
The odd terms cancel. The sum is 2u³ + 16uV², and dividing by 2u gives
⟨v²⟩ = u² + 8V², so ⟨E⟩/E₀ = 1 + 8V²/u².
If head-on and tail-chase hits were equally likely, you would get only u² + 4V². Half of the average gain comes from the speed change itself, because (u + 2V)² rises more than (u − 2V)² falls. The other half comes from the bias in how often each kind of bounce happens.
Notice that the gain in v² per bounce, 8V², does not depend on u. In energy terms, the ball gains on average ½m × 8V² = 4mV² per bounce on the moving wall, however fast it is already going.
Worked example: a ball at 10 m/s and a wall at 1 m/s
Take u = 10 m/s and a wall that moves back and forth at a constant 1 m/s, spending equal time each way, with the ball arriving at a random moment.
Speeds after one bounce: head-on 10 + 2 = 12 m/s; tail-chase 10 − 2 = 8 m/s.
Weights: head-on (10 + 1)/20 = 0.55; tail-chase (10 − 1)/20 = 0.45.
Average v²: 0.55 × 144 + 0.45 × 64 = 79.2 + 28.8 = 108 m²/s².
Ratio: 108/100 = 1.08, matching 1 + 8 × 1²/10² = 1.08. Equal weights would give (144 + 64)/2 = 104, a ratio of only 1.04.
A python simulation of a wall moving back and forth in a triangle pattern, with 200,000 balls arriving at random moments, gave a head-on fraction of 0.549 and an average ratio of 1.079.
Now let the ball bounce many times, with each meeting at a random point in the wall's motion. Since each bounce adds 8V² on average, after N bounces ⟨v²⟩ ≈ u² + 8NV². After 100 bounces: 100 + 800 = 900 m²/s², an rms speed of about 30 m/s, three times the start. A simulation of 20,000 balls gave 902 m²/s². Individual bounces still lose energy 45% of the time; only the average rises.
Two limits matter. The formula assumes the ball is several times faster than the wall (here 10 times), so each meeting is one clean bounce. And the randomness matters: a wall moving in a perfectly regular rhythm can lock the ball into a pattern where the bounces do not average out this way.
How is this linked to cosmic rays?
Cosmic rays are charged particles reaching Earth with very high energies; the story of their discovery is in our post on Victor Hess and his balloon flights. In his 1949 paper "On the Origin of the Cosmic Radiation", Enrico Fermi suggested that particles gain energy by bouncing off moving magnetised gas clouds in space. Like our wall, the clouds move randomly. Head-on encounters are a little more frequent, so on average the particles gain energy.
Treat our version as a toy model. Real cosmic-ray particles move close to the speed of light, and astrophysicists now think much of the acceleration happens at shock waves, such as those from exploding stars, in a more efficient first-order version. The gain in our model goes as (V/u)², which is why it is called second-order Fermi acceleration.
To practise more relative-velocity and collision problems, the Fermi Problem Library has a step-by-step solver that explains the reasoning. For a full plan, Fermi Test Prep offers personalised preparation for JEE Main & Advanced with an AI tutor, live classes, adaptive mocks, mentorship and a study plan that updates based on mastery.
Quick checklist
One elastic bounce off a heavy wall: u + 2V head-on, u − 2V tail-chase.
Meeting rates are proportional to closing speed: (u + V) against (u − V).
Weighted average: ⟨v²⟩ = u² + 8V², so ⟨E⟩/E₀ = 1 + 8V²/u².
Equal weights give only 4V²: half the gain comes from the bias.
Valid when u is several times V and the wall's motion is random.
The name honours Enrico Fermi; it is a toy model of how cosmic rays gain energy.



