Linear ODEs with constant coefficients

Database › Mathematics › Applied mathematics › Differential equations

DE-0001MethodUndergraduateEntrance exam

A linear ODE with constant coefficients is solved by exponentials e^{rx} whose r are roots of the characteristic polynomial, plus a particular integral for the forcing term; forcing at a natural frequency produces resonance.

$$\sum_{k=0}^na_ky^{(k)}=f(x):\quad y=y_c+y_p,\ \ y_c=\sum_jc_je^{r_jx},\ \ \sum_ka_kr^k=0;\qquad\ddot x+2\gamma\dot x+\omega_0^2x=0\Rightarrow r=-\gamma\pm\sqrt{\gamma^2-\omega_0^2}$$

Explanation

A root of multiplicity $m$ contributes $x^je^{rx}$, $j=0,\dots,m-1$; complex roots $\alpha\pm i\beta$ give $e^{\alpha x}(A\cos\beta x+B\sin\beta x)$. The particular integral is found by trial functions matching $f$ (polynomials, exponentials, sines), multiplying by $x$ when the trial function already solves the homogeneous equation, or by variation of parameters in general. Laplace transforms do the same while including initial conditions.

For the damped oscillator: underdamped ($\gamma<\omega_0$) oscillates with frequency $\sqrt{\omega_0^2-\gamma^2}$; critically damped ($\gamma=\omega_0$) gives $(A+Bt)e^{-\gamma t}$; overdamped decays without oscillating. Steady-state forced response has amplitude $\frac{F/m}{\sqrt{(\omega_0^2-\omega^2)^2+4\gamma^2\omega^2}}$.

Example 1

Solve $y''+4y'+13y=0$.

Solution

$r^2+4r+13=0$, $r=-2\pm3i$: $y=e^{-2x}(A\cos3x+B\sin3x)$.

Example 2

Find a particular solution of $y''+9y=\sin3x$ and describe its behaviour.

Solution

$\sin3x$ solves the homogeneous equation, so try $y_p=x(a\cos3x+b\sin3x)$. Substituting gives $-6a\sin3x+6b\cos3x=\sin3x$, so $a=-\frac16$, $b=0$: $y_p=-\frac{x}{6}\cos3x$, growing linearly (undamped resonance).

In graduate entrance exams

  • University of Tokyo, Graduate School of Science, Physics (MSc entrance exam), FY2014 (H26), Problem 1
  • University of Tokyo, Graduate School of Science, Physics (MSc entrance exam), FY2001 (H13), Problem 3

Related entries