LC Circuit Oscillations and the Mass-Spring Analogy

This article explains why inductor-capacitor (LC) circuits exhibit electromagnetic oscillations that directly mirror the mechanical oscillations of a mass-spring system. By comparing the exchange of electric and magnetic energy in a circuit to the transfer of potential and kinetic energy in mechanics, we reveal how both systems are governed by the exact same mathematical principles of simple harmonic motion.

The Physical Analogy of Components

Both LC circuits and mass-spring systems rely on two fundamental components capable of storing and exchanging energy. Each electrical property in the circuit has a direct mechanical counterpart:

  • Charge (\(Q\)) and Position (\(x\)): The amount of electric charge stored on the capacitor corresponds to the physical displacement of the mass from its equilibrium position.
  • Current (\(I\)) and Velocity (\(v\)): The flow of charge (electric current) is the rate of change of charge over time. This directly mirrors velocity, which is the rate of change of position over time.
  • Capacitance (\(C\)) and Spring Compliance (\(1/k\)): A capacitor stores energy in an electric field when charged, much like a spring stores elastic potential energy when stretched or compressed. Specifically, the inverse of capacitance (\(1/C\)) acts like the spring constant (\(k\)), representing the "stiffness" of the system.
  • Inductance (\(L\)) and Mass (\(m\)): An inductor resists changes in electric current due to Faraday's law of induction. This electrical inertia is identical to how a physical mass resists changes in velocity according to Newton's first law.

The Cycle of Energy Transformation

Oscillations occur because energy continuously shifts back and forth between two different forms without being lost (assuming an ideal, resistance-free and friction-free environment).

  1. Maximum Potential State: A fully charged capacitor holds maximum electric potential energy with zero current flowing. This is equivalent to a stretched spring holding maximum elastic potential energy while the mass is momentarily stationary.
  2. The Discharge and Acceleration: As the capacitor discharges, electric potential energy converts into magnetic energy within the inductor as current builds up. Similarly, the spring pulls the mass toward equilibrium, converting potential energy into kinetic energy as the mass accelerates.
  3. Equilibrium and Maximum Flow: When the capacitor is completely discharged, the current reaches its maximum value. The inductor's magnetic field now holds all the system's energy. In the mechanical system, the mass passes through the equilibrium point at maximum velocity; the spring is unstretched, and all energy is now kinetic.
  4. Inertia and Overshoot: The inductor's electrical inertia keeps the current flowing, which begins to charge the capacitor with the opposite polarity. This mirrors how the physical inertia of the mass carries it past the equilibrium point, compressing the spring and converting kinetic energy back into potential energy.

Once the capacitor is fully charged in the opposite direction, the current stops, and the cycle reverses.

The Mathematical Identity

The ultimate reason LC circuits behave like mass-spring systems is that both are governed by identical second-order linear differential equations describing simple harmonic motion.

For a mass-spring system, combining Newton's second law (\(F = ma\)) and Hooke's law (\(F = -kx\)) gives:

\[m \frac{d^2x}{dt^2} + kx = 0\]

For an LC circuit, applying Kirchhoff’s voltage law states that the sum of the voltage drops across the inductor (\(L \frac{dI}{dt}\)) and the capacitor (\(Q/C\)) must equal zero. Since current is the derivative of charge (\(I = \frac{dQ}{dt}\)), the equation becomes:

\[L \frac{d^2Q}{dt^2} + \frac{1}{C}Q = 0\]

Because the mathematical structures are identical, their solutions are identical. Both systems oscillate as a sine or cosine wave over time.

Furthermore, the natural angular frequency of oscillation (\(\omega\)) for each system is derived the exact same way from the equations above:

  • Mass-Spring Frequency: \(\omega = \sqrt{\frac{k}{m}}\)
  • LC Circuit Frequency: \(\omega = \sqrt{\frac{1}{LC}}\)

Because the underlying calculus makes no distinction between electrical charge and physical position, the LC circuit is bound by the laws of physics to oscillate in the exact same manner as a mass on a spring.