MakarovSuites
English
EnglishDeutschРусскийУкраїнськаFrançaisEspañolItalianoPolski
Contact & licences

Math

Mathematical billiards

A point bouncing inside a wall with equal angles, for ever. Inside a circle the angle never changes: the path avoids a smaller circle it can never enter, and a rational rotation closes into a polygon. Inside a stadium - two half-circles joined by straight walls - nothing is conserved but the speed, and two paths a billionth of a degree apart are a table's width apart after twenty bounces. The panel measures that: the separation is fitted against an exponential AND against a straight line, and which one fits is the answer.

Mathematical billiards — Actual application image
Actual application image

What happens

A point inside a closed wall, bouncing for ever with equal angles and no loss of speed - everything that follows comes from the shape of the wall. In a circle the angle to the wall is conserved, so the path stays outside a smaller circle, the caustic, and closes into a polygon when the rotation is a rational fraction of a turn. In an ellipse a different quantity is conserved, and a ball through one focus passes through the other for ever. Cut the circle in half and pull the halves apart - Bunimovich's stadium - and two paths a billionth apart separate by a factor of e every bounce. Try the three walls, watch the caustic, then read the separation the panel measures.

Equations used in the module
Equations
v' = v − 2(v·n)n,  |v| conserved
circle: angle to the wall constant, caustic radius R cos α
ellipse: J = v_x²/a² + v_y² − (x v_y − y v_x)²/a² conserved
stadium: separation of two paths ~ e^{λn}, λ ≈ 1.0 per bounce

Related experiments

Back to catalogue
Why a computed trajectory lies — Actual application image

Math

Why a computed trajectory lies

A computer cannot follow a trajectory; it can only take steps. Halving the step divides the error by two, four or sixteen depending on the method - until so many steps accumulate round-off that a smaller step makes the answer WORSE. On an orbit the most accurate method of the four still loses energy in a straight line while a less accurate one merely wobbles for ever, because accuracy and respect for an invariant are different virtues. And in a chaotic system the path is doomed whatever the method: what survives is the attractor, not the trajectory.

Length and area are not what a shape looks like — Actual application image

Math

Length and area are not what a shape looks like

An approximation can hug a curve as closely as you please and still have the wrong length: a staircase converging to a diagonal is 41 % too long at every refinement, for ever. One dimension up it is worse. Schwarz's lantern has every vertex on a cylinder and triangles as small as you like, and its total area tends to the true 2π, or to five times that, or to infinity - depending only on how its two refinements race each other. What decides is not the size of the pieces but their tilt, and the panel measures it.

The precision race — Actual application image

Math

The precision race

Accuracy is bought with work, and the exchange rate is not a property of the method. Four rules integrate the same function and the currency is how many times the function is read: the race is run on a chart of error against evaluations with a tolerance line you set, after you predict the winner. On a smooth function Gauss reaches machine precision in eight readings where the trapezoid rule needs sixty-five thousand; put one kink in the function and every high-order rule collapses to the same crawl. And past ten million terms the additions themselves lose six digits.