Topic 7.1

Defining simple harmonic motion

A restoring force proportional to displacement from equilibrium produces SHM.

6 min read2 worked examples3 questions to check yourself

Big idea

Simple harmonic motion is the back-and-forth motion that results when the net force on an object always points toward an equilibrium position and is directly proportional to the object's displacement from it.

Diagram showing a wall, a block m, a spring, arrow F_s = -kx.mequilibriumxFs = -kx

A block on a spring has been pulled a displacement xx to the right of its equilibrium position. The spring pulls it back to the left, toward equilibrium, with a force of size kxkx. Pull it twice as far and the force doubles.

Explanation

Every oscillator has an equilibrium position, where the net force on it is zero. Move it away and a restoring force appears that points back toward equilibrium. The motion is simple harmonic motion (SHM) when that restoring force is directly proportional to the displacement: twice as far from equilibrium, twice the force pulling back.

An ideal spring does exactly this. Measure the position xx from equilibrium; the spring's force is Fs=−kxF_s = -kx, where the spring constant kk says how stiff the spring is. The minus sign means the force is always opposite to the displacement: with the block to the right (x>0x > 0) the force points left, and with the block to the left (x<0x < 0) it points right. Newton's second law then gives the acceleration, a=−(k/m)xa = -(k/m)x. This acceleration changes as xx changes, so the constant-acceleration equations from kinematics do not apply to an oscillator.

Follow one cycle. Released from rest at x=+Ax = +A, the block feels its largest force and speeds up toward equilibrium. At x=0x = 0 the force is zero, but the fast-moving block's inertia carries it through. Now the force points the other way and slows the block until it stops for an instant at x=−Ax = -A, a turning point, and the motion runs in reverse. The amplitude AA is the greatest distance from equilibrium.

Other systems qualify too. A mass on a vertical spring oscillates in SHM about the position where it hangs at rest. A pendulum swinging through small angles (less than about 15∘15^\circ) is very nearly in SHM, because the part of the gravitational force pulling it back along its arc is then almost proportional to how far it has swung. Not everything that repeats is SHM, though: the force on a bouncing ball in flight is constant.

Equations

  • Fs=−kxF_s = -kx

    An ideal spring pulls or pushes back toward equilibrium with a force proportional to the displacement from equilibrium.

    FsF_s

    force exerted by the spring, along the line of motion (N)

    kk

    spring constant (stiffness) (N/m)

    xx

    displacement from the equilibrium position, with sign (m)
    Use it when

    You want the restoring force at a known displacement, or the spring constant from a measured force and stretch.

    Not when

    Do not measure xx from the wall or from the end of the track; it is measured from equilibrium. The law fails for a spring stretched so far that it deforms.

  • a=−km xa = -\frac{k}{m}\,x

    When the spring force is the net force, the acceleration is proportional to the displacement and opposite to it.

    aa

    acceleration of the object, with sign (m/s²)

    kk

    spring constant (N/m)

    mm

    mass of the oscillating object (kg)

    xx

    displacement from equilibrium, with sign (m)
    Use it when

    You need the acceleration at one position, or you are testing whether a motion is simple harmonic (is aa proportional to −x-x?).

    Not when

    It is the acceleration at one instant only. Do not put it into v=v0+atv = v_0 + at or Δx=v0t+12at2\Delta x = v_0 t + \tfrac{1}{2}at^2: those need a constant acceleration.

Worked examples

  1. Force and acceleration at the moment of release

    Step by step

    A 0.40 kg0.40\ \text{kg} block on a level, frictionless surface is attached to a spring of spring constant 50 N/m50\ \text{N/m}. The block is pulled 0.060 m0.060\ \text{m} to the right of its equilibrium position and released from rest. What is the block's acceleration at the instant it is released?

    0 of 3 steps
  2. A mass hanging from a spring

    Written as an exam answer

    A 0.25 kg0.25\ \text{kg} mass is hung from a vertical spring and lowered gently until it hangs at rest, with the spring stretched 0.049 m0.049\ \text{m} beyond its natural length. Use g=9.8 m/s2g = 9.8\ \text{m/s}^2. (a) Determine the spring constant. (b) The mass is then pulled a little farther down and released. Explain why the motion that follows is simple harmonic.

    1. Step 1:

      (a) While the mass hangs at rest, the upward spring force balances the downward gravitational force, so kd=mgkd = mg, where dd is the stretch.

    2. Step 2:

      k=mgd=(0.25 kg)(9.8 m/s2)0.049 m=2.45 N0.049 m=50 N/mk = \dfrac{mg}{d} = \dfrac{(0.25\ \text{kg})(9.8\ \text{m/s}^2)}{0.049\ \text{m}} = \dfrac{2.45\ \text{N}}{0.049\ \text{m}} = 50\ \text{N/m}.

    3. Step 3:

      (b) Let yy be how far the mass is below its hanging position. The spring is now stretched d+yd + y and pulls up with k(d+y)k(d + y), while gravity pulls down with mgmg. The net upward force is k(d+y)−mg=kyk(d + y) - mg = ky, because kd=mgkd = mg.

    4. Step 4:

      So the net force has size kyky and points up when the mass is below the hanging position; the same algebra shows it points down when the mass is above. A net force toward equilibrium, proportional to the displacement, is the condition for simple harmonic motion.

    5. Step 5:

      Gravity's only effect is to move the equilibrium position down by dd.

    Answer

    k=50 N/mk = 50\ \text{N/m}; the net force, kyky toward the hanging position, is proportional to the displacement

Common mistakes

  • Mistake

    The block is moving fastest as it passes through equilibrium, so the force on it must be largest there.

    What is true

    At equilibrium the displacement is zero, so the force and the acceleration are zero. The block is fast there because the force has been speeding it up all the way in. The force is largest at the turning points.

  • Mistake

    The minus sign in Fs=−kxF_s = -kx means the spring force is always negative, so it always points left.

    What is true

    The sign means opposite to the displacement. Left of equilibrium, xx is negative and the force is positive, to the right.

  • Mistake

    Any motion that repeats itself is simple harmonic motion.

    What is true

    Repeating makes a motion periodic. It is simple harmonic only if the restoring force is proportional to the displacement from equilibrium. A cart rolling between two bumpers is periodic but not simple harmonic.

Check yourself

  1. 1.

    A block on a horizontal spring is at its left-hand turning point, x=−Ax = -A. Taking right as positive, what are the signs of its displacement, velocity and acceleration?

  2. 2.

    A spring pulls back with 6 N6\ \text{N} when it is stretched 0.03 m0.03\ \text{m} from equilibrium. How large is the restoring force at 0.09 m0.09\ \text{m}?

  3. 3.

    A marble rolls back and forth in a V-shaped track made of two straight ramps. Is its motion simple harmonic?

Try it

A block on a spring with k=40 N/mk = 40\ \text{N/m}. Move the block to either side of the dashed equilibrium line: the spring force always points back toward the line, and it grows in step with the displacement.

0.1 m
Diagram showing a wall, a block m, a spring.mx = 10 cmFs = -4 N

Builds on

Practice 7.1 with feedback

Problem sets for Unit 7 grade themselves, and Raise hints at the next step instead of giving the answer.

Spotted a mistake in this lesson? Tell us and we will fix it.