Buenavista Community College
Buenavista Community College
Buenavista Community College
II. Specific Objectives: At the end of the lesson, the students are expected to:
a)identify a linear DE;
b) solve the general solution of a linear DE;
c) find the particular solution with a given condition of a DE.
III. Learning Session:
A differential equation which is of the first degree in dependent variable and
in each of its derivatives is called a linear differential equation. Thus
dy
+ P(x) y = Q(x) (1)
dx
is a linear differential equation of the first order.
An equation of the form (1) may be solved in the following manner.
Multiplying both sides of (1) by the expression e∫ P(dx) , we have
dy ∫ P(dx )
+ P(x) y e∫ P(dx) = Q(x) e∫ P(dx),
dx e
which can be written in the form
d
(y ∫ P(dx )) = Q(x) e∫ P(dx).
dx e
Hence, by integration, we obtain the general solution
e∫
P(dx )
= e∫ cot x dx = e ln sin x = sin x
dy
sin x
dx
+ y cos x = sin x
Integration,
Hence,
−cos x c
y= +
sin x sin x
;
y = -cot x + c csc x.
e∫ x
y = -x + cx3
Substituting the values y = 6 and x = 2 we get,
6 = -2 + c(2)3 ; c=1
Therefore, y = x3 - x
dy
+ P(x) y = Q(x) yn, (n≠1)
dx
dy
y-n + P(x) y –n+1
= Q(x) ,
dx
1 dy
+ P(x) z = Q(x).
1−n dx
dy y y2
Example 1. Solve + = 2. (1)
dx x x
Solution: This is a Bernoulli equation with n = 2. And divide y2 in the whole
equation,
dy y y2 dy 1 -1 1
[ dx + x = 2 ]÷ y2 ; y-2
dx
+ x
y = 2 (2)
x x
Hence we set y-1 = z, and derive as -y-2dy = dz therefore (2) reduces to
dz z −1
- = . (3)
dx x x2
For this equation P(x) = -1/x; hence the integrating factor is
1 dx 1 1
e∫
P(dx )
= e−∫ x = e−ln x = e ln ( x ) = x .
1
Multiplying both sides of (3) by ; we find
x
1 dz 1 z −1 1 1 dz z −1
- = ; - 2 =
x dx xx x2 x x dx x x3
z dx 1 z 1 1 1+ c x 2
Hence; = −∫ 3 = 2 + C; = +C; z= + Cx =
x x 2x x 2 x2 2x 2x
where c = 2C.
Putting 1/y for z, the general solution of (1) may be expressed in the form
Note: Two general solutions of a differential equation are equivalent when one constant of
integration can be expressed in terms of the other. Thus, y = x + c(x – 1) and y = 1 + c’(x + 1) are
equivalent since c’ = c + 1. The constant is usually chosen so as to give tha final result its simplest
form.
Example 2. Find the solution of y’ + xe-y = -2x that satisfies the condition y = 0 when x = 0.
Solution: Placing e-y= z, the given equation reduces to the linear equation
z’ + 2xz = -x
2
Multiplying by e x and integrating gives
2 1 x 2
1
2
ze x = - e + C, or ey = Ce− x - . (3)
2 2
3
Applying the condition y = 0 when x= 0 in (3), we fine C = . Hence the required solution is
2
3 −x 1
2
y = ln ( e − ).
2 2
IV. Application of Learning: Determine which of the following differential equations are
exact, and solve each equation that is exact.
dy y 1 dy
1. + = . 3. x + 2 y=xy2.
dx 2x y dx
dy dy
2. + y = 2cos x. 4. + y tan x = sec x.
dx dx
dy
5. Prove that the general solution of sin 2x – 2y = -2cos x is y = sec x +
dx
ctan x.
dy 1
6. Find the particular solution of x + 2 y=¿xy2 ; y = when x = 3. .
dx 3
.
Note: Write your answer in a yellow paper and pass it during our meeting. This will serve as your quiz.