Hooke's law says that the force produced by a spring is proportional to the displacement (linear amount of stretching or compressing) of that spring:

where **k** is called the **force constant** or **spring constant** of the spring. Each spring has its own force constant.

The diagram defines all of the important dimensions and terms for a **coil spring**. For each mass hung on it (the mass could be zero), a spring has some **natural length**, at which it is neither compressed (shortened) or extended (lengthened). At that point, the upward force produced by the spring is exactly balancing the gravitational force on the mass and spring (remember that the spring itself has mass).

We define the coordinate **x** so that it is negative when the spring is compressed, zero at the natural length and positive when the spring is extended. The minus sign in **F = -kx** is there by convention; we think of **F** as the **restoring force**. When the spring is compressed, a positive force is required to extend it, and when it is extended, a negative force is required to shorten it, or *restore* it to its natural length.

If the spring is strong or stiff, **k** will be large, and **k** will be small for a weak spring.

Hooke's law is applicable not only to coil springs like the one shown here, but also to the bending of metal and some other materials, the stretching of wires like guitar strings, the stretching of rubber bands, and the stretching and compressing of chemical bonds.

Because Hooke's law is linear, we expect that if we double the mass hanging on a spring, the length of the spring will double. The graph below shows an ideal Hooke's law graph for a spring. The slope of the line is -k. The force, called the restoring force, is positive when x is negative (spring is compressed) and negative when x is positive (spring is extended).

In general, for any spring, Hooke's law is only good over a small range of motions. We know from experience that it's quite possible to extend a spring so far that it becomes damaged and really isn't the same any more.

Imagine that we have a spring and a way to measure force, like a scale (which is often just another spring, but one that is well-calibrated). Imagine that nine measurements of the spring force are measured at various spring lengths, including the natural length. Here's the data:

The units of length are **centimeters** and force is measured in **Newtons** (1 N = 1 Kg·m·s^{-2}).

Negative values of **x** indicate compression of the spring and positive values are extension. Notice that at **x** = 0, where the spring is neither compressed nor extended, it exerts no force.

We'd like to calculate the force constant, **k**, using Hooke's law, **F = -kx**. We could calculate nine different force constants and average them, but a better way is to plot the data.

Notice that if we plot **F** vs. **x** (that is, **F** on the y-axis and **x** on the x-axis), the slope will be **-k** because **F = -kx** is a linear equation. Here's the graph:

This is a nice way to visualize the data. Notice that there is some "noise." That's normal; no measurement is without some degree of random error. We have to expect it. We can also see from the graph that there is a clear relationship between Force and spring length because the data is well-correlated.

The best way to calculate the slope in this case is to perform a linear least-squares fit, which can be done on a calculator or spreadsheet. On a spreadsheet it's often called a linear **trend line.** Doing that with this data yields **k = 0.17 N/cm**.

Solution: We can write Hooke's law in terms of absolute values:

That way we don't have to be concerned with signs. We know that by convention a compression is a negative change in the spring length **x**, and, because **k** is negative the force of extension of the spring will be positive.

Now **|Δx| = 5 cm**, so we have

Dividing by 5 cm gives us **k = 0.9 N/cm**, or **90 N/m**. Force constants are often reported in SI units, Newtons per meter (N/m or N·m^{-1})

X
### SI units

SI stands for Système international (of units). In 1960, the SI system of units was published as a guide to the preferred units to use for a variety of quantities. Here are some common SI units

length | meter | (m) |

mass | Kilogram | (Kg) |

time | second | (s) |

force | Newton | N |

energy | Joule | J |

Solution: In this case, the overall spring constant k is just the sum of the individual spring constants:

So **k = 120 N/m + 80 N/m = 200 N/m**.

Now it's a straightforward calculation of the force using Hooke's law and the displacement, **|Δx| = 10 cm**.

The force required to compress or extend multiple springs is just the sum of the forces to compress/extend each spring individually. In this arrangement, the springs are said to work **in parallel**.

Solution: In this situation, the spring on the left needs to be compressed, and because the spring on the right is compressed, it will provide some of the force needed to move the mass. We aren't accelerating the mass, so we don't have to exert a net force just to move it.

The force required to compress the spring on the left is

The force toward the left produced by the spring on the right is

Now the net force required to make the move is the sum of these two forces,

Solution: This situation is a little tricky. Obviously, we'll compress the spring with the lower **k** a little more than the one on the left, but by how much?

It turns out that springs in series can be treated like parallel resistors in an electric circuit. The combined spring constant is the reciprocal of the sum of reciprocal force constants:

So the force constant of this combined spring is

We find a common denominator by multiplying 1/100 by 2/2 to get

Now that makes some sense, if you think about it. The spring combination is weaker than the weakest spring because when they're coupled together and compressed, the stronger spring still can give a little bit when the pair is compressed.

Now to find the force we just use Hooke's law:

Springs store potential energy. When compressed or extended, a spring stores **elastic potential energy** that can be converted to kinetic energy and work.

The potential energy of a spring is

If you know a little bit of calculus you can see in the section below how we derive that formula. The graph shows **PE** plotted vs. **x** for both negative and positive values of **x** (compression and extension). Study it for a bit. Notice that as the spring is further compressed or extended, the amount of potential energy it stores increases as the square of the distance.

Check out the **animation** below, too. The horizontal line marks the natural length of the spring/mass combination, the point at which **PE = 0**.

When the spring is compressed (**x < 0**), the PE grows. It's the same when the spring is extended.

When the spring changes direction at its most compressed point, it begins to exchange **PE** for kinetic energy (**KE**), until it reaches its natural length, at which **PE = 0** and **KE** is equal to the maximum **PE** gained in compression. It's the same for extension. Follow the cycle a few times to make sure you get it.

The potential energy (**PE**) of a spring is equal to the work done against a force from a point **x _{o}** to a point

If we integrate the Hooke's law force,

(I'm just doing the indefinite integral) we get:

When **x = 0** in our Hooke's law coordinate system, **PE = 0**, therefore the constant of integration, **C = 0**.

So we have the potential energy of a spring:

Now, of course, the force is the steepness of the potential energy curve, or its slope – its first derivative:

The derivative of the Hooke's law potential energy gives us back Hooke's law:

The negative signs here arise from our sign convention on pushing on and pulling against a compressed or extended spring.

Finally, a note about the **harmonic oscillator**. If you back up and look at the animation above, you're looking at a harmonic oscillator, a device that oscillates from one state to another (in this case a spring from a certain compressed state to a certain extended state).

Every harmonic oscillator has a neutral position, at which we can set the potential energy to zero, and at which the kinetic energy is its maximum. The kinetic energy is converted into maximal potential energy at the turning points – the fully extended and compressed positions.

Without friction or other resistance, a harmonic oscillator will continue oscillating forever. The graph of position vs. time for such an oscillator might look like this:

The graph shows that the spring oscillates between a length of **+x** to a length of **-x** over time. The motion is periodic, tracing a repeating curve that looks like a sine wave (That is, in fact, what's plotted in the graph).

In reality, no oscillator can go on like that forever. There is always some friction or opposing force which we usually refer to as a **damping force**.

With a damping force, the curve looks like the one below, and the system is referred to as a **damped oscillator**.

The harmonic oscillator model can be applied to several physical situations to give us insights into the motion, including

springs

pendulums

vibrations of molecular bonds

I'll dive more deeply into harmonic oscillators in another section (planned – 7/12/2017).

This site is a one-person operation. If you can manage it, I'd appreciate anything you could give to help defray the cost of keeping up the domain name, server, search service and my time.

**xaktly.com** by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012-2014, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.