MathorynMathematical Formula Database

Differential Equations

Second-Order Linear ODE: Complex Roots

If the characteristic equation has complex roots α±βi\alpha\pm\beta i, the solutions oscillate with angular frequency β\beta inside an exponential envelope eαxe^{\alpha x}. This case is used for underdamped oscillations and waves.

r=α±βi ⇒ y=eαx(C1cos⁡βx+C2sin⁡βx)r=\alpha\pm\beta i\ \Rightarrow\ y=e^{\alpha x}\left(C_1\cos\beta x+C_2\sin\beta x\right)
LaTeXr=\alpha\pm\beta i\ \Rightarrow\ y=e^{\alpha x}\left(C_1\cos\beta x+C_2\sin\beta x\right)

Variables

α\alpha
real part of the roots
β\beta
imaginary part of the roots (β > 0)
C1, C2C_1,\ C_2
constants from initial conditions

Example

Solve y′′+2y′+5y=0y''+2y'+5y=0, y(0)=1y(0)=1, y′(0)=−1y'(0)=-1.

  1. r2+2r+5=0r^2+2r+5=0 gives r=−1±2ir=-1\pm2i.
  2. C1=1C_1=1; y′(0)=−C1+2C2=−1y'(0)=-C_1+2C_2=-1 gives C2=0C_2=0.
  3. y=e−xcos⁡2xy=e^{-x}\cos2x, y(1)=e−1cos⁡2y(1)=e^{-1}\cos2.

Answer: y(1)≈−0.15309y(1)\approx-0.15309.

Related formulas