## Section 13.5 Energy of a Harmonic Oscillator

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

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{.}\)

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

or, equivalently,

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

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.

###### Checkpoint 13.5.1. Energy Stored in a Spring.

(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?

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

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

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

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

###### Checkpoint 13.5.2. Speed of a Block Attached to a Spring.

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.

Use conservation of energy.

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

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{.}\)

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.

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

(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.

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

### 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.

###### Checkpoint 13.5.4. Energy at Different Points of the Cycle.

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?

(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.

(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{.}\)

(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.

where

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

Equating the two, we get

Therefore,

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

(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

Therefore, maximum speed is