Waves & Simple Harmonic Motion

Explore oscillations, wave properties, and harmonic motion through interactive visualizations.

Simple Harmonic Motion

Simple Harmonic Motion (SHM) is periodic motion where the restoring force is directly proportional to the displacement from equilibrium. Examples include pendulums, springs, and vibrating strings.

Restoring Force

F = -kx

where k is the spring constant and x is displacement (Hooke's Law)

Position in SHM

x(t) = A cos(ωt + φ)

where A is amplitude, ω is angular frequency, and φ is phase constant

Velocity and Acceleration

v(t) = -Aω sin(ωt + φ)
a(t) = -Aω² cos(ωt + φ) = -ω²x

Period and Frequency

T = 2π/ω = 1/f
ω = 2πf = √(k/m)

For a mass-spring system

Simple Pendulum

T = 2π√(L/g)

Period depends only on length L and gravity g (for small angles)

Energy in SHM

E_total = ½kA² = ½mω²A²
KE = ½mv² = ½mω²(A² - x²)
PE = ½kx²

Total energy remains constant

Simple Pendulum
Explore how length and gravity affect pendulum period and observe energy transformations

Period

2.84 s

Frequency

0.35 Hz

Current Angle

0.0°

Time

0.00 s

Energy Conservation: Watch the energy bars as the pendulum swings. At the highest points, energy is all potential (blue). At the lowest point, energy is all kinetic (orange). Total energy remains constant throughout the motion.

Wave Properties

Waves are disturbances that transfer energy through a medium or space. They can be mechanical (requiring a medium) or electromagnetic (can travel through vacuum).

Wave Equation

y(x,t) = A sin(kx - ωt + φ)

where A is amplitude, k is wave number, ω is angular frequency

Wave Speed

v = fλ = ω/k

where f is frequency and λ is wavelength

Wave Number and Angular Frequency

k = 2π/λ
ω = 2πf

Types of Waves

Transverse waves: Oscillation perpendicular to wave direction (light, water waves)

Longitudinal waves: Oscillation parallel to wave direction (sound, compression waves)

Wave Speed on a String

v = √(T/μ)

where T is tension and μ is linear mass density

Sound Wave Speed

v = √(B/ρ)

where B is bulk modulus and ρ is density

In air at 20°C: v ≈ 343 m/s

Wave Motion
Visualize traveling waves and adjust frequency, amplitude, and wavelength

Wave Speed

200 px/s

Period

1.00 s

Wave Number

0.031 rad/px

Angular Frequency

6.28 rad/s

Wave Equation: The wave follows y = A sin(kx - ωt). Notice how particles (orange dots) oscillate vertically while the wave pattern moves horizontally. This demonstrates that waves transfer energy, not matter. The relationship v = fλ is always maintained.

Wave Interference and Standing Waves

When waves overlap, they interfere with each other. This can produce constructive interference (waves add) or destructive interference (waves cancel). Standing waves form when waves reflect and interfere with themselves.

Principle of Superposition

y_total = y₁ + y₂ + y₃ + ...

The total displacement is the sum of individual waves

Standing Wave on a String

y(x,t) = 2A sin(kx) cos(ωt)

Formed by two identical waves traveling in opposite directions

Harmonics (String Fixed at Both Ends)

λ_n = 2L/n
f_n = nv/(2L) = nf₁

where n = 1, 2, 3, ... and L is string length

Nodes and Antinodes

Nodes: Points of zero amplitude (destructive interference)

Antinodes: Points of maximum amplitude (constructive interference)

Distance between adjacent nodes or antinodes: λ/2

Beats

f_beat = |f₁ - f₂|

Periodic variation in amplitude when two waves of slightly different frequencies interfere

Doppler Effect

f' = f(v ± v_o)/(v ∓ v_s)

Frequency shift due to relative motion between source and observer

Use + when approaching, - when receding (observer in numerator, source in denominator)

Standing Waves and Harmonics
Create standing waves and explore different harmonic modes on a vibrating string

Fundamental

Wavelength

1200 px

Frequency

0.08 Hz

Wave Speed

100 px/s

Nodes

2

Nodes (red): Points of zero displacement - destructive interference

Antinodes (green): Points of maximum displacement - constructive interference

Standing Waves: For the nth harmonic, there are n+1 nodes and n antinodes. The wavelength is λ = 2L/n, and the frequency is f = nv/(2L). Higher harmonics have shorter wavelengths and higher frequencies. Increasing tension increases wave speed and all frequencies proportionally.