Linear Equations of Order n
L [ y ] = y ( n ) + p n − 1 ( t ) y ( n − 1 ) + ⋯ + p 1 ( t ) y ′ + p 0 ( 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) L [ y ] = y ( n ) + p n − 1 ( t ) y ( n − 1 ) + ⋯ + p 1 ( t ) y ′ + p 0 ( t ) y = g ( t )
If p 0 , … , p n − 1 , g p_0, \ldots, p_{n-1}, g p 0 , … , p n − 1 , g are continuous on an interval containing t 0 t_0 t 0 , the initial value problem has a unique solution there.
For the homogeneous equation L [ y ] = 0 L[y] = 0 L [ y ] = 0 , if y 1 , y 2 y_1, y_2 y 1 , y 2 are solutions so is c 1 y 1 + c 2 y 2 c_1 y_1 + c_2 y_2 c 1 y 1 + c 2 y 2 .
The general solution of L [ y ] = g L[y] = g L [ y ] = g is y = y h + Y y = y_h + Y y = y h + Y , the general homogeneous solution plus any particular solution.
Wronskian
W [ y 1 , … , y n ] ( t ) = det [ y 1 y 2 ⋯ y n y 1 ′ y 2 ′ ⋯ y n ′ ⋮ ⋮ y 1 ( n − 1 ) y 2 ( n − 1 ) ⋯ y n ( 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} W [ y 1 , … , y n ] ( t ) = det y 1 y 1 ′ ⋮ y 1 ( n − 1 ) y 2 y 2 ′ y 2 ( n − 1 ) ⋯ ⋯ ⋯ y n y n ′ ⋮ y n ( n − 1 )
For solutions of L [ y ] = 0 L[y] = 0 L [ y ] = 0 , W ≠ 0 W \neq 0 W = 0 at one point iff y 1 , … , y n y_1, \ldots, y_n y 1 , … , y n form a fundamental set (linearly independent).
Constant Coefficients
Substituting e r t e^{rt} e r t gives the characteristic polynomial. Each root contributes
a real root r r r : e r t e^{rt} e r t ,
a root r r r of multiplicity k k k : e r t , t e r t , … , t k − 1 e r t e^{rt}, t e^{rt}, \ldots, t^{k-1}e^{rt} e r t , t e r t , … , t k − 1 e r t ,
a complex pair λ ± i μ \lambda \pm i\mu λ ± i μ : e λ t cos ( μ t ) e^{\lambda t}\cos(\mu t) e λ t cos ( μ t ) and e λ t sin ( μ t ) e^{\lambda t}\sin(\mu t) e λ t sin ( μ t ) .
Reduction of Order
Given one solution y 1 y_1 y 1 of y ′ ′ + p ( t ) y ′ + q ( t ) y = 0 y'' + p(t)y' + q(t)y = 0 y ′′ + p ( t ) y ′ + q ( t ) y = 0 , set y 2 = v ( t ) y 1 y_2 = v(t) y_1 y 2 = v ( t ) y 1 and solve for v v v , which gives
y 2 y 1 = ∫ e − ∫ p ( t ) d t y 1 2 d t \frac{y_2}{y_1} = \int \frac{e^{-\int p(t)\, dt}}{y_1^2}\, dt y 1 y 2 = ∫ y 1 2 e − ∫ p ( t ) d t d t
Variation of Parameters
For y ′ ′ + p ( t ) y ′ + q ( t ) y = g ( t ) y'' + p(t)y' + q(t)y = g(t) y ′′ + p ( t ) y ′ + q ( t ) y = g ( t ) with fundamental solutions y 1 , y 2 y_1, y_2 y 1 , y 2 ,
Y ( t ) = − y 1 ( t ) ∫ t 0 t y 2 ( s ) g ( s ) W [ y 1 , y 2 ] ( s ) d s + y 2 ( t ) ∫ t 0 t y 1 ( s ) g ( s ) W [ y 1 , y 2 ] ( s ) d s Y(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 Y ( t ) = − y 1 ( t ) ∫ t 0 t W [ y 1 , y 2 ] ( s ) y 2 ( s ) g ( s ) d s + y 2 ( t ) ∫ t 0 t W [ y 1 , y 2 ] ( s ) y 1 ( s ) g ( s ) d s
For order n n n , look for Y = v 1 y 1 + ⋯ + v n y n Y = v_1 y_1 + \cdots + v_n y_n Y = v 1 y 1 + ⋯ + v n y n with
{ v 1 ′ y 1 ( k ) + ⋯ + v n ′ y n ( k ) = 0 , k = 0 , … , n − 2 v 1 ′ y 1 ( n − 1 ) + ⋯ + v n ′ y n ( 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} { v 1 ′ y 1 ( k ) + ⋯ + v n ′ y n ( k ) = 0 , v 1 ′ y 1 ( n − 1 ) + ⋯ + v n ′ y n ( n − 1 ) = g k = 0 , … , n − 2
solve this linear system for the v i ′ v_i' v i ′ (its determinant is the Wronskian), and integrate.
Undetermined Coefficients
For constant coefficients and g g g of a special form, guess Y Y Y of the same form,
P n ( t ) → A n t n + ⋯ + A 1 t + A 0 P_n(t) \to A_n t^n + \cdots + A_1 t + A_0 P n ( t ) → A n t n + ⋯ + A 1 t + A 0 ,
e a t → A e a t e^{at} \to A e^{at} e a t → A e a t ,
sin ( β t ) \sin(\beta t) sin ( βt ) or cos ( β t ) → A cos ( β t ) + B sin ( β t ) \cos(\beta t) \to A\cos(\beta t) + B\sin(\beta t) cos ( βt ) → A cos ( βt ) + B sin ( βt ) .
If a term of the guess solves the homogeneous equation, multiply the guess by t s t^s t s , where s s s is the multiplicity of the corresponding characteristic root.