A **dynamical billiard** is a dynamical system in which a particle alternates between free motion (typically as a straight line) and specular reflections from a boundary. When the particle hits the boundary it reflects from it without loss of speed (i.e. elastic collisions). Billiards are Hamiltonian idealizations of the game of billiards, but where the region contained by the boundary can have shapes other than rectangular and even be multidimensional. Dynamical billiards may also be studied on non-Euclidean geometries; indeed, the first studies of billiards established their ergodic motion on surfaces of constant negative curvature. The study of billiards which are kept out of a region, rather than being kept in a region, is known as outer billiard theory.

The motion of the particle in the billiard is a straight line, with constant energy, between reflections with the boundary (a geodesic if the Riemannian metric of the billiard table is not flat). All reflections are specular: the angle of incidence just before the collision is equal to the angle of reflection just after the collision. The sequence of reflections is described by the **billiard map** that completely characterizes the motion of the particle.

Billiards capture all the complexity of Hamiltonian systems, from integrability to chaotic motion, without the difficulties of integrating the equations of motion to determine its Poincaré map. Birkhoff showed that a billiard system with an elliptic table is integrable.

The Hamiltonian for a particle of mass *m* moving freely without friction on a surface is:

where is a potential designed to be zero inside the region in which the particle can move, and infinity otherwise:

This form of the potential guarantees a specular reflection on the boundary. The kinetic term guarantees that the particle moves in a straight line, without any change in energy. If the particle is to move on a non-Euclidean manifold, then the Hamiltonian is replaced by:

where is the metric tensor at point . Because of the very simple structure of this Hamiltonian, the equations of motion for the particle, the Hamilton–Jacobi equations, are nothing other than the geodesic equations on the manifold: the particle moves along geodesics.

Main article: Hadamard's dynamical system |

Hadamard's billiards concern the motion of a free point particle on a surface of constant negative curvature, in particular, the simplest compact Riemann surface with negative curvature, a surface of genus 2 (a two-holed donut). The model is exactly solvable, and is given by the geodesic flow on the surface. It is the earliest example of deterministic chaos ever studied, having been introduced by Jacques Hadamard in 1898.

Main article: Artin billiard |

Artin's billiard considers the free motion of a point particle on a surface of constant negative curvature, in particular, the simplest non-compact Riemann surface, a surface with one cusp. It is notable for being exactly solvable, and yet not only ergodic but also strongly mixing. It is an example of an Anosov system. This system was first studied by Emil Artin in 1924.

Let *M* be complete smooth Riemannian manifold without boundary, maximal sectional curvature of which is not greater than *K* and with the injectivity radius . Consider a collection of *n* geodesically convex subsets (walls) , , such that their boundaries are smooth submanifolds of codimension one. Let
, where denotes the interior of the set . The set will be called the billiard table.
Consider now a particle that moves inside the set *B* with unit speed along a geodesic until
it reaches one of the sets *B*_{i} (such an event is called a collision) where it reflects according to the law “the angle of incidence is equal to the angle of reflection” (if it reaches one of the sets , , the trajectory is not defined after that moment). Such dynamical system is called **semi-dispersing billiard**. If the walls are strictly convex, then the billiard is called **dispersing**. The naming is motivated by observation that a locally parallel beam of trajectories disperse after a collision with strictly convex part of a wall, but remain locally parallel after a collision with a flat section of a wall.

Dispersing boundary plays the same role for billiards as negative curvature does for geodesic flows causing the exponential instability of the dynamics. It is precisely this dispersing mechanism that gives dispersing billiards their strongest chaotic properties, as it was established by Yakov G. Sinai.^{[1]} Namely, the billiards are ergodic, mixing, Bernoulli, having a positive Kolmogorov-Sinai entropy and an exponential decay of correlations.

Chaotic properties of general semi-dispersing billiards are not understood that well, however, those of one important type of semi-dispersing billiards, **hard ball gas** were studied in some details since 1975 (see next section).

General results of Dmitri Burago and Serge Ferleger^{[2]} on the uniform estimation on the number of collisions in non-degenerate semi-dispersing billiards allow to establish finiteness of its topological entropy and no more than exponential growth of periodic trajectories.^{[3]} In contrast, *degenerate* semi-dispersing billiards may have infinite topological entropy.^{[4]}

The table of the **Lorentz gas** (also known as Sinai billiard) is a square with a disk removed from its center; the table is flat, having no curvature. The billiard arises from studying the behavior of two interacting disks bouncing inside a square, reflecting off the boundaries of the square and off each other. By eliminating the center of mass as a configuration variable, the dynamics of two interacting disks reduces to the dynamics in the Sinai billiard.

The billiard was introduced by Yakov G. Sinai as an example of an interacting Hamiltonian system that displays physical thermodynamic properties: almost all (up to a measure zero) of its possible trajectories are ergodic and it has a positive Lyapunov exponent.

Sinai's great achievement with this model was to show that the classical Boltzmann–Gibbs ensemble for an ideal gas is essentially the maximally chaotic Hadamard billiards.

The table called the **Bunimovich stadium** is a rectangle capped by semicircles, a shape called a stadium. Until it was introduced by Leonid Bunimovich, billiards with positive Lyapunov exponents were thought to need convex scatters, such as the disk in the Sinai billiard, to produce the exponential divergence of orbits. Bunimovich showed that by considering the orbits beyond the focusing point of a concave region it was possible to obtain exponential divergence.

Magnetic billiards represent billiards where a *charged* particle is propagating under the presence of a perpendicular magnetic field. As a result, the particle trajectory changes from a straight line into an arc of a circle. The radius of this circle is inversely proportional to the magnetic field strength. Such billiards have been useful in real world applications of billiards, typically modelling nanodevices (see Applications).

Generalized billiards (GB) describe a motion of a mass point (a particle) inside a closed domain with the piece-wise smooth boundary . On the boundary the velocity of point is transformed as the particle underwent the action of generalized billiard law. GB were introduced by Lev D. Pustyl'nikov in the general case,^{[5]} and, in the case when is a parallelepiped^{[6]} in connection with the justification of the second law of thermodynamics. From the physical point of view, GB describe a gas consisting of finitely many particles moving in a vessel, while the walls of the vessel heat up or cool down. The essence of the generalization is the following. As the particle hits the boundary , its velocity transforms with the help of a given function , defined on the direct product (where is the real line, is a point of the boundary and is time), according to the following law. Suppose that the trajectory of the particle, which moves with the velocity , intersects at the point at time . Then at time the particle acquires the velocity , as if it underwent an elastic push from the infinitely-heavy plane , which is tangent to at the point , and at time moves along the normal to at with the velocity . We emphasize that the *position* of the boundary itself is fixed, while its action upon the particle is defined through the function .

We take the positive direction of motion of the plane to be towards the *interior* of . Thus if the derivative , then the particle accelerates after the impact.

If the velocity , acquired by the particle as the result of the above reflection law, is directed to the interior of the domain , then the particle will leave the boundary and continue moving in until the next collision with . If the velocity is directed towards the outside of , then the particle remains on at the point until at some time the interaction with the boundary will force the particle to leave it.

If the function does not depend on time ; i.e., , the generalized billiard coincides with the classical one.

This generalized reflection law is very natural. First, it reflects an obvious fact that the walls of the vessel with gas are motionless. Second the action of the wall on the particle is still the classical elastic push. In the essence, we consider infinitesimally moving boundaries with given velocities.

It is considered the reflection from the boundary both in the framework of classical mechanics (Newtonian case) and the theory of relativity (relativistic case).

Main results: in the Newtonian case the energy of particle is bounded, the Gibbs entropy is a constant,^{[6]}^{[7]}^{[8]} (in Notes) and in relativistic case the energy of particle, the Gibbs entropy, the entropy with respect to the phase volume grow to infinity,^{[6]}^{[8]} (in Notes), references to generalized billiards.

The quantum version of the billiards is readily studied in several ways. The classical Hamiltonian for the billiards, given above, is replaced by the stationary-state Schrödinger equation or, more precisely,

where is the Laplacian. The potential that is infinite outside the region but zero inside it translates to the Dirichlet boundary conditions:

As usual, the wavefunctions are taken to be orthonormal:

Curiously, the free-field Schrödinger equation is the same as the Helmholtz equation,

with

This implies that two and three-dimensional quantum billiards can be modelled by the classical resonance modes of a radar cavity of a given shape, thus opening a door to experimental verification. (The study of radar cavity modes must be limited to the transverse magnetic (TM) modes, as these are the ones obeying the Dirichlet boundary conditions).

The semi-classical limit corresponds to which can be seen to be equivalent to , the mass increasing so that it behaves classically.

As a general statement, one may say that whenever the classical equations of motion are integrable (e.g. rectangular or circular billiard tables), then the quantum-mechanical version of the billiards is completely solvable. When the classical system is chaotic, then the quantum system is generally not exactly solvable, and presents numerous difficulties in its quantization and evaluation. The general study of chaotic quantum systems is known as quantum chaos.

A particularly striking example of scarring on an elliptical table is given by the observation of the so-called quantum mirage.

Billiards, both quantum and classical, have been applied in several areas of physics to model quite diverse real world systems. Examples include ray-optics,^{[9]} lasers,^{[10]}^{[11]} acoustics,^{[12]} optical fibers (e.g. double-clad fibers ^{[13]}^{[14]}), or quantum-classical correspondence.^{[15]} One of their most frequent application is to model particles moving inside nanodevices, for example quantum dots,^{[16]}^{[17]} pn-junctions,^{[18]} antidot superlattices,^{[19]}^{[20]} among others. The reason for this broadly spread effectiveness of billiards as physical models resides on the fact that in situations with small amount of disorder or noise, the movement of e.g. particles like electrons, or light rays, is very much similar to the movement of the point-particles in billiards. In addition, the energy conserving nature of the particle collisions is a direct reflection of the energy conservation of Hamiltonian mechanics.

Open source software to simulate billiards exist for various programming languages. From most recent to oldest, existing software are: DynamicalBilliards.jl (Julia), Bill2D (C++) and Billiard Simulator (Matlab). The animations present on this page were done with DynamicalBilliards.jl.