Professional Documents
Culture Documents
Chapter 03 Higher Order Linear ODEs
Chapter 03 Higher Order Linear ODEs
Chapter 03 Higher Order Linear ODEs
Recall from §1.1 that an ODE is of nth order if the nth derivative y ( n ) = d n y dx n of
the unknown function y (x) is the highest occurring derivative. Thus the ODE is of the
form
F ( x, y, y ′, y ( n ) ) = 0 (y (n)
= d n y dx n )
where lower order derivatives and y itself may or may not occur. Such an ODE is
called linear if it is written
y ( n ) + pn−1 ( x) y ( n−1) + + p1 y ′ + p0 y = r ( x)
and the function r on the right hand side are any given functions of x, and y is
unknown. y (n ) has the coefficient of 1. We call this standard form. An nth-order
ODE that cannot be written in this form is called nonlinear.
y ( n ) + pn−1 ( x) y ( n−1) + + p1 y ′ + p0 y = 0
y ( x) = c1 y1 ( x) + c2 y 2 ( x) + + cn y n ( x)
where y1 , y 2 ,…, y n is a basis (or fundamental system) of solutions on I; that is, these
c1 , c2 ,…, cn .
k1 y1 ( x) + k 2 y 2 ( x) + + k n y n ( x) = 0 on I
implies that all k1 , k 2 ,…, k n are zero. These functions are linearly dependent on I if
this equation also holds on I for some k1 , k 2 ,…, k n not all zero.
An initial value problem for the HODE consists of an ODE and n initial conditions
with given x0 in the open interval I considered, and given K 0 , K1 ,…, K n−1 .
interval I and x0 is in I, then the initial value problem of HODE has a unique solution
y (x) on I.
The Wronskian W for n solutions y1 ( x) , y 2 ( x) ,…, y n (x) is defined as the nth order
2
determinant
y1 y2 yn
y1′ y 2′ y n′
W=
y1( n−1) y 2( n−1) ( n −1)
yn
Y ( x) = C1 y1 ( x) + C 2 y 2 ( x) + + C n y n ( x)
suitable constants.
3
3.2 Homogeneous Linear ODEs with Constant Coefficients
y ( n ) + an−1 y ( n−1) + + a1 y ′ + a0 y = 0
If all the n roots λ1 , λ2 ,…, λn are real and distinct, then the n solutions
y1 ( x) = e λ1x , y 2 ( x) = e λ2 x , …, y n ( x) = e λn x
y ( x) = c1e λ1x + c2 e λ2 x + + cn e λn x
※ THEOREM 1 Basis
complex λ j ' s ) form a basis of solutions on any open interval if and only if all n roots
are different.
4
root of the characteristic equation, so is its conjugate λ = a − bi , and two
corresponding linearly independent solutions are
y1 = e ax cos bx , y 2 = e ax sin bx
If a real double roots occur, say, λ1 = λ2 , then y1 = y 2 , and we take y1 and xy1 as
corresponding linearly independent solutions, as was done in §2.2. More generally, if
λ is a real root of order m, then m corresponding linearly independent solutions are
e λx , xe λx , x 2 e λx ,…, x m−1e λx
In this case, real solutions are obtained as for complex simple roots above.
Consequently, if λ = a + bi is a complex double root, so is its conjugate λ = a − bi .
Corresponding linearly independent solutions are
y ( x) = e ax [ ( A1 + A2 x) cos bx + ( B1 + B2 x) sin bx ]
Examples:
If all the n roots λ1 , λ2 ,…, λn are real and distinct, then the n solutions are
y1 ( x) = x m1 , y2 ( x) = x m2 , …, yn ( x) = x mn
y ( x) = c1 x m1 + c2 x m2 + + cn x mn
y1 = x a cos ( b ln x ) , y2 = x a sin ( b ln x )
x m , x m ( ln x ) , x m ( ln x ) ,…, x m ( ln x )
2 n −1
Examples:
(1) x 3 y ′′′ − 3 x 2 y ′′ + 6 xy ′ − 6 y = 0 y h ( x) = c1 x + c2 x 2 + c3 x 3
(3) x 3 y ′′′ − x 2 y ′′ + 2 xy ′ − 2 y = 0 y h ( x) = c1 x 2 + c2 x + c3 x ln x
6
3.3 Nonhomogeneous Linear ODEs
y ( n ) + pn−1 ( x) y ( n−1) + + p1 y ′ + p0 y = r ( x)
y ( x) = y h ( x) + y p ( x)
y ( n ) + pn−1 ( x) y ( n−1) + + p1 y ′ + p0 y = 0
the NHODE has continuous coefficients and a continuous r (x) on I, then a general
solution exists and includes all solutions (no singular solutions). To obtain y p (x) ,
there are at least two methods as before for 2nd-order ODEs. (Methods of
undetermined coefficients & variation of parameters)
An initial value problem for NHODE consists of the NHODE and n initial
conditions
y ( n ) + an−1 y ( n−1) + + a1 y ′ + a0 y = r ( x)
( a0 , a1 ,…, an constant) and special r (x) as in §2.7, such a y p (x) can be determined by
7
the method of undetermined coefficients, as in §2.7, using the following rules.
(B) Modification Rule. If a term in your choice for y p (x) is a solution of the
Example:
y ( 4 ) − 4 y ′′′ + 3 y ′′ + 4 y ′ − 4 y = e 3 x , e 2 x
Solution:
1
Try y p ( x) = C1e 3 x , C1 =
8
1
Try y p ( x) = C2 x 2 e 2 x , C2 = .
6
on an open interval I on which the coefficients and r (x) are continuous. The
8
W, and Wk ( k = 1, 2, …, n) is obtained from W by replacing the k-th column by
0
0
. Thus, when n = 2, this becomes identical with the case in §2.10.
r ( x)
Example:
ln x
x 3 y ′′′ − 3 x 2 y ′′ + 6 xy ′ − 6 y = −2 x 2 ln x , r ( x) = −2 .
x
Solution:
Homogeneous solution: y h ( x) = c1 x + c2 x 2 + c3 x 3
Wronskian:
x x2 x3 0 x 2 x3
W = 1 2 x 3x 2 = 2 x 3 , W1 = 0 2 x 3 x 2 = −2 x 3 ln x
0 2 6x − 2 lnxx 2 6x
0x x3 xx2 0
W2 = 1 0 3 x 2 = 4 x 2 ln x , W3 = 1 2 x 0 = −2 x ln x
0 − 2 lnxx 6x 0 2 − 2 lnxx
W1
u1′ = = − ln x , u1 = x − x ln x
W
W2 ln x
u 2′ = =2 , u 2 = (ln x) 2
W x
W3 ln x 1 ln x
u3′ = =− 2 , u3 = +
W x x x
Solution:
9
y ( x) =c1 x + c2 x 2 + c3 x3 + x 2 2 + ( ln x ) =c1 x + c2 x 2 + c3 x3 + x 2 ( ln x ) .
2 2
Example:
6
x 3 y ′′′ + xy ′ − y = 6 x , r ( x) = .
x2
Solution:
Wronskian:
x x ln x x(ln x) 2 0 x ln x x(ln x) 2
6 (ln x) 2
W = 1 ln x + 1 (ln x) + 2 ln x = 2 , W1 = 0
2
ln x + 1 (ln x) 2 + 2 ln x =
6 x
0 1x 2 x (1 + ln x) 1x 2 x (1 + ln x)
x2
x 0 x(ln x) 2 x x ln x 0
ln x 6
W2 = 1 0 (ln x) + 2 ln x = −12
2
, W3 = 1 ln x + 1 0 = .
6 x 6 x
0 2 x (1 + ln x) 0 1x 2
x2 x
Solution:
c1 x c2 x ln x + c3 x ( ln x ) + x ( ln x ) .
y ( x) =+
2 3
10