Exercises from Real Analysis with worked solutions.

Exercise 28. Question 5.1.A
§5.1HW 5
Use the ε–r definition of the limit of a function to showlim⁡x→2x2=4.\text{Use the $\varepsilon$–$r$ definition of the limit of a function to show} \\ \lim_{x \to 2} x^2 = 4.
Exercise 29. Question 5.1.B
§5.1HW 5
Show that the functionf(x)={xsin⁡xif 0<∣x∣<π/21if x=0is continuous at 0. Find an r>0 such that ∣f(x)−1∣<10−6for all ∣x∣<r.\text{Show that the function} \\ f(x) = \begin{cases} \dfrac{x}{\sin x} & \text{if } 0 < |x| < \pi/2 \\ 1 & \text{if } x = 0 \end{cases} \\ \text{is continuous at 0. Find an $r > 0$ such that $|f(x) - 1| < 10^{-6}$} \\ \text{for all $|x| < r$.}
Exercise 30. Question 5.1.C
§5.1HW 5
Show that the sawtooth functionf(x)={x−2nif 2n≤x≤2n+1, n∈Z2n−xif 2n−1≤x≤2n, n∈Zis continuous.\text{Show that the sawtooth function} \\ f(x) = \begin{cases} x - 2n & \text{if } 2n \leq x \leq 2n + 1, \ n \in \mathbb{Z} \\ 2n - x & \text{if } 2n - 1 \leq x \leq 2n, \ n \in \mathbb{Z} \end{cases} \\ \text{is continuous.}
Exercise 31. Question 5.1.F
§5.1HW 5
(a) Show that the definition of limit can be reformulated usingopen balls instead of norms as follows: A function f mappinga subset S⊂Rn into Rm has limit v as x approaches aprovided that for every ε>0, there is an r>0 such thatf(Br(a)∩S∖{a})⊂Bε(v).(b) Provide a similar reformulation of the statement that f iscontinuous at a.\text{(a) Show that the definition of limit can be reformulated using} \\ \text{open balls instead of norms as follows: A function $f$ mapping} \\ \text{a subset $S \subset \mathbb{R}^n$ into $\mathbb{R}^m$ has limit $\mathbf{v}$ as $\mathbf{x}$ approaches $\mathbf{a}$} \\ \text{provided that for every $\varepsilon > 0$, there is an $r > 0$ such that} \\ f(B_r(\mathbf{a}) \cap S \setminus \{\mathbf{a}\}) \subset B_\varepsilon(\mathbf{v}). \\ \text{(b) Provide a similar reformulation of the statement that $f$ is} \\ \text{continuous at $\mathbf{a}$.}
Exercise 32. Question 5.1.G
§5.1HW 5
Suppose that functions f,g,h mapping S⊂Rn into R satisfyf(x)≤g(x)≤h(x) for x∈S. Suppose that c is a limit point ofS and lim⁡x→cf(x)=lim⁡x→ch(x)=L.Show that lim⁡x→cg(x)=L.\text{Suppose that functions $f, g, h$ mapping $S \subset \mathbb{R}^n$ into $\mathbb{R}$ satisfy} \\ \text{$f(\mathbf{x}) \leq g(\mathbf{x}) \leq h(\mathbf{x})$ for $\mathbf{x} \in S$. Suppose that $\mathbf{c}$ is a limit point of} \\ \text{$S$ and $\lim_{\mathbf{x} \to \mathbf{c}} f(\mathbf{x}) = \lim_{\mathbf{x} \to \mathbf{c}} h(\mathbf{x}) = L$.} \\ \text{Show that $\lim_{\mathbf{x} \to \mathbf{c}} g(\mathbf{x}) = L$.}
Exercise 33. Question 5.1.H
§5.1HW 5
Define a function on the set S={0}∪{1n:n≥1} byf(1n)=an and f(0)=L. Prove that f is continuous on Sif and only if lim⁡n→∞an=L.\text{Define a function on the set $S = \{0\} \cup \{\frac{1}{n} : n \geq 1\}$ by} \\ \text{$f(\frac{1}{n}) = a_n$ and $f(0) = L$. Prove that $f$ is continuous on $S$} \\ \text{if and only if $\lim_{n \to \infty} a_n = L$.}
Exercise 34. Question 5.1.K
§5.1HW 5
Here πj:Rn→R is πj(x)=xj, and ϵi:R→Rm isϵi(t)=tei, so ϵiπj(x)=xjei.(a) Show that a linear transformation A:Rn→Rm withm×n matrix [aij] can be written asA=∑i=1m∑j=1naijϵiπj.(b) Show that ϵiπj is Lipschitz with constant 1.(c) Hence deduce that A is Lipschitz with constant∑i=1m∑j=1n∣aij∣.\text{Here $\pi_j : \mathbb{R}^n \to \mathbb{R}$ is $\pi_j(\mathbf{x}) = x_j$, and $\epsilon_i : \mathbb{R} \to \mathbb{R}^m$ is} \\ \text{$\epsilon_i(t) = t\mathbf{e}_i$, so $\epsilon_i \pi_j(\mathbf{x}) = x_j \mathbf{e}_i$.} \\ \text{(a) Show that a linear transformation $A : \mathbb{R}^n \to \mathbb{R}^m$ with} \\ \text{$m \times n$ matrix $[a_{ij}]$ can be written as} \\ A = \sum_{i=1}^{m} \sum_{j=1}^{n} a_{ij} \epsilon_i \pi_j. \\ \text{(b) Show that $\epsilon_i \pi_j$ is Lipschitz with constant 1.} \\ \text{(c) Hence deduce that $A$ is Lipschitz with constant} \\ \textstyle\sum_{i=1}^{m} \sum_{j=1}^{n} |a_{ij}|.
Exercise 35. Question 5.1.L
§5.1HW 5
Consider the linear transformation on R4 given by the matrixA=[1212121212−1212−121212−12−1212−12−1212].(a) Compute the Lipschitz constant obtained in Corollary 5.1.7.(b) Show that ∥Ax∥=∥x∥ for all x∈R4. Hence deducethat the optimal Lipschitz constant is 1.\text{Consider the linear transformation on $\mathbb{R}^4$ given by the matrix} \\ A = \begin{bmatrix} \frac{1}{2} & \frac{1}{2} & \frac{1}{2} & \frac{1}{2} \\ \frac{1}{2} & -\frac{1}{2} & \frac{1}{2} & -\frac{1}{2} \\ \frac{1}{2} & \frac{1}{2} & -\frac{1}{2} & -\frac{1}{2} \\ \frac{1}{2} & -\frac{1}{2} & -\frac{1}{2} & \frac{1}{2} \end{bmatrix}. \\ \text{(a) Compute the Lipschitz constant obtained in Corollary 5.1.7.} \\ \text{(b) Show that $\lVert A\mathbf{x} \rVert = \lVert \mathbf{x} \rVert$ for all $\mathbf{x} \in \mathbb{R}^4$. Hence deduce} \\ \text{that the optimal Lipschitz constant is 1.}
Brown dog curled up asleep on a blanket