1.6.2Oscillations & Waves

SHM differential equation — solution - x = A cos(ωt + φ)

1,967 words9 min readdifficulty · medium

WHAT is the equation?

WHY this is the equation, from Newton: For a mass on a spring, Hooke's law gives restoring force F=kxF=-kx. Newton says F=mx¨F=m\ddot{x}. So mx¨=kx    x¨=kmx.m\ddot{x} = -kx \;\Rightarrow\; \ddot{x} = -\tfrac{k}{m}x. Define ω2k/m\omega^2 \equiv k/m (positive, so ω\omega is real) and you land on x¨=ω2x\ddot{x}=-\omega^2 x. Every SHM system (pendulum, LC circuit, floating block) collapses to this same shape — that's why we solve it once.


HOW to solve it from scratch (derivation, no guessing)

Fixing the constants from initial conditions: x(0)=Acosϕ,v(0)=x˙(0)=Aωsinϕ.x(0)=A\cos\phi,\qquad v(0)=\dot x(0)=-A\omega\sin\phi. Solve: A=x02+v02ω2,tanϕ=v0ωx0.A=\sqrt{x_0^2 + \frac{v_0^2}{\omega^2}}, \qquad \tan\phi = -\frac{v_0}{\omega x_0}. Why the v0/ωv_0/\omega? Velocity is amplitude ×ω\times \omega, so to compare a velocity with a position you must divide by ω\omega to get the same units (metres).


The companion quantities (all derived, not memorised)

Figure — SHM differential equation — solution -  x = A cos(ωt + φ)

Worked examples


Forecast-then-Verify

Recall Forecast first, then open

Q: Double the amplitude AA. What happens to (a) period TT, (b) max speed? Forecast, then check: (a) T=2π/ωT=2\pi/\omega has no AA → period unchanged (SHM is isochronous!). (b) vmax=Aωv_{\max}=A\omegadoubles. The intuition trap "bigger swing = slower" is wrong: it travels farther but in the same time, so it must move faster.


Common mistakes (Steel-manned)


Flashcards

What differential equation defines SHM?
x¨+ω2x=0\ddot{x}+\omega^2 x=0, i.e. x¨=ω2x\ddot x=-\omega^2 x (acceleration \propto -displacement).
Why must the SHM solution be sinusoidal?
It's the only function whose 2nd derivative equals a negative constant times itself.
General solution of x¨=ω2x\ddot x=-\omega^2 x?
x=Acos(ωt+ϕ)x=A\cos(\omega t+\phi), with constants AA (amplitude) and ϕ\phi (phase).
Why exactly two arbitrary constants?
It is a 2nd-order ODE; you need initial position and initial velocity to fix the motion.
Express AA from x0,v0,ωx_0,v_0,\omega.
A=x02+v02/ω2A=\sqrt{x_0^2+v_0^2/\omega^2}.
Express tanϕ\tan\phi from x0,v0,ωx_0,v_0,\omega.
tanϕ=v0/(ωx0)\tan\phi=-v_0/(\omega x_0).
Velocity and acceleration from x=Acos(ωt+ϕ)x=A\cos(\omega t+\phi)?
v=Aωsin(ωt+ϕ)v=-A\omega\sin(\omega t+\phi), a=Aω2cos(ωt+ϕ)=ω2xa=-A\omega^2\cos(\omega t+\phi)=-\omega^2 x.
Max speed and max acceleration?
vmax=Aωv_{\max}=A\omega (at centre), amax=Aω2a_{\max}=A\omega^2 (at extremes).
Period and frequency in terms of ω\omega?
T=2π/ωT=2\pi/\omega, f=ω/2πf=\omega/2\pi.
Does period depend on amplitude in ideal SHM?
No — T=2π/ωT=2\pi/\omega has no AA (isochronous).
Speed as function of position (no time)?
v=±ωA2x2v=\pm\omega\sqrt{A^2-x^2}.
For a spring, what is ω\omega?
ω=k/m\omega=\sqrt{k/m}.

Recall Feynman: explain to a 12-year-old

Imagine a ball tied to a rubber band at the centre of a table. The further you pull it, the harder the band yanks it back. So it overshoots the middle, the band pulls it back the other way, and it keeps swinging side to side forever. If you filmed its position and drew it, you'd get a smooth wave — exactly the shape of a cosine. The wave's height is how far you first pulled it (AA), and where the wave starts depends on whether you let go from the side or pushed it from the middle (that's ϕ\phi). The cool magic: how wide you pull it doesn't change how long one full wiggle takes.

Concept Map

Newton F = m x'

define w^2 = k/m

minus sign

multiply by x'

integrate: energy conservation

x' = 0 sets turning point

separate variables

integrate gives arccos

2nd-order ODE needs two constants

from initial conditions

w is angular frequency

Hooke law F = -kx

m x'' = -kx

SHM equation x'' = -w^2 x

Restoring toward x = 0

x' x'' = -w^2 x x'

x'^2 = w^2 A^2 - x^2

A = amplitude

dx / sqrt A^2 - x^2 = w dt

x t = A cos wt + phi

A and phi

x0 and v0

w rad per s

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, SHM ka pura khel ek hi line mein chhupa hai: x¨=ω2x\ddot{x}=-\omega^2 x. Iska matlab simple hai — jitna door particle center se jaayega, utna hi zyada force use wapas kheechega, aur force ki direction hamesha center ki taraf hogi (isliye minus sign). Spring mein Hooke ka law F=kxF=-kx aur Newton ka F=mx¨F=m\ddot{x} milake yahi equation banti hai, jahan ω=k/m\omega=\sqrt{k/m}.

Ab is equation ka solution kya hai? Hum guess nahi karte — derive karte hain. Dono side ko x˙\dot{x} se multiply karke integrate karo, to milta hai x˙2=ω2(A2x2)\dot{x}^2=\omega^2(A^2-x^2) (yeh actually energy conservation hai). Phir variables separate karke integrate karo to arccos\arccos apne aap aa jaata hai, aur answer nikalta hai x=Acos(ωt+ϕ)x=A\cos(\omega t+\phi). Yahan AA hai amplitude (maximum kitna door jaata hai) aur ϕ\phi hai phase (cycle mein kahan se start kiya). Do constants isliye kyunki second-order equation hai — initial position aur initial velocity, dono chahiye.

Important baat jo exam mein puchte hain: vmax=Aωv_{max}=A\omega (center pe sabse fast), amax=Aω2a_{max}=A\omega^2 (corner pe sabse zyada force), aur T=2π/ωT=2\pi/\omega. Note karo — period mein AA kahin nahi hai! Matlab chahe chhota swing ho ya bada, ek complete oscillation ka time same rahega (ideal SHM). Yeh isochronous property pendulum clocks ka base hai.

Galti se bachna: ω\omega aur ff alag hain (ω=2πf\omega=2\pi f), aur ϕ\phi ko hamesha 0 mat maan lena — initial conditions se solve karo, cosϕ\cos\phi aur v0v_0 ke sign dono check karke quadrant decide karo. Bas itna pakka karlo, SHM ka 80% topic clear ho jaata hai.

Go deeper — visual, from zero

Test yourself — Oscillations & Waves

Connections