COLLEGE PHYSICS • OSCILLATIONS & SIMPLE HARMONIC MOTION

Defining Simple Harmonic Motion

Understanding the ubiquitous oscillatory motion governed by a linear restoring force proportional to displacement.

Historical Context & Motivation

The study of oscillatory motion has deep roots in natural philosophy and physics, stretching back to ancient observations of swinging pendulums and vibrating strings. Simple harmonic motion (SHM) emerged as a central concept in classical mechanics when physicists recognized that a wide variety of physical systems — from clock pendulums and mass-spring assemblies to sound waves and molecular vibrations — share a common mathematical structure. The need to describe periodic phenomena with precision drove thinkers from Galileo through Hooke and Newton to develop the theoretical framework that we now recognize as the foundation of oscillation theory. Understanding SHM was not merely an academic exercise; it was essential for advancing timekeeping, acoustics, structural engineering, and eventually quantum mechanics.

1583
Galileo's Pendulum Observations
Galileo Galilei observed that a swinging chandelier in the Cathedral of Pisa completed each oscillation in roughly the same time regardless of amplitude — the principle of isochronism. This insight laid the groundwork for using pendulums as timekeeping devices and hinted at the regularity underlying oscillatory motion.
1660
Hooke's Law of Elasticity
Robert Hooke published his famous anagram ceiiinosssttuv ("ut tensio, sic vis" — as the extension, so the force), establishing that the restoring force exerted by a spring is proportional to its displacement. This linear force law became the defining characteristic of simple harmonic oscillators.
1687
Newton's Principia
Isaac Newton's Principia Mathematica provided the second law of motion (F = ma), enabling the differential equation formulation of SHM. Newton's framework unified Hooke's force law with kinematics, producing sinusoidal solutions that describe position as a function of time.
1822
Fourier's Harmonic Analysis
Joseph Fourier demonstrated that any periodic function can be decomposed into a sum of sinusoidal components. This breakthrough revealed SHM as the fundamental building block of all periodic motion, elevating its significance far beyond simple spring-mass systems.
1900s
Quantum Harmonic Oscillator
In the twentieth century, the harmonic oscillator became one of the first exactly solvable problems in quantum mechanics. Its quantized energy levels underpin our understanding of molecular vibrations, phonons in solids, and quantum field theory, demonstrating the enduring importance of SHM across all scales of physics.

The central question that SHM addresses is deceptively simple: what happens when a system displaced from equilibrium experiences a restoring force proportional to that displacement? The answer — predictable, sinusoidal oscillation with well-defined frequency, amplitude, and phase — turns out to describe an astonishing range of physical phenomena. Before we can analyze damped oscillations, driven resonance, or coupled oscillators, we must first rigorously define the idealized case of simple harmonic motion and understand why it serves as the universal starting point for oscillation theory.

Core Principles & Definitions

Simple harmonic motion is defined as oscillatory motion in which the net restoring force acting on a body is directly proportional to the displacement from equilibrium and directed opposite to it. This single condition — a linear restoring force — is both necessary and sufficient to produce sinusoidal time dependence. Several core principles follow directly from this definition and together form the conceptual scaffolding on which the entire mathematical treatment rests. Grasping these principles clearly will allow you to recognize SHM in systems that may, at first glance, look quite different from a simple spring.

1

Linear Restoring Force

The hallmark of SHM is a net force F = −kx, where k is a positive constant and x is the displacement from equilibrium. The negative sign ensures the force always points toward the equilibrium position. Any system satisfying this condition — whether mechanical, electrical, or otherwise — undergoes SHM.
2

Equilibrium Position

The equilibrium position is the point where the net force on the object is zero. For a mass on a spring, this is the natural (unstretched) length; for a pendulum, it is the lowest point of the arc. All oscillation is measured relative to this reference point, and the object passes through it with maximum speed.
3

Amplitude, Period & Frequency

The amplitude A is the maximum displacement from equilibrium. The period T is the time for one complete cycle, and the frequency f = 1/T is the number of cycles per second (Hz). Crucially, in ideal SHM, T and f are independent of amplitude.
4

Sinusoidal Time Dependence

The displacement x(t), velocity v(t), and acceleration a(t) of an SHM system are all sinusoidal functions of time. Specifically, x(t) = A cos(ωt + φ), where ω is the angular frequency and φ is the initial phase. This sinusoidal character is a direct mathematical consequence of the linear restoring force.
5

Energy Conservation

In ideal (undamped) SHM, the total mechanical energy E = ½kA² remains constant. Energy oscillates between kinetic energy (½mv²) and potential energy (½kx²). At maximum displacement, all energy is potential; at equilibrium, all energy is kinetic. No energy is lost to dissipation in the idealized model.
KEY TAKEAWAY
Think of SHM like a perfectly elastic rubber band connecting an object to a fixed point: the farther you pull the object away, the harder the band pulls it back, and the force is always proportional to the stretch. This proportionality guarantees smooth, repeating oscillation rather than chaotic bouncing. In the same way that a perfectly tuned guitar string vibrates at a single pure frequency, a true simple harmonic oscillator moves with a single sinusoidal frequency determined entirely by its physical parameters — not by how hard you initially pluck it.

Visualizing Simple Harmonic Motion

A powerful way to build intuition about SHM is to visualize how the displacement, velocity, and acceleration of an oscillator evolve over time. The following diagram shows a mass-spring system alongside the corresponding sinusoidal waveforms. Notice how the three quantities are shifted in phase relative to one another: the velocity leads the displacement by 90° (π/2 radians), and the acceleration leads the velocity by another 90°, placing it exactly 180° out of phase with the displacement. This phase structure is a direct consequence of the successive time derivatives of a cosine function.

The three sinusoidal curves represent the displacement x(t) in cyan, velocity v(t) in violet, and acceleration a(t) in pink. Note that v(t) leads x(t) by 90° and a(t) is 180° out of phase with x(t), reflecting the relationships v = dx/dt and a = −ω²x.

Examining the diagram closely, you can see that when the displacement is at its maximum positive value (+A), the velocity passes through zero and the acceleration reaches its maximum negative value (−Aω²). This makes physical sense: at the turning point, the object momentarily stops (v = 0) while the restoring force — and hence the acceleration — is at its strongest, pulling the object back toward equilibrium. Conversely, when the object passes through equilibrium (x = 0), the restoring force vanishes (a = 0) and the speed reaches its maximum value (Aω). These phase relationships between x, v, and a are among the most important features to internalize when studying SHM, as they recur in every application from LC circuits to quantum oscillators.

Mathematical Framework

The mathematics of SHM begins with Newton's second law applied to a mass experiencing a linear restoring force. Combining F = ma with Hooke's law (F = −kx) yields the fundamental differential equation of simple harmonic motion. Solving this equation produces the familiar sinusoidal solutions and establishes the relationships among angular frequency, spring constant, and mass.

EQUATION OF MOTION
m(d²x/dt²) = −kx → d²x/dt² + ω²x = 0
Here m is the mass of the oscillator, k is the spring (force) constant, x is the displacement from equilibrium, and ω² = k/m. This second-order linear ODE with constant coefficients admits sinusoidal solutions.
GENERAL SOLUTION
x(t) = A cos(ωt + φ)
A is the amplitude (maximum displacement), ω = √(k/m) is the angular frequency in rad/s, and φ is the phase constant determined by initial conditions. Equivalently, x(t) = A sin(ωt + φ′) with a shifted phase constant φ′ = φ + π/2.
VELOCITY & ACCELERATION
v(t) = −Aω sin(ωt + φ) ; a(t) = −Aω² cos(ωt + φ)
The velocity is the first time derivative of x(t) and the acceleration is the second. Note that a(t) = −ω²x(t), confirming that acceleration is always proportional to and opposite in sign to displacement — the defining property of SHM.
PERIOD & FREQUENCY
T = 2π/ω = 2π√(m/k) ; f = 1/T = (1/2π)√(k/m)
The period T depends only on m and k — not on the amplitude A. This amplitude-independence of the period is a hallmark of true SHM and is what makes harmonic oscillators useful as clocks and frequency standards.
📐 Derivation Note
To verify that x(t) = A cos(ωt + φ) satisfies the ODE, compute d²x/dt² = −Aω² cos(ωt + φ) = −ω²x(t). Substituting into d²x/dt² + ω²x = 0 yields −ω²x + ω²x = 0, which is identically satisfied. The two free constants A and φ are determined by the initial position x(0) and initial velocity v(0), as expected for a second-order differential equation.

Energy in Simple Harmonic Motion

An equally illuminating perspective on SHM comes from energy considerations. Because the restoring force is conservative (it derives from a potential energy function U = ½kx²), the total mechanical energy is conserved throughout the oscillation. At any instant, the sum of kinetic energy KE = ½mv² and potential energy PE = ½kx² equals the constant total energy E = ½kA². This energy exchange is periodic: kinetic and potential energy each oscillate at twice the frequency of the displacement, because squaring a cosine or sine function doubles the frequency. The energy perspective provides a powerful check on solutions and is essential for understanding damped and driven oscillators, where energy is no longer conserved.

The parabolic potential energy curve (PE = ½kx², gold) and the inverted parabolic kinetic energy curve (KE = ½mv², cyan) always sum to the constant total energy E = ½kA² (dashed red line). At x = ±A, all energy is potential; at x = 0, all energy is kinetic.
ENERGY CONSERVATION IN SHM
E = ½mv² + ½kx² = ½kA² = constant
At any position x, the speed can be found from energy conservation: v = ω√(A² − x²). This is often the fastest way to solve for the speed at a given displacement without needing the explicit time dependence.

The energy diagram above also provides geometric insight into the turning points and the equilibrium position. The oscillator moves back and forth along the x-axis, confined between −A and +A because it cannot have negative kinetic energy. The curvature of the potential energy parabola is directly related to the spring constant k, and hence to ω²: a stiffer spring (larger k) produces a narrower, steeper parabola and a higher oscillation frequency. This connection between the shape of the potential energy landscape and the dynamics of the oscillator generalizes beyond SHM; near any stable equilibrium, the potential can be approximated by a parabola, which is why SHM appears so ubiquitously in nature.

Worked Example

Consider a 0.50 kg block attached to a horizontal spring with spring constant k = 200 N/m on a frictionless surface. The block is pulled 0.10 m from its equilibrium position and released from rest. We will determine the angular frequency, period, maximum speed, and the speed when the block is 0.060 m from equilibrium.

Mass-Spring Oscillator: Full Analysis
1
Step 1 — Identify Given ValuesMass: m = 0.50 kg. Spring constant: k = 200 N/m. Initial displacement: x₀ = 0.10 m. Initial velocity: v₀ = 0 (released from rest). Since the block is released from rest at maximum displacement, the amplitude A = x₀ = 0.10 m and the phase constant φ = 0 (choosing cosine form).
A = 0.10 m, φ = 0
2
Step 2 — Calculate Angular FrequencyThe angular frequency is given by ω = √(k/m) = √(200/0.50) = √400 = 20 rad/s.
ω = 20 rad/s
3
Step 3 — Calculate Period and FrequencyThe period is T = 2π/ω = 2π/20 ≈ 0.314 s. The frequency is f = 1/T ≈ 3.18 Hz. This means the block completes approximately 3.18 full oscillations every second.
T ≈ 0.314 s, f ≈ 3.18 Hz
4
Step 4 — Find Maximum SpeedThe maximum speed occurs as the block passes through equilibrium (x = 0). Using v_max = Aω = (0.10)(20) = 2.0 m/s. Alternatively, from energy conservation: ½mv²_max = ½kA², giving v_max = A√(k/m) = Aω = 2.0 m/s.
v_max = 2.0 m/s
5
Step 5 — Find Speed at x = 0.060 mUsing the energy-derived velocity formula: v = ω√(A² − x²) = 20 × √(0.10² − 0.060²) = 20 × √(0.0100 − 0.0036) = 20 × √(0.0064) = 20 × 0.080 = 1.6 m/s. As a check, note that x/A = 0.60, so the block is 60% of the way to its turning point; it makes sense that it still has substantial speed.
v = 1.6 m/s at x = 0.060 m

Conditions for SHM & Its Limitations

While simple harmonic motion provides an elegant and broadly applicable model, it is important to understand both the conditions under which it holds and the limitations that arise in real systems. No physical oscillator is perfectly harmonic — springs have finite elastic limits, pendulums involve nonlinear trigonometric restoring forces, and all real systems experience damping. Recognizing where SHM applies and where it breaks down is essential for deciding when the model is an adequate approximation and when more sophisticated treatments are needed.

Comparison of ideal SHM with real oscillating systems
FeatureIdeal SHMReal Oscillators
Restoring ForceExactly proportional to displacement: F = −kxApproximately linear only for small displacements; higher-order terms (F ∝ x³, etc.) become significant at large amplitudes
DampingNo energy dissipation; amplitude constant foreverFriction, air resistance, and internal losses cause amplitude to decay exponentially over time
PeriodIndependent of amplitude for all amplitudesPeriod may depend weakly on amplitude (e.g., a pendulum at large angles has a longer period)
External DrivingNo external forces; free oscillation onlyPeriodic driving forces lead to forced oscillation and resonance phenomena
WaveformPerfectly sinusoidal (single frequency)Waveform distorted by anharmonic terms; Fourier analysis reveals additional harmonic content
🔑 WHY SHM STILL MATTERS
Even though no real oscillator is perfectly harmonic, SHM remains the essential starting point for analyzing oscillatory systems — much as the ideal gas law is the starting point for thermodynamics. Near any stable equilibrium, the Taylor expansion of the potential energy function starts with a quadratic term: U(x) ≈ ½k_eff x². This means that for sufficiently small displacements, every stable system behaves as a simple harmonic oscillator, regardless of the detailed form of the restoring force. The deviations from SHM become perturbative corrections that are analyzed systematically in the theory of anharmonic oscillators.

Connections to Advanced Oscillation Theory

Simple harmonic motion serves as the gateway to a hierarchy of increasingly realistic oscillation models that you will encounter in upper-division physics courses. Once damping, driving forces, and nonlinearity are introduced, the behavior of oscillating systems becomes substantially richer. The table below summarizes how SHM connects to these more advanced frameworks and highlights the new phenomena that emerge at each level of complexity.

Progression from SHM to advanced oscillation models
ModelEquation of MotionKey New Feature
Simple Harmonic (this lesson)ẍ + ω²x = 0Pure sinusoidal oscillation; constant amplitude; single frequency ω
Damped Harmonicẍ + 2γẋ + ω²x = 0Exponential amplitude decay; underdamped, critically damped, and overdamped regimes
Driven (Forced) Harmonicẍ + 2γẋ + ω²x = F₀ cos(ω_d t)/mSteady-state response; resonance when ω_d ≈ ω; amplitude amplification
Coupled OscillatorsSystem of coupled ODEsNormal modes; energy transfer between oscillators; basis for wave theory
Quantum Harmonic OscillatorĤψ = Eψ with V = ½mω²x²Quantized energy levels E_n = (n + ½)ℏω; zero-point energy; creation/annihilation operators

Each of these advanced models reduces to simple harmonic motion in the appropriate limit: setting the damping coefficient γ to zero recovers free SHM, removing the driving force recovers the homogeneous equation, decoupling oscillators returns independent SHM for each, and taking the classical limit (ℏ → 0 or large quantum numbers) recovers the classical harmonic oscillator from the quantum version. This web of connections underscores why a deep understanding of SHM is not merely useful for introductory physics but is foundational for all of theoretical physics.

Practice Problems

PROBLEM 1CONCEPTUAL
A mass on a spring is oscillating in SHM. At the instant the mass passes through the equilibrium position, what are the signs (positive, negative, or zero) of its displacement, velocity, and acceleration? Explain your reasoning using the phase relationships among x(t), v(t), and a(t).
PROBLEM 2BASIC CALCULATION
A 0.25 kg mass attached to a spring oscillates with a period of 0.50 s. Calculate (a) the angular frequency ω, (b) the spring constant k, and (c) the maximum speed if the amplitude is 0.080 m.
PROBLEM 3INTERMEDIATE
A block of mass 0.40 kg is attached to a spring (k = 160 N/m) and oscillates horizontally on a frictionless surface with an amplitude of 0.15 m. Find (a) the total mechanical energy, (b) the speed of the block when it is 0.090 m from equilibrium, and (c) the displacement at which the kinetic and potential energies are equal.
PROBLEM 4APPLIED
An automobile's suspension can be modeled as a mass-spring system. If a 1200 kg car body sits on springs with a combined effective spring constant of 4.8 × 10⁴ N/m, determine the natural oscillation frequency of the car body. After hitting a bump, the car oscillates vertically with an amplitude of 5.0 cm. What is the maximum acceleration experienced by passengers, and how does it compare to gravitational acceleration g?
PROBLEM 5CRITICAL THINKING
Consider an object of mass m in a potential energy function U(x) = βx⁴, where β > 0 is a constant and x is the displacement from the origin. (a) Is the equilibrium at x = 0 stable? (b) Does the resulting oscillation qualify as SHM? Justify your answer by examining the restoring force. (c) Qualitatively, how would the period of oscillation depend on the amplitude, and how does this contrast with true SHM?

Lesson Summary

Simple harmonic motion is defined as oscillatory motion produced by a linear restoring force proportional to displacement: F = −kx. This condition leads to the differential equation d²x/dt² + ω²x = 0, whose general solution is x(t) = A cos(ωt + φ). The angular frequency ω = √(k/m) determines the period T = 2π/ω and frequency f = 1/T, both of which are independent of amplitude — a hallmark of true SHM. The velocity v(t) = −Aω sin(ωt + φ) and acceleration a(t) = −Aω² cos(ωt + φ) are phase-shifted by 90° and 180° relative to displacement, respectively.

From the energy perspective, the total mechanical energy E = ½kA² is conserved, continuously exchanging between kinetic energy (½mv²) and potential energy (½kx²). The speed at any position is given by v = ω√(A² − x²), and the kinetic and potential energies are equal at x = ±A/√2. Although ideal SHM assumes no damping and perfectly linear restoring forces, its importance extends far beyond this idealization: near any stable equilibrium, the potential energy is approximately quadratic, making SHM the universal small-oscillation approximation and the foundation for understanding damped, driven, coupled, and quantum oscillators.

Varsity Tutors • College Physics • Defining Simple Harmonic Motion