Potential energy of a spring

Pull the plunger of a toy pop-gun back against a spring and hold it there — your fingers feel the spring pushing back harder the farther you pull, and you know without being told that letting go will send the projectile flying. Something has been stored inside that coil of metal, waiting. It is not motion (the spring is momentarily still) and it is not heat. It is elastic potential energy, and unlike the gravitational potential energy mghmgh you already know, it does not grow in simple proportion to the displacement — it grows with the square of it, so pulling twice as far stores four times the energy, not twice. This single fact — U=12kx2U = \tfrac12 kx^2 — is one of the two named potential-energy formulas the CBSE Class 11 syllabus asks you to master by name (the other is mghmgh), and it earns its place because springs are everywhere in the mechanics you are about to study: a bumper absorbing a car crash, a bow releasing an arrow, a trampoline hurling a gymnast upward, the suspension under every vehicle, even the interatomic bonds that make solids elastic in the first place. Wherever a restoring force pulls something back toward equilibrium in direct proportion to its displacement — Hooke's law, F=−kxF = -kx — this same quadratic energy law applies, and it becomes the workhorse of the very next chapter on oscillations too. This article grounds U=12kx2U = \tfrac12 kx^2 in the work you already did to stretch the spring, using nothing beyond the area-under-the-graph idea from variable-force work. We will derive it from first principles, connect it to the work–energy theorem so you can trade spring energy for kinetic energy and back, work two numeric examples in the CBSE and JEE styles, and flag the exact wording mistakes that cost marks — the missing factor of one-half, the sign-of-xx trap, and the silent assumption that the spring is ideal.

Key takeaways
  • A spring stretched or compressed by xx from its natural length stores elastic potential energy U=12kx2U = \tfrac12 kx^2, where kk is the force constant in newtons per metre.
  • The formula comes directly from the work needed to stretch the spring against its own restoring force F=kxF = kx — the area of a triangle under a straight-line F–x graph.
  • UU depends only on x2x^2, so stretching and compressing by the same magnitude store identical energy; sign of displacement never matters.
  • UU is zero at the natural (unstretched) length, and the UU–xx graph is a symmetric upward parabola with its minimum there.
  • Spring PE trades directly with kinetic energy on a frictionless surface: whatever energy the spring loses, the moving block gains, via the work–energy theorem.
  • This is a conservative-force potential energy, exactly like gravitational PE in kind, and it becomes essential once you reach conservation of mechanical energy and, later, simple harmonic motion.
  • Key idea: a Hooke's-law spring stores elastic potential energy U=12kx2U = \tfrac12 kx^2, the triangular area of work done against its linearly growing restoring force, and this energy converts one-for-one into kinetic energy when the spring is released on a frictionless surface.
The core insight

The elastic potential energy of a spring obeying Hooke's law, U=12kx2U = \tfrac12 kx^2, is the work done against the linearly increasing restoring force F=kxF = kx while stretching or compressing it by xx from its natural length, and it converts fully into kinetic energy when the spring relaxes without friction.

Where it fits in the syllabus

Spring potential energy sits inside the CBSE Class 11 unit Work, Energy and Power, right after the general definition of potential energy and the variable-force work integral W=∫F dxW = \int F\,dx, and just before conservation of mechanical energy applies both spring and gravitational PE together. The syllabus explicitly names U=12kx2U = \tfrac12 kx^2 as prescribed content, to be derived (not merely quoted) from the work done against the spring force. It is squarely inside the 2025-26 board prescription — nothing here is out of scope — though the deeper question of why real springs eventually stop obeying Hooke's law (elastic-limit and plasticity behaviour) belongs to the later Mechanical Properties of Solids chapter, and the connection to oscillation period T=2πm/kT = 2\pi\sqrt{m/k} belongs to the Oscillations chapter, both only lightly foreshadowed here.

The physical picture

An ideal spring obeys Hooke's law: the restoring force it exerts is proportional to how far its free end has been displaced from the natural (unstretched, uncompressed) length, and it always points back toward that natural length.

Fspring=−kxF_{\text{spring}} = -kx

where: FspringF_{\text{spring}} is the force the spring exerts on whatever is attached to it (newtons), xx is the displacement of the free end from the natural length (metres, positive for stretch or compression — the sign convention just needs to be consistent), and kk is the force constant or spring constant (newtons per metre), a fixed property of a given spring that measures its stiffness — a stiffer spring has a larger kk and pushes back harder for the same xx. The minus sign is the entire physical content of "restoring": whichever way you displace the spring, the force it exerts points the opposite way, back toward x=0x=0. To hold the spring stretched (or compressed) by xx, you — the external agent — must supply a force equal in magnitude to kxkx at every instant, growing steadily from zero (at the natural length) up to kxkx (at full displacement). Because this applied force is not constant, you cannot use W=FdW = Fd directly; you need the area under the force–displacement graph, which for a straight line through the origin is a triangle.

Figure
A graph of applied force against displacement for a spring, a straight rising line from the origin to a point where displacement equals x and force equals kx, with the triangular area beneath the line shaded to represent the work done in stretching the spring
Work to stretch a spring — the triangular area under F = kx displacement x (m) applied force F (N) F = kx x kx area = work done = half times base times height = half k x squared 0

Note three physical readings that this graph makes visible before we ever write the formula. First, UU depends on x2x^2, which is why the graph of UU against xx is a parabola rather than the straight line that FF against xx is — energy is the accumulated area, force is only the instantaneous value. Second, because x2x^2 treats stretch and compression identically, a spring compressed by 55 centimetres stores exactly the same energy as one stretched by 55 centimetres — the parabola is symmetric about x=0x=0. Third, the natural length is the unique point of zero potential energy and, being the bottom of the parabola, the point every unconstrained spring relaxes back toward — a mechanical echo of the general rule that systems drift toward lower potential energy.

Derivation ADeriving the elastic potential energy of a spring from the work done against it

The goal of this derivation is to obtain U(x)=12kx2U(x) = \tfrac12 kx^2 honestly from the definition of work for a variable force, rather than simply quoting it, because the CBSE syllabus explicitly asks for the spring energy formula to be derived from first principles using the work already established for a linear restoring force; the one subtlety that trips students is remembering that the force you must overcome grows as you go, so the simple W=FdW = Fd used for constant forces is not valid here and must be replaced by an integral, or equivalently by reading the area off the F–x graph.

Step 1. Set up the force you must supply. To slowly (quasi-statically) stretch or compress the spring from its natural length, an external agent applies a force equal in magnitude to the spring's own restoring force at every instant, Fext=kx′F_{\text{ext}} = kx', where x′x' is the instantaneous displacement already achieved, running from 00 up to the final value xx. This equality of magnitudes is what "quasi-static" means here — no leftover force is spent accelerating anything, so all the work goes into stored energy, none into kinetic energy of the spring itself.

Step 2. Write the work as an integral over the variable force. Since FextF_{\text{ext}} is not constant, the work done in an infinitesimal further displacement dx′dx' is the infinitesimal element Fext dx′=kx′ dx′F_{\text{ext}}\,dx' = kx'\,dx', and the total work in going from x′=0x'=0 to x′=xx'=x is the sum (integral) of all these slivers:

Wext=∫0xkx′ dx′W_{\text{ext}} = \int_0^x kx'\,dx'

Step 3. Evaluate the integral. Since kk is constant for a given spring, it comes out of the integral, and ∫0xx′ dx′=12x2\int_0^x x'\,dx' = \tfrac12 x^2, giving

Wext=k∫0xx′ dx′=k⋅x22=12kx2W_{\text{ext}} = k\int_0^x x'\,dx' = k\cdot\frac{x^2}{2} = \frac{1}{2}kx^2

This matches exactly the triangular area read off the F–x graph in the previous section: base xx, height kxkx, area 12(x)(kx)=12kx2\tfrac12(x)(kx) = \tfrac12kx^2 — the calculus and the geometry agree, which is a useful check whenever you derive an energy from a linear force law.

Step 4. Identify this work as stored potential energy. Because the spring force is conservative (the work done depends only on the start and end displacement, not on the path or speed of stretching), the work done against it is not lost — it is stored in the spring's configuration, ready to be recovered. This stored energy is defined as the elastic potential energy:

U(x)=12kx2U(x) = \frac{1}{2}kx^2

with U(0)=0U(0) = 0 chosen at the natural length as the zero reference, exactly the same logic used to fix U=0U=0 at the reference height for mghmgh.

Step 5. Sanity-check limiting behaviour. At x=0x=0, U=0U=0 as required — no stretch, no stored energy. As xx grows, UU grows without bound as x2x^2 (for an ideal spring with no elastic limit); doubling xx quadruples UU, so a spring stretched twice as far stores four times the energy, not twice — a common intuition trap this derivation resolves cleanly.

Worked examples

Board level - compressed spring in a toy launcher

A spring of force constant k=250 N/mk = 250\ \text{N/m} is compressed by 8 cm8\ \text{cm} from its natural length inside a toy launcher. Find the elastic potential energy stored in it.

Step 1. Convert to SI units, since kk is given in N/m. x=8 cm=0.08 mx = 8\ \text{cm} = 0.08\ \text{m}.

Step 2. Apply U=12kx2U = \tfrac12 kx^2 directly — this is a compression, but only the magnitude of xx matters.

U=12(250)(0.08)2=12(250)(0.0064)U = \frac{1}{2}(250)(0.08)^2 = \frac{1}{2}(250)(0.0064)

Step 3. Compute the product.

U=0.5×250×0.0064=0.8 JU = 0.5 \times 250 \times 0.0064 = 0.8\ \text{J}

The compressed spring stores 0.8 J\mathbf{0.8\ J} of elastic potential energy, which the launcher will deliver as kinetic energy to the toy projectile the instant it is released, exactly the quantity a board question expects you to report to two significant figures.

Competitive level - spring launching a block, then finding the launch speed

A horizontal spring of force constant k=500 N/mk = 500\ \text{N/m} rests on a frictionless surface and is compressed by 10 cm10\ \text{cm} against a block of mass 0.2 kg0.2\ \text{kg}. The spring is released. Find (a) the elastic potential energy initially stored, and (b) the speed of the block the instant the spring returns to its natural length, assuming all the stored energy converts to the block's kinetic energy.

Step 1. Compute the initial elastic potential energy using Ui=12kx2U_i = \tfrac12kx^2 with x=0.10 mx = 0.10\ \text{m}.

Ui=12(500)(0.10)2=12(500)(0.01)=2.5 JU_i = \frac{1}{2}(500)(0.10)^2 = \frac{1}{2}(500)(0.01) = 2.5\ \text{J}

Step 2. Apply the work–energy idea to the release. At the natural length the spring's own potential energy is exactly zero (by the same formula, with x=0x=0), and since the surface is frictionless with no other forces doing work, the entire 2.5 J2.5\ \text{J} has become kinetic energy of the block:

Kf=Ui=2.5 JK_f = U_i = 2.5\ \text{J}

Step 3. Solve Kf=12mv2K_f = \tfrac12mv^2 for the speed.

12(0.2)v2=2.5⟹v2=2.5×20.2=25⟹v=5 m/s\frac{1}{2}(0.2)v^2 = 2.5 \quad\Longrightarrow\quad v^2 = \frac{2.5\times 2}{0.2} = 25 \quad\Longrightarrow\quad v = 5\ \text{m/s}

The block leaves the spring's natural-length position moving at 5 m/s\mathbf{5\ m/s}, having converted every joule of stored spring energy into motion — the signature move of a spring-launch problem, and the same chain (spring PE in, kinetic energy out) reappears whenever a JEE or NEET question dresses this up with an incline, a second spring, or friction added afterward. Timing note: this two-part calculation should take under ninety seconds once the pattern is recognised — compute UiU_i first from the given compression, set it equal to KfK_f (only valid because the surface is frictionless and the spring returns fully to its natural length), then isolate vv. The one place students lose time is re-deriving U=12kx2U=\tfrac12kx^2 from scratch instead of simply quoting it — in a timed exam, quote the formula, do not re-derive it, unless the question explicitly asks for the derivation.

Common traps

Board answer scripts lose marks on this topic in remarkably predictable ways, almost all of them careless rather than conceptual, which is exactly why they are worth naming precisely. The single most common error is writing U=kx2U = kx^2, silently dropping the factor of one-half. That factor is not decorative — it comes directly from the triangular (not rectangular) area under the linear F–x graph, and it is the same factor that appears in K=12mv2K = \tfrac12mv^2 for exactly the same reason (a linearly growing quantity integrated from zero). A second common error is treating a compressed spring as storing less energy than a stretched one, or worse, writing UU as negative for compression — since UU depends on x2x^2, the sign of the displacement is irrelevant and only its magnitude counts; a 5 cm5\ \text{cm} compression and a 5 cm5\ \text{cm} extension store identical energy. A third, subtler error is confusing the spring's force constant kk (units N/m) with other physical constants that share the same letter, such as the Boltzmann constant, or with the "spring index" used in engineering design — always check that the units work out to newtons per metre before trusting a numeric answer. Finally, students often forget that U=12kx2U=\tfrac12kx^2 assumes an ideal spring obeying Hooke's law throughout the full stretch or compression; once a real spring is pulled past its elastic limit, the force–extension line curves away from straight, the triangular-area argument breaks down, and the formula silently stops being exact — a fact worth a one-line caveat in any answer that pushes xx to an unusually large value.

You should be able to…

  • Derive U=12kx2U=\tfrac12kx^2 from the work done in stretching or compressing a Hooke's-law spring, using either the integral ∫F dx\int F\,dx or the triangular area under the F–x graph.
  • State why the elastic potential energy is identical for equal magnitudes of stretch and compression, and never negative.
  • Sketch and interpret the parabolic UU versus xx graph, identifying the natural length as the point of zero potential energy.
  • Use spring potential energy together with the work–energy theorem to find the speed of a released block on a frictionless surface.
  • Recognise the boundary of validity of U=12kx2U=\tfrac12kx^2 — an ideal spring within its elastic limit — and avoid quoting it for arbitrarily large deformations.
  • Connect spring PE to the upcoming topics of conservation of mechanical energy and simple harmonic motion without confusing it with gravitational PE.

Ask the tutor: Want to see the exact moment the triangular F–x area turns into the 12kx2\tfrac12kx^2 formula, step by step, with your own numbers plugged in — ask the AI tutor to walk through the integral live.

Why is there a factor of one-half in the spring energy formula but not in gravitational PE, U equals mgh?

Because the two forces behave differently as the displacement grows. Near the Earth's surface, gravity's pull on a mass is essentially constant regardless of height, so the work to lift it by hh is simply (constant force) times (distance), giving the plain mghmgh with no fraction. A spring's restoring force, by contrast, is not constant — it grows linearly from zero at the natural length up to kxkx at full displacement, so the work is the area under a rising line, a triangle, and the area of a triangle is always half its base times its height. The one-half is the fingerprint of a force that grows linearly with displacement rather than staying fixed; you will see the very same one-half again in K=12mv2K=\tfrac12mv^2 for exactly this reason.

If I compress a spring and then stretch it back through the natural length and out the other side by the same amount, does the energy just keep adding up?

No — potential energy is a function of the current displacement only, not a running total of everything the spring has done. At any instant, UU depends purely on how far xx the spring currently sits from its natural length, so moving it from a 10 cm10\ \text{cm} compression back through zero to a 10 cm10\ \text{cm} stretch returns UU to the very same value it started with (12k(0.10)2\tfrac12k(0.10)^2 in both cases), not double that value. Energy is only exchanged, not accumulated, as the spring oscillates back and forth — this is precisely why an ideal spring-block system, once set going, keeps repeating the same motion forever rather than storing more and more energy each swing.

Does this formula still work if I stretch a spring so far that it stops springing back properly?

No, and this is an important honesty check rather than a trick. U=12kx2U=\tfrac12kx^2 is derived assuming the spring obeys Hooke's law throughout the stretch — that its restoring force stays exactly proportional to xx all the way from zero to the final displacement. Real springs only do this up to a certain point called the elastic limit; push them further and the force–extension graph curves away from the straight line, some of the deformation becomes permanent, and the simple triangular-area argument (and therefore the formula) no longer applies exactly. For every CBSE problem you will meet, the spring is implicitly assumed ideal and well within this limit, but it is worth remembering that the formula has a domain of validity, not universal truth.

How is spring potential energy connected to the next chapter on oscillations, SHM?

Very directly — spring PE is half of the energy story in simple harmonic motion. When a block on a spring is displaced and released, it oscillates because energy keeps converting back and forth between elastic potential energy, 12kx2\tfrac12kx^2, and kinetic energy, 12mv2\tfrac12mv^2, with the sum staying constant if there is no friction (this is exactly the conservation-of-mechanical-energy idea from the very next topic in this chapter). In the SHM chapter you will meet the same U=12kx2U=\tfrac12kx^2 again, this time written using ω2=k/m\omega^2=k/m as U=12mω2x2U=\tfrac12m\omega^2x^2, alongside the period formula T=2πm/kT=2\pi\sqrt{m/k} — all of it built on the spring energy relation you have just derived here.

Before this

Where this leads