Homework assignments will be available on this webpage throughout the term. All homework assignments should be submitted via Gradescope before midnight on the day it is due.
Suppose that $X$ is a set and $(f_n)_n$ is a sequence of functions $X \to \R$, so that each $f_n$ is bounded. Suppose further that $(f_n)_n$ converges uniformly to some $f : X \to \R$. Show that $(f_n)_n$ is uniformly bounded: that is, there is some $T \in \R$ so that for all $x \in X$ and all $n \in \N$, \[\abs{f_n(x)} \leq T.\]
In this problem, we will make the assumption that sequences are indexed beginning at $0$ rather than at $1$.
A function of the form above is called a power series. Since a power series is the uniform limit of polynomials—which are continuous—it is continuous.
Let $C : \R \to [-1, 1]$ be a continuous function with the properties that $C(2k) = 1$ and $C(2k+1) = -1$ for every $k \in \Z$, and that $\abs{C(x)-C(y)} \leq 4\abs{x-y}$ for all $x, y \in \R$.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment. They are coloured by approximate difficulty: easy/medium/hard.
For each $n \in \N$, let \begin{align*} f_n : \R &\longrightarrow \R \\ x &\longmapsto \frac{x}{1+nx^2}. \end{align*} Show that the sequence $(f_n)_n$ converges uniformly (on $\R$) to some function $f$, and that $(f_n')_n$ converges to $f'$ pointwise on $\R\setminus\set0$, but not at $0$.
Suppose $S$ is a set, and consider the set of functions from $S$ to $\R$, $\R^S = \set{f : S \to \R}$. Let us say that a metric $d$ on $\R^S$ gives rise to the topology of pointwise convergence if whenever $(f_n)_n$ is a sequence of functions in $\R^S$ we have that $(f_n)_n$ converges to a function $f$ with respect to $d$ if and only if $(f_n)_n$ converges pointwise to $f$.
Show that there is a metric on $\R^S$ giving rise to the topology of pointwise convergence if and only if there is a one-to-one function $\varphi : S \to \N$.
Let $R$ be the set of integrable functions on the interval $[a, b]$. Given $f \in R$, define \[\norm{f}_2 = \paren{\int_a^b\abs{f(t)}^2\,dt}^{\frac12}.\]
The function $d_2(f, g) = \norm{f-g}_2$ on $R\times R$ is a pseudo-metric on $R$: it satisfies the triangle inequality, $d_2(f,f) = 0$, and $d_2(f, g) = d_2(g, f)$, but $d_2(f, g)=0$ does not imply $f = g$. If we define $\sim$ by $f\sim g$ whenever $d_2(f, g) = 0$, then $R/\sim$ becomes a metric space; what we have done is show that (equivalence classes of) polynomials are dense in $R/\sim$.
State precisely what is meant by:
Provide examples to show that these three concepts are different.
Recall that for $x \in \R$, $\floor{x}$ (the floor of $x$) is the greatest integer $k \in \Z$ with $k \leq x$. For $n \in \N$, define \begin{align*} \varphi_n: \R &\longmapsto \R\\ t & \longmapsto 2^{-n}\floor{2^nt}. \end{align*} Finally, let $\mathscr{A}$ be the algebra of functions generated by $(\varphi_n)_n$. That is, $\mathscr{A}$ consists of all functions which are finite sums of scalar multiples of finite products of $\varphi_n$'s.
Let $\overline{\mathscr{A}}$ be the uniform closure $\mathscr{A}$. Show that $\overline{\mathscr{A}}$ is not an algebra. (Hint: $x\mapsto x$ is in $\overline{\mathscr{A}}$, but $x \mapsto x^2$ is not.)
Reflect on what this example says about trying to plot quadratic or linear functions on a pixelated display.
Prove that a power series is differntiable, and its derivative is given by differentiating the sum term-by-term. (This is not immediate and does take work, as in general, uniform limits of differentiable functions need not be differentiable, or may have derivatives unrelated to the derivatives of their approximants.) Conclude that a power series is infinitely differentiable.
Let $f : [0, 1] \to \R$ be continuous.
Show by example that there exists a function $f : \R \to \R$ such that $f$ takes on every real value on every non-empty open set. That is, for any $U \subseteq \R$ open and any $y \in \R$, there is some $x \in U$ with $f(x) = y$. (This isn't really related to this week's material in particular, it's just an interesting problem.)
Let $f : [0,1] \to \R$ be defined as follows: \[ f(x) = \begin{cases} 0 & \text{ if } x \notin \Q \\ 1 & \text{ if } x = 0 \\ \frac1q & \text{ if } x = \frac{p}{q} \text{ with } p \in \Z, q \in \N, \text{ and } p, q \text{ have no common factor}.\end{cases}\] (For example, $f(0) = f(1) = 1$, $f(1/2) = 1/2$, $f(1/4) = f(3/4) = 1/4$.)
Prove that $f$ is integrable, and find its integral.
Suppose that $f : [0, 1] \times [0, 1] \to \R$ is continuous. Notice that for each $y_0 \in [0, 1]$, we have a function \begin{align*} [0, 1] &\longrightarrow \R \\ x &\longmapsto f(x, y_0). \end{align*} Each of these functions is continuous, and so integrable; this can be checked directly from the definition, or by using the sequential characterisation of continuity.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment.
Let $f : [0, 1]\times[0, 1] \to \R$.
Suppose $f : (a, b) \to \R$ and $x \in (a, b)$. Show that $f$ is differentiable at $x$ if and only if there is a function $E : (a, b) \to \R$ continuous at $x$ and a constant $C \in \R$ so that $E(x) = 0$ and for all $t \in (a, b)$, \[f(t) = f(x) + C(t-x) + E(t)(t-x).\] Moreover, show that in this case $C = f'(x)$.
Give an example of continuous functions $f, g : \R \to \R$ so that:
Let $S, C : \R \to [-1, 1]$ be differentiable functions with the following properties:
Let \begin{align*} f : \R &\longrightarrow \R \\ t &\longmapsto \begin{cases} 0 & \text{ if } t = 0 \\ t^2S\paren{\frac1t} & \text{ if } t \neq 0.\end{cases} \end{align*}
Suppose that $f : (a, b) \to \R$ is differentiable with $f'(x) \gt 0$ for all $x \in (a, b)$.
Suppose that $f : \R \to \R$ is differentiable, and $f'(0) \gt 0$.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment.
Suppose that $f, g : \R \to \R$ are such that $f(0) = g(0)$ and $f'(x) \lt g'(x)$ for all $x \in \R$. Prove that $\abs{f(x)} \leq \abs{g(x)}$ for all $x \in \R$, with equality only when $x = 0$.
Suppose $f : \R \to \R$. Define a function \begin{align*} F : \R^2 \setminus \set{(x, x) \mid x \in \R} &\longrightarrow \R \\ (x, y) &\longmapsto \frac{f(x) - f(y)}{x-y}. \end{align*} Under what conditions does $F$ extend continuously to $\R^2$, in the sense of Assignment 8 Question 4?
(While this certainly seems to have something to do with differentiability, it is a little subtle. Notice, for example, that taking a derivative corresponds to holding one variable fixed and letting the other tend to it, or approaching the missing diagonal horizontally or vertically only; meanwhile continuity requires everything in an open ball to be close to the correct value, not just along the two axes. (It just now occurs to me how "axis" and "axe" both have the plural "axes".))
Let $M$ be a metric space.
Let us define a relation $\sim$ on $M$ as follows: given $x, y \in M$, $x \sim y$ if and only if there is a connected set $A \subseteq M$ with $x, y \in A$. Let us also write \[ [x]_\sim = \set{y \in M \mid x \sim y}.\]
The equivalence classes $[x]_\sim \subseteq M$ are called the connected components of $M$; they are in a loose sense the "largest connected pieces" of $M$. Notice that \[M = \bigcup_{x \in M} [x]_\sim,\] that is, $M$ is the union of its connected components. Also, since $[x]_\sim = [y]_\sim$ whenever $x \sim y$, the connected components of $M$ are disjoint. Since every point of $M$ is in some connected component, it follows that a non-empty space $M$ is connected if and only if it has precisely one connected component.
To give a few examples, the connected components of $\Z$ are the sets $\set{k}$ for each $k \in \Z$, and the connected components of $\Q$ are the sets $\set{q}$ for each $q \in \Q$. The connected components of $[0, 1) \cup \set{4} \cup (6, 9)$ are $[0, 1)$, $\set4$, and $(6,9)$. The circle $\set{(x, y) \in \R^2 \mid x^2 + y^2 = 1}$ has one connected component, itself; the same is true of any connected set. The empty set has no connected components (since in our definition, the empty set is not connected; we defined it this way so that we could unambiguously list the connected components of a set).
Suppose $M$ is a metric space. If $x, y \in M$, a path (in $M$) from $x$ to $y$ is a continuous function $\gamma : [0, 1] \to M$ with $\gamma(0) = x$ and $\gamma(1) = y$.
Define a relation $\sim_p$ on $M$ by $x \sim_p y$ if and only if there is a path from $x$ to $y$ in $M$. As before, set \[ [x]_{\sim_p} = \set{y \in M | x \sim_p y}.\]
The equivalence classes $[x]_{\sim_p} \subseteq M$ are called path components of $M$. If $M$ has exactly one path component, it is called path connected. (Note that $\emptyset$ is not path connected: it has zero path components, not one.)
Suppose that $E \subseteq \R^n$ is open. Show that the path components of $E$ are open (in $\R^n$).
(If you find it useful, you may use without proof the fact that functions of the form \begin{align*}f : \R &\longrightarrow \R^n \\ t &\longmapsto \vec{a} + t\vec{b}\end{align*} are continuous, where $\vec{a}, \vec{b} \in \R^n$.)
It is not true that connected sets are path connected in general. For example, the set \[T = \set{(0, y) \mid -1 \leq y \leq 1} \cup \set{\paren{x, \sin\paren{\frac1x}} \mid x \gt 0} \subseteq \R^2\] can be shown to be connected but not path connected; it's path components are the two separate pieces in the presentation above.
Suppose that $E \subseteq M$ and $p$ is a limit point of $E$. Suppose further that $f, g, h : E \to \R$ are functions, and that for some $\delta \gt 0$ and all $x \in E$ with $0 \lt d(x, p) \lt \delta$ we have \[f(x) \leq g(x) \leq h(x).\] Finally, suppose that \[\lim_{x\to p} f(x) = L = \lim_{y \to p} h(y).\] Prove that \[\lim_{t\to p} g(t) = L.\]
Let \begin{align*}f : \R &\longrightarrow \R \\ x &\longmapsto \begin{cases}0 & \text{ if } x \in \Q \\ x^2 & \text{ otherwise}.\end{cases}\end{align*} Show that $f$ is differentiable at $0$, and find its derivative there. (Notice that $f$ is discontinuous everywhere except at $0$! (That is an exclaimation point, not a factorial; $f$ is discontinuous at $1$.))
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment. They are coloured by approximate difficulty: easy/medium/hard.
Let $M$ be a metric space and $E \subseteq M$. Show that the following are equivalent:
Show that there are two points on opposite sides of the equator with the same temperature as each other.
What assumptions are needed to make this true? Are they physically reasonable?
Suppose that you climb a mountain one day, and descend it the next. Show that there must be some time when your elevation was the same on both days.
Suppose that $E \subseteq \R$ has the property and $p \in E' \cap (E^c)'$. Suppose further that $f, g : \R \to \R$. Define \begin{align*} \varphi : \R &\longrightarrow \R \\ t &\longmapsto \begin{cases} f(t) &\text{ if } t \in E \\ g(t) &\text{ if } t \in E^c.\end{cases} \end{align*} Prove that $\varphi$ is differentiable at $p$ if and only if $f$ and $g$ both are, $f'(p) = g'(p)$, and $f(p) = g(p)$.
Let $f : [0,1] \to \R$ be defined as follows: \[ f(x) = \begin{cases} 0 & \text{ if } x \notin \Q \\ 1 & \text{ if } x = 0 \\ \frac1q & \text{ if } x = \frac{p}{q} \text{ with } p \in \Z, q \in \N, \text{ and } p, q \text{ have no common factor}.\end{cases}\] (For example, $f(0) = f(1) = 1$, $f(1/2) = 1/2$, $f(1/4) = f(3/4) = 1/4$.)
Prove that $f$ is continuous at every irrational number, but discontinuous at every rational number.
Suppose that $X, Y, Z$ are metric spaces, that $f : X \to Y$ and $g : Y\to Z$, that $x_0 \in X$, and that $f$ is continuous at $x_0$ while $g$ is continuous at $f(x_0)$. Verify that $g\circ f$ is continuous at $x_0$.
(You should not assume that $f$ or $g$ are continuous anywhere else. If you use the open set chracterisation mentioned in extra problems below, you should prove it, although I don't think that is the easiest way forward for this problem.)
Suppose that $f, g : X \to Y$ are continuous, and $E \subseteq X$ is dense; recall that by definition this means $\overline E = X$.
(This time you may use the additional characterisations of density given below, but if you do you should convince yourself that you can prove them.)
Again, suppose that $E \subseteq X$ is dense, and suppose that $f : E \to Y$ is uniformly continuous on $E$. Suppose also that $Y$ is complete.
Suppose that $(M, d)$ is a metric space.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment.
Suppose that $(M, d)$ is a metric space and $X \subseteq M$. Prove that the following are equivalent:
I'm not sure if I proved these useful facts in lecture or not. Prove them now, without looking things up in the notes or the text.
Suppose that $(M, d)$ is a metric space.
Suppose that $X, Y$ are metric spaces, $f : X \to Y$, and $x_0 \in X$. Show that $f$ is continuous at $x_0$ if and only if whenever $U \subseteq Y$ is open with $f(x_0) \in Y$, there is an open set $V \subseteq X$ with $x \in V \subseteq f^{-1}(U)$.
This is unfortunately not as nice as the case for functions that are continuous on all of $X$.
Suppose that $K \subseteq M$ is compact and $F \subseteq M$ is closed and bounded. Prove that there are $x \in K, y \in F$ so that \[d(x, y) = \inf\set{d(s, t) \mid s \in J, t \in K},\] or show by example that this may not be the case.
Let $(M, d)$ be a metric space, and $X \subseteq M$. Define $\iota$ to be the inclusion $\iota : X \hookrightarrow M$ defined by $x \mapsto x$. Ponder the relation between Assignment 4, Problem 3 and the continuity of $\iota$.
I recommend thinking about the "Not definitions" problem below.
Recall that the limit superior of a sequence of real numbers $(x_n)_n$ is defined to be \[ \limsup_{n\to\infty} x_n = \begin{cases} \infty & \text{ if } (x_n)_n \text{ is not bounded above}\\ -\infty & \text{ if } (x_n)_n \text{ is bounded above but } \paren{ \sup\set{x_k \mid k \gt n} }_n \text{ is not bounded below}\\ \displaystyle\lim_{n\to\infty} \sup\set{x_k \mid k \gt n} & \text{ otherwise}. \end{cases} \]
Be sure to consider the possibilities that $\limsup_{n\to\infty} x_n$ is $\pm\infty$ in B and C. Notice also that B and C together give another characterization of the limit superior: it is the unique element of $\R \cup \set{\infty, -\infty}$ with both properties.
Suppose $(M, d)$ is a metric space, $E \subseteq M$, $f, g : E \to \R$, and $p$ is a limit point of $E$. Suppose further that for some $r \gt 0$, the set $f(E\cap B_r(p)) = \set{f(x) \mid x \in E\cap B_r(p)} \subseteq \R$ is bounded, and that \[\lim_{x\to p}g(x) = 0.\] Show that \[\lim_{x\to p} f(x)g(x) = 0.\] (Note: you should not assume that $f$ has a limit at $p$, unless you prove it from these hypotheses.)
Suppose that $(M, d)$ and $(X, d_X)$ are metric spaces, $E \subseteq M$, $f : E \to X$, and $p$ is a limit point of $E$.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment. They are coloured by approximate difficulty: easy/medium/hard.
The goal of this problem is to show that our definition of $\limsup$ and $\liminf$ agrees with Rudin's.
Suppose that $(x_n)_n$ is a sequence in $\R$. We say that $(x_n)_n$ diverges to infinity and write \[\limni x_n = \infty\] if for every $M \in \R$ there is some $N \in \N$ so that for all $n \gt N$, $x_n \gt M$. Similarly, we say that $(x_n)_n$ diverges to negative infinity and write \[\limni x_n = -\infty\] if for every $M \in \R$ there is some $N \in \N$ so that for all $n \gt N$, $x_n \lt M$.
Once again, suppose $(x_n)_n$ is a sequence in $\R$. Let $E$ be the set of all subsequential limits of $(x_n)_n$, including (potentially) $\infty$ and $-\infty$. Define \[\rls_{n\to\infty} x_n = \sup(E) \hspace{1in}\text{and}\hspace{1in} \rli_{n\to\infty} x_n = \inf(E),\] where the $\sup$ of any set containing $\infty$ is understood to be $\infty$, and the $\inf$ of any set containing $-\infty$ is likewise understood to be $-\infty$, and $\sup\set{-\infty} = -\infty$, $\inf\set\infty = \infty$.
(The hardest part of this problem is understanding the definitions.)
A pseudometric on a set $M$ is a function $p : M\times M \to \R_{\geq0}$ such that:
An equivalence relation on a set $X$ is a relation which is reflexive, symmetric, and transitive. That is, a relation $\sim$ such that:
As an example, fix $k \in \N$ and define a relation $\sim$ on $\Z$ by $n \sim m$ if and only if $k$ divides $n - m$. Then, for example, $k \sim 15k \sim -2k$, and \[{\Z/\!\sim} = \set{[0]_\sim, [1]_\sim, \ldots, [k-1]_\sim}\] contains precisely $k$ distinct equivalence classes. It is possible to do arithmetic on these classes: we can define $[n]_\sim + [m]_\sim = [n+m]_\sim$ and $[n]_\sim[m]_\sim = [nm]_\sim$, and the definition does not depend on the choice of representatives $n \in [n]_\sim$, $m \in [m]_\sim$. This is the beginning of modular arithmetic.
Recall that in a metric space $(M, d)$, a sequence $(a_n)_n$ converges to a point $a$ if and only if for every open set $U \subseteq M$ with $a \in U$, there is some $N \in \N$ so that for every $n \gt N$, $a_n \in U$.
Suppose that $M$ is a set, and let $\mathscr{F}$ be a set of pseudometrics on $M$. Let us call a subset $G \subseteq M$ open if for every $x \in M$, there are finitely many $p_1, \ldots, p_k \in \mathscr{F}$ and some $r \gt 0$ so that \[\set{y \in M \mid p_i(x, y) \lt r \text{ for each } i = 1, \ldots, k} \subseteq G.\]
We say a sequence $(a_n)_n$ in $M$ converges to $a \in M$ if for every open set $U \subseteq M$ with $a \in U$ there is some $N \in \N$ so that for every $n \gt N$, $a_n \in U$.
Let $a_1 = 1$ and for $n \in \N$, define $a_{n+1} = \sqrt{5+4a_n}$.
Suppose that $(a_n)_n$ is a sequence in a metric space $(M, d)$ which converges to a limit $a$. Prove that $\set{a_n\mid n \in \N} \cup \set a$ is compact.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment.
Suppose that $(a_n)_n$, $(b_n)_n$ are sequences in a metric space $(M, d)$ so that \[\limni d(a_n, b_n) = 0.\] Prove that both sequences converge to the same limit, or provide a counterexample.
A topological space is a pair $(X, \mathscr{T})$ where $X$ is a set, and $\mathscr{T}$ is a collection of subsets of $X$ so that $\emptyset, X \in \mathscr{T}$, and $\mathscr{T}$ is closed under finite intersections and arbitrary unions (that is to say, if $G_1, \ldots, G_n \in \mathscr{T}$ then $G_1\cap\cdots\cap G_n \in \mathscr{T}$, and if $(G_\alpha)_\alpha$ is a collection of elements of $\mathscr{T}$ then $\bigcup_\alpha G_\alpha \in \mathscr{T}$). The elements of $\mathscr{T}$ are said to be open, and a set $F \subseteq X$ is said to be closed if $F^c \in \mathscr{T}$. We refer to $\mathscr{T}$ as a topology on $X$.
Notice that if $(M, d)$ is a metric space, then $\mathscr{T}_d = \set{U \subseteq M \mid U \text{ is open with respect to } d}$ is a topology on $M$. We say that the topology $\mathscr{T}_d$ is induced by the metric $d$.
A topological space $(X, \mathscr{T})$ is said to be metrizable if there is a metric on $X$ which induces $\mathscr{T}$. Note that this metric need not be unique!
A sequence $(x_n)_n$ in a topological space $(X, \mathscr{T})$ is said to converge to $x \in X$ if for every open set $G \in \mathscr{T}$ with $x \in G$, there are only finitely many $n \in \N$ for which $x_n \notin G$. (Remember that we proved this was equivalent to our definition of convergence in metric spaces.)
We showed in lecture that if $\set{K_\alpha}$ is a collection of compact subsets of $M$ so that the interesction of every finite subcollection is non-empty, then the intersection of all the $K_\alpha$ is non-empty.
Recall that $d_1(\mathbf{x}, \mathbf y) = \abs{x_1-y_1}+\abs{x_2-y_2}$, $d_2(\mathbf{x}, \mathbf{y}) = \sqrt{\abs{x_1-y_1}^2 + \abs{x_2-y_2}^2}$, and $d_\infty(\mathbf x, \mathbf y) = \max(\abs{x_1-y_1}, \abs{x_2-y_2})$ are all metrics on $\R^2$.
Let $r \gt 0$ and $\mathbf x \in \R^2$.
(Note that there is no reason to find the best $s$ for a given $r$, just any one that works. It may be interesting to think about what the best is, though. Consider also what this says about drawing diamonds inside circles inside squares.)
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment.
(Note that there is no reason to find the best $s \gt 0$ for a given $r$, just any one that works. It may be interesting to think about what the best is, though. Consider what this says about drawing diamonds inside circles inside squares.)
Let $(M, d)$ be a metric space, and suppose that $E \subseteq M$ is not bounded. Prove that $E$ has an infinite subset with no limit points in $M$. Use this to show that compact sets are bounded.
Note that this gives another way to prove that compact sets are bounded.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment.
Suppose that $M_1 \subseteq M_2$ and moreover that $d_1(x, y) = d_2(x, y)$ for all $x, y \in M_1$; that is, $M_1$ is a sub-metric space of $M_2$. Show that the inclusion function $\iota : M_1 \to M_2$ given by $\iota(x) = x$ is nepo.
(Note that the metric space in which a set is considered is important here! The goal is to show that open subsets of $M_2$ have preimages in $M_1$ which are open as subsets of $M_1$. You may find it useful to first show that $\iota^{-1}(U) = U \cap M_2$.)
Prove the following useful fact, which you may use later on this assignment. You do not need to submit this problem.
Suppose that $M$ is a set and $f : M \times M \to \R_{\geq0}$ is such that for all $x, y \in M$, $f(x, y) = 0$ if and only if $x = y$, and $f(x, y) = f(y, x)$. Prove that if $x, y \in M$, we have \begin{align*} f(x, x) &\leq f(x, y) + f(y, x) \\ f(x, y) &\leq f(x, y) + f(y, y) \\ f(x, y) &\leq f(x, x) + f(x, y) \\ f(x, x) &\leq f(x, x) + f(x, x). \end{align*} Consequently, to show $f$ is a metric, it suffices to check that the triangle inequality holds for triples of distinct points.
Recall that a function $f : X \to M$ is said to be injective or one-to-one if for every $x, y \in X$, $f(x) = f(y)$ implies $x = y$.
Suppose $(M, d)$ is a metric space, $X$ is a set, and $f : X \to M$. Define \begin{align*} d_f : X\times X &\longrightarrow \R_{\geq0} \\ (x, y) &\longmapsto d(f(x), f(y)). \end{align*} Prove that $d_f$ is a metric on $X$ if and only if $f$ is injective.
Let $M$ be a set. Given a subset $E \subseteq M$, we denote by $E^c$ the complement of $E$ in $M$: $E^c = M \setminus E = \set{x \in M \mid x \notin E}$. Note that this notation only makes sense when $M$ is clear.
Verify the following identities, where $(E_\alpha)$ is a collection of subsets of $M$.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment.
Let $S$ be a set. Call a function $d : S\times S \to \R_{\geq0}$ an anti-metric if for every $x, y, z \in S$:
Show that if $d$ is an anti-metric on $S$, then $S$ contains at most one element.
Suppose $M$ and $X$ are metric spaces. We say $X$ embeds into $M$ (and write $X \hookrightarrow M$) if there is a function $f : X \to M$ which preserves distance: that is, if for all $x, y \in X$ we have $d_X(x, y) = d_M(f(x), f(y))$. Such a function $f$ is said to be an isometry. Notice that the function $f$ in Problem 2 is an isometry from $(X, d_f)$ to $(M, d)$. Also notice that an isometry is necessarily injective.
Suppose that $\emptyset \subsetneq E_1 \subseteq E_2 \subseteq \R$. If $E_2$ is bounded above, then $\sup E_1$ exists and $\sup E_1 \leq \sup E_2$.
(Note: the symbol "$\subsetneq$" means "is a proper subset of", so $A \subsetneq B$ means $A \subseteq B$ and $A \neq B$. Thus $\emptyset \subsetneq E_1$ means "$E_1$ is non-empty". In contrast, the symbol $\nsubseteq$ means "is not a subset of". The symbol "$\subset$" is inconsistently used, usually meaning $\subsetneq$ but sometimes meaning $\subseteq$, depending on the author.)
If $x, y \in \R$ with $0 \leq x \leq y$ then $x^2 \leq y^2$. Moreover, assuming that $x^{1/2}, y^{1/2}$ exist in $\R$ with $0 \leq x^{1/2}, y^{1/2}$, prove that $x^{1/2}\leq y^{1/2}$.
(We will soon see in lecture that $x^{1/2}$ and $y^{1/2}$ do indeed exist in $\R$, but we aren't there yet.)
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment. They are coloured by approximate difficulty: easy/medium/hard.
Here are some further problems to think about out of interest. You do not need to attempt them, nor should you submit them with the assignment. They are coloured by approximate difficulty: easy/medium/hard.
Prove that if $\preceq$ is a partial order on $S$, there is an order on $S$ which extends $\preceq$: that is, an order $\preceq'$ on $S$ so that if $x, y \in S$ with $x \preceq y$, then $x \preceq' y$.
To prove this, you may assume the following:
Zorn's Lemma. Suppose that $Z$ is a set and $\preceq$ is a partial order on $Z$ with the property that every totally-ordered subset of $Z$ is bounded above in $Z$. Then $Z$ contains a maximal element. (A subset $W \subseteq Z$ is totally ordered if $\preceq$ restricted to $W$ is an order, i.e., if whenever $x, y \in W$ we have either $x \preceq y$ or $y \preceq x$. An element $x \in Z$ is maximal if whenever $y \in Z$ with $x \preceq y$, we have $y = x$.)
You may wish to type your homework; for example, this makes it much easier for others to read, and makes it easier to edit and produce a coherent final argument. Most modern mathematics papers are typeset using a system called \(\mathrm{\LaTeX}\) (pronounced "lah-tech" or "lay-tech"; see the Wikipedia entry on Pronouncing and writing "LaTeX"). Although it has a steep learning curve, it is extremely useful for typesetting complicated mathematical expressions. There are many resources available online, such as this reference by Oetiker, Partl, Hyna, and Schlegl. I have also made available an assignment template here, which produces this output when compiled correctly.