Professional Documents
Culture Documents
1 TCB
1 TCB
kxk2 ≥ 0
kαxk2 = |α|kxk2
kxk2 = 0 ⇐⇒ x = 0
kx + yk2 ≤ kxk2 + kyk2
(kx − yk2 ≤ kxk2 + kyk2 )
|xT y| ≤ kxk2 kyk2 . (Schwarz inequality).
In turn, the Euclidean norm induces the well-known Euclidean distance between the
points x ∈ Rn and y ∈ Rn :
d(x, y) = kx − yk2
and the following properties can be deduced from the above ones:
d(x, y) ≥ 0
d(x, y) = 0 ⇐⇒ x = y
d(x, y) ≤ d(x, z) + d(z, x).
6 Topology and calculus background (11/11/2015)
1.1 Sequences
A family of points {xk }k∈N ⊆ Rn (i.e., {x1 , x2 , . . . , xk , . . . }) is called a sequence. For
instance, the family of points xk = (1/k, 1/k 2 ) is a sequence in R2 .
Definition 1.1. x̄ ∈ Rn is the limit of a sequence {xk }k∈N if for each ε > 0 there
exists k̄ ∈ N such that d(xk , x̄) ≤ ε for all k ≥ k̄, or equivalently
If it exists, the limit of a sequence is unique. Standard notations to denote a limit are
the following: lim xk = x̄, xk −→ x̄ (k → +∞ below the arrow is often omitted).
k→+∞
Example 1.1. The limit of the sequence (1/k, 1/k 2 ) is x̄ = (0, 0), while the sequence
xk = (1/k, (−1)k ) does not have a limit. Take the sequence obtained just considering
odd indices: x1 , x3 , x5 , . . . This sequence converges to (0, −1). Analogously, the
sequence obtained considering just even indices converges to (0, 1).
Definition 1.2. {xkj }j∈N ⊆ {xk }k∈N is a subsequence if kj → +∞ as j → +∞.
Definition 1.3. x̄ ∈ Rn is a cluster point of {xk }k∈N if there exists a subsequence
{xkj }j∈N such that x̄ is its limit, i.e., lim xkj = x̄, or equivalently
j→+∞
If a sequence has a limit, then it is the unique cluster point of the sequence.
Example 1.2. The last sequence of Example 1.1 has 2 cluster points: (0, 1) and
(0, −1), while the sequence y k = (k, 1/k) does not have any cluster point.
Theorem 1.1. (Bolzano-Weierstrass) If the norm of all the points of a se-
quence {xk }k∈N do not exceed a threshold value, i.e., there exists M > 0 such that
kxk k2 ≤ M holds for all k ∈ N, then the sequence has at least one cluster point.
Definition 1.4.
(i) D ⊆ Rn is called open if
The set of the interior points of D is called the interior of D and it is generally
denoted by int D. Notice that a set D is open if and only if D = int D.
Example 1.3. B(x, ε), Rn , ∅ are open sets in Rn while the interval ] − 1, 1[ is an
open set in R.
Proposition 1.1.
Definition 1.5.
The set of the closure points of D is called the closure of D and it is generally
denoted by cl D or D.
Proposition 1.2.
(ii) D is closed if and only if the limit of any convergent sequence contained in D
belongs to D as well, i.e.,
In fact, (−1 − ε, 0) ∈
/ D but (−1 − ε, 0) ∈ B((−1, 0), ε) for any ε > 0 so that D is
not open, and xk = (1 − 1/k, 0) ∈ D for any k ∈ N while xk → (1, 0) ∈/ D so that D
is not closed.
Proposition 1.3.
{x̄ + td : t ∈ R}
∂f ∂f
(x) = πx2 cos(πx1 x2 ), (x̄) = πx1 cos(πx1 x2 ).
∂x1 ∂x2
Other directional derivatives can be defined just considering the limit of the
incremental ratio as t → 0+ , that is t → 0 for only positive t (t > 0).
Clearly, f 0 (x̄; d) = ∂f (x̄)/∂d if the latter exists but this is not always the case.
where sgn(t) denotes the sign of t (sgn(t) = 1 if t ≥ 0 and sgn(t) = −1 if t < 0).
Therefore, f 0 (x̄; d) = kvk2 = 1 while ∂f (x̄)/∂d does not exist.
Therefore, f is not continuous at x̄ = (0, 0): take the sequence xk = (1/k, 1/k 2 ) to
get xk → x̄ while f (xk ) ≡ 1/4. On the other hand, f has the directional derivative
at x̄ in each direction d:
∂f
(x̄) = lim [t3 d21 d2 /t2 (t2 d41 + d22 )]2 /t = lim td41 d22 /((t2 d41 + d22 )2 = 0.
∂d t→0 t→0
Partial derivatives and differentiability (11/11/2015) 11
Theorem 1.4. Let x̄ ∈ Rn and suppose f has all the partial derivatives at each
x ∈ B(x̄, ε) for some ε > 0. Then, if the functions x 7→ ∂f (x)/∂xi are continuous
at x̄ for all i = 1, ..., n, then f is differentiable at x̄.
Example 1.10. Take n = 2 and
2
x1 x2 /(x21 + x22 ) if (x1 , x2 ) 6= (0, 0)
f (x1 , x2 ) =
0 if (x1 , x2 ) = (0, 0)
and consider x̄ = (0, 0): f is continuous but not differentiable at x̄. In fact, the
derivative of f at x̄ in the direction d is
∂f
(x̄) = lim [t3 d21 d2 /t2 (d21 + d22 )]/t = d21 d2
∂d t→0
that is
1 T 1
q(x) = xT ∇2 f (x̄)x + ∇f (x̄) − ∇2 f (x̄)x̄ x + f (x̄) − ∇f (x̄)T x̄ + x̄T ∇2 f (x̄)x̄ .
2 2
Example 1.12. Take n = 2 and f (x1 , x2 ) = −x41 − x22 :
−4x31 −12x21
2 0
∇f (x) = , ∇ f (x) = .
−2x2 0 −2