Simple Harmonic Motion (SHM) – Advanced Study Notes
(MIT‑style, from first principles to edge cases)
Prerequisites:
• Classical mechanics (Newton’s laws, energy methods)
• Introductory Lagrangian/Hamiltonian mechanics
• Differential equations (linear ODEs, eigenvalue problems)
• Elementary complex analysis (for driven oscillations)
1. What is SHM?
A simple harmonic oscillator is a system whose displacement (x(t)) satisfies a linear second‑order differential equation with constant coefficients and a restoring force proportional to (-x).
1.1 Formal Definition
A scalar coordinate (x(t)) obeys
[ m\ddot{x} + kx = 0 \tag{1} ]
where
- (m>0) is the (effective) mass,
- (k>0) is the spring constant (or stiffness).
Equation (1) is the equation of motion for a canonical SHM system.
2. Derivation from First Principles
2.1 Hooke’s Law + Newton’s 2nd Law
- Hooke’s law: (\displaystyle F_{\text{rest}} = -kx).
- Newton’s 2nd law: (\displaystyle F_{\text{tot}} = m\ddot{x}).
Setting (F_{\text{tot}} = F_{\text{rest}}) gives (1).
Why linear?
For small displacements the potential energy of a spring is quadratic:
[ U(x) = \frac{1}{2}kx^{2} + \mathcal{O}(x^{3}) ]
Higher‑order terms break linearity, leading to anharmonic motion.
2.2 Energy Conservation
The total mechanical energy (E) is constant:
[ E = T + U = \frac{1}{2}m\dot{x}^{2} + \frac{1}{2}kx^{2} = \text{const} \tag{2} ]
Differentiating (2) and using (1) verifies conservation.
2.3 Lagrangian & Hamiltonian Formulations
-
Lagrangian: [ \mathcal{L}(x,\dot{x}) = T-U = \frac{1}{2}m\dot{x}^{2} - \frac{1}{2}kx^{2} ] Euler–Lagrange gives (1).
-
Hamiltonian: [ H(p,x) = \frac{p^{2}}{2m} + \frac{1}{2}kx^{2} ] with (p = m\dot{x}). Hamilton’s equations reproduce (1).
3. General Solution
Solve the homogeneous ODE (1):
[ \ddot{x} + \omega_{0}^{2}x = 0, \quad \omega_{0} \equiv \sqrt{\frac{k}{m}} \tag{3} ]
Characteristic equation: (r^{2} + \omega_{0}^{2}=0 ;\Rightarrow; r = \pm i\omega_{0}).
Hence,
[ x(t) = A\cos(\omega_{0}t) + B\sin(\omega_{0}t) = C\cos(\omega_{0}t - \phi) \tag{4} ]
where
- (A,B) are determined by initial conditions.
- (C = \sqrt{A^{2}+B^{2}}) is the amplitude.
- (\phi = \arctan!\left(\frac{B}{A}\right)) is the phase.
Phase‑space trajectory: ((x,\dot{x})) traces an ellipse
[ \frac{x^{2}}{C^{2}} + \frac{\dot{x}^{2}}{(\omega_{0}C)^{2}} = 1 ] with constant area ( \pi,C^{2}\omega_{0} = 2\pi E/m) (Liouville’s theorem).
4. Coupled Oscillators & Normal Modes
For two masses (m_{1},m_{2}) connected by springs (k_{1},k_{2},k_{3}), the equations are
[ \begin{aligned} m_{1}\ddot{x}{1} + (k{1}+k_{2})x_{1} - k_{2}x_{2} &= 0,\ m_{2}\ddot{x}{2} + (k{2}+k_{3})x_{2} - k_{2}x_{1} &= 0. \end{aligned} \tag{5} ]
Assume solutions (x_{i} = A_{i}e^{i\omega t}); substitution yields the eigenvalue problem
[ \begin{pmatrix} k_{1}+k_{2} & -k_{2} \ -k_{2} & k_{2}+k_{3} \end{pmatrix} \begin{pmatrix} A_{1} \ A_{2} \end{pmatrix} = m\omega^{2} \begin{pmatrix} A_{1} \ A_{2}