Potential Energy of a Spring: Formula and Derivation

Physics · Work, Energy And Power · NEET

When a spring is stretched or compressed by a distance x from its natural (relaxed) length, it stores elastic potential energy U = 1/2 k x^2, where k is the spring constant in N/m. This energy comes from the work you do against the spring's restoring force F = -k x. Memory hook: "half-k-x-squared" and remember U depends on x SQUARED, so doubling the stretch makes the energy 4 times bigger, not 2 times.
Spring force grows with x: energy = area of trianglexFArea = 1/2 x (kx)= 1/2 k x^2xF = kxwallstretch xstores U = 1/2 k x^2
Left: the spring force F = k x rises as a straight line, so the work stored is the shaded triangle's area, 1/2 k x^2. Right: a spring-block system stretched by x from the wall stores this elastic potential energy.

Your doubts, answered

Is the spring potential energy 1/2 k x^2 or k x^2? Where does the 1/2 come from?

It is 1/2 k x^2. The 1/2 appears because the spring force is NOT constant, it grows from 0 (at natural length) to k x (at stretch x). The work done to stretch it is the AREA of a force-displacement triangle: 1/2 * base * height = 1/2 * x * (k x) = 1/2 k x^2. If you wrongly used force = k x as constant, you would get k x^2, which is double the correct value. The 1/2 is the average factor for a linearly increasing force.

Why does the potential energy depend on x squared and not just x?

Because the restoring force itself increases in proportion to x (F = k x). Stretching further needs a bigger and bigger force each step. Adding up all that work gives an x-squared result. Practically this means: stretch 2 cm stores U; stretch 8 cm (4 times more) stores 4^2 = 16 times U. This exact ratio idea is tested directly in NEET 2023.

Does the formula change if the spring is compressed instead of stretched?

No. Whether you stretch (x positive) or compress (x negative), x^2 is always positive, so U = 1/2 k x^2 is always positive. NCERT states the spring force does work -k x^2/2 in both cases, and the stored elastic PE is +1/2 k x^2. A compressed spring stores just as much energy as a stretched spring of the same magnitude x.

Is x measured from the natural length or from the ground?

x is always the displacement from the natural (unstretched, equilibrium) length of the spring, NOT from the floor or any other point. NCERT sets V(x) = 0 at x = 0, the equilibrium position. If a problem gives you total length, first subtract the natural length to get the true extension x before squaring it.

What is the difference between spring force k x and spring energy 1/2 k x^2?

Force F = k x has units of newtons (N) and tells you how hard the spring pulls back at a given stretch. Energy U = 1/2 k x^2 has units of joules (J) and tells you how much work is stored. Force is the slope of the line on a force vs x graph; energy is the area under that line. NEET mixes these two, so read the question carefully to see whether it asks for force or energy.

⚠️ The NEET trap
When the stretch increases from 2 cm to 8 cm, students see 8/2 = 4 and answer 4U, treating energy as directly proportional to x.
U = 1/2 k x^2 is proportional to x SQUARED. The ratio is (8/2)^2 = 4^2 = 16, so the new energy is 16U. Always square the length ratio for spring PE.
🧠 The x-squared ratio trap in spring energy questions

Real NEET questions

2023

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

A · 2U
B · 4U
C · 8U
D · 16U
Solution: Step 1: Spring PE formula is U = 1/2 k x^2, so U is proportional to x^2 (k is the same spring). Step 2: Write the ratio of the two energies: U2 / U1 = (x2 / x1)^2. Step 3: Put values x1 = 2 cm and x2 = 8 cm: ratio = (8 / 2)^2 = 4^2 = 16. Step 4: Since U1 = U, the new energy U2 = 16U. Correct option is D. Trap: choosing 4U by forgetting to square the ratio.

Solved Work, Energy And Power NEET PYQs

Try the real previous-year questions from this chapter — each with the answer and a full solution.

See all 26 Work, Energy And Power NEET PYQs ›
Next concept: Hooke's Law and the Restoring Force of a SpringKeep learning — 2 minFeeling ready? Solve the Work, Energy And Power NEET PYQs ›Or practice on your phone — get the free MedicNEET app ›

Frequently asked

What is the formula for potential energy of a spring?

U = 1/2 k x^2, where k is the spring constant (N/m) and x is the displacement from the natural length (m). The unit of U is the joule (J).

How is the spring potential energy formula derived?

The spring force F = k x increases linearly with x. Work done in stretching from 0 to x equals the area under the F vs x line, a triangle of area 1/2 * x * (k x) = 1/2 k x^2. This stored work is the elastic potential energy.

Is spring potential energy always positive?

Yes. Because it contains x^2, the value is positive for both stretching (x > 0) and compression (x < 0). The energy is zero only at the natural length, x = 0.

What are the units and dimensions of spring potential energy?

Its SI unit is the joule (J). Since it is an energy, its dimensional formula is [M L^2 T^-2], the same as work and kinetic energy.

How does spring PE connect to conservation of energy in NEET?

For a spring-block system with no friction, total mechanical energy 1/2 m v^2 + 1/2 k x^2 stays constant. At maximum compression or stretch, all kinetic energy becomes spring PE, which is the standard NEET numerical setup (like the car-and-spring example in NCERT).