Barn-Pole Paradox
Interactive Barn-Pole Paradox simulator with Lorentz contraction visualization, dual reference frames, and spacetime diagrams.
About
The barn-pole paradox is a standard thought experiment in special relativity that exposes the failure of absolute simultaneity. A pole of rest length Lpole moves at relativistic velocity v through a barn of rest length Lbarn. In the barn frame, Lorentz contraction shortens the pole to Lpole × √1 − β2, so it fits inside. In the pole frame, the barn contracts instead, so the pole never fits. The resolution lies in relativity of simultaneity: the two door-closing events that are simultaneous in one frame are not simultaneous in the other. Incorrect resolution of this paradox in engineering contexts involving relativistic particle beams or synchrotron timing can propagate systematic measurement errors.
This simulator calculates contracted lengths, the Lorentz factor γ, and simultaneity offsets for both frames. It renders a real-time animation of the pole traversing the barn and a Minkowski spacetime diagram showing worldlines of the barn doors and pole endpoints. The tool assumes flat Minkowski spacetime with no gravitational effects. Results diverge from reality at β > 0.99999 due to floating-point precision limits.
Formulas
The Lorentz factor governs all relativistic effects in this scenario:
where β = vc is the velocity as a fraction of the speed of light c = 299,792,458 m/s.
Length contraction in the direction of motion:
Relativity of simultaneity. Two events separated by spatial distance Δx that are simultaneous (Δt = 0) in the barn frame have a time difference in the pole frame:
where L0 = rest length of the object, L = contracted length observed from the other frame, Δx = spatial separation of the two door-closing events (equal to barn rest length Lbarn), and Δt′ = time difference between door closings as measured in the pole frame. A negative value means the far door closes before the near door in the pole frame.
Reference Data
| β (v/c) | γ (Lorentz Factor) | Contraction Ratio 1/γ | 10m pole contracted | Time dilation factor | Simultaneity offset per 10m |
|---|---|---|---|---|---|
| 0.10 | 1.005 | 0.995 | 9.95m | 1.005× | 3.34ns |
| 0.20 | 1.021 | 0.980 | 9.80m | 1.021× | 6.67ns |
| 0.30 | 1.048 | 0.954 | 9.54m | 1.048× | 10.0ns |
| 0.40 | 1.091 | 0.917 | 9.17m | 1.091× | 13.3ns |
| 0.50 | 1.155 | 0.866 | 8.66m | 1.155× | 16.7ns |
| 0.60 | 1.250 | 0.800 | 8.00m | 1.250× | 20.0ns |
| 0.70 | 1.400 | 0.714 | 7.14m | 1.400× | 23.3ns |
| 0.80 | 1.667 | 0.600 | 6.00m | 1.667× | 26.7ns |
| 0.85 | 1.898 | 0.527 | 5.27m | 1.898× | 28.3ns |
| 0.90 | 2.294 | 0.436 | 4.36m | 2.294× | 30.0ns |
| 0.92 | 2.552 | 0.392 | 3.92m | 2.552× | 30.7ns |
| 0.95 | 3.203 | 0.312 | 3.12m | 3.203× | 31.7ns |
| 0.97 | 4.113 | 0.243 | 2.43m | 4.113× | 32.3ns |
| 0.99 | 7.089 | 0.141 | 1.41m | 7.089× | 33.0ns |
| 0.999 | 22.37 | 0.0447 | 0.447m | 22.37× | 33.3ns |
| 0.9999 | 70.71 | 0.0141 | 0.141m | 70.71× | 33.33ns |