1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 11
  5. Equation of SHM

Equation of SHM

Build x = A cos(ωt + φ) from a point going round a circle, see what each symbol does, and change the amplitude, the angular frequency and the phase constant one at a time on a graph.

Interactive 3DPhysicsIntermediate7 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • In The reference circle, where does the body start when φ = π/2?
    • In Changing A, ω and φ, which change moves the curve sideways without changing its shape?
    • Write the equation for an oscillation of amplitude 4 cm and period 0.5 s that starts at x = +4 cm.

    Building the equation

    In the 3D model, choose The reference circle. A point moves round a circle of radius A at angular speed ω, starting at angle φ. At time t its angle is ωt+ϕ\omega t + \phi, and its shadow on the x axis is at

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

    This is the equation of SHM. Each symbol has a meaning:

    Symbol Name Meaning
    A amplitude radius of the circle: largest displacement
    ω angular frequency angular speed of the point: ω=2π/T=2πν\omega = 2\pi/T = 2\pi\nu
    ωt + φ phase angle of the radius now: where the body is and which way it moves
    φ phase constant (initial phase) angle at t = 0: where the motion started

    With φ = 0 the body starts at the right end, x = +A. With φ = π/2 it starts at the middle, moving left: x=Acos⁡(ωt+π/2)=−Asin⁡ωtx = A\cos(\omega t + \pi/2) = -A\sin\omega t. Sine and cosine describe the same motion; they differ only by a phase of π/2.

    Changing A, ω and φ

    Choose Changing A, ω and φ. Against the curve x = 10 cos(πt) cm:

    • halving A halves the height of every peak; the timing is unchanged;
    • doubling ω halves the period, so twice as many oscillations fit in;
    • changing φ slides the curve sideways without changing its shape.

    The equation behind it

    Since a=d2xdt2=−ω2xa = \dfrac{d^{2}x}{dt^{2}} = -\omega^{2}x for SHM,

    d2xdt2+ω2x=0\dfrac{d^{2}x}{dt^{2}} + \omega^{2}x = 0

    and every solution of this equation has the form Acos⁡(ωt+ϕ)A\cos(\omega t + \phi): A and φ are set by how the motion is started.

    Worked example

    A particle in SHM has amplitude 4 cm and period 0.5 s. At t = 0 it is at x = +2 cm, moving towards the mean position. Write its equation.

    1. ω=2π0.5=4π rad/s\omega = \dfrac{2\pi}{0.5} = 4\pi\ \text{rad/s}.
    2. At t = 0: 4cos⁡ϕ=24\cos\phi = 2, so cos⁡ϕ=12\cos\phi = \tfrac{1}{2} and ϕ=±π3\phi = \pm\tfrac{\pi}{3}. Moving towards x = 0 means v < 0, so sin⁡ϕ>0\sin\phi > 0: ϕ=+π3\phi = +\tfrac{\pi}{3}.
    3. x = 4 cos(4πt + π/3) cm.

    Remember: x = A cos(ωt + φ): A is the amplitude, ω = 2π/T, ωt + φ is the phase and φ is its value at t = 0.

    Formulas and where to use them

    Equation of SHM

    x(t)=Acos⁡(ωt+ϕ)x(t) = A\cos(\omega t + \phi)
    where
    AA
    amplitude (m)
    ω\omega
    angular frequency, 2π/T (rad/s)
    ωt+ϕ\omega t + \phi
    phase (rad)
    ϕ\phi
    phase constant: the phase at t = 0 (rad)

    Use it when: Writing down the motion of any body in SHM.

    Differential equation of SHM

    d2xdt2+ω2x=0\dfrac{d^{2}x}{dt^{2}} + \omega^{2}x = 0
    where
    d2xdt2\dfrac{d^{2}x}{dt^{2}}
    acceleration

    Use it when: Every solution of this equation is x = A cos(ωt + φ).

    Common mistakes

    • Using degrees for ωt in a calculator set to radians (or the other way round). ω is in rad/s, so ωt + φ is in radians.
    • Thinking sine and cosine give different motions. A sin(ωt) = A cos(ωt − π/2): the same motion with a different phase constant.
    • Reading φ as an angle in space. It is an angle of the reference circle, telling where the motion starts.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. In x = 0.05 cos(4πt + π/3), the period is…

    2. In that equation the amplitude is…

    3. A body in SHM starts at the mean position moving in the positive direction. With x = A cos(ωt + φ), φ is…

    4. Doubling ω in x = A cos(ωt) makes the period…

    5. x = A sin ωt is the same motion as…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Equation of SHM. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.