Triangular billiards — irrational angles mix (3D)
About this app
A ball rolls forever on a triangular billiard table. With rational angles it is confined to finitely many directions (the direction rose of the equilateral triangle has exactly 6 spokes). If one angle is irrational, it spreads evenly over position and direction, even in pairs (weak mixing). Drag corners, presets, fast forward, occupation map. Result from the preprint catalogue github.com/openai/math (family 150).
What it is about
A billiard ball rolls without friction on a triangular table and reflects off the cushions. Does it eventually visit all positions and directions evenly? Reflections in the two sides at a corner with angle α combine into a rotation by 2α. If α is a rational multiple of π, the ball only ever takes finitely many directions. Ergodicity was known for generic polygons (Kerckhoff, Masur, Smillie 1986). An AI-generated preprint in github.com/openai/math (family 150) claims that if a triangle has at least one irrational angle, the billiard flow is ergodic and even weakly mixing. The catalogue lists ergodicity as formalised in Lean, weak mixing not yet; the preprint is not peer-reviewed.
What the app shows
The table shows the ball’s path, optionally with an occupancy map and in fast-forward. A direction rose counts the directions the ball has taken so far; for the equilateral triangle there are exactly 6. Presets include equilateral, 90°–45°–45°, 30°–60°–90° and two irrational triangles. With a second ball, a pair chart plots the directions of both at the same moment. The simulation uses floating-point numbers and cannot truly tell rational from irrational angles; it only illustrates.
Try it yourself
Start with the equilateral triangle and watch the rose stop at 6 spokes. Switch to an irrational triangle and turn on fast-forward: the rose fills in gradually and the distance to uniform distribution shrinks. Drag the corners and keep an eye on the angle display. Polygonal billiards have zero entropy; mixing comes from the geometry and happens slowly, not through exponential divergence.
Frequently asked questions
- What does ergodic mean for a billiard?
- A billiard is ergodic if a typical path, in the long run, visits every region of positions and directions in proportion to its size. Time averages along the path then equal space averages. Weak mixing is stronger: even two independently moving balls spread out evenly together.
- Why does it matter whether the angles are rational?
- Two reflections in the sides at a corner with angle α make a rotation by 2α. If α/π is rational, this rotation repeats after finitely many steps and the ball only takes finitely many directions. If α/π is irrational, the rotations are dense in the circle and no range of directions stays permanently unvisited.
- Is billiards in a triangle with an irrational angle ergodic?
- An AI-generated preprint in the catalogue github.com/openai/math (family 150) claims that the billiard flow in every triangle with at least one irrational angle is ergodic and weakly mixing. The catalogue lists ergodicity as formalised in Lean, weak mixing not yet. The preprint has not been peer-reviewed.
- What can I try out in this app?
- You reshape the table by dragging its corners or pick a preset and watch the ball’s path, its direction rose and an occupancy map. Fast-forward speeds things up. With a second ball you can check in the pair chart whether the two also spread out evenly together.
Subject: Open problems, solved by AI
More from Open problems, solved by AI
- Anderson localisation: 2D vs. 3D (3D)
- Barker sequences and circulant Hadamard matrices
- Barnette's conjecture: a round trip over every polyhedron (3D)
- Birkhoff billiards: only the ellipse has no gaps
- Cardy's formula — percolation in a random tiling
- The plane is not five-colourable (Hadwiger–Nelson)
- Double-dimer loops and CLE₄
- Triangular lattice — universal optimality
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps