Try   HackMD

Contraction Mapping

Theorem (Contraction Mapping Principle in [MH]). Let

T:Cb(A,Rm)
Cb(A,Rm)
be a given mapping such that there is a constant
λ,0
λ<1
with
T(f)T(g)λfg

for all
f,gCb(A,Rm)
. Then
T
(is continuous and) has a unique fixed point; that is, there exists a unique point
f0Cb(A,Rm)
such that
T(f0)=f0
.

Actually, we can replace

Cb(A,Rm) by any complete metric space.

Theorem (Contraction mapping in [DD] or [R]). If

T:XX is a contraction mapping on a complete metric space
(X,d)
, then there is exactly one solution
xX
of
T(x)=x
.

Recall theorem in p.113 [MH],

Cb(A,Rm) is a Banach space. Thus,
Cb(A,Rm)
is a complete metric space.

Now, we take a closer look at contraction mapping theorem.

Converse.

X={(x,y):y=sin(1/x),x(0,1]} is non-closed in
R2
, but for all contraction mapping has unique fixed point. Please see Elekes (2011) for more detail.

Weak. Consider

f:[0,)[0,) given by
f(x)=1+x2.

Since

f(ξ)=ξ1+ξ2<1 for each ξ[0,),
by the mean value theorem
|f(x)f(y)|=f(ξ)|xy|<|xy| for every x,y[0,).

But

f clearly has no fixed points.

Application of Contraction Mapping

Solve linear equation (Jacobi & Gaussian Seidel Method).

Consider the linear system

Ax=b where
ARm×m
and
x,bRm
. We write
A=DLU
where
D
is diagonal,
L
is lower triangular, and
U
is upper triangular. Then,
b=Ax=(DLU)x=Dx(L+U)x
. Thus, it's sufficient to convert to the problem of finding fixed point.
x=D1(L+U)x+D1b:=T(x).

On the other hands, an

n×n matrix
A
is said to be diagonally dominant if for each row the sum of the absolute values of the off-diagonal terms is less than the absolute value of the diagonal term. If
A
is diagonally dominant, show that
|aii|>ji|aij| for all i.

Theorem. Show the Jacobi scheme

xn+1=D1(L+U)xn+D1b converges to a solution of
Ax=b

Proof. Define

K=max{1|aii|j=1jim|aij|:i=1,2,,m}
and by diagonally dominant, we know
K<1
. Focus on
i
-component of
T(x)T(y)

(T(x)T(y))i=|1aii(bijaijxj+aiixi)1aii(bijaijyj+aiiyi)|=1|aii||j=1jimaij(xjyj)|1|aii|j=1jim|aij|xyKxy.

Theorem. The Gauss-Seidel scheme

xn+1=(DL)1Uxn+(DL)1b converges to a solution of
Ax=b

Proof. Prove it by yourself.

Volterra integral equation

Consider Volterra integral equation

f(x)=a+0xk(x,y)f(y)dy

Concrete example (p.117 in [MH]). Show that the method of successive approximations applied to

f(x)=1+0xf(y)dy leads to the usual formula for
ex
.
T(0)=1;T(T(0))=1+0xdy=1+xT(T2(0))=1+0x(1+y)dy=1+x+x22;

Hence, this sequence converges
ex
.

Theorem. If

supx[0,r]0x|k(x,y)|dy=λ<1 then
f(x)=a+0xk(x,y)f(y)dy

has a unique solution on
[0,r]
.

Proof. See the blackboard.

Example (Ex. 5.6.5 in [MH]). Convert

dy/dx=3xy,y(0)=1 to an integral equation and set up an iteration scheme to solve it.
Let
y(x)=a+0x3sy(s)ds
. By
y(0)=1
, we have
a=1
. Let initial function
y=0
.
T(0)=1;T(T(0))=1+0x3sds=1+32x2T(T2(0))=1+0x3s(1+32s2)ds=1+32x2+12(32x2)2;

Hence, this sequence converges
e32x2
.

More on integral equations

Theorem (Ex. 5.26 in [MH]). Let

k(x,y) be a continuous real-valued function on the square
U={(x,y)0x1
,
0y1}
and assume
|k(x,y)|<1
for each
(x,y)U
. Let
A:[0,1]R
be continuous. Prove that there is a unique continuous real-valued function
f(x)
on
[0,1]
such that
f(x)=A(x)+01k(x,y)f(y)dy.

Proof. Prove it by yourself.

Proposition. Let

f:[0,1]R be a continuous function. The unique solution
v
of the boundary value problem
v=f,v(0)=0,v(1)=0,

is given by
v(x)=01g(x,y)f(y)dy

where
g(x,y)={x(1y) if 0xy1y(1x) if 0yx1

Proof. Skip!

Let's summarize integral equations which we mentioned.

  1. Fredholm Integral Equations
    u(x)=f(x)+λabK(x,t)u(t)dt
  2. Volterra Integral Equations
    u(x)=f(x)+λ0xK(x,t)u(t)dt.
Logistic equation (chaos)

xn+1=rxn(1xn)
Demo, Wiki

Existence & Uniqueness of ODE

Intuiation

Focus on IVP for first-order system ODE

x(t)=f(x(t),t)()x(t0)=x0

Concrete example. (Ex. 7.5.3 in [MH]) Consider the IVP for first-order system ODE

y(x)=|y|y(0)=0
Solve it directly,
dyy=dx
, and get
y=14(x+c)2
. By IC, we have
y=14x2

for
x0
. However,
{0 for 0xλ14(xλ)2 for xλ

is also a solution for all
λ0
.

Since

|y| is not good enough, the solution is not unique. If
f(x,y(x))
is continuous, then by Peano existence theorem, there exist at least one solution for all IC.

Back to

(), define a operator
Φ(x)(t)=x0+t0tf(x(s),s)ds.

If
x(t)
is a solution to
()
, then
x(t)
is fixed point of
Φ
.

The problem of finding a solution to

() transforms to a problem of finding a fixed-point of
Φ
.

Concrete example. (Ex. 7.5.5 in [MH]) Find a function

x(t) satisfying
x(t)=x(t)
with initial value
x(0)=1
.
Define
Φ(x)(t)=1+0tx(s)ds,x0(t)=1
. Then
x1(t)=1+0tx0(s)ds=1+tx2(t)=1+0tx1(s)ds=1+t+t22x3(t)=1+0tx2(s)ds=1+t+t22+t332

By induction, we have
xk(t)=1+t+t22++tkk!

which converges to
x(t)=k=0tkk!=et.

Existence and uniqueness of IVP for ODE

Theorem (locally existence for ODEs). Let

I=[t0T,t0+T]. Let
f:I×B¯R(x0)Rn
be a given continuous mapping. Let
C=sup{f(t,x)(t,x)I×B¯R(x0)}
. Suppose there is a constant
K
such that
f(t,x)f(t,y)Kxy

for all
tI,x,yB¯R(x0)
. Let
δ<min{T,R/C,1/K}
. Then there is a unique continuously differentiable map
x:[t0,t0+δ]
Rn
and
xB¯R(x0)
such that (
) holds.

Note that

f only need to be locally Lipschitz continuous. Moreover,
xy
is the Euclidean norm on
Rn
instead of
C0
norm.

Proof. See the blackboard.

Example

Example (p.221 in [MH] and p.310 in [DD]) Consider IVP for ODE

x(t)=x2,
x(0)=1
.
Let
T,R
be undetermined. Now
C=sup{|f(t,x)|TtT,Rx1R}=sup{x2Rx1R}=(R+1)2.

Thus,
R/C=R/(R+1)2
. Also,
f/x=2x
, so
K=sup{2|x|Rx1R}=2(r+1).

Since

a is not involved we can just choose
T
large enough so that it does not interfere, say,
T=100
. Then, by the theorem, we must choose
δ<min{R(R+1)2,12(R+1)}.

This will work for any choice of

r. For example, if we let
R=1
we get a time of existence
δ<1/4
, i.e.
[0,1/4]
.

On the other hand, solve by separation of variable

xx2=1,
and we obtain,
x(t)=11t

on
[0,1)
. Therefore, we can re-consider the new IVP for ODE
x=x2,x(a)=11a,

for
a=1/4
. Again, let
a=1/4
,
C=sup{|f(t,x)|TtT,Rx11aR}=sup{x2Rx11aR}=(R+11a)2.

To maximize
δ
, let
R=11a
, which yields
δ=1a4
. Hence,
a2=a1+(1a1)/4=7/16
, i.e.
[0,7/16]
. Continues this process, we can get
an+1=an+1an4=3an+14

and
an1
as
n
.

Example (Cont'd Ex. 7.5.3 in [MH] and p.312 in [DD]). Finally, we show

f(x,y)=|y| is not Lipschitz for
y1=0
,
y2=h
and
xR
.
limh0|f(0,h)f(0,0)||h|=limh01|h|1/2=+.