Slide 2
Slide 2
M. F. Emzir
2025-09-21
KFUPM, Dhahran, K.S.A.
Outline
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Vector Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3. Basic Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4. Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5. Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6. Differentiability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7. Lipschitz Continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8. Solution of Differential Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
9. References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
● This will be based on Chapter 2 of (Marquez 2003), and Chapter 3 of (Khalil 2002).
● For you that have not studied these topics before, I strongly recommend you to read
through these chapters in details.
● Even better, if you spend some time to study (Rudin 1976). You will find many concepts
in this lecture explained in more details.
Metric spaces generalize the concept of distance from real and complex analysis.
Standard notation is defined for sets of real numbers (ℝ), complex numbers (ℂ), integers
(ℤ), and matrices (ℝ𝑚×𝑛 ).
Property (3) is the triangle inequality. The non-negativity of the metric, 𝑑(𝑥, 𝑦) ≥ 0, can be
derived from the other properties (How?)
A vector space (or linear space) adds algebraic structure to a set by defining addition of
elements and multiplication by scalars from a field 𝔽 (typically ℝ or ℂ).
The essential feature of the definition is that the set 𝑋 is closed under +𝑣 , ⋅𝑠 .
Example 2.2.1: Example of real vector spaces:
1. ℝ𝑛 ,
2. 𝑃𝑛 be the set of all univariate polynomials of degree at most 𝑛 ∈ ℕ with real
coefficients.
3. 𝒞([0, 1]): the space of continuous function on interval [0, 1]
∑ 𝑎𝑖 𝑥𝑖 = 0
𝑖
On the other hand, if ∑𝑖 𝑎𝑖 𝑥𝑖 = 0 implies that 𝑎𝑖 = 0 for each 𝑖, the set {𝑥𝑖 } is said
to be linearly independent.
Vector spaces provide algebraic structure but lack a notion of distance. A norm is
introduced to a vector space to define this distance, creating a normed vector space.
Notice that the non-negativity of the norm, ‖𝑥‖ ≥ 0, can be derived from the other
properties. This shows that every normed vector space is also a metric space with the
distance defined by 𝑑(𝑥, 𝑦) = ‖𝑥 − 𝑦‖.
‖𝑥‖𝑝 = (∑|𝑥𝑖 |𝑝 )
𝑖=1
A few elements of basic topology will be needed. Let 𝑋 be a metric space. We say that:
1. An open ball with center 𝑝 ∈ 𝑋 and radius 𝑟 > 0 is the set 𝐵𝑟 (𝑝) = {𝑞 ∈ 𝑋 : 𝑑(𝑝, 𝑞) <
𝑟}.
2. A point 𝑝 is an interior point of a set 𝐴 ⊂ 𝑋 if there exists 𝐵𝑟 (𝑝) such that 𝐵𝑟 (𝑝) ⊂ 𝐴.
3. An open set is a set where all points are interior points.
4. A neighborhood of a point 𝑝 ∈ 𝑋 is an open set 𝑁𝑟 (𝑝) ⊂ 𝑋 containing 𝑝.
5. Let 𝐴 ⊂ 𝑋 and consider a point 𝑝 ∈ 𝑋. Then 𝑝 is said to be a limit point of 𝐴 if every
neighborhood of 𝑝 contains a point 𝑞 ≠ 𝑝 such that 𝑞 ∈ 𝐴. Note that 𝑝 itself need not
be in the set 𝐴.
6. The complement of 𝐴 ⊂ 𝑋 is the set 𝐴𝑐 = {𝑝 ∈ 𝑋 : 𝑝 ∉ 𝐴}.
7. A set 𝐴 ⊂ 𝑋 is said to be closed if it its complement 𝐴𝑐 is open. Equivalently, 𝐴 is
closed if and only if itcontains all of its limit points.
8. A set 𝐴 ⊂ 𝑋 is bounded if there exist a real number 𝑏 and a point 𝑞 ∈ 𝐴 such that
𝑑(𝑝, 𝑞) < 𝑏 for all 𝑝 ∈ 𝐴.
KFUPM, Dhahran, K.S.A. 16 / 59
3.1 Basic Topology in ℝ𝑛
The limit of a convergent sequence must be an element of the space. If a sequence {𝑥𝑛 }
has a limit 𝑥′ such that 𝑥′ ∉ 𝑋, then {𝑥𝑛 } is not convergent in (𝑋, 𝑑).
Example 4.1: Consider the sequence of rational numbers {𝑥𝑛 } = {1, 1.4, 1.41, …} that
√
approaches 2.
√
1. In the space of real numbers ℝ, the sequence converges because its limit, 2, is in ℝ.
2. In the space of rational numbers ℚ, the same sequence does not converge because its
√
limit, 2, is not in ℚ.
KFUPM, Dhahran, K.S.A. 19 / 59
4. Sequences
Every convergent sequence is a Cauchy sequence. The converse is not always true, as a
Cauchy sequence may not converge to a point within the space.
Example 4.2: In the space 𝑋 = (0, 1] with the metric 𝑑(𝑥, 𝑦) = |𝑥 − 𝑦|, the sequence
{𝑥𝑛 } = { 𝑛1 } is a Cauchy sequence. However, it is not convergent in 𝑋 because its limit,
lim𝑛→∞ 𝑛1 = 0, is not in 𝑋.
An important class of metric spaces are the so-called complete metric spaces.
Definition 15 A metric space (𝑋, 𝑑) is called complete if and only if every Cauchy
sequence converges (to a point of 𝑋). In other words, (𝑋, 𝑑) is a complete metric
space if for every sequence {𝑥𝑛 } satisfying 𝑑(𝑥𝑛 , 𝑥𝑚 ) < 𝜀 for 𝑛, 𝑚 > 𝑁 there exists
𝑥 ∈ 𝑋 such that 𝑑(𝑥𝑛 , 𝑥) → 0 as 𝑛 → ∞.
Note
Incomplete spaces contain Cauchy sequences that do not converge to a point within the
space. In a complete space, by contrast, every Cauchy sequence converges. This
property is powerful because it allows one to prove the convergence of a sequence by
verifying it is a Cauchy sequence, without needing to know its limit in advance. The set
of real numbers ℝ with the metric 𝑑(𝑥, 𝑦) = |𝑥 − 𝑦| is a fundamental example of a
complete metric space.
KFUPM, Dhahran, K.S.A. 21 / 59
5. Functions
5. Functions
Remark
The key difference is that for continuity, 𝛿 depends on both 𝜀 and the point 𝑥0 , whereas
for uniform continuity, 𝛿 depends only on 𝜀. Uniform continuity is therefore a stronger
condition that implies continuity. The converse is not generally true; for example,
𝑓(𝑥) = 𝑥1 is continuous on (0, ∞) but not uniformly continuous. However, on a compact
set, a function is uniformly continuous if and only if it is continuous.
Example 5.1:
1. Uniformly Continuous: The function 𝑓(𝑥) = 2𝑥 is uniformly continuous on ℝ. For any
𝜀 > 0, we can choose 𝛿 = 2𝜀 . Then, if |𝑥 − 𝑦| < 𝛿, we have |𝑓(𝑥) − 𝑓(𝑦)| = |2𝑥 −
2𝑦| = 2|𝑥 − 𝑦| < 2𝛿 = 𝜀. Since 𝛿 depends only on 𝜀, the function is uniformly
continuous.
2. Continuous but Not Uniformly Continuous: The function 𝑓(𝑥) = 𝑥2 is continuous on ℝ
but not uniformly continuous. Let 𝑦 = 𝑥 + 2𝛿 . Then |𝑥 − 𝑦| = 2𝛿 < 𝛿. The condition on
2
the function values becomes |𝑥2 − (𝑥 + 2𝛿 ) | = | − 𝑥𝛿 − 𝛿4 | = 𝛿 |𝑥 + 4𝛿 |. Hence it
2
● This norm is induced by the vector 𝑝-norm. Common cases for 𝑝 = 1, 2, ∞ are:
1. 1-norm (max absolute column sum):
𝑚
‖𝐴‖1 = max ∑|𝑎𝑖𝑗 |
1≤𝑗≤𝑛
𝑖=1
2.
2-norm (spectral norm):
Remark
Example. Consider the function 𝑓(𝑥) = 𝑥2 on ℝ. By the Mean-Value Theorem, for any
𝑥, 𝑦 ∈ ℝ, there exists a point 𝑐 between 𝑥 and 𝑦 such that
𝑓(𝑥) − 𝑓(𝑦) = 𝑓 ′ (𝑐)(𝑥 − 𝑦) = 2𝑐(𝑥 − 𝑦)
To show that 𝑓 is not uniformly continuous, we must show that for some 𝜀 > 0, no single
𝛿 > 0 works for all 𝑥, 𝑦. Let 𝜀 = 1. For any 𝛿 > 0, choose 𝑥 = 1𝛿 and 𝑦 = 𝑥 + 2𝛿 . Then |𝑥 −
𝑦| = 2𝛿 < 𝛿. The point 𝑐 is in (𝑥, 𝑦), so 𝑐 > 𝑥 = 1𝛿 . Then,
KFUPM, Dhahran, K.S.A. 33 / 59
6. Differentiability
1 𝛿
|𝑓(𝑥) − 𝑓(𝑦)| = |(2𝑐)(𝑥 − 𝑦)| = |2𝑐| |𝑥 − 𝑦| > |2𝑥| |𝑥 − 𝑦| = 2( )( ) = 1 = 𝜀
𝛿 2
Since for any 𝛿 > 0 we can find a pair (𝑥, 𝑦) such that |𝑥 − 𝑦| < 𝛿 but |𝑓(𝑥) − 𝑓(𝑦)| ≥ 𝜀,
the function is not uniformly continuous on ℝ.
∇𝑓 −1 (𝑦) = [∇𝑓(𝑥)]−1
Note
Proof. Consider 𝑥0 ∈ 𝐷 and let 𝑟 > 0 be small enough to ensure that the closed ball
𝐵̄ 𝑟(𝑥0 ) = {𝑥 ∈ 𝐷 : ‖𝑥 − 𝑥0 ‖ ≤ 𝑟} is contained in 𝐷. Consider two arbitrary points 𝑥1 , 𝑥2 ∈
𝐵̄ 𝑟(𝑥0 ) . Since the closed ball is a convex set, the line segment 𝛾(𝜃) = 𝜃𝑥1 + (1 − 𝜃)𝑥2 , for
𝜃 ∈ [0, 1], is contained in 𝐵̄ 𝑟(𝑥0 ) .
Now define the function 𝜑 : [0, 1] → ℝ𝑚 as 𝜑(𝜃) = 𝑓(𝛾(𝜃)). By the Mean-Value Theorem,
there exists a point 𝑐 on the line segment joining 𝑥1 and 𝑥2 such that
‖𝑓(𝑥1 ) − 𝑓(𝑥2 )‖ ≤ ‖∇𝑓(𝑐)(𝑥1 − 𝑥2 )‖
−𝑥1 + 𝑥1 𝑥2
𝑓(𝑥) = [ ].
𝑥2 − 𝑥1 𝑥2
−1 + 𝑥2 𝑥1
∇𝑓 = [ ]
−𝑥2 1 − 𝑥1
Using ‖ ⋅ ‖∞ for vectors in ℝ2 and the induced matrix norm for matrices, we have
‖ ∇𝑓 ‖∞ = max{| − 1 + 𝑥2 | + |𝑥1 |, |𝑥2 | + |1 − 𝑥1 |}
and
KFUPM, Dhahran, K.S.A. 42 / 59
7. Lipschitz Continuity
Hence,
‖ ∇𝑓 ‖∞ ≤ 1 + 𝑎1 + 𝑎2
𝑥2
𝑓(𝑥) = [ ]
−sat(𝑥1 + 𝑥2 )
𝑢, if |𝑢| ≤ 1
sat(𝑢) = {
sgn(𝑢), if |𝑢| > 1
we obtain
⊤ 2
𝑎 1 1 𝑎 1 1 𝑎
𝑎2 + 2𝑎𝑏 + 2𝑏2 = [ ] [ ][ ] ≤ 𝜆max ([ ])‖[ ]‖
𝑏 1 2 𝑏 1 2 𝑏
2
√
1 1
where 𝜆max ([1 2]) = 2≈ 2.618. We conclude that
3+ 5
√
‖𝑓(𝑥) − 𝑓(𝑦)‖2 ≤ 2.618 ‖𝑥 − 𝑦‖2 , ∀𝑥, 𝑦 ∈ ℝ2
Here we have used a property of positive semidefinite symmetric matrices; that is,
𝑧 ⊤ 𝑃 𝑧 ≤ 𝜆max (𝑃 )𝑧 ⊤ 𝑧, for all 𝑧 ∈ ℝ𝑛 , where 𝜆max (⋅) is the maximum eigenvalue of the
matrix. A more conservative (larger) Lipschitz constant will be obtained if we use the more
conservative inequality
.
● In contrast, nonlinear differential equations generally lack closed-form solutions.
● For nonlinear systems, two primary concerns are the existence and uniqueness of
[Link] section focuses on deriving sufficient conditions for the existence and
uniqueness of the solution to the initial value problem:
𝑥̇ = 𝑓(𝑥, 𝑡), 𝑥(𝑡0 ) = 𝑥0 (4)
KFUPM, Dhahran, K.S.A. 47 / 59
8.1 Contraction Mapping
Proof.
● The proof uses Theorem 31 to show the existence and uniqueness of a solution.
● Step 1: Reformulate the problem.
1.
The ODE 𝑥̇ = 𝑓(𝑥, 𝑡) with 𝑥(𝑡0 ) = 𝑥0 is equivalent to the integral equation:
2. Let 𝑋 = 𝒞([𝑡0 , 𝑡0 + 𝛿]) be the space of continuous functions on [𝑡0 , 𝑡0 + 𝛿] with the
sup norm ‖𝑥‖𝑐 = sup𝑡∈[𝑡0 ,𝑡0 +𝛿] ‖𝑥(𝑡)‖. This is a complete metric space. Now define
the operator 𝐹 : 𝑋 → 𝑋, 𝑦 ↦ 𝐹 (𝑦) as
𝑡
(𝐹 (𝑦))(𝑡) = 𝑥0 + ∫ 𝑓(𝑦(𝜏 ), 𝜏 )𝑑𝜏
𝑡0
3. Using the triangle inequality and Lipschitz condition: ‖𝑓(𝑧(𝑡), 𝑡)‖ ≤ ‖𝑓(𝑧(𝑡), 𝑡) −
𝑓(𝑥0 , 𝑡)‖ + ‖𝑓(𝑥0 , 𝑡)‖ ≤ 𝐿‖𝑧(𝑡) − 𝑥0 ‖ + 𝑀 where 𝑀 is a bound on ‖𝑓(𝑥0 , 𝑡)‖.
4. Hence:
𝑡
‖𝐹 (𝑧) − 𝑥0 𝟙‖𝑐 ≤ sup ∫ (𝐿‖𝑧(𝜏 ) − 𝑥0 ‖ + 𝑀 )𝑑𝜏
{𝑡∈[𝑡0 ,𝑡0 +𝛿]} 𝑡0
𝑡
≤ sup ∫ (𝐿𝑟 + 𝑀 )𝑑𝜏
{𝑡∈[𝑡0 ,𝑡0 +𝛿]} 𝑡0
= 𝛿(𝐿𝑟 + 𝑀 )
5. To ensure ‖𝐹 (𝑧) − 𝑥0 𝟙‖𝑐 ≤ 𝑟, we need to choose 𝛿 such that 𝛿 ≤ 𝐿𝑟+𝑀 .
𝑟
Note
Theorem 32 provides a sufficient, not necessary, condition for the local existence and
uniqueness of the solution to (4). Theorem 33 offers a stronger, more conservative
condition for global existence and uniqueness.
for all 𝑥1 , 𝑥2 ∈ ℝ𝑛 and for all 𝑡 ∈ [𝑡0 , 𝑡1 ]. Then, (4) has a unique solution in [𝑡0 , 𝑡1 ].
Remark
This theorem is often too conservative to be of practical use. The main condition is the
existence of a global Lipschitz constant, which is very restrictive. The local Lipschitz
condition of Theorem 32, on the other hand, is not very restrictive and is satisfied by
any function 𝑓(𝑥, 𝑡) satisfying mild smoothness conditions.
Example 8.3.1 (Example 3.3 K): Consider the scalar system 𝑥̇ = −𝑥2 , with 𝑥(0) = −1.
The function 𝑓(𝑥) = −𝑥2 is locally Lipschitz for all 𝑥 ∈ ℝ. Hence, it is Lipschitz on any
compact subset of ℝ. The unique solution 𝑥(𝑡) = 𝑡−1 1
exists over [0, 1). As 𝑡 → 1, 𝑥(𝑡)
leaves any compact set.
Note
“Finite escape time” describes a solution reaching infinity in finite time, as in Example
8.3.1. To guarantee a solution can be extended indefinitely, it must remain in a set
where 𝑓(𝑥, 𝑡) is uniformly Lipschitz. Theorem 33 uses a global Lipschitz condition to
establish the existence of a unique solution over an arbitrarily large interval [𝑡0 , 𝑡1 ].
where 𝐴(𝑡) and 𝑔(𝑡) are piecewise continuous functions of 𝑡. Over any [𝑡0 , 𝑡1 ], the
elements of 𝐴(𝑡) are bounded. Hence, ‖𝐴(𝑡)‖ ≤ 𝑎, where ‖ ⋅ ‖ is any induced matrix
norm. The conditions of Theorem 33 are satisfied since (why?)
for all 𝑥, 𝑦 ∈ ℝ𝑛 and 𝑡 ∈ [𝑡0 , 𝑡1 ]. Therefore, Theorem 33 shows that (6) has a unique
solution over [𝑡0 , 𝑡1 ]. But 𝑡1 can be arbitrarily large, we can also conclude that if 𝐴(𝑡) and
𝑔(𝑡) are piecewise continuous for all 𝑡 ≥ 𝑡0 , then the system has a unique solution for all
𝑡 ≥ 𝑡0 . Hence, the system cannot have a finite escape time.