MathemagiciansLibraryExplorationsDeep Dives
← Physics · Upper Secondary
PhysicsUpper Secondary

Elastic potential energy stored in a spring

PU2 — Energy and Materials › PU2.2 — Springs and MaterialsLecture 2 of 3~2310 words

Where did the work go?

The last lecture ended with a question. You do work to stretch a spring. Where does that energy go?

Watch what a spring does when you let go. Pull back the elastic of a catapult and release it: the stone flies off. Push down a spring-loaded toy and let go: it jumps into the air. The energy did not disappear while you held the spring still. It was waiting inside the stretched or squashed spring, ready to come back out. This stored energy is called elastic potential energy. Some books call it elastic strain energy.

So the answer to the question is: the work you did is stored in the spring. The harder question is how much. Here the formula you know for work seems to break.

A force that will not stay still

From the work lecture, the work done by a force is the force times the displacement: . Take the spring from the last lecture, with N/m. Stretch it by 12 cm. At that extension, Hooke's law gives a force of N. So is the work J?

No. works for a force that stays the same all the way. The spring's force does not. At the start, with no extension, you need no force at all. After 1 cm, you need 0.5 N. After 6 cm, 3 N. Only at the very end do you need the full 6 N. Using 6 N for the whole stretch pretends you pulled hard the whole time. You did not. So 0.72 J is too much.

This is the hard part of the lecture, so spend time here. We need a way to add up the work when the force keeps changing. There are two ways to see it, and they give the same answer.

Way 1: the average force

The force grows steadily, in a straight line, from 0 to 6 N. When something grows steadily, its average is halfway between the start and the end. So the average force is N. The work is the average force times the extension: J. That is exactly half of the wrong answer.

Way 2: the area under the graph

Draw force against extension. For a constant force, the graph is flat, and is the area of a rectangle under it. For a changing force, cut the stretch into many thin steps. In each thin step, the force hardly changes, so the work in that step is almost a thin rectangle: force × small extension. Add up all the thin rectangles, and you get the area under the graph. So, for any force:

work done = area under the force–extension graph

For a spring that obeys Hooke's law, the graph is a straight line through the origin. The area under it is a triangle. See it below. Change the number of steps and watch the thin rectangles close in on the triangle.

Explore — adding up thin steps

The spring (k = 50 N/m) is stretched to 12 cm. The stretch is cut into equal steps. The dark rectangles use the force at the start of each step, so they add up to too little. The outlines use the force at the end of each step, so they add up to too much. Increase the number of steps.

The work to stretch the spring (k = 50 N/m) to 12 cm, estimated with thin steps. "Too little" uses the force at the start of each step; "too much" uses the force at the end.

StepsToo little / JToo much / JAverage / J
100.720.36
40.270.450.36
80.3150.4050.36
32≈ 0.349≈ 0.3710.36

Both estimates close in on 0.36 J, the area of the triangle under the line.

What should you have seen? With one step, the "too much" estimate is the wrong answer from before, 0.72 J. As the steps get thinner, the gap between the two estimates shrinks. With 32 steps, they are 0.349 J and 0.371 J. Both are closing in on the area of the triangle, 0.36 J, which agrees with Way 1. The thinner the steps, the closer you get. That is it. That is the whole idea: work done by a changing force is the area under its graph.

From the triangle to a formula

The triangle has a base of and a height of . Its area is half the base times the height:

For a spring that obeys Hooke's law, . Put that in place of :

Elastic potential energy

Up to the limit of proportionality, the energy stored in a stretched or compressed spring is

is in J, in N/m, (the extension or compression) in m, and is the force at that extension, in N.

The ½ is not a number to remember. It is the triangle. It is there because the force started at zero and grew steadily. Notice also that the formula is the same for compression. Squash the spring by , and it stores as well, because the force–compression graph is the same straight line.

Now look at the . It hides a surprise.

0 2 4 6 8 10 12 14 0 1 2 3 4 5 6 7 Extension x in cm Force F in N (6, 3) P (12, 6) 1 2 3 4
The spring with k = 50 N/m. The dark triangle (1) is the energy stored at 6 cm: ½ × 0.06 × 3 = 0.09 J. Stretch to 12 cm (point P), and the triangle under the line splits into four copies of triangle 1: 4 × 0.09 = 0.36 J.
Stop and think

A spring stretched by 6 cm stores 0.09 J. You stretch it further, to 12 cm. How much energy does it store now? How much work did the second 6 cm take?

Show the answer

Not twice as much: four times, 0.36 J. Doubling doubles both the base and the height of the triangle, so its area is multiplied by . The figure shows the four copies. So the first 6 cm took 0.09 J, and the second 6 cm took J, three times as much. The second half is harder because you are pulling against a larger force the whole way.

This is why a spring that is stretched a little further stores much more energy. Triple the extension, and the energy is nine times as large.

Getting the energy back

A spring that stays within its elastic limit gives back the stored energy when it returns to its natural length. That is how a catapult or a spring launcher works. If no energy is wasted, the elastic potential energy becomes kinetic energy:

This is conservation of energy, with the spring and the ball as the system. Try it below. Choose a compression and a mass, then launch.

Simulation — a spring launcher, in slow motion

The spring has k = 400 N/m. Set the compression and choose a ball. Press Play to release it, or Step to move one stage at a time. Watch the energy move from the spring into the ball. Then double the compression and launch again.

Ball:

A spring with k = 400 N/m is compressed and then releases a ball. All the stored energy becomes kinetic energy (no friction, and the spring's own mass ignored).

Compression / cmBall / gEnergy stored / JLaunch speed / (m/s)
4500.32≈ 3.58
8501.28≈ 7.16
81001.28≈ 5.06
10202.00≈ 14.14

Halfway through the release (compression 8 cm → 4 cm left), the spring still holds 0.32 J and the ball already has 0.96 J. Doubling the compression gives four times the energy but only twice the speed.

What should you have seen? At every moment, the two bars add up to the same total. The spring loses exactly what the ball gains. Notice how fast the ball gets its energy. When half the compression is still left, the spring holds only a quarter of the energy, so the ball already has three quarters. Then compare 4 cm and 8 cm with the same ball. Doubling the compression gives four times the energy, but only twice the speed, because the kinetic energy also has a square in it: is proportional to .

The simulation leaves things out on purpose. A real spring has its own mass, so some energy stays in the moving coils. Friction and sound take a little too. Real launchers are always slower than this ideal answer.

Past the limit: the energy that does not come back

The formula needs Hooke's law, so it holds only up to the limit of proportionality. Beyond that point the graph curves, and you cannot use the formula. But the idea behind it still works: the work done is the area under the graph, whatever its shape.

Return to the spring from the last lecture. It was loaded to 10 N, which stretched it to 26.4 cm, well past its elastic limit. Then the load was removed, and the spring came back along a straight line, ending 6.4 cm longer than before.

0 4 8 12 16 20 24 28 0 2 4 6 8 10 Extension x in cm Force F in N P 10 N, 26.4 cm B A
The spring loaded past its elastic limit to 10 N (solid curve), then unloaded (dashed line). The total area under the loading curve (A + B) is the work done stretching it, about 1.5 J. Only triangle B, ½ × 0.20 × 10 = 1.0 J, comes back on unloading. Area A, about 0.5 J, does not.

Count the energy. Stretching the spring took about 1.5 J, the whole area under the loading curve. On unloading, the spring pushed back only along the dashed line. The energy it gave back is the triangle under that line: its base is cm and its height is 10 N, so J. About 0.5 J, area A, never came back. It was used to rearrange the metal permanently, and it ended up as thermal energy: the wire became slightly warmer. Energy was not destroyed. It was transferred to a store you cannot get back out as motion.

So "the stored energy can be fully recovered" is true only up to the elastic limit. Beyond it, part of the work is always dissipated.

Worked examples

Worked Example 1 — Energy in a compressed spring

A spring with N/m is compressed by 8 cm. How much elastic potential energy does it store?

Convert first: cm m. Then J.

Check with the other form. The force at 8 cm is N, so J. ✓

Worked Example 2 — When you know the force, not k

A force of 20 N stretches a spring by 5 cm, within its limit of proportionality. How much energy is stored?

You could find N/m first, then use . But the triangle gives it in one step: J.

Check: J. ✓ Writing J would be the rectangle, not the triangle. It is wrong by a factor of 2, because the force was not 20 N for the whole stretch.

Worked Example 3 — Launch speed

A toy launcher has a spring with N/m, compressed by 6 cm. It launches a 0.05 kg ball along a smooth, level track. Find the ball's speed as it leaves the spring.

Energy stored: J.

All of it becomes kinetic energy: . So , , and m/s.

Check: J. ✓ The answer is an upper limit: a real launcher loses a little energy to friction.

Worked Example 4 — Designing a launcher

You want a launcher to give a 20 g ball a speed of 10 m/s, using a compression of 10 cm. What spring constant do you need?

Work backwards from the energy. The ball needs J. The spring must store 1 J: , so and N/m.

Check: J ✓. If you allow for some energy lost to friction, choose a slightly stiffer spring.

Three classic mistakes

Trap 1 — Leaving x in centimetres

The error is squared. With N/m and written as 8 instead of 0.08, you get J instead of 1.28 J, ten thousand times too big. Convert to metres before you square.

Trap 2 — Using Fx without the ½

is the work for a force that is all the way. The spring's force grows from zero, so the work is the triangle, . Leaving out the ½ doubles the answer.

Trap 3 — Using ½kx² beyond the limit of proportionality

The formula assumes a straight-line graph. Past the limit of proportionality, find the energy from the area under the real curve. Past the elastic limit, remember that not all of it comes back.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. A spring with N/m is stretched by 15 cm. How much energy does it store?

    Hint 1

    Change 15 cm into metres first.

    Hint 2

    .

    Full answer

    , so J. Check: the force at 15 cm is N, and J ✓.

  2. A spring stores 0.2 J when stretched by 4 cm. How much does it store when stretched by 12 cm (still within its limit of proportionality)? Find too.

    Hint 1

    The extension is multiplied by 3. What happens to ?

    Hint 2

    For : .

    Full answer

    Three times the extension gives times the energy: J. For : , so N/m. Check: J ✓.

  3. The launcher from Worked Example 3 ( N/m, compressed 6 cm) fires the 0.05 kg ball straight up. Ignoring air resistance, how high above its release point does the ball rise? Take N/kg.

    Hint 1

    At the top, the ball has stopped. Which store has the energy now?

    Hint 2

    .

    Full answer

    Elastic energy becomes kinetic, then gravitational potential energy: , so m. Check: J ✓. We ignored the small rise of the ball while the spring was still pushing, and any energy lost to friction, so the real height is a little less.

  4. From the last lecture: two springs, each with N/m, carry a 6 N load, first in series and then in parallel. Find the energy stored in each arrangement. Which stores more, and why, when the stiffer arrangement has the larger ?

    Hint 1

    Series: N/m, extension 0.20 m. Parallel: N/m, extension 0.05 m.

    Hint 2

    Use with the same N. What is different?

    Full answer

    Series: J. Parallel: J. The series pair stores four times as much. With the same force, the softer arrangement stretches further, so the triangle is wider. Combine with to get : for a fixed force, a smaller stores more. But for a fixed extension, , and a larger stores more. Which spring "stores more" depends on whether you fix the force or the stretch. Check: and ✓.

The bigger idea

The most useful thing in this lecture is not . It is the method behind it: when a force changes, the work it does is the area under its graph. That method works for any shape of graph, and it will come back many times. The next lecture uses it for whole materials, where the area under a stress–strain graph gives the energy stored in each cubic metre of a stretched wire.

The ½ also comes back. Whenever one quantity grows in proportion to another, starting from zero, the area under the graph is a triangle, and a ½ appears. Later you will meet the energy stored in a capacitor, where the charge grows in proportion to the potential difference. It is a ½ for exactly the same reason.

And the launcher showed energy moving from the spring to the ball. Attach the ball to the spring instead, and the energy moves back and forth: spring, ball, spring, ball. That is a vibration. Its study, simple harmonic motion, rests on the two ideas of these lectures: a force proportional to the extension, and the energy .

Key concepts in this lesson