Physics · Work, Energy and Power

Potential Energy of a Spring

A stretched bow-string stores energy; so does a compressed spring. NCERT §5.9 builds the elastic potential energy from a single force law — Hooke's law, $F_s = -kx$ — and arrives at one of the most reused formulae in NEET mechanics, $V(x) = \tfrac{1}{2}kx^2$. This deep-dive derives that result two ways (the integral and the area of a triangle), reads the $V$–$x$ parabola, follows the relentless trade between spring potential energy and kinetic energy in an oscillating block, and pins down the sign conventions that NEET keeps testing.

Hooke's law and the restoring force

Consider a block resting on a smooth horizontal surface, attached to a light spring whose other end is fixed to a rigid wall. Take the block's equilibrium position as $x = 0$. NCERT §5.9 states that for an ideal spring the spring force $F_s$ is proportional to $x$, the displacement of the block from equilibrium. The displacement may be positive (the spring stretched) or negative (the spring compressed). This is Hooke's law:

$$F_s = -kx$$

The constant $k$ is the spring constant. The single most important feature of this law is the negative sign. It tells you the spring force is a restoring force — it always points back toward equilibrium, opposite to the displacement. Stretch the block out to $x > 0$ and $F_s$ is negative, pulling it back; compress to $x < 0$ and $F_s$ is positive, pushing it back out. Either way the spring fights the displacement and tries to return the block to $x = 0$.

x Fₛ x > 0, Fₛ < 0 x < 0, Fₛ > 0 slope = −k
Fig. 1 — Hooke's law as a line. The spring force $F_s$ is a straight line through the origin with slope $-k$. For a stretched spring ($x > 0$) the force is negative; for a compressed spring ($x < 0$) the force is positive. The force always opposes the displacement. (Based on NCERT Fig. 5.7d.)

The spring constant k and its units

The spring constant $k$ measures how much restoring force the spring produces per unit of displacement. Both NCERT and NIOS give its unit as the newton per metre, $\text{N m}^{-1}$. NCERT records the qualitative reading: the spring is said to be stiff if $k$ is large and soft if $k$ is small. A stiff spring resists deformation hard; a soft spring yields easily.

NIOS Activity 6.2 gives a clean way to measure $k$. Hang the spring vertically and attach a block of mass $m$. The spring extends until its restoring force balances the weight: $ks = mg$, so $k = mg/s$, where $s$ is the measured extension. The dimensional formula of $k$ follows from $\text{N m}^{-1}$, namely $[\text{MT}^{-2}]$.

QuantitySymbolRelationSI unit
Spring (restoring) force$F_s$Fₛ = -kxN
Spring constant$k$k = |Fₛ| / xN m⁻¹
Displacement from equilibrium$x$measured from $x=0$m
Elastic potential energy$V(x)$V = ½kx²J

Deriving the spring PE = ½kx²

Because the spring force changes with position, it is a variable force, and the work it does must be found by integrating $F_s$ over the displacement — exactly the variable-force method of NCERT §5.5. Suppose the block is pulled outward to an extension $x_m$. The work done by the spring force is

$$W_s = \int_{0}^{x_m} F_s\,dx = -\int_{0}^{x_m} kx\,dx = -\frac{1}{2}kx_m^{2}$$

This work is negative because the spring force opposes the outward pull. The external agent that does the pulling does positive work of equal magnitude, $+\tfrac{1}{2}kx_m^2$, since it overcomes the spring force. That input is what gets stored in the spring.

|Fₛ| x xₘ kxₘ area = ½ · xₘ · kxₘ = ½ k xₘ²
Fig. 2 — Work as the area of a triangle. On a plot of the magnitude of the spring force $|F_s| = kx$ against $x$, the work done up to extension $x_m$ is the area of the shaded right triangle: $\tfrac{1}{2}\times \text{base}\times \text{height} = \tfrac{1}{2}\,x_m\,(kx_m) = \tfrac{1}{2}kx_m^2$. This matches the integral exactly. (Based on NCERT Fig. 5.7d and NIOS Fig. 6.6.)

The same answer drops out geometrically. Plot the magnitude $|F_s| = kx$ against $x$: it is a straight line from the origin. The work done up to $x_m$ is the area under that line — a right triangle of base $x_m$ and height $kx_m$, giving $\tfrac{1}{2}kx_m^2$. NIOS reaches the identical result by averaging the force: the force rises linearly from $0$ to $kx_m$, so the average force is $\tfrac{1}{2}kx_m$, and work $=$ average force $\times$ displacement $= \tfrac{1}{2}kx_m \cdot x_m = \tfrac{1}{2}kx_m^2$. Compression by a displacement $x_c$ gives the same magnitude, $\tfrac{1}{2}kx_c^2$.

NCERT then defines the elastic potential energy $V(x)$ to be zero when the block–spring system sits at equilibrium. For an extension or compression $x$,

$$\boxed{\,V(x) = \frac{1}{2}kx^{2}\,}$$

You can check the definition is self-consistent: for a conservative force $F = -\,dV/dx$, and indeed $-\dfrac{d}{dx}\!\left(\tfrac{1}{2}kx^2\right) = -kx = F_s$, recovering Hooke's law.

The potential-energy parabola V(x)

Because $V(x) = \tfrac{1}{2}kx^2$ depends on $x^2$, its graph is an upward-opening parabola, symmetric about $x = 0$. The vertex sits at the origin, where $V = 0$. Moving the block either way — stretch or compress — raises $V$ identically, because $(+x)^2 = (-x)^2$. The steepness of the parabola is governed by $k$: a stiff spring (large $k$) gives a narrow, steep bowl; a soft spring gives a shallow one.

E x 0 −xₘ +xₘ E = ½kxₘ² V(x) = ½kx² K(x)
Fig. 3 — Complementary parabolas. The potential energy $V(x) = \tfrac{1}{2}kx^2$ (teal) is an upward parabola, zero at the centre and maximum at the turning points $\pm x_m$. The kinetic energy $K$ (purple) is its mirror — maximum at the centre, zero at the extremes. At every point $K + V = E = \tfrac{1}{2}kx_m^2$, a constant. (Based on NCERT Fig. 5.8.)

NCERT presents this alongside a complementary curve for the kinetic energy. As the spring PE rises, the KE falls by the same amount, so the two parabolas are mirror images and their sum, the total mechanical energy $E = K + V$, stays flat. That flat line is the horizontal dashed line in Fig. 3, fixed at $\tfrac{1}{2}kx_m^2$ for a block released from rest at $x_m$.

Energy exchange in an oscillating block

Take the block of mass $m$, pull it out to $x_m$, and release it from rest. With a smooth surface and a massless spring, no non-conservative force acts, so mechanical energy is conserved. At any intermediate point $x$ (with $-x_m \le x \le +x_m$), NCERT writes

$$\frac{1}{2}kx_m^{2} = \frac{1}{2}kx^{2} + \frac{1}{2}mv^{2}$$

The left side is the energy you stored at release; the right side is its split into spring PE and block KE at position $x$. Two limits matter for NEET:

  • At the extremes $x = \pm x_m$: the block is momentarily at rest, $v = 0$, and the energy is entirely potential, $\tfrac{1}{2}kx_m^2$. These are the turning points.
  • At the equilibrium position $x = 0$: the spring PE is zero, so the entire energy is kinetic, and the speed is maximum. Setting $\tfrac{1}{2}mv_m^2 = \tfrac{1}{2}kx_m^2$ gives

$$v_m = x_m\sqrt{\frac{k}{m}}$$

NCERT notes that $k/m$ has dimensions of $[\text{T}^{-2}]$, so the expression is dimensionally consistent. The kinetic energy converts to potential energy and back, over and over, while the total stays constant — the block oscillates. This continuous handing-back-and-forth is precisely the spring–mass simple harmonic motion studied in Chapter 13.

i
Cross-link

The quantity $\sqrt{k/m}$ that sets the maximum speed is the angular frequency $\omega$ of the oscillation — see spring–block SHM in Oscillations for the full time-dependence.

Why spring PE is always positive

The elastic potential energy $V(x) = \tfrac{1}{2}kx^2$ can never be negative. The spring constant $k$ is a positive material property, and $x^2 \ge 0$ for any real displacement, so the product is non-negative whether the spring is stretched ($x>0$) or compressed ($x<0$). Its only minimum value, zero, is reached at $x = 0$ — the equilibrium position, which NCERT fixes as the reference where $V = 0$.

NCERT is careful to add that the zero of potential energy is arbitrary and set by convenience; for the spring, the natural choice is $V = 0$ at the unstretched length. Once that zero is fixed, it must be held throughout a problem. With this convention spring PE is positive everywhere except at equilibrium, which is why the parabola never dips below the $x$-axis.

Worked examples

NIOS Example 6.4

A mass of 2 kg is attached to a light spring of force constant $k = 100~\text{N m}^{-1}$. Calculate the work done by an external force in stretching the spring by 10 cm. What is the work done by the restoring force in the spring?

Work by the external force is the energy stored, $V = \tfrac{1}{2}kx^2$. With $x = 0.10~\text{m}$: $V = \tfrac{1}{2}\times 100 \times (0.10)^2 = 50 \times 0.01 = 0.5~\text{J}$.

Work by the restoring (spring) force has the same magnitude and the opposite sign, $W_s = -0.5~\text{J}$, because it opposed the stretching. The mass (2 kg) is a decoy here — work to stretch depends only on $k$ and $x$.

NCERT Example 5.8

To simulate car accidents, a car of mass 1000 kg moving at 18.0 km/h on a smooth road collides head-on with a horizontally mounted spring of spring constant $5.25\times 10^{3}~\text{N m}^{-1}$. What is the maximum compression of the spring?

Energy conservation. At maximum compression the car is momentarily at rest, so all of its kinetic energy has become spring PE. First convert the speed: $18~\text{km h}^{-1} = 5~\text{m s}^{-1}$ (recall $36~\text{km h}^{-1} = 10~\text{m s}^{-1}$).

KE of the car: $K = \tfrac{1}{2}mv^2 = \tfrac{1}{2}\times 1000 \times 5^2 = 1.25\times 10^{4}~\text{J}$.

Set $\tfrac{1}{2}kx_m^2 = K$: $\;x_m = \sqrt{\dfrac{2K}{k}} = \sqrt{\dfrac{2\times 1.25\times 10^{4}}{5.25\times 10^{3}}}$, giving $x_m = 2.00~\text{m}$. (NCERT idealises the spring as massless and the surface as frictionless; with friction the compression would be smaller.)

NIOS Terminal Q.5

A block of mass 3 kg moving with a velocity $20~\text{m s}^{-1}$ collides with a spring of force constant $1200~\text{N m}^{-1}$. Calculate the maximum compression of the spring.

Same conservation idea. All kinetic energy converts to spring PE at maximum compression: $\tfrac{1}{2}mv^2 = \tfrac{1}{2}kx_m^2$, so $x_m = v\sqrt{m/k}$.

$x_m = 20\sqrt{\dfrac{3}{1200}} = 20\sqrt{\dfrac{1}{400}} = 20 \times \dfrac{1}{20} = 1~\text{m}$. The block momentarily halts at $1~\text{m}$ of compression, then the spring drives it back — kinetic and potential energy trading places.

The spring potential energy is the structural backbone of simple harmonic motion. A force of the form $F = -kx$ — exactly Hooke's law — is the defining condition of SHM, and the parabolic $V(x) = \tfrac{1}{2}kx^2$ is the SHM potential well. NCERT Exercise 5.4 makes this explicit: it gives the SHM potential as $V(x) = kx^2/2$ and asks you to show that a particle of total energy 1 J in a spring potential with $k = 0.5~\text{N m}^{-1}$ must turn back at $x = \pm 2~\text{m}$ — its turning points, where $E = V$ and $K = 0$.

The maximum-speed result $v_m = x_m\sqrt{k/m}$ carries straight into Chapter 13, where $\sqrt{k/m}$ is named the angular frequency $\omega$, the amplitude is $x_m$, and the energy oscillates between $K$ and $V$ at twice the frequency of the displacement. Mastering the spring PE here is the cleanest preparation for the energy methods of Oscillations.

NEET PYQ Snapshot — Potential Energy of a Spring

The recurring NEET pattern is the $V \propto x^2$ scaling and energy conservation at the turning point.

NEET 2023

The potential energy of a long spring when stretched by 2 cm is $U$. If the spring is stretched by 8 cm, the potential energy stored in it will be:

  1. $16U$
  2. $2U$
  3. $4U$
  4. $8U$
Answer: (1) 16U

Use $V \propto x^2$. Since $V = \tfrac{1}{2}kx^2$, the energy scales as the square of the extension. Going from 2 cm to 8 cm multiplies $x$ by 4, so the energy multiplies by $4^2 = 16$. Hence the stored PE is $16U$. The word "long" is a decoy — $k$ is unchanged.

NCERT Exercise 5.4 (NEET-style)

A particle in linear SHM has potential energy $V(x) = kx^2/2$ with $k = 0.5~\text{N m}^{-1}$. Show that a particle of total energy 1 J must turn back when it reaches $x = \pm 2~\text{m}$.

Answer: turning points at x = ±2 m

Turning point ⇒ $K = 0$, $E = V$. Set $E = \tfrac{1}{2}kx^2$: $1 = \tfrac{1}{2}(0.5)x^2 = 0.25\,x^2$, so $x^2 = 4$, $x = \pm 2~\text{m}$. Beyond these points $V > E$ would force $K < 0$, which is impossible — so the particle reverses. This is the spring-PE parabola read as an SHM well.

NIOS Q.6.4(3) (NEET-style)

A particle moving with kinetic energy 3.6 J collides with a spring of force constant $180~\text{N m}^{-1}$. Calculate the maximum compression of the spring.

  1. $0.1~\text{m}$
  2. $0.2~\text{m}$
  3. $0.4~\text{m}$
  4. $0.6~\text{m}$
Answer: (2) 0.2 m

Energy conservation at full compression. $\tfrac{1}{2}kx^2 = 3.6~\text{J}$, so $x^2 = \dfrac{2\times 3.6}{180} = 0.04$, giving $x = 0.2~\text{m} = 20~\text{cm}$. All the kinetic energy is parked as spring PE at the instant of maximum compression.

FAQs — Potential Energy of a Spring

Short answers to the spring-energy questions NEET aspirants get wrong most often.

Why is the potential energy of a spring always positive?
Because $V(x) = \tfrac{1}{2}kx^2$ and both $k$ and $x^2$ are non-negative. The spring constant $k$ is a positive material property, and $x^2$ is positive for any extension or compression. So whether the spring is stretched ($x > 0$) or compressed ($x < 0$), the stored elastic potential energy is positive, reaching its only minimum, zero, at the equilibrium position $x = 0$.
What is the meaning of the negative sign in Hooke's law, F = −kx?
The negative sign tells you the spring force is a restoring force: it always points opposite to the displacement. For a stretched spring ($x > 0$) the force $F_s$ is negative, i.e. it pulls the block back toward equilibrium; for a compressed spring ($x < 0$) the force is positive, pushing the block back out. The force always acts to return the block to $x = 0$.
Why is the work done by the spring force negative while the spring's stored PE is positive?
When you stretch the spring, the spring force opposes the displacement, so the work done by the spring force is $W_s = -\tfrac{1}{2}kx^2$, a negative quantity. The potential energy stored is defined as the work done against the spring force by the external agent, which is $+\tfrac{1}{2}kx^2$. The two have equal magnitude and opposite sign; the energy you put in is stored, and the spring gives it back when released.
Where is the kinetic energy of a spring–block oscillator maximum?
At the equilibrium position $x = 0$. There the spring PE is zero, so by conservation of mechanical energy the entire energy is kinetic and the speed is maximum, $v_m = x_m\sqrt{k/m}$. At the extreme positions $x = \pm x_m$ the block is momentarily at rest, KE is zero, and all the energy is stored as spring PE $= \tfrac{1}{2}kx_m^2$.
What are the SI units of the spring constant k?
Newton per metre, $\text{N m}^{-1}$. It is the restoring force produced per unit displacement. A spring is described as stiff if $k$ is large and soft if $k$ is small. The dimensional formula of $k$ is $[\text{MT}^{-2}]$.
Is the spring force conservative?
Yes. NCERT shows two things: the spring force depends only on position ($F_s = -kx$), and the work it does depends only on the initial and final positions, $W_s = \tfrac{1}{2}kx_i^2 - \tfrac{1}{2}kx_f^2$. Over any closed path the work done by the spring force is zero. Both properties define a conservative force, which is why a potential energy function $V(x) = \tfrac{1}{2}kx^2$ can be assigned to it.
Does the spring PE formula depend on the maximum displacement or the instantaneous one?
The general expression $V(x) = \tfrac{1}{2}kx^2$ uses the instantaneous displacement $x$ from equilibrium, so it gives the stored energy at any point. The maximum stored PE, $\tfrac{1}{2}kx_m^2$, occurs at the maximum displacement $x_m$, where the block is momentarily at rest. NEET often uses $\tfrac{1}{2}kx_m^2$ when invoking energy conservation at the turning point.
Quick recap

Spring potential energy in one breath

  • Hooke's law: $F_s = -kx$. The minus sign makes it a restoring force, always opposing the displacement.
  • Spring constant $k$: measured in $\text{N m}^{-1}$; large $k$ = stiff, small $k$ = soft; it is a fixed property of the spring.
  • Stored PE: $V(x) = \tfrac{1}{2}kx^2$ — found as the work done against the spring, equal to the area of the $|F_s|$–$x$ triangle.
  • Always positive: $V \propto x^2$, so stretch and compression of equal size store equal energy; the only minimum (zero) is at $x = 0$.
  • Energy exchange: $\tfrac{1}{2}kx_m^2 = \tfrac{1}{2}kx^2 + \tfrac{1}{2}mv^2$. KE is maximum at $x=0$ ($v_m = x_m\sqrt{k/m}$); PE is maximum at $x = \pm x_m$.
  • NEET reflex: $V$ scales as $x^2$ — quadruple the stretch, multiply the energy by sixteen.