JOVANA
Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

The Spring, the Mass, and the Circuit Analogy

A weight bouncing on a spring and current sloshing in a wired loop obey the very same second-order equation. Meet that one equation — and the dictionary that lets one theory serve two worlds.

One equation, wearing two costumes

By now you can solve a constant-coefficient second-order linear equation in your sleep: write down the characteristic equation, read off the roots, and assemble the general solution. This rung is where all that machinery finally points at something you can see and hear. The whole subject of mechanical vibration and electrical oscillation rides on a single equation, and once you recognise it, half the physics of the world stops being mysterious.

Picture a weight hanging from a spring, with a small shock absorber attached — the piston on a screen door is the friendliest mental image. Pull the weight down and let go. Newton's second law (force = mass times acceleration) bookkeeps three pushes on the weight: its inertia, the friction of the absorber, and the spring tugging it home. Adding them up to equal whatever you push from outside gives the spring-mass-damper equation m x'' + c x' + k x = F(t).

Read each term as a character in the story. The term m x'' is inertia — heavy things are reluctant to change speed. The term c x' is damping — a drag that fights the velocity, draining energy as heat. The term k x is the restoring force — the spring pulls back in proportion to how far you have stretched it (Hooke's law). And F(t) is the outside hand doing the shaking. That is the entire cast of this rung; every phenomenon ahead is just these three terms competing under different settings.

The other costume: an electrical loop

Now wire up a loop from three electrical parts: a resistor R that wastes energy as heat, an inductor L (a coil that resists changes in current), and a capacitor C (two plates that store charge). Give the capacitor an initial charge or hook up a battery, and the current sloshes back and forth around the ring. Kirchhoff's voltage law says the voltage drops around the loop add up to the applied voltage, and writing each in terms of the charge q(t) gives L q'' + R q' + (1/C) q = E(t).

Put the two equations side by side and the punchline is impossible to miss: they are the same equation with the letters relabelled. The inductor's L q'' is inertia, the resistor's R q' is damping, the capacitor's q/C is a restoring force, and E(t) is the outside shake. This is the RLC circuit, the electrical twin of the bouncing weight. Nothing about the mathematics knows or cares whether x means a position in metres or q means a charge in coulombs.

  mechanical:   m x'' + c x' +  k  x = F(t)
  electrical:   L q'' + R q' + (1/C) q = E(t)
                |      |        |       |
  role:      inertia  drag   restoring  drive

  m <-> L     c <-> R     k <-> 1/C     x <-> q     F <-> E
The mechanical-electrical dictionary: match the equations term for term and every symbol gets a translation.

Why the analogy is worth its weight

The mechanical-electrical analogy is a dictionary, and dictionaries do real work. Anything you prove about the bouncing weight is automatically true about the circuit, with the words swapped — so you never solve the same problem twice. This is why engineers build cheap electrical circuits to study expensive mechanical systems: it is a great deal safer to tune an RLC loop on a bench than to shake a real bridge until it tells you its secrets.

The deeper reason the analogy keeps appearing is that springs and circuits are not special. Near any stable balance point, almost any system feels a restoring force roughly proportional to displacement — that is just the first non-trivial term of a Taylor expansion. So a pendulum at small swing, an atom jiggling in a crystal, a tuned mass on a skyscraper, and a microphone diaphragm are all, to first approximation, this exact same equation. Master it once and you have a key that fits a startling number of locks.

Turning four knobs to get four behaviours

Here is the beauty of having one master equation: every phenomenon in this rung comes from choosing which terms to keep. Switch the forcing off (F = 0) and you study how a plucked system rings itself down on its own. Switch the forcing on and you study how it answers being shaken. Within the unforced case, the size of the damping c decides everything. The four settings below are the entire map of this rung.

  1. No damping, no force (c = 0, F = 0): the idealized frictionless bounce, m x'' + k x = 0. The weight traces a perfect, never-fading cosine — this is simple harmonic motion, the subject of guide 2.
  2. Damping, no force (c > 0, F = 0): the system gets disturbed and rings down, m x'' + c x' + k x = 0. This is free damped vibration, and how strong c is splits it into three regimes — guide 3.
  3. A steady push (F = F_0 cos(omega t)): the system is driven and settles into a steady-state oscillation at the driving frequency. This is forced oscillation, and the size of the response versus frequency is the frequency-response curve — guide 4.
  4. Pushing near the favourite frequency: when the driving frequency closes in on the system's own, small pushes pile into huge swings. That is resonance (and its cousin, beats) — the dramatic finale of guide 5.

The one number every story revolves around

Before any of the four stories unfolds, one quantity deserves a name now, because it will reappear in every single guide ahead. Strip the equation to its barest skeleton, m x'' + k x = 0, and the system rings at a rate built into its own stiffness and mass: the natural angular frequency omega_0 = sqrt(k/m). A stiffer spring (bigger k) sings higher; a heavier mass (bigger m) sings lower. Crucially, this rate is set by the object itself, not by how hard you hit it.

Watch how omega_0 quietly choreographs the whole rung. In simple harmonic motion it is literally the frequency of the cosine. In damped vibration the system rings slightly slower, at omega_d = omega_0 sqrt(1 - zeta^2), where zeta is the damping ratio. And in forced motion, resonance erupts precisely when the driving frequency approaches omega_0. Everything is measured against this one reference pitch — find omega_0 first and the rest of the analysis snaps into place.

What you are now equipped to read

You came into this rung able to solve the equation; you leave this guide able to read it. When you see m x'' + c x' + k x = F(t), you no longer see three abstract coefficients — you see inertia versus drag versus a restoring pull, refereed by an outside force. And when an electrical engineer hands you L q'' + R q' + (1/C) q = E(t), you recognise an old friend in a new hat and translate without a second thought.

From here the rung walks the four knobs one at a time. Guide 2 freezes the damping and forcing to zero for the pure cosine of simple harmonic motion. Guide 3 turns up the damping and meets the under-, critically-, and over-damped trio. Guide 4 switches on a steady push and traces the frequency response. Guide 5 closes with resonance and beats — the moment forcing meets frequency and the swings either soar or throb. One equation; four faces; an entire branch of engineering.