Topic 7.3

Representing and analysing SHM

Sinusoidal position, velocity and acceleration, phase and amplitude.

7 min read2 worked examples3 questions to check yourself

Big idea

The position of a simple harmonic oscillator is a sinusoid, x(t)=Acos⁡(ωt+ϕ)x(t) = A\cos(\omega t + \phi), and differentiating it gives a velocity and an acceleration that are sinusoids of the same frequency, a quarter and a half cycle out of step with the position.

Graph of x (m) against t (s): a smooth curve from t = 0 to 2.t (s)x (m)12-AA0at restfastestat rest

Position against time for x(t)=(0.10 m)cos⁡(πt)x(t) = (0.10\ \text{m})\cos(\pi t), which has A=0.10 mA = 0.10\ \text{m} and T=2.0 sT = 2.0\ \text{s}. The velocity is the slope of this graph: zero at the peaks and troughs, steepest where the curve crosses x=0x = 0.

Explanation

The solution of the SHM equation is x(t)=Acos⁡(ωt+ϕ)x(t) = A\cos(\omega t + \phi), and each constant has a job. The amplitude AA is the greatest distance from equilibrium. The angular frequency ω\omega is fixed by the system (k/m\sqrt{k/m} for a spring) and sets the period, T=2π/ωT = 2\pi/\omega. The phase constant ϕ\phi says where in its cycle the oscillator is at t=0t = 0. Released from rest at x=+Ax = +A, ϕ=0\phi = 0 and x=Acos⁡(ωt)x = A\cos(\omega t). Passing through equilibrium at t=0t = 0 moving in the positive direction, ϕ=−π/2\phi = -\pi/2, which is the same as x=Asin⁡(ωt)x = A\sin(\omega t).

Velocity and acceleration come from differentiating: v(t)=dxdt=−Aωsin⁡(ωt+ϕ)v(t) = \frac{dx}{dt} = -A\omega\sin(\omega t + \phi) and a(t)=dvdt=−Aω2cos⁡(ωt+ϕ)=−ω2xa(t) = \frac{dv}{dt} = -A\omega^2\cos(\omega t + \phi) = -\omega^2 x. Sine is largest where cosine is zero, so the speed peaks, at vmax=Aωv_{\text{max}} = A\omega, as the object passes through equilibrium, and is zero at the turning points. The acceleration does the opposite: it is zero at equilibrium and reaches amax=Aω2a_{\text{max}} = A\omega^2 at the turning points, always directed back toward x=0x = 0. The velocity graph for the motion in the picture shows the quarter-cycle shift.

Graph of v (m/s) against t (s): a smooth curve from t = 0 to 2.t (s)v (m/s)0.511.52-AωAω0

To read a graph, take AA from the height of a peak and TT from the time between neighbouring peaks, then ω=2π/T\omega = 2\pi/T. On a position graph the velocity is the slope; on a velocity graph the acceleration is the slope. To write the function from a description, fix AA and ϕ\phi from the position and velocity at t=0t = 0. The quantity ωt+ϕ\omega t + \phi is in radians, so a calculator must be in radian mode.

Equations

  • x(t)=Acos⁡(ωt+ϕ)x(t) = A\cos(\omega t + \phi)

    The displacement from equilibrium of a simple harmonic oscillator at any time.

    xx

    displacement from equilibrium (m)

    AA

    amplitude (greatest displacement) (m)

    ω\omega

    angular frequency (rad/s)

    tt

    time (s)

    ϕ\phi

    phase constant, set by the conditions at $t = 0$ (rad)
    Use it when

    You need the position at a given time, or want to write the motion from its amplitude, period and starting conditions.

    Not when

    Do not drop ϕ\phi unless the object starts at rest at x=+Ax = +A. Do not evaluate the cosine with a calculator set to degrees.

  • v(t)=dxdt=−Aωsin⁡(ωt+ϕ)v(t) = \frac{\mathrm{d}x}{\mathrm{d}t} = -A\omega\sin(\omega t + \phi)

    The velocity is the time derivative of the position: a sinusoid of the same frequency, a quarter cycle ahead.

    vv

    velocity (m/s)

    xx

    displacement from equilibrium (m)

    AA

    amplitude (m)

    ω\omega

    angular frequency (rad/s)

    tt

    time (s)

    ϕ\phi

    phase constant (rad)
    Use it when

    You want the velocity at a given time, or the direction of motion at a given instant.

    Not when

    It needs the same AA, ω\omega and ϕ\phi as the position function; if the position is written with a sine, differentiate that form instead.

  • a(t)=dvdt=−Aω2cos⁡(ωt+ϕ)=−ω2xa(t) = \frac{\mathrm{d}v}{\mathrm{d}t} = -A\omega^2\cos(\omega t + \phi) = -\omega^2 x

    The acceleration is the derivative of the velocity; it is always proportional to the displacement and opposite to it.

    aa

    acceleration (m/s^2)

    vv

    velocity (m/s)

    AA

    amplitude (m)

    ω\omega

    angular frequency (rad/s)

    tt

    time (s)

    ϕ\phi

    phase constant (rad)

    xx

    displacement from equilibrium (m)
    Use it when

    You want the acceleration at a time, or at a known position (use a=−ω2xa = -\omega^2 x).

    Not when

    Do not treat this acceleration as constant over any interval of the motion.

  • vmax=Aω,amax=Aω2v_{\text{max}} = A\omega, \qquad a_{\text{max}} = A\omega^2

    The greatest speed (at equilibrium) and the greatest acceleration (at the turning points).

    vmaxv_{\text{max}}

    maximum speed (m/s)

    amaxa_{\text{max}}

    maximum magnitude of the acceleration (m/s^2)

    AA

    amplitude (m)

    ω\omega

    angular frequency (rad/s)
    Use it when

    Linking the amplitude to the largest speed or acceleration, or reading one from a graph of another.

    Not when

    These are peak values at particular instants, not the values at an arbitrary time or position.

Where it comes from

Worked examples

  1. When the block reaches a given position

    Step by step

    A block on a spring moves according to x(t)=(0.080 m)cos⁡(5.0t)x(t) = (0.080\ \text{m})\cos(5.0t), with tt in seconds and the angle in radians. At what time does the block first reach x=−0.040 mx = -0.040\ \text{m}, and how fast is it moving then?

    0 of 4 steps
  2. Amplitude and frequency from two snapshots

    Written as an exam answer

    A motion sensor watches a cart oscillating in simple harmonic motion on a spring. When the cart is 0.060 m0.060\ \text{m} from equilibrium its speed is 0.40 m/s0.40\ \text{m/s}; when it is 0.080 m0.080\ \text{m} from equilibrium its speed is 0.30 m/s0.30\ \text{m/s}. Determine the angular frequency and the amplitude of the motion.

    1. Step 1:

      At any instant the time can be treated as a new t=0t = 0, so the relation from the derivation holds at every point of the motion: x2+(v/ω)2=A2x^2 + (v/\omega)^2 = A^2.

    2. Step 2:

      Write it for both snapshots: x12+v12/ω2=A2x_1^2 + v_1^2/\omega^2 = A^2 and x22+v22/ω2=A2x_2^2 + v_2^2/\omega^2 = A^2. Subtract to remove AA: ω2=v12−v22x22−x12=0.16−0.0900.0064−0.0036 s−2=25 s−2\omega^2 = \dfrac{v_1^2 - v_2^2}{x_2^2 - x_1^2} = \dfrac{0.16 - 0.090}{0.0064 - 0.0036}\ \text{s}^{-2} = 25\ \text{s}^{-2}, so ω=5.0 rad/s\omega = 5.0\ \text{rad/s}.

    3. Step 3:

      Then A=x12+(v1/ω)2=(0.060)2+(0.40/5.0)2 m=0.10 mA = \sqrt{x_1^2 + (v_1/\omega)^2} = \sqrt{(0.060)^2 + (0.40/5.0)^2}\ \text{m} = 0.10\ \text{m}.

    4. Step 4:

      Check with the second snapshot: (0.080)2+(0.30/5.0)2=0.10 m\sqrt{(0.080)^2 + (0.30/5.0)^2} = 0.10\ \text{m}, as it must be.

    5. Step 5:

      The signs of xx and vv were not needed: only squares enter.

    Answer

    ω=5.0 rad/s\omega = 5.0\ \text{rad/s} and A=0.10 mA = 0.10\ \text{m}

Common mistakes

  • Mistake

    The oscillator moves fastest at the ends of its motion, where the force on it is largest.

    What is true

    A large force means a large acceleration, not a large speed. At the ends the object is momentarily at rest; the force then speeds it up all the way in to equilibrium, where the speed peaks at AωA\omega.

  • Mistake

    At a turning point the velocity is zero, so the acceleration is zero there too.

    What is true

    Zero velocity does not mean zero acceleration. At a turning point the velocity is changing sign, and the acceleration has its greatest magnitude, Aω2A\omega^2.

  • Mistake

    Every SHM problem starts from x=Acos⁡(ωt)x = A\cos(\omega t).

    What is true

    That form assumes the object is at x=+Ax = +A and at rest when t=0t = 0. Any other start needs a phase constant; an object passing through equilibrium at t=0t = 0, for example, is described by a sine.

  • Mistake

    The phase ωt+ϕ\omega t + \phi is an angle you could measure somewhere on the apparatus.

    What is true

    Nothing in a block-and-spring system turns through that angle. The phase is just the argument of the cosine: it tracks how far through its cycle the oscillator is, with one full cycle counted as 2π2\pi radians.

Check yourself

  1. 1.

    An oscillator has amplitude 0.050 m0.050\ \text{m} and angular frequency 4.0 rad/s4.0\ \text{rad/s}. What are its maximum speed and maximum acceleration, and where does each occur?

  2. 2.

    At t=0t = 0 an oscillator is at x=0x = 0 and moving in the negative direction. What is its phase constant in x=Acos⁡(ωt+ϕ)x = A\cos(\omega t + \phi)?

  3. 3.

    On a position–time graph of SHM, how do you find the instants at which the acceleration is zero?

Try it

x(t)=(0.10 m)cos⁡(πt+ϕ)x(t) = (0.10\ \text{m})\cos(\pi t + \phi). Change the phase constant: the curve keeps its amplitude and period and slides along the time axis, and the starting position and velocity change with it.

0 rad
Graph of x (m) against t (s): a smooth curve from t = 0 to 4.t (s)x (m)1234-0.10.10x0 = 0.1 m, v0 = 0 m/s

Builds on

Practice 7.3 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.