

For conservative systems (i.e. no friction or energy lose), the equation of motion can be found from the conservation of energy, which states that the sum of kinetic and potential energies is a constant,
T + V = constant
Taking the time derivative gives
d(T + V)/dt = 0
From this, the equation of motion for vibrations can be determined.

Development of Energy Equation 

To understand how energy methods can be used, a simple mechanical system with linear and rotational kinetic, spring potential, and gravity potential energy will be analyzed. For the system shown, summing the kinetic and potential energies gives
Here, C is an arbitrary constant (total energy). Also, the displacement variable, y_{o}, needs to be related to the rotation variable,
θ since only one variable can be used with the energy method.
y_{o} = r θ
The moment of inertia for the pulley is
I_{1} = 1/2 m_{1} r^{2}
Substitute these equations in the total energy equation gives,
Take the first time derivative and rearrange,
Since the velocity is not zero at all times, the equation of motion is



At static equilibrium, the acceleration is zero, so the static equilibrium position is
y_{o} = m_{2} g/k
Rewriting the equation of motion in the new coordinate
y = y_{o}  m_{2} g/k
gives the familiar equation
where the natural frequency ω_{n} is
The general solution is
y = A sinω_{n}t + B cosω_{n}t
The constants A and B are determined from the initial conditions:
