Why the World Swings — Pendulums and Simple Harmonic Motion

Why the World Swings

Reading

Scientific-engraving-style illustration of a lamp hanging from a high cathedral ceiling, swinging (shown in two positions with a dashed arc), watched by a young man with his hands held out
Fig. 1: A lamp swinging beneath a cathedral ceiling — the scene in which Galileo, timing it against his own pulse, is said to have noticed that the period barely changes with the amplitude (isochronism).

There are many things in the world that swing. Playground swings, pendulum clocks, guitar strings, ocean waves, the beating heart, and the quartz crystal that keeps time inside your smartphone. Though they differ wildly in scale and form, they all dutifully repeat a back-and-forth motion. Why is nature so fond of swinging?

Let us look — without diving too deep into calculation — at where this swinging comes from.

The heart of swinging: a "pull-back force"

Swinging things share a common feature. They have a place where they can rest — an equilibrium position — and whenever they are displaced from it, they always try to return. This "force that tries to restore" is called the restoring force.

Picture a spring. Stretch it beyond its natural length and it tries to contract; compress it and it tries to expand. Pull a swing back and it returns forward; lift a pendulum to the side and it returns to straight down. In every case, "the more it is displaced, the more it is pushed back." Moreover, while the displacement is small, the restoring force is roughly proportional to the size of the displacement. Written as a formula, for a position $x$ the force is $-kx$. The leading minus sign expresses the idea of "pulling back in the opposite direction."

Graph of the restoring force F = −kx displacement x force F F = −kx O x>0 → F<0 (pulls back)
Fig. 2: While the displacement is small, the restoring force F is nearly proportional to the displacement x, with the opposite sign (F = −kx). The farther from equilibrium O, the more strongly it is pulled back toward the center.

But here lies the seed of oscillation. Once drawn back by the restoring force, the object does not come to a neat stop at the equilibrium. It has built up momentum, so it overshoots. Then it is pulled back from the other side. Overshoot, get pulled back, overshoot again — this endless tug-of-war is the true nature of swinging.

The bottom of a bowl and the restoring force equilibrium overshoot restoring force
Fig. 3: When displaced from a stable equilibrium (the bottom of the bowl), a restoring force acts to cancel the displacement. Carried by momentum the object passes through the bottom and is pulled back from the other side — and this repetition becomes oscillation.
The cycle of overshoot and pull-back Cross center → Overshoot right Cross center ← Overshoot left momentum momentum restoring force restoring force repeats
Fig. 4: Swinging is the repetition of four phases — momentum carries the motion past the equilibrium (orange), the restoring force turns it back where it overshoots on one side (red), and it overshoots again on the other side. This cycle going on and on is simple harmonic motion.

Swinging, summed up in one line

Let us write this "overshoot and pull-back" in Newton's language of motion. Force produces acceleration ($F=ma$), so if the restoring force is $-kx$, the acceleration is proportional to it. Tidied up, swinging fits into a single line:

$$\frac{d^2 x}{dt^2} = -\omega^2 x$$

The left side is "the rate of change of the rate of change of position," that is, the acceleration. The right side is "a constant times the current position, with the opposite sign." Read aloud, it makes just one claim: the farther from equilibrium, the more strongly it is pulled back toward the center. Here $\omega$ is the number that sets the pace of the swing; it grows larger the stiffer the spring and the shorter the pendulum.

An equation like this — one that ties an unknown function (here the position $x(t)$) to its own derivatives (its rates of change) — is called a differential equation. In a single line it states how "the present state" and "the way it is changing" are related, and far beyond swinging it is the common language nature uses to describe anything that changes over time — which is exactly why it is the star of this series.

If you actually work it out, the solutions turn out to be the familiar $\sin$ and $\cos$: a wave that glides back and forth, never stopping, forever keeping the same rhythm — that is simple harmonic motion. The detailed methods of solving it are left to the elementary chapter on the harmonic oscillator; what is worth savoring here is rather the fact that such a rich variety of swinging arises from a single local rule of one line.

The wave x(t) of simple harmonic motion time t position x A period T (one round trip)
Fig. 5: The solutions of the equation are sin/cos waves. Around the equilibrium (horizontal axis), the motion keeps going back and forth with the same amplitude A and the same period T, neither decaying nor growing — this is simple harmonic motion.

Quick note: a circle seen from the side becomes a swing

There is a neat way to grasp the nature of simple harmonic motion at a glance: watch a point going around a circle at constant speed, viewed exactly from the side. If you follow only the point's left-right shadow, it is precisely a $\cos$ swing — that is, simple harmonic motion. Rotation and oscillation are the same motion seen from different angles. It is no accident that $\sin$ and $\cos$ show up in swinging.

A circle seen exactly from the side becomes simple harmonic motion P shadow oscillates left–right = SHM θ = ωt
Fig. 6: A point P circling at constant speed, viewed exactly from the side, casts a "left-right shadow" that is precisely a cos swing — simple harmonic motion. Rotation and oscillation are the same motion seen from different angles.

What Galileo found in church

One of the first to take the wonder of swinging seriously was Galileo Galilei. As the story goes, in his youth he watched a lamp hanging from the ceiling of the Cathedral of Pisa sway gently in the breeze. Timing it against his own pulse, he noticed something: whether the swing is wide or narrow, the time for one round trip barely changes.

This is counterintuitive. A wider swing covers a longer path back and forth, so you might expect it to take longer. But a wider swing also moves faster, and the two effects very nearly cancel out. This property is called isochronism. A rhythm of swinging that stays nearly constant regardless of amplitude is extraordinarily convenient as a "device for keeping time."

The same period for different amplitudes (isochronism) L small swing L large swing
Fig. 7: The same pendulum, swinging a little (left) and a lot (right). If the string length L is the same, the bob traces an arc of the same radius in both cases (dashed). And whatever the amplitude, the time for one round trip (the period) barely changes (most precisely for small swings) — the isochronism Galileo discovered.

Later this discovery bore fruit as the pendulum clock, and humanity held a steady measure of time for the first time. The study of swinging led directly to the mastery of accurate time. It is also striking that the very same mechanism that produces swinging creates motion that neither decays nor grows but repeats endlessly — in contrast to the exponential growth and decay explored in a companion reading.

The same mechanism lurks behind every swing

Once you notice the skeleton of "restoring force + overshoot," swings all over the world begin to look alike.

A guitar string, when plucked, tries to return to its original position, overshoots, and returns again — and so it sounds. Air molecules too, when pushed, try to return and vibrate, reaching the ear as sound waves. Electrons inside atoms and the lattice inside crystals likewise quiver, pulled back toward equilibrium whenever displaced. Even electrical circuits: a coil and a capacitor make electric charge "overshoot and get pulled back," producing a swing — that is, alternating current.

Various kinds of simple harmonic motion spring–mass pendulum circuit (LC) string / sound
Fig. 8: A spring, a pendulum, an electrical circuit (LC), a string or sound wave — however different they look, all are members of the same family of simple harmonic motion obeying one line, "x″ = −ω²x."

In other words, wherever there is a stable equilibrium, swinging usually lurks. The world's fondness for swinging is no whim but the simple, inevitable result of "a force that restores + momentum that cannot stop." That is exactly why a single equation of simple harmonic motion can bind together so many phenomena.

Quick note: swings eventually stop — the reality of damping

A real swing, unless you keep pushing, eventually stops. Air resistance and friction steal energy from the swing little by little. This is called damping. Conversely, if you keep applying force at just the right timing, the swing grows larger and larger, sometimes enough to bring down a bridge — this is resonance. When "damping" or "an external force" is added to the ideal simple harmonic motion, the story of swinging grows far richer. Its sequel awaits at the elementary level.

Damping and resonance damping (dies down) resonance (grows)
Fig. 9: When reality is added to the ideal simple harmonic motion, the story expands — if friction or resistance robs the swing, you get "damping" (left); if force is applied at just the right timing, you get "resonance" (right).

Closing — carrying the one line of swinging

Behind the commonplace phenomenon of swinging live a humble restoring force that "pulls back by the amount of the displacement" and a momentum that "cannot stop and passes through." Write the tug-of-war between the two as a single line of differential equation, and the pendulum, the string, and alternating current can all be explained at once. The reason the world is so fond of swinging lies, in the end, right there.

Once you are at home with the differential-equation idea that "the present state determines the next step," the next thing to try is actually solving this swing as a formula. At the elementary level, we take up simple harmonic motion and its relative the harmonic oscillator, and savor the rhythm of swinging and the behavior of damping and resonance together with the handling of formulas.

Frequently asked questions

Why are there so many oscillatory phenomena in nature?

Because anything with a stable equilibrium feels a "restoring force" that tries to bring it back when displaced. While the displacement is small, that force is roughly proportional to its size. Carried by momentum the object passes through, is pulled back from the other side, and so on — this repetition of overshoot and pull-back is oscillation. So wherever there is a stable equilibrium, swinging usually appears.

Is it true that a pendulum's period does not depend on the amplitude?

When the amplitude is small, it is nearly true. For small swings the motion behaves as simple harmonic motion whose restoring force is proportional to the displacement, and the time for one round trip (the period) barely depends on the amplitude. This is called isochronism, and it became the principle of the pendulum clock. As the amplitude grows, however, the proportionality breaks down and the period becomes slightly longer.