Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 24 additions & 22 deletions content/history/set-theory/cantor-plane.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Schr\"oder-Bernstein tie in with the history we discussed in
\olref[his][set][pathology]{sec}. Recall that, in 1877,
Cantor proved that there are exactly as many points on a square as on
one of its sides. Here, we will present his (first attempted) proof.
one of its sides. Here, we present a binary version of his first attempted proof.

Let $\unitline$ be the unit line, i.e., the set of points $[0,1]$. Let
$\unitsquare$ be the unit square, i.e., the set of points $\unitline
Expand All @@ -22,36 +22,37 @@
\end{thm}

\begin{proof}[Proof: first part.]
Fix $a, b \in \unitline$. Write them in binary notation, so that we
have infinite sequences of $0$s and $1$s, $a_1$, $a_2$, \dots, and
$b_1$, $b_2$, \dots, such that:
Fix $a,b\in\unitline$. For each $x<1$, choose its binary expansion
that is not eventually all $1$s; for $x=1$, use $0.111\ldots$.
These choices give unique infinite sequences of $0$s and $1$s,
$a_1,a_2,\dots$ and $b_1,b_2,\dots$, such that:
\begin{align*}
a &= 0.a_1a_2a_3a_4\dots\\
b &= 0.b_1b_2b_3b_4\dots
\intertext{Now consider the function $f \colon \unitsquare \to \unitline$ given by}
f(a, b) & = 0.a_1b_1a_2b_2a_3b_3a_4b_4\dots
\end{align*}
Now $f$ is !!a{injection}, since if $f(a, b) = f(c,d)$, then $a_n =
c_n$ and $b_n = d_n$ for all $n \in \Nat$, so that $a = c$ and $b =
d$.
The interleaved expansion has infinitely many $0$s unless
$a=b=1$, in which case it is all $1$s and represents $1$.
Thus it obeys the same canonical convention. If $f(a,b)=f(c,d)$,
uniqueness of these expansions gives $a_n=c_n$ and $b_n=d_n$ for
every $n\geq1$, hence $a=c$ and $b=d$. So $f$ is !!a{injection}.
\end{proof}

Unfortunately, as Dedekind pointed out to Cantor, this does not answer
the original question. Consider $0.\dot{1}\dot{0} =
0.1010101010\ldots$. We need that $f(a,b) = 0.\dot{1}\dot{0}$, where:
\begin{align*}
a&= 0.\dot{1}\dot{1} = 0.111111\ldots\\
b&= 0
\end{align*}
But $a = 0.\dot{1}\dot{1} = 1$. So, when we say ``write $a$ and $b$ in
binary notation'', we have to choose \emph{which} notation to use;
and, since $f$ is to be a \emph{function}, we can use only \emph{one}
of the two possible notations. But if, for example, we use the simple
notation, and write $a$ as ``$1.000\ldots$'', then we have no pair
$\tuple{a, b}$ such that $f(a, b) = 0.\dot{1}\dot{0}$.
Unfortunately, the injection does not by itself answer the original
question. Binary expansions must be chosen consistently, including at
the endpoints: the fractional notation used above requires
$1=0.111\ldots$, not $1.000\ldots$. In particular,
$0.101010\ldots$ is attained as $f(1,0)$.

There are nevertheless missing values. Consider $0.00101010\ldots$.
Its odd-position digits are $0,1,1,1,\ldots$ and its even-position
digits are all $0$. Any preimage would therefore require the
expansion $0.01111\ldots$ for $a=1/2$. Our canonical expansion of
$1/2$ is $0.10000\ldots$, so no such preimage exists.

To summarise: Dedekind pointed out that, given the possibility of
certain recurring decimal expansions, Cantor's function $f$ is
certain recurring binary expansions, Cantor's function $f$ is
!!a{injection} but \emph{not} !!a{surjection}. So Cantor has shown
only that $\cardle{\unitsquare}{\unitline}$ and \emph{not} that
$\cardeq{\unitsquare}{\unitline}$.
Expand All @@ -72,7 +73,8 @@
But of course, Cantor could not complete the last line in these terms,
for the Schr\"{o}der-Bernstein Theorem was not yet proved. Indeed,
although Cantor would subsequently formulate this as a general
conjecture, it was not satisfactorily proved until 1897. (And so,
conjecture, Dedekind had an unpublished proof in 1887, first published
in 1932. (And so,
later in 1877, Cantor offered a different proof of
\olref{thm:cantorplane}, which did not go via
Schr\"{o}der--Bernstein.)
Expand Down
121 changes: 76 additions & 45 deletions content/history/set-theory/hilbert-curve.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

\olsection{Appendix: Hilbert's Space-filling Curves}

In chapter \olref[pathology]{sec}, we mentioned that Cantor's proof that
In section \olref[pathology]{sec}, we mentioned that Cantor's proof that
a line and a square have exactly the same number of points
(\olref[his][set][cantorplane]{thm:cantorplane}) prompted Peano to
ask whether there might be a space-filling \emph{curve}. He obtained a
Expand Down Expand Up @@ -80,30 +80,68 @@
\end{scope}
\end{tikzpicture}
\end{center}
And now we see the general pattern for defining $h_{n+1}$ from $h_n$.
At last we define the curve $h$ \emph{itself} by considering the
point-by-point limit of these successive functions $h_1$, $h_2$,
\dots\@ That is, for each $x \in \unitsquare$:
We make the parameterization precise. Number the $4^n$ closed
grid cells in the order visited by the picture as
$C_{n,0},\ldots,C_{n,4^n-1}$. This order can be defined recursively:
start with the unit square at level $0$, and at each level concatenate
the previous ordered list's four images, in order, under
\begin{align*}
h(x) &= \lim_{n \rightarrow \infty} h_n(x)
\end{align*}
S_0(u,v)&=(v/2,u/2), & S_1(u,v)&=(u/2,(v+1)/2),\\
S_2(u,v)&=((u+1)/2,(v+1)/2), & S_3(u,v)&=(1-v/2,(1-u)/2).
\end{align*}
Thus each cell's four children occur consecutively, and consecutive
cells share an edge.

Assign $C_{n,j}$ the closed parameter interval
$I_{n,j}=[j/4^n,(j+1)/4^n]$, and set
$h_n((j+1/2)/4^n)$ equal to its center. At parameter $0$ use
$(2^{-(n+1)},0)$ for odd $n$ and $(0,2^{-(n+1)})$ for even $n$;
at $1$ use its reflection across the square's vertical midline.
These are the outer endpoints of the two !!{colorC} segments in the picture.
Interpolate linearly between these successive prescribed values.
These choices define continuous polygonal maps $h_n$ with exactly
the pictured traces.

For every $m\geq n$, $h_m(I_{n,j})\subseteq C_{n,j}$.
Indeed, the finer cell centers belonging to this interval all lie in
$C_{n,j}$. At an endpoint shared with the next interval, the linear
connector between consecutive finer centers meets their common edge
at its midpoint, which lies on the boundary of $C_{n,j}$. At $0$
and $1$ the !!{colorC} endpoints lie in the first and last cells.
Convexity of the closed cells then gives the claimed containment.
This also handles parameters on cell boundaries.

Consequently, for all $x\in\unitline$ and $m\geq n$,
\[
\|h_m(x)-h_n(x)\|\leq\sqrt{2}\,2^{-n}.
\]
The sequence is uniformly Cauchy, so completeness of $\Real^2$
gives a limit $h(x)=\lim_n h_n(x)$, with
$\sup_x\|h(x)-h_n(x)\|\leq\sqrt{2}\,2^{-n}$.
Thus the limit exists and convergence is uniform.

We now show that this curve fills space. When we draw the curve $h_n$,
we impose a $2^n \times 2^n$ grid onto $\unitsquare$. By Pythagoras's
Theorem, the diagonal of each grid-location is of length:
\[
\sqrt{\left(\nicefrac{1}{2^{n}}\right)^2+\left(\nicefrac{1}{2^{n}}\right)^2} = 2^{(\frac{1}{2}-n)}
\]
and evidently $h_n$ passes through every grid-location. So each point
in $\unitsquare$ is \emph{at most} $2^{(\frac{1}{2}-n)}$ distance away
from some point on $h_n$. Now, $h$ is defined as the limit of the
functions $h_1$, $h_2$, $h_3$, \dots\@ So the maximum distance of any
point from $h$ is given by:
and $h_n$ passes through the center of every grid-location.
For a target $p\in\unitsquare$, choose a cell containing it and let
$x_n$ be that cell's center parameter. Then
$\|h_n(x_n)-p\|\leq\sqrt{2}\,2^{-n}$.
The continuity argument below shows that $h$ is continuous.
By compactness of $\unitline$, some subsequence $x_{n_k}$ tends to
$x\in\unitline$. Therefore
\[
\lim_{n \rightarrow \infty} 2^{(\frac{1}{2}-n)} = 0.
\|h(x)-p\|\leq
\|h(x)-h(x_{n_k})\|+
\|h(x_{n_k})-h_{n_k}(x_{n_k})\|+
\|h_{n_k}(x_{n_k})-p\|\longrightarrow0.
\]
That is: every point in $\unitsquare$ is $0$ distance from~$h$. In
other words, every point of $\unitsquare$ lies \emph{on} the curve. So $h$
fills space!{}
The first term tends to zero by continuity and the other two by the
uniform and grid bounds. Hence $h(x)=p$, so every point of the
square has a preimage: $h$ fills space.

It remains to show that $h$ is, indeed, a \emph{curve}. To show this,
we must define the notion. The modern definition builds on one given
Expand All @@ -114,37 +152,30 @@
A curve is a continuous map from $\unitline$ to $\Real^2$.
\end{defn}

This is fairly intuitive: a curve is, intuitively, a ``smooth'' map
which takes a canonical line onto the plane $\Real^2$. Our function,
This is fairly intuitive: a curve is a continuous map from the
unit interval into the plane $\Real^2$. Our function,
$h$, is indeed a map from $\unitline$ to $\Real^2$. So, we just need
to show that $h$ is continuous. We defined continuity in
\olref[limits]{sec} using $\epsilon$/$\delta$ notation. In the
vernacular, we want to establish the following: \emph{If you specify a
point $p$ in $\unitsquare$, together with any desired level of
precision $\epsilon$, we can find an open section of $\unitline$ such
that, given any $x$ in that open section, $h(x)$ is within $\epsilon$
of $p$.}

So: assume that you have specified $p$ and $\epsilon$. This is, in
effect, to draw a circle with centre $p$ and radius $\epsilon$ on
$\unitsquare$. (The circle might spill off the edge of $\unitsquare$,
but that doesn't matter.) Now, recall that, when describing the
function $h_n$, we drew a $2^n \times 2^n$ grid upon $\unitsquare$. It
is obvious that, no matter how small $\epsilon$ is, there is some $n$
such that some individual grid-location of the $2^n \times 2^n$ grid
on $\unitsquare$ lies wholly within the circle with centre $p$ and
radius $\epsilon$.

So, take that $n$, and let $I$ be the largest open part of $\unitline$
which $h_n$ maps wholly into the relevant grid location. (It is clear
that $(a,b)$ exists, since we already noted that $h_n$ passes through
every grid-location in the $2^n\times 2^n$ grid.) It now suffices to
show to show that, whenever $x \in I$ the point $h(x)$ lies in that
same grid-location. And to do \emph{this}, it suffices to show that
$h_m(x)$ lies in that same grid location, for any $m > n$. But this is
obvious. If we consider what happens with $h_m$ for $m > n$, we see
that exactly the ``same part'' of the unit interval is mapped
into the same grid-location; we just map it into that region in an
increasingly stretched-out, wiggly fashion.
vernacular, fix any $x_0\in\unitline$ and put $p=h(x_0)$.
For every $\epsilon>0$, we must find $\delta>0$ such that every
$x\in\unitline$ with $|x-x_0|<\delta$ satisfies
$\|h(x)-p\|<\epsilon$.

Choose $n$ so large that $\sqrt{2}\,2^{-n}<\epsilon/3$.
Since the polygonal map $h_n$ is continuous, choose $\delta>0$
so that $|x-x_0|<\delta$ implies
$\|h_n(x)-h_n(x_0)\|<\epsilon/3$.
The uniform bound now gives
\[
\|h(x)-h(x_0)\|
\leq\|h(x)-h_n(x)\|+\|h_n(x)-h_n(x_0)\|
+\|h_n(x_0)-h(x_0)\|<\epsilon.
\]
The neighborhood is relative to $\unitline$, so the same proof
covers $x_0=0$ and $x_0=1$. Geometrically, the two uniform errors
come from the small grid cells, and continuity of one polygonal
approximation controls the middle error. Thus $h$ is a continuous
curve.

\end{document}
2 changes: 1 addition & 1 deletion content/history/set-theory/infinitesimals.tex
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
might have signified either an increment or nothing. But then which of
these soever you make it signify, you must argue consistently with
such its signification, and not proceed upon a double meaning: Which
to do were a manifest sophism. (\citealt[\S{}XIII]{Berkeley1734},
to do were a manifest sophism. (\citealt[\S{}XV]{Berkeley1734},
variables changed to match preceding text)
\end{quote}
To defend the infinitesimal calculus against Berkeley, one might reply
Expand Down
13 changes: 7 additions & 6 deletions content/history/set-theory/limits.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@

We saw that, as $\beta$ gets smaller, we get better approximations of
the gradient. Indeed, as $\beta$ gets arbitrarily close to $0$, the
value of $f'(c)$ ``tends without limit'' to the gradient we want. So,
value of the difference quotient
$(f(c+\beta)-f(c))/\beta$ tends to the gradient we want. So,
instead of considering what happens \emph{at} $\beta = 0$, we need
only consider the \emph{trend} of $f'(c)$ as $\beta$ approaches $0$.
only consider the \emph{trend} of this quotient as $\beta$ approaches $0$.

Put like this, the general challenge is to make sense of claims of
this shape:
Expand All @@ -34,7 +35,7 @@
making $x$ suitably close to~$c$. More precisely, we stipulate that
$\lim_{x \rightarrow c} g(x) = \ell$ will mean:
\[
(\forall\epsilon > 0)(\exists \delta > 0)\forall x \left(|x - c| < \delta \lif |g(x) - \ell| < \epsilon \right).
(\forall\epsilon > 0)(\exists \delta > 0)\forall x \left(0 < |x - c| < \delta \lif |g(x) - \ell| < \epsilon \right).
\]
The vertical bars here indicate absolute magnitude. That is, $|x| = x$
when $x \geq 0$, and $|x| =-x$ when $x < 0$; you can depict
Expand All @@ -44,7 +45,7 @@
\draw[->, gray] (-2.5,0) -- (2.5,0) node[right] {$x$};
\draw[->, gray] (0,-.2) -- (0,2.5) node[above] {$|x|$};

\foreach \x/\xtext in {-2/-2, -1,1, 1/1, 2/2}
\foreach \x/\xtext in {-2/-2, -1/-1, 1/1, 2/2}
\draw[shift={(\x,0)}] (0pt,2pt) -- (0pt,-2pt) node[below] {{$\xtext$}};

\foreach \y/\ytext in {1/1, 2/2}
Expand All @@ -55,8 +56,8 @@
\end{center}
So the definition says roughly this: you can make your ``error'' less
than $\epsilon$ (i.e., $|g(x) - \ell| < \epsilon$) by choosing
arguments which are no more than $\delta$ away from~$c$ (i.e., $|x -
c| < \delta$).
arguments other than $c$ which are less than $\delta$ away from~$c$
(i.e., $0<|x-c|<\delta$).

Having defined the notion of a limit, we can use it to avoid
infinitesimals altogether, stipulating that the gradient of $f$ at $c$
Expand Down
4 changes: 2 additions & 2 deletions content/history/set-theory/pathologies.tex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
but to ensure it is differentiable nowhere, you would have to abruptly
change the direction of your pen, constantly.

Further ``pathologies'' followed. In January 5 1874, Cantor wrote a
Further ``pathologies'' followed. On January 5, 1874, Cantor wrote a
letter to Dedekind, posing the problem:
\begin{quote}
Can a surface (say a square including its boundary) be one-to-one
Expand All @@ -50,7 +50,7 @@
\olref[his][set][cantorplane]{sec}.)

Inspired by Cantor's result, Peano started to consider whether it
might be possible to map a line \emph{smoothly} onto a plane. This
might be possible to map a line \emph{continuously} onto a plane. This
would be a \emph{curve which fills space}. In \citeyear{Peano1890},
Peano constructed just such a curve. This is truly counter-intuitive:
Euclid had defined a line as ``breadthless length'' (Book I,
Expand Down
Loading