Lecture 01-02 - Introduction To ODE
Lecture 01-02 - Introduction To ODE
Category Weight
Attendance 10%
𝑑𝑇 𝑡 𝑑𝑇 𝑡
∝ 𝑇 − 𝑇𝑚 ⇒ = 𝑘(𝑇 − 𝑇𝑚 )
𝑑𝑡 𝑑𝑡
where 𝑇: body temperature, 𝑇𝑚 : surrounding temperature,
𝑘: proportional constant
𝑑𝑃 𝑡 𝑑𝑃 𝑡
• Bacterial Population Model: ∝𝑃 𝑡 ⇒ =𝑟𝑃 𝑡
𝑑𝑡 𝑑𝑡
where 𝑟 is proportional constant which can be called as the
intrinsic rate of natural increase and 𝑃 0 = 2, 𝑃 10 = 4.
https://www.youtube.com/watch?v=gEwzDydciWc
𝑑2 𝑦 𝑡
• Free Falling Objects: = −𝑔, where 𝑔 is called the gravitational
𝑑𝑡 2
𝑑𝑦
constant and 𝑦 0 = ℎ, ቚ = 0.
𝑑𝑡 𝑡=0
• Spread of a Disease:
𝑑𝑃 𝑡 𝑑𝑃 𝑡
∝𝑃 𝑡 𝑄 𝑡 ⇒ = 𝑘𝑃 𝑡 𝑄 𝑡 = 𝑘𝑃(𝑛 + 1 − 𝑃)
𝑑𝑡 𝑑𝑡
where 𝑃(𝑡): infected population,
𝑄(𝑡): non-infected population, 𝑘: proportional constant,
𝑛 + 1: total population with one infected person so that
𝑃 + 𝑄 = 𝑛 + 1 and 𝑃 0 = 1.
https://thumbs.dreamstime.com/z/infected-person-coronavirus-
infection-epidemic-disease-spread-sickness-171599936.jpg
Lesson 01: Introduction to Differential
3
Equations
Differential Equations
Definitions and Terminology
Differential Equations: An equation containing the derivative of one or more unknown
function (or dependent variables), with respect to one or more independent variables. E.g.,
𝑑𝑦 Types of Differential equations
+ 5𝑦 = 𝑒 𝑥
𝑑𝑥
Ordinary Differential Equation (ODE):
𝑦′′ − 𝑦′ + 6𝑦 = 0 Differential equation containing only ordinary
derivatives of one or more unknown functions
3 with respect to a single independent variable.
𝑦 ′ 𝑦 ′′′ − 𝑦 ′2 = 0
2 Here prime (′) denotes differentiation with
respect to 𝑥.
𝑑𝑥 𝑑𝑦
+ = 2𝑥 + 𝑦
𝑑𝑡 𝑑𝑡
𝜕2𝑢 2
𝜕2𝑢 𝜕2𝑢
=𝑐 + Partial Differential Equation (PDE):
𝜕𝑡 2 𝜕𝑥 2 𝜕𝑦 2
Differential equation involving partial
derivatives of one or more unknown functions
𝜕2𝑢 𝜕2𝑢 of two or more independent variables.
+ =0
𝜕𝑥 2 𝜕𝑦 2
Lesson 01: Introduction to Differential
4
Equations
Ordinary Differential Equations
Classifications of ODE
• By Order: The order of an ODE is the order of the highest derivative in the equation.
For example,
𝑑𝑦
+ 2𝑦 = 5 (First order)
𝑑𝑥
𝑦 − 𝑥 𝑑𝑥 + 4𝑥 𝑑𝑦 = 0 (First order)
𝑑2 𝑦 𝑑𝑦
+ 5 𝑑𝑥 + 6𝑦 = 0 (Second order)
𝑑𝑥 2
𝑑2 𝑦 𝑑𝑦 3
𝑑𝑥 2
+5 𝑑𝑥
+ 6𝑦 = 0 (Second order)
3
𝑦 ′ 𝑦 ′′′ − 2 𝑦 ′2 = 0 (Third order)
𝐹 𝑥, 𝑦, 𝑦 ′ , 𝑦 ′′ , … , 𝑦 𝑛 =0 (𝑛-th order)
1 𝑑𝑦
Example. 𝑦 = 16 𝑥 4 is a solution of the ODE: − 𝑥 𝑦 = 0 on the interval (−∞, ∞).
𝑑𝑥
𝑑𝑦
Example. 𝑦 = 𝑐/𝑥 is a solution of the ODE: 𝑥 𝑑𝑥 = −𝑦 on the interval −∞, 0 or (0, ∞).
𝑦 = sin 𝑥 + 4
𝑑𝑦
Example. Solve 𝑑𝑥 = 𝑦 subject to the condition 𝒚 𝟎 = 𝟑.
Solution. The ODE is given by,
𝑑𝑦 1 1
= 𝑦 ⇒ 𝑑𝑦 = 𝑑𝑥 ⇒ න 𝑑𝑦 = න 𝑑𝑥 ⇒ ln 𝑦 = 𝑥 + ln 𝑐 ⇒ 𝑦(𝑥) = 𝑐𝑒 𝑥
𝑑𝑥 𝑦 𝑦
Since, 𝑦 0 = 3 ⇒ 𝑐𝑒 0 = 3 ⇒ c = 3
Thus, the solution of the given IVP becomes, 𝒚 = 𝟑𝒆𝒙 .
𝑑𝑦
Example. Solve 𝑑𝑥 = 𝑦 subject to the condition 𝒚 𝟏 = −𝟐.
Solution. From the previous solution, 𝑦(𝑥) = 𝑐𝑒 𝑥
Since, 𝑦 1 = −2 ⇒ 𝑐𝑒 1 = −2 ⇒ c = −2e−1
Thus, the solution of the given IVP becomes, 𝒚 = −𝟐𝒆𝒙−𝟏.
Lesson 01: Introduction to Differential
9
Equations
𝒚 = −𝟐𝒆𝒙−𝟏
Ordinary Differential Equations
H.W. from the text book
Exercises 1.1
Determine the order and the linearity of the Verify that the indicated function is an explicit solution of the
following ODE. given differential equation. Assume an appropriate interval I
of definition for each solution.