Sub topic 8
Spring force and elastic potential energy
This chapter assumes you know Hooke's law at the level of Newton's laws, the work done by a variable force as an area under the F-x graph, and simple integration of powers. It also assumes you can apply the work-energy theorem.
The spring force
An ideal spring pulls or pushes back with a force proportional to its displacement from the natural length. With x measured from the natural length:
F = -k x
Here k is the spring constant in N/m. A stiffer spring has a larger k. The minus sign shows that the force is a restoring force: it points opposite to the displacement.
Work done by a spring
The spring force changes with x, so W = F d cos θ does not apply directly. Integrate instead. The work done by the spring when the end moves from x₁ to x₂ is:
W_spring = ∫ (-k x) dx = (1/2) k x₁² - (1/2) k x₂²
The work done by you in slowly stretching the spring from 0 to x is the area of the triangle under the F-x graph, (1/2)(x)(k x) = (1/2) k x².
Elastic potential energy
The spring force is conservative, because its work depends only on the end positions. So you can define a potential energy, taking U = 0 at the natural length:
U = (1/2) k x²
This is the same for stretch and compression, since x is squared. The spring's work equals the decrease in U: W_spring = U₁ - U₂.
k = 200.0 # spring constant in N/m
x = 0.1 # compression in metre
U = 0.5 * k * x ** 2
print(round(U, 2)) # 1.0Using energy conservation with springs
With only the spring and gravity doing work, mechanical energy is conserved. For a block dropped onto a vertical spring, or launched by a compressed spring, set total energy before equal to total energy after:
(1/2) m v₁² + m g h₁ + (1/2) k x₁² = (1/2) m v₂² + m g h₂ + (1/2) k x₂²
Equating (1/2) k x² to (1/2) m v² gives v = x √(k/m).
Common errors
- Measuring x from the spring's final position instead of its natural length.
- Using F = k x for the work of a spring, which gives k x² instead of (1/2) k x².
- Forgetting that the block loses contact with a horizontal spring at the natural length, where the spring force is zero.
- On a vertical spring, forgetting that the equilibrium position is shifted by m g / k from the natural length. Energy conservation still works if you measure x from the natural length and include gravity.
Exercise
A 0.5 kg block is pressed 0.2 m against a horizontal spring with k = 100 N/m on a smooth surface and released. What is its speed when it leaves the spring?
Show answer
Stored energy U = (1/2)(100)(0.2)² = 2 J. This becomes kinetic energy: (1/2)(0.5) v² = 2, so v² = 8 and v = 2√2 ≈ 2.83 m/s.
Exercise
How much work must you do to stretch a spring (k = 400 N/m) from x = 0.1 m to x = 0.3 m?
Show answer
W = (1/2)(400)(0.3² - 0.1²) = 200 × 0.08 = 16 J.