where, like always, C1 and C2 are determined using the boundary/initial conditions.
Solution strategies/ideas will be presented in the context of 2nd order ODEs, and then generalized to higher order ODEs. Note, however, that the constaints of constant coefficient, homogenous and linear still apply!
Some notational observations for second order ODEs before we get started:
While the first three notations generalized to higher than second order ODEs, phi(D) does not; it refers to the second order ODE only. This is presumably due to the commonality of this ODE in engineering applications.y'' + a1*y' + a2*y = 0 Dot notation for time derivatives (hard to type them with normal text) (D^2 + a1*D + a2)y = 0, where D represents the differential operator d/dx phi(D)y = 0, where phi(D) is shorthand for the (D^2 + a1*D + a2) operator only
The complete solution process has only a few steps:
1. Assume a fundamental solution form: y=exp(m*x)
always
works
for C.C., Homog, linear ODEs, where m is a constant.
2. Substitute this into the ODE
3. Determine the Characteristic/Auxiliary Equation
4. Use its roots to find additional fundamental solutions,
and form the fundamental set
NOTE: You will need to use
D'Alembert in the case of repeated roots (see below)
5. Form the general solution as a linear combination
of the fundamental solutions
6. Apply IC/BC information to obtain the specific
solution
Substitute them into the ODE, and find that the exp(m*x) factors cancel, leaving only a polynomial equation - the auxiliary or characteric equation - in the constants a1 and a2 (more for higher order ODEs) and the unknown, m.
The roots of this polynomial equation (i.e. values of m for which the polynomial is satisfied) are the values of m that will give us some, if not all, of the fundamental solutions to the ODE.
Before looking at the three cases of roots which need to be considerred (real distinct roots, repeated roots, complex roots), it is important to reiterate that a second order ODE will lead to a second order characteristic equation with 2 roots. A third order ODE will lead to a third order characterist equation with 3 roots....
Application of D'Alemberts method reveals that the y2=v(x)*y1, where
v(x) = A*x + B
That is to say, y2(x) = (A*x+B)*y1(x). This result says that y2
will be LI of y1, for ANY values of A and B that preserve the the functional
dependence (linear in this case) of v(x) on x... in the end, we choose
the simplest straight line for v(x).... let A=1 and B=0 (NOTE: A=0 is NOT
acceptable, since it gets rid of the x). The resulting fundamental
set of solutions is:
y1(x)
y2(x) = x*y1(x)
This is for an ODE with 2 repeated roots. Indeed, the solution
form may be generalized to ODEs with j repeated roots. The
LI solution corresponding to the jth repeated root is simply:
y_j(x) = x^j * y1(x)
where y1(x) is the original root found using the characteristic equation.
Click here for an example with two roots, and see below for an example solution of a 14th order ODE!!!
The general result that follows from the investigation of ODEs that
have chacteristic equations with complex roots:
m = a +- i*b
(where i is sqrt(-1))
there are a couple of solution forms for the two fundamental solutions:
1) y1 = exp((a+i*b)*x)
y2 = exp((a-i*b)*x)
2) y1=exp(a*x) * cos(b*x)
y2 = exp(a*x) * sin(b*x)
and the general solution is:
y = exp(a*x) * ( c1*cos(b*x)
+ c2*sin(b*x) )
or,
y = exp(a*x) * K * sin(b*x
+ phi)
where
K = sqrt(c1^2+c2^2)
phi = atan(c1/c2)
A couple of examples are given here, in addition some more of the details regarding how to get between solution forms.