In short
Periodic motion repeats after equal time intervals. Oscillatory motion is periodic motion about an equilibrium position. Simple harmonic motion (SHM) is the special — and enormously common — case of oscillatory motion where the restoring force is proportional to the displacement and points back toward equilibrium:
By Newton's second law this gives the equation
whose solution is x(t) = A\cos(\omega t + \phi) — a sinusoidal back-and-forth with amplitude A, angular frequency \omega, and phase \phi. The time period is T = 2\pi/\omega and the frequency is f = 1/T. Any system displaced slightly from a stable equilibrium oscillates at the frequency set by the curvature of its potential — which is why SHM turns up in a spring, a pendulum (for small angles), a floating plank, a swinging ceiling fan's pull chain, an LC circuit, a tuning fork, a vibrating guitar string, the atoms of a Diwali rangoli held together in a crystal lattice, and every other oscillation in physics that isn't violently far from equilibrium.
Hang a block from a spring, give it a gentle tug downward, and let go. The block bobs up and down with a rhythm so steady that you could set a metronome by it. Tap a tanpura string in a Carnatic concert and it quivers back and forth at the same rhythm for nearly a minute. Pull a grandfather clock's pendulum to one side and release — the swing takes precisely one second each way, century after century.
All three systems are doing the same thing. They have an equilibrium position (where the block rests at rest, where the string is straight, where the pendulum hangs straight down). When you displace them, something pulls or pushes them back toward that equilibrium. They overshoot, reverse, come back, overshoot the other way, and repeat. The motion has a specific mathematical signature — a sine wave in time — and a specific name: simple harmonic motion, or SHM.
SHM is the most important kind of oscillation in physics, not because it is complicated but because it is everywhere. Any stable system, when displaced slightly from equilibrium, oscillates with the motion of a SHM. The planet's orbits, the atoms in a crystal, the electrons in an LC circuit, the bob of a Kashi Vishwanath temple bell, the pressure of a sound wave in your ear, the current in the AM radio in your grandfather's drawing room — all of these are, at heart, simple harmonic motion. Master SHM once, and you have mastered the small-oscillation behaviour of every stable system in the universe.
This article — the first in the oscillations sequence — builds the concept from scratch. You will see what periodic and oscillatory motion mean, what makes SHM the clean special case, derive the equation of motion and its sinusoidal solution, meet the archetypal examples (spring-mass, small-angle pendulum, LC circuit, floating block), and understand why SHM is the universal behaviour near equilibrium. The next chapter — Equation of SHM and Phase — will open up the full vocabulary of amplitude, phase, velocity, acceleration, and energy.
Periodic motion and oscillatory motion — getting the vocabulary right
Start with two words that are close but not the same.
Periodic motion is any motion that repeats itself at regular intervals of time. The smallest time after which the motion looks identical to its earlier state is the time period T.
- The hands of a clock are periodic: the second hand has T = 60 s; the minute hand has T = 60 \times 60 = 3600 s.
- The Earth orbiting the Sun is periodic with T = 365.25 days.
- A child on a merry-go-round at a Diwali mela is periodic — one full revolution takes a few seconds and then the motion repeats.
Oscillatory motion is a special kind of periodic motion: motion that goes back and forth about an equilibrium position. Not all periodic motion is oscillatory — a point on the rim of a rotating ceiling fan blade is periodic, but it does not reverse direction, so it is not oscillatory.
- A block on a spring, bobbing up and down: oscillatory.
- A pendulum swinging: oscillatory.
- A tuning fork: the prongs vibrate back and forth about their rest position — oscillatory.
- A planet in its elliptical orbit: periodic, but not strictly oscillatory (it never changes direction; it just keeps going around).
So: all oscillatory motion is periodic, but not all periodic motion is oscillatory. The defining feature of oscillation is the reversal — the object overshoots, comes back, overshoots again, and so on.
The time period T is the time for one complete oscillation — one full back-and-forth. The frequency f = 1/T is the number of oscillations per second, measured in hertz (Hz). A tuning fork vibrating at 440 Hz (musical A) completes 440 full oscillations every second, with a time period of T = 1/440 \approx 2.3 ms.
What makes SHM special — the restoring force proportional to displacement
Every oscillation needs two ingredients: a place to come back to (the equilibrium), and a force that pulls the object back when it's displaced from that place. The pulling-back force is called the restoring force. In different oscillators, the restoring force takes different forms:
- For a spring: tension/compression that grows with stretch (Hooke's law).
- For a pendulum: the tangential component of gravity, which grows with the swing angle.
- For a floating plank: buoyancy, which grows with how deep you push the plank.
In general, the restoring force F_\text{rest}(x) is some function of the displacement x from equilibrium. At x = 0, the force is zero (that's the equilibrium). For small x, the force points back toward equilibrium — toward the origin — and gets larger the farther you go.
Simple harmonic motion is the clean special case where the restoring force is linear in the displacement:
with k > 0 a constant. The minus sign says "the force opposes the displacement": if you are to the right of equilibrium (x > 0), the force pushes you left. If you are to the left (x < 0), the force pushes you right. The bigger your displacement, the bigger the force, proportionally.
The constant k is the force constant (also called the stiffness or, for a spring, the spring constant) — it has units of N/m. A stiffer system has a larger k, meaning a larger restoring force for a given displacement.
Why this is not as restrictive as it looks
"Restoring force proportional to displacement" might sound like a very specific condition — surely most systems don't exactly obey Hooke's law. True. But here is the remarkable fact: near any stable equilibrium, every smooth restoring force looks linear. Take any nice restoring function F(x) with F(0) = 0. Its Taylor expansion near x = 0 is
where -k \equiv F'(0) is the slope of F at the equilibrium (negative because the force pulls back). For small enough displacements, the higher-order terms are negligible, and the motion is SHM. This is why every stable system oscillates with SHM when you nudge it gently.
A pendulum, strictly, has restoring torque -mgL \sin\theta. For small angles, \sin\theta \approx \theta, and the torque becomes -mgL \theta — linear in \theta. Big-angle pendulums are anharmonic; small-angle pendulums are SHM. This "small-angle approximation" is the window in which the pendulum is a simple harmonic oscillator. Outside the window, the motion is still periodic but no longer simple-harmonic.
The equation of motion — and the sinusoidal solution
Take a spring-mass oscillator: a mass m attached to a spring of stiffness k, free to slide on a frictionless horizontal track. The natural length is at x = 0. Displace the mass to some position x and release.
By Newton's second law,
Divide through by m:
where we have defined \omega = \sqrt{k/m}. This is the equation of motion for a simple harmonic oscillator.
Why: Newton's second law is F = ma. Acceleration is the second derivative of position, a = d^2 x/dt^2. Substituting F = -kx and dividing by m isolates the acceleration on the left. The quantity k/m has units of (\text{N/m})/\text{kg} = \text{s}^{-2}, which is \omega^2 — so \omega has units of \text{s}^{-1}, the correct unit for angular frequency. This substitution \omega^2 \equiv k/m is not a trick; it is the only combination of k and m with units of inverse time.
What function x(t) has the property that its second derivative is a negative constant times itself? The sine and cosine functions. Directly:
Either one solves the equation. The general solution is a linear combination:
Trigonometry lets you rewrite this in the compact amplitude-phase form:
where A_0 = \sqrt{A^2 + B^2} and \phi = -\arctan(B/A). The constants A_0 and \phi are set by initial conditions — by where the mass starts and how fast it is moving.
Why: the differential equation is linear, so any sum of solutions is also a solution. Both \sin(\omega t) and \cos(\omega t) satisfy it, so all their linear combinations do too. Writing the solution in amplitude-phase form consolidates the two constants A and B into one amplitude A_0 (how big the oscillation is) and one phase \phi (where in the cycle the oscillator starts at t = 0). The next chapter will explore both in detail.
The quantity \omega is the angular frequency (units: rad/s). The oscillation's time period is
and the frequency is
Why: \cos repeats every 2\pi radians, so \omega t must advance by 2\pi for one full cycle, giving T = 2\pi/\omega. Frequency is 1 over period — the number of cycles per second. Stiffer system (bigger k) means higher frequency; heavier mass (bigger m) means lower frequency. Both are the intuitively correct directions: push a tight spring, it rebounds fast; push a massive object, it rebounds slow.
Watch SHM move — an animated spring-mass system
The animation below shows a spring-mass oscillator with m = 0.5 kg, k = 20 N/m. Its angular frequency is \omega = \sqrt{20/0.5} = \sqrt{40} \approx 6.32 rad/s, giving a time period of T = 2\pi/\omega \approx 0.99 s. The mass starts at x = 0.2 m to the right of equilibrium and is released from rest, so the motion is x(t) = 0.2 \cos(6.32\, t).
Notice the shape of the motion. The block moves fastest when it passes through the equilibrium position (at x = 0), and it stops momentarily at the turning points (x = \pm A) before reversing. This is a direct consequence of the sine/cosine structure: x(t) = A\cos(\omega t), so v(t) = dx/dt = -A\omega \sin(\omega t). The speed is A\omega at x = 0 (where \sin = \pm 1) and 0 at x = \pm A (where \sin = 0).
Explore how period depends on mass and stiffness
Drag either parameter below to see how the SHM period responds. The formula is T = 2\pi\sqrt{m/k} — period grows as the square root of mass and shrinks as the square root of stiffness.
Archetypal SHM systems
The same equation — \ddot x = -\omega^2 x — describes a whole zoo of oscillating systems, each with its own angular frequency \omega set by the physical parameters. Here are four that every physics student should know by name.
1. Spring-mass oscillator
Already introduced. A mass m on a spring of stiffness k gives \omega = \sqrt{k/m} and T = 2\pi\sqrt{m/k}.
A ₹50 mobile-phone case with a spring-loaded pop-out stand, a clipboard clip, a ball-point pen spring — these are all spring-mass systems waiting to be released.
2. Simple pendulum (small angles)
A bob of mass m on a string of length L hangs straight down. Pull it aside by a small angle \theta and release. The restoring torque is -mgL\sin\theta, which for small \theta becomes -mgL\theta. Newton's second law for rotation (\tau = I\alpha, with I = mL^2) gives
This is SHM in \theta with \omega^2 = g/L, so
Remarkably, the mass does not appear in the period. A heavy bob and a light bob on strings of the same length swing at exactly the same rate. Galileo noticed this watching a chandelier swing in a Pisa cathedral; the full derivation is in Simple Pendulum.
3. LC circuit (electrical SHM)
An inductor L and capacitor C in a loop oscillate exactly like a spring-mass system — but with charge and current playing the roles of position and velocity. The equation is
with \omega = 1/\sqrt{LC}. The charge on the capacitor oscillates sinusoidally, and so does the current. This is the mathematical heart of every radio tuner, every electronic clock, every FM transmitter — all resonant circuits exchanging energy between the electric field of the capacitor and the magnetic field of the inductor, with \omega^2 = 1/(LC) setting the resonant frequency.
4. Floating block (buoyancy as the restoring force)
A rectangular block of uniform density floats partly submerged in water. Push it down by a small distance y; by Archimedes, extra buoyancy pushes it back up by F = -\rho_w g A y (where A is the cross-sectional area). If the block has mass m, Newton's second law gives
which is SHM with \omega = \sqrt{\rho_w g A/m}. A cork bob on the surface of a pond, the kalash floated on the Ganges during a puja, a tennis ball held under water and released — all of these are SHM in disguise.
Why these all look the same
In each case the mathematical skeleton is identical: (inertial quantity) × (second time derivative of a variable) = −(elastic quantity) × (that variable). The inertia can be mass, moment of inertia, inductance. The elastic quantity can be a spring constant, a gravitational pendulum constant, the inverse of capacitance, or the buoyancy stiffness. Once you see the pattern, you can spot SHM in any new system you meet and write down its frequency almost immediately.
Worked examples
Example 1: Spring-mass — compute frequency and period
A toy block of mass m = 200 g is attached to a horizontal spring of stiffness k = 50 N/m on a frictionless surface. The block is pulled 4 cm to the right of equilibrium and released from rest. Find (a) the angular frequency, (b) the time period, (c) the frequency, and (d) the maximum speed of the block.
Step 1. Angular frequency.
Why: convert mass to SI (200 g = 0.200 kg) before dividing. Square-rooting the ratio of stiffness to mass gives the angular frequency directly — a single-step computation.
Step 2. Time period.
Step 3. Frequency.
Why: frequency is the reciprocal of period — the number of oscillations per second. Here the block completes about 2.5 full back-and-forth cycles in every second.
Step 4. Maximum speed.
The amplitude is A = 0.04 m (the initial displacement, since released from rest). The motion is x(t) = 0.04\cos(15.81 \, t), so
The maximum value of |\sin| is 1, so v_\text{max} = 0.04 \times 15.81 \approx 0.632 \text{ m/s}.
Why: max speed is amplitude times angular frequency — v_\text{max} = A\omega. This occurs as the block passes through the equilibrium position, where all the spring's stored potential energy has been converted to kinetic. The next chapter on energy in SHM derives this from energy conservation.
Result: \omega \approx 15.8 rad/s; T \approx 0.40 s; f \approx 2.5 Hz; v_\text{max} \approx 0.63 m/s.
What this shows: A light mass on a moderate spring oscillates several times a second. You can hear this — spring-loaded school-bag clips, the tak-tak of a door spring, the pure ring of a tuning fork all live in the tens-to-hundreds-of-hertz range set by their \sqrt{k/m}.
Example 2: Pendulum — the length of a 1 second pendulum
A simple pendulum has a time period of T = 2.00 s — it swings one way in 1 second, the other way in 1 second, so it ticks each second. (This is called a "seconds pendulum," the standard used in pre-quartz grandfather clocks.) Find the length L of the pendulum, assuming g = 9.80 m/s² at sea level in Mumbai.
Step 1. Write the pendulum period formula.
Step 2. Solve for L.
Square both sides:
Why: isolate L by squaring to remove the square root, then rearrange. The 4\pi^2 in the denominator is what you might forget — it comes from squaring 2\pi.
Step 3. Substitute numbers.
Why: 4\pi^2 \approx 39.48. The answer comes out to just under 1 metre, which is a useful fact — a seconds pendulum is almost exactly 1 m long at sea level. This is not a coincidence of nature; early definitions of the metre were actually proposed in terms of the length of a seconds pendulum.
Result: L \approx 0.99 m.
What this shows: A grandfather clock's pendulum is about 1 metre long — the natural length of anything that ticks each second. Shorter pendulums swing faster (a kitchen spice jar on a string swings several times per second); longer ones swing slower (the Foucault pendulum at the Birla Science Museum in Hyderabad, about 25 m long, has T \approx 10 s).
Example 3: LC circuit — find the resonant frequency
A tuning circuit in a portable AM radio has an inductor L = 250 μH and a variable capacitor currently set to C = 100 pF. Find the resonant angular frequency, the resonant frequency, and identify which AM broadcast band this falls in (if any).
Step 1. Write the resonance condition.
Step 2. Convert to SI units. L = 250 \times 10^{-6} H; C = 100 \times 10^{-12} F.
Step 3. Compute \omega and f.
Why: same formula as the spring-mass system with the substitutions k \to 1/C and m \to L. That the electrical oscillator frequency follows the same pattern as the mechanical one is not a coincidence — the underlying differential equation is identical.
Result: The circuit resonates at approximately 1.01 MHz.
What this shows: The Indian AM broadcast band runs from 535 kHz to 1605 kHz. 1.01 MHz = 1010 kHz lies squarely in the middle — in the evening you might tune this circuit to AIR Vividh Bharati at 1134 kHz or to Radio Mirchi's music service at 980 kHz by slightly adjusting the variable capacitor. Rotating the capacitor knob changes C, which changes \omega by 1/\sqrt{LC}, which changes the station the radio picks out. Every AM radio in the country is, at its heart, an LC oscillator.
Common confusions
-
"All periodic motion is SHM." No — only the special case where the restoring force is linear in displacement. The motion of a bouncing tennis ball, for example, is periodic but not SHM: the restoring force (the floor pushing back) is nothing like a linear function of the ball's position. SHM is the sinusoidal kind of periodic motion.
-
"A pendulum always executes SHM." Only for small angles. The restoring torque -mgL\sin\theta is nonlinear, and the linearisation \sin\theta \approx \theta is good only for \theta \lesssim 15°. Beyond that, the period actually depends on amplitude (a larger swing takes longer), which SHM says it should not. The full solution involves elliptic integrals — beyond school physics, but interesting.
-
"SHM requires that the force is always negative." No — it requires the force to be opposite to the displacement. When x > 0, the force is negative (pulls toward zero). When x < 0, the force is positive (pushes toward zero). The product F \cdot x is always negative — that is the sign of a restoring force. The formula F = -kx captures this with a single minus sign.
-
"The time period depends on the initial displacement (amplitude)." Not for SHM. The period T = 2\pi\sqrt{m/k} contains no amplitude — whether you pull the spring 1 cm or 10 cm, it bobs at the same rate. This amplitude-independence is a specific prediction of SHM and one of its most useful features for clock-making. (For non-SHM oscillators, the period does depend on amplitude.)
-
"SHM is a purely mechanical idea." No — any system whose governing equation has the form \ddot{q} = -\omega^2 q is a simple harmonic oscillator. LC circuits, atoms in a crystal lattice (phonons), the electromagnetic field in a laser cavity, quantum-mechanical oscillators — all described by the same mathematics. SHM is perhaps the most reused idea in physics.
-
"The restoring force proportional to -x is contrived and rarely exact." Also no. Exactly linear is rare; approximately linear near equilibrium is universal. Every stable system, to lowest order in a Taylor expansion, obeys Hooke's law near its equilibrium. This is why SHM is the universal near-equilibrium behaviour.
If you have the definition of SHM, the equation of motion, and can identify and compute the period of standard oscillators, you have the working content of this article. What follows is the connection between SHM and uniform circular motion (the original definition and a beautiful geometric picture), the universality argument via Taylor expansion, and the first glimpse of the energy picture that will be developed fully in Energy in SHM.
SHM as the shadow of uniform circular motion
Take a particle moving in a circle of radius A at constant angular speed \omega. Its x-coordinate is
This is exactly the equation of a simple harmonic oscillator. So the x-component of uniform circular motion is simple harmonic motion. The two motions are mathematically the same projection of one onto the other.
This is the historical origin of the word simple harmonic: the Greek notion of harmony was based on circular motion, and the fact that the "shadow" of perfectly regular circular motion is sinusoidal gives the motion its "harmonic" character. It is also the origin of the name \omega — it is the angular speed of the corresponding circular motion, even in systems where there is no actual circle (spring-mass, LC circuit). The SHM shadow picture is why calling \omega the "angular frequency" and using the unit rad/s makes sense — it is a leftover from the circular-motion interpretation.
The shadow picture is also a concrete way to see why v_\text{max} = A\omega and a_\text{max} = A\omega^2: v_\text{max} is the speed of P around the circle projected onto the x-axis, and a_\text{max} is the centripetal acceleration of P projected similarly.
The universal argument — why SHM is everywhere
Consider a particle with potential energy U(x) sitting at a stable equilibrium at x = 0. "Stable" means U has a local minimum there: U'(0) = 0 (no force at equilibrium) and U''(0) > 0 (curves upward — any small displacement costs energy, so there is a restoring tendency).
Expand U(x) as a Taylor series around x = 0:
Set U(0) = 0 (choose the potential's zero at equilibrium) and U'(0) = 0 (equilibrium condition). The leading non-trivial term is \tfrac{1}{2} U''(0) x^2. For small x the higher-order terms are negligible compared to this quadratic term, so
This is the harmonic potential. The restoring force is
which is Hooke's law. So: every stable system, for small displacements, has a harmonic potential and obeys Hooke's law to leading order. This is the universality of SHM — why the same mathematics describes spring oscillators, pendulums, crystals, and radio-tuning circuits. The physical identity of the oscillator doesn't matter; only the second derivative of the energy at equilibrium does.
This argument fails only when U''(0) = 0 — when the potential is flat at equilibrium to quadratic order. In such cases the oscillation is not SHM but something with a different power-law period dependence. The two-dimensional Mexican-hat potential, the rotation of a rigid body about an axis of intermediate moment of inertia, and a ball rolling in a perfectly flat-bottomed bowl are all examples. But the "generic" case is SHM, and you will meet the exceptions as exceptions.
First glimpse of energy in SHM
The kinetic energy of a SHM oscillator is \tfrac{1}{2}m v^2 = \tfrac{1}{2} m A^2 \omega^2 \sin^2(\omega t + \phi), and the potential energy is \tfrac{1}{2} k x^2 = \tfrac{1}{2} k A^2 \cos^2(\omega t + \phi). Using k = m\omega^2,
The total energy is constant, and it depends only on the amplitude and the stiffness, not on the phase. The KE and PE swap back and forth but their sum is fixed. This is conservation of mechanical energy for the oscillator — fully developed in Energy in SHM. The ratio E/A^2 = (constant depending on system) is often a cleaner parameter for comparing oscillators than the amplitude alone.
Damping and driving — beyond SHM
Real oscillators do not oscillate forever — friction and air resistance drain energy, slowly shrinking the amplitude. This is damped oscillation, governed by
If an oscillator is driven by an external periodic force F_0 \cos(\Omega t), the response is forced oscillation:
Both extensions produce rich physics — damped decay, beats, resonance catastrophe, the specific shape of the response-vs-frequency curve — all built on top of the basic SHM framework developed here. The next few chapters will take these up in turn.
An Indian footnote
The jantar-mantar observatories of Jaipur and Delhi (built in the 1720s by Sawai Jai Singh II) contain the Samrat Yantra — the world's largest sundial, whose gnomon's shadow sweeps across the Earth once per day. As the shadow moves along a calibrated arc, its rate corresponds to the angular speed of the Sun's apparent motion — which is essentially uniform circular motion (geocentrically) — and the shadow's motion along any one axis is the SHM shadow picture described above, on a scale of hours rather than seconds. The design of the sundial anticipates, in physical form, the connection between rotation and harmonic oscillation that Hooke's and Newton's mathematics would formalise a generation later.
Where this leads next
- Equation of SHM and Phase — the full exploration of x(t) = A\cos(\omega t + \phi): amplitude, phase, initial conditions, velocity, acceleration, phase diagrams.
- Energy in SHM — how kinetic and potential energy oscillate and sum to a constant total.
- Simple Pendulum — the canonical SHM, with the full derivation of T = 2\pi\sqrt{L/g} and its corrections for large amplitude.
- Spring-Mass System — horizontal, vertical, and combined spring arrangements; series and parallel springs.
- Damped Oscillations — what happens when friction is added to SHM.
- Forced Oscillations and Resonance — the response of an oscillator to an external periodic drive, and the dramatic effects at resonance.