Definition
A Lissajous curve is the parametric curve
for frequencies , amplitudes , and phases .
Intuition
Two pendulums swinging at slightly different rates, viewed from above, trace exactly this kind of curve — sometimes a simple closed loop, sometimes an intricate woven pattern, depending on the ratio of their frequencies.
Properties
- Closed iff the frequency ratio is rational. If in lowest terms, the curve is periodic in with period (equivalently ) and closes into a curve with -fold or -fold symmetry (see 1D continuum manifold Exercise 3 for the derivation of the shared period from two individual periods).
- Dense, non-closing if the frequency ratio is irrational. By Weyl equidistribution (see 1D continuum manifold Exercise 5), the trajectory never exactly repeats and is dense in the rectangle .
- ratio gives an ellipse (a circle if and ). This is the simplest, fundamental-mode case — see Circle.
- Every pair of coordinates of a translation-symmetric eigenmode expansion is a Lissajous curve. If an embedding takes the form — the general form of eigenmodes of a translation-symmetric (Toeplitz/circulant) kernel — then any pair of its coordinates is, by construction, a Lissajous curve with frequency ratio for whichever two modes are selected.
- Symmetry under phase shift. Changing while keeping fixed rotates/reflects the curve’s pattern but preserves whether it is closed (rational ratio) or dense (irrational ratio) — phase does not affect the topological character, only the specific shape.
Key evidence
Zhou, Fu, Sharan & Jia (2024) show a fine-tuned GPT-2-XL solves addition using a sparse superposition of Fourier components (periods ~2, 2.5, 5, 10) in the residual stream — MLP layers concentrating low-frequency magnitude-approximating components, attention layers concentrating high-frequency modular-classification components — and confirm the causal role of each frequency band by low-pass/high-pass ablation, which produces the frequency-predicted error signature (off-by-10s for low-frequency removal, small errors for high-frequency removal). The same Fourier periods recur in the model’s own pre-trained token embeddings, and a model trained from scratch (no pre-training) shows no such structure and lower accuracy. See gpt-2-xl-mlp-attention-fourier-features-approximate-and-classify-addition.
Štefánik, Mickus, Kadlčík et al. (2025) extend Kadlčík et al.’s (2025) single-model sinusoidal-probe finding (above) into an explicit cross-model universality claim: seven independently pre-trained LLMs (OLMo 2 1B/7B/13B, Llama 3.2 1B/3B, Llama 3 8B, Phi-4 15B) show the same sinusoidal number geometry by two independent measures — Representational Similarity Analysis and exact overlap (IoU) of the top Fourier frequencies dominating each model’s number embeddings — and the same sinusoidal probe decodes numbers from natural-language contexts (arithmetic word problems, dates, medical codes, recipe quantities) at 70-90%+ accuracy. A causal layer-ablation intervention, removing the specific layers where numerical errors concentrate, reduces division errors by 27-64% and multiplication errors by up to 26%. See cross-model-rsa-fourier-iou-confirms-universal-sinusoidal-number-geometry-and-causal-layer-ablation-fixes-multiplication-division-errors.
Rangamani (2025) shows the same multi-frequency Fourier circuit found in transformers trained on modular addition (Nanda et al. 2023; Zhou et al. 2024, above) also emerges in a recurrent architecture: a single-layer tanh RNN (hidden size 256) trained from scratch on addition mod 113 develops low-rank weight matrices (rank 12-32 out of much higher ambient dimension, capturing 85-95% of each matrix’s energy) whose singular vectors pair up around 6 dominant frequencies. Sequential ablation of these frequencies — removing them one at a time — degrades accuracy monotonically from near-ceiling to chance once all six are removed, while any single frequency alone is dispensable. See a-1-layer-tanh-rnn-solving-modular-addition-mod-113-develops-rank-12-32-weight-matrices-whose-singular-vectors-pair-into-6-dominant-fourier-frequencies-and-sequential-frequency-ablation-collapses-accuracy-to-chance.
Exercises
Base
- Write the Lissajous parametrisation for , , . What shape results?
Solution
— the unit circle, parametrised by .
- For frequency ratio (so ), is the resulting curve closed? What is its period in ?
Solution
Yes, closed, since is rational. has period ; has period . The combined curve repeats at the least common multiple, (since is already a whole multiple — two periods — of ).
Middle
- Show that a Lissajous curve with , , and phase difference (rather than ) degenerates to a line segment rather than an ellipse.
Solution
With and : , — so identically for all . The “curve” is the line segment , a degenerate (zero-area) Lissajous figure. This is the boundary case between the two families of ellipses traced out as varies from (degenerate line) to (circle/ellipse, maximal area) and back to (degenerate line again, opposite diagonal).
- For frequency ratio in lowest terms (i.e. ), the closed curve is often described as having “-fold” symmetry along one axis. Explain, by counting zero-crossings, why completes full oscillations while completes full oscillations over one full period of the combined curve.
Solution
From the period analysis (as in 1D continuum manifold Exercise 3, generalized): the combined period is (using , so , confirming both expressions for agree). Over this period, (with angular frequency ) completes full cycles, and (angular frequency ) completes full cycles. So oscillates times and oscillates times per shared period — the source of the “-by-” lobe/symmetry count in the classic Lissajous figures.
Pro
- Prove that if (a 4D embedding, two “modes”) and is irrational, then the pair of coordinates is dense in , but the full 4D trajectory does not densely fill a 4-dimensional region — explain what lower-dimensional set it’s confined to and why.
Solution
The 2D projection’s density follows directly from Weyl equidistribution applied to (as in 1D continuum manifold Exercise 5). But the full 4D trajectory is confined to the product of two circles of radii — i.e. a genuine 2-dimensional torus embedded in (each pair always satisfies , and likewise for the second pair) — not a dense subset of the full 4-dimensional ambient space. Density (from irrational frequency ratio) and dimension-of-the-confining-set (from the sinusoidal functional form itself) are two separate facts: irrationality makes the trajectory dense within the 2-torus it’s confined to, but does not let it escape that 2-dimensional confining surface. This is the same distinction as in Torus Exercise 4: the shape of the occupied set (, from the functional form) is a different question from whether a given trajectory fills that shape (density, from the frequency ratio).
- Two Lissajous curves have the same frequency ratio but different amplitude ratios . Are the two curves similar (related by a uniform scaling), congruent (related by an isometry), or neither in general? Justify with an example.
Solution
Neither, in general. Example: curve 1 has ; curve 2 has . Both trace closed curves with the same -by- lobe topology (from Exercise 4, since the ratio is shared), but curve 2 is stretched by a factor of along the -axis relative to curve 1 — a non-uniform (anisotropic) scaling. A uniform scaling (similarity) would require scaling both axes by the same factor, which does not turn curve 1 into curve 2 unless also matches. So matching frequency ratio guarantees the same topological lobe pattern, but not the same shape up to similarity or congruence — amplitude ratio is an independent parameter controlling the aspect ratio of the bounding rectangle.