SlideShare a Scribd company logo
Math Camp 1: Functional analysis
About the primer
Goal To briefly review concepts in functional analysis that
will be used throughout the course.∗ The following
concepts will be described
1. Function spaces
2. Metric spaces
3. Dense subsets
4. Linear spaces
5. Linear functionals
∗The definitions and concepts come primarily from “Introductory Real
Analysis” by Kolmogorov and Fomin (highly recommended).
6. Norms and semi-norms of linear spaces
7. Euclidean spaces
8. Orthogonality and bases
9. Separable spaces
10. Complete metric spaces
11. Hilbert spaces
12. Riesz representation theorem
13. Convex functions
14. Lagrange multipliers
Function space
A function space is a space made of functions. Each
function in the space can be thought of as a point. Ex-
amples:
1. C[a, b], the set of all real-valued continuous functions
in the interval [a, b];
2. L1[a, b], the set of all real-valued functions whose ab-
solute value is integrable in the interval [a, b];
3. L2[a, b], the set of all real-valued functions square inte-
grable in the interval [a, b]
Note that the functions in 2 and 3 are not necessarily
continuous!
Metric space
By a metric space is meant a pair (X, ρ) consisting of a
space X and a distance ρ, a single-valued, nonnegative,
real function ρ(x, y) defined for all x, y ∈ X which has the
following three properties:
1. ρ(x, y) = 0 iff x = y;
2. ρ(x, y) = ρ(y, x);
3. Triangle inequality: ρ(x, z) ≤ ρ(x, y) + ρ(y, z)
Examples
1. The set of all real numbers with distance
ρ(x, y) = |x − y|
is the metric space IR1.
2. The set of all ordered n-tuples
x = (x1, ..., xn)
of real numbers with distance
ρ(x, y) =
v
u
u
t
n
X
i=1
(xi − yi)2
is the metric space IRn.
3. The set of all functions satisfying the criteria
Z
f2(x)dx < ∞
with distance
ρ(f1(x), f2(x)) =
sZ
(f1(x) − f2(x))2dx
is the metric space L2(IR).
4. The set of all probability densities with Kullback-Leibler
divergence
ρ(p1(x), p2(x)) =
Z
ln
p1(x)
p2(x)
p1(x)dx
is not a metric space. The divergence is not symmetric
ρ(p1(x), p2(x)) 6= ρ(p2(x), p1(x)).
Dense
A point x ∈ IR is called a contact point of a set A ∈ IR if
every ball centered at x contains at least one point of A.
The set of all contact points of a set A denoted by Ā is
called the closure of A.
Let A and B be subspaces of a metric space IR. A is said
to be dense in B if B ⊂ Ā. In particular A is said to be
everywhere dense in IR if Ā = R.
Examples
1. The set of all rational points is dense in the real line.
2. The set of all polynomials with rational coefficients is
dense in C[a, b].
3. The RKHS induced by the gaussian kernel on [a, b] in
dense in L2[a, b]
Note: A hypothesis space that is dense in L2 is a desired
property of any approximation scheme.
Linear space
A set L of elements x, y, z, ... is a linear space if the fol-
lowing three axioms are satisfied:
1. Any two elements x, y ∈ L uniquely determine a third
element in x + y ∈ L called the sum of x and y such
that
(a) x + y = y + x (commutativity)
(b) (x + y) + z = x + (y + z) (associativity)
(c) An element 0 ∈ L exists for which x + 0 = x for all
x ∈ L
(d) For every x ∈ L there exists an element −x ∈ L
with the property x + (−x) = 0
2. Any number α and any element x ∈ L uniquely deter-
mine an element αx ∈ L called the product such that
(a) α(βx) = β(αx)
(b) 1x = x
3. Addition and multiplication follow two distributive laws
(a)(α + β)x = αx + βx
(b)α(x + y) = αx + αy
Linear functional
A functional, F, is a function that maps another function
to a real-value
F : f → IR.
A linear functional defined on a linear space L, satisfies the
following two properties
1. Additive: F(f + g) = F(f) + F(g) for all f, g ∈ L
2. Homogeneous: F(αf) = αF(f)
Examples
1. Let IRn be a real n-space with elements x = (x1, ..., xn),
and a = (a1, ..., an) be a fixed element in IRn. Then
F(x) =
n
X
i=1
aixi
is a linear functional
2. The integral
F[f(x)] =
Z b
a
f(x)p(x)dx
is a linear functional
3. Evaluation functional: another linear functional is the
Dirac delta function
δt[f(·)] = f(t).
Which can be written
δt[f(·)] =
Z b
a
f(x)δ(x − t)dx.
4. Evaluation functional: a positive definite kernel in a
RKHS
Ft[f(·)] = (Kt, f) = f(t).
This is simply the reproducing property of the RKHS.
Normed space
A normed space is a linear (vector) space N in which a
norm is defined. A nonnegative function k · k is a norm iff
∀f, g ∈ N and α ∈ IR
1. kfk ≥ 0 and kfk = 0 iff f = 0;
2. kf + gk ≤ kfk + kgk;
3. kαfk = |α| kfk.
Note, if all conditions are satisfied except kfk = 0 iff f = 0
then the space has a seminorm instead of a norm.
Measuring distances in a normed space
In a normed space N, the distance ρ between f and g, or
a metric, can be defined as
ρ(f, g) = kg − fk.
Note that ∀f, g, h ∈ N
1. ρ(f, g) = 0 iff f = g.
2. ρ(f, g) = ρ(g, f).
3. ρ(f, h) ≤ ρ(f, g) + ρ(g, h).
Example: continuous functions
A norm in C[a, b] can be established by defining
kfk = max
a≤t≤b
|f(t)|.
The distance between two functions is then measured as
ρ(f, g) = max
a≤t≤b
|g(t) − f(t)|.
With this metric, C[a, b] is denoted as C.
Examples (cont.)
A norm in L1[a, b] can be established by defining
kfk =
Z b
a
|f(t)|dt.
The distance between two functions is then measured as
ρ(f, g) =
Z b
a
|g(t) − f(t)|dt.
With this metric, L1[a, b] is denoted as L1.
Examples (cont.)
A norm in C2[a, b] and L2[a, b] can be established by defining
kfk =
Z b
a
f2
(t)dt
!1/2
.
The distance between two functions now becomes
ρ(f, g) =
Z b
a
(g(t) − f(t))2
dt
!1/2
.
With this metric, C2[a, b] and L2[a, b] are denoted as C2
and L2 respectively.
Euclidean space
A Euclidean space is a linear (vector) space E in which a
dot product is defined. A real valued function (·, ·) is a dot
product iff ∀f, g, h ∈ E and α ∈ IR
1. (f, g) = (g, f);
2. (f + g, h) = (f, h∗
) + (g, h) and (αf, g) = α(f, g);
3. (f, f) ≥ 0 and (f, f) = 0 iff f = 0.
A Euclidean space becomes a normed linear space when
equipped with the norm
kfk =
q
(f, f).
Orthogonal systems and bases
A set of nonzero vectors {xα} in a Euclidean space E is
said to be an orthogonal system if
(xα, xβ) = 0 for α 6= β
and an orthonormal system if
(xα, xβ) = 0 for α 6= β
(xα, xβ) = 1 for α = β.
An orthogonal system {xα} is called an orthogonal basis
if it is complete (the smallest closed subspace containing
{xα} is the whole space E). A complete orthonormal sys-
tem is called an orthonormal basis.
Examples
1. IRn is a real n-space, the set of n-tuples x = (x1, ..., xn),
y = (y1, ..., yn). If we define the dot product as
(x, y) =
n
X
i=1
xiyi
we get Euclidean n-space. The corresponding norms
and distances in IRn are
kxk =
v
u
u
t
n
X
i=1
x2
i
ρ(x, y) = kx − yk =
v
u
u
t
n
X
i=1
(xi − yi)2.
The vectors
e1 = (1, 0, 0, ...., 0)
e2 = (0, 1, 0, ...., 0)
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
en = (0, 0, 0, ...., 1)
form an orthonormal basis in IRn.
2. The space l2 with elements x = (x1, x2, ..., xn, ....), y =
(y1, y2, ..., yn, ....), ..., where
∞
X
i=1
x2
i < ∞,
∞
X
i=1
y2
i < ∞, ..., ...,
becomes an infinite-dimensional Euclidean space when
equipped with the dot product
(x, y) =
∞
X
i=1
xiyi.
The simplest orthonormal basis in l2 consists of vectors
e1 = (1, 0, 0, 0, ...)
e2 = (0, 1, 0, 0, ...)
e3 = (0, 0, 1, 0, ...)
e4 = (0, 0, 0, 1, ...)
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
there are an infinite number of these bases.
3. The space C2[a, b] consisting of all continuous functions
on [a, b] equipped with the dot product
(f, g) =
Z b
a
f(t)g(t)dt
is another example of Euclidean space.
An important example of orthogonal bases in this space
is the following set of functions
1, cos
2πnt
b − a
, sin
2πnt
b − a
(n = 1, 2, ...).
Cauchy-Schwartz inequality
Let H be an Euclidean space. Then ∀f, g ∈ H, it holds
|(f, g)| ≤ kfk kgk
Sketch of the proof. The case f ∝ g is trivial, hence let
us assume the opposite is true. For all x ∈ IR,
0 < (f + xg, f + xg) = x2 kgk2 + 2x (f, g) + kfk2,
since the quadratic polynomial of x above has no zeroes,
the discriminant ∆ must be negative
0 > ∆/4 = (f, g)2 − kfk2 kgk2.
Separable
A metric space is said to be separable if it has a countable
everywhere dense subset.
Examples:
1. The spaces IR1, IRn, L2[a, b], and C[a, b] are all separa-
ble.
2. The set of real numbers is separable since the set of
rational numbers is a countable subset of the reals and
the set of rationals is is everywhere dense.
Completeness
A sequence of functions fn is fundamental if ∀  0 ∃N
such that
∀n and m  N, ρ(fn, fm)  .
A metric space is complete if all fundamental sequences
converge to a point in the space.
C, L1
, and L2
are complete. That C2 is not complete,
instead, can be seen through a counterexample.
Incompleteness of C2
Consider the sequence of functions (n = 1, 2, ...)
φn(t) =





−1 if − 1 ≤ t  −1/n
nt if − 1/n ≤ t  1/n
1 if 1/n ≤ t ≤ 1
and assume that φn converges to a continuous function φ
in the metric of C2. Let
f(t) =
(
−1 if − 1 ≤ t  0
1 if 0 ≤ t ≤ 1
Incompleteness of C2 (cont.)
Clearly,
Z
(f(t) − φ(t))2
dt
1/2
≤
Z
(f(t) − φn(t))2
dt
1/2
+
Z
(φn(t) − φ(t))2
dt
1/2
.
Now the l.h.s. term is strictly positive, because f(t) is not
continuous, while for n → ∞ we have
Z
(f(t) − φn(t))2
dt → 0.
Therefore, contrary to what assumed, φn cannot converge
to φ in the metric of C2.
Completion of a metric space
Given a metric space IR with closure ¯
IR, a complete metric
space IR∗ is called a completion of IR if IR ⊂ IR∗ and
¯
IR = IR∗.
Examples
1. The space of real numbers is the completion of the
space of rational numbers.
2. L2 is the completion of the functional space C2.
Hilbert space
A Hilbert space is a Euclidean space that is complete,
separable, and generally infinite-dimensional.
A Hilbert space is a set H of elements f, g, ... for which
1. H is a Euclidean space equipped with a scalar product
2. H is complete with respect to metric ρ(f, g) = kf − gk
3. H is separable (contains a countable everywhere dense
subset)
4. (generally) H is infinite-dimensional.
l2 and L2 are examples of Hilbert spaces.
Evaluation functionals
A linear evaluation functional is a linear functional Ft that
evaluates each function in the space at the point t, or
Ft[f] = f(t)
Ft[f + g] = f(t) + g(t).
The functional is bounded if there exists a M s.t.
|Ft[f]| = |f(t)| ≤ MkfkHil ∀t
for all f where k · kHil is the norm in the Hilbert space.
Evaluation functionals in Hilbert space
The evaluation functional is not bounded in the familiar
Hilbert space L2([0, 1]), no such M exists and in fact ele-
ments of L2([0, 1]) are not even defined pointwise.
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
0
1
2
3
4
5
6
x
f(x)
Evaluation functionals in Hilbert space
In the following pictures the two functions have the same
norm but they are very different on sets of zero measure
−10 −8 −6 −4 −2 0 2 4 6 8 10
−2
−1.5
−1
−0.5
0
0.5
1
function 1
x
f(x)
−10 −8 −6 −4 −2 0 2 4 6 8 10
−1
−0.5
0
0.5
1
1.5
2
2.5
x
f(x)
function 2
Riesz Representation Theorem
For every bounded linear functional F on a Hilbert space
H, there is a unique v ∈ H such that
F[x] = (x, v)H, ∀x ∈ H
Convex sets
A set X ∈ IRn is convex if
∀x1, x2 ∈ X, ∀λ ∈ [0, 1], λx1 + (1 − λ)x2 ∈ X.
A set is convex if, given any two points in the set, the line
segment connecting them lies entirely inside the set.
Convex and Non-convex sets
Convex Sets Non-Convex Sets
Convex Functions
A function f : IRn → IR is convex if:
For any x1 and x2 in the domain of f, for any λ ∈ [0, 1],
f(λx1 + (1 − λ)x2) ≤ λf(x1) + (1 − λ)f(x2).
A function is strictly convex if we replace “≤” with “”.
A Strictly Convex Function
−3 −2 −1 0 1 2 3
0
1
2
3
4
5
6
7
8
9
A Convex Function
−3 −2 −1 0 1 2 3
−1
−0.5
0
0.5
1
1.5
2
2.5
3
3.5
4
A Non-Convex Function
−3 −2 −1 0 1 2 3
0
1
2
3
4
5
6
7
8
9
10
Why We Like Convex Functions
Unconstrained convex functions (convex functions where
the domain is all of IRn) are easy to minimize. Convex
functions are differentiable almost everywhere. Directional
derivatives always exist. If we cannot improve our solution
by moving locally, we are at the optimum. If we cannot
find a direction that improves our solution, we are at the
optimum.
Why We Like Convex Sets
Convex functions over convex sets (a convex domain) are
also easy to minimize. If the set and the functions are both
convex, if we cannot find a direction which we are able to
move in which decreases the function, we are done. Local
optima are global optima.
Optimizing a Convex Function Over a
Convex and a Non-Convex Set
f(x,y) = -x + -y
Global Optima
Local Optimum
Existence and uniqueness of minimum
Let f : IRn → IR be a strictly convex function.
The function f is said to be coercive if
lim
kxk→+∞
f(x) = +∞.
Strictly convex and coercive functions have exactly one
local (global) minimum.
Local condition on the minimum
If the convex function f is differentiable, its gradient ∇f is
null on the minimum x0.
Even if the gradient does not exist, the subgradient ∂f
always exists.
The subgradient of f in x is defined by
∂f(x) = {w ∈ IRn|∀x0 ∈ IRn, f(x0) ≥ f(x) + w · (x0 − x)},
On the minimum x0, it holds
0 ∈ ∂f(x0),
Lagrange multiplier’s technique
Lagrange multiplier’s technique allows the reduction of the
constrained minimization problem
Minimize I(x)
subject to Φ(x) ≤ m (for some m)
to the unconstrained minimization problem
Minimize J(x) = I(x) + λΦ(x) (for some λ ≥ 0)
Geometric intuition
The fact that ∇I does not vanish in the interior of the
domain implies that the constrained minimum x̄ must lie
on the domain’s boundary (the level curve Φ(x) = m).
Therefore, at the point x̄ the component of ∇I along the
tangent to the curve Φ = m vanishes.
But since the tangent to Φ = m is orthogonal to ∇Φ, we
have that at the point x̄, ∇Φ and ∇I are parallel, or
∇I(x̄) ∝ ∇Φ(x̄).
Geometric intuition (Cont)
We thus introduce a parameter λ ≥ 0, called Lagrange
multiplier, and consider the problem of finding the uncon-
strained minimum xλ of
J(x) = I(x) + λΦ(x)
as a function of λ.
By setting ∇J = 0, we actually look for the points where
∇I and ∇Φ are parallel. The idea is to find all such points
and then check which of them lie on the curve Φ = m.

More Related Content

Similar to math camp

2018-G12-Math-E.pdf
2018-G12-Math-E.pdf2018-G12-Math-E.pdf
2018-G12-Math-E.pdf
ZainMehmood21
 
Maths 12
Maths 12Maths 12
Maths 12
Mehtab Rai
 
Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved ex
Maths Tutoring
 
senior seminar
senior seminarsenior seminar
senior seminar
Jose Stewart
 
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Mahmood Adel
 
01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf
RajuSingh806014
 
Aa3
Aa3Aa3
Measure Theory and important points with booklet
Measure Theory and important points with bookletMeasure Theory and important points with booklet
Measure Theory and important points with booklet
NaeemAhmad289736
 
Relations & functions
Relations & functionsRelations & functions
Relations & functions
indu thakur
 
Hecke Curves and Moduli spcaes of Vector Bundles
Hecke Curves and Moduli spcaes of Vector BundlesHecke Curves and Moduli spcaes of Vector Bundles
Hecke Curves and Moduli spcaes of Vector Bundles
Heinrich Hartmann
 
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
IJERA Editor
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - Introduction
Charles Deledalle
 
05_AJMS_300_21.pdf
05_AJMS_300_21.pdf05_AJMS_300_21.pdf
05_AJMS_300_21.pdf
BRNSS Publication Hub
 
1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf
BRNSS Publication Hub
 
Fourier series
Fourier seriesFourier series
Fourier series
Tarun Gehlot
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
BRNSS Publication Hub
 
Domain-and-Range-of-a-Function
Domain-and-Range-of-a-FunctionDomain-and-Range-of-a-Function
Domain-and-Range-of-a-Function
EmeraldAcaba
 
PaperNo10-KaramiHabibiSafariZarrabi-IJCMS
PaperNo10-KaramiHabibiSafariZarrabi-IJCMSPaperNo10-KaramiHabibiSafariZarrabi-IJCMS
PaperNo10-KaramiHabibiSafariZarrabi-IJCMS
Mezban Habibi
 
applied mathematics methods.pdf
applied mathematics methods.pdfapplied mathematics methods.pdf
applied mathematics methods.pdf
CyprianObota
 
Math 1102-ch-3-lecture note Fourier Series.pdf
Math 1102-ch-3-lecture note Fourier Series.pdfMath 1102-ch-3-lecture note Fourier Series.pdf
Math 1102-ch-3-lecture note Fourier Series.pdf
habtamu292245
 

Similar to math camp (20)

2018-G12-Math-E.pdf
2018-G12-Math-E.pdf2018-G12-Math-E.pdf
2018-G12-Math-E.pdf
 
Maths 12
Maths 12Maths 12
Maths 12
 
Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved ex
 
senior seminar
senior seminarsenior seminar
senior seminar
 
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
 
01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf01. Functions-Theory & Solved Examples Module-4.pdf
01. Functions-Theory & Solved Examples Module-4.pdf
 
Aa3
Aa3Aa3
Aa3
 
Measure Theory and important points with booklet
Measure Theory and important points with bookletMeasure Theory and important points with booklet
Measure Theory and important points with booklet
 
Relations & functions
Relations & functionsRelations & functions
Relations & functions
 
Hecke Curves and Moduli spcaes of Vector Bundles
Hecke Curves and Moduli spcaes of Vector BundlesHecke Curves and Moduli spcaes of Vector Bundles
Hecke Curves and Moduli spcaes of Vector Bundles
 
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
Fixed Point Results In Fuzzy Menger Space With Common Property (E.A.)
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - Introduction
 
05_AJMS_300_21.pdf
05_AJMS_300_21.pdf05_AJMS_300_21.pdf
05_AJMS_300_21.pdf
 
1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf
 
Fourier series
Fourier seriesFourier series
Fourier series
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
 
Domain-and-Range-of-a-Function
Domain-and-Range-of-a-FunctionDomain-and-Range-of-a-Function
Domain-and-Range-of-a-Function
 
PaperNo10-KaramiHabibiSafariZarrabi-IJCMS
PaperNo10-KaramiHabibiSafariZarrabi-IJCMSPaperNo10-KaramiHabibiSafariZarrabi-IJCMS
PaperNo10-KaramiHabibiSafariZarrabi-IJCMS
 
applied mathematics methods.pdf
applied mathematics methods.pdfapplied mathematics methods.pdf
applied mathematics methods.pdf
 
Math 1102-ch-3-lecture note Fourier Series.pdf
Math 1102-ch-3-lecture note Fourier Series.pdfMath 1102-ch-3-lecture note Fourier Series.pdf
Math 1102-ch-3-lecture note Fourier Series.pdf
 

Recently uploaded

How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 

Recently uploaded (20)

How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 

math camp

  • 1. Math Camp 1: Functional analysis
  • 2. About the primer Goal To briefly review concepts in functional analysis that will be used throughout the course.∗ The following concepts will be described 1. Function spaces 2. Metric spaces 3. Dense subsets 4. Linear spaces 5. Linear functionals ∗The definitions and concepts come primarily from “Introductory Real Analysis” by Kolmogorov and Fomin (highly recommended).
  • 3. 6. Norms and semi-norms of linear spaces 7. Euclidean spaces 8. Orthogonality and bases 9. Separable spaces 10. Complete metric spaces 11. Hilbert spaces 12. Riesz representation theorem 13. Convex functions 14. Lagrange multipliers
  • 4. Function space A function space is a space made of functions. Each function in the space can be thought of as a point. Ex- amples: 1. C[a, b], the set of all real-valued continuous functions in the interval [a, b]; 2. L1[a, b], the set of all real-valued functions whose ab- solute value is integrable in the interval [a, b]; 3. L2[a, b], the set of all real-valued functions square inte- grable in the interval [a, b] Note that the functions in 2 and 3 are not necessarily continuous!
  • 5. Metric space By a metric space is meant a pair (X, ρ) consisting of a space X and a distance ρ, a single-valued, nonnegative, real function ρ(x, y) defined for all x, y ∈ X which has the following three properties: 1. ρ(x, y) = 0 iff x = y; 2. ρ(x, y) = ρ(y, x); 3. Triangle inequality: ρ(x, z) ≤ ρ(x, y) + ρ(y, z)
  • 6. Examples 1. The set of all real numbers with distance ρ(x, y) = |x − y| is the metric space IR1. 2. The set of all ordered n-tuples x = (x1, ..., xn) of real numbers with distance ρ(x, y) = v u u t n X i=1 (xi − yi)2 is the metric space IRn.
  • 7. 3. The set of all functions satisfying the criteria Z f2(x)dx < ∞ with distance ρ(f1(x), f2(x)) = sZ (f1(x) − f2(x))2dx is the metric space L2(IR). 4. The set of all probability densities with Kullback-Leibler divergence ρ(p1(x), p2(x)) = Z ln p1(x) p2(x) p1(x)dx is not a metric space. The divergence is not symmetric ρ(p1(x), p2(x)) 6= ρ(p2(x), p1(x)).
  • 8. Dense A point x ∈ IR is called a contact point of a set A ∈ IR if every ball centered at x contains at least one point of A. The set of all contact points of a set A denoted by Ā is called the closure of A. Let A and B be subspaces of a metric space IR. A is said to be dense in B if B ⊂ Ā. In particular A is said to be everywhere dense in IR if Ā = R.
  • 9. Examples 1. The set of all rational points is dense in the real line. 2. The set of all polynomials with rational coefficients is dense in C[a, b]. 3. The RKHS induced by the gaussian kernel on [a, b] in dense in L2[a, b] Note: A hypothesis space that is dense in L2 is a desired property of any approximation scheme.
  • 10. Linear space A set L of elements x, y, z, ... is a linear space if the fol- lowing three axioms are satisfied: 1. Any two elements x, y ∈ L uniquely determine a third element in x + y ∈ L called the sum of x and y such that (a) x + y = y + x (commutativity) (b) (x + y) + z = x + (y + z) (associativity) (c) An element 0 ∈ L exists for which x + 0 = x for all x ∈ L (d) For every x ∈ L there exists an element −x ∈ L with the property x + (−x) = 0
  • 11. 2. Any number α and any element x ∈ L uniquely deter- mine an element αx ∈ L called the product such that (a) α(βx) = β(αx) (b) 1x = x 3. Addition and multiplication follow two distributive laws (a)(α + β)x = αx + βx (b)α(x + y) = αx + αy
  • 12. Linear functional A functional, F, is a function that maps another function to a real-value F : f → IR. A linear functional defined on a linear space L, satisfies the following two properties 1. Additive: F(f + g) = F(f) + F(g) for all f, g ∈ L 2. Homogeneous: F(αf) = αF(f)
  • 13. Examples 1. Let IRn be a real n-space with elements x = (x1, ..., xn), and a = (a1, ..., an) be a fixed element in IRn. Then F(x) = n X i=1 aixi is a linear functional 2. The integral F[f(x)] = Z b a f(x)p(x)dx is a linear functional 3. Evaluation functional: another linear functional is the
  • 14. Dirac delta function δt[f(·)] = f(t). Which can be written δt[f(·)] = Z b a f(x)δ(x − t)dx. 4. Evaluation functional: a positive definite kernel in a RKHS Ft[f(·)] = (Kt, f) = f(t). This is simply the reproducing property of the RKHS.
  • 15. Normed space A normed space is a linear (vector) space N in which a norm is defined. A nonnegative function k · k is a norm iff ∀f, g ∈ N and α ∈ IR 1. kfk ≥ 0 and kfk = 0 iff f = 0; 2. kf + gk ≤ kfk + kgk; 3. kαfk = |α| kfk. Note, if all conditions are satisfied except kfk = 0 iff f = 0 then the space has a seminorm instead of a norm.
  • 16. Measuring distances in a normed space In a normed space N, the distance ρ between f and g, or a metric, can be defined as ρ(f, g) = kg − fk. Note that ∀f, g, h ∈ N 1. ρ(f, g) = 0 iff f = g. 2. ρ(f, g) = ρ(g, f). 3. ρ(f, h) ≤ ρ(f, g) + ρ(g, h).
  • 17. Example: continuous functions A norm in C[a, b] can be established by defining kfk = max a≤t≤b |f(t)|. The distance between two functions is then measured as ρ(f, g) = max a≤t≤b |g(t) − f(t)|. With this metric, C[a, b] is denoted as C.
  • 18. Examples (cont.) A norm in L1[a, b] can be established by defining kfk = Z b a |f(t)|dt. The distance between two functions is then measured as ρ(f, g) = Z b a |g(t) − f(t)|dt. With this metric, L1[a, b] is denoted as L1.
  • 19. Examples (cont.) A norm in C2[a, b] and L2[a, b] can be established by defining kfk = Z b a f2 (t)dt !1/2 . The distance between two functions now becomes ρ(f, g) = Z b a (g(t) − f(t))2 dt !1/2 . With this metric, C2[a, b] and L2[a, b] are denoted as C2 and L2 respectively.
  • 20. Euclidean space A Euclidean space is a linear (vector) space E in which a dot product is defined. A real valued function (·, ·) is a dot product iff ∀f, g, h ∈ E and α ∈ IR 1. (f, g) = (g, f); 2. (f + g, h) = (f, h∗ ) + (g, h) and (αf, g) = α(f, g); 3. (f, f) ≥ 0 and (f, f) = 0 iff f = 0. A Euclidean space becomes a normed linear space when equipped with the norm kfk = q (f, f).
  • 21. Orthogonal systems and bases A set of nonzero vectors {xα} in a Euclidean space E is said to be an orthogonal system if (xα, xβ) = 0 for α 6= β and an orthonormal system if (xα, xβ) = 0 for α 6= β (xα, xβ) = 1 for α = β. An orthogonal system {xα} is called an orthogonal basis if it is complete (the smallest closed subspace containing {xα} is the whole space E). A complete orthonormal sys- tem is called an orthonormal basis.
  • 22. Examples 1. IRn is a real n-space, the set of n-tuples x = (x1, ..., xn), y = (y1, ..., yn). If we define the dot product as (x, y) = n X i=1 xiyi we get Euclidean n-space. The corresponding norms and distances in IRn are kxk = v u u t n X i=1 x2 i ρ(x, y) = kx − yk = v u u t n X i=1 (xi − yi)2.
  • 23. The vectors e1 = (1, 0, 0, ...., 0) e2 = (0, 1, 0, ...., 0) · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · en = (0, 0, 0, ...., 1) form an orthonormal basis in IRn. 2. The space l2 with elements x = (x1, x2, ..., xn, ....), y = (y1, y2, ..., yn, ....), ..., where ∞ X i=1 x2 i < ∞, ∞ X i=1 y2 i < ∞, ..., ..., becomes an infinite-dimensional Euclidean space when equipped with the dot product (x, y) = ∞ X i=1 xiyi.
  • 24. The simplest orthonormal basis in l2 consists of vectors e1 = (1, 0, 0, 0, ...) e2 = (0, 1, 0, 0, ...) e3 = (0, 0, 1, 0, ...) e4 = (0, 0, 0, 1, ...) · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · there are an infinite number of these bases. 3. The space C2[a, b] consisting of all continuous functions on [a, b] equipped with the dot product (f, g) = Z b a f(t)g(t)dt is another example of Euclidean space.
  • 25. An important example of orthogonal bases in this space is the following set of functions 1, cos 2πnt b − a , sin 2πnt b − a (n = 1, 2, ...).
  • 26. Cauchy-Schwartz inequality Let H be an Euclidean space. Then ∀f, g ∈ H, it holds |(f, g)| ≤ kfk kgk Sketch of the proof. The case f ∝ g is trivial, hence let us assume the opposite is true. For all x ∈ IR, 0 < (f + xg, f + xg) = x2 kgk2 + 2x (f, g) + kfk2, since the quadratic polynomial of x above has no zeroes, the discriminant ∆ must be negative 0 > ∆/4 = (f, g)2 − kfk2 kgk2.
  • 27. Separable A metric space is said to be separable if it has a countable everywhere dense subset. Examples: 1. The spaces IR1, IRn, L2[a, b], and C[a, b] are all separa- ble. 2. The set of real numbers is separable since the set of rational numbers is a countable subset of the reals and the set of rationals is is everywhere dense.
  • 28. Completeness A sequence of functions fn is fundamental if ∀ 0 ∃N such that ∀n and m N, ρ(fn, fm) . A metric space is complete if all fundamental sequences converge to a point in the space. C, L1 , and L2 are complete. That C2 is not complete, instead, can be seen through a counterexample.
  • 29. Incompleteness of C2 Consider the sequence of functions (n = 1, 2, ...) φn(t) =      −1 if − 1 ≤ t −1/n nt if − 1/n ≤ t 1/n 1 if 1/n ≤ t ≤ 1 and assume that φn converges to a continuous function φ in the metric of C2. Let f(t) = ( −1 if − 1 ≤ t 0 1 if 0 ≤ t ≤ 1
  • 30. Incompleteness of C2 (cont.) Clearly, Z (f(t) − φ(t))2 dt 1/2 ≤ Z (f(t) − φn(t))2 dt 1/2 + Z (φn(t) − φ(t))2 dt 1/2 . Now the l.h.s. term is strictly positive, because f(t) is not continuous, while for n → ∞ we have Z (f(t) − φn(t))2 dt → 0. Therefore, contrary to what assumed, φn cannot converge to φ in the metric of C2.
  • 31. Completion of a metric space Given a metric space IR with closure ¯ IR, a complete metric space IR∗ is called a completion of IR if IR ⊂ IR∗ and ¯ IR = IR∗. Examples 1. The space of real numbers is the completion of the space of rational numbers. 2. L2 is the completion of the functional space C2.
  • 32. Hilbert space A Hilbert space is a Euclidean space that is complete, separable, and generally infinite-dimensional. A Hilbert space is a set H of elements f, g, ... for which 1. H is a Euclidean space equipped with a scalar product 2. H is complete with respect to metric ρ(f, g) = kf − gk 3. H is separable (contains a countable everywhere dense subset) 4. (generally) H is infinite-dimensional. l2 and L2 are examples of Hilbert spaces.
  • 33. Evaluation functionals A linear evaluation functional is a linear functional Ft that evaluates each function in the space at the point t, or Ft[f] = f(t) Ft[f + g] = f(t) + g(t). The functional is bounded if there exists a M s.t. |Ft[f]| = |f(t)| ≤ MkfkHil ∀t for all f where k · kHil is the norm in the Hilbert space.
  • 34. Evaluation functionals in Hilbert space The evaluation functional is not bounded in the familiar Hilbert space L2([0, 1]), no such M exists and in fact ele- ments of L2([0, 1]) are not even defined pointwise. 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 1 2 3 4 5 6 x f(x)
  • 35. Evaluation functionals in Hilbert space In the following pictures the two functions have the same norm but they are very different on sets of zero measure −10 −8 −6 −4 −2 0 2 4 6 8 10 −2 −1.5 −1 −0.5 0 0.5 1 function 1 x f(x) −10 −8 −6 −4 −2 0 2 4 6 8 10 −1 −0.5 0 0.5 1 1.5 2 2.5 x f(x) function 2
  • 36. Riesz Representation Theorem For every bounded linear functional F on a Hilbert space H, there is a unique v ∈ H such that F[x] = (x, v)H, ∀x ∈ H
  • 37. Convex sets A set X ∈ IRn is convex if ∀x1, x2 ∈ X, ∀λ ∈ [0, 1], λx1 + (1 − λ)x2 ∈ X. A set is convex if, given any two points in the set, the line segment connecting them lies entirely inside the set.
  • 38. Convex and Non-convex sets Convex Sets Non-Convex Sets
  • 39. Convex Functions A function f : IRn → IR is convex if: For any x1 and x2 in the domain of f, for any λ ∈ [0, 1], f(λx1 + (1 − λ)x2) ≤ λf(x1) + (1 − λ)f(x2). A function is strictly convex if we replace “≤” with “”.
  • 40. A Strictly Convex Function −3 −2 −1 0 1 2 3 0 1 2 3 4 5 6 7 8 9
  • 41. A Convex Function −3 −2 −1 0 1 2 3 −1 −0.5 0 0.5 1 1.5 2 2.5 3 3.5 4
  • 42. A Non-Convex Function −3 −2 −1 0 1 2 3 0 1 2 3 4 5 6 7 8 9 10
  • 43. Why We Like Convex Functions Unconstrained convex functions (convex functions where the domain is all of IRn) are easy to minimize. Convex functions are differentiable almost everywhere. Directional derivatives always exist. If we cannot improve our solution by moving locally, we are at the optimum. If we cannot find a direction that improves our solution, we are at the optimum.
  • 44. Why We Like Convex Sets Convex functions over convex sets (a convex domain) are also easy to minimize. If the set and the functions are both convex, if we cannot find a direction which we are able to move in which decreases the function, we are done. Local optima are global optima.
  • 45. Optimizing a Convex Function Over a Convex and a Non-Convex Set f(x,y) = -x + -y Global Optima Local Optimum
  • 46. Existence and uniqueness of minimum Let f : IRn → IR be a strictly convex function. The function f is said to be coercive if lim kxk→+∞ f(x) = +∞. Strictly convex and coercive functions have exactly one local (global) minimum.
  • 47. Local condition on the minimum If the convex function f is differentiable, its gradient ∇f is null on the minimum x0. Even if the gradient does not exist, the subgradient ∂f always exists. The subgradient of f in x is defined by ∂f(x) = {w ∈ IRn|∀x0 ∈ IRn, f(x0) ≥ f(x) + w · (x0 − x)}, On the minimum x0, it holds 0 ∈ ∂f(x0),
  • 48. Lagrange multiplier’s technique Lagrange multiplier’s technique allows the reduction of the constrained minimization problem Minimize I(x) subject to Φ(x) ≤ m (for some m) to the unconstrained minimization problem Minimize J(x) = I(x) + λΦ(x) (for some λ ≥ 0)
  • 49. Geometric intuition The fact that ∇I does not vanish in the interior of the domain implies that the constrained minimum x̄ must lie on the domain’s boundary (the level curve Φ(x) = m). Therefore, at the point x̄ the component of ∇I along the tangent to the curve Φ = m vanishes. But since the tangent to Φ = m is orthogonal to ∇Φ, we have that at the point x̄, ∇Φ and ∇I are parallel, or ∇I(x̄) ∝ ∇Φ(x̄).
  • 50. Geometric intuition (Cont) We thus introduce a parameter λ ≥ 0, called Lagrange multiplier, and consider the problem of finding the uncon- strained minimum xλ of J(x) = I(x) + λΦ(x) as a function of λ. By setting ∇J = 0, we actually look for the points where ∇I and ∇Φ are parallel. The idea is to find all such points and then check which of them lie on the curve Φ = m.