Skip to content
🎯⭐ INTERACTIVE LESSON

Simple Harmonic Motion

Learn step-by-step with interactive practice!

Simple Harmonic Motion - Complete Interactive Lesson

Part 1: Simple Harmonic Motion

🔄 Simple Harmonic Motion

Part 1 of 7 — Springs and Pendulums


Defining SHM

Simple harmonic motion occurs when the restoring force is proportional to displacement and directed toward equilibrium:

F=−kxF = -kx

This leads to the differential equation:

md2xdt2=−kx⟹d2xdt2=−ω2xm\frac{d^2x}{dt^2} = -kx \quad\Longrightarrow\quad \frac{d^2x}{dt^2} = -\omega^2 x

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


Key Quantities

QuantityFormulaUnits
Angular frequencyω=k/m\omega = \sqrt{k/m}rad/s\text{rad/s}
PeriodT=2π/ω=2πm/kT = 2\pi/\omega = 2\pi\sqrt{m/k}s\text{s}
Frequencyf=1/T=ω/(2π)f = 1/T = \omega/(2\pi)Hz\text{Hz}
AmplitudeAAm\text{m}

Energy in SHM

E=12kA2=12kx2+12mv2E = \tfrac{1}{2}kA^2 = \tfrac{1}{2}kx^2 + \tfrac{1}{2}mv^2

AtPEKE
x=±Ax = \pm AMaximumZero
x=0x = 0ZeroMaximum

🔑 Total mechanical energy is constant in SHM (no friction).

📝 Worked Example — Verifying the SHM Differential Equation

Show that x(t)=Acos⁡(ωt+ϕ)x(t) = A\cos(\omega t + \phi) solves d2xdt2=−ω2x\dfrac{d^2x}{dt^2} = -\omega^2 x, and use it to find the speed at x=A/2x = A/2.

Step 1 — Differentiate once for velocity.

v(t)=dxdt=−Aωsin⁡(ωt+ϕ)v(t) = \frac{dx}{dt} = -A\omega\sin(\omega t + \phi)

Step 2 — Differentiate again for acceleration.

a(t)=d2xdt2=−Aω2cos⁡(ωt+ϕ)a(t) = \frac{d^2x}{dt^2} = -A\omega^2\cos(\omega t + \phi)

Step 3 — Compare with the original. Since x=Acos⁡(ωt+ϕ)x = A\cos(\omega t + \phi), we can substitute:

a=−ω2[Acos⁡(ωt+ϕ)]=−ω2x✅a = -\omega^2\big[A\cos(\omega t + \phi)\big] = -\omega^2 x \quad✅

The proposed function satisfies the equation for any amplitude AA and phase ϕ\phi.

Step 4 — Speed at x=A/2x = A/2 using energy. Conservation of energy gives 12kA2=12kx2+12mv2\tfrac{1}{2}kA^2 = \tfrac{1}{2}kx^2 + \tfrac{1}{2}mv^2, so:

v=ωA2−x2=ωA2−(A/2)2=ωA1−14=32 ωA≈0.87 vmax⁡v = \omega\sqrt{A^2 - x^2} = \omega\sqrt{A^2 - (A/2)^2} = \omega A\sqrt{1 - \tfrac{1}{4}} = \frac{\sqrt{3}}{2}\,\omega A \approx 0.87\,v_{\max}

🔑 Differentiating the position twice always returns −ω2-\omega^2 times the original — that is the signature of SHM.

Concept Check 🎯

Part 2: Kinematics of SHM

📐 SHM Kinematics

Part 2 of 7 — Position, Velocity, Acceleration


The Three Equations

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

v(t)=dxdt=−Aωsin⁡(ωt+ϕ)v(t) = \frac{dx}{dt} = -A\omega\sin(\omega t + \phi)

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


Maximum Values

  • Position: ∣x∣max⁡=A\lvert x \rvert_{\max} = A
  • Velocity: ∣v∣max⁡=Aω\lvert v \rvert_{\max} = A\omega
  • Acceleration: ∣a∣max⁡=Aω2\lvert a \rvert_{\max} = A\omega^2

🔑 Velocity leads position by π/2\pi/2. Acceleration leads velocity by π/2\pi/2. Acceleration is π\pi out of phase with position (they point opposite ways).

📝 Worked Example — From Position Function to Velocity and Acceleration

A particle moves as x(t)=0.10cos⁡(8t) mx(t) = 0.10\cos(8t)\,\text{m} (SI units, so ω=8 rad/s\omega = 8\,\text{rad/s} and ϕ=0\phi = 0). Find the velocity and acceleration at t=π16 st = \dfrac{\pi}{16}\,\text{s}.

Step 1 — Differentiate for velocity.

v(t)=dxdt=−0.10(8)sin⁡(8t)=−0.80sin⁡(8t) m/sv(t) = \frac{dx}{dt} = -0.10(8)\sin(8t) = -0.80\sin(8t)\,\text{m/s}

Step 2 — Differentiate again for acceleration.

a(t)=dvdt=−0.80(8)cos⁡(8t)=−6.4cos⁡(8t) m/s2a(t) = \frac{dv}{dt} = -0.80(8)\cos(8t) = -6.4\cos(8t)\,\text{m/s}^2

Step 3 — Evaluate at t=π/16t = \pi/16. Note 8t=8⋅π16=π28t = 8\cdot\dfrac{\pi}{16} = \dfrac{\pi}{2}, so sin⁡(π/2)=1\sin(\pi/2) = 1 and cos⁡(π/2)=0\cos(\pi/2) = 0:

v=−0.80(1)=−0.80 m/s,a=−6.4(0)=0 m/s2v = -0.80(1) = -0.80\,\text{m/s}, \qquad a = -6.4(0) = 0\,\text{m/s}^2

Interpretation: At this instant the particle is at x=0.10cos⁡(π/2)=0x = 0.10\cos(\pi/2) = 0 — the equilibrium point — so it has maximum speed (∣v∣=Aω=0.80 m/s\lvert v \rvert = A\omega = 0.80\,\text{m/s}) and zero acceleration, exactly as predicted.

🔑 Each derivative shifts the phase by π/2\pi/2: cosine → −-sine → −-cosine.

Concept Check 🎯

Part 3: Pendulums

🕐 Pendulums

Part 3 of 7 — Simple and Physical Pendulums


Simple Pendulum (small angle)

For small angles (θ<15∘\theta < 15^\circ):

T=2πLgT = 2\pi\sqrt{\frac{L}{g}}

Note: the period is independent of mass and independent of amplitude (for small angles).


Physical Pendulum

Any rigid body oscillating about a pivot:

T=2πImgdT = 2\pi\sqrt{\frac{I}{mgd}}

where II is the moment of inertia about the pivot and dd is the distance from the pivot to the center of mass.


Torsional Oscillator

T=2πIκT = 2\pi\sqrt{\frac{I}{\kappa}}

where κ\kappa is the torsional constant (restoring torque =−κθ= -\kappa\theta).

📝 Worked Example — Deriving the Pendulum Period from Torque

Start from the rotational form of Newton's second law, τ=Iα\tau = I\alpha, to show a simple pendulum undergoes SHM and find its period.

Step 1 — Write the restoring torque. For a bob of mass mm at length LL, gravity supplies a torque about the pivot:

τ=−mgLsin⁡θ\tau = -mgL\sin\theta

Step 2 — Apply τ=Iα\tau = I\alpha with I=mL2I = mL^2 and α=d2θdt2\alpha = \dfrac{d^2\theta}{dt^2}.

mL2d2θdt2=−mgLsin⁡θmL^2\frac{d^2\theta}{dt^2} = -mgL\sin\theta

Step 3 — Use the small-angle approximation sin⁡θ≈θ\sin\theta \approx \theta.

d2θdt2=−gLθ\frac{d^2\theta}{dt^2} = -\frac{g}{L}\theta

This has the SHM form d2θdt2=−ω2θ\dfrac{d^2\theta}{dt^2} = -\omega^2\theta with ω=g/L\omega = \sqrt{g/L}.

Step 4 — Convert to a period.

T=2πω=2πLgT = \frac{2\pi}{\omega} = 2\pi\sqrt{\frac{L}{g}}

Numeric check: a 1.0 m1.0\,\text{m} pendulum on Earth has T=2π1.0/9.8≈2.0 sT = 2\pi\sqrt{1.0/9.8} \approx 2.0\,\text{s}.

🔑 SHM emerges only because of the small-angle approximation sin⁡θ≈θ\sin\theta \approx \theta. For large swings the motion is periodic but no longer simple harmonic.

Concept Check 🎯

Part 4: Restoring Forces, Spring Combinations, and Vertical Springs

🔍 Identifying SHM

Part 4 of 7 — Restoring Forces, Spring Combinations, and Vertical Springs


What Makes Motion "Simple Harmonic"?

SHM is a special case of periodic motion. Two ideas define it:

  • An equilibrium position is where the net force on the object is zero.
  • A restoring force points opposite the displacement from that equilibrium.

The motion is simple harmonic when the restoring force is proportional to the displacement from equilibrium:

Fnet=−keff (x−xeq)F_{\text{net}} = -k_{\text{eff}}\,(x - x_{\text{eq}})

Newton's second law then gives the SHM differential equation, with the displacement x−xeqx - x_{\text{eq}} playing the role of xx:

d2xdt2=−keffm(x−xeq)⟹ω=keffm\frac{d^2x}{dt^2} = -\frac{k_{\text{eff}}}{m}(x - x_{\text{eq}}) \quad\Longrightarrow\quad \omega = \sqrt{\frac{k_{\text{eff}}}{m}}


The Three-Step Test

  1. Find equilibrium: set Fnet(x)=0F_{\text{net}}(x) = 0 and solve for xeqx_{\text{eq}}.
  2. Check proportionality: is FnetF_{\text{net}} a constant times −(x−xeq)-(x - x_{\text{eq}})? If the force grows like x3x^3, or stays constant in size, the motion is periodic at best but not SHM.
  3. Read off keffk_{\text{eff}} (the magnitude of the slope of FF versus xx) and compute ω=keff/m\omega = \sqrt{k_{\text{eff}}/m}.
Net forceSHM?Why
F=−kxF = -kxYesProportional, toward x=0x = 0
F=12−3xF = 12 - 3xYesF=−3(x−4)F = -3(x - 4): SHM about x=4x = 4
F=−cx3F = -cx^3NoNot proportional to displacement
Ball bouncing on a floorNoGravity is constant between bounces

The same test works for rotation: a restoring torque τ=−κθ\tau = -\kappa\theta gives I d2θdt2=−κθI\,\dfrac{d^2\theta}{dt^2} = -\kappa\theta, so ω=κ/I\omega = \sqrt{\kappa/I}. That is the torsion pendulum from Part 3.

🔑 A constant force (such as gravity on a hanging mass) only shifts the equilibrium position. It does not change keffk_{\text{eff}}, so it does not change ω\omega.

Concept Check 🎯

📝 Worked Example — Two Springs and a Vertical Hang

(a) A block between two springs. A 0.50 kg0.50\,\text{kg} block on a frictionless table is attached to a wall on the left by a spring with k1=120 N/mk_1 = 120\,\text{N/m} and to a wall on the right by a spring with k2=80 N/mk_2 = 80\,\text{N/m}. Find the period.

Displace the block by xx to the right. The left spring stretches by xx and pulls left with k1xk_1x; the right spring compresses by xx and pushes left with k2xk_2x. Both forces point back toward equilibrium, and both springs share the same displacement, so they act in parallel:

Fnet=−(k1+k2)x  ⇒  keq=200 N/mF_{\text{net}} = -(k_1 + k_2)x \;\Rightarrow\; k_{\text{eq}} = 200\,\text{N/m}

ω=2000.50=20 rad/s,T=2π20≈0.314 s\omega = \sqrt{\frac{200}{0.50}} = 20\,\text{rad/s}, \qquad T = \frac{2\pi}{20} \approx 0.314\,\text{s}

(b) The same springs joined end to end (series). Now the two springs carry the same force and their stretches add:

1keq=1120+180  ⇒  keq=(120)(80)200=48 N/m\frac{1}{k_{\text{eq}}} = \frac{1}{120} + \frac{1}{80} \;\Rightarrow\; k_{\text{eq}} = \frac{(120)(80)}{200} = 48\,\text{N/m}

ω=480.50=96≈9.8 rad/s,T≈0.64 s\omega = \sqrt{\frac{48}{0.50}} = \sqrt{96} \approx 9.8\,\text{rad/s}, \qquad T \approx 0.64\,\text{s}

The series combination is softer than either spring alone, so the period is longer.

(c) A vertical spring. A 0.20 kg0.20\,\text{kg} block hangs from a spring with k=50 N/mk = 50\,\text{N/m} (g=10 m/s2g = 10\,\text{m/s}^2). At equilibrium the spring force balances gravity:

k Δy=mg  ⇒  Δy=(0.20)(10)50=0.040 mk\,\Delta y = mg \;\Rightarrow\; \Delta y = \frac{(0.20)(10)}{50} = 0.040\,\text{m}

Measure yy from this hanging position. A further displacement yy changes the spring force by −ky-ky while gravity stays mgmg, so Fnet=−kyF_{\text{net}} = -ky. The block oscillates about the hanging position with ω=50/0.20≈15.8 rad/s\omega = \sqrt{50/0.20} \approx 15.8\,\text{rad/s}, exactly as it would horizontally.

🔑 Parallel springs add constants (keq=k1+k2k_{\text{eq}} = k_1 + k_2); series springs add inverses and give keqk_{\text{eq}} smaller than the smallest spring. Gravity moves the center of a vertical oscillation but leaves the period alone.

Apply It 🎯

Part 5: Natural Frequency, Resonance, and SHM Graphs

🔊 Natural Frequency, Resonance, and SHM Graphs

Part 5 of 7 — Natural Frequency, Resonance, and SHM Graphs


Natural Frequency

The natural frequency of a system is the frequency at which it oscillates on its own after being displaced from equilibrium and released:

SystemNatural angular frequency
Mass on a springω0=k/m\omega_0 = \sqrt{k/m}
Simple pendulumω0=g/L\omega_0 = \sqrt{g/L}
Physical pendulumω0=mgd/I\omega_0 = \sqrt{mgd/I}
Torsion pendulumω0=κ/I\omega_0 = \sqrt{\kappa/I}

Convert with f0=ω02πf_0 = \dfrac{\omega_0}{2\pi} and T=1f0T = \dfrac{1}{f_0}.


Resonance

Now push the system with a sinusoidal external force. If the push repeats at the natural frequency, each push arrives in step with the motion and adds energy every cycle, so the amplitude grows. This is resonance:

  • Resonance occurs when the external force is exerted at the natural frequency of the system.
  • Resonance increases the amplitude of the oscillation.

Everyday examples: pushing a child on a swing once per swing, a singer's note shattering a glass, a washing machine shaking hardest at one spin speed.

The AP Physics C exam treats resonance qualitatively; formulas for the driven amplitude are not tested.


Amplitude Does Not Change the Period

For SHM, T=2πm/kT = 2\pi\sqrt{m/k} (or 2πL/g2\pi\sqrt{L/g}) contains no amplitude. Pulling a spring farther before release raises the energy 12kA2\tfrac{1}{2}kA^2 and the maximum speed AωA\omega, but the period stays the same.

Concept Check 🎯

📝 Worked Example — Reading an SHM Graph

A graph of position versus time for a block on a spring shows: x=0x = 0 at t=0t = 0 with a positive slope, a first maximum of x=0.05 mx = 0.05\,\text{m} at t=0.25 st = 0.25\,\text{s}, and a return to x=0x = 0 at t=0.50 st = 0.50\,\text{s}. Write x(t)x(t) and find vmax⁡v_{\max}.

Step 1 — Amplitude. The largest displacement is A=0.05 mA = 0.05\,\text{m}.

Step 2 — Period. Going from equilibrium to the maximum is one quarter of a cycle, so T=4(0.25)=1.0 sT = 4(0.25) = 1.0\,\text{s} and

ω=2πT=2π rad/s\omega = \frac{2\pi}{T} = 2\pi\,\text{rad/s}

Step 3 — Phase. The block starts at equilibrium moving in the +x+x direction. A sine starts that way:

x(t)=0.05sin⁡(2πt)=0.05cos⁡ ⁣(2πt−π2) mx(t) = 0.05\sin(2\pi t) = 0.05\cos\!\left(2\pi t - \tfrac{\pi}{2}\right)\,\text{m}

so in the form Acos⁡(ωt+ϕ)A\cos(\omega t + \phi), the phase constant is ϕ=−π/2\phi = -\pi/2.

Step 4 — Maximum speed. The slope of the graph is the velocity, and it is steepest at the equilibrium crossings:

vmax⁡=Aω=0.05(2π)≈0.31 m/sv_{\max} = A\omega = 0.05(2\pi) \approx 0.31\,\text{m/s}

Reading other features from the graph:

Feature on the xx–tt graphMeaning
Peaks and troughsv=0v = 0 and ∣a∣=Aω2\lvert a \rvert = A\omega^2 (turning points)
Zero crossings∣v∣=Aω\lvert v \rvert = A\omega and a=0a = 0
Slope signDirection of motion
Concave downa<0a < 0, which happens where x>0x > 0

🔑 Read AA from the peak height, TT from the time between matching points, and ϕ\phi from where the graph starts and which way it is heading.

Apply It 🎯

Part 6: Problem-Solving Workshop

🛠️ Oscillations Workshop

Part 6 of 7 — AP Physics C Strategies


Oscillation Problem Types

TypeKey Formula
Mass-spring periodT=2πm/kT = 2\pi\sqrt{m/k}
Simple pendulumT=2πL/gT = 2\pi\sqrt{L/g}
Physical pendulumT=2πI/(mgd)T = 2\pi\sqrt{I/(mgd)}
Energy in SHME=12kA2E = \tfrac{1}{2}kA^2
Max speedvmax⁡=Aωv_{\max} = A\omega
Max accelerationamax⁡=Aω2a_{\max} = A\omega^2

Worked Example

A 0.5 kg0.5\,\text{kg} mass on a spring (k=200 N/mk = 200\,\text{N/m}) is pulled 0.1 m0.1\,\text{m} and released.

ω=200/0.5=20 rad/s\omega = \sqrt{200/0.5} = 20\,\text{rad/s}

T=2π/20=0.314 sT = 2\pi/20 = 0.314\,\text{s}

vmax⁡=0.1×20=2 m/sv_{\max} = 0.1 \times 20 = 2\,\text{m/s}

E=12(200)(0.1)2=1 JE = \tfrac{1}{2}(200)(0.1)^2 = 1\,\text{J}

📝 Worked Example — Maximum Speed by Differentiation

For the same oscillator, x(t)=0.1cos⁡(20t) mx(t) = 0.1\cos(20t)\,\text{m}. Confirm the maximum speed using calculus and find the first time the mass reaches it.

Step 1 — Velocity from the derivative.

v(t)=dxdt=−0.1(20)sin⁡(20t)=−2sin⁡(20t) m/sv(t) = \frac{dx}{dt} = -0.1(20)\sin(20t) = -2\sin(20t)\,\text{m/s}

Step 2 — Locate the maximum speed. Speed is greatest where ∣sin⁡(20t)∣=1\lvert\sin(20t)\rvert = 1. The acceleration is the next derivative:

a(t)=dvdt=−40cos⁡(20t)a(t) = \frac{dv}{dt} = -40\cos(20t)

Setting a=0a = 0 gives cos⁡(20t)=0\cos(20t) = 0, i.e. 20t=π220t = \dfrac{\pi}{2}, so the first time is t=π40≈0.0785 st = \dfrac{\pi}{40} \approx 0.0785\,\text{s}.

Step 3 — Evaluate. At that instant sin⁡(20t)=sin⁡(π/2)=1\sin(20t) = \sin(\pi/2) = 1, so ∣v∣=2 m/s\lvert v \rvert = 2\,\text{m/s}, matching vmax⁡=Aω=0.1(20)=2 m/sv_{\max} = A\omega = 0.1(20) = 2\,\text{m/s}. ✅

Energy cross-check: 12mvmax⁡2=12(0.5)(2)2=1 J=E\tfrac{1}{2}mv_{\max}^2 = \tfrac{1}{2}(0.5)(2)^2 = 1\,\text{J} = E — all energy is kinetic at x=0x = 0.

🔑 Maximizing speed means setting a=dv/dt=0a = dv/dt = 0, which happens exactly at the equilibrium crossing.

Concept Check 🎯

Part 7: Review & Applications

📋 Oscillations Review

Part 7 of 7 — Comprehensive Summary


Master Formula Sheet

ConceptFormula
SHM positionx(t)=Acos⁡(ωt+ϕ)x(t) = A\cos(\omega t + \phi)
Defining equationd2xdt2=−ω2x\dfrac{d^2x}{dt^2} = -\omega^2 x
Angular frequencyω=k/m\omega = \sqrt{k/m} (spring), ω=g/L\omega = \sqrt{g/L} (pendulum)
Total energyE=12kA2E = \tfrac{1}{2}kA^2
Physical pendulumT=2πI/(mgd)T = 2\pi\sqrt{I/(mgd)}; torsion: T=2πI/κT = 2\pi\sqrt{I/\kappa}
ResonanceDriving at the natural frequency increases the amplitude

🔑 SHM = any system with F∝−xF \propto -x. Recognize the pattern, then apply the formulas.

📝 Worked Example — Building Energy from the Equation of Motion

Starting from md2xdt2=−kxm\dfrac{d^2x}{dt^2} = -kx, derive the conserved energy of a spring oscillator.

Step 1 — Multiply both sides by v=dxdtv = \dfrac{dx}{dt}.

mdvdt v=−kxdxdtm\frac{dv}{dt}\,v = -kx\frac{dx}{dt}

Step 2 — Recognize each side as a derivative. Using ddt(12v2)=vdvdt\dfrac{d}{dt}\big(\tfrac{1}{2}v^2\big) = v\dfrac{dv}{dt} and ddt(12x2)=xdxdt\dfrac{d}{dt}\big(\tfrac{1}{2}x^2\big) = x\dfrac{dx}{dt}:

ddt(12mv2)=−ddt(12kx2)\frac{d}{dt}\left(\tfrac{1}{2}mv^2\right) = -\frac{d}{dt}\left(\tfrac{1}{2}kx^2\right)

Step 3 — Combine and integrate.

ddt(12mv2+12kx2)=0  ⇒  12mv2+12kx2=E=constant\frac{d}{dt}\left(\tfrac{1}{2}mv^2 + \tfrac{1}{2}kx^2\right) = 0 \;\Rightarrow\; \tfrac{1}{2}mv^2 + \tfrac{1}{2}kx^2 = E = \text{constant}

Step 4 — Identify the constant. At the turning point x=Ax = A, v=0v = 0, so E=12kA2E = \tfrac{1}{2}kA^2. This also yields v=ωA2−x2v = \omega\sqrt{A^2 - x^2}.

🔑 The "multiply by velocity and integrate" trick converts an equation of motion into an energy-conservation statement — a recurring AP Physics C calculus technique.

Concept Check 🎯