IB Analysis and Topology
Let $X$ be any set. A metric is a function $d: X\times X\to\R$ such that
-
(positive semidefinite) $d(x,y)\geq 0$ for all $x,y\in X$, and $d(x,y)=0$ iff $x=y$;
-
(symmetry) $d(x,y) = d(y,x)$ for all $x,y\in X$;
-
(triangle inequality) $d(x,y) \leq d(x,z) + d(z,y)$ for all $x,y,z\in X$.
We say $(X,d)$ is a metric space.
Let $(X,d)$ be a metric space and $Y\subseteq X$.
Define the canonical subspace metric $\tilde d: Y\times Y$ given by $\tilde d(y_1,y_2) = d(y_1,y_2)$ for all $y_1,y_2\in Y$. We call $(Y, \tilde d)$ the metric subspace of $(X,d)$.
Let $(X, d)$ and $(\tilde X, \tilde d)$ be metric space. The following are metrices on $X\times \tilde X$:
-
$d_p((x,\tilde x), (y, \tilde y)) = \sqrt[p]{d(x,y)^p + \tilde d(\tilde x, \tilde y)^p}$ for some $p\geq 1$;
-
$d_\infty((x,\tilde x), (y, \tilde y)) = \max\set{d(x,y), \tilde d(\tilde x, \tilde y)}$.
Let $(X, d)$ be a metric space. For $r>0$, say
-
the open ball $B_r(x) = \sb{y\in X}{d(x,y)<r}$;
-
the closed ball $B_r[x] = \sb{y\in X}{d(x,y)\leq r}$
of radius $r$ centred at $x$.
Let $(X,d)$ be a metric space.
A set $Y\subseteq X$ is open in $X$ if for all $y\in Y$, there exists $\epsilon = \epsilon(y)$ such that $B_\epsilon(y)$ $\subseteq Y$.
Let $(X,d)$ be a metric space, $r>0$ and $x\in X$. Then an open ball $B_r(x)$ is open in $X$.
Let $X$ be a set. The topology $\tau$ on $X$ is the collection of subsets of $X$ which are open.
Let $(X,d)$ be a metric space and $\tau$ be its topology. Then
-
$\emptyset, X \in \tau$.
-
For any family $\set{U_i}_{i\in I}$ where $U_i\in \tau$, the union $\bigcup_{i\in I} U_i \in \tau$.
-
For any finite family $\set{U_i}_{i\in I}$ where $U_i\in\tau$, the intersection $\bigcap_{i\in I} U_i \in \tau$.
Let $(X, d)$ be a metric space and take $A\subseteq X$. Define the interior of $A$ as the largest open set contained inside $A$. $$ \begin{align*} \op{int}(A) = A^\circ = \bigcup_{\substack{U\subseteq A \\ \text{$U$ open}}} U. \end{align*} $$
A set $A\subseteq X$ is closed if $X\setminus A$ is open.
Let $(X,d)$ be a metric space. Then
-
$\emptyset$ and $X$ are closed.
-
For any family $\set{U_i}_{i\in I}$ where $U_i$ is closed, the intersection $\bigcap_{i\in I} U_i$ is closed.
-
For any finite family $\set{U_i}_{i\in I}$ where $U_i$ is closed, the union $\bigcup_{i\in I} U_i$ is closed.
Proof: take complements in the properties of a topology.
Let $(X,\tau)$ be a topological space and let $A\subseteq X$. Define the closure of $A$ as the smallest closed set containing $A$: $$ \begin{align*} \overline{A} = \op{cl}(A) = \bigcap_{\substack{U \supseteq A \\ U \text{ closed}}} U. \end{align*} $$
-
By definition, $A$ is closed iff $A = \overline{A}$.
We say $N\subseteq X$ is a neighbourhood of $x\in X$ if there exists an open set $U$ such that $x \in U \subseteq N$.
In a metric space, equivalently if there exists an $\epsilon>0$ such that $B_\epsilon(x)$ $\subseteq N$.
There is another notion of closure: see sequential closure.
Let $(X,\tau)$ be a topological space and $\set{x_n}_{n\geq 1}^{\infty}$ be a sequence in $X$.
We say $\set{x_n}$ is a convergent sequence and converges to $x\in X$ (denoted as $x_n\to x$) if for all neighbourhood $V$ of $x$, there exists $N\in\N$ such that for all $n\geq N$, we have $x_n \in V$.
In particular, if $(X,d)$ is a metric space, this is equivalent to any of the following:
-
for all $\epsilon>0$, there exists some $N\in\N$ such that for all $n\geq N$, we have $d(x_n, x) < \epsilon$;
-
for all $\epsilon>0$, there exists some $N\in\N$ such that for all $n\geq N$, we have $x_n \in$ $B_\epsilon(x)$.
-
An sequence which is eventually constant (i.e. there exists $y\in X$ and $N\in\N$ such that $x_n = y$ for all $n\geq N$) is convergent.
Converse is true if $d$ is the discrete metric.
Let $Y$ be a set, $(Z,d)$ be a metric space and $\set{f_n}_{n\geq 1}^\infty$ be a sequence of functions $Y\to Z$.
We say $\set{f_n}$ converges uniformly to $f: Y\to\R$ (denoted as $f_n\tto f$) if, equivalently,
-
$\set{f_n}$ converges to $f$ in the metric space $L^\infty(Y) = (\set{\text{all bounded functions } Y\to\R},$ $L^\infty\text{ metric}$$)$;
-
for all $\epsilon>0$, there exists $N\in\N$ such that for all $n\geq N$, we have $$ \begin{align*} \sup_{x\in Y} d(f(x), f_n(x)) < \epsilon; \end{align*} $$
-
for all $\epsilon>0$, there exists $N\in\N$ such that for all $n\geq N$ and $x\in Y$, we have $$ \begin{align*} d(f(x), f_n(x)) < \epsilon. \end{align*} $$
Let $Y$ be a set, $(Z,d)$ be a metric space and $\set{f_n}_{n\geq 1}^\infty$ be a sequence of functions $Y\to Z$.
$\set{f_n}$ is said to be uniformly Cauchy if for all $\epsilon>0$, there exists $N\in\N$ such that for all $n,m\geq N$, we have $$ \begin{align*} \sup_{x\in Y} d(f_n(x), f_m(x)) <\epsilon. \end{align*} $$
Let $Y$ be a set, $(Z,d)$ be a complete metric space and $\set{f_n}_{n\geq 1}^\infty$ be a sequence of functions $Y\to Z$.
$\set{f_n}$ is uniformly convergent iff $\set{f_n}$ is uniformly Cauchy.
Consequently, the metric space $L^\infty(Y; Z) = (\set{\text{bounded functions } Y\to Z},$ $\text{sup metric}$$)$ is complete.
-
This applies to $Z=\R$ since $(\R, |\cdot|)$ is complete.
Let $Y$ be a set and $\set{f_n}_{n\geq 1}^\infty$ be a sequence of functions $Y\to \R$.
We say $\set{f_n}$ converges pointwise to $f$ (denoted as $f_n \to f$) if, equivalently,
-
for all $y\in Y$, $\set{f_n(y)}$ converges as a real sequence to $f(y)$.
-
for all $y\in Y$ and $\epsilon>0$, there exists $N = N(\epsilon, y)$ such that $|f(y) - f_n(y)| < \epsilon$ for all $n\geq N$.
Let $(X,τ)$ be a topological space, $(Y,d)$ be a metric space, $\set{f_n}_{n\geq 1}^\infty$ be functions $X\to Y$, and $f: X\to Y$.
If $f_n$ $\tto$ $f$ and $f_n$ are continuous, then $f$ is also continuous, i.e. (if limits in $X$ are unique) $$ \begin{align*} \lim_{x\to x_0} \lim_{n\to \infty} f_n(x) = \lim_{n\to \infty} \lim_{x\to x_0}f_n(x). \end{align*} $$
Consequently, the metric space $C_b(X; Y) = (\set{\text{bounded, continuous functions } X\to Y}, \text{sup metric})$ is (sequentially) closed in $L^\infty(X; Y)$. So if $Y$ is complete, so is $C_b(X; Y)$.
Let $Y = [a,b]$, a sequence $\set{f_n}_{n\geq 1}^\infty$ of Riemann integrable functions $Y\to \R$, and $f: Y\to \R$.
If $f_n$ $\tto$ $f$, then $f$ is also Riemann integrable, and $$ \begin{align*} \int_{a}^{b} f(x) \d x \equiv \int_{a}^{b} \lim_{n\to \infty} f_n(x) \d x = \lim_{n\to \infty} \int_{a}^{b} f_n(x) \d x. \end{align*} $$
Let $(X,\tau)$ be a topological space.
We say $A\subseteq X$ is sequentially closed if for every convergent sequence $\set{a_n}_{n=1}^\infty$ in $A$, its limit is also in $A$.
Let $(X,\tau)$ be a topological space and $A\subseteq X$.
The sequential closure of $A$ is defined as $\scl(A) = \sb{x\in X}{\text{there exists } \set{x_n}_{n=1}^\infty \text{ in } A \text{ such that } x_n\to x}$.
-
By definition, $A$ is sequentially closed iff $A = \scl(A)$.
Let $(X,\tau)$ be a topological space and $A\subseteq X$ be a subset.
-
$\scl(A) \subseteq \cl(A)$. This implies if $A$ is closed, then $A$ is sequentially closed.
-
If $X$ is second countable, then $\scl(A) = \cl(A)$. This implies closed iff sequentially closed. This applies to metric spaces.
Proof TODO
-
There exists a counterexample where $\cl(A) \not\subseteq \scl(A)$.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
We say a function $f: X\to Y$ is continuous at $x_0\in X$ if for all neighbourhood $V$ of $f(x_0)$, we have $f\inv(V)$ being a neighbourhood of $x$.
If $(X,d)$ and $(Y,d')$ are metric spaces, this is equivalent to any of the following:
-
for all $\epsilon>0$, there exists $\delta=\delta(\epsilon)>0$ such that for all $x\in X$, if $d(x,x_0) < \delta$, then $d'(f(x), f(x_0)) < \epsilon$;
-
for all $\epsilon>0$, there exists $\delta=\delta(\epsilon)>0$ such that for all $x\in$ $B_\delta(x_0)$, we have $f(x) \in B'_{\epsilon}(f(x_0))$;
-
for all $\epsilon>0$, there exists $\delta = \delta(\epsilon)>0$ such that $B_{\delta}(x_0) \subseteq f\inv(B'_\epsilon(f(x_0)))$;
We say $f$ is continuous if this holds for all $x_0\in X$.
-
$\mathrm{id}_X : (X,d) \to (X,d')$ is not necessarily continuous. (Example)
-
For $(X,d)$ and $(\R,|\cdot|)$, for any fixed $x_0\in X$, $x\mapsto d(x_0,x)$ is continuous.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces, and $f: X\to Y$. The following are equivalent:
-
$f$ is continuous;
-
for all open set $V$ in $(Y,\rho)$, the preimage $f\inv(V)$ is open in $(X,\tau)$;
-
for all closed set $V$ in $(Y,\rho)$, the preimage $f\inv(V)$ is closed in $(X,\tau)$.
Let $f: (X,\tau)\to (Y,\rho)$ and $g: (Y,\rho)\to (Z,\sigma)$ be functions between topological spaces.
If $f$ is continuous at $x_0\in X$ and $g$ is continuous at $f(x_0)\in Y$, then $g\circ f$ is continuous at $x_0$.
Let $(X,d)$ and $(Y,d')$ be metric spaces.
We say $f$ is sequentially continuous at $x\in (X,d)$ if for all sequences $\set{x_n}_{n=1}^\infty$ on $X$ where $x_n\to x$, we have $f(x_n) \to f(x_0)$.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces, and $f: X\to Y$.
-
For $(X,d)$ and $(Y,\rho)$ metric spaces, $f$ is continuous at $x\in X$ iff $f$ is sequentially continuous at $x$.
-
TODO
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
A function $f: (X,\tau)\to(Y,\rho)$ is said to be a homeomorphism if $f$ is bijective, and $f$ and $f\inv$ are continuous.
We say $(X,\tau)$ and $(Y,\rho)$ are homeomorphic if such a function exists.
Let $(X,d)$ and $(Y,d')$ be metric spaces.
A function $f: (X,d) \to (Y,d')$ is said to be an isometry if it is bijective and $$ \begin{align*} d'(f(x), f(y)) = d(x,y) \qquad \text{for all }x,y\in X. \end{align*} $$ We say $(X,d)$ and $(Y,d')$ are isometric if such a function exists.
Let $(X,d)$ and $(Y,d')$ be metric spaces.
We say a function $f:(X,d)\to (Y,d')$ is uniformly continuous if, equivalently,
-
for all $\epsilon>0$, there exists $\delta=\delta(\epsilon)>0$ such that for all $x,x_0\in X$, if $d(x,x_0) < \delta$, then $d'(f(x), f(x_0)) < \epsilon$;
-
for all $\epsilon>0$, there exists $\delta=\delta(\epsilon)>0$ such that for all $x,x_0\in X$, if $x\in B_\delta(x_0)$, then $f(x) \in B'_\epsilon(f(x_0))$.
Let $f: (X,d)\to (Y,d')$ and $g: (Y,d')\to (Z,d'')$ be functions between metric spaces.
If $f$ and $g$ are uniformly continuous, then $g\circ f$ is also uniformly continuous.
Let $X$ be a set, and $d$ and $d'$ be metrics on $X$.
We say $(X,d)$ and $(X,d')$ are uniformly equivalent if $\mathrm{id}: (X,d)\to(X,d')$ and $\mathrm{id}': (X,d') \to (X,d)$ are uniformly continuous.
Let $(X,d)$ and $(Y,d')$ be metric spaces.
We say $f: (X,d)\to (Y,d')$ is Lipschitz continuous if there exists $L>0$ such that for all $x,y\in X$, $$ \begin{align*} d'(f(x), f(y))\leq Ld(x,y) \end{align*} $$ and we say that $f$ is $L$-Lipschitz.
Let $f: (X,d)\to(Y,d')$ be a function between metric spaces.
If $f$ is Lipschitz continuous, then $f$ is uniform continuity.
Let $X$ be a set, and $d$ and $d'$ be metrics on $X$.
We say $(X,d)$ and $(X,d')$ are Lipschitz equivalent if $\mathrm{id}: (X,d)\to(X,d')$ and $\mathrm{id}\inv: (X,d')\to(X,d)$ are Lipschitz continuous.
Or equivalently, if there exists $\alpha, \beta>0$ such that $$ \begin{align*} \alpha d(x,y) \leq d'(x,y) \leq \beta d(x,y)\qquad \text{for all } x,y\in X. \end{align*} $$
Let $(X,d)$ be a metric space.
A sequence $\set{x_n}_{n=1}^\infty$ in $X$ is said to be a Cauchy sequence if for all $\epsilon>0$, there exists $N=N(\epsilon)\in\N$ such that $d(x_n, x_m) < \epsilon$ for all $n,m\geq N$.
A metric space $(X,d)$ is said to be complete if every Cauchy sequence on $(X,d)$ converges.
Let $(X,d)$ and $(Y,d')$ be metric spaces.
$f: X\to Y$ is said to be a contraction if it is $L$-Lipschitz where $L<1$.
Let $(X,d)$ be a non-empty, complete metric space.
If $f: X\to X$ is a contraction, then it has a unique fixed point, i.e. a point $x\in X$ such that $f(x) = x$.
-
$X$ has to be complete: $f: \R\setminus \set{0}\to \R\setminus \set{0}$ given by $f(x) = x/2$ has no fixed point.
-
$L$ cannot be $\geq 1$: $f: \R\to\R$ given by $f(x) = x$ has infinitely many fixed points, and $f(x) = x+1$ has no fixed points.
Let $x_0\in (a,b)$, $y_0 \in \R^n$ and $R>0$. Suppose $$ \begin{align*} f(x,y): [a,b] \times B_R[y_0] \to \R^n \end{align*} $$ be continuous in $x$ and $\tilde L$-Lipschitz in $y$.
Then there exists some $\epsilon>0$ such that the initial value problem $$ \begin{align*} y'(x) = f(x,y(x)), \qquad y(x_0) = y_0 \end{align*} $$ has a unique continuous solution $y: I\to B_R[y_0]$ on the interval $I=[x_0 - \epsilon, x_0 + \epsilon] \subseteq [a,b]$.
-
This can be strengthened to say if $f$ is smooth, then the solution $y(x)$ depends smoothly on $y_0$ and is smooth in $t$.
An open cover of a topological space $(X,d)$ is a family of open sets $\mathcal{U} = \set{U_i}_{i\in I}$ such that $$ \begin{align*} X = \bigcup_{i\in I} U_i. \end{align*} $$
Let $\mathcal{U}$ be an open cover of the topological space $(X,\tau)$.
A subset $\mathcal{V}\subseteq U$ is called a subcover if $\mathcal{V}$ is an open cover itself.
A topological space $(X,\tau)$ is said to be compact if every open cover of $(X,\tau)$ has a finite subcover.
For a topological space $(X,\tau)$, we say $A\subseteq X$ is relatively compact or pre-compact if the closure $\bar A$ is compact.
We say a topological space $(X,\tau)$ is sequentially compact if every sequence in $X$ has a convergent subsequence.
Let $(X,d)$ be a metric space and $Y\subseteq X$.
If $Y$ is sequentially compact, then $Y$ is closed.
A metric space is sequentially compact iff it is compact.
-
For a general topological space, both implications are not true: counterexamples exist.
-
In second countable topological spaces, they are equivalent.
Let $(X,d)$ be a metric space. We say it is
-
bounded if there exists $r>0$ such that $d(x,y) < r$ for all $x,y\in X$; and
-
totally bounded if for every $\epsilon>0$, there exists a finite set $F\subseteq X$ such that $$ \begin{align*} X = \bigcup_{y\in F} B_\epsilon(y), \end{align*} $$ i.e. there is a finite covering of $X$ by open $\epsilon$-balls. We call $F$ an $\epsilon$-net of $X$.
A metric space is compact iff it is totally bounded and complete.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
If $f: X\to Y$ is a continuous function and $(X,\tau)$ is compact, then $f(X) \subseteq Y$ is also compact.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
If $f: X\to Y$ is a continuous bijection, $(X,\tau)$ is compact, and $(Y,\rho)$ is Hausdorff, then $f\inv$ is also continuous, and hence $f$ is a homeomorphism.
-
This also applies to metric spaces, in which case the Hausdorff condition can be dropped.
Let $(X,\tau)$ be a topological space and $X\neq\emptyset$.
If $f: X\to\R$ is continuous and $(X,\tau)$ is compact, then $f$ is bounded and there exists $p,q\in X$ such that $$ \begin{align*} f(p) &= \sup_{x\in X} f(x) &\text{and}&& f(q) = \inf_{x\in X} f(x). \end{align*} $$
-
Consequently, $C(X; Y) = (\set{\text{continuous functions }X\to Y}, \text{sup metric}) =$ $C_b(X; Y)$ is well-defined for any metric space $Y$.
Let $(X,d)$ and $(Y,d')$ be metric spaces, and $f: X\to Y$.
If $(X,d)$ is compact and $f$ is continuous, then $f$ is uniformly continuous.
A topology $\tau$ on set $X$ is a set of subsets of $X$ satisfying
-
$\emptyset, X\in \tau$;
-
for any family $\set{U_i}_{i\in I}$ with $U_i\in \tau$, the union $\bigcup_{i\in I} U_i \in τ$;
-
for any finite family $\set{U_i}_{i\in I}$ with $U_i \in \tau$, the intersection $\bigcap_{i\in I} U_i \in τ$.
We call $(X,\tau)$ a topological space.
A subset $U\subseteq X$ is said to be open if $U\in \tau$.
-
Compare properties of metric topology. We define open sets directly here.
Let $X$ be any set, and $\tau_1$ and $\tau_2$ be topologies on $X$.
If $\tau_1\subseteq \tau_2$, then we say $\tau_1$ is coarser and $\tau_2$ is finer.
Let $(X,\tau)$ is a topological space.
We say $\mathcal{B} \subseteq \tau$ is a base for $\tau$ if for all open set $U\in \tau$, there exists a subfamily $\mathcal{C}\subseteq \mathcal{B}$ such that $$ \begin{align*} U = \bigcup_{B\in \mathcal{C}} B. \end{align*} $$
Let $X$ be a set and $\mathcal{B}\subseteq \mathcal{P}(X) = \set{\text{all subsets of }X}$.
There exists a topology which admits $\mathcal{B}$ as a base iff $\mathcal{B}$ satisfies:
-
Covering property: $\mathcal{B}$ is an (open) cover of $X$, i.e. $X = \bigcup_{B\in \mathcal{B}} B$.
-
Intersection property: for all $B_1, B_2 \in \mathcal{B}$ and $x\in B_1\cap B_2$, there exists some $B_3\in \mathcal{B}$ such that $x\in B_3$ and $B_3 \subseteq U_1\cap B_2$.
Let $(X,\tau)$ be a topological space.
$(X,\tau)$ is said to be second countable if it has a countable base.
Let $(X,\tau)$ be a topological space.
$(X,\tau)$ is said to be Hausdorff if for all $x,y\in X$ and $x\neq y$, there exists $U, V\in \tau$ such that $x\in U$, $y\in V$ and $U\cap V=\emptyset$.
-
This means $\tau$ can separate different points in $X$. (Illustration)
Let $(X,\tau)$ be a topological space.
$(X,\tau)$ is said to be metrizable if $\tau$ can be induced by some metric, i.e. if we can define a metric on $X$ such that the metric topology equals $\tau$.
Examples of topological spaces
We define closed sets, closure and neighbourhood in the same way as in metric spaces.
Let $(X,\tau)$ be a topological space and $A\subseteq X$.
We say $x\in X$ is an accumulation point (or limit point) of $A$ if for all neighbourhood $N$ of $x$, $(A\setminus \set{x}) \cap N\neq \emptyset$, i.e. every neighbourhood of $x$ contains a point in $A$ other than $x$ itself.
We define the derived set of $A$ (denoted $A'$) as the set of all accumulation points of $A$.
Let $(X,\tau)$ be a topological space.
Let $(X,\tau)$ be a topological space and $\set{x_n}_{n\geq 1}^{\infty}$ be a sequence in $X$.
We say $\set{x_n}$ is a convergent sequence and converges to $x\in X$ (denoted as $x_n\to x$) if for all neighbourhood $V$ of $x$, there exists $N\in\N$ such that for all $n\geq N$, we have $x_n \in V$.
In particular, if $(X,d)$ is a metric space, this is equivalent to any of the following:
-
for all $\epsilon>0$, there exists some $N\in\N$ such that for all $n\geq N$, we have $d(x_n, x) < \epsilon$;
-
for all $\epsilon>0$, there exists some $N\in\N$ such that for all $n\geq N$, we have $x_n \in$ $B_\epsilon(x)$.
Let $(X,\tau)$ be a topological space and $A\subseteq X$ be a subset.
-
$\scl(A) \subseteq \cl(A)$. This implies if $A$ is closed, then $A$ is sequentially closed.
-
If $X$ is second countable, then $\scl(A) = \cl(A)$. This implies closed iff sequentially closed. This applies to metric spaces.
Proof TODO
-
There exists a counterexample where $\cl(A) \not\subseteq \scl(A)$.
If a topological space is second countable and every convergent sequence in it has a unique limit, then it is Hausdorff.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
We say a function $f: X\to Y$ is continuous at $x_0\in X$ if for all neighbourhood $V$ of $f(x_0)$, we have $f\inv(V)$ being a neighbourhood of $x$.
If $(X,d)$ and $(Y,d')$ are metric spaces, this is equivalent to any of the following:
-
for all $\epsilon>0$, there exists $\delta=\delta(\epsilon)>0$ such that for all $x\in X$, if $d(x,x_0) < \delta$, then $d'(f(x), f(x_0)) < \epsilon$;
-
for all $\epsilon>0$, there exists $\delta=\delta(\epsilon)>0$ such that for all $x\in$ $B_\delta(x_0)$, we have $f(x) \in B'_{\epsilon}(f(x_0))$;
-
for all $\epsilon>0$, there exists $\delta = \delta(\epsilon)>0$ such that $B_{\delta}(x_0) \subseteq f\inv(B'_\epsilon(f(x_0)))$;
We say $f$ is continuous if this holds for all $x_0\in X$.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces, and $f: X\to Y$. The following are equivalent:
-
$f$ is continuous;
-
for all open set $V$ in $(Y,\rho)$, the preimage $f\inv(V)$ is open in $(X,\tau)$;
-
for all closed set $V$ in $(Y,\rho)$, the preimage $f\inv(V)$ is closed in $(X,\tau)$.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces, and $\mathcal{B}$ be a base for $\rho$.
A function $f:X\to Y$ is continuous iff $f\inv(B)$ is open for all $B\in \mathcal{B}$.
Let $f: (X,\tau)\to (Y,\rho)$ and $g: (Y,\rho)\to (Z,\sigma)$ be functions between topological spaces.
If $f$ is continuous at $x_0\in X$ and $g$ is continuous at $f(x_0)\in Y$, then $g\circ f$ is continuous at $x_0$.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces, and $f: X\to Y$.
-
For $(X,d)$ and $(Y,\rho)$ metric spaces, $f$ is continuous at $x\in X$ iff $f$ is sequentially continuous at $x$.
-
TODO
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
A function $f: (X,\tau)\to(Y,\rho)$ is said to be a homeomorphism if $f$ is bijective, and $f$ and $f\inv$ are continuous.
We say $(X,\tau)$ and $(Y,\rho)$ are homeomorphic if such a function exists.
A property of topological spaces is said to be topologically invariant if it is preserved by homeomorphisms.
Let $(X,\tau)$ be a topological space and $Y\subseteq X$.
The subspace topology on $Y$ is defined as $$ \begin{align*} \sb{U\cap Y}{U\in \tau}. \end{align*} $$
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces, and $A\subseteq X$ with the subspace topology.
If $f:X\to Y$ is continuous, then so is $f|_A$.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
The product topology is the topology on $X\times Y$ which admits $\mathcal{B} = \sb{U\times V}{U\in \tau, V\in \rho}$ as a base.
This can be extended to finite products.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
The projection maps $$ \begin{align*} \pi_X: X\times Y&\to X &\pi_Y: X\times Y&\to Y \\ (x,y) &\mapsto x & (x,y) &\mapsto y \end{align*} $$ are continuous relative to the product topology.
-
The definition of the product topology is the coarsest possible topology such that this lemma is true.
Let $(X,\tau)$, $(Y,\rho)$ and $(Z,\sigma)$ be topological spaces.
A function $f: Z\to X\times Y$ is continuous iff both $\pi_X$${}\circ f$ and $\pi_Y \circ f$ are continuous.
Let $(X,\tau)$ be a topological space, and $\sim$ be an equivalence relation on $X$. Define
-
the quotient space $Q=X/{\sim} = \sb{[x]}{x\in X}$, where $[x] = \sb{y\in X}{y\sim x}$, as the set of all equivalence classes;
-
the quotient map $q: X\to Q$ by $x\mapsto [x]$;
-
the quotient topology $$ \begin{align*} \tau_\sim = \sb{V\subseteq Q}{q\inv(V) \in \tau}. \end{align*} $$
Proof that the quotient topology is a topology
-
$\tau_\sim$ is defined this way so that $q: (X,\tau) \to (Q,\tau_\sim)$ is continuous: the preimage of an open set (in $\tau_\sim$) is open (in $\tau$).
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces, $\sim$ be an equivalence relation on $X$, $Q = X/{\sim}$ be the quotient space and $q: X\to Q$ be the quotient map.
A function $f: Q\to Y$ is continuous iff $f\circ q$ is continuous.
An open cover of a topological space $(X,d)$ is a family of open sets $\mathcal{U} = \set{U_i}_{i\in I}$ such that $$ \begin{align*} X = \bigcup_{i\in I} U_i. \end{align*} $$
A topological space $(X,\tau)$ is said to be compact if every open cover of $(X,\tau)$ has a finite subcover.
We say a topological space $(X,\tau)$ is sequentially compact if every sequence in $X$ has a convergent subsequence.
A metric space is sequentially compact iff it is compact.
-
For a general topological space, both implications are not true: counterexamples exist.
-
In second countable topological spaces, they are equivalent.
Let $X$ be a topological space.
If $X$ is Hausdorff and a subset $Y\subseteq X$ is compact, then $Y$ is closed.
-
The Hausdorff condition is necessary: counterexample.
A finite product of comapct space is compact.
Let $(X,\tau)$ and $(Y,\rho)$ be topological spaces.
If $f: X\to Y$ is a continuous bijection, $(X,\tau)$ is compact, and $(Y,\rho)$ is Hausdorff, then $f\inv$ is also continuous, and hence $f$ is a homeomorphism.
-
This also applies to metric spaces, in which case the Hausdorff condition can be dropped.
Let $(X,\tau)$ be a topological space and $X\neq\emptyset$.
If $f: X\to\R$ is continuous and $(X,\tau)$ is compact, then $f$ is bounded and there exists $p,q\in X$ such that $$ \begin{align*} f(p) &= \sup_{x\in X} f(x) &\text{and}&& f(q) = \inf_{x\in X} f(x). \end{align*} $$
-
Consequently, $C(X; Y) = (\set{\text{continuous functions }X\to Y}, \text{sup metric}) =$ $C_b(X; Y)$ is well-defined for any metric space $Y$.
A topological space $(X,τ)$ is said to be disconnected if there exists open, non-empty, disjoint sets $U,V$ such that $X = U\cup V$.
We say $U,V$ are a separation of $X$.
$(X,τ)$ is said to be connected if there does not exist a separation.
-
Equivalently, $(X,τ)$ is connected iff the only subsets of $X$ which are both open and closed are $X$ and $\emptyset$.
Let $(X,τ)$ be a topological space, and $Y,U,V\subseteq X$ be subsets.
$U,V$ are a separation of $Y$ with respect to the subspace topology iff $U,V$ are non-empty, $U\cap{}$$\overline{V}$ $= \emptyset = \overline{U} \cap V$, and $Y = U\cup V$.
Let $(X,τ)$ be a disconnected topological space and $X=U\cup V$ is a separation.
If $Y\subseteq X$ is connected, then $Y\subseteq U$ or $Y\subseteq V$.
Let $(X,τ)$ be a topological space.
Define an equivalence relation on $X$ by $x\sim y$ if there exists $Y\subseteq X$ which is connected such that $x,y\in Y$. The equivalence classes are called connected components.
Let $(X,τ)$ be a topological space and $Y\subseteq X$ be a connected component.
Let $(X,τ)$ and $(Y,ρ)$ be topological spaces.
If $f:X\to Y$ is continuous and $X$ is connected, then $f(X)\subseteq Y$ is connected.
-
This shows that connectedness is a topological invariant.
-
For $Y=\R$, since connected sets in $\R$ are precisely intervals, we have the intermediate value theorem: if $f(x_0) < 0$ and $f(x_1)>0$ for some $x_0,x_1\in X$, then there exists $x\in X$ such that $f(x) = 0$.
Let $(X,τ)$ be a topological space, $Y$ be a set, and $f: X\to Y$ be a function.
If $X$ is connected and $f$ is locally constant (i.e. for all $x\in X$, there exists an open neighbourhood $U\subseteq X$ of $x$ such that $f(y) = f(x)$ for all $y\in U$), then $f$ is (globally) constant.
-
A consequence is that $X$ is connected iff all continuous functions $f: X\to\Z$ are constant.
Let $(X,τ)$ be a topological space and $\sim$ be an equivalence relation on $X$.
If $X$ is connected, then the quotient space $X/{\sim}$ is also connected with respect to the quotient topology.
Let $(X,τ)$ and $(Y,ρ)$ be topological spaces.
If $X$ and $Y$ are connected, then the product space $X\times Y$ is also connected with respect to the product topology.
A topological space $(X,τ)$ is said to be path-connected if for all $x,y\in X$, there exists a path $γ$ connecting $x$ to $y$, i.e. a continuous function $γ: [0,1]\to X$ with $γ(0) = x$ and $γ(1) = y$.
Let $(X,τ)$ and $(Y,ρ)$ be topological spaces.
If $f: X\to Y$ is continuous and $X$ is path-connected, then $f(X) \subseteq Y$ is path-connected.
-
This shows that path-connectedness is a topological invariant.
If a topological space is path-connected, then it is connected.
Let $(X,τ)$ be a topological space.
Define an equivalence relation on $X$ by $x\sim y$ if there exists a path connecting $x$ to $y$. The equivalence classes are called the path-connected components.
Let $U\subseteq \R^n$ be an open set. Then $U$ is connected iff it is path-connected.
-
This is false for closed sets: the topologist's sine wave $$ \begin{align*} X = \Big\{\big(x, \sin \frac{1}{x}\big)\;\Big|\; x>0 \Big\} \cup \bigl(\set{0} \times [-1,1]\bigr) \subseteq \R^2. \end{align*} $$ is connected but not path-connected. (Proof)
Let $U\subseteq \R^n$ be an open set and $f: U\to \R^m$.
$f$ is said to be differentiable at $x_0\in U$ if there exists a linear map $A \in \mathcal{L}(\R^n, \R^m)$ and $ε: \R^n\to\R^m$ such that $$ \begin{align*} f(x_0 + h) = f(x_0) + A(h) + ε(h)\, \|h\| \end{align*} $$ for all $h\in B_{\mathrm{dist}(x_0,\partial U)}(x_0)$ and $ε(h) \to 0$ as $h\to 0$.
We write the derivative $Df|_{x_0} = Df(x_0) = A$.
For some open set $V\subseteq U$, if $Df(x_0)$ exists for all $x\in V$ and $Df: V\to \mathcal{L}(\R^n, \R^m) \isom \R^{m\times n}$ is continuous, we say $f\in C^1(V)$.
-
The derivative is unique. (Derivation)
Let $f: U\to\R^m$ with $U\subseteq \R^n$ open.
$f$ is said to have $i$-th partial derivative at $x_0\in \R^n$ if $$ \begin{align*} \lim_{h\to 0} \frac{f(x_0 + he_i) - f(x_0)}{h} = a_i \end{align*} $$ exists ($e_i$ is the $i$-th standard basis vector).
We write $\partial_i f|_{x_0} = \partial_i f(x_0) = a_i \in \R^m$.
Let $f: U\to \R^m$ with $U\subseteq \R^n$ open.
If $f$ is differentiable at $x_0$, then $f$ is continuous at $x_0$.
Let $f: U\to\R^m$ with $U\subseteq \R^n$ open.
If $f$ is differentiable at $x_0\in \R^n$, then all partial derivatives of $f$ exist at $x_0$. Identifying $\mathcal{L}(\R^n,\R^m) \isom \R^{m\times n}$, $$ \begin{align*} Df(x_0) = \pmat{\partial_1 f(x_0) & \ldots & \partial_n f(x_0)} = \pmat{\partial_1 f^1(x_0) & \ldots & \partial_n f^1(x_0) \\ \vdots &\ddots & \vdots \\ \partial_1 f^m(x_0) & \ldots & \partial_n f^m(x_0)}. \end{align*} $$
Let $f: U\to V$ and $g: V\to \R^d$ where $U\subseteq \R^n$ and $V\subseteq \R^m$ are open.
If $f$ is differentiable at $x_0\in U$ and $g$ is differentiable at $f(x_0)\in V$, then $g\circ f$ is differentiable at $x_0 \in U$ with $$ \begin{align*} D(g\circ f)(x_0) = Dg(f(x_0)) \circ Df(x_0). \end{align*} $$
Let $f: U\to\R^m$ with $U\subseteq \R^n$ open. Let $a,b\in U$ be such that the line segment $γ = \sb{(1-t)a + tb}{t\in [0,1]} \subseteq U$.
If $f$ is differentiable in $U$, then $$ \begin{align*} \|f(b) - f(a)\| \leq \sup_γ \|Df\| \,\|b-a\|. \end{align*} $$
-
An immediate consequence is that $Df = 0$ on $U$ implies $f$ is constant.
Let $f: U\to\R^n$ with $U\subseteq \R^n$ open, and $x_0\in U$.
If $f\in{}$$C^1(U)$ and $Df|_{x_0}$ is invertible, then there exists open neighbourhoods $V$ of $x_0$ and $W$ of $f(x_0)$ such that $f|_V: V\to W$ is a homeomorphism.
Moreover, $f\inv\in C^1(V)$ with derivative $$ \begin{align*} D(f\inv)(y) = \bigl(Df(f\inv(y))\bigr)\inv. \end{align*} $$
-
This can be extended to say if $f$ is smooth, then so is $f\inv$.
Let $f: U\to\R^m$ with $U\subseteq \R^{n+m}$ open, and $(x_0, y_0)\in U$.
If $f\in{}$$C^1(U)$, $f(x_0, y_0) = 0$ and $D_y f(x_0, y_0) \in \mathcal{L}(\R^m, \R^m)$ is invertible, then there exists an open neighbourhood $V$ of $x_0$ and a unique $g: V\to\R^m$ such that
-
$g(x_0) = y_0$; and
-
$f(x, g(x)) = 0$; and
-
there exists a neighbourhood $W\subseteq \R^n$ of $y_0$ such that if $(x,y)\in V\times W$, then $f(x,y)=0 \iff y=g(x)$.
Moreover, $g\in C^1(V)$ with derivative $$ \begin{align*} Dg(x) = -\bigl(D_y f(x,g(x))\bigr)\inv \bigl(D_x f(x,g(x))\bigr). \end{align*} $$
Let $f: U\to\R^m$ be a differentiable function on $U\subseteq \R^n$ open.
$f$ is said to be twice differentiable at $x_0\in U$ if $Df|_x: U\to \mathcal{L}(\R^n, \R^m) \isom \R^{m\times n}$ is differentiable at $x_0$.
Then $D^2 f(x_0) \in \mathcal{L}(\R^n, \mathcal{L}(\R^n, \R^m)) \isom$ $\mathrm{Bil}$$(\R^{n}\times \R^n, \R^m)$. This can be identified as a vector $(D^2 f^1(x_0), \ldots, D^2 f^m(x_0))$ of matrices $D^2 f^k(x_0) \in \mathrm{Bil}(\R^n\times \R^n, \R) \isom \R^{n\times n}$, which are called the Hessian of $f$ at $x_0$.
If $D^2 f(x)$ exists and is continuous at all $x\in V\subseteq U$, then we say $f\in C^2(V)$.
Let $f: U\to\R^m$ with $U\subseteq \R^n$ have $j$-th partial derivative functions $\partial_j f:U \to \R^m$.
We say $f$ has $(i,j)$-th partial at $x_0$ if $\partial_{ij}^2 f(x_0) = \partial_i (\partial_j f)(x_0)$ exists.
Let $f: U\to\R^m$ with $U\subseteq \R^n$.
If $f$ is twice differentiable at $x_0$, then $$ \begin{align*} f(x_0 + h) = f(x_0) + Df(x_0)(h) + \frac{1}{2} D^2f(x_0)(h,h) + ε_2(h)\, \|h\|^2 \end{align*} $$ for all $h\in B_{\mathrm{dist}(x_0, \partial U)}(x_0)$, where $ε_2(h) \to 0$ as $h\to 0$.
Let $f: U\to\R^m$ with $U\subseteq \R^n$.
If $f$ is twice differentiable at $x_0$, then all its second order partials exist at $x_0$.
Identifying $\mathcal{L}(\R^n, \mathcal{L}(\R^n, \R^m))\isom \mathrm{Bil}(\R^n\times \R^n, \R^m) \isom (\R^{n\times n})^m$, the Hessians are $$ \begin{align*} D^2 f^k(x_0) = \left.\pmat{\partial^2_{11} f^k & \ldots & \partial^2_{1n}f^k \\ \vdots & \ddots & \vdots \\ \partial^2_{n_1}f^k & \ldots& \partial^2_{nn}f^k}\right|_{x_0}. \end{align*} $$
Proof: see the first derivative case.
Let $f: U\to\R^m$ with $U\subseteq \R^n$.
$f\in C^2(U)$ iff all first and second order partials of $f$ exist and are continuous in $U$.
Proof: see the first derivative case.
Let $f: U\to\R^m$ with $U\subseteq \R^n$ and $x_0\in U$.
If $\partial_i f, \partial_j f,$ $\partial_{ij}^2$$f$ exist on $U$ and $\partial_{ij}^2 f$ is continuous at $x_0$, then $\partial_{ji}^2 f(x_0)$ exists and $\partial_{ji}^2 f(x_0) = \partial_{ij}^2 f(x_0)$.
Let $f: U\to\R$ with $U\subseteq \R^n$ be a $C^2(U)$ function. Suppose $Df(x_0) = 0$ at some $x_0\in U$. Then
-
if $D^2 f(x_0)$ is positive definite, then $f(x_0)$ is a local minimum, i.e. $f(x_0+h) \geq f(x_0)$ for all sufficiently small $h$;
-
if $D^2 f(x_0)$ is negative definite, then $f(x_0)$ is a local maximum, i.e. $f(x_0+h) \leq f(x_0)$ for all sufficiently small $h$.
Let $f_n: (a,b)^d \to \R$ be a sequence of functions. If
-
$f_n$ are $C^1$;
-
$Df_n$ converges uniformly; and
-
there exists $x_0 \in (a,b)^d$ such that $(f_n(x_0))_n$ converges,
then there exists $f: (a,b)^d \to \R$ such that $f_n \tto f$ and $Df_n \tto Df$.
-
Since uniform convergence preserves continuity, $f$ is also $C^1$.
Let $f_n: U\to\R^m$.
We say the series $\sum_{i=1}^{\infty} f_n$ converges pointwise (resp. uniformly) if $g_N = \sum_{n=1}^{N} f_n$ converges pointwise (resp. uniformly).
Add the word absolutely if convergence holds for $\sum_{n=1}^{N} \|f_n\|$.
Let $f_n: U\to\R^m$.
If $\sum_{n=1}^{\infty} f_n$ converges uniformly, then $f_n \tto 0$ (i.e. $\sup_U \|f_n\| \to 0$).
Let $f_n: U\to\R^m$.
If there exists $M_n$ such that
-
$\sup_U \|f_n\|\leq M_n$; and
-
$\sum_{n=1}^{\infty} M_n$ converges,
then $\sum_{n=1}^{\infty} f_n$ converges absolutely uniformly.
Let $f_n: U\to\R$ be (non-negative) functions that are
-
decreasing: $f_{n+1} \leq f_n$ on $U$; and
-
$f_n\tto 0$ (i.e. $\sup_{U} \|f_n\| \to 0$) as $n\to \infty$,
then $\sum_{n=1}^{\infty} (-1)^n f_n$ converges uniformly.
By considering the partial sums $g_n = \sum_{i=1}^{n} f_i$, we can see that under uniform convergence, series preserve continuity, Riemann integrability, and differentiation.
Let $\sum_{n=1}^{\infty} c_n(x-a)^n$ be a power series with a radius of convergence of $R>0$.
For any $r\in (0,R)$, the series converges absolutely uniformly on $B_r[a]$.
-
Applying the property of uniform convergence, the power series is, inside the radius of convergence,
-
continuous;
-
Riemann integrable: $\int \sum_{n=1}^{\infty} c_n(x-a)^n \d x = \sum_{n=1}^{\infty} \frac{a_n}{n+1}(x-a)^{n+1} + \text{const.}$; and
-
differentiable: $\dd{x} \sum_{n=1}^{\infty} c_n(x-a)^n = \sum_{n=1}^{\infty} nc_n (x-a)^{n-1}$.
-