## Section 7.6 Fixed point theorem and Picard's theorem again

*Note: 1 lecture (optional, does not require Section 6.3)*

In this section we prove the fixed point theorem for contraction mappings. As an application we prove Picard's theorem, which we proved without metric spaces in Section 6.3. The proof we present here is similar, but the proof goes a lot smoother with metric spaces and the fixed point theorem.

### Subsection 7.6.1 Fixed point theorem

#### Definition 7.6.1.

Let \((X,d_X)\) and \((Y,d_Y)\) be metric spaces. A mapping \(f \colon X \to Y\) is said to be a *contraction* (or a contractive map) if it is a \(k\)-Lipschitz map for some \(k < 1\text{,}\) i.e. if there exists a \(k < 1\) such that

Given a map \(f \colon X \to X\text{,}\) a point \(x \in X\) is called a *fixed point* if \(f(x)=x\text{.}\)

#### Theorem 7.6.2. Contraction mapping principle or Banach fixed point theorem.

^{ 1 } Let \((X,d)\) be a nonempty complete metric space and \(f \colon X \to X\) a contraction. Then \(f\) has a unique fixed point.

The words *complete* and *contraction* are necessary. See Exercise 7.6.6.

#### Proof.

Pick \(x_0 \in X\text{.}\) Define a sequence \(\{ x_n \}\) by \(x_{n+1} := f(x_n)\text{.}\) Then

Repeating \(n\) times, we get \(d(x_{n+1},x_n) \leq k^n d(x_1,x_0)\text{.}\) For \(m > n\text{,}\)

In particular, the sequence is Cauchy (why?). Since \(X\) is complete, we let \(x := \lim\, x_n\text{,}\) and we claim that \(x\) is our unique fixed point.

Fixed point? The function \(f\) is a contraction, so it is Lipschitz continuous:

Unique? Let \(x\) and \(y\) be fixed points.

As \(k < 1\) this means that \(d(x,y) = 0\) and hence \(x=y\text{.}\) The theorem is proved.

The proof is constructive. Not only do we know a unique fixed point exists. We also know how to find it. Start with any point \(x_0 \in X\text{,}\) then iterate \(f(x_0)\text{,}\) \(f(f(x_0))\text{,}\) \(f(f(f(x_0)))\text{,}\) etc. We can even find how far away from the fixed point we are, see the exercises. The idea of the proof is therefore useful in real-world applications.

### Subsection 7.6.2 Picard's theorem

Let us start with the metric space to which we will apply the fixed point theorem. That is, the space \(C([a,b],\R)\) of Example 7.1.8, the space of continuous functions \(f \colon [a,b] \to \R\) with the metric

Convergence in this metric is convergence in uniform norm, or in other words, uniform convergence. Therefore, \(C([a,b],\R)\) is a complete metric space, see Proposition 7.4.5.

Consider now the ordinary differential equation

Given some \(x_0, y_0\text{,}\) we are looking for a function \(y=f(x)\) such that \(f(x_0) = y_0\) and such that

To avoid having to come up with many names, we often simply write \(y' = F(x,y)\) for the equation and \(y(x)\) for the solution.

The simplest example is the equation \(y' = y\text{,}\) \(y(0) = 1\text{.}\) The solution is the exponential \(y(x) = e^x\text{.}\) A somewhat more complicated example is \(y' = -2xy\text{,}\) \(y(0) = 1\text{,}\) whose solution is the Gaussian \(y(x) = e^{-x^2}\text{.}\)

A subtle issue is how long does the solution exist. Consider the equation \(y' = y^2\text{,}\) \(y(0)=1\text{.}\) Then \(y(x) = \frac{1}{1-x}\) is a solution. While \(F\) is a reasonably “nice” function and in particular it exists for all \(x\) and \(y\text{,}\) the solution “blows up” at \(x=1\text{.}\) For more examples related to Picard's theorem, see Section 6.3.

It may be strange that we are looking in \(C([a,b],\R)\) for a differentiable function, but the idea is to consider the corresponding integral equation

To solve this integral equation we only need a continuous function, and in some sense our task should be easier—we have more candidate functions to try. This way of thinking is quite typical when solving differential equations.

#### Theorem 7.6.3. Picard's theorem on existence and uniqueness.

Let \(I, J \subset \R\) be closed and bounded intervals, let \(I^\circ\) and \(J^\circ\) be their interiors, and let \((x_0,y_0) \in I^\circ \times J^\circ\text{.}\) Suppose \(F \colon I \times J \to \R\) is continuous and Lipschitz in the second variable, that is, there exists an \(L \in \R\) such that

Then there exists an \(h > 0\) and a unique differentiable function \(f \colon [x_0 - h, x_0 + h] \to J \subset \R\) such that

#### Proof.

Without loss of generality assume \(x_0 =0\) (exercise). As \(I \times J\) is compact and \(F(x,y)\) is continuous, it is bounded. So find an \(M > 0\text{,}\) such that \(\abs{F(x,y)} \leq M\) for all \((x,y) \in I\times J\text{.}\) Pick \(\alpha > 0\) such that \([-\alpha,\alpha] \subset I\) and \([y_0-\alpha, y_0 + \alpha] \subset J\text{.}\) Let

Note \([-h,h] \subset I\text{.}\) Let

That is, \(Y\) is the space of continuous functions on \([-h,h]\) with values in \(J\text{,}\) in other words, exactly those functions where \(F\bigl(x,f(x)\bigr)\) makes sense. The metric used is the standard metric given above.

It is left as an exercise to show that \(Y\) is closed (because \(J\) is closed). The space \(C([-h,h],\R)\) is complete, and a closed subset of a complete metric space is a complete metric space with the subspace metric, see Proposition 7.4.6. So \(Y\) with the subspace metric is a complete metric space.

Define a mapping \(T \colon Y \to C([-h,h],\R)\) by

It is an exercise to check that \(T\) is well-defined, and that \(T(f)\) really is in \(C([-h,h],\R)\text{.}\)

Let \(f \in Y\) and \(\abs{x} \leq h\text{.}\) As \(F\) is bounded by \(M\text{,}\) we have

So \(T(f)([-h,h]) \subset [y_0-\alpha,y_0+\alpha] \subset J\text{,}\) and \(T(f) \in Y\text{.}\) In other words, \(T(Y) \subset Y\text{.}\) From now on, we consider \(T\) as a mapping of \(Y\) to \(Y\text{.}\)

We claim \(T \colon Y \to Y\) is a contraction. First, for \(x \in [-h,h]\) and \(f,g \in Y\text{,}\) we have

Therefore,

We chose \(M > 0\) and so \(\frac{L\alpha}{M+L\alpha} < 1\text{.}\) The claim that \(T\) is a contraction is proved by taking supremum over \(x \in [-h,h]\) of the left-hand side above to obtain \(d\bigl(T(f),T(g)\bigr) \leq \frac{L\alpha}{M+L\alpha} \, d(f,g)\text{.}\)

We apply the fixed point theorem (Theorem 7.6.2) to find a unique \(f \in Y\) such that \(T(f) = f\text{,}\) that is,

By the fundamental theorem of calculus (Theorem 5.3.3), \(T(f) = f\) is differentiable, its derivative is \(F\bigl(x,f(x)\bigr)\) and \(T(f)(0) = y_0\text{.}\) Differentiable functions are continuous, so \(f\) is the unique differentiable function \(f \colon [-h,h] \to J\) such that \(f'(x) = F\bigl(x,f(x)\bigr)\) and \(f(0) = y_0\text{.}\)

### Subsection 7.6.3 Exercises

For more exercises related to Picard's theorem see Section 6.3.

#### Exercise 7.6.1.

Suppose \(J\) is a closed and bounded interval, and let \(Y := \bigl\{ f \in C([-h,h],\R) : f([-h,h]) \subset J \bigr\}\text{.}\) Show that \(Y \subset C([-h,h],\R)\) is closed. Hint: \(J\) is closed.

#### Exercise 7.6.2.

In the proof of Picard's theorem, show that if \(f \colon [-h,h] \to J\) is continuous, then \(F\bigl(t,f(t)\bigr)\) is continuous on \([-h,h]\) as a function of \(t\text{.}\) Use this to show that

is well-defined and that \(T(f) \in C([-h,h],\R)\text{.}\)

#### Exercise 7.6.3.

Prove that in the proof of Picard's theorem, the statement “Without loss of generality assume \(x_0 = 0\)” is justified. That is, prove that if we know the theorem with \(x_0 = 0\text{,}\) the theorem is true as stated.

#### Exercise 7.6.4.

Let \(F \colon \R \to \R\) be defined by \(F(x) := kx + b\) where \(0 < k < 1\text{,}\) \(b \in \R\text{.}\)

Show that \(F\) is a contraction.

Find the fixed point and show directly that it is unique.

#### Exercise 7.6.5.

Let \(f \colon [0,\nicefrac{1}{4}] \to [0,\nicefrac{1}{4}]\) be defined by \(f(x) := x^2\text{.}\)

Show that \(f\) is a contraction, and find the best (smallest) \(k\) from the definition that works.

Find the fixed point and show directly that it is unique.

#### Exercise 7.6.6.

Find an example of a contraction \(f \colon X \to X\) of a non-complete metric space \(X\) with no fixed point.

Find a 1-Lipschitz map \(f \colon X \to X\) of a complete metric space \(X\) with no fixed point.

#### Exercise 7.6.7.

Consider \(y' =y^2\text{,}\) \(y(0)=1\text{.}\) Use the iteration scheme from the proof of the contraction mapping principle. Start with \(f_0(x) = 1\text{.}\) Find a few iterates (at least up to \(f_2\)). Prove that the pointwise limit of \(f_n\) is \(\frac{1}{1-x}\text{,}\) that is, for every \(x\) with \(\abs{x} < h\) for some \(h > 0\text{,}\) prove that \(\lim\limits_{n\to\infty}f_n(x) = \frac{1}{1-x}\text{.}\)

#### Exercise 7.6.8.

Suppose \(f \colon X \to X\) is a contraction for \(k < 1\text{.}\) Suppose you use the iteration procedure with \(x_{n+1} := f(x_n)\) as in the proof of the fixed point theorem. Suppose \(x\) is the fixed point of \(f\text{.}\)

Show that \(d(x,x_n) \leq k^n d(x_1,x_0) \frac{1}{1-k}\) for all \(n \in \N\text{.}\)

Suppose \(d(y_1,y_2) \leq 16\) for all \(y_1,y_2 \in X\text{,}\) and \(k= \nicefrac{1}{2}\text{.}\) Find an \(N\) such that starting at any given point \(x_0 \in X\text{,}\) \(d(x,x_n) \leq 2^{-16}\) for all \(n \geq N\text{.}\)

#### Exercise 7.6.9.

Let \(f(x) := x-\frac{x^2-2}{2x}\) (you may recognize Newton's method for \(\sqrt{2}\)).

Prove \(f\bigl([1,\infty)\bigr) \subset [1,\infty)\text{.}\)

Prove that \(f \colon [1,\infty) \to [1,\infty)\) is a contraction.

Apply the fixed point theorem to find an \(x \geq 1\) such that \(f(x) = x\text{,}\) and show that \(x = \sqrt{2}\text{.}\)

#### Exercise 7.6.10.

Suppose \(f \colon X \to X\) is a contraction, and \((X,d)\) is a metric space with the discrete metric, that is, \(d(x,y) = 1\) whenever \(x \not= y\text{.}\) Show that \(f\) is constant, that is, there exists a \(c \in X\) such that \(f(x) = c\) for all \(x \in X\text{.}\)

#### Exercise 7.6.11.

Suppose \((X,d)\) is a nonempty complete metric space, \(f \colon X \to X\) is a mapping, and denote by \(f^n\) the \(n\)th iterate of \(f\text{.}\) Suppose for every \(n\) there exists a \(k_n > 0\) such that \(d\bigl(f^n(x),f^n(y)\bigr) \leq k_n \, d(x,y)\) for all \(x,y \in X\text{,}\) where \(\sum_{j=1}^\infty k_n < \infty\text{.}\) Prove that \(f\) has a unique fixed point in \(X\text{.}\)

^{ 2 }(1892–1945) who first stated the theorem in 1922.

`https://en.wikipedia.org/wiki/Stefan_Banach`