Skip to content

Physics · Ch 5 — Work, Energy and Power

The Potential Energy of a Spring

5.9

The Potential Energy of a Spring

The Concept of Potential Energy in a Spring

When you stretch or compress a spring, you do work against the restoring force that the spring exerts. That work does not disappear — it gets stored in the spring as elastic potential energy. This is the energy a spring possesses by virtue of being deformed from its natural (unstretched) length.

The key idea is that the spring force is a conservative force, just like gravity. For any conservative force, the work done against it can be recovered as kinetic energy when the system is released. For a spring, the stored energy depends only on how much it is stretched or compressed — not on the path taken to reach that deformation.


The Spring Force and Hooke's Law

Consider an ideal spring that obeys Hooke's law. If one end of the spring is fixed and the other end is attached to a block, the force exerted by the spring on the block when the spring is stretched or compressed by a displacement xx from its natural length is:

Fs=−kxF_s = -k x

Here kk is the spring constant (or force constant) — a measure of the spring's stiffness. The negative sign indicates that the spring force always opposes the displacement: if you pull the block to the right (x>0x > 0), the spring pulls it back to the left (Fs<0F_s < 0); if you compress the spring (x<0x < 0), the spring pushes outward (Fs>0F_s > 0).

Watch out

The variable xx in Hooke's law is measured from the natural (unstretched) length of the spring, not from any arbitrary reference point. This is crucial for getting the signs and the energy expressions correct.


Work Done by an External Agent

To stretch or compress the spring slowly (so that kinetic energy is negligible), you must apply an external force FextF_{\text{ext}} that exactly balances the spring force at every instant. That means:

Fext=+kxF_{\text{ext}} = +k x

The external force is in the same direction as the displacement — you push or pull in the direction you want the spring to move.

The work done by this external force when the spring is stretched from x=0x = 0 to some final displacement x=xmx = x_m is:

Wext=∫0xmFext dx=∫0xmkx dx=12kxm2W_{\text{ext}} = \int_{0}^{x_m} F_{\text{ext}} \, dx = \int_{0}^{x_m} k x \, dx = \frac{1}{2} k x_m^2

This work is stored as potential energy in the spring. So the elastic potential energy of a spring stretched or compressed by an amount xx from its natural length is:

Us=12kx2U_s = \frac{1}{2} k x^2

Us=12kx2U_s = \frac{1}{2} k x^2

Notice that the potential energy depends on x2x^2, so it is the same whether the spring is stretched (x>0x > 0) or compressed (x<0x < 0) by the same amount. A spring compressed by 5 cm stores exactly as much energy as one stretched by 5 cm.


Work Done by the Spring Force

What about the work done by the spring itself? When the spring goes from displacement xix_i to xfx_f, the spring force does work:

Ws=∫xixfFs dx=∫xixf(−kx) dx=−12k(xf2−xi2)W_s = \int_{x_i}^{x_f} F_s \, dx = \int_{x_i}^{x_f} (-k x) \, dx = -\frac{1}{2} k (x_f^2 - x_i^2)

This can be written as:

Ws=−[12kxf2−12kxi2]=−(Uf−Ui)=−ΔUW_s = -\left[ \frac{1}{2} k x_f^2 - \frac{1}{2} k x_i^2 \right] = -(U_f - U_i) = -\Delta U

This is exactly the relationship we expect for a conservative force: the work done by the force equals the negative of the change in potential energy.

Note

If the spring starts at xi=0x_i = 0 and ends at xf=xmx_f = x_m, then Ws=−12kxm2W_s = -\frac{1}{2} k x_m^2. The spring does negative work when being stretched — it is absorbing energy, not releasing it. When the spring is released and returns to its natural length, it does positive work, converting stored potential energy into kinetic energy.


Properties of Spring Potential Energy

The textbook lists three important properties of the spring's potential energy. Each one follows directly from the expression U=12kx2U = \frac{1}{2} k x^2 and the nature of the spring force.

Property 1: The potential energy is always positive

Since k>0k > 0 and x2≥0x^2 \geq 0, the quantity 12kx2\frac{1}{2} k x^2 is never negative. The potential energy is zero only at x=0x = 0 (the natural length) and positive for any non-zero displacement, whether stretch or compression.

This makes physical sense: you always have to do positive work to deform a spring away from its natural length, and that work is stored as energy. There is no way to get "negative stored energy" from a spring.

Property 2: The force is the negative gradient of potential energy

For a conservative force in one dimension, the force is related to the potential energy by:

F=−dUdxF = -\frac{dU}{dx}

Let's verify this for the spring:

U=12kx2U = \frac{1}{2} k x^2

dUdx=kx\frac{dU}{dx} = k x

F=−dUdx=−kxF = -\frac{dU}{dx} = -k x

This is exactly Hooke's law. The relationship holds perfectly, confirming that the spring force is conservative and that 12kx2\frac{1}{2} k x^2 is indeed the correct potential energy function.

Tip

This derivative relationship is a powerful tool. If you ever forget the formula for spring potential energy, you can derive it by integrating Hooke's law: U=−∫F dx=−∫(−kx) dx=12kx2+CU = -\int F \, dx = -\int (-k x) \, dx = \frac{1}{2} k x^2 + C, and set C=0C = 0 by choosing U=0U = 0 at x=0x = 0.

Property 3: The potential energy is quadratic in displacement

The graph of UU versus xx is a parabola opening upward, with its vertex at x=0x = 0. This quadratic shape has important consequences:

  • The minimum of the potential energy is at x=0x = 0, which is the stable equilibrium position. If you displace the spring slightly, the restoring force pulls it back toward this point.
  • The potential energy increases symmetrically on both sides of the equilibrium. The rate of increase is determined by kk — a stiffer spring (larger kk) gives a steeper parabola and more energy for the same displacement.
  • For small displacements, any smooth potential energy curve can be approximated by a parabola (this is the basis of the harmonic oscillator approximation in physics).

--- …

Figure 5.7Spring force with a block. (a) Fs=0 at x=0. (b) stretched x>0, Fs<0. (c) compressed x<0, Fs>0. (d) plot of Fs vs x; shaded triangle = work done by the spring.
Fig. 5.7 — Spring force with a block. (a) Fs=0 at x=0. (b) stretched x>0, Fs<0. (c) compressed x<0, Fs>0. (d) plot of Fs vs x; shaded triangle = work done by the spring.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

Figure 5.7 is built around a single physical idea: an ideal spring exerts a restoring force that always tries to bring the block back to the equilibrium position. The four panels work together to show what that means visually, algebraically, and graphically.

Panels (a), (b), and (c) show the actual setup. A spring is attached to a rigid wall on the left, with a block on the right. In (a), the block sits at the equilibrium position — the spring is neither stretched nor compressed, so the displacement x=0x = 0 and the spring force Fs=0F_s = 0. In (b), the block has been pulled to the right, so x>0x > 0 (positive displacement). The spring is stretched, and it pulls the block back to the left: the force is negative, Fs<0F_s < 0. In (c), the block is pushed to the left, so x<0x < 0 (negative displacement). The spring is compressed, and it pushes the block back to the right: the force is positive, Fs>0F_s > 0.

The key pattern is that the force always points opposite to the displacement. That is the physical meaning of a restoring force.

Panel (d) translates that pattern into a graph. The horizontal axis is the displacement xx; the vertical axis is the spring force FsF_s. The graph is a straight line through the origin with a negative slope. The line is labelled Fs=−kxF_s = -k x, where kk is the spring constant (a measure of the spring's stiffness). The graph shows that when xx is positive, FsF_s is negative; when xx is negative, FsF_s is positive; and when x=0x = 0, Fs=0F_s = 0. A dashed vertical line is drawn at x=xmx = x_m, marking the maximum stretch shown in the figure. The shaded triangle between the origin O, the point B on the xx-axis at x=xmx = x_m, and the point A on the force line directly above B represents the work done by the spring as it returns from x=xmx = x_m to x=0x = 0.

Important

The work done by the spring force as the block moves from x=xmx = x_m to x=0x = 0 is the area of that shaded triangle. Because the force is not constant, you cannot use W=F⋅dW = F \cdot d directly — you must integrate, or equivalently, find the area under the FsF_s vs xx graph.

The area of the triangle is 12×base×height\frac{1}{2} \times \text{base} \times \text{height}. The base is xmx_m (from 00 to xmx_m), and the height is the magnitude of the force at xmx_m, which is kxmk x_m. So the work done by the spring is

Ws=−12kxm2W_s = -\frac{1}{2} k x_m^2

The negative sign appears because the spring force opposes the displacement — the work done by the spring is negative when the block is being stretched. If instead the spring does work on the block as it returns to equilibrium, that work is positive and equals +12kxm2+\frac{1}{2} k x_m^2.

Ws=−12k(xf2−xi2)W_s = -\frac{1}{2} k (x_f^2 - x_i^2)

This is the general formula for the work done by an ideal spring when the block moves from an initial displacement xix_i to a final displacement xfx_f. The symbols are:

  • WsW_s: work done by the spring force
  • kk: spring constant (units N/m)
  • xix_i: initial displacement from equilibrium
  • xfx_f: final displacement from equilibrium

The textbook uses this figure to lead directly into the definition of potential energy of a spring. Since the work done by the spring depends only on the initial and final positions (not on the path taken), the spring force is conservative. That allows us to define a potential energy function UsU_s such that the change in potential energy equals the negative of the work done by the spring:

ΔUs=−Ws=12k(xf2−xi2)\Delta U_s = -W_s = \frac{1}{2} k (x_f^2 - x_i^2) …

Figure 5.8Parabolic plots of potential energy V and kinetic energy K of a spring block. Complementary; total E = K + V constant.
Fig. 5.8 — Parabolic plots of potential energy V and kinetic energy K of a spring block. Complementary; total E = K + V constant.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

The figure plots two curves against the horizontal position xx of the block. The vertical axis is energy (in joules), and the horizontal axis is the displacement xx from the spring’s natural length. The origin x=0x = 0 is the equilibrium position where the spring is neither stretched nor compressed.

The potential energy V(x)V(x) of the spring is an upward-opening parabola, V(x)=12kx2V(x) = \frac{1}{2} k x^2. It has its minimum value of zero at x=0x = 0 and rises symmetrically on both sides. At the extreme points x=+xmx = +x_m and x=−xmx = -x_m, the potential energy reaches its maximum value, which equals the total mechanical energy EE of the system.

The kinetic energy K(x)K(x) is a downward-opening parabola. At x=0x = 0, KK is at its maximum — equal to EE — because the block moves fastest through equilibrium. At x=±xmx = \pm x_m, KK drops to zero: the block has momentarily stopped, all its energy stored as spring potential.

A horizontal line at height EE runs across the plot, representing the constant total mechanical energy. At every xx, the sum of the VV and KK curves equals this line: V(x)+K(x)=EV(x) + K(x) = E. The two parabolas are therefore complementary — one rises exactly as the other falls.

E=12kx2+12mv2=constantE = \frac{1}{2} k x^2 + \frac{1}{2} m v^2 = \text{constant}

Here kk is the spring constant (stiffness), mm is the block’s mass, vv is its speed, and xx is the displacement from equilibrium. The figure makes this conservation law visual: the vertical gap between the VV parabola and the EE line at any xx is exactly K(x)K(x).

The physical idea is that energy sloshes back and forth between kinetic and potential forms as the block oscillates. At the turning points (x=±xmx = \pm x_m), energy is all potential; at the centre (x=0x = 0), it is all kinetic. The parabolic shapes arise directly from Hooke’s law — the force F=−kxF = -kx is linear, so the work done against it (which becomes potential energy) grows quadratically with distance. …

Figure 5.9The forces acting on the car.
Fig. 5.9 — The forces acting on the car.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

The figure shows a car pressed against a spring that is fixed to a wall. The spring is compressed, and the car sits on a hatched surface — the hatching indicates a rough surface that provides friction. Four forces are drawn acting on the car: the normal force NN pointing upward, the weight mgmg pointing downward, the spring force +kx+kx pushing the car to the right (away from the wall), and the friction force +μmg+\mu mg also pointing to the right. The equilibrium position of the spring (where it is neither stretched nor compressed) is marked with a label.

The physical idea is straightforward: when you compress a spring and hold it in place, the spring pushes back. If you then release the car, the spring force accelerates it to the right. But because the surface is rough, friction also acts — and in this diagram, both the spring force and friction point in the same direction (to the right). That tells you the car is being held against the spring by some external agent (perhaps your hand), and the forces shown are the ones acting on the car at the instant it is released. The spring force is Fs=+kxF_s = +kx, where kk is the spring constant and xx is the compression measured from the equilibrium position. The friction force is kinetic friction, fk=μkmgf_k = \mu_k mg, and it opposes the motion — but here, since the car is about to move right, friction acts to the right as well? That seems contradictory. Let's check the sign convention.

Watch out

The figure labels friction as +μmg+\mu mg pointing right. This is only correct if the car is being pushed to the left by an external force (your hand) and the spring is compressed. In that case, the car is stationary, and static friction acts to the right to prevent it from being pushed left. Once released, the spring pushes right, and kinetic friction opposes that motion — so friction would then point left. The diagram likely shows the static case just before release, where friction balances the external push.

The key formula the textbook develops with this figure is the potential energy stored in a spring:

Us=12kx2U_s = \frac{1}{2} k x^2

Here kk is the spring constant (a measure of the spring's stiffness, in N/m), and xx is the displacement from the spring's natural (unstretched) length. The formula gives the energy stored in the spring when it is compressed or stretched by xx. The work done by the spring force as it returns to equilibrium is the negative of the change in this potential energy: Ws=−ΔUsW_s = -\Delta U_s. …