The one-dimensional simple harmonic oscillator is described by the differential equation
Here is the mass of the particle and is the constant characterizing the restoring force.
Solution of the simple harmonic oscillator
The solution satisfying the initial condition , where is the amplitude of the oscillations, is given by
The oscillator is called harmonic because it is characterized by a unique frequency and the superior harmonics do not appear in the solution.
Total energy of the simple harmonic oscillator
Multiplying Eq.(1) by and taking into account the relations
Eq.(1) can be rewritten in the form
The first integral can be easily calculated:
In the latter equation the constant of integration is the total energy of the oscillator. The total energy is the sum of the kinetic energy and the potential energy .
Substituting in Eq.(4) the solution given by Eq.(2) one finds that the total energy is characterized by the square of the amplitude and does not depend on the frequency of the oscillations:
Comparison with the quantum harmonic oscillator
The amplitude , and consequently the energy can take any value. This is in contrast with the quantum harmonic oscillator in which the energy can take only discrete values, doesn’t depend on the amplitude, and is proportional to the frequency of the oscillations (see QHO).
Substituting Eq.(2) in the expression for the momentum one obtains
It is clear from the equations (2) and (6) that the position and the momentum of the classical simple harmonic oscillator can take well defined values simultaneously at each instant . This is also in contrast with the quantum harmonic oscillator in which these couple of dynamical variables satisfy the uncertainty relation at each instant (see QHO).
Hamiltonian of the simple harmonic oscillator
The Hamiltonian for the harmonic oscillator can be written in the form