Math151 Module 5
Math151 Module 5
Module 5
1. Reduce a second higher order differential equations into first-ordered differential equation.
In this section, we will find a solution to a special second -ordered differential equation. Three types
of special second -ordered differential equations will be presented.
d dy d dy
+ yP (x) = Q(x) or + P y = Q.
dx dx dx dx
1
1.1 First Type Second-Ordered DE
dy
a. We let u = dx + P y. Then the equation reduces to
Z
du
=Q =⇒ u= Qdx + C.
dx
dy
Solution: Let u = dx + y. Then
d dy du
+y = e−x =⇒ = e−x
dx dx dx
Z Z
du
=⇒ = e−x dx
dx
=⇒ u = −e−x + C1
Substitute u we have
dy
+ y = −e−x + C1 .
dx
The resulting equation is linear of first order. Let
Then we have
R R
P (x)dx 1dx
φ=e =e = ex
=⇒ yex = −x + C1 ex + C2
=⇒ y = −xe−x + C2 e−x + C1
2
1.2 Second Type Second-Ordered DE
dy dp d2 p
a. Let p = dx . Then dx = dx2 . Substitute to the given equation we have
dp
F , p, x = 0.
dx
b. Assuming that the solution of the given equation takes the form
p = f (x) + C1 .
dy
Then substitute p = dx to get the final solution
Z
y = (f (x1 ) + C1 )dx + C2
00
y = x cos x − 24x2 .
Solution: Let
dy 0 dp d2 y 00
p= =y =⇒ = 2 =y .
dx dx dx
Then substitute to the given equation we have
dp
− x cos x + 24x2 = 0 =⇒ dp − x cos xdx + 24x2 dx = 0
dx Z Z Z Z
2
=⇒ dp − x cos xdx + 24x dx = 0
Z
=⇒ p − x cos xdx + 8x3 = C1
Now, Z Z
x cos xdx = −x sin x − sin xdx = x sin x + cos x.
3
Thus
Z Z Z
dp
− x cos x + 24x2 = 0 =⇒ dp − x cos xdx + 24x2 dx = 0
dx
Z
=⇒ p − x cos xdx + 8x3 = C1
8x4
Z
=⇒ y − x sin xdx − sin x + = C1 x + C2
4
Z
=⇒ y + 2x4 − sin x − −x cos x − − cos xdx = C1 x + C2
a. Let
dy dp d2 y
p= =⇒ = 2.
dx dx dx
Then
d2 y dp dy dp dp
2
= · = p=p
dx dy dx dy dy
00 0
yy + 2(y )2 = 0.
Solution: Let
0 dy dp 00 d2 y
p=y = =⇒ = y = 2.
dx dx dx
Thus we have
dp
y + 2p2 = 0.
dx
4
Now,
dp dp p2
y + 2p2 = 0 =⇒ +2 =0
dx dx y
dp p2
=⇒ p +2 =0
dy y
dp dy
=⇒ +2 =0
p y
Z Z Z
dp dy
=⇒ + 2 = 0
p y
=⇒ ln |p| + 2 ln |y| = C
=⇒ ln |py 2 | = C
=⇒ py 2 = eC
dy
Since p = dx , we now have
dy 2
py 2 = eC =⇒ y = eC
dx
=⇒ y 2 dy = eC dx
Z Z Z
2 C
=⇒ y dy − e dx = 0
y3
=⇒ − eC x = C2
3
=⇒ y 3 − 3C1 x − 3C2 = 0
Exercises
d dy
1. dx dx = 6x + 3
d dy
2. dx {x dx + (1 + x)y} = 12
00 0 0
3. xy − 2x(y )2 + y = 0
00 0
4. y + 2y − 6x − 3 = 0
00 0
5. x2 y + 2xy = 1
00 0 0
6. yy + (y )2 = 2y
dy
d
7. dx x dx + 2y = −2x−3
00 0
8. 2yy + y 2 = (y )2
5
2 Linear Equations of Higher Order
A linear equation of higher order is one which contains the dependent variable and all its derivatives
to the first degree only.
The general linear differential equation of order n is an equation that can be written
dn y dn−1 y dy
b0 (x) n
+ b1 (x) n−1 + · · · + bn−1 (x) + bn (x)y = f (x) (1)
dx dx dx
The functions R(x) and bi (x); i = 0, 1, · · · , n, are to be independent of the variable y. If R(x) is
identically zero, equation (1) is said to be linear and homogeneous. If R(x) is not identically zero,
equation (1) is called linear and nonhomogeneous.
(n) (n−l) 0
b0 (x)y1 + b1 (x)y1 + · · · + bn−1 (x)y1 + bn (x)y1 = 0 (∗)
and
(n) (n−l) 0
b0 (x)y2 + b1 (x)y2 + · · · + bn−1 (x)y2 + bn (x)y2 = 0 (∗∗)
Now, multiply c1 to equation (∗) and c2 to equation (∗∗) and add the results, we can conclude that
y = c1 y1 + c2 y2 is a solution of equation (2). Thus in general if yi , with i = 1, 2, · · · , k, are solutions of
equation (2), and if ci , with i = 1, 2, · · · , k, are constants, then
y = c1 y1 + c2 y2 + · · · + cn yn (3)
is a solution of equation (2). The expression in equation (3) is called a linear combination of the functions
y1 , y2 , · · · , yk .·
Recall that
dy
+ Py = Q (4)
dx
where P and Q are functions of x. The solution is given by
Z Z
1 C
yφ = φQdx + C =⇒ y = φQdx +
φ φ
6
R
P dx
where φ = e
in which Z
R R R
−
U =e P dx
e P dx
Qdx and V = e− P dx
In equation (5), if we set C = 0 then y = U, the particular solution which satisfies (4) since
dU
+ P U = Q.
dx
dCV
+ P CV = Q
dx
Now, y = U V is the particular solution while y = CV is the general solution of the first-ordered
linear equations. Also, possessed by higher-ordered differential equations, if we let yp be the particular
solution and yc be the general solution, then the general solution of the higher-ordered linear equation
is given by
y = yp + yc .
If there exists n functions y1 , y2 , · · · , yn and C1 , C2 , · · · , Cn are constants not all zero such that
C1 y1 + C2 y2 + · · · Cn yn = 0
7
Note the following:
c1 y1 + c2 y2 + · · · cn yn
may still be expressed in a form with less than n arbitrary constants and therefore fo a homogeneous
linear equation, will not represent the general solution yc .
2. If y1 , y2 , · · · , yn are linearly independent functions all the constants are essential and the linear
combination of the functions make up the general solution.
(i) Find n linear independent functions y1 , y2 , · · · , yn which are a solution to the homogeneous
equation.
In this section, we shall obtain a sufficient condition that n functions be linearly independent over
an interval a ≤ x ≤ b. Assume each of the functions y1 , y2 , · · · , yn is differentiable at least (n − 1) times
in the interval a ≤ x ≤ b. Then from the equation
c1 y1 + c2 y2 + · · · + cn yn = 0
0 0 0
c1 y1 + c2 y2 + · · · + cn yn = 0
00 00 00
c1 y1 + c2 y2 + · · · + cn yn = 0
..
.
(n−1) (n−1)
c1 y1 + c2 y2 + · · · + cn yn(n−1) = 0
Considered as a system of equations in c1 , c2 , · · · , cn , the n linear equations directly above will have
no solution except the one with each of the c0 s equal to zero, if the determinant of the system does not
vanish. That is, if
8
y1 y2 ··· yn
0 0 0
y1 y2 ··· yn
00 00 00
W = y1 y2 ··· yn 6= 0
..
.
(n−1) (n−1) (n−1)
y1 y2 ··· yn
then the functions y1 , y2 , · · · , yn are linearly independent. The determinant is called the Wronskian of
the n functions involved.
Solution: We have
y1 = ex y2 = e2x y3 = e3x
0 0 0
y1 = ex y2 = 2e2x y3 = 3e3x
00 00 00
y1 = ex y2 = 4e2x y3 = 9e3x
Thus,
ex e2x e3x
W = ex 2e2x 2e3x
ex 4e2x 9e3x
= 2e6x 6= 0
Exercises
1. 1, x, x2
2. ex , cos x, sin x
3. 5ex , e5x , 5, x
5. By determining constants c1 , c2 , c3 , c4 , which are not all zero and are such that
c1 y1 + c2 y2 + c3 y3 + c4 y4 = 0
9
identically, show that the functions
y1 = x, y2 = ex , y3 = xex , y4 = (2 − 3x)ex
Let D denote differentiation with respect to x, D2 differentiation twice with respect to x, and so on;
that is, for positive integral k,
dk y
Dk y =
dxk
The expression is called a differential operator of order n. It may be defined as that operator which,
when applied to any function y, yields the result
dn y d(n−1) y dy
Ay = a0 n
+ a1 (n−1)
+ · · · + an−1 + an y
dx dx dx
The coefficients a0 , a1 , · · · , an in the operator A may be functions of x, but in this module the only
operators used will be those with constant coefficients.
Two operators A and B are said to be equal if, and only if, the same result is produced when each
acts upon the function y. That is, A = B if, and only if, Ay = By for all functions y possessing the
derivatives necessary for the operations involved.
The product AB of two operators A and B is defined as that operator which produces the same result
as is obtained by using the operator B followed by the operator A. Thus ABy = A(By). The product
of two differential operators always exists and is a differential operator. For operators with constant
coefficients, but not usually for those with variable coefficients, it is true that AB = BA.
10
Hence AB = (D + 2)(3D − 1) = 3D2 + 5D − 2. Now consider BA. Acting upon y, the operator BA yields
dy
B(Ay) = (3D − 1)( + 2y)
dx
2
d y dy dy
=3 2 +6 − − 2y
dx dx dx
= (3D2 + 5D − 2)y.
Recall
dn y d(n−1) y dy
a0 n
+ a1 (n−1) + · · · + an−1 + an y = f (x)
dx dx dx
Then it can be written as
where φ(D) = a0 Dn + a1 Dn−1 + · · · + an−1 D + an and φ(D) is a polynomial function of D with constant
coefficients associated with the equation in auxiliary equation of the form
φ(m) = a0 (m − r1 )(m − r2 ) · · · (m − rn ) = 0.
11
Example: Let φ(D) = D2 − 4D + 3 operate on the function U = 3x2 + 2 cos x. Determine the result of
the operation.
First Method:
φ(D) = (D − 1)(D − 3)
Second Method:
2.5.1 Derivative of ex
Dk emx = mk emx .
That is,
D(emx ) = memx
D2 (emx ) = m2 emx
..
.
Dn (emx ) = mn emx .
= emx φ(m)
12
Let (D − a) operate on yeax where a is any positive constant. Then
= eax Dy
In general,
(D − a)n (yeax ) = eax Dn y or Dn (yeax ) = eax (D + a)n y
and
φ(D)yeax = eax φ(D + a)y
φ(m) = 2m2 + 5m − 12 = 0
(2m − 3)(m + 4) = 0
3
m= , m = −4
2
3
The roots are r1 = 2 and r2 = −4. Now,
Then if r1 = 23 , we have (2D2 + 5D − 12)e3/2x . If r2 = −4, we have (2D2 + 5D − 12)e−4x Thus y1 = e3/2x
and y2 = e−4x are solutions to the homogeneous linear equation (2D2 + 5D − 12)y = 0.
Note that y = y1 + y2 + · · · + yn can be written as y = er1 x + er2 x + · · · + ern x if the solutions are
linearly independent.
To obtain the general solution of the homogeneous linear equation, we will test for linear independence
using Wronskian. Let
y1 = e3/2x y2 = e−4x
0 3 3/2x 0
y1 = e y2 = −4e−4x
2
13
Thus,
e3/2x e−4x
W =
3 3/2x
2e −4e−4x
−5x/2 3 −5x/2
= −4e − e
2
11
= − e−5x/2 6= 0
2
Therefore, y1 and y2 are linearly independent. Consequently, the general solution of the linear homoge-
neous equation is
y = e3/2x + e−4x .
Solution: We have (D + 1)2 y = 0 which implies that r = −1 the root of the given equation. Thus we
have one solution y1 = e−x Since the given equation is of degree 2, we need another solution. Suppose
y2 = xex is a solution of (D2 + 2D + 1)y = 0. Does it satisfy the equation? Now,
(D2 + 2D + 1)y = 0
(D2 + 2D + 1)xe−x = 0
0=0
y = e−x + xe−x
(D − a)n y = 0,
Solution: The auxiliary equation is (m − 3)4 = 0 in which the roots are r1 = r2 = r3 = r4 = 3. Therefore,
the solution is given by
y = c1 e3x + c2 xe3x + c3 x2 e3x + c4 x3 e3x
14
Exercises
c. (D + 2)(D2 − 2D + 5).
d. (xD − 1)D.
a. (D − 2)3 y = 0.
b. (D + 1)2 y = 0.
c. (2D2 − 1)2 y = 0.
d. (D2 + 6D + 7)6 y = 0.
e. (D + 7)6 y = 0.
15
Lesson 2: Homogeneous Higher Order Differential Equations
Learning Objectives: At the end of the lesson, students should be able to
1. Determine the roots of the auxiliary equation of homogeneous higher order differential equations.
2. Distinguish the type of solution according to the roots of homogeneous higher order differential
equations.
dn y dn−1 y dy
a0 (x) n
+ a1 (x) n−1
+ · · · + an−1 (x) + an (x)y = f (x)
dx dx dx
where f (D) is a linear differential operator. In this section, we will solve differential equations with
constant coefficients specifically a homogeneous higher order linear equations.
Theorem 1: When the roots of the auxiliary equation corresponding to the homogeneous higher order
linear differential equation are all real and distinct, i.e, r1 6= r2 6= r3 6= · · · 6= rn , then the solution is
00 0
Solution: The given DE can be written as y + y − 6y = 0. Its auxiliary equation is
r2 + r − 6 = 0
(r + 3)(r − 2) = 0
r = −3, r = 2
Thus the roots are real and distinct and hence the solution is
y = c1 e2x + c2 e−3x .
16
Solution: Solving for the auxiliary equation to obtain the roots we have
r3 − 4r2 + 3r = 0
r(r2 − 4r + 3) = 0
r(r − 3)(r − 1) = 0
r = 0, r = 3, r = 1
Thus the roots are real and distinct. Hence the solution is
y = c1 + c2 ex + c3 e3x .
Theorem 2: When the roots of the auxiliary equation corresponding to the homogeneous higher order
linear differential equation are all real and equal, i.e, r1 = r2 = r3 = · · · = rn , then the solution is
000 00
Solution: The given DE can be written as y (iv) − 2y + y = 0. Solving its auxiliary equation to get the
roots we have
r4 − 2r3 + r2 = 0
r2 (r2 − 2r + 1) = 0
r2 (r − 1)2 = 0
r = 0, 0 r = −1, −1
Thus the roots are real and equal and hence the solution is
y = c1 + c2 x + c3 ex + c4 ex
Solution: Solving for the auxiliary equation to obtain the roots we have
4r3 − 4r2 + r = 0
r(4r2 − 4r + 1) = 0
r(2r − 1)2 = 0
1 1
r = 0, , r = ,
2 2
Therefore the roots are distinct and some are equal. Hence the solution is
y = c1 + c2 ex/2 + c3 xex/2 .
17
Theorem 3: When the roots of the auxiliary equation corresponding to the homogeneous higher order
linear differential equation are conjugate complex numbers, i.e, r = a + bi, then the solution is
r2 + 9 = 0
r = ±3i
r2 − 4D + 5 = 0
r =2±i
r1 = 2 + i , r2 = 2 − i
Theorem 4: When the roots of the auxiliary equation corresponding to the homogeneous higher order
linear differential equation are equal conjugate complex numbers, i.e, the roots a + bi, occurs p times,
then the solution is
r4 + 8r2 + 16 = 0
(r2 + 4)2 = 0
r2 + 4 = 0
r = ±2i of multiplicity 2
18
Hence the solution is
y = (c1 + c2 x) cos 2x + (c3 + c4 x) sin 2x
r4 + 2r3 + 10r2 = 0
r2 (r2 + 2r + 10)2 = 0
r2 + 4 = 0
r = 0, 0 r = −1 ± 3i
Solution: The auxiliary equation is given by r6 + 9r4 + 24r2 + 16 = 0. Let r2 = m. Then we have
m3 + 9m2 + 24m + 16 = 0.
We will use synthetic division to get the roots and so we get the first root m = −4. We then have
(m + 4)(m2 + 5m + 4) = 0
(m + 4)(m + 4)(m + 1) = 0
m = −4, −4 m = −1
and
r2 = −1 =⇒ r = ±i
y = (c1 cos x + c2 sin x)e0x + (c3 + c4 x)e0x cos 2x + (c5 + c6 x)e0x sin 2x
19
Exercises
Find the general solution. When the operator D is used, it is implied that the independent variable is x.
1. (D2 + 5D + 6)y = 0.
7. (D2 − 4D + 7)y = 0.
20