Linear Differential Equations of Higher-Order
Linear Differential Equations of Higher-Order
Linear Differential Equations of Higher-Order
L3
L3
After this lecture, the students will be able to o differentiate between boundary-value problems initial-value problems and
o state and apply the theorem for existence of a unique solution o solve linear second-order differential equations by reducing the order using the auxiliary equation for homogeneous linear equations with constant coefficients the method of undetermined coefficients the method of variation of parameters
L3
dy dny d n 1 y an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = g ( x) dx dx dx
Initial-value problem For a linear nth-order differential equation, the problem Solve:
dny d n 1 y dy an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = g ( x) dx dx dx
where y0, y0, , y0(n-1) are arbitrary constants, is called an initial-value problem. The specified values are called initial conditions. We seek a solution on some interval I containing x0.
L3
a solution of
Let an(x), an-1(x), , a1(x), a0(x) and g(x) be continuous on an interval I and let an(x)0 for every x in this interval. If x=x0 is any point in this interval, then a solution y(x) of the initial-value problem exists on the interval and is unique.
L3
The IVP:
A solution:
y = 3e 2 x + e 2 x 3 x
y (0) = 4 y ' ( 0) = 1
L3
L3
3 y ' ' '+5 y ' ' y '+7 y = 0, y (1) = 0, y ' (1) = 0, y ' ' (1) = 0 y=0
is the only solution on any interval
y=0
Example 3.3: Solution of an IVP The IVP: A solution: Theorem 3.1 unique.
L3
The IVP:
The solution:
a 2 ( x ) = x 2 a 2 ( 0) = 0
L3
L3
10
Another type of problem consists of solving a differential equation of order two or greater in which the dependent variable y or its derivatives are specified at different points. A problem such as
dy d2y a2 ( x) 2 + a1 ( x) + a0 ( x) y = g ( x) dx dx y (a ) = y0 , y (b) = y1 is called a two-point boundary-value problem or simply a boundary value problem (BVP). The specified values are called boundary conditions. A solution of the foregoing problem is a function satisfying the differential equation on some interval I, containing a and b, whose graph passes through the two points (a, y0) and (b, y1).
For a second-order differential equation, general boundary conditions are: Theorem 3.1 is not applicable here for BVPs. Even when the conditions of Theorem 3.1 are fulfilled, a BVP may have several solutions a unique solution, or no solution at all.
L3
11
Example 3.5: A BVP with a unique solution [Textbook, pg. 114, EXAMPLE 5]
y = 3x 2 6 x + 3
y = c1 sin 4 x
no solution
L3
12
L3
13
A set of functions f1(x), f2(x), , fn(x) is said to be linearly dependent on an interval I if there exist constants c1, c2, , cn, not all zero, such that
c1 f1 ( x) + c2 f 2 ( x) + L + cn f n ( x) = 0
L3
14
Suppose f1(x), f2(x), , fn(x) possess at least n-1 derivatives. If the determinant
f1 ( x) f1 ' ( x) M f1( n 1) ( x)
f 2 ( x) f 2 ' ( x)
f n ( x) f n ' ( x) M f 2( n 1) ( x) K f n( n 1) ( x) K K
is not zero for at least one point in the interval I, the set of functions f1(x), f2(x), , fn(x) is linearly independent on the interval.
COROLLARY COROLLARY
( A B !B !A)
If f1(x), f2(x), , fn(x) possess at least n-1 derivatives and are linearly dependent on I, then
L3
15
sin 2 x 1 cos 2 x W ( f1 ( x), f 2 ( x)) = 2 sin x cos x 2 sin 2 x = 2 sin 2 x sin 2 x 2 sin x cos x(1 cos 2 x) =L= 0
Using Maxima
L3
16
f1 ( x) = e m1x and f 2 ( x) = e m2 x , m1 m2
Maxima solution
e m2 x m2 e m2 x
= (m2 m1 )e ( m1 + m2 ) x 0
L3
17
f1 ( x) = e x , f 2(x) = xe x and f 3 ( x) = x 2 e x
Maxima solution
f1 ( x) = x and f 2 ( x) =| x |, on (, )
f2(x) is not differentiable at x=0 Q: If f1(x) and f2(x) are linearly independent, will it lead to that the Wronskian is nonzero for at least one point in the interval?
L3
18
dy dny d n 1 y an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = 0 dx dx dx
is said to be homogeneous, whereas
()
dny d n 1 y dy an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = g ( x) dx dx dx
g(x) not identically zero, is said to be nonhomogeneous.
()
ai ( x), i = 0, 1, ..., n are continuous; g(x) is continuous; and an(x) 0 for every x in the interval.
L3
19
Let y1, y2, , yk be solutions of the homogeneous linear nthorder differential equation () on an interval I. Then the linear combination
y = c1 y1 ( x) + c2 y2 ( x) + L + ck yk ( x),
where the ci, i=1, 2, , k are arbitrary constants, is also a solution on the interval.
d n (c1 y1 + c2 y2 ) d n y1 d n y2 = c1 + c2 n n dx dx dx n
COROLLARIES COROLLARIES
A constant multiple y=c1y1(x) of a solution y1(x) of a homogeneous linear differential equation is also a solution. A homogeneous linear differential possesses the trivial solution y=0. equation always
L3
20
The solutions:
L3
21
Let y1, y2, , yn be n solutions of the homogeneous linear nth-order differential equation () on an interval I. Then the set of solutions is linearly independent on I if and only if
W ( y1 , y2 , K , yn ) 0
Fundamental set of solutions: Any linearly independent set y1, y2, , yn of n solutions of the homogeneous linear nth-order differential equation () on an interval I is said to be a fundamental set of solutions on the interval.
L3
22
Existence of constants
Let y1, y2, , yn be a fundamental set of solutions of the homogeneous linear nth-order differential equation on an interval I. Then for any solution Y(x) of the () on I, constants C1, C2, , Cn can be found so that
Y ( x) = C1 y1 ( x) + C2 y2 ( x) + L + Cn yn ( x)
There exists a fundamental set of solutions for the homogeneous linear nth-order differential equation () on an interval I.
L3
23
Let y1, y2, , yn be a fundamental set of solutions of the homogeneous linear nth-order differential equation () on an interval I. The general solution of the equation on the interval is defined to be
y = c1 y1 ( x) + c2 y2 ( x) + L + cn yn ( x)
where ci, i=1, 2, , n are arbitrary constants.
Example 3.14: General solution Homogeneous DE
[Textbook, pg. 124, EXAMPLE 21] The DE:
y ' '9 y = 0
The solutions:
y1 ( x ) = e 3 x and y2 ( x) = e 3 x
e 3 x 3e
3 x
W ( y1 , y2 ) =
e3 x 3e
3x
= 6 0
general solution : y = c1 y1 ( x) + c2 y2 ( x)
x (, )
L3
24
dy dny d n 1 y an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = g ( x) dx dx dx
A particular solution: yp (free of arbitrary parameters)
()
y ' '+9 y = 27
yp = 3
3
y p = x3 x
Verified by Maxima
L3
25
Let yp be a given solution of the nonhomogeneous linear nthorder differential equation () on an interval I, and let
yc = c1 y1 ( x) + c2 y2 ( x) + L + cn yn ( x)
(complementary function)
denote the general solution of the associated homogeneous equation () on the interval. The general solution of the nonhomogeneous equation on the interval is defined to be
y = c1 y1 ( x) + c2 y2 ( x) + L + cn yn ( x) + y p ( x) = yc ( x) + y p ( x)
Example 3.16: General solution Nonhomogeneous DE
y p = 3 yc = c1e 3 x + c2 e 3 x
Maxima solution
y = yc + y p = c1e 3 x + c2 e 3 x 3
L3
26
d n 1 y dy dny an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = g i ( x) dx dx dx d n 1 y dy dny an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = g ( x) dx dx dx
where g ( x) =
y pi yp
g ( x),
i i
y p = y pi
i
y p1 = 4 x 2 y p2 = e 2 x y p3 = xe x y p = y p1 + y p2 + y p3
L3
27
y = u ( x) y1 ( x) y ' = uy1 '+ y1u ' , y ' ' = uy1 ' '+2 y1 ' u '+ y1u ' '
y ' '+ P ( x) y '+Q( x) y = u[ y1 ' '+ Py1 '+Qy1 ] + y1u ' '+ (2 y1 '+ Py1 )u ' = 0
zero
=u y1u ' '+ (2 y1 '+ Py1 )u ' = 0 w y1w'+ (2 y1 '+ Py1 ) w = 0 '
linear, separable
dw y1 ' + 2 dx + Pdx = 0 ln | w | +2 ln | y1 | + Pdx = c w y1 c1e Pdx ln | wy12 |= Pdx + c wy12 = c1e Pdx w = y12
L3
28
w = u' =
c1 e y12
Pdx
u = c1
Pdx
c1 e dx + c2 2 y1 ( x)
Pdx
Pdx e 1= c2 =0 1 y2 = y1 ( x) 2 ,c dx y1 ( x)
W ( y1 ( x), y2 ( x)) = L = e
0 general solution : y = c1 y1 ( x) + c2 y2 ( x)
x y ' '6 y = 0, y1 = x
2
Solution:
6 y ' ' 2 y = 0 x
(standard form)
define y = u ( x) x 3
y ' = 3 x 2u + x 3u ' , y ' ' = x 3u ' '+6 x 2u '+6 xu 6 x 2 y ' '6 y = x 2 ( x 3u ' '+6 x 2u '+6 xu ) 6ux 3 = x 5u ' '+6 x 4u ' = 0 u ' '+ u ' = 0 x 6 w'+ w = 0 ... w = c1 x 6 x
w=u '
c1 5 u ' = c1 x u = x + c2 5
6
c2 =0 y2 = 1 / x 2 ,c1 = 5
y = c1 y1 ( x) + c2 y2 ( x) or y = c1 x 3 + c2 x 2
L3
29
L3
30
(a) 2 y ' '5 y '3 y = 0 (b) y ' '10 y '+25 y = 0 (c) y ' '+ y '+ y = 0
Solution:
3 1 3 i, m2 = i 2 2 2 3 x 2
L3
31
y ' '4 y '+13 y = 0 m 2 4m + 13 = 0 m1 = 2 + 3i, m2 = 2 3i y = e 2 x (c1 cos 3x + c2 sin 3 x) y ' = e 2 x [c1 (2 cos 3 x 3 sin 3x) + c2 (2 sin 3x + 3 cos 3 x)]
c1 = 1 c1 = 1 y (0) = 1, y ' (0) = 2 2c1 + 3c2 = 2 c2 = 4 / 3 4 y = e 2 x ( cos 3 x + sin 3 x) 3
L3
32
m 2 k 2 = 0 m1, 2 = k y = c1e kx + c2 e kx
Hyperbolic functions: sinh, cosh
e kx e kx e kx + e kx sinh kx = , cosh kx = 2 2
y = c1e kx + c2 e kx = C1 cosh kx + C2 sinh kx
L3
33
an m n + an 1m n 1 + L + a2 m 2 + a1m + a0 = 0
The fundamental set of solutions include 1: for a distinct real root, say m
e mx
2: for a repeated real root, say m, of multiplicity k
e mx , xe mx ,..., x k 1e mx
3: for distinct conjugate complex roots m1=a+ib, m2=a-ib.
L3
34
an m n + an 1m n 1 + L + a2 m 2 + a1m + a0 = 0
Suppose the above equation can be factorized as the following (i.e. assume n=12)
(m 1)(m 2)(m 3) 2 (m 2 + 1) 3 (m 2 2m + 2) = 0
Solution:
L3
35
y = yc + y p
L3
36
yc = c1e ( 2+
6)x
+ c2 e ( 2+
6)x
LHS
RHS
2 x 2 3x + 6
2 A = 2, 8 A 2 B = 3, 2 A + 4 B 2C = 6 A = 1, B = 5 , C = 9 2
5 yp = x x 9 2
2
y = yc + y p
L3
37
Assume y p = A cos 3 x + B sin 3 x y p ' = 3 A sin 3 x + 3B cos 3 x, y p ' ' = 9 A cos 3 x 9 B sin 3 x
Substituting yp and its derivatives into the differential equation, we have
LHS
RHS
0 cos 3 x + 2 sin 3 x
6 16 8 A 3B = 0, 3 A 8 B = 2 A = , B = 73 73
6 16 y p = cos 3 x sin 3 x 73 73
L3
38
yc = c1e x + c2 e3 x
g ( x) = g1 ( x) + g 2 ( x) y p = y p1 + y p2
g1 ( x) = 4 x 5, g 2 ( x) = 6 xe 2 x
Assume y p1 = Ax + B, y p2 = Cxe 2 x + De 2 x
4 23 4 A = 4 , B = 23 , C = 2, D = 4 y p = x + 2 xe 2 x e 2 x 3 9 3 3 9 3
Step 3:
y = yc + y p
L3
39
Assume y p = Ae x
0 = 8e x
c2 =0 y p = Ae x
8 8 3 Ae x = 8e x A = y p = xe x 3 3
L3
40
Case 1: No function in the assumed particular solution is a solution of the associated homogeneous differential equation.
Trial particular solutions
L3
41
Case 2: A function in the assumed particular solution is also a solution of the associated homogeneous differential equation.
General rule: If any yp contains terms that duplicate terms in yc, then that yp must be multiplied by xn, where n is the smallest positive integer that eliminates that duplication. Example 3.27: Fourth-order DE
[Textbook, pg. 155, EXAMPLE 11]
yc = c1 + c2 x + c3 x 2 + c4 e x y p = y p1 + y p2
y p1 = A
y p1 = Ax 3 y p2 = Be x y p2 = Bxe x
L3
42
y=e
e P ( x ) dx f ( x)dx + c P ( x ) dx P ( x ) dx e f ( x)dx c =0 y p = e
P ( x ) dx
dy + P( x) y = 0 dx
yc = ce
P ( x ) dx
= cy1 ( x)
y p = u1 ( x) y1 ( x)
Substituting yp and its derivatives into the nonhomogeneous differential equation, we have
dy p
L3
43
Assume that y1 and y2 form a fundamental set of solution on I of the associated homogeneous differential equation, that is
yc = c1 y1( x) + c2 y2 ( x)
Q: Can two function u1 and u2 be found so that yp=u1(x)y1(x)+u2(x)y2(x) is a particular solution of the nonhomogeneous differential equation? A: Yes.
u1 ' =
where W =
L3
44
e2 x W ( y1 , y2 ) = 2 x 2e 0 W1 = ( x + 1)e 2 x
xe 2 x = e4 x 2x 2x 2 xe + e xe 2 x = ( x + 1) xe 4 x 2x 2x 2 xe + e
W2 =
e2 x 2e
2x
0 ( x + 1)e
2x
= ( x + 1)e 4 x
u1 ' =
W1 W = x 2 -x and u2 ' = 2 = x + 1 W W
x3 x x2 u1 ( x) = and u2 ( x) = +x 3 2 2
x3 x 2 2 x y p = u1 ( x) y1( x) + u2 ( x) y2 ( x) = + e 6 2
y = yc + y p
L3
45
y ( n ) + Pn 1 ( x) y ( n 1) + L + P ( x) y '+ P0 ( x) y = f ( x) 1 yc = c1 y1 + c2 y2 + L + cn yn
y p = u1 ( x) y1 ( x) + u 2 ( x) y2 ( x) + L + u n ( x) yn ( x)
M
y
( n 1) 1 1
Assumption :
( n 1) n n
u '+ y
( n 1) 2 2
u '+ L + y
u ' = f ( x)
y1u1 '+ y2u 2 '+ L + ynun ' = 0 y1 ' u1 '+ y2 ' u 2 '+ L + yn ' un ' = 0
M M ( ( y1( n 2 )u1 '+ y2n 2 )u 2 '+ L + ynn 2 )u n ' = 0
uk ' =
Wk , k = 1,2, K , n W
where W is the Wronskian of y1, y2, , yn, and Wk is the determinant obtained by replacing the kth column of the Wronskian by the column whose entries are 0, 0, , 0, f(x).