Mathematics (Apr 2020)
The Dynamics of Digits: Calculating Pi with Galperin’s Billiards
Abstract
In Galperin billiards, two balls colliding with a hard wall form an analog calculator for the digits of the number π . This classical, one-dimensional three-body system (counting the hard wall) calculates the digits of π in a base determined by the ratio of the masses of the two particles. This base can be any integer, but it can also be an irrational number, or even the base can be π itself. This article reviews previous results for Galperin billiards and then pushes these results farther. We provide a complete explicit solution for the balls’ positions and velocities as a function of the collision number and time. We demonstrate that Galperin billiard can be mapped onto a two-particle Calogero-type model. We identify a second dynamical invariant for any mass ratio that provides integrability for the system, and for a sequence of specific mass ratios we identify a third dynamical invariant that establishes superintegrability. Integrability allows us to derive some new exact results for trajectories, and we apply these solutions to analyze the systematic errors that occur in calculating the digits of π with Galperin billiards, including curious cases with irrational number bases.
Keywords