Understanding Simple Harmonic Motion

Simple harmonic motion occurs when an object oscillates about a fixed equilibrium point with acceleration always directed toward that point. The restoring force is proportional to displacement, creating a predictable, repeating pattern. A mass on a spring, a tuning fork, and a pendulum all exhibit SHM (assuming small angles and negligible damping).

Key characteristics of SHM include:

  • Amplitude (A): Maximum displacement from equilibrium, measured in meters or millimeters.
  • Frequency (f): Number of complete oscillations per second, measured in hertz (Hz).
  • Period (T): Time for one complete oscillation; T = 1/f.
  • Angular frequency (ω): Rate of change in the oscillation angle, related to frequency by ω = 2πf, measured in radians per second.

Energy constantly exchanges between kinetic (motion) and potential (stored) forms during SHM. At maximum displacement, velocity is zero and potential energy peaks. At equilibrium, kinetic energy is greatest and potential energy is zero.

Simple Harmonic Motion Equations

Given amplitude, frequency, and elapsed time, you can calculate the instantaneous displacement, velocity, and acceleration using these fundamental relationships:

ω = 2π × f

y = A × sin(ωt)

v = A × ω × cos(ωt)

a = −A × ω² × sin(ωt)

a = −ω² × y

  • A — Amplitude; maximum displacement from equilibrium (m or mm)
  • f — Frequency; number of oscillations per second (Hz)
  • ω — Angular frequency; 2π times the frequency (rad/s)
  • t — Time elapsed since motion began (s)
  • y — Displacement from equilibrium at time t (m or mm)
  • v — Instantaneous velocity at time t (m/s or mm/s)
  • a — Instantaneous acceleration at time t (m/s² or mm/s²)

Using the Calculator

Input the amplitude of oscillation and the frequency of motion. Then specify the time at which you wish to evaluate the system's state. The calculator instantly computes:

  • Angular frequency from the given frequency.
  • Displacement (how far the particle is from equilibrium at that moment).
  • Velocity (speed and direction of motion).
  • Acceleration (how rapidly velocity is changing).

All values are calculated at a single instant in time. To track motion over an interval, run multiple calculations at different times or use graphing software to visualize the oscillation curves.

Practical Considerations for SHM Calculations

Common pitfalls when working with simple harmonic motion equations:

  1. Angle measurement in radians — The sine and cosine functions in SHM equations require angles in radians, not degrees. Angular frequency ω is always expressed in rad/s. Most physics calculators and programming languages default to radians; verify your tool's settings to avoid a factor-of-57 error in results.
  2. Sign conventions matter — Displacement and velocity oscillate between positive and negative values as the particle moves back and forth. Acceleration is always opposite in sign to displacement, pushing the particle toward equilibrium. These sign reversals are built into the sine and cosine functions—trust them.
  3. Damping is often ignored — Real oscillators experience friction or air resistance, causing amplitude to gradually decrease. These equations assume ideal, undamped motion. For mechanical systems, they work best over short timescales or when friction is genuinely negligible.
  4. Initial conditions affect phase — These equations assume the particle starts at equilibrium with maximum velocity (sine form). If oscillation begins at maximum displacement, you need a cosine term or add a phase shift. Verify your system's starting position before applying the standard formulas.

Real-World Applications

Simple harmonic motion governs countless phenomena in engineering and science:

  • Mechanical oscillators: Springs, shock absorbers, and suspension systems rely on SHM principles for vibration isolation and energy dissipation.
  • Acoustics: Sound waves are longitudinal oscillations; speaker cones and microphone diaphragms undergo SHM at audible frequencies.
  • Seismic engineering: Buildings are designed with damping systems to manage earthquake-induced oscillations following SHM patterns.
  • Atomic physics: Atoms in crystal lattices vibrate about equilibrium positions in a harmonic potential, explaining thermal properties and spectroscopy.
  • Electrical circuits: LC (inductor-capacitor) circuits exhibit electrical SHM, the basis for radio tuning and oscillators.

Frequently Asked Questions

What is the difference between frequency and angular frequency in simple harmonic motion?

Frequency (f) counts the number of complete cycles per second and is measured in hertz. Angular frequency (ω) expresses the rate of rotation in radians per second, where one complete cycle equals 2π radians. They are related by ω = 2πf. Angular frequency appears in the SHM equations because sine and cosine functions work with angles in radians. For example, a 1 Hz oscillation has an angular frequency of 2π ≈ 6.28 rad/s.

Can I use these equations if my oscillator is damped?

These standard equations apply only to ideal, undamped motion where amplitude remains constant. Real oscillators experience friction, air resistance, or other energy loss, causing amplitude to decay over time. For damped oscillation, you must modify the equations with an exponential decay factor. The closer your system is to frictionless conditions—such as a pendulum in air with a stiff pivot—the better these idealized equations perform. For heavily damped systems, more complex differential equations are required.

What happens to velocity and acceleration at maximum displacement?

At maximum displacement (amplitude), the sine function equals ±1 and displacement is greatest. However, velocity becomes zero because the cosine function equals zero at these turning points. Acceleration reaches its peak magnitude because the particle must reverse direction. This is why a pendulum momentarily stops at the extreme swing before accelerating back toward equilibrium. The kinetic energy is entirely converted to potential energy at maximum displacement.

How do I calculate the period of oscillation from frequency?

Period (T) is simply the reciprocal of frequency: T = 1/f. If frequency is 2 Hz, the period is 0.5 seconds, meaning the particle completes one full oscillation every half-second. You can also express period in terms of angular frequency: T = 2π/ω. Period is useful when you want to know how long one complete cycle takes or when you need to synchronize multiple oscillators.

Why is acceleration negative in the SHM equations?

The negative sign in the acceleration formula reflects the restoring force: acceleration always points toward equilibrium, opposite to displacement. When displacement is positive (particle displaced upward), acceleration is negative (pointing downward). When displacement is negative (particle displaced downward), acceleration is positive (pointing upward). This restoring acceleration continuously drives the particle back toward the equilibrium point, maintaining the oscillation.

Can I use SHM equations to model a vibrating guitar string?

SHM equations describe the vibration of a single point on the string at a given frequency. A plucked guitar string's fundamental frequency determines the note you hear. However, real strings vibrate in multiple modes simultaneously (overtones), creating richer timbre than a simple sine wave. Additionally, guitar strings are damped and lose energy, so amplitude decays over time. The SHM model works well for the dominant frequency over the first few seconds, but adding damping and higher harmonics gives a more complete description of how a string actually sounds.

More physics calculators (see all)