Professional Documents
Culture Documents
MATH20063 WK 6
MATH20063 WK 6
MATH20063 WK 6
College of Engineering
z
MATH 20063
Differential
Equations
Lecture 6
z
5.1 Integrating Factors by Inspection
"#$%$#"
Further simplification of (2) will be 𝑦𝑑𝑥 + 𝑥𝑑𝑦 + = 0 − −(3)
"!
$ "#$%$#"
Observing (3), we can deduce that 𝑑 𝑥𝑦 = 𝑦𝑑𝑥 + 𝑥𝑑𝑦 and 𝑑 =
" "!
by product rule and quotient rule respectively , hence (3) , can now be written as
$ $
𝑑 𝑥𝑦 + 𝑑 = 0 and integrating it will ∫ 𝑑 𝑥𝑦 + ∫ 𝑑 = ∫ 0 will give
" "
$
𝑥𝑦 + = 𝑐 or 𝑥 𝑦 ! + 1 = 𝑐𝑦 ⟶ general solution of (1)
"
z
Example 5.1a. Solve the d.e. in Example 5.1 using a different method
#$ (&%"! )
using separation of variables, integrating (2) ∫ $ = ∫ " "!'& 𝑑𝑦 − − 3
Using partial integration of the right hand side of (3), the results will be
#$ & !"
∫ $ = ∫( − )− −(4) verify this!
" "! '&
Exercise 5.1
!"
(1) − 𝑚𝑦 = 𝐶$ 𝑒 %# , where 𝐶$ and 𝑚 are constants Ans. 𝑦 = 𝑐$ 𝑥 + 𝑐& 𝑒 %#
!#
Exercise 5.1
!"
(1) − 𝑚𝑦 = 𝐶$ 𝑒 %# , where 𝐶$ and 𝑚 are constants Ans. 𝑦 = 𝑐$ 𝑥 + 𝑐& 𝑒 %#
!#
*(+,) *(+-)
= hence 𝑢 must satisfy the partial d.e.
*" *$
𝜕𝑀 𝜕𝑢 𝜕𝑁 𝜕𝑢
𝑢 +𝑀 =𝑢 +𝑁 − −(4)
𝜕𝑦 𝜕𝑦 𝜕𝑥 𝜕𝑥
*, *- *+ *+
Rearranging (4) , will result to 𝑢 − =𝑁 −M --(5)
*" *$ *$ *"
*+ *+ #+
Now, if we let 𝑢 = 𝑓 𝑥 , then , = 0 and becomes
*" *$ #$
(5) is reduced to
*, *- #+ & *, *- #+
𝑢 − =𝑁 or − 𝑑𝑥 = − −(6) , now if
*" *$ #$ - *" *$ +
& *, *-
− = 𝑓 𝑥 , then, the integrating factor for (1) is 𝑢 = 𝑒 % ∫ / $ #$
, in the
- *" *$
same argument , if 𝑢 = f y , then
& *, *-
− = 𝑔 𝑦 , then the integrating factor for (1) is 𝑢 = 𝑒 % ∫ 0 " #"
, *" *$
z
In summary:
! #$ #"
(a) If
" #%
− #&
= 𝑓 𝑥 , then 𝑢 = 𝑒 ' ∫ ) & *&
is the integrating
factor of
𝑀 𝑑𝑥 + 𝑁 𝑑𝑦 = 0 − −(1)
! #$ #"
(a) (b) If − = 𝑔 𝑦 , then 𝑢 = 𝑒 ' ∫ + % *%
is the integrating
$ #% #&
factor of
𝑀 𝑑𝑥 + 𝑁 𝑑𝑦 = 0 − −(1)
Example 5.2 Solve the following d.e.
(a) 𝑦 8𝑥 −z9𝑦 𝑑𝑥 + 2𝑥 𝑥 − 3𝑦 𝑑𝑦 = 0
(c) 𝑦 2𝑥 ! − 𝑥𝑦 + 1 𝑑𝑥 + 𝑥 − 𝑦 𝑑𝑦 = 0
Solutions:
8𝑦𝑥 − 9𝑦 ! 𝑑𝑥 + 2𝑥 ! − 6𝑥𝑦 dy = 0
*, *-
where : 𝑀 = 8𝑦𝑥 − 9𝑦 ! and 𝑁 = 2𝑥 ! − 6𝑥𝑦 , = 8𝑥 − 18𝑦 while = 4𝑥 − 6𝑦 , from the
*" *$
& *, *- *, *- !
form − = 𝑓 𝑥 , Substituting N, and , will result to 𝑓 𝑥 = , (verify this!) ,
- *" *$ *" *$ $
8𝑥 1 𝑦 − 9𝑥 ! 𝑦 ! 𝑑𝑥 + 2𝑥 2 − 6𝑥 1 𝑦 dy = 0 − −(2)
*, *-
Now, (2) is an exact differential equation where = = 8𝑥 1 − 18𝑥 ! 𝑦 where
*" *$
*3 *3
while = 𝑀 = 8𝑥 1 𝑦 − 9𝑥 ! 𝑦 ! − −(3) and = 𝑁 = 2𝑥 2 − 6𝑥 1 𝑦 − −(4)
*$ *"
*3
= 2𝑥 2 − 6𝑥 1 𝑦 + 𝑇 4 𝑥 = 2𝑥 2 − 6𝑥 1 𝑦 − −(6) , solving for 𝑇 4 𝑥 in (6) , 𝑇 4 𝑥 = 0, hence
*"
𝑇 𝑥 = 𝑐 , hence the solution of (1) is 2𝑥 2 𝑦 − 3𝑥 1 𝑦 ! = 𝑐 or 𝑥 1 𝑦 2𝑥 − 3𝑦 = 𝑐
(b) Solve 𝑦 8𝑥 − 9𝑦 𝑑𝑥 + 2𝑥 𝑥 − 3𝑦 𝑑𝑦 = 0 using other method.
z
Solutions: Let the given d.e. 𝑦 8𝑥 − 9𝑦 𝑑𝑥 + 2𝑥 𝑥 − 3𝑦 𝑑𝑦 = 0 − − 1 be equation (1)
Now, (1) is simplified to 8𝑦𝑥 − 9𝑦 ! 𝑑𝑥 + 2𝑥 ! − 6𝑥𝑦 dy = 0 − − 2 and (2) is
#"
expressed in the form = 𝐹(𝑥, 𝑦) which resulted to (3)
#$
Let 𝑦 = 𝑣𝑥 and 𝑑𝑦 = 𝑣𝑑𝑥 + 𝑥𝑑𝑣 , substituting 𝑦 and 𝑑𝑦 into (2) and simplify will result to
, ! 0
Integrating (4) , the result is 𝑙𝑛𝑥 = − 𝑙𝑛𝑣 − ln 2 − 3𝑣 − −(5)
- - -
%
Simplifying (5) and substituting 𝑣 = will yield 𝑥 0 𝑦 2𝑥 − 3𝑦 = 𝑐
&
which is consistent with the answer in (a).
Note: which method do you prefer and why? Can you solve this in any
other method?
(c) Given the d.e. 𝑦 2𝑥 ! − 𝑥𝑦 + 1 𝑑𝑥 + 𝑥 − 𝑦 𝑑𝑦 = 0 − −(1)
z
Simplifying (1) will result to 2𝑥 ! 𝑦 − 𝑥𝑦 ! + 𝑦 𝑑𝑥 + 𝑥 − 𝑦 𝑑𝑦 = 0 − −(2)
where 𝑀 = 2𝑥 ! 𝑦 − 𝑥𝑦 ! + 𝑦 and N = 𝑥 − 𝑦
*, *- & *, *-
Now = 2𝑥 ! − 2𝑥𝑦 + 1 and = 1 , it follows that − = 2𝑥 (𝑣𝑒𝑟𝑖𝑓𝑦 𝑡ℎ𝑖𝑠)
*" *$ - *" *$
!
Hence the integrating factor is 𝑒 ∫ !$#$ = 𝑒 $ , now multiplying (2) by the integrating factor
! !
𝑒$ 2𝑥 ! 𝑦 − 𝑦 ! + 𝑦 𝑑𝑥 + 𝑒 $ 𝑥 − 𝑦 𝑑𝑦 = 0 − −(3)
! !
Now, the new 𝑀 and N will be M = 𝑒 $ 2𝑥 ! 𝑦 − 𝑥𝑦 ! + 𝑦 and 𝑁 = 𝑒 $ 𝑥 − 𝑦
*, *- !
In effect of (3) becomes an exact d.e. where = = 𝑒 $ 2𝑥 ! − 2𝑥 + 1 (𝑣𝑒𝑟𝑖𝑓𝑦 𝑡ℎ𝑖𝑠)
*" *$
$ ! &
𝐹= 𝑒 𝑥𝑦 − 𝑦 ! + 𝑇 𝑥 − − 5 , What is the significance of 𝑇 𝑥 in (5)?
!
*3 *3
Also , since = M , finding in (5), differentiating wrt 𝑥 while holding 𝑦 constant will
*$ *$
!
results to 𝑒 $ 𝑦 + 2𝑥 ! − 𝑥𝑦 ! + 𝑇 4 𝑥 − − 6 (𝑣𝑒𝑟𝑖𝑓𝑦 𝑡ℎ𝑖𝑠)
! !
Equating (6) to M, 𝑒 $ 𝑦 + 2𝑥 ! 𝑦 − 𝑥𝑦 ! + 𝑇 4 𝑥 = 𝑒 $ 2𝑥 ! 𝑦 − 𝑥𝑦 ! + 𝑦 and finding 𝑇 4 𝑥 ,
𝑇 4 𝑥 = 0, which when integrated will give 𝑇 𝑥 = 𝑐 , hence the general solution of (1) is
! !
𝑒 $ 𝑦 2𝑥 − 𝑦 = 𝑐𝑒 %$ (𝑣𝑒𝑟𝑖𝑓𝑦 𝑡ℎ𝑖𝑠)
z
Exercises 5.2 Solve each of the following d.e.
(a) 𝑥𝑦 + 1 𝑑𝑥 + 𝑥 𝑥 + 4𝑦 − 2 𝑑𝑦 = 0
Ans. 𝑥𝑦 + 𝑙𝑛 𝑥 + 2𝑦 R − 2𝑦 = 𝑐
(a) 𝑦 R 𝑑𝑥 + 3𝑥𝑦 + 𝑦 R + 1 𝑑𝑦 = 0 Ans. 𝑦 2𝑥 + 𝑦 = 𝑐𝑒 S
(b) 2 2𝑦 R + 5𝑥𝑦 − 2𝑦 + 4 𝑑𝑥 + 𝑥 2𝑥 + 2𝑦 − 1 𝑑𝑦 = 0
Ans. 𝑥 T 𝑦 R + 2𝑥𝑦 − 𝑦 + 2 = 𝑐
(a) 3 𝑥 R + 𝑦 R 𝑑𝑥 + 𝑥 𝑥 R + 3𝑦 R + 6𝑦 𝑑𝑦 = 0.
Ans. 𝑥 𝑥 R + 3𝑦 R = 𝑐𝑒 UV