Skip to main content

Section 13.5 Energy of a Harmonic Oscillator

Spring force is a conservative force with the following potential energy formula.

\begin{equation} U = \dfrac{1}{2} k x^2,\tag{13.5.1} \end{equation}

where the zero potential energy reference corresponds to the situation when spring is in its original relaxed state. By adding this to the kinetic energy of the block we get the energy \(E\) of the block. Let us write energy at time \(t \) as \(E(t) \text{.}\)

\begin{equation} E(t) = \dfrac{1}{2}m v^2 + \dfrac{1}{2} k x^2,\tag{13.5.2} \end{equation}

where for brevity, I have dropped the subscript \(x\) from \(v_x \text{.}\) By plugging in the solution \(x(t)= A\cos(\omega t + \phi)\) and \(v(t)= -\omega A\sin(\omega t + \phi)\text{,}\) and using \(k = m\omega^2\text{,}\) you can show that

\begin{equation} E(t) = \dfrac{1}{2} k A^2,\tag{13.5.3} \end{equation}

or, equivalently,

\begin{equation} E(t) = \dfrac{1}{2} m v_0^2 + \dfrac{1}{2} k x_0^2,\tag{13.5.4} \end{equation}

which is just the energy at the initial time. That is, the energy of simple harmonic oscillator is conserved.

\begin{equation} E(t) = E(0).\tag{13.5.5} \end{equation}

Although, the sum of kinetic and potential energies remains unchanged, kinetic and potential energies change with time. The potential energy is maximum when the oscillator is at the turning points of the motion, where velocity is zero, and hence kinetic energy is zero. You might say that the block spends most of its time near the two ends of its motion, where it is moving the slowest.

When the block is at \(x = 0 \text{,}\) potential energy is zero, which is the minimum value of potential energy. That means kinetic energy is largest at \(x=0 \text{,}\) i.e, when the block is at the equilibrium position it moves the fastest.

(a) A spring of length \(110\text{ cm}\) and spring constant \(1.5\times 10^{4}\text{ N/m}\) is compressed such that its length shrinks by \(20\text{ cm}\text{.}\) What is the amount of energy stored in the spring?

(b)The same spring is strethed such that its length expands by \(20\text{ cm}\text{.}\) What is the amount of energy stored in the spring?

Hint

(a) and (b): The length of the spring does not matter - only the change in length.

Answer

(a) \(300\text{ J}\text{,}\) (b) \(300\text{ J}\text{.}\)

Solution

(a) The change in length \(\Delta l\) is what we need, not the length of the spring. The energy stored is

\begin{equation*} U =\dfrac{1}{2}k (\Delta l)^2 = \dfrac{1}{2}\times 1.5\times 10^{4} \times 0.20^2 = 300\text{ J}. \end{equation*}

(b) The energy in spring is same for compression and expansion, since the energy depends on the square of the change.

\begin{equation*} U = 300\text{ J}. \end{equation*}

A block of mass \(0.6\text{ kg}\) is attached to a spring of spring constant \(180\text{ N/m}\) and negligible mass compared to the mass of the block. The block is placed on a frictionless horizontal table, then pulled horizontally \(3\text{ cm}\) from its equilibrium position and let go from rest. Evaluate speed of the block (a) as it crosses the equilibrium position, and (b) when it is \(1.5\text{ cm}\) from the equilibrium.

Hint

Use conservation of energy.

Answer

(a) \(0.52\text{ m/s}\text{,}\) (b) \(0.45\text{ m/s}\text{.}\)

Solution

Since block has no friction on it, its energy will be conserved. Let us denote the original position as point A, equilibrium as point B and \(1.5\text{ cm}\) from the equilibrium as point C.

(a) When block is at point A, it is not moving, therefore all energy is in the potential energy stored in the spring. We convert all length units to \(\text{meter}\text{.}\)

\begin{equation*} E_A = \frac{1}{2}kx_A^2 = \frac{1}{2}(180)(0.03)^2 = 0.081\text{ J}. \end{equation*}

When block is at point B, the spring is neither stretched nor compressed, therefore there is no potential energy stored in the spring. Hence, all the energy which the system started out with must be in the form of kinetic energy of the block.

\begin{equation*} E_B = \frac{1}{2}mv_B^2 = \frac{1}{2}(0.6)\,v_B^2 = 0.3\, v_B^2. \end{equation*}

Equating the energy at B to the energy at A we find

\begin{equation*} 0.3\, v_B^2 = 0.081\ \ \Longrightarrow\ \ v_B = 0.52\text{ m/s}. \end{equation*}

(b) When block is at point C, which could be on either side of the equilibrium a distance of \(1.5\text{ cm}\) away from the equilibrium, the spring is either compressed or stretched. Therfore, there will be potential energy stored in the spring. But, the stored potential energy is less than the starting energy, hence, the rest of the energy will be in the form of kinetic energy of the block.

\begin{equation*} E_C = \frac{1}{2}mv_C^2 + \frac{1}{2}kx_C^2= 0.3\, v_C^2 + 0.020. \end{equation*}

Equating \(E_C\) to \(E_A\text{,}\) and solving for \(v_C\) we find the speed when the block is \(1.5\text{ cm}\) from the equilibrium to be

\begin{equation*} 0.3\, v_C^2 + 0.020 = 0.081 \ \ \Longrightarrow\ \ v_C = 0.45\text{ m/s}. \end{equation*}

Subsection 13.5.1 Potential Energy and Turning Points

Often we plot a potential energy diagram to display the turning motions at a particular energy value. Figure 13.5.3 shows one such plot of potential energy versus position. The horizontal energy line on the diagram reflects the fact that energy is same at any position taken by the oscillator. The oscillator moves between the turning points, where velocity turns around in direction. At these points velocity must be zero - energy at these points are all in potential energy. When \(x = 0\) all energy in kinetic energy. At other values of \(x\text{,}\) the energy has both kinetic and potential energies.

Figure 13.5.3. The energy diagram shows visually, the conversion between kinetic and potential energies in a simple harmonic motion, keeping the total energy fixed.

Consider a simple harmonic oscillator of mass \(m \text{,}\) amplitude \(A\) and frequency \(f\text{.}\)

(a) What fraction of the energy of the oscillator is in the kinetic energy when the oscillator's displacement is half the amplitude?

(b) What fraction of the energy of the oscillator is in the potential energy when the oscillator's displacement is half the amplitude?

(c) Where in the cycle of an oscillation does the oscillator have the lowest speed? Why?

(d) Where in the cycle of an oscillation does the oscillator have the largest speed? Why?

Hint

(a) and (b) Use conservation of energy, (c) Think what happens at the turning points, (d) Think when the PE is lowest, i.e., zero.

Answer

(a) \(75\% \text{,}\) (b) \(25\% \text{,}\) (c) Turning points, \(x=\pm A \text{,}\) (d) At equilibrium point, \(x=0\text{,}\) \(v = 2\pi f A\text{.}\)

Solution 1 (a),(b)

(a) From energy conservation, we know that energy at any time in the cylce must equal the energy at the turning points. At turning points, energy is all potential energy.

\begin{equation*} E = \dfrac{1}{2}kA^2, \end{equation*}

where

\begin{equation*} k = m\omega^2 = 4\pi^2 m f^2. \end{equation*}

When oscillator's displacement is half of \(A \text{,}\) we will get

\begin{equation*} KE + \dfrac{1}{2} k \left( \dfrac{A}{2}\right)^2. \end{equation*}

Equating the two, we get

\begin{equation*} KE = \dfrac{1}{2} k A^2 \times \dfrac{3}{4}. \end{equation*}

Therefore,

\begin{equation*} \dfrac{KE}{E} = \dfrac{3}{4}. \end{equation*}

(b) Potential Energy at this instant is \(25\% \) of the total energy.

Solution 2 (c),(d)

(c) Lowest speed is zero which occurs at the turning points, when the displacment has values, \(x = -A\) and when \(x = A\text{.}\)

(d) Largest speed will occur where KE is largest, which would occur where the PE is the least. The least PE is zero here and occurs when \(x = 0\text{.}\) Therefore, at equilibrium position

\begin{equation*} \dfrac{1}{2}mv^2 = \dfrac{1}{2} k A^2. \end{equation*}

Therefore, maximum speed is

\begin{equation*} v = \sqrt{\dfrac{k}{m}}\ A = \omega\, A = 2\pi f A. \end{equation*}