Sub topic 2
Elastic potential energy of a spring: U = kx²/2
Prerequisites
This chapter assumes you know Hooke's law (F = -kx), the work done by a constant force, kinetic energy as ½mv², and the work-energy theorem.
Elastic potential energy of a spring: U = kx²/2
A stretched or compressed spring stores energy. This stored energy is elastic potential energy:
U = ½kx²
Here k is the spring constant in N/m, and x is the displacement from the relaxed length in m. Because the spring force grows linearly with x, the work needed to deform the spring grows with x². Doubling the compression quadruples the stored energy.
For k = 200 N/m and x = 0.10 m, U = ½(200)(0.10)² = 1.00 J.
Choosing the zero of potential energy
Potential energy is defined only up to an additive constant. For a spring, the usual choice is U = 0 at the relaxed length, x = 0. Any other choice shifts every U value by the same amount, but changes in U stay the same. Pick the reference that simplifies the problem, then use it in every state you compare.
Conservation of mechanical energy: K + U stays constant
When only conservative forces do work, the mechanical energy E = K + U stays constant. A block pressed against a spring and released on a frictionless surface shows this clearly. The stored spring energy becomes kinetic energy as the spring relaxes.
The following program finds the speed of the block when it leaves the relaxed spring:
import math
m = 0.50 # block mass in kg
k = 200.0 # spring constant in N/m
x = 0.10 # compression in m
U_initial = 0.5 * k * x**2 # spring energy at release, K = 0
K_final = U_initial # at x = 0, all energy is kinetic
v = math.sqrt(2 * K_final / m) # from (1/2) m v^2 = K_final
print(f"Stored energy: {U_initial:.2f} J")
print(f"Speed leaving spring: {v:.2f} m/s")The output is 1.00 J and 2.00 m/s. The mass appears only in the last step, because it sets the speed for a given energy.
Exercise
A spring with k = 400 N/m is compressed by 0.05 m. What is its stored elastic potential energy?
Show answer
U = ½kx² = ½(400)(0.05)² = 0.5 J.