LESSON 6
Second Order Nonhomogeneous Linear Equations with Constant Coefficients 6.1 Introduction
In the previous lesson, you have learnt the method of solving a second order homogeneous linear equation with constant coefficients. Such equations contain only the d 2 y dy , and y each multiplied by a constant. Suppose the equations contain one terms dx 2 dx more term, a function of x. the additional term f(x) usually written on the right side and it is called the nonhomogeneous term. These kinds of equations are called nonhomogeneous equations. For example
d2 y
dy
3 x d2y dy 2 2 + 8 + 4 y = 0 is a homogeneous equation where as 2 2 +8 + 4y = x + e dx dx dx dx is a nonhomogeneous equation
6.2 Objectives of the lesson By the end of this lesson you should be able to: define nonhomogeneous equations of second order with constant coefficients. determine the complementary function and the particular integral of the second order nonhomogeneous equation solve the nonhomogeneous equations 6.3 The general form of a homogeneous linear equation of second order with constant coefficients.
The equations d2y dy a0 + a1 + a2 y = 0 (1) 2 dx dx d2y dy and a0 + a1 + a 2 y = Q ( x ) where a0 ≠ 0 (2) 2 dx dx are called respectively, the homogeneous and the nonhomogeneous equations of the second order with constant coefficients when a0, a1, a2 are constants. The equation (2) can also be written as, (a0D2 + a1D + a2)y = Q(x) (3) where a0 ≠0. 6.4 Solution of the equation. The general solution of the equation
F(D)y = (a0D2 + a1D + a2)y = Q(x)
(1)
is the sum of the complementary function (solution of F(D)y = 0) and any particular Integral, (P.I) of (1). Finding F(D)y = 0 is seen already in the previous lesson. There are two important methods for finding the particular integral of F(D)y = Q(x) 6.5 Finding particular integral (Method 1)
Let
F(D)y = Q(x)
(1)
F ( D ) y Q ( x) = F (D) F (D) where F(D) is treated as an operator.
Then
Q ( x) F (D) suppose F(D) is factorisable so that y=
or
(2)
F(D) = (D – m1)(D – m2) then y =
Q ( x) Q = F ( D ) ( D − m1 )( D − m 2 )
We can operate first
Let u = Or
Q then (D – m2)u = Q D − m2
du − m 2 u = Q which is a linear equation. The integrating factor of the above dx
equation is e
− m2 x
ue or
1 1 on Q and the result is further operated by ( D − m2 ) ( D − m1 )
and the solution is − m2 x
= ∫ Qe− m2 x dx
u = em2 x ∫ Qe− m2 x dx
m2 x Q e = Thus D − m 2
− m2 x e ∫ Qdx
This is a linear equation whose solution is now y =
Q 1 = u ( D − m1 )( D − m2 ) D − m1
y = e+ m1x ∫ e− m1xudx the method of finding P.I is illustrated in the following examples: Example 1 Find the particular integral for the equation
d2y dy − + 6 y = e2 x 5 2 dx dx Solution Let
d2y dy − 5 + 6 y = e2 x 2 dx dx
or
(D2 – 5D + 6)y = e2x
or
(D – 2)(D – 3)y = e2x
then the PI is given from
e2 x y= ( D − 2)( D − 3) 1 e2 x = D−2 D −3 e2 x let u = D−3 from the formula in 5.5 we have
hence
Q = e + m1 x ∫ e − m1 x .Q dx D − m2
u = e +3 x ∫ e −3 x .e 2 x dx
= e3x ∫ e − x dx = −e3xe− x = e2x
1 e2 x 1 = u Now y = D − 2 D − 3 D − 2
=
1 u D−2
= e + 2 x ∫ e − 2 x .udx = e 2 x ∫ e − 2 x .e 2 x d x = e 2 x ∫ 1dx = e 2 x .x
2x
there is no constant for the particular integral. Hence the P.I is xe . Thus the solution of the given equation is
y = c1e3 x + c2 e 2 x + xe 2 x Example 2 d2y dy Solve + 5 + 6 y = e2 x 2 dx sx Solution i.
The complementary function is obtained from (D2 + 5D + 6)y = 0 auxiliary equation of (1) is m2 + 5m + 6 = 0 or (m + 3)(m + 2) = 0 complementary function is
y = c1e-3x + c2e-2x
(1) whose roots are m = -3, -2.
then the
ii.
The particular integral is obtained from
Let u =
1 e 2 x . Using the formula ( D + 2)( D + 3)
e4x e2x = e − 2 x ∫ Qe 2 x dx = e − 2 x ∫ e 2 x .e 2 x dx = .x D+2 4
Hence the solution is y = c1e
−3 x
+ c2 e
−2 x
e4 x + 4
Example 3 Solve (D2 – 3D + 2)y = ex Solution Let (D2 – 3D + 2)y = ex
(1)
(D – 1)(D – 2)y = ex the auxiliary equation of (D – 1)(D – 2)y = 0 is (m – 1)(m – 2) = 0 whose roots are m = 1, m = 2. Hence the complementary function is y = c1ex + c2e2x The particular integral is obtained from (D – 1)(D – 2)y = ex ex y= ( D − 1)( D − 2)
ex = e 2 x ∫ Qe −2 x dx Now let u = D−2 = e 2 x ∫ e x .e −2 x dx
= e 2 x ∫ e − x dx = e2 x
e− x −1
= −e x y=
1 ex x −x x = e ∫ e (−e )dx D − 1 ( D − 2)
= − xe x
(2)
Hence the general solution is .y = C.F + P.I -3x -2x x or y = c1e + c2e – xe (For a short method see Lesson 7) Method of finding particular integral of (D – a)(D – b)y = Q of x only.
where Q is a function
Example 4 Let (D – a)(D – b)y = Q Solution
Then y =
Q ( D − a )( D − b) Q u and then find y = D −b D−a
First we find u = From ( ), u = e
+ bx
Then we find y =
∫ e Qdx − bx
+ ax u =e D−a
− ax e ∫ u.dx
Example 5 e5 x Find the particular interval of (D – 1)(D – 2)y = . D−2 Solution This is of the form (D – a)(D – b)y = Q.
y=
Q . ( D − a )( D − b) Q e5 x = D −b D −2 Q e5 x = u= D −b D −2
First let us find u =
= e +2 x ∫ e −2 x .e5 x dx = e 2 x ∫ e3 x dx or
u=
e2 x .e3 x e5 x = 3 3
The particular integral is
Now
Q 1 Q = ( D − a)( D − b) D − a D − b u = D−a = e + ax ∫ e − ax u.dx Q 1 Q = ( D − a)( D − b) D − a D − b
Here
=
1 u D−a
= e1x ∫ e−1x .udx e− x .e5 x =e ∫ dx 3 4x x e = e ∫ dx 3 e x .e4 x = 4×3 e5 x = 12 x
Exercise 6 Q( x) Use = e ax ∫ e − ax Q( x)dx wherever necessary. D−a
Evaluate the following (problems 1 to 8) ex ex 1) 2) D +1 D −1 4)
x +1 D +1
x2 +1 5) D +1
7)
cot x D2 +1
8)
e3 x ( D + 3)( D − 2)
3)
sin 3x D+2
6)
cos 6 x D −3
Solve the following equations (problems 9 – 15) 9) ( D 2 − 3D + 2) y = e 5 x
10)
dy d2y + 5 + 4 y = 3 − 2x 2 dx dx
13) ( D 2 − 1) y = 4 xe x
11) ( D 2 − 6 D + 9) y = e 2 x
12) ( D 2 − 1) y = sin x
14) ( D 2 + 9) y = x cos x
15) ( D 2 + D − 2) y = 2(1 + x − x 2 )
Summary You have learnt the following from this lesson.
dy d2y + a1 + a2 y = Q( x) where a1 ≠ 0 and a0, a1, a2 and Q(x) are 2 dx dx functions of x only is called a nonhomogeneous second order linear equation with constant coefficients if Q(x) is not zero.
i).
The equation
ii).
The solution of a nonhomogeneous equation will have two parts namely the complementary function yc and a particular integral yp.
iii).
The particular integral
Q( x) = e ax ∫ e − ax Q( x)dx D−a
Further Reading: 4. Differential Equations By Frank Ayres, Ph. D Schaum’s outlines series Mc Graw Hill Book company New York, Toronto, Sydney.
5.
Differential Equations By Shepley L. Ross John Wiley and sons New York. Toronto. Singapore
6.
Ordinary Differential Equations By Dr. Sengottaiyan Ph. D Oxford Publications, Harrow. London. Nairobi.