🗺️ Anosov Map — Arnold Cat Map & Hyperbolic Chaos

The Arnold cat map is the canonical example of an Anosov diffeomorphism — a hyperbolic area-preserving map on the torus: (x′, y′) = (x + y, x + 2y) mod 1. Every point is a hyperbolic fixed/periodic point: nearby trajectories diverge exponentially along the unstable manifold and converge equally fast along the stable manifold. Place any image on the torus: each step mixes it towards apparent randomness. But because the map is invertible and the torus has finitely many integer lattice points, any image returns exactly to its original state after a finite period (usually 1–200 steps for N≤256).

🇺🇦 Українська
Original
Step 0
Stable (blue) & unstable (red) manifold directions

Image source

Map parameters

Animate

Stats

Step0
Period estimate
Lyapunov λ
Mixing entropy
Arnold cat map:
[x′; y′] = [[1,1];[1,2]]·[x;y] mod 1

General Anosov:
[x′; y′] = [[1,p];[q,pq+1]]·[x;y] mod 1

Eigenvalues:
λ = ½(tr ± √(tr²−4))
ln(λ₊) = Lyapunov exp.

Hyperbolic Dynamics & the Horseshoe

An Anosov diffeomorphism is hyperbolic everywhere — the tangent space at every point splits into stable (contracting) and unstable (expanding) subspaces. This makes the dynamics structurally stable: small perturbations do not change the qualitative character. The Arnold cat map is closely related to Smale's horseshoe map, which is the archetype of hyperbolic chaos. The fact that a chaotic map can be exactly reversed (quantum recurrence) makes it a valuable model in quantum information: it has been used to demonstrate quantum chaos and decoherence on quantum computers (Georgeot & Shepelyansky, 2001).

About Anosov Map — Arnold's Cat

Arnold's cat map is a chaotic, area-preserving transformation of the unit torus defined by (x, y) → (x + y, x + 2y) mod 1, first studied by Vladimir Arnold using a cat face to illustrate the rapid scrambling of information. The map is a classic example of an Anosov diffeomorphism: it has a positive Lyapunov exponent of ln(φ²) ≈ 0.962 (where φ is the golden ratio), meaning nearby points separate exponentially at each step. Despite this chaotic stretching and folding, the transformation is perfectly reversible and, when applied to an image with finite pixel resolution, it must eventually return the image to its starting state — a property called recurrence.

You can load any image (or use the default cat face), step through iterations one at a time or play them automatically, and observe how the image scrambles into what looks like noise before miraculously reassembling at the period N. For a 64×64-pixel image the period is 48 steps; for 256×256 it is 192 steps.

Frequently Asked Questions

Why does the image eventually reconstruct itself?

Because pixel coordinates are integers on a finite grid, the transformation is effectively a permutation of a finite set of points. Any permutation of a finite set must eventually cycle back to the identity after some number of applications — this is guaranteed by the pigeonhole principle. The period depends on the image resolution; for an n×n grid it always divides 3n if n is a power of 2.

What makes this map chaotic?

Chaos requires sensitive dependence on initial conditions: two points arbitrarily close together must diverge exponentially under iteration. The cat map achieves this because its Jacobian matrix has eigenvalues (3±√5)/2, both real and away from the unit circle — meaning every direction in the torus experiences exponential stretching or contraction. Combined with the modular folding, this produces the hallmarks of chaos: mixing, ergodicity, and a positive Lyapunov exponent.

What is an Anosov diffeomorphism?

An Anosov diffeomorphism is a smooth map on a compact manifold where the tangent bundle splits everywhere into stable and unstable subspaces, each invariant under the map, with contraction along the stable direction and expansion along the unstable direction. This splitting is uniform (the rates do not vary with position), making Anosov systems the "gold standard" of hyperbolic chaos. The cat map is the simplest example, defined on the 2-torus.

What is the Lyapunov exponent of the cat map?

The largest Lyapunov exponent is λ = ln((3 + √5)/2) ≈ 0.962 nats per iteration, or equivalently ln(φ²) where φ = (1+√5)/2 is the golden ratio. This means that the distance between two initially nearby points grows by a factor of e≈2.6 with each application of the map on the continuous torus (before folding). In practice, after a few dozen steps on a coarse pixel grid, the scrambling is visually complete.

Is the cat map really area-preserving?

Yes — the Jacobian matrix [[1,1],[1,2]] has determinant 1×2 − 1×1 = 1, so it preserves area (and volume in higher dimensions). This makes it a symplectic map, which is important in Hamiltonian mechanics and is also why no information is lost: every pixel in the scrambled image corresponds to exactly one pixel in the original.

How does the period depend on image size?

The period (also called the Poincaré recurrence time) for an n×n pixel image varies in a complex, number-theoretic way. For n=2 it is 3, for n=3 it is 4, for n=12 it is 12, and for n=256 it is 192. There is no simple closed form, but the period is always finite and divides certain arithmetic functions of n. Larger images generally take longer to recur but not monotonically.

Can the cat map be generalised to higher dimensions?

Yes. The 2D cat map can be extended to 3D and higher by choosing integer matrices with determinant ±1 and all eigenvalues off the unit circle. Such maps are used in multi-dimensional hyperbolic geometry research and in cryptography, where the mixing property is exploited to scramble data. A 3D version operates on the 3-torus and can scramble volumetric data like voxel grids.

What applications does the cat map have outside of mathematics?

The cat map's rapid mixing has been applied in image encryption: scrambling pixel positions using a few iterations produces a visually unintelligible image, and the key is simply the iteration count and the inverse map. It has also been used as a benchmark test for quantum chaos — the quantum cat map quantises to a unitary matrix whose eigenvalue statistics obey random matrix theory — and for generating pseudo-random permutations in computer science.

What is the connection to the Fibonacci sequence?

The eigenvalues of the cat map matrix are the squares of the golden ratio: φ² = (3+√5)/2 ≈ 2.618 and 1/φ² ≈ 0.382. The Fibonacci numbers appear explicitly in the matrix powers: the (1,2) entry of the matrix raised to the k-th power equals the k-th Fibonacci number. This deep connection arises because the golden ratio is the limiting ratio of successive Fibonacci terms.

Why is it called the "cat map"?

Vladimir Arnold introduced the map in his 1968 textbook on ergodic theory using a cartoon of a cat's face to demonstrate how a recognisable image is destroyed and then reconstructed. The choice was pedagogically vivid — the cat's eyes and whiskers are clearly visible after zero iterations, become completely disordered after a few steps, then return unmistakably after the full period. The name "Arnold's cat map" has stuck in the mathematical literature ever since.