# General Mechanics/Coupled Oscillators

We often encounter systems which contain multiple harmonic oscillators, such as this:

two identical masses, *m*, the first attached to a wall by a spring with constant *k*, and the second attached to the first by another, identical spring.

If the springs weren't linked they'd both vibrate at the same frequency, ω=√(*k*/*m*). Linking the springs changes this.

To find out how the linked system behaves, we will start with the Lagrangian, using the displacements of the masses, *x*_{1} and *x*_{2}, as our coordinates.

A moment's inspection of the system shows

so, using ω²=*k*/*m*,

The equations of motion immediately follow.

To solve these equations we try a solution in trig functions

Substituting this into (1) gives

We would get the same equations from any trig function solution of the same frequency.

Gathering the coefficients of *A*_{1} and *A*_{2} together lets rewrite the last equation as

We can only solve this equation if the determinant of the matrix is zero.

The solutions are

so the combined system has two natural frequencies, one lower and one higher than the natural frequency of the individual springs. This is typical.

We can also calculate the ratio of *A*_{1} and *A*_{2} from (2). Dividing by *A*_{2} gives

- For the lower frequency, Ω
_{-}, which is less than ω, the ratio is positive, so the two masses move in the same direction with different amplitudes. They are said to be*in phase*.

- For the higher frequency, Ω
_{+}, which is more than ω, the ratio is negative, so the two masses move in the opposite direction with different amplitudes. They are said to be*in antiphase*.

This behaviour is typical when pairs of harmonic oscillators are coupled.

The same approach can also be used for systems with more than two particles.