Professional Documents
Culture Documents
Packet
02 2013
𝒅𝒚
A first order differential equation, = 𝒇(𝒙, 𝒚) is homogeneous equation, if the
𝒅𝒙
right side satisfies the condition: 𝒇(𝒕𝒙, 𝒕𝒚) = 𝒇(𝒙, 𝒚) for all t. This means the right
side is a homogeneous function (with respect to variables x and y) of the zero
order:
Homogeneous Functions
1. 𝑓(𝑥, 𝑦) = 3𝑥 2 + 4𝑥𝑦 + 5𝑦 2
To check if the functions is
homogeneous, 𝒇(𝒙, 𝒚) = 𝟑𝒙𝟐 + 𝟒𝒙𝒚 + 𝟓𝒚𝟐
Check if 𝒇(𝒕𝒙, 𝒕𝒚) = 𝒕𝒓 𝒇(𝒙, 𝒚) 𝒇(𝒕𝒙, 𝒕𝒚) = 𝟑𝒕𝟐 𝒙𝟐 + 𝟒𝒕𝟐 𝒙𝒚
+ 𝟓𝒕𝟐 𝒚𝟐
𝒇(𝒕𝒙, 𝒕𝒚) = 𝒕𝟐 (𝟑𝒙𝟐 + 𝟒𝒙𝒚 +
𝟓𝒚𝟐 )
𝒇(𝒕𝒙, 𝒕𝒚) = 𝒕𝟐 𝒇(𝒙, 𝒚)
The given function is of degree 2.
Another way of checking if the function is homogeneous
is to check if all the terms have the same degree
In the previous example, 𝒇(𝒙, 𝒚) = 𝟑𝒙𝟐 + 𝟒𝒙𝒚 + 𝟓𝒚𝟐 ; 𝟑𝒙𝟐 is of degree 2; 𝟒𝒙𝒚
is of degree 2 (add the exponents of x and y); lastly, 𝟓𝒚𝟐 is also of degree 2.
𝑦 3 + 𝑦 2 𝑥 + 𝑦𝑥 2
2. 𝑓(𝑥, 𝑦) =
𝑦𝑥 2
𝑓(𝑥, 𝑦) is of degree 0
02 2013
To solve the homogeneous DE of the form 𝑦 ′ = 𝑓(𝑥, 𝑦), it should be written first
in the form:
𝑑𝑦 𝑦
= 𝐹( )
𝑑𝑥 𝑥
That is, use another variable to be substituted to the DE; say
𝑦 = 𝑣𝑥 or 𝑥 = 𝑢𝑦
depends on the simplicity of the construction of the two homogenous functions.
Course Packet 02
Substituting the said equation reduces the given homogenous differential equation to
separable differential equations.
Note: Use 𝑦 = 𝑣𝑥 if 𝑄 (𝑥, 𝑦)𝑑𝑦 is simpler than 𝑃(𝑥, 𝑦)𝑑𝑥 otherwise, use 𝑥 = 𝑢𝑦.
Examples:
02 2013
Alternative solution:
𝑥𝑦 ′ = 𝑥 + 𝑦
1
Since the function is of degree 1, multiply both sides by :
𝑥
1 1
( ) (𝑥𝑦 ′ = 𝑥 + 𝑦) ( )
𝑥 𝑥
𝑑𝑦 𝑦
= 1+
𝑑𝑥 𝑥
𝑦
Using 𝑦 = 𝑣𝑥 or 𝑣 = and
𝑥
𝑑𝑣
𝑑𝑦 = 𝑣𝑑𝑥 + 𝑥𝑑𝑣 𝑣+𝑥 = 1+𝑣
𝑑𝑦 𝑑𝑣 𝑑𝑥
=𝑣+𝑥 ∶
𝑑𝑥 𝑑𝑥
Subtracting both sides with 𝑣: 𝑑𝑣
𝑥 =1
𝑑𝑥
Separating variables by
Course Packet 02
𝑑𝑥 𝑑𝑥
multiplying both sides by : 𝑑𝑣 =
𝑥 𝑥
𝑑𝑦
2. Given 2𝑥𝑦 = 𝑥 2 + 3𝑦 2 , find its particular solution with
𝑑𝑥
the initial condition 𝑦(1) = 2 and determine the value of
𝑦(2)
Solution:
Rewriting the DE: 𝑑𝑦
2𝑥𝑦 = 𝑥 2 + 3𝑦 2
𝑑𝑥
𝑑𝑦 𝑥 2 + 3𝑦 2
=
𝑑𝑥 2𝑥𝑦
The DE is of degree 2; multiply both numerator and
1
denominator of the right side by 2
𝑥
2 2 1
𝑑𝑦 (𝑥 + 3𝑦 ) (𝑥 2 )
=
𝑑𝑥 1
(2𝑥𝑦) ( 2 )
𝑥
02 2013
𝑦2
𝑑𝑦 1 + 3( )
𝑥2
= 𝑦
𝑑𝑥 (2) ( )
𝑥
Using: 𝑑𝑦 1 + 3𝑣 2
=
𝑦 𝑑𝑥 2𝑣
𝑦 = 𝑣𝑥 ; 𝑣=
𝑥 𝑑𝑣 1 + 3𝑣 2
𝑑𝑦 𝑑𝑣 𝑣+𝑥 =
𝑑𝑥 2𝑣
=𝑣+𝑥
𝑑𝑥 𝑑𝑥
Rewriting: 𝑑𝑣
2𝑣 2 + 2𝑣𝑥 = 1 + 3𝑣 2
𝑑𝑥
𝑑𝑣
2𝑣𝑥 = 1 + 3𝑣 2 − 2𝑣 2
𝑑𝑥
𝑑𝑣
2𝑣𝑥 = 1 + 𝑣2
𝑑𝑥
2𝑣𝑥𝑑𝑣 = (1 + 𝑣 2 )𝑑𝑥
Separating variables: Divide both sides by 𝑥(1 + 𝑣 2 )
Course Packet 02
2𝑣𝑥 (1 + 𝑣 2 )
𝑑𝑣 = 𝑑𝑥
𝑥(1 + 𝑣 2 ) 𝑥(1 + 𝑣 2 )
2𝑣 𝑑𝑥
2 𝑑𝑣 =
(1 + 𝑣 ) 𝑥
Integrating both sides: 2𝑣 𝑑𝑥
∫ 2 𝑑𝑣 = ∫
(1 + 𝑣 ) 𝑥
2
ln|1 + 𝑣 | = ln 𝑥 + 𝐶
2
𝑒 ln|1+𝑣 | = 𝑒 ln 𝑥+𝐶
2
𝑒 ln|1+𝑣 | = 𝑒 ln 𝑥 • 𝑒 𝐶
1 + 𝑣 2 = 𝐶𝑥
𝑦 𝑦 2
Since 𝑣 = : 1 + ( ) = 𝐶𝑥
𝑥 𝑥
𝑦 2
1 + ( ) = 𝐶𝑥
𝑥
𝑥 + 𝑦 2 = 𝐶𝑥 3
2
is: 𝑥 2 + 𝑦 2 = 5𝑥 3
𝑦 2 = 5𝑥 3 − 𝑥 2
𝑦 = √𝑥 2 (5𝑥 − 1)
𝑦 = ±𝑥√5𝑥 − 1
02 2013
𝑑𝑦 𝑦 3 + 𝑦 2 𝑥 + 𝑦𝑥 2
3. Find the general solution of = .
𝑑𝑥 𝑦𝑥 2
The given DE is homogeneous because each term has the
same degree which is 3.
Solution:
Rewriting the DE: 𝑑𝑦 𝑦 3 + 𝑦 2 𝑥 + 𝑦𝑥 2
=
𝑑𝑥 𝑦𝑥 2
𝑑𝑦 𝑦(𝑦 2 + 𝑦𝑥 + 𝑥 2 )
=
𝑑𝑥 𝑦𝑥 2
Course Packet 02
𝑑𝑦 𝑦 2 + 𝑦𝑥 + 𝑥 2
=
𝑑𝑥 𝑥2
𝑑𝑦
𝑥2 = 𝑦 2 + 𝑦𝑥 + 𝑥 2
𝑑𝑥
Using:
𝑦 𝑑𝑣
𝑦 = 𝑣𝑥 ; 𝑣= 𝑥 2 (𝑣 + 𝑥 )
𝑥 𝑑𝑥
𝑑𝑦 𝑑𝑣 = (𝑣𝑥)2 + (𝑣𝑥)𝑥 + 𝑥 2
=𝑣+𝑥
𝑑𝑥 𝑑𝑥 𝑑𝑣
𝑣𝑥 2 + 𝑥 3 = 𝑣 2 𝑥 2 + 𝑣𝑥 2
𝑑𝑥
+ 𝑥2
Subtracting 𝑣𝑥 2 : 𝑑𝑣
𝑥3 = 𝑣 2𝑥 2 + 𝑥 2
𝑑𝑥
𝑑𝑣
𝑥3 = 𝑥 2 (𝑣 2 + 1)
𝑑𝑥
Separating variables by multiplying both sides by
𝑑𝑥 𝑑𝑥 𝑑𝑣
: [𝑥 3
𝑥 3 (𝑣 2
+ 1) 𝑥 3 (𝑣 2+ 1) 𝑑𝑥
= 𝑥 2 (𝑣 2 + 1)]
𝑑𝑣 𝑑𝑥
=
(𝑣 2+ 1) 𝑥
Integrating both sides: 𝑑𝑣 𝑑𝑥
∫ 2 =∫
(𝑣 + 1) 𝑥
−1
tan 𝑣 = ln 𝑥 + 𝐶
𝑦 𝑦
Since 𝑣 = : tan−1 ( ) = ln 𝑥 + 𝐶
𝑥 𝑥
02 2013
𝑥
𝑦
Using: 𝑦 = 𝑣𝑥 ; 𝑣 =
𝑥
𝑑𝑣 𝑣 3 + 𝑣 2 + 𝑣
𝑑𝑦 𝑑𝑣 𝑣+𝑥 =
=𝑣+𝑥 𝑑𝑥 𝑣
𝑑𝑥 𝑑𝑥
𝑑𝑣 𝑣(𝑣 2 + 𝑣 + 1)
𝑣+𝑥 =
𝑑𝑥 𝑣
Simplifying: 𝑑𝑣
𝑣+𝑥 = 𝑣2 + 𝑣 + 1
𝑑𝑥
𝑑𝑣
𝑥 = 𝑣2 + 1
𝑑𝑥
Separating variables by multiplying both sides by
𝑑𝑥 𝑑𝑣 𝑑𝑥
∶ =
𝑥(𝑣 2 + 1) 𝑣2 +1 𝑥
02 2013
𝑢2 − 6 ln 𝑦 = 2 ln 𝐶1
Let 𝐶 = 2 ln 𝐶1
𝑥 𝑥 2
Since 𝑥 = 𝑢𝑦 or 𝑢 = ( ) = 6 ln 𝑦 + 𝐶
𝑦 𝑦
𝑥2
= 6 ln 𝑦 + 𝐶
𝑦2
𝑥2
𝑦2 =
ln 𝐶𝑦 6
02 2013
Integrating: 𝑑𝑟
∫ 𝑣 2 𝑑𝑣 − ∫ = ∫0
𝑟
𝑣3
− ln 𝑟 = 𝐶
3
𝑠 𝑠 3
Since 𝑣 = ( )
𝑟 𝑟 − ln 𝑟 = 𝐶
3
𝑠3
− 3 ln 𝑟 = 3𝐶
𝑟3
0 = 3𝐶
𝐶=0
3
Thus, the particular solution 𝑠
− 3 ln 𝑟 = 0
is: 𝑟3