# 16.5: Energy and the Simple Harmonic Oscillator

- Page ID
- 1606

Learning Objectives

By the end of this section, you will be able to:

- Determine the maximum speed of an oscillating system.

To study the energy of a simple harmonic oscillator, we first consider all the forms of energy it can have. We know from Hooke’s Law: Stress and Strain Revisited that the energy stored in the deformation of a simple harmonic oscillator is a form of potential energy given by:

\[PR_{el} = \dfrac{1}{2}kx^2.\]

Because a simple harmonic oscillator has no dissipative forces, the other important form of energy is kinetic energy \(KE\). Conservation of energy for these two forms is:

\[KE + PE_{el} = constant\]

or

\[\dfrac{1}{2}mv^2 + \dfrac{1}{2}kx^2 = constant.\]

This statement of conservation of energy is valid for *all* simple harmonic oscillators, including ones where the gravitational force plays a role.

Namely, for a simple pendulum we replace the velocity with \(v = L\omega\), the spring constant with \(k = mg/L\) and the displacement term with \(x = L\theta\). Thus

\[\dfrac{1}{2}mL^2\omega^2 + \dfrac{1}{2}mgL\theta^2 = constant.\]

In the case of undamped simple harmonic motion, the energy oscillates back and forth between kinetic and potential, going completely from one to the other as the system oscillates. So for the simple example of an object on a frictionless surface attached to a spring, as shown again in Figure \(\PageIndex{1}\), the motion starts with all of the energy stored in the spring. As the object starts to move, the elastic potential energy is converted to kinetic energy, becoming entirely kinetic energy at the equilibrium position. It is then converted back into elastic potential energy by the spring, the velocity becomes zero when the kinetic energy is completely converted, and so on. This concept provides extra insight here and in later applications of simple harmonic motion, such as alternating current circuits.

The conservation of energy principle can be used to derive an expression for velocity \(v\). If we start our simple harmonic motion with zero velocity and maximum displacement (\(x = X\)), then the total energy is

\[\dfrac{1}{2}kX^2.\]

This total energy is constant and is shifted back and forth between kinetic energy and potential energy, at most times being shared by each. The conservation of energy for this system in equation form is thus:

\[\dfrac{1}{2}mv^2 + \dfrac{1}{2}kx^2 = \dfrac{1}{2}kX^2.\]

Solving this equation for \(v\) yields:

\[v = \pm \sqrt{\dfrac{k}{m}(X^2 - x^2)}.\]

Manipulating this expression algebraically gives:

\[v = \pm\sqrt{\dfrac{k}{m}}X\sqrt{1 - \dfrac{x^2}{X^2}}\]

and so

\[v = \pm v_{max} \sqrt{1 - \dfrac{x^2}{X^2}},\]

where

\[v_{max} = \sqrt{\dfrac{k}{m}}X.\]

From this expression, we see that the velocity is a maximum (\(v_{max}\)) at \(x = 0\), as stated earlier in \(v(t) = - v_{max} \, sin \, \frac{2\pi t}{T}\). Notice that the maximum velocity depends on three factors. Maximum velocity is directly proportional to amplitude. As you might guess, the greater the maximum displacement the greater the maximum velocity. Maximum velocity is also greater for stiffer systems, because they exert greater force for the same displacement. This observation is seen in the expression for \(v_{max}\) it is proportional to the square root of the force constant \(k\) Finally, the maximum velocity is smaller for objects that have larger masses, because the maximum velocity is inversely proportional to the square root of \(m\). For a given force, objects that have large masses accelerate more slowly.

A similar calculation for the simple pendulum produces a similar result, namely:

\[\omega_{max} = \sqrt{\dfrac{g}{L}}\theta_{max}.\]

Example \(\PageIndex{1}\): Determine the Maximum Speed of an Oscillating System: A Bumpy Road

Suppose that a car is 900 kg and has a suspension system that has a force constant \(k = 6.53 \times 10^4 \, N/m\). The car hits a bump and bounces with an amplitude of 0.100 m. What is its maximum vertical velocity if you assume no damping occurs?

**Strategy**

We can use the expression for \(v_{max}\) given in \(v_{max} = \sqrt{\frac{k}{m}}X\) to determine the maximum vertical velocity. The variables \(m\) and \(k\) are given in the problem statement, and the maximum displacement \(X\) is 0.100 m.

**Solution**

- Identify known.
- Substitute known values into \(v_{max} = \sqrt{\frac{k}{m}}X\). \[v_{max} = \sqrt{\dfrac{6.53 \times 10^4 \, N/m}{900 \, kg}}(0.100 \, m).\]
- Calculate to find \(v_{max} = 0.852 \, m/s\).

**Discussion**

This answer seems reasonable for a bouncing car. There are other ways to use conservation of energy to find \(v_{max}\). We could use it directly, as was done in the example featured in Hooke’s Law: Stress and Strain Revisited.

The small vertical displacement \(y\) of an oscillating simple pendulum, starting from its equilibrium position, is given as

\[y(t) = a \, sin \, \omega t,\]

where \(a\) is the amplitude, \(\omega\) is the angular velocity and \(t\) is the time taken. Substituting \(\omega = \frac{2\pi}{T},\) we have

\[y(t) = a \, sin \left(\dfrac{2\pi t}{T} \right).\]

Thus, the displacement of pendulum is a function of time as shown above.

Also the velocity of the pendulum is given by

\[v(t) = \dfrac{2a\pi}{T} \, cos \left(\dfrac{2\pi t}{T}\right),\]

so the motion of the pendulum is a function of time.

Exercise \(\PageIndex{1}\)

Why does it hurt more if your hand is snapped with a ruler than with a loose spring, even if the displacement of each system is equal?

**Solution**

The ruler is a stiffer system, which carries greater force for the same amount of displacement. The ruler snaps your hand with greater force, which hurts more.

Exercise \(\PageIndex{2}\):Check Your Understanding

You are observing a simple harmonic oscillator. Identify one way you could decrease the maximum velocity of the system.

**Solution**

You could increase the mass of the object that is oscillating.

## Summary

- Energy in the simple harmonic oscillator is shared between elastic potential energy and kinetic energy, with the total being constant: \[\dfrac{1}{2}mv^2 + \dfrac{1}{2}kx^2 = constant. \nonumber\]
- Maximum velocity depends on three factors: it is directly proportional to amplitude, it is greater for stiffer systems, and it is smaller for objects that have larger masses: \[v_{max} = \sqrt{\dfrac{k}{m}}X. \nonumber\]

## Contributors and Attributions

Paul Peter Urone (Professor Emeritus at California State University, Sacramento) and Roger Hinrichs (State University of New York, College at Oswego) with Contributing Authors: Kim Dirks (University of Auckland) and Manjula Sharma (University of Sydney). This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).