Ordinary Differential Equations I Lecture (5) First Order Differential Equations
Ordinary Differential Equations I Lecture (5) First Order Differential Equations
Lecture (5)
First Order Differential Equations
7. Riccati Equations
The equation
𝑑𝑦
+ 𝑝(𝑥)𝑦 + 𝑄(𝑥)𝑦 2 = 𝐹(𝑥)
𝑑𝑥
A more general solution containing one arbitrary constant can be obtained through the
substitution
𝑑𝑦 𝑑𝑦1 𝑑𝑣
𝑦 = 𝑦1 (𝑥) + 𝑣(𝑥) ⇒ = +
𝑑𝑥 𝑑𝑥 𝑑𝑥
So, we have
𝑑𝑦1 𝑑𝑣
[ + ] + 𝑝(𝑥)[𝑦1 (𝑥) + 𝑣(𝑥)] + 𝑄(𝑥)[𝑦1 (𝑥) + 𝑣(𝑥)]2 = 𝐹(𝑥)
𝑑𝑥 𝑑𝑥
𝑑𝑦1 𝑑𝑣
[ + 𝑝(𝑥)𝑦1 + 𝑄(𝑥)(𝑦1 )2 ] + + [𝑝(𝑥) + 𝑦1 (𝑥)𝑄(𝑥)]𝑣 + 𝑄(𝑥)𝑣 2 = 𝐹(𝑥)
𝑑𝑥 𝑑𝑥
𝑑𝑣
𝐹(𝑥) + + [𝑝(𝑥) + 𝑦1 (𝑥)𝑄(𝑥)]𝑣 + 𝑄(𝑥)𝑣 2 = 𝐹(𝑥)
𝑑𝑥
𝑑𝑣
+ [𝑝(𝑥) + 𝑦1 (𝑥)𝑄(𝑥)]𝑣 + 𝑄(𝑥)𝑣 2 = 0 is Bernoulli equation.
𝑑𝑥
Note:
𝑑𝑦
1. If 𝑄(𝑥) = 0, The Riccati equation reduces to a linear first order equation (𝑑𝑥 + 𝑝(𝑥)𝑦 = 𝐹(𝑥)).
𝑑𝑦
2. If 𝐹(𝑥) = 0, The Riccati equation reduces to a Bernoulli equation (𝑑𝑥 + 𝑝(𝑥)𝑦 + 𝑄(𝑥)𝑦 2 = 0).
1 1
𝑢= [− ∫ 𝑥 3 dx]
𝑥3 𝑥3
1
𝑢= [−𝑥 + 𝑐] ∵ 𝑢 = 𝑣(𝑥)−1
𝑥3
−𝑥+𝑐
∴ 𝑣(𝑥)−1 = ∵ 𝑦 = 2𝑥 2 + 𝑣(𝑥) ⟹ 𝑣(𝑥) = 𝑦 − 2𝑥 2
𝑥3
−1 𝑑𝑣 1 1 1 2 1
+ + + 𝑣(𝑥) − − 𝑣(𝑥) − 𝑣(𝑥)2 = −
𝑥2 𝑑𝑥 𝑥2 𝑥 𝑥2 𝑥 𝑥2
𝑑𝑣 1
− 𝑣(𝑥) − 𝑣(𝑥)2 = 0
𝑑𝑥 𝑥
𝑑𝑣 1
− 𝑣(𝑥) = 𝑣(𝑥)2 is a Bernoulli equation
𝑑𝑥 𝑥
𝑑𝑣 1
𝑣(𝑥)−2 − 𝑣(𝑥)−1 = 1
𝑑𝑥 𝑥
𝑑𝑢 𝑑𝑣
Let 𝑢 = 𝑣(𝑥)−1 ⇒ − = 𝑣(𝑥)−2
𝑑𝑥 𝑑𝑥
𝑑𝑢 1
⇒ + 𝑢 = −1 is a linear equation
𝑑𝑥 𝑥
1
𝑝(𝑥) = , 𝑄(𝑥) = −1
𝑥
1
𝐼(𝑥) = 𝑒 ∫ 𝑝(𝑥)𝑑𝑥 = 𝑒 ∫𝑥𝑑𝑥 = 𝑒 ln(𝑥) = 𝑥
1
𝑢= [∫ 𝐼(𝑥)𝑄(𝑥) dx]
𝐼(𝑥)
1
𝑢 = [− ∫ 𝑥 dx]
𝑥
1 −𝑥 2
𝑢= [ + 𝑐]
𝑥 2
−𝑥 2 +2𝑐
𝑣(𝑥)−1 =
2𝑥
1 2𝑥
𝑦− =
𝑥 −𝑥 2 +2𝑐
8. Linear Substitutions
A differential equation of the form
𝑑𝑦
= 𝑓(𝑎𝑥 + 𝑏𝑦 + 𝑐)
𝑑𝑥
Solution:
Let 𝑢 = 2𝑥 − 4𝑦 + 7
1
⟹ 𝑦 = (2𝑥 − 𝑢 + 7)
4
𝑑𝑦 1 𝑑𝑢
𝑎𝑛𝑑 = (2 − )
𝑑𝑥 4 𝑑𝑥
𝑑𝑢 4
=2−
𝑑𝑥 𝑢
𝑑𝑢 2𝑢−4 2(𝑢−2)
= =
𝑑𝑥 𝑢 𝑢
𝑢
(𝑢−2)
𝑑𝑢 = 2𝑑𝑥
noticing that
𝑢 𝑢−2+2 2
(𝑢−2)
= =1+
𝑢−2 𝑢−2
2
⟹ ∫ (1 + ) 𝑑𝑢 = ∫ 2𝑑𝑥
𝑢−2
⟹ 𝑢 + 2 ln(𝑢 − 2) = 2𝑥 + 𝑐 ∵ 𝑢 = 2𝑥 − 4𝑦 + 7
The general solution is
2𝑥 − 4𝑦 + 7 + 2 ln((2𝑥 − 4𝑦 + 7) − 2) = 2𝑥 + 𝑐
2 ln(2𝑥 − 4𝑦 + 5) − 4𝑦 + 7 = 2𝑥 + 𝑐
1 𝑑𝑢
= 𝑑𝑥
𝑢2 + 1 𝑑𝑥
we can integrate both sides of our last differential equation for u,
1 𝑑𝑢
∫ = ∫ 𝑑𝑥
𝑢2 + 1 𝑑𝑥
𝑡𝑎𝑛−1 (𝑢) = 𝑥 + 𝑐 ∵u=𝑥+𝑦+3
The general solution is
𝑡𝑎𝑛−1 (𝑥 + 𝑦 + 3) = 𝑥 + 𝑐
Exercise:
Q (1) The D.E.
𝑑𝑦
= 𝐹(𝑥) + 𝑝(𝑥)𝑦 + 𝑄(𝑥)𝑦 2
𝑑𝑥
is called a Riccati D.E. Suppose that one Particular solution 𝑦1 (𝑥) of this D.E. is known, show
1
that the substitution 𝑦 = 𝑦1 (𝑥) + can transform the Riccati D.E. into a linear D.E.
𝑣(𝑥)
𝑑𝑣
+ (𝑝(𝑥) + 2𝑄(𝑥)𝑦1 (𝑥))𝑣 = −𝑄(𝑥)
𝑑𝑥
4) (𝑥 + 𝑦)𝑦 ′ = 𝑦
5) 𝑦 ′ + 𝑦 2 = 1 + 𝑥 2 , given that 𝑦1 (𝑥) = 𝑥
2 1
6) 𝑦 ′ + 𝑦 2 = , given that 𝑦1 (𝑥) = −
𝑥2 𝑥
′
7) 𝑦 − 2√2𝑥 + 𝑦 − 3 = −2
1
8) 𝑦 ′ = 4 +
𝑠𝑖𝑛(4𝑥−𝑦)
𝑑𝑦 (3𝑥−2)2 +1 3
Q (3) Using a linear substitution, solve = + .
𝑑𝑥 3𝑥−2𝑦 2
References
1. Dennis G. Zill, (2016), A First Course in Differential Equations with Modeling
Application (11𝑡ℎ Edition).
2. William E. Boyce, Richard C. Diprima, Douglas B. Meade, (2017) Elementary
Differential Equations and Boundary Value Problems (11𝑡ℎ Edition)