AP Physics C: Mechanics · Unit 7 lecture · Part 7 of 10 · 9 min

7.4 Energy of simple harmonic oscillatorsEnergy sloshing back and forth

Mr. Thompkins
Watch a block on a spring and you're watching energy change costumes. At the ends it's all stored in the spring. In the middle it's all motion. The total never changes, and that makes energy the fastest tool in this unit.
?Wait, what is the potential energy of a spring?
From Unit 3: $U_s = \tfrac12 kx^2$, measured from the spring's relaxed length. It comes from integrating the force: $U = -\int_0^x(-kx')\,dx' = \tfrac12 kx^2$. It's never negative, and it's the same for stretching and compressing.
?Wait, how did a force come from a potential energy?
From Unit 3: for a conservative force, $F_x = -\frac{dU}{dx}$, the negative slope of the U(x) graph. For a spring, $-\frac{d}{dx}\left(\tfrac12 kx^2\right) = -kx$, which is Hooke's law back again. Any U(x) shaped like a parabola around its minimum gives a restoring force proportional to displacement, and so gives SHM.

With no friction, the mechanical energy of the block and spring is constant: $E = \tfrac12 mv^2 + \tfrac12 kx^2$. At a turning point, $v = 0$ and $x = \pm A$, so $E = \tfrac12 kA^2$. At equilibrium, $x = 0$ and $v = v_{max}$, so $E = \tfrac12 mv_{max}^2$. Setting those equal gives $v_{max} = A\sqrt{k/m} = A\omega$, the same result the derivative gave.

Calculus shows the total really is constant. Differentiate: $\frac{dE}{dt} = mv\frac{dv}{dt} + kx\frac{dx}{dt} = v(ma + kx)$. By the SHM equation, $ma = -kx$, so the parentheses are zero and $\frac{dE}{dt} = 0$. Energy conservation and the equation of motion are the same physics, written two ways.

-0.12-0.08-0.0400.040.080.1200.20.40.60.811.2x (m)energy (J)E = ½kA² = 1.0 JU = ½kx²K = E − U−A+A
Energy against position for k = 200 N/m and A = 0.10 m. The spring's potential energy is a parabola. The kinetic energy is the gap between the parabola and the total, so it is largest at x = 0 and zero at the turning points.

The kinetic energy at position x is what's left over: $K = \tfrac12 kA^2 - \tfrac12 kx^2 = \tfrac12 k(A^2 - x^2)$. As a fraction of the total, $\frac{K}{E} = 1 - \left(\frac{x}{A}\right)^2$. Halfway out, at $x = \frac{A}{2}$, the spring holds only a quarter of the energy and three quarters is still kinetic. Energy goes with $x^2$, not x.

Energy, speed and position
A 0.50 kg block oscillates on a spring with $k = 200\ \text{N/m}$ and amplitude 0.10 m. Find (a) the total energy, (b) the maximum speed, (c) the speed at $x = 0.060$ m, and (d) the position where K = U.
  1. (a) $E = \tfrac12 kA^2 = \tfrac12(200)(0.10)^2 = 1.0\ \text{J}$.
  2. (b) $\tfrac12 mv_{max}^2 = E$: $v_{max} = \sqrt{\frac{2(1.0)}{0.50}} = 2.0\ \text{m/s}$.
    Why?
    Check: $\omega = \sqrt{200/0.50} = 20$ rad/s and $A\omega = (0.10)(20) = 2.0$ m/s. Same.
  3. (c) $U = \tfrac12(200)(0.060)^2 = 0.36\ \text{J}$, so $K = 1.0 - 0.36 = 0.64\ \text{J}$ and $v = \sqrt{\frac{2(0.64)}{0.50}} = 1.6\ \text{m/s}$.
  4. (d) K = U means each is half of E: $\tfrac12 kx^2 = \tfrac12\left(\tfrac12 kA^2\right)$, so $x = \frac{A}{\sqrt2} = \frac{0.10}{1.414} = 0.071\ \text{m}$.
    Why?
    Not at A/2. Halfway in energy is 71% of the way out, because U grows with x².

Answer: (a) 1.0 J. (b) 2.0 m/s. (c) 1.6 m/s. (d) x = ±0.071 m.

Stuck? Get a hint
  1. Total energy is $\tfrac12 kA^2$.
  2. At any x, $K = E - \tfrac12 kx^2$, then $v = \sqrt{2K/m}$.
  3. For K = U, set $\tfrac12 kx^2 = \tfrac12 E$.
Pause and think
Look at the energy graph. If the total energy were raised to 1.44 J with the same spring, where would the new turning points be?
I thought about it. Show me
Where the parabola reaches the new total: $\tfrac12(200)x^2 = 1.44$, so $x = \pm0.12$ m. The turning points are always where U(x) equals E, because that's where K hits zero. Reading turning points off an energy graph is a standard exam task.
x = 01KUx = 0.060 m0.64K0.36Ux = 0.10 mK1U
The 1.0 J of the oscillator split between kinetic and potential energy at three positions.

Energy against time has its own surprise. With $x = A\cos(\omega t)$, $U = \tfrac12 kA^2\cos^2(\omega t)$ and $K = \tfrac12 kA^2\sin^2(\omega t)$. They trade places, always adding to E. And each one peaks twice per cycle: U at both ends, K on both trips through the middle. So K and U each repeat with period $\frac{T}{2}$, twice the frequency of the motion.

00.511.5200.20.40.60.811.2t (s)energy (J)EUK
Kinetic and potential energy against time for an oscillator with T = 2.0 s. Each repeats every 1.0 s, half the period of the motion, and their sum stays at E.
Pause and think
A block oscillates on a spring with period 0.80 s. How often does its kinetic energy reach a maximum?
I thought about it. Show me
Every 0.40 s. The kinetic energy is greatest each time the block passes through equilibrium, and it does that twice per cycle: once going right, once going left. Energy doesn't care about direction, so K repeats every half period.

Beyond the course, as a bonus: real oscillators lose energy to friction and air drag, so the amplitude shrinks a little each cycle. That's damped oscillation. As long as the damping is light, the period barely changes, which is why a pendulum clock keeps good time even while its swing slowly dies away, as long as something gives it a small push each cycle.

Check yourself
The amplitude of a mass-spring oscillator is doubled. Which statement is correct?
  1. AThe energy doubles and the period doubles
  2. BThe energy quadruples and the period stays the same
  3. CThe energy doubles and the maximum speed quadruples
  4. DThe energy quadruples and the maximum speed quadruples
Show the answer

B. $E = \tfrac12 kA^2$, so twice A gives four times E. The period $2\pi\sqrt{m/k}$ has no A in it. Maximum speed $A\omega$ only doubles, which is the trap in the last choice: four times the energy means $v_{max}^2$ is four times as big, so $v_{max}$ is twice as big.

  • $E = \tfrac12 kA^2 = \tfrac12 mv_{max}^2 = \tfrac12 mv^2 + \tfrac12 kx^2$, constant with no friction.
  • $K = \tfrac12 k(A^2 - x^2)$. At x = A/2, K is 3/4 of E. K = U at $x = A/\sqrt2$.
  • K and U each oscillate with period T/2.