A constant coefficient Higher Order Linear Homogeneous ODE can be written as follows:
$$ y^{(n)} + a_{n-1} y^{(n-1)} + \cdots + a_1 y' + a_0 y = 0 $$
The solution to the constant coefficient equation is of the form \(y(x)=e^{λx}\).
Substitution gives the characteristic equation
$$ λ^{n} + a_{n-1} λ^{n-1} + \cdots + a_1 λ + a_0 = 0 $$
which has \(n\) roots.
If the roots are distinct, then we have \(n\) linearly independent
solutions
$$ y_1(x)=e^{λ_1 x}, \; y_2(x)=e^{λ_2 x}, \; \cdots y_n(x)=e^{λ_n x}$$
The general solution to the homogeneous problems is
$$ y(x) = c_1 e^{λ_1 x} + c_2 e^{λ_2 x} + \cdots + c_n e^{λ_n x}$$
Example 1
Solve the following ODE $$ y^{(4)} - y = 0 $$
solution:
The characteristic equation is
$$ λ^4 - 1= 0 $$
with four distinct roots
$$ λ_1 = 1, \; λ_2 = -1, \; λ_2 = i, \; λ_2 = -i $$
which gives us four linearly independent basis functions
$$ y_1 = e^{x}, \; y_2 = e^{-x}, \; y_3 = e^{-ix}, \; y_4 = e^{-ix} $$
with general solution
$$ y(x) = c_1 e^{x} + c_2 e^{-x} + c_3 e^{ix} + c_4 e^{-ix} $$
Using Euler's identity it can be written as follows
$$ y(x) = c_1 e^{x} + c_2 e^{-x} + k_3 \cos{x} + k_4 \sin{x} $$
where
$$ k_3 = c_3+c_4, k_4 = i(c_3-c_4)$$
Example 2
Find the general solution of $$ y^{(3)} + 2y''- y'- 2y = 0 $$
solution:
The characteristic equation is
$$ λ^3 + 2λ^2 - λ - 2 = (λ^2-1) (λ+2) = 0$$
with three distinct roots
$$ λ_1 = 1, \; λ_2 = -1, \; λ_3 = -2 $$
which gives us three linearly independent basis functions
$$ y_1 = e^{x}, \; y_2 = e^{-x}, \; y_3 = e^{-2x} $$
with general solution
$$ y(x) = c_1 e^{x} + c_2 e^{-x} + c_3 e^{-2x} $$
Repeating roots
If the roots are not distinct and there are \(k\) repeating roots,
$$ λ_1 = λ_2 = \cdots = λ_k = λ $$
then we have \(k\) corresponding linearly independent solutions
$$ y_1(x) = e^{λ x}, \; y_2(x)= x e^{λ x}, \cdots, \; y_k(x)= x^{k-1} e^{λ x}$$
The second solution can be obtained by the method of reduction of order.
The general solution to the problem is
$$ y_h(x) = c_1 e^{λ x} + c_2 x e^{λ x} + \cdots + c_k x^{k-1} e^{λ x} + c_{k+1} e^{λ_{k+1} x} + \cdots + c_n e^{λ_n x}$$
Example 1
Solve the following ODE $$ y^{(3)} - 3y'' + 3y'- y = 0 $$
solution:
Assuming \(y(x)=e^{λx}\). Then the characteristic equation is
$$ λ^3 - 3λ^2 + 3λ - 1= (λ-1)^3 = 0$$
with three identical roots
$$ λ_1 = λ_2 = λ_3 = 1 $$
which gives us three linearly independent basis functions
$$ y_1 = e^{x}, \; y_2 = x e^{x}, \; y_3 = x^2 e^{x} $$
with general solution
$$ y(x) = c_1 e^{x} + c_2 x e^{x} + c_3 x^2 e^{x} $$
Example 2
Solve the following ODE $$ y^{(3)} - y'' - y'+ y = 0 $$
solution:
The characteristic equation is
$$ λ^3 - λ^2 - λ + 1= (λ - 1)^2 (λ + 1) = 0 $$
with two identical roots
$$ λ_1 = λ_2 = 1, λ_3 = -1 $$
which gives us three linearly independent basis functions
$$ y_1 = e^{x}, \; y_2 = x e^{x}, \; y_3 = e^{-x} $$
with general solution
$$ y(x) = c_1 e^{x} + c_2 x e^{x} + c_3 e^{-x} $$