Sub topic 6
Kinetic, potential and total energy in SHM
This chapter assumes you know the SHM solution x = A sin(ωt + φ), the relation v = ω√(A² − x²), and the work-energy theorem. You will use them to find the energy at any instant and to solve energy-based problems quickly.
Potential energy of a linear restoring force
The restoring force is F = −kx, where k = mω². The work done against it while moving from 0 to x is the potential energy, taking U = 0 at the equilibrium position:
U = ½kx² = ½mω²x²
For a spring this is the stored elastic energy. For other SHM systems, such as a pendulum at small angles, k is the effective force constant, and U = ½kx² still holds near equilibrium.
Kinetic energy and total energy
Kinetic energy is K = ½mv². Substitute v = ω√(A² − x²):
K = ½mω²(A² − x²) = ½k(A² − x²)
Add the two terms:
E = K + U = ½k(A² − x²) + ½kx² = ½kA²
The total energy is constant. It depends only on k and the amplitude, and it grows as A². Doubling the amplitude quadruples the energy.
The time forms show how the energy moves back and forth:
- K = ½kA² cos²(ωt + φ)
- U = ½kA² sin²(ωt + φ)
Useful results
| Quantity | Result |
|---|---|
| Maximum K, at x = 0 | ½kA² |
| Maximum U, at x = ±A | ½kA² |
| K = U at | x = ±A/√2 |
| Time average of K or U over a cycle | ¼kA², half the total |
| Frequency of the K and U oscillation | 2ω, so the period is T/2 |
K and U both reach their maximum twice per cycle of x, because cos² and sin² repeat every half period.
Worked check in code
This program finds the speed at x = 0.06 m for m = 0.5 kg, k = 200 N/m, A = 0.1 m, then checks conservation of energy.
import math
m, k, A = 0.5, 200.0, 0.1
omega = math.sqrt(k / m)
x = 0.06
v = omega * math.sqrt(A**2 - x**2)
total = 0.5 * k * A**2
kinetic = 0.5 * m * v**2
potential = 0.5 * k * x**2
print(v)
print(math.isclose(total, kinetic + potential))The speed is about 1.6 m/s. The energies are K ≈ 0.64 J and U ≈ 0.36 J, which add to E = 1.0 J, so the second line prints True.
Common errors
- Writing E = ½kx² for the total energy. That is only U at one position.
- Forgetting that U = 0 at equilibrium is a choice. For a vertical spring, gravity and spring energy combine so that ½kx² still works when x is measured from the shifted equilibrium.
- Mixing up the energy period (T/2) with the displacement period (T).
Exercise
A 0.2 kg particle performs SHM with ω = 10 rad/s and amplitude 0.05 m. Find the total energy, and find the displacement at which K = 3U.
Show answer
E = ½mω²A² = ½(0.2)(100)(0.05)² = 0.025 J. If K = 3U, then U = E/4, so ½kx² = ¼(½kA²). This gives x² = A²/4, so x = ±A/2 = ±0.025 m.