Mehmet Emre Tiryaki
Back to Notes

Higher-Order Linear ODEs

Linear Equations of Order n

L[y]=y(n)+pn−1(t)y(n−1)+⋯+p1(t)y′+p0(t)y=g(t)L[y] = y^{(n)} + p_{n-1}(t)y^{(n-1)} + \cdots + p_1(t)y' + p_0(t)y = g(t)
  • If p0,…,pn−1,gp_0, \ldots, p_{n-1}, g are continuous on an interval containing t0t_0, the initial value problem has a unique solution there.
  • For the homogeneous equation L[y]=0L[y] = 0, if y1,y2y_1, y_2 are solutions so is c1y1+c2y2c_1 y_1 + c_2 y_2.
  • The general solution of L[y]=gL[y] = g is y=yh+Yy = y_h + Y, the general homogeneous solution plus any particular solution.

Wronskian

W[y1,…,yn](t)=det⁡[y1y2⋯yny1′y2′⋯yn′⋮⋮y1(n−1)y2(n−1)⋯yn(n−1)]W[y_1, \ldots, y_n](t) = \det \begin{bmatrix} y_1 & y_2 & \cdots & y_n \\ y_1' & y_2' & \cdots & y_n' \\ \vdots & & & \vdots \\ y_1^{(n-1)} & y_2^{(n-1)} & \cdots & y_n^{(n-1)} \end{bmatrix}

For solutions of L[y]=0L[y] = 0, W≠0W \neq 0 at one point iff y1,…,yny_1, \ldots, y_n form a fundamental set (linearly independent).

Constant Coefficients

Substituting erte^{rt} gives the characteristic polynomial. Each root contributes

  • a real root rr: erte^{rt},
  • a root rr of multiplicity kk: ert,tert,…,tk−1erte^{rt}, t e^{rt}, \ldots, t^{k-1}e^{rt},
  • a complex pair λ±iμ\lambda \pm i\mu: eλtcos⁡(μt)e^{\lambda t}\cos(\mu t) and eλtsin⁡(μt)e^{\lambda t}\sin(\mu t).

Reduction of Order

Given one solution y1y_1 of y′′+p(t)y′+q(t)y=0y'' + p(t)y' + q(t)y = 0, set y2=v(t)y1y_2 = v(t) y_1 and solve for vv, which gives

y2y1=∫e−∫p(t) dty12 dt\frac{y_2}{y_1} = \int \frac{e^{-\int p(t)\, dt}}{y_1^2}\, dt

Variation of Parameters

For y′′+p(t)y′+q(t)y=g(t)y'' + p(t)y' + q(t)y = g(t) with fundamental solutions y1,y2y_1, y_2,

Y(t)=−y1(t)∫t0ty2(s)g(s)W[y1,y2](s) ds+y2(t)∫t0ty1(s)g(s)W[y1,y2](s) dsY(t) = -y_1(t) \int_{t_0}^{t} \frac{y_2(s) g(s)}{W[y_1, y_2](s)}\, ds + y_2(t) \int_{t_0}^{t} \frac{y_1(s) g(s)}{W[y_1, y_2](s)}\, ds

For order nn, look for Y=v1y1+⋯+vnynY = v_1 y_1 + \cdots + v_n y_n with

{v1′y1(k)+⋯+vn′yn(k)=0,k=0,…,n−2v1′y1(n−1)+⋯+vn′yn(n−1)=g\begin{cases} v_1' y_1^{(k)} + \cdots + v_n' y_n^{(k)} = 0, & k = 0, \ldots, n-2 \\ v_1' y_1^{(n-1)} + \cdots + v_n' y_n^{(n-1)} = g \end{cases}

solve this linear system for the vi′v_i' (its determinant is the Wronskian), and integrate.

Undetermined Coefficients

For constant coefficients and gg of a special form, guess YY of the same form,

  • Pn(t)→Antn+⋯+A1t+A0P_n(t) \to A_n t^n + \cdots + A_1 t + A_0,
  • eat→Aeate^{at} \to A e^{at},
  • sin⁡(βt)\sin(\beta t) or cos⁡(βt)→Acos⁡(βt)+Bsin⁡(βt)\cos(\beta t) \to A\cos(\beta t) + B\sin(\beta t).

If a term of the guess solves the homogeneous equation, multiply the guess by tst^s, where ss is the multiplicity of the corresponding characteristic root.