Lissajous Figures: Frequency Ratio Patterns

April 12, 2026

Problem

Plot x = A sin(at + δ), y = B sin(bt) for various frequency ratios a:b and phase shifts δ. Show the intricate patterns that emerge.

Explanation

Lissajous figures are the curves traced by a point whose xx and yy coordinates oscillate sinusoidally at different frequencies:

x=Asin(at+δ),y=Bsin(bt)x = A\sin(at + \delta), \quad y = B\sin(bt)

When a/ba/b is a rational number p/qp/q, the curve closes after qq horizontal cycles and pp vertical cycles. When it's irrational, the curve never closes and eventually fills a rectangle densely.

Common patterns: a:b=1:1a:b = 1:1 gives an ellipse (or line/circle depending on δ\delta); 1:21:2 gives a figure-8; 2:32:3 gives a trefoil; 3:43:4 gives increasingly intricate knots.

Lissajous figures appear on oscilloscopes when comparing two AC signals, and were historically used to calibrate tuning forks.

Try it in the visualization

Adjust the a:ba:b ratio and phase δ\delta sliders. Watch the point trace the pattern. Simple ratios give clean, closed curves; complex ratios create dense, carpet-like patterns. The animation reveals how the figure builds up over time.

Interactive Visualization

Parameters

3.00
2.00
0.00
150.00
150.00
1000.00
2.00
Cyan
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Lissajous Figures: Frequency Ratio Patterns | MathSpin