Lissajous Figures

Robert F Szalapski, PhD

www.CallMeDrRob.com

## § 1. Introduction

Lissajous figures are created by combining a periodic motion in one direction with a periodic motion in a perpendicular direction. When the periods of motion in the two directions make a simple ratio, then a closed curve results. A couple of examples are given in Figure 1.

You might notice that these figures were generated using a Matlab program with a simple Graphical User Interface. I will make this program available for free download on my website, https://www.CallMeDeRob.com. The program I created allows a user to easily explore Lissajous figures as parametrized curves. It also explores the derivative curve of a Lissajous curve which is another Lissajous curve. (The program requires that you have access to Matlab which is available in many colleges and occasionally to high schools. An individual license, either commercial or student, may be purchased, but it is not inexpensive.)

To understand this article the reader should have knowledge of graphing and periodic function, i.e. sine and cosine functions. Some of the discussion around derivative curves requires basic knowledge of differential calculus. Without significant understanding it is possible to plot these curves on a graphing calculator.

## § 2. History

I first encountered Lissajous curves when learning how to use an oscilloscope in a freshman physics laboratory at the University of Minnesota. These curves can be useful for comparing two electric signals that differ by a phase or that have a simple relationship between their frequencies. More recently, when developing the Matlab program presented here, I looked up the history of these curves. I was surprised to learn on Wikipedia that they were originally investigated by an American ship’s captain, navigator and mathematician named Nathaniel Bowditch around the year 1815. Jules Antoine Lissajous wasn’t exploring them until about forty or so years later, but Monsieur Lissajous also invented a mechanical device for projecting these curves on a screen using a light source, lenses and tuning forks. An image of this device can be found a small book called Harmonograph by Anthony Ashton. A more easily tunable device called the harmonograph, which substituted a pendulum for a tuning fork, was later invented by others.

Today it is very easy to create a device to project Lissajous curves. Mount a laser pointer to a base, and use voice coils to change the pointing direction. The voice coils can be driven by a simple signal generator, and the light can be pointed at a projection screen or even a smooth wall. These curves may even more easily be plotted by a simple program or on a graphing calculator.

## § 3. Parametric Curves

Mathematically a Lissajous figure is a parametric curve; the coordinate is given by one periodic function, and the coordinate is given by another. One can use sine or cosine functions for this parametrization with the only difference being absorbed in a phase shift. Using time as the independent variable the parametrization may be written as

The curve has been written as a coordinate pair of periodic functions where and are the amplitudes, and are the angular frequencies and is the phase shift, a constant. Angular frequency is related to ordinary frequency by

so the parametric curve may also be represented by

Since the period is the inverse of the frequency,

another representation is

The above parameterizations are important when considering, for example, the properties of electric signals. However, if we are classifying curves according to their projections on a screen we are not able to distinguish whether the curve has been retraced once per second or a thousand times per second. In this case we may simply use

where and are integers. As undergoes one cycle from to , undergoes full cycles, and undergoes full cycles.

## § 4. Examples of Lissajous Curves

### § 4.1. Point

Consider the case case and . Because ,

Because is a constant, this case reduces to a fixed point in the plane.

### § 4.2. Line Segments

When and ,

Because is a constant, this is simply a horizontal line segment.

If instead and ,

Because is a constant, this is simply a vertical line segment.

### § 4.3. Circles and Ellipses

If the amplitudes are different, the curve that results is an ellipse. Changing the phase rotates the ellipse. See Figure 3.

### § 4.4. More Complex Figures

Changing the ratio of and leads to a different number of oscillations in each the horizontal and vertical direction. Notice that we are only interested in in its reduced form. The reader can verify that multiplying both and by the same number does not lead to a figure that appears different; rather it only changes the frequency with which the figure is drawn. The two cases , and , are shown in Figure 4.

## § 5. Derivative Curves

To obtain derivative curves, differentiate each coordinate, and , with respect to the independent variable. Using the parameterization by the angle ,

which is just another Lissajous curve with different amplitudes and a phase shift. The phase shift is not all that apparent when a complete figure is viewed. Two examples are presented in Figure 5. One feature of the Graphical User Interface is the Plot Derivative check box which triggers the presentation of the derivative curve on the same plot as the original curve. There is also a Plot at Angle slider which places a dot on the curve at the point that corresponds to the specified angle, and it plots the corresponding point on the derivative curve. In other words, the dot on the derivative curve indicates the slope of the tangent line for the point indicated by a dot on the original curve. The Matlab program provided is useful for exploring the relationship between the original curve and its derivatives.

## § 6. Matlab Program

The Matlab program is called LissajousPlot and is contained in the single M-Code file LissajousPlot.m which may be downloaded below. Once it has been placed in a directory on your Matlab path, simply enter the name of the command at the prompt in your Matlab command window:

>> LissajousPlot; >>

When the Graphical User Interface appears, enter parameter values in the fields in the Controls panel. The notation is defined by the equation in the title of the plot, and the labels on the and axes are updated to reflect the curves that are currently plotted. Be sure to explore the menus Graph, Print and Help on the menu bar. There is an additional feature that is available by pressing the right mouse button while the pointer is over the point on the plot indicated with a large dot. The coordinates of that point will be displayed. Note that this is the point associated with the Plot at Angle value on the Controls panel. See Figure 6.

Because both the point and its derivative associated with the Plot at Angle value are indicated with a special dot, it is easy to obtain both the coordinate point on the Lissajous curve and the slope of the curve at that same coordinate point.

A very simple set of instructions may be revealed under the Help menu. See Figure 7.

Hopefully the Graphical User Interface is reasonably intuitive.

### Download LissajousPlot

This program has also been submitted to the Matlab Central File Exchange via the MathWorks web site.