The Damped Harmonic Oscillator #
i. Overview #
The damped harmonic oscillator is a classical mechanical system corresponding to a
mass m under a restoring force - k x and a damping force - γ ẋ, where k is the
spring constant, γ is the damping coefficient, x is the position, and ẋ is the velocity.
The equation of motion for the damped harmonic oscillator is:
m ẍ + γ ẋ + k x = 0
Depending on the relationship between the damping coefficient and the natural frequency, the system exhibits three different behaviors:
- Underdamped (γ² < 4mk) : Oscillatory motion with exponentially decaying amplitude
- Critically damped (γ² = 4mk) : Fastest return to equilibrium without oscillation
- Overdamped (γ² > 4mk) : Slow return to equilibrium without oscillation
ii. Key results #
This module is currently a placeholder for future implementation. The following results are planned to be formalized:
DampedHarmonicOscillator: Structure containing the input data (mass, spring constant, damping coefficient)EquationOfMotion: The equation of motion for the damped harmonic oscillator- Solutions for underdamped, critically damped, and overdamped cases
- Energy dissipation properties
- Quality factor and relaxation time
iii. Table of contents #
- A. The input data (to be implemented)
- B. The damped angular frequency (to be implemented)
- C. The energies and energy dissipation (to be implemented)
- D. The equation of motion (to be implemented)
- E. Solutions (to be implemented)
- E.1. Underdamped case
- E.2. Critically damped case
- E.3. Overdamped case
- F. Quality factor and decay time (to be implemented)
iv. References #
References for the damped harmonic oscillator include:
- Landau & Lifshitz, Mechanics, page 76, section 25.
- Goldstein, Classical Mechanics, Chapter 2.
A. The input data (placeholder) #
The input data for the damped harmonic oscillator will consist of:
Placeholder structure for the damped harmonic oscillator.
The damped harmonic oscillator is specified by a mass m, a spring constant k,
and a damping coefficient γ. All parameters are assumed to be positive (or non-negative
for the damping coefficient).
- m : ℝ
The mass of the oscillator.
- k : ℝ
The spring constant of the oscillator.
- γ : ℝ
The damping coefficient of the oscillator.
Instances For
B. The natural angular frequency (placeholder) #
The natural angular frequency ω₀ = √(k/m) will be defined here.
The natural (undamped) angular frequency of the oscillator, ω₀ = √(k/m).
Instances For
C. Equation of motion (Tag: DHO03) #
The damped harmonic oscillator with mass m, spring
constant k, and damping coefficient γ satisfies
m ẍ + γ ẋ + k x = 0,
where x : Time → ℝ is the position as a function of time.
The equation of motion for the damped harmonic oscillator.
A function x : Time → ℝ is a solution if it satisfies
S.m * x¨ + S.γ * ẋ + S.k * x = 0
for all times t.
Equations
- S.EquationOfMotion x = ∀ (t : Time), S.m * Time.deriv (Time.deriv x) t + S.γ * Time.deriv x t + S.k * x t = 0
Instances For
D. The energies and energy dissipation (Tag: DHO04) #
For the damped harmonic oscillator, the mechanical energy is
E(t) = ½ S.m (ẋ(t))^2 + ½ S.k (x(t))^2,
where x : Time → ℝ is the position as a function of time.
If x satisfies the equation of motion
S.m * x¨ + S.γ * ẋ + S.k * x = 0,
then differentiating E with respect to time and substituting the
equation of motion yields
dE/dt = - S.γ * (ẋ(t))^2 ≤ 0
Thus the energy is non-increasing in time, and it is strictly decreasing
whenever S.γ > 0 and ẋ(t) ≠ 0. In particular, for S.γ > 0
the energy is not conserved, and the energy dissipation rate is
proportional to the squared velocity.
The kinetic energy of the damped harmonic oscillator.
Equations
- S.kineticEnergy x t = 1 / 2 * S.m * Time.deriv x t ^ 2
Instances For
The potential energy of the damped harmonic oscillator.
Instances For
Mechanical energy of the damped harmonic oscillator.
Equations
- S.energy x = S.kineticEnergy x + S.potentialEnergy x
Instances For
Energy dissipation rate along a trajectory x : Time → ℝ.
if x satisfies S.equationOfMotion x, then
Time.deriv (S.energy x) t = - S.γ * (Time.deriv x t)^2,
so the energy is non-increasing and not conserved when S.γ > 0.
Equations
- S.energyDissipationRate x t = -S.γ * Time.deriv x t ^ 2
Instances For
E. Damping regimes (placeholder) #
The three damping regimes will be defined based on the discriminant γ² - 4mk.
The discriminant that determines the damping regime.
Instances For
The system is underdamped when γ² < 4mk.
Equations
- S.IsUnderdamped = (S.discriminant < 0)
Instances For
The system is critically damped when γ² = 4mk.
Equations
- S.IsCriticallyDamped = (S.discriminant = 0)