Topic 7.1

Defining simple harmonic motion (SHM)

Restoring force proportional to displacement and the equation of motion it gives.

7 min read2 worked examples3 questions to check yourself

Big idea

Simple harmonic motion is the motion that results whenever the net force on an object is a restoring force proportional to its displacement from equilibrium, because Newton's second law then becomes the differential equation d2xdt2=−ω2x\frac{d^2x}{dt^2} = -\omega^2 x.

Diagram showing a wall, a block m, a spring, arrow F = -kx.mx = 0xF = -kx

A block on a frictionless surface, pulled a distance xx to the right of its equilibrium position. The stretched spring pulls it back to the left with a force −kx-kx: the further the block is from x=0x = 0, the harder it is pulled back.

Explanation

Every oscillator has an equilibrium position, where the net force on it is zero, and a restoring force that pushes it back toward that position whenever it is displaced. Simple harmonic motion (SHM) is the special case in which that force is directly proportional to the displacement: twice as far from equilibrium, twice the force. An ideal spring does exactly this. With xx measured from equilibrium, F=−kxF = -kx, and the minus sign says the force always points opposite to the displacement.

Put that force into Newton's second law and write the acceleration as a derivative: m d2xdt2=−kxm\,\frac{d^2x}{dt^2} = -kx. This is an equation for the function x(t)x(t). The acceleration changes with position at every instant, so the constant-acceleration equations are useless here. We need a function whose second derivative is a negative constant times itself. Sines and cosines do that, and the solution is x(t)=Acos⁡(ωt+ϕ)x(t) = A\cos(\omega t + \phi) with ω=k/m\omega = \sqrt{k/m}.

The equation is the test for SHM. If Newton's second law for any system can be put in the form d2xdt2=−(positive constant) x\frac{d^2x}{dt^2} = -(\text{positive constant})\,x, the motion is simple harmonic and the constant is ω2\omega^2. A block hanging from a vertical spring passes the test (see the derivation), and so does a particle near the bottom of any smooth potential-energy well, where F=−dUdx≈−keff xF = -\frac{dU}{dx} \approx -k_{\text{eff}}\,x.

Equations

  • Fnet=−kxF_{\text{net}} = -kx

    The net force is a restoring force proportional to the displacement from equilibrium: the condition for simple harmonic motion.

    FnetF_{\text{net}}

    net force on the object, along the line of motion (N)

    kk

    spring constant (or the effective stiffness of the restoring force) (N/m)

    xx

    displacement from the equilibrium position (m)
    Use it when

    You are checking whether a motion is simple harmonic, or finding the force or acceleration at a known displacement.

    Not when

    If xx is not measured from equilibrium, or the restoring force is not proportional to displacement (a constant force, or one that goes as x3x^3), the motion is not simple harmonic.

  • d2xdt2=−ω2x\frac{\mathrm{d}^2x}{\mathrm{d}t^2} = -\omega^2 x

    The equation of motion of every simple harmonic oscillator: the acceleration is proportional to the displacement and opposite to it.

    xx

    displacement from equilibrium (m)

    tt

    time (s)

    ω\omega

    angular frequency; $\omega^2 = k/m$ for a mass on a spring (rad/s)
    Use it when

    You have written Newton's second law for an oscillator and want to recognise SHM and read off ω2\omega^2 as the constant multiplying xx.

    Not when

    Friction or drag adds a term that depends on velocity, and the motion is then damped rather than simple harmonic.

  • keff=d2Udx2∣x0k_{\text{eff}} = \left.\frac{\mathrm{d}^2U}{\mathrm{d}x^2}\right|_{x_0}

    Near a stable equilibrium any smooth potential energy acts like a spring whose stiffness is the curvature of the potential-energy graph at its minimum.

    keffk_{\text{eff}}

    effective spring constant for small oscillations (N/m)

    UU

    potential energy as a function of position (J)

    xx

    position (m)

    x0x_0

    position of the stable equilibrium (the minimum of the potential energy) (m)
    Use it when

    You are given U(x)U(x) and asked about small oscillations about its minimum.

    Not when

    The oscillations are large enough for the potential energy to depart from a parabola, or the equilibrium is unstable (a maximum, where the second derivative is negative).

Where it comes from

Worked examples

  1. Acceleration on a spring along a slope

    Step by step

    A 0.50 kg0.50\ \text{kg} block rests on a frictionless ramp inclined at 30∘30^\circ, held by a spring of spring constant 40 N/m40\ \text{N/m} fixed at the top of the ramp. The block is pulled 0.050 m0.050\ \text{m} down the slope from its equilibrium position and released. Taking down the slope as positive, what is its acceleration at the instant of release? Use g=9.8 m/s2g = 9.8\ \text{m/s}^2.

    0 of 3 steps
  2. Showing that a block on two springs in series moves in SHM

    Written as an exam answer

    A 0.20 kg0.20\ \text{kg} block on a level, frictionless surface is joined to a wall by two light springs connected end to end: k1=30 N/mk_1 = 30\ \text{N/m} next to the wall and k2=60 N/mk_2 = 60\ \text{N/m} next to the block. (a) Show that the block moves in simple harmonic motion when displaced along the line of the springs. (b) Determine the angular frequency.

    Diagram showing a wall, a block 0.20 kg, a spring, a spring.k1k20.20 kg
    1. Step 1:

      (a) Let xx be the block's displacement from equilibrium, where both springs are relaxed. The springs are light, so the net force on their junction is zero: both carry the same tension TT.

    2. Step 2:

      Each spring stretches by its own amount, x1=T/k1x_1 = T/k_1 and x2=T/k2x_2 = T/k_2, and together they make up the block's displacement: x=x1+x2=T(1k1+1k2)x = x_1 + x_2 = T\left(\dfrac{1}{k_1} + \dfrac{1}{k_2}\right).

    3. Step 3:

      The spring next to the block pulls it back with force TT, so Fnet=−keff xF_{\text{net}} = -k_{\text{eff}}\,x with 1keff=1k1+1k2\dfrac{1}{k_{\text{eff}}} = \dfrac{1}{k_1} + \dfrac{1}{k_2}. Newton's second law gives d2xdt2=−keffm x\dfrac{d^2x}{dt^2} = -\dfrac{k_{\text{eff}}}{m}\,x: simple harmonic motion.

    4. Step 4:

      (b) keff=k1k2k1+k2=(30)(60)90 N/m=20 N/mk_{\text{eff}} = \dfrac{k_1k_2}{k_1 + k_2} = \dfrac{(30)(60)}{90}\ \text{N/m} = 20\ \text{N/m}, softer than either spring alone. Then ω=20 N/m0.20 kg=10 rad/s\omega = \sqrt{\dfrac{20\ \text{N/m}}{0.20\ \text{kg}}} = 10\ \text{rad/s}.

    Answer

    The net force is −keffx-k_{\text{eff}}x with keff=k1k2/(k1+k2)k_{\text{eff}} = k_1k_2/(k_1 + k_2), so the motion is simple harmonic with ω=10 rad/s\omega = 10\ \text{rad/s}

Common mistakes

  • Mistake

    I know the acceleration at release, so I can use x=12at2x = \tfrac{1}{2}at^2 to find how long the block takes to reach equilibrium.

    What is true

    The acceleration is −ω2x-\omega^2 x, so it shrinks as the block approaches equilibrium. The constant-acceleration equations do not apply; released from rest, the block takes a quarter of a period.

  • Mistake

    The block's acceleration is greatest as it rushes through the equilibrium position.

    What is true

    At equilibrium the net force is zero, so the acceleration is zero there, even though the speed is greatest. It is largest at the two ends of the motion, where the block is momentarily at rest.

  • Mistake

    Anything that moves back and forth is in simple harmonic motion.

    What is true

    SHM needs a restoring force proportional to displacement. A bouncing ball repeats, but between bounces the force on it is constant (its weight), so its motion is periodic without being simple harmonic.

Check yourself

  1. 1.

    An object's equation of motion is d2xdt2=−25x\frac{d^2x}{dt^2} = -25x, with xx in metres and tt in seconds. Is the motion simple harmonic, and if so what is ω\omega?

  2. 2.

    A block on a spring is at its greatest distance from equilibrium. What are its velocity and acceleration doing at that instant?

  3. 3.

    A block hanging from a vertical spring is pulled down a little and released. Why does gravity not appear in its equation of motion?

Try it

A block on a spring with k=40 N/mk = 40\ \text{N/m}. Move the block either side of equilibrium: the force arrow always points back toward x=0x = 0 and its length grows in proportion to the displacement.

0.1 m
Diagram showing a wall, a block m, a spring.mx = 0x = 0.1 m, F = -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.