Part VIII · Foundations Chapter 55 of 60
Functional analysis
A function is a point of a space with infinitely many dimensions. It has lengths, angles and projections, Pythagoras’ theorem with infinitely many legs gives π²/6 once again, and the fixed point of a contraction draws a fern. But some familiar things break at this border.
Builds on: 54 · Measure and the Lebesgue integral
You will learn
- measure vectors and functions with different norms and recognise a norm by its convex unit ball
- see a Fourier series as an expansion in an orthonormal basis and derive sums like 1 + 1/4 + 1/9 + … from Parseval’s identity
- prove Banach’s contraction theorem and understand what breaks in infinite dimensions: comparability of norms, compactness of the ball, eigenvalues
The last chapter ended with a promise: functions can be regarded as points of a space with infinitely many dimensions. Let’s check that this isn’t a pretty metaphor but a working tool. What’s the angle between the functions $x$ and $\sin x$? The question sounds like a joke, but it has an exact answer: about $38.8^\circ$. And what’s the length of the “vector” $\left(1, \frac12, \frac13, \frac14, \dots\right)$ with infinitely many coordinates? It’s $\frac{\pi}{\sqrt6} \approx 1.2825$, and by the end of the chapter we’ll prove it with Pythagoras’ theorem.
Such questions were asked seriously at the start of the twentieth century by David Hilbert in Göttingen, Frigyes Riesz in Hungary, Maurice Fréchet in Paris, and in the 1920s and 1930s by a group of mathematicians in Lwów who preferred working not at the university but at the tables of the Scottish Café. Their questions grew into a science with an unfortunate name: functional analysis. Its subject is spaces whose points are functions, and maps between such spaces.
Let’s go there on an excursion and take along some baggage from linear algebra: everything we learned about vectors in the chapters on vectors, matrices and orthogonality. At the border of infinite dimension it will be inspected. Here’s what we’re carrying:
| No. | What’s true in $\mathbb R^n$ |
|---|---|
| 1 | All sensible ways of measuring length differ by at most a constant factor. |
| 2 | The squared length equals the sum of the squared coordinates in an orthonormal basis (Pythagoras’ theorem). |
| 3 | The point of a subspace nearest to a given point is the foot of the perpendicular. |
| 4 | A Cauchy sequence always converges. |
| 5 | A linear map of a space to itself that sends nothing to zero is invertible; a square matrix has eigenvalues. |
| 6 | Every bounded sequence has a convergent subsequence (Bolzano–Weierstrass). |
Which of these will be let through and which held back, we’ll find out along the way. At the end we’ll check the list.
How many lengths are there
A taxi in a city with a rectangular grid of streets drives from the crossroads $(0, 0)$ to the crossroads $(3, 4)$: three blocks east and four north, seven in all, however it weaves. A helicopter flies in a straight line and covers $\sqrt{3^2 + 4^2} = 5$. A chess king gets there in four moves: each move it shifts diagonally until it lines up in one of the coordinates. Three honest answers to “how far”, and each is good for its own purpose.
What do all these lengths have in common? Three properties without which the word “length” loses its meaning.
A norm on a vector space is a function $\|x\|$ that assigns a number to each vector and has three properties: $\|x\| \ge 0$, with $\|x\| = 0$ only for the zero vector; $\|cx\| = |c|\,\|x\|$ for any number $c$; and the triangle inequality $\|x + y\| \le \|x\| + \|y\|$. A space together with a norm is called a normed space, and the distance between vectors in it is $\|x - y\|$.
A norm is most easily seen through its unit ball, the set of vectors with $\|x\| \le 1$. For the taxi it’s a diamond, for the helicopter a disc, for the king a square. The norm of any point can be read off the ball: blow the ball up or shrink it so that its boundary passes through the point, and the scaling factor is the norm.
At $p = \frac12$ the ball turns into a four-pointed star, and the formula stops giving a norm. Check it on the vectors $e_1 = (1, 0)$ and $e_2 = (0, 1)$: both have “length” $1$, but their sum has $\|(1, 1)\|_{1/2} = (1 + 1)^2 = 4 > 1 + 1$. It’s a matter of the ball’s shape: the star has dents, and that’s the whole reason.
Let a function $N(x) \ge 0$ on a vector space vanish only at $x = 0$ and be homogeneous: $N(cx) = |c|\,N(x)$. Then $N$ satisfies the triangle inequality if and only if the set $B = \{x : N(x) \le 1\}$ is convex, that is, contains the segment joining any two of its points.
The trick is to shrink $u$ and $v$ to unit length, take a point on the chord between them, and then stretch it back. The ball in the drawing is deliberately lopsided: the proof works for any convex ball.
Now checking that the formula $\|x\|_p$ gives a norm for $p \ge 1$ is easy: it’s enough to make sure its ball is convex. The hardest property, the triangle inequality, is called Minkowski’s inequality: Hermann Minkowski used it in his Geometry of Numbers (1896).
For $p \ge 1$ and any $x, y \in \mathbb R^n$ we have $\|x + y\|_p \le \|x\|_p + \|y\|_p$. So $\|\cdot\|_p$ is a norm. For $0 < p < 1$ this is false.
By the theorem on convex balls we need to check that the set $B_p = \{x : |x_1|^p + \dots + |x_n|^p \le 1\}$ is convex; the other two properties of a norm are checked directly for $\|x\|_p$: the sum of powers of absolute values is zero only for the zero vector, and the factor $|c|^p$ comes out from under the root as $|c|$. The function $\varphi(s) = s^p$ on the ray $s \ge 0$ is convex for $p \ge 1$: its second derivative $p(p - 1)s^{p-2}$ is non-negative (the test from chapter 27), so $\varphi(ts + (1 - t)r) \le t\varphi(s) + (1 - t)\varphi(r)$ for $0 \le t \le 1$. Take $x, y \in B_p$ and such a $t$. For each coordinate $|tx_i + (1 - t)y_i| \le t|x_i| + (1 - t)|y_i|$ by the triangle inequality for numbers, and $\varphi$ is increasing, so
$$|tx_i + (1 - t)y_i|^p \le \bigl(t|x_i| + (1 - t)|y_i|\bigr)^p \le t|x_i|^p + (1 - t)|y_i|^p.$$
Adding over all $i$, we get $\sum|tx_i + (1 - t)y_i|^p \le t\sum|x_i|^p + (1 - t)\sum|y_i|^p \le t + (1 - t) = 1$: the point of the segment lies in $B_p$. For $p = \infty$ the ball is the cube $\max|x_i| \le 1$, which is convex. For $0 < p < 1$ the example with $e_1$ and $e_2$ above violates the triangle inequality.
In the plane all these norms resemble one another: the balls sit one inside another, like nesting dolls.
For every $x \in \mathbb R^n$ we have $\|x\|_\infty \le \|x\|_2 \le \|x\|_1 \le n\,\|x\|_\infty$.
The idea: an inequality between norms is the same as the nesting of balls. The larger the norm, the smaller its unit ball. The drawing is for $n = 2$.
In the infinite-dimensional world this idyll ends. Take a sequence of $n$ ones followed by nothing but zeros: $(1, 1, \dots, 1, 0, 0, \dots)$. Its norms are $\|\cdot\|_\infty = 1$, $\|\cdot\|_2 = \sqrt n$, $\|\cdot\|_1 = n$. For $n$ equal to a million, that’s $1$, $1000$ and a million. No constant $C$ gives $\|x\|_1 \le C\,\|x\|_\infty$ for all such vectors at once. The first item of baggage is held back: in infinite dimensions different norms describe genuinely different worlds, and whether a sequence converges depends on which norm you use.
Find $\|x\|_2$ for $x = (2, -6, 3)$. For comparison, work out $\|x\|_1$ and $\|x\|_\infty$ too.
$\|x\|_2 = \sqrt{4 + 36 + 9} = \sqrt{49} = 7$. Also $\|x\|_1 = 2 + 6 + 3 = 11$ and $\|x\|_\infty = 6$. The chain $6 \le 7 \le 11 \le 3 \cdot 6$ holds.
Functions become points
Let’s take the first step across the border: allow vectors to have infinitely many coordinates, $x = (x_1, x_2, x_3, \dots)$. They can still be added and multiplied by numbers coordinatewise. The length can also be written down by Pythagoras, $\|x\|^2 = x_1^2 + x_2^2 + \dots$, only now it’s a series, and it may diverge.
The space $\ell^2$ (“little ell two”) consists of the sequences $(x_1, x_2, \dots)$ with $\sum x_n^2 < \infty$. Its inner product is $\langle x, y\rangle = \sum x_ny_n$, and the length is $\|x\| = \sqrt{\langle x, x\rangle}$.
The sequence $\left(1, \frac12, \frac13, \dots\right)$ lies in $\ell^2$: the sum of squares $\sum\frac1{n^2}$ converges; that’s the Basel problem from the chapter on series. But $\left(1, \frac1{\sqrt2}, \frac1{\sqrt3}, \dots\right)$ doesn’t, though its coordinates also tend to zero: the sum of their squares is the harmonic series, which diverges. The whole definition rests on two checks. The sum of two vectors of $\ell^2$ is again in $\ell^2$, because $(a + b)^2 \le 2a^2 + 2b^2$. The series $\sum x_ny_n$ converges absolutely, because $|x_ny_n| \le \frac12(x_n^2 + y_n^2)$. The similar spaces $\ell^1$ (where $\sum|x_n|$ converges) and $\ell^\infty$ (bounded coordinates) are built the same way, but they have no inner product; the parallelogram theorem below will say why.
The same happens with functions on the segment $[-\pi, \pi]$, only a function has as many “coordinates” as the segment has points, and the sum becomes an integral. The inner product of functions $\langle f, g\rangle = \int_{-\pi}^{\pi}f(x)g(x)\,dx$ appeared back in the chapter on Fourier series. What all the examples have in common is three properties.
An inner product space is a vector space in which any two vectors are assigned a number $\langle x, y\rangle$ with $\langle x, y\rangle = \langle y, x\rangle$; $\langle ax + by, z\rangle = a\langle x, z\rangle + b\langle y, z\rangle$; and $\langle x, x\rangle > 0$ for $x \ne 0$. Length in it is $\|x\| = \sqrt{\langle x, x\rangle}$.
The proof of the Cauchy–Schwarz inequality $|\langle x, y\rangle| \le \|x\|\,\|y\|$ in the chapter on orthogonality relied only on these three properties, so it holds in any such space, and with it the triangle inequality: $\|x + y\|^2 = \|x\|^2 + 2\langle x, y\rangle + \|y\|^2 \le \|x\|^2 + 2\|x\|\,\|y\| + \|y\|^2 = (\|x\| + \|y\|)^2$. So $\sqrt{\langle x, x\rangle}$ is a norm, and the space of functions has both distances and angles.
The angle between functions
On $[-\pi, \pi]$ we have $\|x\|^2 = \int_{-\pi}^{\pi}x^2\,dx = \frac{2\pi^3}{3}$, $\|\sin x\|^2 = \pi$ and $\langle x, \sin x\rangle = \bigl[\sin x - x\cos x\bigr]_{-\pi}^{\pi} = 2\pi$. So
$$\cos\theta = \frac{2\pi}{\sqrt{2\pi^3/3}\,\sqrt\pi} = \frac{\sqrt6}{\pi} \approx 0.7797, \qquad \theta \approx 38.8^\circ.$$
The distance between these functions is $\|x - \sin x\| = \sqrt{\frac{2\pi^3}{3} - 4\pi + \pi} \approx 3.354$. And the function of the form $c\sin x$ nearest to $x$ is obtained at $c = \frac{\langle x, \sin x\rangle}{\langle \sin x, \sin x\rangle} = 2$: it’s the projection onto a line, as in chapter 39.
With functions there’s one subtlety. If $f$ is non-zero at a single point only, then $\int f^2 = 0$, and the third property of the inner product breaks. The way out was suggested by the chapter on measure: functions that agree almost everywhere, that is, everywhere except on a set of measure zero, are regarded as the same point of the space.
The space $L^2$ on a segment $[a, b]$ consists of the measurable functions whose Lebesgue integral $\int_a^b |f|^2$ is finite; functions equal almost everywhere are regarded as one element. The inner product is $\langle f, g\rangle = \int_a^b fg$.
Is there an inner product that produces the norm $\|\cdot\|_1$ or $\|\cdot\|_\infty$? There’s a simple test.
In any inner product space $\|u + v\|^2 + \|u - v\|^2 = 2\|u\|^2 + 2\|v\|^2$: the sum of the squares of the diagonals of a parallelogram equals the sum of the squares of its sides.
Expand the brackets using linearity and symmetry: $\|u \pm v\|^2 = \langle u \pm v, u \pm v\rangle = \|u\|^2 \pm 2\langle u, v\rangle + \|v\|^2$. Adding the two equations, the terms $\pm2\langle u, v\rangle$ cancel, leaving $2\|u\|^2 + 2\|v\|^2$.
For $\|\cdot\|_p$ let’s test the law on $u = e_1$, $v = e_2$: the left side is $\|(1, 1)\|_p^2 + \|(1, -1)\|_p^2 = 2 \cdot 2^{2/p}$, the right side $4$. Equality holds only when $2^{2/p} = 2$, that is, at $p = 2$. So of all the norms $\|\cdot\|_p$ only the Euclidean one comes from an inner product, and only it has angles. In the widget above the “parallelogram” line turns green only at $p = 2$.
Find the inner product $\langle x, \sin 2x\rangle$ on the segment $[-\pi, \pi]$. The answer can be written using $\pi$, for example 2pi.
Integrate by parts: $\int_{-\pi}^{\pi}x\sin 2x\,dx = \Bigl[-\frac{x\cos 2x}{2}\Bigr]_{-\pi}^{\pi} + \frac12\int_{-\pi}^{\pi}\cos 2x\,dx = -\frac{\pi}{2} - \frac{\pi}{2} + 0 = -\pi$. The angle between $x$ and $\sin 2x$ is obtuse: over most of the segment the saw and the second harmonic point in opposite directions.
Pythagoras with infinitely many legs
In chapter 39 the coordinates of a vector in an orthonormal basis were found without any systems of equations: $c_k = \langle x, e_k\rangle$. In an infinite-dimensional space a basis of finitely many vectors can’t be built, but there can be infinitely many mutually perpendicular unit vectors.
Vectors $e_1, e_2, e_3, \dots$ of an inner product space form an orthonormal system if $\langle e_i, e_j\rangle = 0$ for $i \ne j$ and $\|e_i\| = 1$. The numbers $c_k = \langle f, e_k\rangle$ are called the coordinates (or Fourier coefficients) of the vector $f$ with respect to this system.
In $\ell^2$ such a system is the vectors $e_1 = (1, 0, 0, \dots)$, $e_2 = (0, 1, 0, \dots)$ and so on. In $L^2[-\pi, \pi]$ it’s the harmonics from the chapter on Fourier series, divided by their lengths:
$$\frac{1}{\sqrt{2\pi}},\quad \frac{\cos x}{\sqrt\pi},\quad \frac{\sin x}{\sqrt\pi},\quad \frac{\cos 2x}{\sqrt\pi},\quad \frac{\sin 2x}{\sqrt\pi},\quad \dots$$
Their mutual orthogonality is a theorem from chapter 33, and dividing by $\sqrt\pi$ and $\sqrt{2\pi}$ makes the lengths one. The coordinates of a function in this system differ from the coefficients $a_n$, $b_n$ only by a factor: $\langle f, \frac{\cos nx}{\sqrt\pi}\rangle = \sqrt\pi\,a_n$. A Fourier series turns out to be the expansion of a vector in a basis, the same as writing an arrow in terms of $\vec\imath$ and $\vec\jmath$, only with infinitely many axes.
The nearest point theorem from chapter 39 also used only the properties of the inner product. So the best approximation of a vector $f$ by combinations of $e_1, \dots, e_N$ is its projection $P_Nf = c_1e_1 + \dots + c_Ne_N$, and in the space of functions that’s a partial sum of the Fourier series. Hence the first estimate.
If $e_1, e_2, \dots$ is an orthonormal system and $c_k = \langle f, e_k\rangle$, then for every $N$
$$\|f - P_Nf\|^2 = \|f\|^2 - (c_1^2 + \dots + c_N^2), \qquad\text{and so}\qquad \sum_{k=1}^{\infty}c_k^2 \le \|f\|^2.$$
The idea: $f$, its projection and the perpendicular form a right triangle, and the leg lying in the plane splits by Pythagoras once more. The drawing is for $N = 2$ in three-dimensional space; in any other space everything is written with the same formulas.
Bessel’s inequality says the coordinates can’t carry away more energy than the signal has. How much they actually carry away is shown by the next widget. The strip under the graph is the squared length $\|f\|^2$ cut into the squared coordinates $c_k^2$; the hatched remainder is the squared error.
For every signal the strip fills up completely: the error goes to zero. If this happens for every vector, Bessel’s inequality becomes an equality.
An orthonormal system is called complete (or an orthonormal basis of an infinite-dimensional space) if Parseval’s identity holds for every vector $f$, that is, $\|f - P_Nf\| \to 0$ and the series $\sum c_ke_k$ converges to $f$ in norm.
The identity is named after Marc-Antoine Parseval, who wrote down a related statement about series as early as 1799, without a rigorous proof. For the trigonometric system and all functions in $L^2$ it holds, but we’ll prove it for the functions we worked with in chapter 33, piecewise smooth ones. That will be enough to get $\frac{\pi^2}{6}$ for the third time in the course.
If a $2\pi$-periodic function $f$ is piecewise smooth, then $\frac1\pi\int_{-\pi}^{\pi}f^2\,dx = \frac{a_0^2}{2} + \sum_{n \ge 1}(a_n^2 + b_n^2)$, that is, the partial sums $S_Nf$ of its Fourier series converge to it in norm: $\|f - S_Nf\| \to 0$.
The trick is to prove the identity first for continuous functions, where the partial sums approach uniformly, and then to replace a jump by a steep ramp. The error from this replacement is small, and the best approximation is no worse than any other. The drawing is for the saw $f(x) = x$ and $N = 6$.
The Basel problem in one line
For the saw $f(x) = x$ Parseval’s identity gives
$$\frac1\pi\int_{-\pi}^{\pi}x^2\,dx = \sum_{n=1}^{\infty}\frac{4}{n^2}, \qquad\text{that is,}\qquad \frac{2\pi^2}{3} = 4\sum_{n=1}^{\infty}\frac1{n^2}, \qquad \sum_{n=1}^{\infty}\frac1{n^2} = \frac{\pi^2}{6}.$$
Euler got this by expanding the sine as an infinite product (chapter 30), and in chapter 33 the answer came from Dirichlet’s theorem at one point. Here it came out of geometry: the length of the saw measured directly by an integral equals the length assembled from infinitely many perpendicular legs. Along the way we’ve found the length of the vector from the start of the chapter: $\left\|\left(1, \frac12, \frac13, \dots\right)\right\| = \sqrt{\pi^2/6} = \frac{\pi}{\sqrt6}$.
For $f(x) = x^2$ on $[-\pi, \pi]$ the Fourier coefficients are $a_0 = \frac{2\pi^2}{3}$, $a_n = \frac{4(-1)^n}{n^2}$, $b_n = 0$ (chapter 33). Use Parseval’s identity to find the sum $\sum_{n=1}^{\infty}\frac1{n^4}$. Write the answer using $\pi$, for example pi^4/90.
The left side is $\frac1\pi\int_{-\pi}^{\pi}x^4\,dx = \frac{2\pi^4}{5}$. The right side is $\frac{a_0^2}{2} + \sum a_n^2 = \frac{2\pi^4}{9} + 16\sum\frac1{n^4}$. Hence $16\sum\frac1{n^4} = \frac{2\pi^4}{5} - \frac{2\pi^4}{9} = \frac{8\pi^4}{45}$ and $\sum\frac1{n^4} = \frac{\pi^4}{90} \approx 1.0823$: Euler’s second result from the same chapter 30.
For the saw $\|x - S_N\| \to 0$. Does it follow that $S_N(x) \to x$ at every point of the segment $[-\pi, \pi]$?
All the sines vanish at the point $\pi$, so $S_N(\pi) = 0$ for every $N$, while $f(\pi) = \pi$ (or $-\pi$, depending on how it’s extended). Convergence in the $L^2$ norm is convergence of integrals, not of values: a single point, or indeed any set of measure zero, has no effect on it. The strongest result on pointwise convergence, Carleson’s theorem (1966), was mentioned in chapter 33.
A function is a point of a space; its Fourier coefficients are its coordinates in an orthonormal basis; a partial sum of the series is a projection onto a finite-dimensional subspace; Parseval’s identity is Pythagoras’ theorem with infinitely many legs. Items 2 and 3 of the baggage have been let through the border, but on a condition: the basis must be complete.
The Scottish Café
In the summer of 1916 the Kraków mathematician Hugo Steinhaus was walking in the city’s Planty park and heard two young men on a bench mention Lebesgue. He sat down with them. One of the two was Stefan Banach, a self-taught student who never finished his engineering degree. Steinhaus offered him a problem he’d been struggling with himself, and a few days later Banach brought a solution. According to Steinhaus, Banach was his greatest mathematical discovery.
In 1920 Banach defended his thesis in Lwów; it was published in 1922. In it the spaces that now bear his name were described by axioms for the first time: a vector space, a norm, and one extra requirement, completeness. In 1932 his book Theory of Linear Operations came out, and functional analysis was learned from it for the next half-century.
The Lwów school worked in cafés. The favourite was the Scottish Café, where problems were written in pencil straight onto the marble tables, and the cleaner wiped them off every evening. So Banach’s wife bought a thick notebook, which the waiter kept and handed over on request. From 1935 to 1941 Banach, Steinhaus, Stanisław Mazur, Stanisław Ulam and their guests wrote 193 problems into the “Scottish Book”. Prizes were set for solutions, from a glass of beer to a bottle of wine. In 1936 Mazur promised a live goose for problem no. 153. It was solved in 1972 by a young Swede, Per Enflo, who came to Warsaw, and Mazur presented him with the goose. The problem was closely linked to a question from Banach’s book: does every “good enough” (separable) Banach space have a basis, a sequence of vectors in which every vector expands uniquely as a convergent series? Enflo built a space with no basis and answered both questions.
So what is completeness? In the chapter on rigorous analysis the real numbers differed from the rationals in that every Cauchy sequence, one whose terms get arbitrarily close to one another, converges. In a normed space the definition is the same, only distance is measured by the norm: a sequence $x_1, x_2, \dots$ is a Cauchy sequence if for every $\varepsilon > 0$ there’s an index after which $\|x_m - x_n\| < \varepsilon$.
A normed space is complete if every Cauchy sequence in it converges to an element of the space. A complete normed space is called a Banach space, and a complete inner product space a Hilbert space.
Incomplete spaces are met at every step. Take the continuous functions on $[-1, 1]$ with the norm $\|f\| = \sqrt{\int f^2}$ and the sequence of “steps with a slope”: $f_n(x) = -1$ for $x \le -\frac1n$, $f_n(x) = 1$ for $x \ge \frac1n$ and $f_n(x) = nx$ in between. For $m > n$ the functions $f_m$ and $f_n$ differ only on the interval $\left(-\frac1n, \frac1n\right)$, and there by at most $1$, so $\|f_m - f_n\|^2 \le \frac2n$: the sequence is a Cauchy sequence. But it converges to the discontinuous step $\operatorname{sgn}x$: $\|f_n - \operatorname{sgn}\|^2 = 2\int_0^{1/n}(1 - nx)^2\,dx = \frac{2}{3n} \to 0$. There’s no continuous limit: it would coincide with the step almost everywhere, and a continuous function can’t equal $-1$ almost everywhere to the left of zero and $1$ almost everywhere to the right. The space of continuous functions has a hole where the step should be.
Completeness is needed for limits to work: without it, an object built by iterations may turn out to be a hole. For sequences it’s not hard to check.
Every Cauchy sequence of vectors $x^{(1)}, x^{(2)}, \dots$ in $\ell^2$ converges in norm to some vector $x \in \ell^2$.
The idea: first find a candidate for the limit coordinate by coordinate, using the completeness of the line, and then estimate the tails through finite sums, for which the limit carries over without fuss.
The space $L^2$ is complete too, and that’s why it was defined through the Lebesgue integral and classes of functions equal almost everywhere: the Riemann integral would have left holes. This is the Riesz–Fischer theorem (1907), and its proof is a good occasion to apply the theorems on limits under the integral sign from chapter 54.
The space $L^2[a, b]$ is complete: every sequence that’s Cauchy in the norm $\|f\| = \sqrt{\int|f|^2}$ converges to some function of $L^2$.
The idea: from a Cauchy sequence choose a subsequence whose terms get close so fast that its telescoping sum converges almost everywhere, and then apply the dominated convergence theorem.
Let $(f_n)$ be a Cauchy sequence. Choose indices $n_1 < n_2 < \dots$ with $\|f_{n_{k+1}} - f_{n_k}\| < 2^{-k}$: for each $k$ there’s an index after which all pairwise distances are less than $2^{-k}$, and we take $n_k$ beyond this index and beyond the previous $n_{k-1}$. Put $G_K = |f_{n_1}| + \sum_{k=1}^{K-1}|f_{n_{k+1}} - f_{n_k}|$. By the triangle inequality in $L^2$, $\|G_K\| \le \|f_{n_1}\| + \sum 2^{-k} < \|f_{n_1}\| + 1 = A$.
The functions $G_K$ are non-negative and increase with $K$; call their limit $G$ (at some points it may be infinite). By the monotone convergence theorem (chapter 54) $\int G^2 = \lim\int G_K^2 \le A^2$. So $G^2$ is integrable, and $G$ is finite almost everywhere. At each such point the series $f_{n_1}(x) + \sum_k\bigl(f_{n_{k+1}}(x) - f_{n_k}(x)\bigr)$ converges absolutely, and its partial sums are $f_{n_K}(x)$. Call the limit $f(x)$ (on the set of measure zero where $G = \infty$, put $f = 0$).
From $|f_{n_K}| \le G_K \le G$ it follows that $|f| \le G$, so $f \in L^2$, and $|f - f_{n_K}|^2 \le 4G^2$, an integrable dominating function. The integrand tends to zero almost everywhere, and by Lebesgue’s dominated convergence theorem $\|f - f_{n_K}\| \to 0$. Finally, a Cauchy sequence with a convergent subsequence converges itself: $\|f_n - f\| \le \|f_n - f_{n_K}\| + \|f_{n_K} - f\|$, and both terms are small for large $n$ and $K$.
Together with Parseval’s identity this gives a strong consequence. Each function of $L^2[-\pi, \pi]$ corresponds to the sequence of its coefficients in $\ell^2$, and conversely: whatever sequence with a finite sum of squares you take, by completeness the series $\sum c_ke_k$ converges to a function with those coefficients. Lengths and angles are preserved. The space of signals and the space of sequences are one and the same Hilbert space written in two coordinate systems. This fact will turn up in physics a few pages from now.
A map on the table
Lay on the table a map of the city you’re sitting in. The claim is that exactly one point of the map lies directly over the place in the city that it depicts. It doesn’t matter how the map is turned or where it lies, as long as it’s entirely inside the city. Check it on a toy city.
What’s going on here in the language of this chapter? Each point $x$ of the city is assigned a point $T(x)$: the place over which the image of $x$ on the small map lies. The map $T$ shrinks all distances by the same factor: the factor by which the map is smaller than the city. The pin is a point with $T(x) = x$. To talk about such maps in general, all that’s needed is distance.
A metric space is a set with a distance $d(x, y) \ge 0$ that’s zero only when $x = y$, is symmetric, $d(x, y) = d(y, x)$, and satisfies the triangle inequality $d(x, z) \le d(x, y) + d(y, z)$. Cauchy sequences and completeness are defined as for normed spaces. A map $T$ of a metric space to itself is called a contraction if there’s a number $q < 1$ with $d(Tx, Ty) \le q\,d(x, y)$ for all $x$ and $y$. A point with $Tx = x$ is called a fixed point.
Every normed space is a metric space with $d(x, y) = \|x - y\|$, but metric spaces can exist without addition too: for example, the set of all shapes in the plane, which we’ll come to shortly.
Let $X$ be a complete metric space and $T\colon X \to X$ a contraction with factor $q < 1$. Then $T$ has a fixed point $x^*$, and only one. For any starting point $x_0$ the sequence $x_{k+1} = T(x_k)$ converges to $x^*$, and $d(x_m, x^*) \le \frac{q^m}{1 - q}\,d(x_0, x_1)$.
The idea: the steps of the iterations shorten in a geometric progression, so the whole remaining path fits into a disc that itself shrinks to a point. Completeness guarantees that there’s something at that point.
The map on the table is a special case: the city with the ordinary distance in the plane is a complete space, and $T$ is a contraction by $q$, where $q$ is the ratio of the scales. The requirement “the map entirely inside the city” is needed so that $T$ maps the city into itself. If the small map hangs over the edge of the table, the theorem promises nothing, and the fixed point may go over the edge.
This theorem has already been at work in the course without introducing itself. The proof of Picard’s theorem in chapter 31 built the solution of a differential equation by the iterations $y_{n+1}(t) = y_0 + \int_{t_0}^tf(s, y_n(s))\,ds$: those are iterations of a contraction in a space of continuous functions. And in chapter 38 the transition matrix contracted distributions in the norm $\|\cdot\|_1$, and the stationary distribution was found as its fixed point.
For $T(x) = \frac x2 + 1$ on the line and $x_0 = 0$: how many iterations does the rate estimate guarantee for the error to be at most $0.001$? Give the smallest such $m$.
Here $q = \frac12$, $x_1 = 1$, $d(x_0, x_1) = 1$, and the estimate is $\frac{(1/2)^m}{1/2} = 2^{1-m}$. We need $2^{1-m} \le 0.001$, that is, $2^{m-1} \ge 1000$. Since $2^9 = 512$ and $2^{10} = 1024$, we get $m - 1 = 10$, $m = 11$. The fixed point is $x^* = 2$, and the actual error $|x_m - 2| = 2^{1-m}$ coincides with the estimate: for this map it’s exact.
A fern as a fixed point
The most unexpected application of the theorem is pictures. Take several contractions of the plane $f_1, \dots, f_k$ and let them act not on points but on whole shapes: assign to a shape $A$ the shape $F(A) = f_1(A) \cup \dots \cup f_k(A)$, the union of its reduced copies. Such a collection of contractions is called an iterated function system, and a shape that coincides with the union of its copies, $F(K) = K$, is its attractor.
To apply Banach’s theorem we need a distance between shapes. It was devised by Felix Hausdorff in 1914.
The Hausdorff distance $d_H(A, B)$ between bounded closed sets in the plane is the smallest $r$ such that each point of $A$ is within $r$ of some point of $B$ and each point of $B$ is within $r$ of some point of $A$. In other words, blowing each set up by $r$ covers the other.
If $f_1, \dots, f_k$ are contractions of the plane with factors $q_1, \dots, q_k$, then for any bounded closed sets $d_H\bigl(F(A), F(B)\bigr) \le q\,d_H(A, B)$, where $q = \max q_i < 1$. So the system has at most one attractor $K$, and if it exists, $F^n(A) \to K$ in the Hausdorff sense for any starting shape $A$, with $d_H(F^n(A), K) \le q^nd_H(A, K)$.
Let $r = d_H(A, B)$. Take a point of $F(A)$; it has the form $f_i(a)$ for some $i$ and $a \in A$. There’s a $b \in B$ with $d(a, b) \le r$, and then $f_i(b) \in F(B)$ and $d(f_i(a), f_i(b)) \le q_ir \le qr$. Likewise each point of $F(B)$ is within $qr$ of $F(A)$. By definition $d_H(F(A), F(B)) \le qr$. If $K$ and $K'$ are two attractors, then $d_H(K, K') = d_H(F(K), F(K')) \le q\,d_H(K, K')$, so $d_H(K, K') = 0$, and closed sets at zero distance coincide. Finally, $d_H(F^n(A), K) = d_H(F^n(A), F^n(K)) \le q^nd_H(A, K)$, applying the estimate $n$ times.
The existence of the attractor also follows from Banach’s theorem: the bounded closed sets of the plane with the Hausdorff distance form a complete metric space. The proof of completeness takes a page and rests on the Bolzano–Weierstrass theorem; it can be found in Michael Barnsley’s book Fractals Everywhere (1988). Barnsley also showed how much fits into a few contractions: four affine maps, that is, 24 numbers, draw a fern.
Look at how the four contractions are built. The first squashes everything into a segment: that’s the stem. The second slightly rotates the whole frond and shrinks it to $0.85$: that gives the top, which repeats the whole. The third and fourth make the lower leaflets on the left and right. Self-similarity here isn’t decoration but the definition: the fern is the shape that equals the union of four reduced copies of itself, and such a shape is unique.
Hilbert’s hotel
Maps between infinite-dimensional spaces are called operators. A linear operator $T$ is bounded if $\|Tx\| \le C\|x\|$ for one and the same $C$ and all $x$; the smallest such $C$ is its norm $\|T\|$, the same greatest stretch as for the norm of a matrix. On $\mathbb R^n$ every linear map is bounded, but in infinite dimensions not so. The derivative $f \mapsto f'$ on smooth functions is linear, but $\|(\sin nx)'\| = n\,\|\sin nx\|$, and no $C$ will do.
The simplest operators on $\ell^2$ are shifts. The right shift $S(x_1, x_2, \dots) = (0, x_1, x_2, \dots)$ and the left shift $L(x_1, x_2, \dots) = (x_2, x_3, \dots)$. This is Hilbert’s hotel from the chapter on infinities: $S$ moves each guest to the next room and frees the first, $L$ evicts the guest from room one and moves the rest down.
The operator $S$ preserves lengths and is one-to-one, but doesn’t map $\ell^2$ onto all of $\ell^2$: the vector $e_1$ is the image of no vector. The operator $L$ maps $\ell^2$ onto all of $\ell^2$, but isn’t one-to-one: $Le_1 = 0$. Moreover $LS = I$, but $SL \ne I$.
$\|Sx\|^2 = 0^2 + x_1^2 + x_2^2 + \dots = \|x\|^2$. If $Sx = Sy$, then $\|x - y\| = \|S(x - y)\| = 0$, and $x = y$. The first coordinate of any $Sx$ is zero, while that of $e_1$ is $1$, so $e_1$ isn’t an image. For $L$: any vector $y$ equals $L(0, y_1, y_2, \dots) = LSy$, so $L$ is onto, and at the same time $LS = I$. But $Le_1 = 0 = L0$, and $SLe_1 = 0 \ne e_1$.
In finite dimensions this can’t happen: by the rank–nullity theorem (chapter 37) a linear map $\mathbb R^n \to \mathbb R^n$ with no kernel is automatically onto, and for square matrices $AB = I$ implies $BA = I$. The fifth item of baggage is held back. Let’s see what’s become of eigenvalues.
For a matrix the eigenvalues are the roots of the characteristic polynomial, and over $\mathbb C$ there always are some. $S$ has none at all: $Sx = \lambda x$ gives $\lambda x_1 = 0$, $\lambda x_2 = x_1$, $\lambda x_3 = x_2$, and so on. If $\lambda \ne 0$, this gives in turn $x_1 = 0$, $x_2 = 0$, …; if $\lambda = 0$, then $Sx = 0$ and $x = 0$. $L$, on the contrary, has a continuum of eigenvalues: for any $|\lambda| < 1$ the vector $(1, \lambda, \lambda^2, \dots)$ lies in $\ell^2$, since $\sum|\lambda|^{2n} = \frac1{1 - |\lambda|^2}$, and $L(1, \lambda, \lambda^2, \dots) = (\lambda, \lambda^2, \dots) = \lambda\,(1, \lambda, \dots)$. To talk sensibly about the “eigenvalues” of such operators, the definition is broadened.
The spectrum of a bounded operator $T$ is the set of numbers $\lambda$ for which the operator $T - \lambda I$ has no bounded inverse. Eigenvalues belong to the spectrum: if $Tx = \lambda x$ with $x \ne 0$, then $T - \lambda I$ sends $x$ to zero and can’t have an inverse. Matrices have no other points of spectrum, and the definition agrees with the spectrum of chapter 38.
The spectra of $S$ and $L$ both coincide with the closed disc $|\lambda| \le 1$ in the complex plane. Yet $S$ has no eigenvalues at all, while the eigenvalues of $L$ are all $\lambda$ with $|\lambda| < 1$.
The eigenvalues have been dealt with above; for $L$ with $|\lambda| \ge 1$ there are no eigenvectors, because $Lx = \lambda x$ forces $x = x_1(1, \lambda, \lambda^2, \dots)$, and for $|\lambda| \ge 1$ that isn’t in $\ell^2$ if $x_1 \ne 0$. The rest rests on one lemma.
The Neumann series lemma. If $\|A\| < 1$, then $I - A$ has the bounded inverse $\sum_{k \ge 0}A^k$. Indeed, $\|A^kx\| \le \|A\|^k\|x\|$, so the series $\sum A^kx$ converges absolutely, and in a complete space an absolutely convergent series converges (its partial sums form a Cauchy sequence). The sum $R$ satisfies $\|Rx\| \le \frac{\|x\|}{1 - \|A\|}$, and $(I - A)R = R - AR = I$ and $R(I - A) = I$, because the series telescope.
$|\lambda| > 1$. We have $\|S\| = \|L\| = 1$, and $T - \lambda I = -\lambda\bigl(I - \frac{T}{\lambda}\bigr)$, where $\bigl\|\frac T\lambda\bigr\| = \frac1{|\lambda|} < 1$. By the lemma this operator is invertible, and $\lambda$ isn’t in the spectrum.
$|\lambda| < 1$. For $L$ these are eigenvalues. For $S$ we show that $e_1$ isn’t in the image of $S - \lambda I$. The equation $(S - \lambda I)x = e_1$ coordinate by coordinate: $-\lambda x_1 = 1$ and $x_{k-1} - \lambda x_k = 0$ for $k \ge 2$. At $\lambda = 0$ the first is impossible. Otherwise $x_1 = -\frac1\lambda$, $x_k = \frac{x_{k-1}}{\lambda}$, that is, $x_k = -\lambda^{-k}$, and $|x_k| \to \infty$: such a vector isn’t in $\ell^2$. So $S - \lambda I$ isn’t onto and has no inverse.
$|\lambda| = 1$. Suppose $T - \lambda I$ does have a bounded inverse $R$. For $\mu$ with $|\mu - \lambda|\,\|R\| < 1$ write $T - \mu I = (T - \lambda I)\bigl(I - (\mu - \lambda)R\bigr)$ (check it by expanding the brackets and remembering $(T - \lambda I)R = I$). The second factor is invertible by the lemma, the first by assumption, so the product is invertible too. But among such $\mu$ there are points inside the disc $|\mu| < 1$, and there $T - \mu I$ is not invertible, as we’ve just shown. A contradiction.
The word “spectrum” in this sense was introduced by Hilbert in his work on integral equations in the early 1900s. According to recollections, he was later amused that the spectra of his operators turned out to be the very spectra that physicists see in the radiation of atoms.
Quantum mechanics
In 1925 Werner Heisenberg described the atom with infinite tables of numbers, matrices, and in 1926 Erwin Schrödinger with wave functions, solutions of a differential equation. The two theories gave the same predictions, and nobody understood why. The answer was formulated by John von Neumann in his book Mathematical Foundations of Quantum Mechanics (1932): the state of a system is a unit vector of a Hilbert space, and a measurable quantity is an operator. Heisenberg’s matrices are the coordinates of operators in $\ell^2$, Schrödinger’s wave functions are vectors of $L^2$, and by the Riesz–Fischer and Parseval theorems these are one and the same space in two coordinate systems.
The possible results of a measurement are points of the operator’s spectrum. If the operator has an orthonormal basis of eigenvectors $e_k$ with eigenvalues $\lambda_k$ and the state is $\psi = \sum c_ke_k$, then the measurement gives $\lambda_k$ with probability $|c_k|^2$ (the Born rule, 1926). The probabilities add up to $\sum|c_k|^2 = \|\psi\|^2 = 1$: that’s Parseval’s identity. And a particle’s position and momentum have no eigenvectors in $L^2$ at all, like our shift $S$, and their spectrum is continuous: for such operators a notion of spectrum broader than that of eigenvalue became not a whim but a necessity.
A ball with room for everyone
The last item of baggage is the Bolzano–Weierstrass theorem (chapter 53): every bounded sequence in $\mathbb R^n$ has a convergent subsequence. The theorems on the maximum of a continuous function, on the comparability of norms and much else rest on it. Sets with this property (every sequence of points of the set has a subsequence converging to a point of the same set) are called compact; in $\mathbb R^n$ the bounded closed sets are compact, in particular the ball. In $\ell^2$ the counterexample lies on the surface: the vectors $e_1, e_2, e_3, \dots$ all have unit length, and the distance between any two of them is $\sqrt{1^2 + 1^2} = \sqrt2$. They don’t cluster anywhere.
In any infinite-dimensional inner product space there’s a sequence of unit vectors with no convergent subsequence.
The idea: an infinite-dimensional space has infinitely many mutually perpendicular unit vectors, and perpendicular unit vectors stand far apart.
The consequence is unpleasant. A continuous function on the unit ball of $\ell^2$ may fail to attain its largest value. Take $F(x) = \sum_n\left(1 - \frac1n\right)x_n^2$. For $\|x\| \le 1$, $x \ne 0$ we have $F(x) = \|x\|^2 - \sum\frac{x_n^2}{n} < 1$, while $F(e_n) = 1 - \frac1n \to 1$. The least upper bound $1$ isn’t attained. In the language of operators $F(x) = \langle Dx, x\rangle$ for the diagonal operator $D = \operatorname{diag}\left(0, \frac12, \frac23, \dots\right)$, and the number $1$ lies in its spectrum but isn’t an eigenvalue: the same story as with the shift.
A bounded sequence in $\ell^2$: $x^{(n)} = e_n + \frac1n e_1$. Does it have a convergent subsequence?
$\|x^{(m)} - x^{(n)}\| \ge \|e_m - e_n\| - \bigl\|\frac1me_1 - \frac1ne_1\bigr\| \ge \sqrt2 - 1$ for $m, n \ge 2$ by the triangle inequality. The terms of any subsequence don’t get closer, and it isn’t a Cauchy sequence.
Time to check the baggage.
| No. | What’s true in $\mathbb R^n$ | In infinite dimensions |
|---|---|---|
| 1 | All norms are comparable | Held back: $\|\cdot\|_1$, $\|\cdot\|_2$, $\|\cdot\|_\infty$ give different worlds |
| 2 | Pythagoras in an orthonormal basis | Let through: Parseval’s identity, if the basis is complete |
| 3 | The nearest point is the projection | Let through: a partial sum of a Fourier series is the best approximation |
| 4 | Cauchy sequences converge | With a condition: only in complete, Banach spaces |
| 5 | No kernel means invertible; eigenvalues exist | Held back: the shift $S$ isn’t invertible and has no eigenvalues |
| 6 | Bolzano–Weierstrass | Held back: the vectors $e_n$ are pairwise $\sqrt2$ apart |
Everything that rests on the inner product and algebra carries over to infinite dimensions; everything that rests on finiteness (on being able to run through the coordinates, or on the ball being compact) breaks. Functional analysis is largely the art of replacing lost compactness with something else: completeness, convexity, estimates.
Where next
The Scottish Book still contains problems that remain unsolved. Usually this means that the right idea hasn’t been found. But can it be otherwise: a problem that can’t be solved in principle, not because mathematicians are weak but because the answer doesn’t follow from the axioms? An example has already flashed by in the chapter on infinities: the continuum hypothesis can be neither proved nor refuted. Can this happen to a simple statement about natural numbers that is nevertheless true? Can everything that’s true be proved? The answer was given by Kurt Gödel and Alan Turing, and it’s the subject of the next chapter.