The force exerted by a spring is a conservative force. If the spring is linear, then its resisting force is given by . The potential energy of a linear spring is then:
where is the deflection from the free length of the spring. The kinetic energy due to movement is , where .
A torsional spring exerts a moment if it is twisted, which is given by , where is the twist angle. The work done by this moment and stored as potential energy in the spring is:
The conservation of energy principles states that , or .