Differential Equations in
Oscillations & Circuits
Master the second-order ODEs that govern springs, pendulums, and RLC circuits: from simple harmonic motion to damped and driven systems.
What Is an Oscillation?
An oscillation is any repetitive motion about an equilibrium position. The displacement \( x(t) \) changes sign periodically. Think of a mass on a spring, a swinging pendulum, or charge sloshing back and forth in a circuit.
Why Differential Equations?
Newton's second law and Kirchhoff's voltage law both relate a quantity to its own derivatives. The restoring force in a spring is proportional to displacement; voltage across an inductor is proportional to the rate of change of current. These relationships naturally produce ordinary differential equations (ODEs).
Force depends on position \( x \)
Voltage depends on current change
The Mechanical Analogy
A mass \( m \) on a spring with constant \( k \) and damping coefficient \( b \) obeys:
Simple Harmonic Motion: The Core ODE
When there is no damping (\( b = 0 \)) and no driving force (\( F = 0 \)), the equation simplifies to:
The general solution is:
The RLC Circuit Analogy
A series RLC circuit driven by a voltage source \( \mathcal{E}(t) \) satisfies:
Mechanical vs Electrical: Key Distinction
The two systems are governed by identical mathematics. Every mechanical quantity has an electrical counterpart:
| Role | Mechanics | Circuits |
|---|---|---|
| Dynamic variable | \( x \) (displacement) | \( q \) (charge) |
| Inertia | \( m \) (mass) | \( L \) (inductance) |
| Dissipation | \( b \) (damping) | \( R \) (resistance) |
| Restoring element | \( k \) (spring constant) | \( 1/C \) (inverse capacitance) |
| External drive | \( F(t) \) | \( \mathcal{E}(t) \) |
Three Damping Regimes
The character of the solution depends on the discriminant \( \gamma^2 - \omega_0^2 \), where \( \gamma = b/(2m) \):
Oscillates with decaying amplitude
Returns to equilibrium fastest, no oscillation
Returns slowly, no oscillation
Formal Damped Solutions
For the damped oscillator \( \ddot{x} + 2\gamma\dot{x} + \omega_0^2 x = 0 \), try \( x = e^{rt} \). The characteristic equation is:
Driven Oscillations & Resonance
When an external force \( F_0\cos(\omega t) \) drives the system, the steady-state solution has amplitude:
The LC Circuit: Pure Oscillation
With no resistance (\( R = 0 \)), the series LC circuit is the electrical analog of undamped SHM:
Maximum when \( q = Q_0 \), current is zero
Maximum when \( I = I_0 \), charge is zero
How to Solve: Step by Step
Example 1: Undamped Spring
A \( 0.5 \ \text{kg} \) mass on a spring with \( k = \) \( 200 \ \text{N/m} \) is displaced \( 0.1 \ \text{m} \) and released from rest. Find \( x(t) \).
Example 2: Underdamped Oscillator
Same spring, but now with damping \( b = \) \( 4 \ \text{Ns/m} \). Classify and solve, using the same initial conditions (displaced \(0.1 \ \text{m}\), released from rest).
Example 3: RLC Circuit
An LC circuit has \( L = \) \( 10 \ \text{mH} \) and \( C = \) \( 100 \ \mu\text{F} \), with initial charge \( Q_0 = \) \( 5 \ \mu\text{C} \). Find the oscillation frequency and \( q(t) \).
Common Mistakes
Summary: Solution Forms
| Regime | Condition | Solution Form |
|---|---|---|
| Undamped (SHM) | \( \gamma = 0 \) | \( A\cos(\omega_0 t + \phi) \) |
| Underdamped | \( \gamma < \omega_0 \) | \( Ae^{-\gamma t}\cos(\omega_d t + \phi) \) |
| Critically Damped | \( \gamma = \omega_0 \) | \( (A + Bt)e^{-\gamma t} \) |
| Overdamped | \( \gamma > \omega_0 \) | \( Ae^{r_1 t} + Be^{r_2 t} \) |
| Driven (steady-state) | External \( F_0\cos\omega t \) | \( A(\omega)\cos(\omega t - \delta) \) |
Question 1 of 5
A mass-spring system has \( m = 2 \ \text{kg} \) and \( k = 50 \ \text{N/m} \). What is the angular frequency \( \omega_0 \)?
Question 2 of 5
A damped oscillator has \( \omega_0 = 10 \ \text{rad/s} \) and \( \gamma = 10 \ \text{s}^{-1} \). The system is:
Question 3 of 5
In a series RLC circuit, which component plays the role of the spring constant \( k \) in the mechanical analogy?
Question 4 of 5
An LC circuit has \( L = 4 \ \text{mH} \) and \( C = 1 \ \mu\text{F} \). What is the natural frequency of oscillation?
Question 5 of 5
At resonance in a driven, damped oscillator, the driving frequency \( \omega \) is closest to: