16. Final Review
≪ 15. Two Inverse Function Theorem Problems | Table of ContentsI’ve picked out a bunch of problems from past basic exams (specifically from 2019 and 2020) that I feel are representative of some core ideas that we’ve been learning throughout this quarter. They definitely don’t encapsulate everything that we’ve learned, but hopefully it’ll be a good refresher of some techniques and ideas we’ve left on the backburner.
There are a lot of problems that I’ve selected, and I have neither the energy nor the paycheck to type out solutions to all of them. However, I’ll try to give meaningful hints to most of the problems.
Sequences and Convergence
Problem 1. (Spring 2019, Problem 6)
For \(n\geq 1\), let \(f_n:\mathbb{R}_+\to \mathbb{R}\) via \(f_n(x) = \frac{x}{n^2}e ^{-\frac{x}{n}}\). Show that the sequence \(\left\lbrace f_n \right\rbrace\) converges to \(0\) uniformly over \(\mathbb{R}_+\) but \[\lim _{n\to\infty}\int _{0}^{\infty}f_n(x) dx = 1.\]
Hint
Problem 2. (Fall 2020, Problem 12)
For each \(n\in \mathbb{N}\), let \(f_n:\mathbb{R}\to \mathbb{R}\), and assume that these functions are uniformly bounded. That is, there exists \(M\in \mathbb{R}\) such that \(\left\lvert f_n(x) \right\rvert\leq M\) for all \(n\in \mathbb{N}\) and all \(x\in \mathbb{R}\). Let \(X\) be a countable subset of \(\mathbb{R}\). Show that the sequence \(\left\lbrace f_n \right\rbrace\) has a subsequence that converges pointwise for all \(x\in X\).
Hint
Metric Space Topology
Problem 3. (Spring 2019, Problem 1)
Let \(C\left( [0, 1] \right)\) denote the space of continuous real-valued functions equipped with the distance \[d\left( f,g \right)=\sup _{x\in [0, 1]}\left\lvert f(x)-g(x) \right\rvert.\] Let \(X\) be a subset of \(C\left( [0, 1] \right)\) defined via \[X=\left\lbrace f:\left[ 0,1 \right]\to \mathbb{R} : f(0) = 0\textrm{ and }\left\lvert f(x) - f(y) \right\rvert\leq \left\lvert x-y \right\rvert \right\rbrace.\] Show that \(X\) is connected and complete.
Hint
Hint
Solution
Let’s start with connectedness. One can attempt to proceed via the open set/clopen set characterisation of connected spaces, but it’s very difficult to determine which subsets of \(X\) are open and which are closed. Rather, it’s far easier to consider the fact that path-connected metric spaces are connected!
Thus, given two functions \(f, g\in X\), we wish to show there is a continuous path \(F:\left[ 0, 1 \right]\to X\) such that \(F(0)=f\) and \(F(1)=g\). There is a rather naïve thing to try, and it ends up working. For \(t\in \left[ 0, 1 \right]\), define the function \(F(t)\) via \[F(t)(x) = (1-t)\cdot f(x) + t \cdot g(x). \] We first check that \(F(t)\) is in \(X\): clearly \(F(t)(0)=0\) since \(f(0)=g(0)=0\). If \(x,y\in \left[ 0,1 \right]\), we have \[\left\lvert F(x)-F(y) \right\rvert \leq \left( 1-t \right)\left\lvert f(x)-f(y) \right\rvert + t \left\lvert g(x) - g(y) \right\rvert\leq \left\lvert x-y \right\rvert\] by expanding and spamming the triangle inequality. Finally, to show continuity, fix \(\epsilon>0\). If \(t, s\in \left[ 0, 1 \right]\), we have \[\begin{align*}d\left( F(t), F(s) \right) &= \sup _{x\in [0, 1]} \left\lvert (s-t) f(x) + (t-s) g(x) \right\rvert \\&= \sup _{x\in \left[ 0, 1 \right]}\left\lvert s-t \right\rvert \cdot \left\lvert f(x) - g(x) \right\rvert \\&= \left\lvert s-t \right\rvert d\left( f, g \right). \end{align*}\] Thus, if \(\delta=\frac{\epsilon}{d\left( f, g \right)}\), then \(\left\lvert t-s \right\rvert< \delta\) implies \(d\left( F(t), F(s) \right)< \epsilon\). Of course, if \(d\left( f, g \right)=0\), then \(F\) is a constant function, which is continuous anyways. Thus \(X\) is path-connected, and it follows that \(X\) is connected.
For completeness, we note that \(C\left( \left[ 0,1 \right] \right)\) is complete with respect to \(d\). Thus, it suffices to show that \(X\) is closed in this larger space, as closed subsets of complete metric spaces are complete.
Let \(\left\lbrace f_n \right\rbrace\) be a sequence of functions in \(X\) converging uniformly to a limit \(f\) in \(C\left( \left[ 0,1 \right] \right)\). Since \(f_n(0)\to f(0)\) and \(f_n(0)=0\) for all \(n\), \(f(0)=0\). Likewise, if \(x, y\in \left[ 0, 1 \right]\), we have \[\left\lvert f(x)-f(y) \right\rvert = \lim _{n\to\infty}\left\lvert f_n(x)-f_n(y) \right\rvert \leq \lim _{n\to\infty} \left\lvert x-y \right\rvert=\left\lvert x-y \right\rvert.\] Here, we used continuity of the absolute value. We conclude that \(f\in X\). Since \(X\) contains all of its limit points, it is closed, and thus \(X\) is complete. \(\square\)
Problem 4. (Fall 2019, Problem 11)
Let \(X\) denote the set of nondecreasing functions \(f:\left[ 0,1 \right]\to \left[ 0,1 \right]\). By nondecreasing, we mean that \(x\leq y\implies f(x)\leq f(y)\). We endow \(X\) with the following metric: \[d\left( f,g \right) =\sup \left\lbrace \left\lvert f(x)-g(x) \right\rvert : x\in \left[ 0,1 \right] \right\rbrace.\] Prove that \(\left( X,d \right)\) is complete but not compact.
Problem 5. (Spring 2020, Problem 9)
We define a metric space \(\left( X, d \right)\) as follows: \(X\) is the set of continuous functions \(f:\left[ 0,1 \right]\to \left[ 0,1 \right]\) such that \(f(1)=0\) and \[d\left( f,g \right)=\inf \left\lbrace r\in \left[ 0,1 \right] : f(t)=g(t)\ \forall r\leq t\leq 1 \right\rbrace.\] Prove the following statements about \(\left( X, d \right)\):
- It is not compact.
- It is not connected.
- It is not separable.
- It is not complete.
Hint (Statements 1 and 3)
Hint (Statement 2)
Hint (Statement 4)
Continuity
Problem 6. (Fall 2019, Problem 12)
Let \(\ell^\infty\left( \mathbb{Z} \right)\) denote the space of bounded functions \(f:\mathbb{Z}\to \mathbb{R}\) together with the metric \[d\left( f, g \right) = \sup _{n\in \mathbb{Z}}\left\lvert f(n)-y(n) \right\rvert.\] Show that a function \(F:\ell^\infty\left( \mathbb{Z} \right)\to \mathbb{R}\) is continuous if and only if its restriction to any compact subset of \(\ell^\infty\) is continuous.
Hint
Solution
The big idea behind this problem is knowing the different ways to characterise continuous functions. First, the “only if” direction is trivial — the restriction of any continuous function will remain continuous.
We have that \(F\) is continuous if and only if for all sequences \(\left\lbrace f_n \right\rbrace\subseteq \ell^\infty(\mathbb{Z})\) converging to some limit \(f\), then \(F\left( f_n \right)\) also converges to \(F(f)\). So, we need to find a compact subset of \(\ell^\infty\left( \mathbb{Z} \right)\) containing \(\left\lbrace f_n \right\rbrace\) and containing \(f\).
Let \(S=\left\lbrace f_n : n\in \mathbb{N} \right\rbrace\cup \left\lbrace f \right\rbrace\). We claim \(S\) is compact. This is because if \(\left\lbrace g_m \right\rbrace\) is any sequence in \(S\), then either \(g_m\) repeats an element of \(S\) infinitely often or \(g_m\) contains a subsequence of \(\left\lbrace f_n \right\rbrace\). In either case, \(g_m\) has a converging subsequence whose limit lies in \(S\).
Since \(\left. F\right\rvert_{S}\) (the restriction to \(S\)) is continuous by assumption, \(F\left( f_n \right)\to F(f)\), as desired. \(\square\)
Integration
Problem 7. (Spring 2019, Problem 3)
Let \(a, b\in \mathbb{R}\) with \(a \leq b\) and let \(f:\left[ a,b \right]\to \mathbb{R}\) be a Riemann integrable function. Assume that there is a \(\delta>0\) such that \(f(x)\geq \delta\) for all \(x\in \left[ a,b \right]\). Show that the function \(\frac{1}{f}\) is Riemann integrable.
Hint
Hint
Differentiable Maps
Problem 8. (Spring 2019, Problem 4)
Let \(a, b\in \mathbb{R}\) with \(a< b\) and let \(f,g:\left[ a,b \right]\to \mathbb{R}\) be continuous functions that are differentiable on \(\left( a,b \right)\). Show that there exists some \(\xi\in \left( a,b \right)\) such that \[\left( f(b)-f(a) \right)g’(\xi) = \left( g(b)-g(a) \right)f’(\xi).\]
Hint
Problem 9. (Fall 2020, Problem 12)
Let \(X\) be an open convex subset of \(\mathbb{R}^n\). (Recall that a set is called convex if for any points \(x, y\in X\), the line segment from \(x\) to \(y\) is contained in \(X\).) Let \(f:X\to \mathbb{R}\) be a differentiable function.
- Show that for any \(x,y\in X\), there is a point \(z\), lying on the line segment from \(x\) to \(y\), for which \[f(y)-f(x) = \nabla f(z)\cdot (y-x).\]
- Use part 1 to show that if the partial derivatives of \(f\) are bounded, then \(f\) is uniformly continuous on \(X\).
Solution (Part 1)
Consider the function \(F:\left[ 0,1 \right]\to \mathbb{R}\) given by \(F(t) = f\left( (1-t)x+ty \right)\), which is well-defined since \(X\) is convex. Then \(F(1) = f(y)\) and \(F(0)=f(x)\). We will compute the derivative, then appeal to the mean value theorem.
By the definition of the derivative, \[\lim _{\left\lVert \vec h \right\rVert\to 0} \frac{f\left(\vec a+\vec h\right)-f\left(\vec a\right)-\nabla f\left( \vec a \right)\cdot \vec h}{\left\lVert \vec h \right\rVert}=0.\] Now replace \(\vec a\) with \((1-t)x+ty\) (dropping the vector hats for wrist health) and \(\vec h\) with \(h\left( y-x \right)\), where \(h\) is a real number instead of a vector: \[\lim _{h\to 0} \frac{f((1-t-h)x+(t+h)y-f((1-t)x+ty) - \nabla f\left( (1-t)x+ty\right)\cdot\left( h(y-x) \right)}{ \left\lvert h \right\rvert\cdot \left\lVert y-x \right\rVert} = 0.\] We may replace \(\left\lvert h \right\rvert\) with \(h\) here since the sign doesn’t matter — the resulting limit is \(0\) either way. Since \(\left\lVert y-x \right\rVert\) is just a constant, we can multiply through by \(\left\lVert y-x \right\rVert\). Thus, our result after rearranging is \[\lim _{h\to 0}\frac{f\left( (1-t-h)x+(t+h)y \right)-f\left( (1-t)x+ty \right)}{h} = \nabla f\left( (1-t)x+ty \right)\cdot (y-x).\] But the left-hand-side is just \(F’(t)\)! By the mean value theorem, there exists a time \(t\) such that \[f(y)-f(x) = F(1)-F(0)= F’(t) = \nabla f\left( (1-t)x+ty \right)\cdot (y-x).\] Taking \(z=(1-t)x+ty\) concludes the proof. \(\square\)
Problem 10. (Spring 2020, Problem 12)
We say that a function (f:\mathbb{R}\to \mathbb{R}) is convex if \[f\left( tx+(1-t)y \right)\leq tf(x) + (1-t)f(y)\] for all \(x,y\in \mathbb{R}\) and all \(t\in \left[ 0,1 \right]\).
- Suppose \(f:\mathbb{R}\to \mathbb{R}\) is differentiable. Then \(f\) is convex if and only if \[f(y) \geq f(x) + (y-x) f’(x) \] for all \(x, y\in \mathbb{R}\).
- Suppose \(f:\mathbb{R}\to \mathbb{R}\) is twice continuously differentiable and \(f’’\geq 0\). Then \(f\) is convex.