$$ \newcommand{\cis}{\operatorname{cis}} \newcommand{\norm}[1]{\left\|#1\right\|} \newcommand{\paren}[1]{\left(#1\right)} \newcommand{\sq}[1]{\left[#1\right]} \newcommand{\abs}[1]{\left\lvert#1\right\rvert} \newcommand{\set}[1]{\left\{#1\right\}} \newcommand{\ang}[1]{\left\langle#1\right\rangle} \newcommand{\floor}[1]{\left\lfloor#1\right\rfloor} \newcommand{\ceil}[1]{\left\lceil#1\right\rceil} \newcommand{\C}{\mathbb{C}} \newcommand{\D}{\mathbb{D}} \newcommand{\R}{\mathbb{R}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\N}{\mathbb{N}} \newcommand{\F}{\mathbb{F}} \newcommand{\T}{\mathbb{T}} \renewcommand{\S}{\mathbb{S}} \newcommand{\intr}{{\large\circ}} \newcommand{\limni}[1][n]{\lim_{#1\to\infty}} \renewcommand{\Re}{\operatorname{Re}} \renewcommand{\Im}{\operatorname{Im}} $$
Due: February 11th, 2021

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$
    1. $S_D = \R$, $d_D(x, y) = \abs{x^2-y^2}$
    2. $S_E = \R$, $d_E(x, y) = \abs{x^5-y^3}$
    1. 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 $k = \min\set{n \in \N \mid f(n) \neq g(n)}$, and set $d_G(f, g) = 2^{-k}$; if $f = g$, set $d_G(f, g) = 0$ instead.
    2. $S_H = \set{4}$, $d_H(x, y) = x^2 + y^2 - 2x - 2y - 16$
  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 a product metric

    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}$. Prove that \begin{align*} d_2 : (S\times T) \times (S\times T) &\longrightarrow \R_{\geq0} \\ ((x_1, x_2), (y_1, y_2)) &\longmapsto \sqrt{d_S(x_1, y_1)^2 + d_T(x_2, y_2)^2}. \end{align*} is a metric on $S \times T$.

    (Note that, as a consequence, the Euclidean metric is a metric on $\R^2$; induction will show that it is also a metric on $\R^n$ for any $n \in \N$.)

  5. Some open/closed set problems

    Suppose $(M, d)$ is a metric space.

    1. Prove that finite subsets of $M$ are closed.
    2. Suppose $x, y \in M$ are such that every open set containing $x$ also contains $y$. Prove that $x = y$.
    3. Suppose that $d$ is the discrete metric on $M$; that is, that $d(x, y) \in \set{0,1}$ for every $x, y \in M$. Determine which subsets of $M$ are open, and determine which subsets of $M$ are closed.
    4. Let $n \in \N$, and $T, a_1, \ldots, a_n \in \R$. Prove that \[\set{x \in \R^n \mid a_1x_1 + \ldots + a_nx_n \lt {\color{red}T}}\] is open (in $\R^n$ with respect to the Euclidean distance $d_2$).

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.

Useful fact: a lot of the content of this website is rendered with a Javascript plugin called MathJax. If you right-click on any displayed math, one of the options is "Show Math As > TeX Commands", which will show you what $\LaTeX$ I used to generate it. However, I've defined a few custom commands that are not standard $\LaTeX$, so you can't *quite* copy-paste directly into a document. Nonetheless, if you're wondering how to typeset something, that's a way to find out.