Skip to main content
Physics LibreTexts

16.1: Hooke’s Law - Stress and Strain Revisited

  • Page ID
  • [ "article:topic", "Hooke\u2019s law", "authorname:openstax", "deformation", "elastic potential energy", "force constant", "restoring force" ]

    Newton’s first law implies that an object oscillating back and forth is experiencing forces. Without force, the object would move in a straight line at a constant speed rather than oscillate. Consider, for example, plucking a plastic ruler to the left as shown in Figure \(\PageIndex{1}\). The deformation of the ruler creates a force in the opposite direction, known as a restoring force. Once released, the restoring force causes the ruler to move back toward its stable equilibrium position, where the net force on it is zero. However, by the time the ruler gets there, it gains momentum and continues to move to the right, producing the opposite deformation. It is then forced to the left, back through equilibrium, and the process is repeated until dissipative forces dampen the motion. These forces remove mechanical energy from the system, gradually reducing the motion until the ruler comes to rest.


    Figure \(\PageIndex{1}\): When displaced from its vertical equilibrium position, this plastic ruler oscillates back and forth because of the restoring force opposing displacement. When the ruler is on the left, there is a force to the right, and vice versa.

    The simplest oscillations occur when the restoring force is directly proportional to displacement. When stress and strain were covered in Newton’s Third Law of Motion, the name was given to this relationship between force and displacement was Hooke’s law:

    \[F = -kx\]

    Here, \(F\) is the restoring force, \(x\) is the displacement from equilibrium or deformation, and \(k\) is a constant related to the difficulty in deforming the system. The minus sign indicates the restoring force is in the direction opposite to the displacement.


    Figure \(\PageIndex{2}\): (a) The plastic ruler has been released, and the restoring force is returning the ruler to its equilibrium position. (b) The net force is zero at the equilibrium position, but the ruler has momentum and continues to move to the right. (c) The restoring force is in the opposite direction. It stops the ruler and moves it back toward equilibrium again. (d) Now the ruler has momentum to the left. (e) In the absence of damping (caused by frictional forces), the ruler reaches its original position. From there, the motion will repeat itself.

    The force constant \(k\) is related to the rigidity (or stiffness) of a system—the larger the force constant, the greater the restoring force, and the stiffer the system. The units of \(k\) are newtons per meter (N/m). For example, \(k\) is directly related to Young’s modulus when we stretch a string. Figure \(\PageIndex{3}\) shows a graph of the absolute value of the restoring force versus the displacement for a system that can be described by Hooke’s law—a simple spring in this case. The slope of the graph equals the force constant \(k\) in newtons per meter. A common physics laboratory exercise is to measure restoring forces created by springs, determine if they follow Hooke’s law, and calculate their force constants if they do.

    Figure \(\PageIndex{3}\): (a) A graph of absolute value of the restoring force versus displacement is displayed. The fact that the graph is a straight line means that the system obeys Hooke’s law. The slope of the graph is the force constant \(k\). (b) The data in the graph were generated by measuring the displacement of a spring from equilibrium while supporting various weights. The restoring force equals the weight supported, if the mass is stationary.

    Example \(\PageIndex{1}\): How Stiff Are Car Springs?

    What is the force constant for the suspension system of a car that settles 1.20 cm when an 80.0-kg person gets in?

    Figure \(\PageIndex{4}\): The mass of a car increases due to the introduction of a passenger. This affects the displacement of the car on its suspension system. (credit: exfordy on Flickr)


    Consider the car to be in its equilibrium position \(x = 0\) before the person gets in. The car then settles down 1.20 cm, which means it is displaced to a position \(x = -1.20 \times 10^{-2} m\). At that point, the springs supply a restoring force \(F\) equal to the person’s weight \(w =  mg = (80.0 \space kg)(9.80 \space m/s^2) = 784 \space N.\) We take this force to be \(F\) in Hooke's law. Knowing \(F\) and \(x\), we can then solve the force constant \(k\).


    1. Solve Hooke’s law, \(F = -kx\), for \(k\):

    \[k = -\dfrac{F}{x}. \nonumber\] 

    2. Substitute known values and solve \(k\):

    \[\begin{align*} k &= -\dfrac{784 \space N}{-1.20 \times 10^{-2}m} \\[5pt] &=6.53 \times 10^4 \space N/m.\end{align*}\]


    Note that \(F\) and \(x\) have opposite signs because they are in opposite directions—the restoring force is up, and the displacement is down. Also, note that the car would oscillate up and down when the person got in if it were not for damping (due to frictional forces) provided by shock absorbers. Bouncing cars are a sure sign of bad shock absorbers.

    Energy in Hooke’s Law of Deformation

    In order to produce a deformation, work must be done. That is, a force must be exerted through a distance, whether you pluck a guitar string or compress a car spring. If the only result is deformation, and no work goes into thermal, sound, or kinetic energy, then all the work is initially stored in the deformed object as some form of potential energy. The potential energy stored in a spring is \(PE_{el} = \dfrac{1}{2}kx^2\).  Here, we generalize the idea to elastic potential energy for a deformation of any system that can be described by Hooke’s law. Hence,

    \[PE_{el} = \dfrac{1}{2}kx^2,\]

    where \(PR_{el}\) is the elastic potential energy stored in any deformed system that obeys Hooke’s law and has a displacement \(x\) from equilibrium and a force constant \(k\).

    It is possible to find the work done in deforming a system in order to find the energy stored. This work is performed by an applied force \(F_{app}\). The applied force is exactly opposite to the restoring force (action-reaction), and so \(F_{app} = kx\). Figure \(\PageIndex{5}\) shows a graph of the applied force versus deformation \(x\) for a system that can be described by Hooke’s law. Work done on the system is force multiplied by distance, which equals the area under the curve or \(\dfrac{1}{2} kx^2\) (Method A in the figure). Another way to determine the work is to note that the force increases linearly from 0 to \(kx\), so that the average force is \((1/2)kx\), the distance moved is \(x\), and thus \(W = F_{app} d = [(1/2)kx](x) = (1/2)kx^2\) (Method B in the figure).


    Figure \(\PageIndex{5}\): A graph of applied force versus distance for the deformation of a system that can be described by Hooke’s law is displayed. The work done on the system equals the area under the graph or the area of the triangle, which is half its base multiplied by its height, or \(W = (1/2)kx^2\).

    Example \(\PageIndex{2}\): Calculating Stored Energy: A Tranquilizer Gun Spring

    We can use a toy gun’s spring mechanism to ask and answer two simple questions:

    1. How much energy is stored in the spring of a tranquilizer gun that has a force constant of 50.0 N/m and is compressed 0.150 m?
    2. If you neglect friction and the mass of the spring, at what speed will a 2.00-g projectile be ejected from the gun?


    Figure \(\PageIndex{6}\): (a) In this image of the gun, the spring is uncompressed before being cocked. (b) The spring has been compressed a distance \(x\), and the projectile is in place. (c) When released, the spring converts elastic potential energy \(PR_{el}\) into kinetic energy.

    Strategy for a

    (a): The energy stored in the spring can be found directly from elastic potential energy equation, because \(k\) and \(x\) are given.

    Solution for a

    Entering the given values for \(k\) and \(x\) yields

    \[PE_{el} = \dfrac{1}{2}kx^2 = \dfrac{1}{2}(50.0 \space N/m)(0.150 \space m)^2 = 0.563 \space N \cdot m = 0.563 \space J\]

    Strategy for b

    Because there is no friction, the potential energy is converted entirely into kinetic energy. The expression for kinetic energy can be solved for the projectile’s speed.

    Solution for b

    1. Identify known quantities:

    \[ KE_f = PE_{el} \space or \space 1/2 mv^2 = (1/2)kx^2 = PE_{el} = 0.563 \space J\]

    2. Solve for \(v\):

    \[ v = \left[\dfrac{2PE_{el}}{m}\right] = \left[\dfrac{2(0.563 \space J)}{0.002 \space kg}\right] = 23.7(J/K)^{1/2}\]

    3. Convert units: \(23.7 \space m/s\)


    (a) and (b): This projectile speed is impressive for a tranquilizer gun (more than 80 km/h). The numbers in this problem seem reasonable. The force needed to compress the spring is small enough for an adult to manage, and the energy imparted to the dart is small enough to limit the damage it might do. Yet, the speed of the dart is great enough for it to travel an acceptable distance.

    Exercise \(\PageIndex{1}\): Check your Understanding

    Envision holding the end of a ruler with one hand and deforming it with the other. When you let go, you can see the oscillations of the ruler. In what way could you modify this simple experiment to increase the rigidity of the system?


    You could hold the ruler at its midpoint so that the part of the ruler that oscillates is half as long as in the original experiment.

    Exercise \(\PageIndex{2}\): Check your Understanding

    If you apply a deforming force on an object and let it come to equilibrium, what happened to the work you did on the system?


    It was stored in the object as potential energy.


    • An oscillation is a back and forth motion of an object between two points of deformation.
    • An oscillation may create a wave, which is a disturbance that propagates from where it was created.
    • The simplest type of oscillations and waves are related to systems that can be described by Hooke’s law: \( F = -kx\) where \(F\) is the \(x\) restoring force, \(PE_{el}\) is the displacement from equilibrium or deformation, and \(PE_{el} = (1/2)kx^2.\)k


    displacement from equilibrium
    elastic potential energy
    potential energy stored as a result of deformation of an elastic object, such as the stretching of a spring
    force constant
    a constant related to the rigidity of a system: the larger the force constant, the more rigid the system; the force constant is represented by k
    restoring force
    force acting in opposition to the force caused by a deformation


    • Paul Peter Urone (Professor Emeritus at California State University, Sacramento) and Roger Hinrichs (State University of New York, College at Oswego) with Contributing Authors: Kim Dirks (University of Auckland) and Manjula Sharma (University of Sydney). This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).