SHM Equations

Updated 22 Mar 2026

Simple Harmonic Motion (SHM) is a special type of periodic motion where the restoring force acting on the oscillating body is directly proportional to its displacement from the equilibrium position and always directed towards that equilibrium. This fundamental relationship gives rise to a set of characteristic equations that describe the body's position, velocity, and acceleration as functions of …

Quick Summary

Simple Harmonic Motion (SHM) is a specific type of oscillatory motion where the restoring force is directly proportional to the displacement from equilibrium and always directed towards it. This leads to characteristic sinusoidal equations for displacement, velocity, and acceleration.

The displacement is given by x(t)=Asin(ωt+ϕ)x(t) = A \sin(\omega t + \phi), where AA is amplitude, ω\omega is angular frequency, and ϕ\phi is initial phase. Velocity, v(t)=Aωcos(ωt+ϕ)v(t) = A\omega \cos(\omega t + \phi), is the rate of change of displacement, and is maximum at equilibrium.

Acceleration, a(t)=Aω2sin(ωt+ϕ)=ω2x(t)a(t) = -A\omega^2 \sin(\omega t + \phi) = -\omega^2 x(t), is the rate of change of velocity, and is maximum at the extreme positions. The negative sign in acceleration signifies its restoring nature.

Key parameters include time period T=2π/ωT = 2\pi/\omega and frequency f=1/T=ω/(2π)f = 1/T = \omega/(2\pi). Total mechanical energy in SHM, E=12mA2ω2E = \frac{1}{2}m A^2\omega^2, remains constant, with continuous interconversion between kinetic and potential energy.

Full explanation

Simple Harmonic Motion (SHM) is a cornerstone concept in physics, describing a specific type of oscillatory motion that is both periodic and sinusoidal. The defining characteristic of SHM is the nature of the restoring force: it is directly proportional to the displacement from the equilibrium position and always acts to bring the object back to that equilibrium.

Mathematically, this is expressed by Hooke's Law for a spring-mass system, F=kxF = -kx, where FF is the restoring force, kk is the spring constant, and xx is the displacement. The negative sign indicates that the force is always opposite to the displacement.

1. Conceptual Foundation: The Differential Equation of SHM

From Newton's second law, F=maF = ma, we can equate the restoring force to mama: ma=kxma = -kx. Rearranging this, we get a=kmxa = -\frac{k}{m}x. Since acceleration is the second derivative of displacement with respect to time (a=d2xdt2a = \frac{d^2x}{dt^2}), we arrive at the fundamental differential equation for SHM:

d2xdt2+kmx=0\frac{d^2x}{dt^2} + \frac{k}{m}x = 0
To simplify, we define ω2=km\omega^2 = \frac{k}{m}, where ω\omega is the angular frequency.

Thus, the equation becomes:

d2xdt2+ω2x=0\frac{d^2x}{dt^2} + \omega^2x = 0
The solutions to this second-order linear differential equation are sinusoidal functions. This is where the SHM equations for displacement, velocity, and acceleration originate.

2. Key Principles and Derivations: The SHM Equations

a) Displacement Equation:

The general solution to the differential equation is:

x(t)=Asin(ωt+ϕ)x(t) = A \sin(\omega t + \phi)
or
x(t)=Acos(ωt+ϕ)x(t) = A \cos(\omega t + \phi)
where:

  • x(t)x(t) is the displacement from the equilibrium position at time tt.
  • AA is the amplitude, the maximum displacement from equilibrium. It's always positive.
  • ω\omega is the angular frequency, measured in radians per second (rad/s). It's related to the system's properties (like kk and mm for a spring-mass system, or gg and LL for a simple pendulum: ω=gL\omega = \sqrt{\frac{g}{L}}).
  • tt is the time.
  • ϕ\phi is the initial phase angle (or phase constant), measured in radians. It determines the initial position of the oscillator at t=0t=0. For example, if ϕ=0\phi = 0, x(0)=Asin(0)=0x(0) = A \sin(0) = 0 (starts at equilibrium). If ϕ=π2\phi = \frac{\pi}{2}, x(0)=Asin(π2)=Ax(0) = A \sin(\frac{\pi}{2}) = A (starts at positive extreme).

b) Velocity Equation:

Velocity is the first derivative of displacement with respect to time: v(t)=dxdtv(t) = \frac{dx}{dt}. If x(t)=Asin(ωt+ϕ)x(t) = A \sin(\omega t + \phi):

v(t)=ddt[Asin(ωt+ϕ)]=Aωcos(ωt+ϕ)v(t) = \frac{d}{dt} [A \sin(\omega t + \phi)] = A\omega \cos(\omega t + \phi)
If x(t)=Acos(ωt+ϕ)x(t) = A \cos(\omega t + \phi):
v(t)=ddt[Acos(ωt+ϕ)]=Aωsin(ωt+ϕ)v(t) = \frac{d}{dt} [A \cos(\omega t + \phi)] = -A\omega \sin(\omega t + \phi)
The maximum velocity, vmaxv_{max}, occurs when cos(ωt+ϕ)=±1\cos(\omega t + \phi) = \pm 1 (or sin(ωt+ϕ)=±1\sin(\omega t + \phi) = \pm 1), so vmax=Aωv_{max} = A\omega.

This occurs when the object passes through the equilibrium position (x=0x=0). At the extreme positions (x=±Ax = \pm A), the velocity is momentarily zero.

c) Acceleration Equation:

Acceleration is the first derivative of velocity with respect to time, or the second derivative of displacement: a(t)=dvdt=d2xdt2a(t) = \frac{dv}{dt} = \frac{d^2x}{dt^2}. If v(t)=Aωcos(ωt+ϕ)v(t) = A\omega \cos(\omega t + \phi):

a(t)=ddt[Aωcos(ωt+ϕ)]=Aω2sin(ωt+ϕ)a(t) = \frac{d}{dt} [A\omega \cos(\omega t + \phi)] = -A\omega^2 \sin(\omega t + \phi)
If v(t)=Aωsin(ωt+ϕ)v(t) = -A\omega \sin(\omega t + \phi):
a(t)=ddt[Aωsin(ωt+ϕ)]=Aω2cos(ωt+ϕ)a(t) = \frac{d}{dt} [-A\omega \sin(\omega t + \phi)] = -A\omega^2 \cos(\omega t + \phi)
Notice that a(t)=ω2x(t)a(t) = -\omega^2 x(t).

This confirms the defining characteristic of SHM. The maximum acceleration, amaxa_{max}, occurs when sin(ωt+ϕ)=±1\sin(\omega t + \phi) = \pm 1 (or cos(ωt+ϕ)=±1\cos(\omega t + \phi) = \pm 1), so amax=Aω2a_{max} = A\omega^2. This occurs at the extreme positions (x=±Ax = \pm A), where the restoring force is maximum.

At the equilibrium position (x=0x=0), the acceleration is zero.

  • Time Period (T):The time taken for one complete oscillation. T=2πωT = \frac{2\pi}{\omega}. Measured in seconds (s).
  • Frequency (f):The number of oscillations per unit time. f=1T=ω2πf = \frac{1}{T} = \frac{\omega}{2\pi}. Measured in Hertz (Hz) or s1^{-1}.

4. Energy in SHM:

  • Kinetic Energy (KE):KE=12mv2=12mA2ω2cos2(ωt+ϕ)KE = \frac{1}{2}mv^2 = \frac{1}{2}m A^2\omega^2 \cos^2(\omega t + \phi). It is maximum at equilibrium and zero at extremes.
  • Potential Energy (PE):For a spring-mass system, PE=12kx2=12mω2x2=12mω2A2sin2(ωt+ϕ)PE = \frac{1}{2}kx^2 = \frac{1}{2}m\omega^2 x^2 = \frac{1}{2}m\omega^2 A^2 \sin^2(\omega t + \phi). It is maximum at extremes and zero at equilibrium.
  • Total Mechanical Energy (E):E=KE+PE=12mA2ω2cos2(ωt+ϕ)+12mω2A2sin2(ωt+ϕ)E = KE + PE = \frac{1}{2}m A^2\omega^2 \cos^2(\omega t + \phi) + \frac{1}{2}m\omega^2 A^2 \sin^2(\omega t + \phi). Using cos2θ+sin2θ=1\cos^2\theta + \sin^2\theta = 1, we get:

E=12mA2ω2E = \frac{1}{2}m A^2\omega^2
This shows that the total mechanical energy in SHM is constant and proportional to the square of the amplitude and the square of the angular frequency. This is a crucial result, demonstrating energy conservation in an ideal SHM system.

5. Real-World Applications:

SHM equations are not just theoretical constructs; they describe a vast array of physical phenomena:

  • Mass-spring systems:Vibrations of car suspensions, weighing scales.
  • Simple pendulums:Grandfather clocks, metronomes (for small angles).
  • Molecular vibrations:Atoms in molecules vibrate about their equilibrium positions, which can be approximated as SHM.
  • AC circuits:The current and voltage in an LC circuit oscillate harmonically.
  • Sound waves:The displacement of air particles due to sound propagation can be modeled using SHM principles.

6. Common Misconceptions:

  • SHM vs. Periodic Motion:All SHM is periodic, but not all periodic motion is SHM. For SHM, the restoring force must be proportional to displacement. For example, uniform circular motion is periodic but not SHM (unless projected onto a diameter).
  • Phase Angle:Students often confuse the initial phase ϕ\phi with the total phase (ωt+ϕ)(\omega t + \phi). The initial phase sets the starting condition, while the total phase evolves with time.
  • Velocity and Acceleration at Extremes:At the extreme positions, velocity is zero, but acceleration is maximum (and directed towards equilibrium). At the equilibrium position, velocity is maximum, but acceleration is zero.
  • Energy Distribution:Kinetic and potential energy continuously interchange, but their sum (total mechanical energy) remains constant in an ideal SHM system.

7. NEET-Specific Angle:

NEET questions on SHM equations often test the following:

  • Direct application of formulas:Calculating A,ω,T,f,vmax,amaxA, \omega, T, f, v_{max}, a_{max} given an equation or vice versa.
  • Interpreting graphs:Identifying displacement, velocity, and acceleration graphs for SHM and their phase relationships.
  • Energy conservation:Problems involving the total energy, kinetic energy, and potential energy at different points in the oscillation.
  • Phase relationships:Understanding that velocity leads displacement by π/2\pi/2 (or 9090^\circ) and acceleration leads velocity by π/2\pi/2 (or 9090^\circ), or acceleration is 180180^\circ out of phase with displacement.
  • Deriving parameters from initial conditions:Given x(0)x(0) and v(0)v(0), determine AA and ϕ\phi.
  • Comparison with UCM:Understanding that SHM is the projection of UCM onto a diameter.
  • Effect of changing parameters:How changing mass, spring constant, or length of pendulum affects T,f,ωT, f, \omega.

Key Concepts

Phase and Phase Difference

The argument of the sinusoidal function, (ωt+ϕ)(\omega t + \phi), is called the phase of the oscillation. It…

Relationship between x,v,ax, v, a and Energy

The equations for displacement, velocity, and acceleration are intrinsically linked. v=dx/dtv = dx/dt and $a =…

Determining Amplitude and Phase from Initial Conditions

Given the initial displacement x0x_0 and initial velocity v0v_0 at t=0t=0, we can uniquely determine the…

Often confused with

Side-by-side differences the NEET paper likes to test.

SHM Equations vs Uniform Circular Motion (UCM)
AspectSHM EquationsUniform Circular Motion (UCM)
Nature of MotionOscillatory, back-and-forth along a straight line.Circular path with constant speed.
Restoring Force/AccelerationForce/acceleration is proportional to displacement and directed towards equilibrium ($F = -kx$, $a = -\omega^2 x$).Centripetal force/acceleration is constant in magnitude and directed towards the center of the circle ($a_c = v^2/r = \omega^2 r$). Its direction continuously changes.
Speed/VelocitySpeed varies, maximum at equilibrium, zero at extremes.Speed is constant, but velocity direction continuously changes.
ProjectionCan be viewed as the projection of UCM onto a diameter.Its projection onto a diameter results in SHM.
EnergyContinuous interconversion between KE and PE, total energy conserved.Kinetic energy is constant (assuming constant speed), no potential energy change due to motion itself (unless external fields are considered).

While both Simple Harmonic Motion (SHM) and Uniform Circular Motion (UCM) are periodic, their fundamental dynamics differ significantly. SHM is a linear, oscillatory motion driven by a restoring force proportional to displacement, leading to varying speed and acceleration.

UCM is motion along a circular path at constant speed, driven by a constant magnitude centripetal force. The crucial link is that SHM can be understood as the projection of UCM onto any diameter of the circle.

This means the mathematical equations describing SHM (sinusoidal functions) can be derived from the components of position, velocity, and acceleration in UCM.

Why it is tested: NEET relevance

Questions students ask

6 answered on this topic.

What is the primary difference between general periodic motion and Simple Harmonic Motion (SHM)?

While all SHM is periodic, not all periodic motion is SHM. The key distinction lies in the nature of the restoring force. For SHM, the restoring force must be directly proportional to the displacement from the equilibrium position and always directed towards it (F=kxF = -kx).

In general periodic motion, the motion repeats after a fixed interval, but the restoring force might not follow this linear relationship. For example, the motion of a bouncing ball is periodic but not SHM because the restoring force (gravity and normal force) doesn't linearly depend on displacement in the same way.

Why are there two forms of the displacement equation, $A \sin(\omega t + \phi)$ and $A \cos(\omega t + \phi)$? Which one should I use?

Both forms are mathematically equivalent and describe the same physical motion. The choice between sine and cosine depends on the initial conditions (the state of the oscillator at t=0t=0). If the oscillator starts at its equilibrium position (x=0x=0) at t=0t=0, the sine form is often more convenient (as sin(0)=0\sin(0)=0).

If it starts at its maximum positive displacement (x=Ax=A) at t=0t=0, the cosine form is more convenient (as cos(0)=1\cos(0)=1). You can always convert one to the other using trigonometric identities like cosθ=sin(θ+π/2)\cos\theta = \sin(\theta + \pi/2).

What is the significance of the negative sign in the acceleration equation $a(t) = -\omega^2 x(t)$?

The negative sign is profoundly significant as it embodies the very definition of SHM. It indicates that the acceleration is always directed opposite to the displacement. When the object is displaced to the right (positive xx), the acceleration is to the left (negative aa), trying to pull it back to equilibrium.

Conversely, when displaced to the left (negative xx), the acceleration is to the right (positive aa). This 'restoring' nature of acceleration is what causes the oscillatory motion around the equilibrium point.

How does the phase angle $\phi$ affect the motion described by SHM equations?

The phase angle ϕ\phi (initial phase) determines the starting point of the oscillation at t=0t=0. It essentially shifts the entire sinusoidal curve along the time axis. For example, if x(t)=Asin(ωt)x(t) = A \sin(\omega t), the object starts at equilibrium (x=0x=0). If x(t)=Asin(ωt+π/2)=Acos(ωt)x(t) = A \sin(\omega t + \pi/2) = A \cos(\omega t), it starts at its maximum positive displacement (x=Ax=A). A different ϕ\phi means the object is at a different point in its cycle at t=0t=0, even if its amplitude and frequency are the same.

Can SHM equations be used for a pendulum swinging through a large angle?

No, the SHM equations are an approximation for a simple pendulum and are only valid for small angular displacements (typically less than about 1010^\circ to 1515^\circ). For a simple pendulum, the restoring force is F=mgsinθF = -mg \sin\theta.

For SHM, we need F=kθF = -k\theta (or kx-kx). The approximation sinθθ\sin\theta \approx \theta (in radians) is used to linearize the restoring force, making it proportional to displacement. For larger angles, the motion is still periodic but no longer simple harmonic, and the period depends on the amplitude.

What is the relationship between angular frequency ($\omega$), frequency (f), and time period (T) in SHM?

These three quantities are intimately related and describe the 'speed' of oscillation. Angular frequency (ω\omega) is the rate of change of phase angle, measured in radians per second. Frequency (f) is the number of complete oscillations per second, measured in Hertz (Hz).

Time period (T) is the time taken for one complete oscillation, measured in seconds. Their relationships are: T=1fT = \frac{1}{f}, f=ω2πf = \frac{\omega}{2\pi}, and T=2πωT = \frac{2\pi}{\omega}. These formulas allow for easy conversion between the different measures of oscillation rate.

Revise in 30 seconds

  • Displacement:x(t)=Asin(ωt+ϕ)x(t) = A \sin(\omega t + \phi) or Acos(ωt+ϕ)A \cos(\omega t + \phi)
  • Velocity:v(t)=Aωcos(ωt+ϕ)v(t) = A\omega \cos(\omega t + \phi) or Aωsin(ωt+ϕ)-A\omega \sin(\omega t + \phi)
  • Maximum Velocity:vmax=Aωv_{max} = A\omega
  • Acceleration:a(t)=Aω2sin(ωt+ϕ)a(t) = -A\omega^2 \sin(\omega t + \phi) or Aω2cos(ωt+ϕ)-A\omega^2 \cos(\omega t + \phi)
  • Acceleration in terms of x:a(t)=ω2x(t)a(t) = -\omega^2 x(t)
  • Maximum Acceleration:amax=Aω2a_{max} = A\omega^2
  • Angular Frequency:ω=k/m\omega = \sqrt{k/m} (spring-mass), ω=g/L\omega = \sqrt{g/L} (pendulum)
  • Time Period:T=2π/ωT = 2\pi/\omega
  • Frequency:f=1/T=ω/(2π)f = 1/T = \omega/(2\pi)
  • Kinetic Energy:KE=12mv2KE = \frac{1}{2}mv^2
  • Potential Energy:PE=12kx2=12mω2x2PE = \frac{1}{2}kx^2 = \frac{1}{2}m\omega^2 x^2
  • Total Energy:E=12mA2ω2=12kA2E = \frac{1}{2}m A^2\omega^2 = \frac{1}{2}kA^2
  • Velocity-Displacement Relation:v=±ωA2x2v = \pm \omega \sqrt{A^2 - x^2}

A-V-A: Amplitude, Velocity, Acceleration. Remember the phase shifts: 'V' leads 'X' by 90, 'A' leads 'V' by 90. So 'A' is 180 opposite 'X'. For formulas: 'A' has no ω\omega, 'V' has one ω\omega, 'A' (acceleration) has two ω\omega's (squared!).