1st Lesson Solving DE With Integrating Factors
1st Lesson Solving DE With Integrating Factors
1
• Rearrange the DE in the form
𝑑𝑦
+ 𝑃 𝑥 𝑦 = 𝑄(𝑥)
𝑑𝑥
• Calculate the integrating factor
𝐼 = 𝑒 𝑥𝑑 𝑥 𝑃
𝑑
𝑦𝑒 𝑃 𝑥 𝑑𝑥
𝑑𝑥
• Integrate both sides
2
• Example:
Solve
𝑑𝑦 3𝑦 𝑒𝑥
+ = 3 , 𝑦 1 =3
𝑑𝑥 𝑥 𝑥
𝑑𝑦
+ 2𝑦 = −3
𝑑𝑥
𝑑𝑦
𝑥 − 3𝑦 = 𝑥 4 𝑒 𝑥
𝑑𝑥
3
𝑑𝑦 𝑦
Solving DE of the form =𝑔
𝑑𝑥 𝑥
𝑦
• Create a new variable 𝑣 = → 𝑣𝑥 = 𝑦
𝑥
𝑑𝑦 𝑑(𝑣𝑥) 𝑑𝑣
• 𝑦 = 𝑣𝑥 → = =𝑣 +𝑥
𝑑𝑥 𝑑𝑥 𝑑𝑥
𝑑𝑦 𝑑𝑣
→ =𝑣+𝑥
𝑑𝑥 𝑑𝑥
4
• Example:
Solve
𝑑𝑦 𝑥 2 +𝑦 2
=
𝑑𝑥 𝑥𝑦
𝑑𝑦 𝑦(𝑥−𝑦)
=
𝑑𝑥 𝑥2
𝑑𝑦 𝑥−𝑦
=
𝑑𝑥 𝑥+𝑦
5
Differential Equations as Mathematical Models
• The mathematical description of a system or a phenomenon is called
a mathematical model.
• The steps of the modeling process are repeated as shown in the
following figure.
6
Exponential Growth
(Population Dynamics)-
“What will the population of a certain country be in ten years?”
• This is commonly called the exponential model, that is, the rate of change
of the population is proportional to the existing population.
• if 𝑃(𝑡) measures the population, then we have
𝑑𝑃 𝑑𝑃
∝𝑃→ = 𝑘𝑃
𝑑𝑡 𝑑𝑡
where 𝑘 is a constant of proportionality.
7
• This is a linear differential equation which solves into
𝑃 𝑡 = 𝑃0 𝑒 𝑘𝑡
where 𝑃0 is the initial population, i.e. 𝑃 0 = 𝑃0 .
8
Example:
1) The rate of change of a culture of bacteria is proportional to the
population itself. When 𝑡 = 0, there are 100 bacteria. Two minutes
later, at 𝑡 = 2, there are 300 bacteria.
a) Find the constant of proportionality.
b) How many bacteria are there at 4 minutes?
9
Logistic Growth Model
Exponential growth is not quite accurate since the environmental
support system for a given species is likely not infinite.
𝑃0 𝑀𝑒 𝑘𝑡
𝑃 𝑡 =
(𝑀 − 𝑃0 ) + 𝑃0 𝑒 𝑘𝑡
10
Example:
A population of rabbits in a meadow is observed to be 200 rabbits at
𝑡 = 0. After a month the rabbit population is observed to have
increased by 4. Using an initial population of 200 and a growth rate of
0.04 , with a carrying capacity of 750 rabbits, predict the population
after 1 year.
11