  ## Encyclopedia > Harmonic oscillator

Article Content

# Harmonic oscillator

A harmonic oscillator is any physical system that varies above and below its mean value with a characteristic frequency, f. Common examples of harmonic oscillators include pendulums, masses on springs, and RLC circuits.

The following article discusses the harmonic oscillator in terms of classical mechanics. See the article quantum harmonic oscillator for a discussion of the harmonic oscillator in quantum mechanics.

Most harmonic oscillators, at least approximately, solve the differential equation:

d2x/dt2 - b dx/dt + (ωo)2x = Aocos(ωt)

where t is time, b is the damping constant, ωo is the characteristic angular frequency, and Aocos(ωt) represents something driving the system with amplitude Ao and angular frequency ω. x is the measurement that is oscillating; it can be position, current, or nearly anything else. The angular frequency is related to the frequency, f, by:

f = ω/(2π)

### Simple Harmonic Oscillator

A simple harmonic oscillator is simply an oscillator that is neither damped nor driven. So the equation to describe one is:

d2x/dt2 + (ωo)2x = 0

The above never actually exists, since there will always be friction or some other resistance, but two approximate examples are a mass on a spring and an LC circuit.

In the case of a mass hanging on a spring, Newton's Laws, combined with Hooke's law for the behavior of a spring, states that:

-ky = ma

where k is the spring constant, m is the mass, y is the position of the mass, and a is its acceleration. Rewriting the equation, we obtain:

d2y/dt2 = -(k/m) y

The easiest way to solve the above equation is to recognize that when d2z/dt2 ∝ -z, z is some form of sine. So we try the solution:

y = A cos(ωt + δ)

d2y/dt2 = -Aω2cos(ωt + δ)

where A is the amplitude, δ is the phase shift, and ω is the angular frequency. Substituting, we have:

-Aω2cos(ωt + δ) = -(k/m) A cos(ωt + δ)

and thus (dividing both sides by -A cos(ωt + δ)):

ω = √(k/m)

The above formula reveals that the angular frequency of the solution is only dependent upon the physical characteristics of the system, and not the initial conditions (those are represented by A and δ). That means that what was labelled ω is in fact ωo. This will become important later.

### Driven Harmonic Oscillator

Satisfies equation:

d2x/dt2 + (ωo)2x = Aocos(ωt)

Good example:

AC LC circuit.

a few notes about what the response of the circuit to different AC frequencies.

### Damped Harmonic Oscillator

Satisfies equation:

d2x/dt2 - b dx/dt + (ωo)2x = 0

good example:

weighted spring underwater

Note well: underdamped, critically damped

### Damped, Driven Harmonic Oscillator

equation:

d2x/dt2 - b dx/dt + (ωo)2x = Aocos(ωt)

example:

Notes for above apply, transient vs steady state response, and quality factor.

For a more complete description of how to solve the above equation, see the article on Differential equations.

All Wikipedia text is available under the terms of the GNU Free Documentation License

Search Encyclopedia
 Search over one million articles, find something about almost anything!

Featured Article
 KANU ... 14, Moi became President formally after he was elected head of KANU and designated its sole nominee. In June 1982, the National Assembly amended the constitution, ...  