Skip to content
DevonAkins.com
Menu

Christmas ’93 ArcadeCentral Florida

Display settings

Mathematics / Writing

How two sine waves draw a curve

What makes a Lissajous curve close, and what changes when you adjust the frequency ratio.

Start with two coordinates

Pick a time t. Calculate x = sin(at) and y = sin(bt + π/2). Plot that pair as a point. Now let t run from 0 to 2π. The horizontal coordinate completes a cycles while the vertical coordinate completes b. The π/2 phase shift makes the vertical coordinate start at its maximum.

Find the repeat

If a and b are positive integers, both sines return to their starting phase at t = 2π. More precisely, let g be the greatest common divisor of a and b. The common period is 2π/g because a/g and b/g are integers with no common factor. The pairs (2, 3) and (4, 6) trace the same locus on this interval, with the second pair tracing it twice.

Try the simplest case

With a = b = 1, y = cos(t), so x² + y² = 1. The curve is a circle before drawing scales are applied. The browser plot uses independent horizontal and vertical scales, so that case looks like an ellipse on screen. Hold a at 1 and increase b to see the vertical coordinate oscillate more often.

Read the plot at the right level

The sketch connects 301 sampled points with line segments. The sine functions define a continuous curve. The polyline approximates that curve and its display scaling makes the geometry fit the plot. The inputs are mathematical parameters. The plot contains no recorded signal or experimental measurement.