Professional Documents
Culture Documents
DIFFERENTIAL EQUATIONS
COURSE MODULE 3
EQUATION OF ORDER ONE MODULE 3
First Order DE
= 𝑓(𝑡, 𝑦) Eq. 1
If the function f in eq. 1 depends linearly on the dependent variable y, then eq. 1 is called a
first order linear equation.
A. Separation of Variables
Example:
f(x, y) = x2 – xy – 3y2
= λ2 x2 – λ2 xy – 3 λ2 y2
= λ2 f(x, y)
M dx + N dy = 0
Or
M (x, y) dx + N (x,y) dy = 0
EQUATION OF ORDER ONE MODULE 3
Where M and N may be functions of both x and y. Some equations of this type are so simple
that they can be put in the form
That is, the variables can be separated. Then a solution can be written at once. For it is only
a matter of finding a function F whose total differential is left member of (1). Then F=c,
where c is an arbitrary constant is the desired result.
TYPES OF SOLUTION:
1. General Solution
A solution that contains, however, this arbitrary constant does not yet defined.
2. Particular Solution
A solution that no longer contains arbitrary constant. Hence, the arbitrary constant
are defined.
Example:
1. x2 y dx + (x3 y + x3) dy = 0
𝑥 y dx 𝑥 (𝑦 + 1)𝑑𝑦
+ =0
𝑥 𝑦 𝑥 𝑦
dx (𝑦 + 1)𝑑𝑦
+ =0
𝑥 𝑦
dx 1
+ 1 + 𝑑𝑦 = 0
𝑥 𝑦
ln x + y + ln y = c
ln xy + y = c ans.
EQUATION OF ORDER ONE MODULE 3
2. (1 – x) y’ = y2
(1 − 𝑥)𝑑𝑦
=𝑦 𝑑𝑥
𝑑𝑥
(1-x) dy = y2 dx
𝑑𝑦 𝑑𝑥
=
𝑦 1−𝑥
−1
= −𝑙𝑛(1 − 𝑥) + 𝑐
𝑦
−1
= −𝑙𝑛(1 − 𝑥) − ln 𝑐
𝑦
1
= ln 𝑐 (1 − 𝑥)
𝑦
1 = 𝑦 ln 𝑐 (1 − 𝑥) ans.
x2 – 3xy + 4y2
x3 + y3
x4y + 7y5
are called homogeneous polynomials. We wish now to extend the concept of homogeneity
so it will apply to functions other than polynomials.
If we assign a physical dimension, say length, to each variable x and y in the polynomials in
equation 1, then each polynomial itself also has a physical dimension, length to some
power. This suggests the desired generation. If, when certain variables are thought of as
lengths, a function has the physical dimension length to the kth power, then we shall call
that function homogeneous of degree k in those variables. For example, the function
Is dimension (length)3 when x and y are lengths. Therefore, that function is said to be
homogeneous of degree 3 in x and y.
For the function f(x, y) of equation (2), the formal definition of homogeneity leads us to
consider
λ𝑦 λ 𝑥
𝑓(λ𝑥, λ𝑦) = 2λ 𝑦 exp −
λ𝑥 λ𝑥 + 3λ𝑦
Theorem 1:
If M (x, y) and N (x, y) are both homogeneous and of the same degree, the function M(x,
y)/N(x,y) is homogeneous of degree zero.
Theorem 2:
Proof. Let us put y = vx. Then Theorem 2 states that, if f(x, y) is homogeneous of degree
zero, f(x, y) is a function of v alone. Now
in which the x is now playing the role taken by λ in the definition (3). By (4), f(x,y) depends
on v alone as stated in Theorem 2.
EQUATION OF ORDER ONE MODULE 3
Summary:
If N is simpler use:
y = vx, dy = v dx + x dv
Example:
M N
If N is simpler:
dx – v dx - v x dv = 0
dx – v dx - v x dv = 0
(1-v) dx – vx dv = 0
(1-v) dx = vx dv
EQUATION OF ORDER ONE MODULE 3
𝑑𝑥 𝑣 𝑑𝑣
=
𝑥 (1 − 𝑣)
(𝑣 − 1) + 1
ln 𝑥 = 𝑑𝑣
1−𝑣
(𝑣 − 1)𝑑𝑣 𝑑𝑣
ln 𝑥 = +
1−𝑣 1−𝑣
(𝑣 − 1)𝑑𝑣 𝑑𝑣
ln 𝑥 = − + (−)
1−𝑣 1−𝑣
ln 𝑥 = −𝑣 − ln(1 − 𝑣) + 𝑐
ln 𝑥 + 𝑣 + ln(1 − 𝑣) = 𝑐
e(ln x + v + ln(1-v)) = ec
ev * e(ln x + ln(1-v)) = c
ev * eln x * e ln(1-v) = c
ev * (x) (1-v) = c ; v = y/x
ey/x * (x) (1-y/x) = c
ey/x * (x-y) = c ans.
M N
EQUATION OF ORDER ONE MODULE 3
𝑑𝑀 𝑑
= (3𝑥 − 6𝑥) = 3𝑥 (1) − 0 = 3𝑥
𝑑𝑦 𝑑𝑦
𝑑𝑁 𝑑
= (𝑥 + 2𝑦) = 3𝑥 + 0 = 3𝑥
𝑑𝑥 𝑑𝑥
𝑑𝑀 𝑑𝑁
= = 3𝑥 ; 𝐸𝑥𝑎𝑐𝑡
𝑑𝑦 𝑑𝑥
𝑑𝐹 𝑑𝐹
= 𝑀(𝑥, 𝑦) → = 3𝑥 − 6𝑥 → 𝐹
𝑑𝑥 𝑑𝑥
𝑑𝐹 = (3𝑥 𝑦 − 6𝑥)𝑑𝑥
𝐹= (3𝑥 𝑦)𝑑𝑥 − 6𝑥 𝑑𝑥
𝐹 = 3𝑦 (𝑥 )𝑑𝑥 − 6 𝑥 𝑑𝑥
𝑥 𝑥
𝐹 = 3𝑦 −6 + 𝑄(𝑦)
3 2
𝐹 = 𝑥 𝑦 − 3𝑥 + 𝑄(𝑦)
𝑑𝐹 𝑑𝐹
= 𝑁(𝑥, 𝑦) → = 𝑥 − 2𝑦 → 𝐹
𝑑𝑦 𝑑𝑦
𝑑𝐹 = (𝑥 − 2𝑦)𝑑𝑦
𝐹= 𝑥 𝑑𝑦 − 2𝑦 𝑑𝑦
𝐹= 𝑥 𝑑𝑦 − 2 𝑦 𝑑𝑦
𝑦
𝐹 = 𝑥 𝑦+2 + 𝑅(𝑥)
2
𝐹 = 𝑥 𝑦 + 𝑦 + 𝑅(𝑥)
Equate the following:
𝑥 𝑦 + 𝑦 + 𝑅(𝑥) = 𝑥 𝑦 − 3𝑥 + 𝑄(𝑦)
R(x) = -3x2
Q(y) = y2
𝒙𝟑 𝒚 + 𝒚𝟐 − 𝟑𝒙𝟐 = 𝒄
or
𝒙𝟑 𝒚 − 𝟑𝒙𝟐 + 𝒚𝟐 =c
EQUATION OF ORDER ONE MODULE 3
Summary:
( )
1. − = 𝑓(𝑥), 𝑡ℎ𝑒𝑛 𝐼. 𝐹. = 𝑒 ∫
( )
2. − = 𝑓(𝑥), 𝑡ℎ𝑒𝑛 𝐼. 𝐹. = 𝑒 ∫
1. (y – xy) dx + xdy = 0
(y – xy) dx + xdy = 0
M N
𝑑𝑀 𝑑
= (𝑦 − 𝑥𝑦) = 1 − 𝑥
𝑑𝑦 𝑑𝑦
𝑑𝑁 𝑑
= (𝑥) = −1
𝑑𝑥 𝑑𝑥
Not Exact
Solution:
1 𝑑𝑀 𝑑𝑁
− − 𝑓(𝑥)
𝑁 𝑑𝑦 𝑑𝑥
1
1 − 𝑥 − (1) = 𝑓(𝑥)
𝑥
1
(−𝑥) = 𝑓(𝑥)
𝑥
−𝑥
= −1 = 𝑓(𝑥)
𝑥
1 𝑑𝑀 𝑑𝑁
− = 𝑓(𝑥)
𝑀 𝑑𝑦 𝑑𝑥
1
(−𝑥) = 𝑓(𝑦)
𝑦 − 𝑥𝑦
−𝑥
𝑓(𝑦) = ; 𝑑𝑜 𝑛𝑜𝑡 𝑢𝑠𝑒
𝑦 − 𝑥𝑦
( )
𝐼. 𝐹. = 𝑒 ∫ = 𝑒∫ =𝑒 ∫ =𝑒
EQUATION OF ORDER ONE MODULE 3
M N
𝑑𝑀 𝑑
= (𝑦𝑒 − 𝑥𝑦𝑒 ) = (𝑒 − 𝑥𝑒 )
𝑑𝑦 𝑑𝑦
𝑑𝑁 𝑑
= (𝑥𝑒 ) = (−𝑥𝑒 +𝑒 ) = (𝑒 −𝑥𝑒 )
𝑑𝑥 𝑑𝑥
Exact DE
= 𝑀 (𝑥, 𝑦) = 𝑦𝑒 − 𝑥𝑦𝑒
𝐹=𝑦 𝑒 𝑑𝑥 − 𝑦 𝑥𝑒 𝑑𝑥
Integration by Parts:
u = x dv = e-x dx
du = dx v = -e-x
= uv =∫ 𝑣 𝑑𝑢
𝐹 = −𝑦𝑒 − 𝑦[−𝑥𝑒 − −𝑒 𝑑𝑥 ]
𝐹 = −𝑦𝑒 − 𝑦[−𝑥𝑒 + 𝑒 𝑑𝑥 ]
𝐹 = −𝑦𝑒 − 𝑦[−𝑥𝑒 −𝑒 ]
𝐹 = 𝑥𝑦𝑒 + 𝑄(𝑦)
𝑑𝑁
= 𝑁(𝑥, 𝑦)
𝑑𝑦
𝑑𝐹 = (𝑥𝑒 )𝑑𝑦
𝐹 = (𝑥𝑦𝑒 ) + 𝑅(𝑥)
𝑄(𝑦) = 0; 𝑅(𝑥) = 0
𝑥𝑦
𝑐 = 𝑥𝑦𝑒 =
𝑒
𝑥𝑦 = 𝑐𝑒