Sub topic 5
Elastic Potential Energy of a Spring: \(U = \frac{1}{2}kx^2\)
Prerequisites and the spring model
This chapter assumes that you know the work-energy theorem, kinetic energy \(K=\frac{1}{2}mv^2\), basic algebra, and Newton’s laws. You should also be comfortable with signed displacement in one dimension.
An ideal spring obeys Hooke’s law:
\[ F_{\text{spring}}=-kx \]
Here, \(k\) is the spring constant, measured in newtons per meter (N/m), and \(x\) is the displacement from the spring’s relaxed, or equilibrium, position. The minus sign means that the spring force points opposite the displacement. A stretched spring pulls inward, while a compressed spring pushes outward.
The spring stores elastic potential energy:
\[ U_s=\frac{1}{2}kx^2 \]
Because \(x\) is squared, the stored energy is positive for both stretching and compression.
How the formula describes stored work
The force of an ideal spring changes as the spring is stretched or compressed. It is zero at \(x=0\), then grows in magnitude to \(k|x|\). The work required to move the spring slowly from \(0\) to \(x\) is the area under the force-displacement graph. That graph is a triangle, so:
\[ Us=W{\text{external}}=\frac{1}{2}(\text{base})(\text{height}) =\frac{1}{2}|x|(k|x|) =\frac{1}{2}kx^2 \]
The energy is stored because the external work can later be returned as work by the spring.
| Quantity | Meaning | SI unit |
|---|---|---|
| \(U_s\) | Elastic potential energy | joule (J) |
| \(k\) | Spring stiffness | N/m |
| \(x\) | Stretch or compression from equilibrium | meter (m) |
A larger \(k\) means a stiffer spring. For the same displacement, a stiffer spring stores more energy. Doubling \(x\) multiplies the energy by four.
Using spring energy in a motion problem
Suppose a \(0.50\text{ kg}\) block compresses a spring by \(0.10\text{ m}\). The spring constant is \(200\text{ N/m}\), and the surface is frictionless. When the spring returns to its relaxed length, all the spring energy has become kinetic energy:
\[ \frac{1}{2}kx^2=\frac{1}{2}mv^2 \]
Solving for speed gives:
\[ v=x\sqrt{\frac{k}{m}} \]
Substituting the values:
\[ v=(0.10)\sqrt{\frac{200}{0.50}}=2.00\text{ m/s} \]
The block’s direction depends on which side of equilibrium the spring is on, but its speed depends on the energy.
import math
m = 0.50 # block mass in kg
k = 200.0 # spring constant in N/m
x = 0.10 # compression in m
# On a frictionless surface, spring energy becomes kinetic energy.
v = x * math.sqrt(k / m)
print(f"Speed leaving the spring: {v:.2f} m/s")Common errors and sign conventions
Use displacement from the spring’s relaxed position, not the distance from a wall or table edge. If the spring is compressed \(0.08\text{ m}\), use \(x=-0.08\text{ m}\) when finding force, but either \(x=-0.08\text{ m}\) or \(x=0.08\text{ m}\) gives the same potential energy.
Do not use \(U_s=kx\). That expression has the units of force, not energy. The square and the factor of one-half are both required.
Exercise
A spring with k = 500 N/m is compressed by 0.20 m and launches a 1.0 kg block on a frictionless surface. What is the block's speed when it leaves the relaxed spring?
Show answer
The spring energy is 1/2(500)(0.20)^2 = 10 J. Set this equal to 1/2(1.0)v^2, giving v = sqrt(20) = 4.47 m/s.