ELEC3846 Week 1 Lecture 2 (2024)
ELEC3846 Week 1 Lecture 2 (2024)
𝜕𝜕𝜕𝜕
𝑓𝑓 𝑥𝑥, 𝑦𝑦1 − 𝑓𝑓 𝑥𝑥, 𝑦𝑦2 = � 𝑦𝑦1 − 𝑦𝑦2
𝜕𝜕𝜕𝜕 𝑦𝑦=𝜀𝜀
Lipschitz Condition and Unique Solution
Suppose that
𝐷𝐷 = 𝑥𝑥, 𝑦𝑦 |𝑎𝑎 ≤ 𝑥𝑥 ≤ 𝑏𝑏, −∞ < 𝑦𝑦 < ∞
𝑑𝑑𝑑𝑑 𝑥𝑥
= 𝑓𝑓 𝑥𝑥, 𝑦𝑦 𝑥𝑥 , 𝑎𝑎 ≤ 𝑥𝑥 ≤ 𝑏𝑏, 𝑦𝑦 𝑎𝑎 = 𝛼𝛼
𝑑𝑑𝑑𝑑
Solution:
Example 1
Solution:
For each point pair (𝑥𝑥, 𝑦𝑦1 ) and (𝑥𝑥, 𝑦𝑦1 ) in
Quiz
Determine Lipschitz constants for the function
Quiz
Solution:
• If there are more than one solution, we don’t know which solution the numerical
method will lead us towards.)
• If the problem is not well-posed, a small error in the system can lead to a very
different result. The final result will be very unstable.)
Well-posed differential equation
The differential equation is well-posed if
• a solution exists (existence)
• the solution is unique (uniqueness)
• the solution depends on continuously on the initial condition / boundary
condition. Or there are positive constants 𝜀𝜀 and 𝜅𝜅 that a unique solution z(x)
exists to the following ODE. (stability)
𝑑𝑑𝑑𝑑 𝑥𝑥 𝑑𝑑𝑑𝑑 𝑥𝑥
= 𝑓𝑓 𝑥𝑥, 𝑦𝑦 𝑥𝑥 = 𝑓𝑓 𝑥𝑥, 𝑧𝑧 𝑥𝑥 + 𝛿𝛿 𝑥𝑥
𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑
𝑧𝑧 𝑥𝑥 − 𝑦𝑦 𝑥𝑥 ≤ 𝜅𝜅𝜅𝜅 whenever 𝛿𝛿 𝑥𝑥 ≤ 𝜀𝜀
Basically, it’s saying that if the differential equation is well-posed, then the
approximated solution is accurate when 𝛿𝛿 𝑥𝑥 and 𝜀𝜀 are small.
Example 1
Consider a rocket is launching up and going straight up into
the sky.
Without wind: altitude of rocket is 𝑦𝑦 𝑥𝑥 and the vertical
speed is given by. (Here 𝒙𝒙 denotes time!)
𝑑𝑑𝑑𝑑 𝑥𝑥
= 𝑓𝑓 𝑥𝑥, 𝑦𝑦 𝑥𝑥
𝑑𝑑𝑑𝑑
With wind: altitude of rocket is 𝑧𝑧 𝑥𝑥 and the vertical speed
is given by.
𝑑𝑑𝑑𝑑 𝑥𝑥
= 𝑓𝑓 𝑥𝑥, 𝑧𝑧 𝑥𝑥 + 𝛿𝛿 𝑥𝑥
𝑑𝑑𝑑𝑑
Example 1
𝑧𝑧 𝑡𝑡 − 𝑦𝑦 𝑡𝑡 ≤ 𝜅𝜅𝜅𝜅 whenever 𝛿𝛿 𝑡𝑡 ≤ 𝜀𝜀
Will it be good to say: If 𝑓𝑓 is Lipschitz, then the initial value problem is well-
posed?
Lipschitz condition and well-posed problem
Rewrite the problem as
𝑦𝑦 ′ = 𝑓𝑓 𝑥𝑥, 𝑦𝑦
𝑧𝑧 ′ = 𝑓𝑓 𝑥𝑥, 𝑧𝑧 + 𝛿𝛿 𝑥𝑥
Solution:
Let’s find the Lipschitz constant w. r. t. y.
Well-posed!
Example 2
Determine if the following initial-value problem is well-posed.
Solution:
Solution:
Well-posed!
Example 4
Determine if the following initial-value problem is well-posed.
Solution:
Well-posed! 2
𝑦𝑦 𝑡𝑡 = 𝑡𝑡 + 1 − 0.5𝑒𝑒 𝑡𝑡