Due: September 18th, 2020

Math 104 Assignment 3

  1. Warm-up

    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.

  2. Metrics?

    For each of the following, determine (with proof) if the given function is a metric on the given set.
    1. $S_A = \R$, $d_A(x, y) = \sqrt{\abs{x-y}}$
    2. $S_B = \Z$, $d_B(j, k) = \abs{j-k}^2$
    3. $S_C = \R$, $d_C(x, y) = \abs{x^5-y^5}$
    4. $S_D = \R$, $d_D(x, y) = \abs{x^4-y^4}$
    5. $S_E = \R$, $d_E(x, y) = \abs{x^5-y^3}$
    6. $S_F = \R$, $d_F(x, y) = \begin{cases}\abs{x - y} & \text{ if } xy \neq 0\\ 0 & \text{ if } x = y = 0 \\ 1 + \abs{x-y} & \text{ otherwise}\end{cases}.$
    7. Let $S_G = \set{f : \N \to \set{0, 1}}$ be the set of functions from $\N$ to $\set{0,1}$; note that an element of $S_G$ can be thought of as an infinitely long binary string. (E.g., the function $f(n)$ which is $1$ if $n \leq 3$ and $0$ otherwise corresponds to the string $11100000...$; the function $g(n)$ which is $0$ if $n$ is even and $1$ if $n$ is odd corresponds to the string $1010101010101...$.) If $f, g \in S_G$ are not equal, let $n_0 = \min\set{n \in \N \mid f(n) \neq g(n)}$, and set $d_G(f, g) = 2^{-n_0}$; if $f = g$, set $d_G(f, g) = 0$ instead.
  3. Pullbacks of metrics along maps

    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.

  4. Building product metrics

    Suppose that $S$ and $T$ are metric spaces with metrics $d_S$ and $d_T$ respectively. Recall $S \times T = \set{(s, t) : s \in S, t \in T}$.
    1. Take \begin{align*} d_1 : (S\times T) \times (S\times T) &\to \R_{\geq0} \\ ((s_1, t_1), (s_2, t_2)) &\mapsto d_S(s_1, s_2) + d_T(t_1, t_2). \end{align*} Show that $d_1$ is a metric on $S\times T$.
    2. Take \begin{align*} d_\infty : (S\times T) \times (S\times T) &\to \R_{\geq0} \\ ((s_1, t_1), (s_2, t_2)) &\mapsto \max\set{d_S(s_1, s_2), d_T(t_1, t_2)}. \end{align*} Show that $d_\infty$ is a metric on $S\times T$.
  5. Some basic open/closed set problems

    Suppose $(M, d)$ is a metric space.
    1. Suppose $x \in M$. Prove that $\set{x}$ is closed.
    2. Suppose $x, y \in M$ are such that every open set containing $x$ also contains $y$. Prove that $x = y$.
  6. De Morgan's Laws

    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$.

    1. \[\paren{\bigcap_{\alpha} E_\alpha}^c = \bigcup_\alpha E_\alpha^c\]
    2. \[\paren{\bigcup_{\alpha} E_\alpha}^c = \bigcap_\alpha E_\alpha^c\]

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.