Lec 01 ODE PDF
Lec 01 ODE PDF
(Introduction to DEs)
(First-order DEs)
′
−𝒕
𝒚 =
𝟒𝒚
Definition (Initial Value Problem, IVP)
A 1st order DE with an initial condition of the form
𝒚′ = 𝒇 𝒕, 𝒚 , 𝒚 𝒕𝟎 = 𝒚𝟎 .
is called an IVP. A solution of the IVP is a differentiable
function 𝒚 𝒕 that satisfies both the above DE and the IC.
−𝒕𝟐
Example verify that 𝒚 𝒕 = 𝑪𝒆 is a general solution to the DE
𝟏
𝒚′ = −𝟐𝒕𝒚. Give a particular solution if 𝒚 𝟎 = .
𝟐
𝒅𝒚
=𝒉 𝒚 𝒈 𝒙
𝒅𝒙
𝒅𝒚
= 𝒈 𝒙 𝒅𝒙
𝒉 𝒚
Example
𝟏
Solve 𝒚′ =𝟏+
𝒚𝟐
𝒚 − tan−𝟏 𝒚 = 𝒙 + 𝑪
Example
Solve 𝟏 + 𝒙 𝒅𝒚 − 𝒚𝒅𝒙 = 𝟎
𝒚 = 𝑪(𝟏 + 𝒙)
Example Solve the IVP
𝒙
𝒆
𝒚′ = , 𝒚 𝟎 = 𝟏, 𝒚 𝟎 = −𝟒
𝟏+𝒚
𝒚𝟐 + 𝟐𝒚 − 𝟐 𝑪 + 𝒆𝒙 = 𝟎,
𝟏
For: 𝒚 𝟎 = 𝟏 → 𝑪 = ,
𝟐
For: 𝒚 𝟎 = −𝟒 → 𝑪 = 𝟑
𝒙𝟑
𝒚 = tan 𝒙 + + 𝝅/𝟒
𝟑
Example Solve 𝒚𝒚′ = 𝟐𝒙 + 𝒆𝟐𝒙 𝒚𝟐 = 𝟐𝒙𝟐 + 𝒆𝟐𝒙 + 𝑪
𝟏
Example Solve 𝒚′ = sec 𝒚 = tan 𝒙 + 𝑪
cos𝟐 𝒙 sec 𝒚 tan 𝒚
𝒚𝒆𝒙
Example Solve the IVP 𝒚′ = 𝒙 𝟐 𝒙 ,𝒚 𝟎 =𝟏
𝒆 +𝒚 𝒆
Example Solve the IVP 𝒚′ = 𝟐 𝒚 + 𝟏 cos 𝑥 , 𝒚 𝝅 = 𝟑
Example Suppose that a radioactive substance
decays according to the model 𝑵′ = −𝜆𝑵(𝒕) ,
𝑵 𝟎 = 𝑵𝟎 .
𝒍𝒏(𝟐)
Show that the half-life time is given by 𝑻𝟏 𝟐 =
( is the decay constant).
𝑵 𝒕 = 𝑵𝟎 𝑒 −𝑡
𝒍𝒏(𝟐)
𝒕 = 𝑻𝟏 𝟐 =
Interval of Existence
It is the largest interval over which the solution of a DE is
defined. The interval should contain a differentiable (hence
continuous) solution.
Example
Find the interval of existence of the solution to the IVP:
𝒚′ = 𝒚𝟐 , 𝒚 𝟎 =𝟏
Solution
−𝟏
𝒚 𝒕 = , 𝒕 ∈ (−∞, 𝟏)
𝒕−𝟏
Example Find the interval of existence of the solution
to the IVP:
𝟐𝒕 𝟏+𝒚𝟐
𝒚′ = − , 𝒚 𝟎 = 𝟏.
𝒚
𝟐
𝟏+ 𝒚𝟐 = 𝟐𝒆 −𝟐𝒕
𝟐
𝒚 𝒕 = 𝟐𝒆−𝟐𝒕 − 𝟏, 𝒕 < 𝒍𝒏( 𝟐)
Direction Field
The direction field is the geometric interpretation of a
differential equation. However, the direction field view also
gives us a new interpretation of a solution.
Example
Find the interval of existence of the solution to the IVP:
𝒚′ = 𝒚, 𝒚 𝟎 =𝟏
Solution
𝒚 𝒕 = 𝒆𝒕 , 𝒕 ∈ (𝟎, ∞)
The solution curve is tangent to
the direction field at each point
(t, y) on the solution curve.
Rigorous Framework for Separable ODE
Let 𝒚′ = 𝒈 𝒙 /𝒉 𝒚
then 𝒉 𝒚 𝒚′ = 𝒈 𝒙
If 𝒚 = 𝝓 𝒙 is a solution to the DE, then it becomes
𝒉 𝝓(𝒙) 𝝓′ 𝒙 = 𝒈 𝒙
Integrating both sides w.r.t. 𝒙
𝒉 𝝓(𝒙) 𝝓′ 𝒙 𝒅𝒙 = 𝒈 𝒙 𝒅𝒙