MECHANICSMechanicsPhysics Calculator
🔄

Simple Harmonic Motion and Oscillations

SHM occurs when restoring force F = -kx. Position x(t) = A cos(ωt + φ); ω = √(k/m) for spring-mass. Period T = 2π/ω. Total energy E = ½kA² is conserved. Pendulum: ω = √(g/L) for small angles.

Did our AI summary help? Let us know.

F = -kx yields x = A cos(ωt+φ); ω = √(k/m). Period T = 2π/ω independent of amplitude (linear system). E = ½mv² + ½kx² = ½kA² constant. Pendulum: T = 2π√(L/g) for small θ.

Key quantities
A cos(ωt + φ)
x(t)
Key relation
√(k/m) or √(g/L)
ω
Key relation
2π/ω
T
Key relation
½kA²
E
Key relation

Ready to run the numbers?

Why: SHM models springs, pendulums, molecular vibrations, and many periodic systems. The motion is sinusoidal with constant amplitude and period.

How: For spring-mass: enter k, m, A, φ, t. Angular frequency ω = √(k/m). For pendulum: ω = √(g/L). Position x = A cos(ωt+φ); v = -Aω sin(ωt+φ); a = -ω²x.

F = -kx yields x = A cos(ωt+φ); ω = √(k/m).Period T = 2π/ω independent of amplitude (linear system).
Sources:NISTPhysics Classroom

Run the calculator when you are ready.

Calculate SHM ParametersPosition, velocity, acceleration, and energy

🔩 Mass on Spring

k=100 N/m, m=0.5 kg, A=0.1m

🚗 Car Suspension

k=20000 N/m, m=400 kg

🎵 Metronome (120 BPM)

f = 2 Hz, A = 2 cm

🎼 Tuning Fork (440 Hz)

A4 concert pitch

🏊 Diving Board

k=5000 N/m, m=70 kg

💎 Quartz Crystal

f = 32768 Hz (clock)

🎠 Playground Swing

T ≈ 3s, A = 1m

🌍 Building Oscillation

T = 1s, A = 5cm

🔊 Speaker Cone

f = 100 Hz, A = 2mm

❤️ Heart MRI Gradient

f = 1 Hz (approx heart rate)

Enter Your Values

For educational and informational purposes only. Verify with a qualified professional.

🔬 Physics Facts

🔄

SHM: restoring force proportional to displacement.

— NIST

📐

ω = √(k/m) for spring; ω = √(g/L) for pendulum.

— Physics Classroom

⏱️

Period T = 2π/ω; frequency f = 1/T = ω/(2π).

— HyperPhysics

Total energy E = ½kA²; oscillates between K and U.

— MIT OCW

What is Simple Harmonic Motion?

Simple Harmonic Motion (SHM) is periodic motion where the restoring force is directly proportional to displacement and directed toward equilibrium. The motion follows a sinusoidal pattern: x(t) = A cos(ωt + φ). Classic examples include mass-spring systems, pendulums (for small angles), and many molecular vibrations.

🔩

Hooke's Law

The restoring force is proportional to displacement, directed opposite to it.

F = -kx

📊

Position Equation

Displacement varies sinusoidally with time around equilibrium.

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

Energy Conservation

Total mechanical energy is constant; KE and PE interchange continuously.

E = ½kA² = ½mω²A²

How to Calculate SHM Properties

🧮 Angular Frequency

For Spring-Mass

ω = √(k/m)

For Pendulum

ω = √(g/L)

📊 Velocity & Acceleration

Velocity

v(t) = -Aω sin(ωt + φ)

Acceleration

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

Applications of Simple Harmonic Motion

🕰️ Timekeeping

Pendulum clocks, quartz crystals, atomic clocks all use SHM principles for precise timing.

🎵 Music

Tuning forks, piano strings, guitar strings, and wind instruments all involve SHM vibrations.

🚗 Suspension

Car suspension, shock absorbers, and building dampers use modified SHM for comfort and safety.

🔬 Science

Molecular vibrations, LC circuits, laser cavity modes all exhibit SHM behavior.

🏗️ Engineering

Building sway analysis, bridge oscillations, machinery vibration analysis.

🔊 Audio

Speaker cones, microphone diaphragms, and sound waves involve harmonic oscillation.

Complete Formula Reference

Position

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

Velocity

v(t) = -Aω sin(ωt + φ)

Acceleration

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

Period

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

Total Energy

E = ½kA² = ½mω²A²

Max Values

v_max = Aω, a_max = Aω²

Frequently Asked Questions

Why is the motion called "simple"?

Because the restoring force is linear (F = -kx). More complex motions might have nonlinear forces, multiple frequencies, or coupling between modes.

Does amplitude affect the period?

No! For ideal SHM, period depends only on ω (which depends on k and m for springs). This is called isochronism and is crucial for timekeeping applications.

What happens at equilibrium?

At x=0 (equilibrium), velocity is maximum and potential energy is zero. All energy is kinetic. This is where the object moves fastest.

How does damping affect SHM?

Damping reduces amplitude over time while slightly decreasing frequency. Light damping preserves SHM characteristics; heavy damping leads to overdamped or critically damped motion without oscillation.

What is the relationship between kinetic and potential energy?

Total energy E = KE + PE is constant. When KE is maximum (at equilibrium), PE is zero. When PE is maximum (at extremes), KE is zero. They oscillate out of phase, always summing to the same total energy.

Can SHM occur without a spring?

Yes! Any system with a linear restoring force exhibits SHM: pendulums (small angles), LC circuits, molecular vibrations, and many other physical systems. The key is F ∝ -x.

What happens when the small-angle approximation fails?

For large amplitudes, the period increases and motion becomes anharmonic. The period correction is approximately T ≈ T₀(1 + θ₀²/16) for moderate angles. Exact solutions require elliptic integrals.

📚 Official Data Sources

NIST Physical Measurement Laboratory

US National Institute of Standards and Technology - Physical constants and measurement standards

Last Updated: 2026-02-01

MIT OpenCourseWare Physics

Massachusetts Institute of Technology physics courses and materials

Last Updated: 2025-12-15

Physics Hypertextbook

Comprehensive online physics reference and educational resource

Last Updated: 2025-11-20

HyperPhysics (Georgia State University)

Conceptual physics explanations and calculations

Last Updated: 2025-10-10

⚠️ Disclaimer: This calculator provides theoretical estimates based on ideal simple harmonic motion equations. Actual systems may experience damping, nonlinear effects, and energy dissipation. The small-angle approximation assumes amplitudes less than 15° for pendulums. Large amplitudes require corrections to the period formula. Real-world systems may deviate from ideal SHM due to friction, air resistance, and material properties. This tool is for educational and design purposes only. Always verify with experimental measurements for critical applications.

Tips and Common Mistakes

✅ Best Practices

  • • Use consistent units (SI preferred)
  • • Remember ω = 2πf = 2π/T
  • • Check that E = KE + PE at all times
  • • Phase angle sets initial conditions

❌ Common Mistakes

  • • Confusing ω (rad/s) with f (Hz)
  • • Forgetting the negative sign in F = -kx
  • • Using degrees instead of radians for ωt
  • • Thinking amplitude affects period

Practice Problems

Problem 1: Spring-Mass System

A 0.2 kg mass attached to a spring (k = 50 N/m) is displaced 0.1 m and released. Find the period and maximum velocity.

ω = √(k/m) = √(50/0.2) = 15.81 rad/s
T = 2π/ω = 0.397 s
v_max = ωA = 15.81 × 0.1 = 1.58 m/s

Problem 2: Energy Distribution

An oscillator has amplitude A and is at position x = A/2. What fraction of its energy is kinetic?

PE = ½k(A/2)² = ½kA²/4 = E/4
KE = E - PE = E - E/4 = 3E/4
Answer: 75% is kinetic energy

Problem 3: Maximum Acceleration

A mass oscillates with f = 5 Hz and A = 0.02 m. Find the maximum acceleration.

ω = 2πf = 2π × 5 = 31.42 rad/s
a_max = ω²A = (31.42)² × 0.02 = 19.7 m/s² ≈ 2g

Common SHM Systems Reference

SystemAngular FrequencyPeriodNotes
Mass on springω = √(k/m)T = 2π√(m/k)Horizontal or vertical
Simple pendulumω = √(g/L)T = 2π√(L/g)Small angles only
Physical pendulumω = √(mgd/I)T = 2π√(I/mgd)d = pivot to COM
Torsional pendulumω = √(κ/I)T = 2π√(I/κ)κ = torsion constant
LC circuitω = 1/√(LC)T = 2π√(LC)Electrical analogue

Phase Relationships in SHM

Position, velocity, and acceleration are all sinusoidal but shifted in phase:

Position leads Velocity

x = A cos(ωt)
v = -Aω sin(ωt)
Phase difference: 90°

Velocity leads Acceleration

v = -Aω sin(ωt)
a = -Aω² cos(ωt)
Phase difference: 90°

Position vs Acceleration

a = -ω²x
Phase difference: 180°
(Opposite directions)

SHM vs Other Types of Motion

Simple Harmonic Motion

  • • F ∝ -x (linear restoring force)
  • • Period independent of amplitude
  • • Single frequency (pure sine wave)
  • • Conservative (no energy loss)

Damped Harmonic Motion

  • • Includes friction/drag: F = -kx - bv
  • • Amplitude decreases exponentially
  • • Frequency slightly lower than undamped
  • • Energy dissipates over time

Driven/Forced Oscillation

  • • External periodic force applied
  • • Reaches steady state at driving frequency
  • • Resonance when drive ≈ natural frequency
  • • Energy input balances damping

Anharmonic Motion

  • • Nonlinear restoring force
  • • Period depends on amplitude
  • • Contains multiple frequencies
  • • Examples: large-angle pendulum, cubic spring

Historical Development

🔬 Robert Hooke (1678)

Published Hooke's Law: "Ut tensio, sic vis" (As the extension, so the force). The foundation of SHM.

⏰ Christiaan Huygens (1673)

Developed the theory of pendulum motion and invented the pendulum clock, making precise timekeeping possible.

🎵 Jean-Baptiste Fourier (1822)

Showed that any periodic function can be decomposed into sums of simple harmonic (sinusoidal) components.

⚛️ Max Planck (1900)

Used SHM (harmonic oscillators) to derive the blackbody radiation formula, launching quantum mechanics.

Key Relationships Summary

Double spring k

1.41× frequency

ω ∝ √k

Double mass m

0.71× frequency

ω ∝ 1/√m

Double amplitude

4× energy

E ∝ A²

Double amplitude

Same period

Isochronism

Typical Spring Constant Values

ApplicationSpring Constant (N/m)Typical Mass
Pen clicker50-1001-5 g
Watch balance0.1-1~0.1 g
Mattress spring1,000-5,00020-80 kg
Car suspension15,000-30,000300-500 kg
Trampoline3,000-8,00050-100 kg

SHM in Quantum Mechanics

The quantum harmonic oscillator is one of the few exactly solvable problems in quantum mechanics. Its energy levels are quantized: E_n = (n + ½)ℏω, where n = 0, 1, 2... The ground state (n=0) has non-zero energy (zero-point energy).

Energy Quantization

E_n = ℏω(n + ½)
Zero-point energy: E_0 = ½ℏω

Applications

Molecular vibrations, phonons in solids, quantum optics, Bose-Einstein condensates

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators