Harmonic Oscillator §
The harmonic oscillator is the simplest system that oscillates: a mass on a linear spring, or any system whose restoring force is proportional to displacement. It is the baseline model from which all other oscillatory behavior is built. It is relevant to clocks, molecular vibrations, LC circuits, and as the local approximation near any stable equilibrium. See Oscillations and Waves for the broader context and categorization.
The harmonic oscillator is the reference point for every other oscillation type: adding dissipation gives Damped oscillations, adding an external force gives Driven oscillations, and nonlinear restoring forces give Nonlinear oscillations.
Authoritative sources
Equation of motion §
General solution: , where , , .
Complex exponential form. The solution is equivalently , or . This form is used in coupled oscillations, wave propagation, and Fourier analysis.
Amplitude and phase from initial conditions. Given and :
(with the quadrant of determined by the signs of and ).
Details
The equation is second-order, linear, and homogeneous. Two initial conditions ( and ) determine and . The solution can also be written as .
Energy. Total mechanical energy is conserved:
Energy oscillates between kinetic (maximum at ) and potential (maximum at ) at twice the oscillation frequency.
Phase space. The trajectory in the plane is an ellipse: . All orbits are closed, confirming periodicity.
Universality. Any system near a stable equilibrium has a quadratic potential , so the harmonic oscillator is the universal local model. See Dynamics for the general equilibrium analysis.
Authoritative source for this section: Landau & Lifshitz, Mechanics, §21: Free oscillations in one dimension
Example problem
A mass kg is attached to a spring with N/m. At it is at m with velocity m/s. Find and .
Solution
rad/s.
m.
rad.
Isochronism and cross-domain examples §
The period is independent of amplitude—this is the defining property of harmonic motion (isochronism). It depends only on the system’s inertia and stiffness, not on how far the mass is displaced.
Details
Isochronism is a direct consequence of linearity: the restoring force is proportional to displacement, so the effective stiffness the mass feels is the same at every point of the trajectory. In nonlinear oscillators the period depends on amplitude (see Nonlinear oscillations).
Cross-domain examples of the harmonic oscillator:
- Simple pendulum (small angle ): . Here the mass cancels; the “spring constant” is .
- LC circuit: . Charge plays the role of displacement, inductance of mass, and of spring constant.
- Torsional oscillator: where is torsional stiffness and is moment of inertia.
- Molecular vibration: diatomic molecules vibrate at where is reduced mass.
Authoritative source for this section: OpenStax University Physics Volume 1, §15.1: Simple Harmonic Motion
Example problem
A simple pendulum has a period of 2 s on Earth ( m/s²). What is its length? What would its period be on the Moon ( m/s²)?
Solution
m.
On the Moon: s.
Superposition §
Because the equation is linear, any linear combination of solutions is also a solution:
Concrete example. Let and . Their sum is:
so and rad.
Details
Superposition is the foundation for Coupled oscillations (normal modes) and Wave propagation (Fourier decomposition). It fails for Nonlinear oscillations, where modes interact.
The complex exponential form makes superposition especially transparent: if and , then . Adding phasors in the complex plane is equivalent to adding sinusoids in time.
Authoritative source for this section: Landau & Lifshitz, Mechanics, §21: Free oscillations in one dimension
Example problem
Two oscillators with the same frequency rad/s have displacements and . Find the amplitude and phase of their sum.
Solution
.
.
.
rad.
So .
Quizz
Problem: A 0.5 kg mass is attached to a spring with N/m. It is pulled 3 cm from equilibrium and released from rest. Find the period, the maximum speed, the total energy, and the complex amplitude .
Solution
- rad/s.
- Period: s.
- Initial conditions: m, .
- Amplitude: m.
- Phase: .
- Maximum speed: m/s.
- Total energy: J.
- Complex amplitude: .