Exercises from Real Analysis with worked solutions.

Exercise 1. Question 4.1.A
§4.1HW 1
Establish the Pythagorean formula: if x and y areorthogonal vectors,prove that ∥x+y∥=(∥x∥2+∥y∥2)1/2.\text{Establish the Pythagorean formula: if $x$ and $y$ are} \\ \text{orthogonal vectors,} \\ \text{prove that $\lVert x+y\rVert = \left(\lVert x\rVert^2+\lVert y\rVert^2\right)^{1/2}$.}
Exercise 2. Question 4.1.C
§4.1HW 1
Show that ∥x+y∥2+∥x−y∥2=2∥x∥2+2∥y∥2 forall vectors x,y∈Rn.Geometric meaning?\text{Show that $\lVert x+y\rVert^2+\lVert x-y\rVert^2 = 2\lVert x\rVert^2+2\lVert y\rVert^2$ for} \\ \text{all vectors $x,y\in\mathbb{R}^n$.} \\ \text{Geometric meaning?}
Exercise 3. Question 4.1.D
§4.1HW 1
Prove that if x,y∈Rn then ∣∥x∥−∥y∥∣≤∥x−y∥.\text{Prove that if $x,y\in\mathbb{R}^n$ then $\big|\lVert x\rVert-\lVert y\rVert\big|\le\lVert x-y\rVert$.}
Exercise 4. Question 4.1.E
§4.1HW 1
Prove by induction that∥x1+⋯+xk∥≤∥x1∥+⋯+∥xk∥ for vectorsxi∈Rn.\text{Prove by induction that} \\ \text{$\lVert x_1+\cdots+x_k\rVert\le\lVert x_1\rVert+\cdots+\lVert x_k\rVert$ for vectors} \\ \text{$x_i\in\mathbb{R}^n$.}
Exercise 5. Question 4.1.F
§4.1HW 1
Suppose that x and y are unit vectors in Rn. Showthat if ∥x+y2∥=1, then x=y.\text{Suppose that $x$ and $y$ are unit vectors in $\mathbb{R}^n$. Show} \\ \text{that if $\big\lVert\frac{x+y}{2}\big\rVert=1$, then $x=y$.}
Exercise 6. Question 4.1.I
§4.1HW 1
Suppose that U is a linear transformation from Rn toRm that is isometric,meaning that ∥Ux∥=∥x∥ for all x∈Rn.(a) Prove that ⟨Ux,Uy⟩=⟨x,y⟩ for all x,y∈Rn.(b) If {v1,…,vn} is an orthonormal set in Rm, showthat the linear transformationUx=∑i=1nxivi is isometric.\text{Suppose that $U$ is a linear transformation from $\mathbb{R}^n$ to} \\ \text{$\mathbb{R}^m$ that is \textit{isometric},} \\ \text{meaning that $\lVert Ux\rVert=\lVert x\rVert$ for all $x\in\mathbb{R}^n$.} \\[0.5em] \text{(a) Prove that $\langle Ux,Uy\rangle=\langle x,y\rangle$ for all $x,y\in\mathbb{R}^n$.} \\ \text{(b) If $\{v_1,\dots,v_n\}$ is an orthonormal set in $\mathbb{R}^m$, show} \\ \text{that the linear transformation} \\ \text{$Ux=\sum_{i=1}^n x_iv_i$ is isometric.}
Exercise 7. Question 4.1.K
§4.1HW 1
Let M be a subspace of Rn with an orthonormal basis{v1,…,vk}.Define a linear transformation on Rn byPx=∑i=1k⟨x,vi⟩vi.(a) Show that Px belongs to M, and Py=y for ally∈M. Hence show that P2=P.(b) Show that ⟨Px,x−Px⟩=0.(c) Hence show that ∥x∥2=∥Px∥2+∥x−Px∥2.(d) If y∈M, show that∥x−y∥2=∥y−Px∥2+∥x−Px∥2.(e) Hence show that Px is the closest point in M to x.\text{Let $M$ be a subspace of $\mathbb{R}^n$ with an orthonormal basis} \\ \text{$\{v_1,\dots,v_k\}$.} \\ \text{Define a linear transformation on $\mathbb{R}^n$ by} \\ Px=\sum_{i=1}^k\langle x,v_i\rangle v_i. \\[0.5em] \text{(a) Show that $Px$ belongs to $M$, and $Py=y$ for all} \\ \text{$y\in M$. Hence show that $P^2=P$.} \\ \text{(b) Show that $\langle Px,x-Px\rangle=0$.} \\ \text{(c) Hence show that $\lVert x\rVert^2=\lVert Px\rVert^2+\lVert x-Px\rVert^2$.} \\ \text{(d) If $y\in M$, show that} \\ \text{$\lVert x-y\rVert^2=\lVert y-Px\rVert^2+\lVert x-Px\rVert^2$.} \\ \text{(e) Hence show that $Px$ is the closest point in $M$ to $x$.}
Exercise 8. Question 4.2.A
§4.2HW 2
(a) If (xn)n=1∞ is a sequence in Rn with lim⁡n→∞xn=a,show that lim⁡n→∞∥xn∥=∥a∥.(b) Show by example that the converse is false.\text{(a) If $(x_n)^{\infty}_{n=1}$ is a sequence in $\mathbb{R}^n$ with $\lim_{n \to \infty} \mathbf{x_n} = \mathbf{a}$,} \\ \text{show that $\lim_{n \to \infty} \lVert \mathbf{x}_n \rVert = \lVert \mathbf{a} \rVert$.} \\[0.5em] \text{(b) Show by example that the converse is false.}
Exercise 9. Question 4.2.B
§4.2HW 2
Show that if (xk) is a sequence in Rn such that∑k≥1∥xk−xk+1∥<∞,then (xk) is a Cauchy sequence.\text{Show that if $(\mathbf{x}_k)$ is a sequence in $\mathbb{R}^n$ such that} \\ \text{$\sum_{k \geq 1} \lVert \mathbf{x}_k - \mathbf{x}_{k+1} \rVert < \infty$,} \\ \text{then $(\mathbf{x}_k)$ is a Cauchy sequence.}
Exercise 10. Question 4.2.D
§4.2HW 2
Let x0∈Rn and R>0. Prove that{x∈Rn:∥x−x0∥≤R} is complete.\text{Let $x_0 \in \mathbb{R}^n$ and $R > 0$. Prove that} \\ \text{$\{x \in \mathbb{R}^n : \|\mathbf{x} - \mathbf{x_0}\| \leq R \}$ is complete.}
Exercise 11. Question 4.2.E
§4.2HW 2
Let M be a subspace of Rn.(a) Let {v1,…,vm} be an orthonormal basis for M.Formulate an analogue of Lemma 4.2.3 for M andprove it.(b) Prove that M is complete.\text{Let $M$ be a subspace of $\mathbb{R}^n$.} \\[0.5em] \text{(a) Let $\{\mathbf{v}_1, \dots, \mathbf{v}_m\}$ be an orthonormal basis for $M$.} \\ \text{Formulate an analogue of Lemma 4.2.3 for $M$ and} \\ \text{prove it.} \\[0.5em] \text{(b) Prove that $M$ is complete.}
Exercise 12. Question 4.2.F
§4.2HW 2
Let v0=(x0,y0) with 0<x0<y0. Definevn+1=(xn+1,yn+1)=(xnyn, xn+yn2)for all n≥0.(a) Show by induction that0<xn<xn+1<yn+1<yn.(b) Then estimate yn+1−xn+1 in terms of yn−xn.(c) Thereby show that there is a number c such thatlim⁡n→∞vn=(c,c).\text{Let $\mathbf{v}_0 = (x_0, y_0)$ with $0 < x_0 < y_0$. Define} \\ \mathbf{v}_{n+1} = (x_{n+1}, y_{n+1}) = \left( \sqrt{x_n y_n}, \ \frac{x_n + y_n}{2} \right) \\ \text{for all $n \geq 0$.} \\[0.5em] \text{(a) Show by induction that} \\ \text{$0 < x_n < x_{n+1} < y_{n+1} < y_n$.} \\ \text{(b) Then estimate $y_{n+1} - x_{n+1}$ in terms of $y_n - x_n$.} \\ \text{(c) Thereby show that there is a number $c$ such that} \\ \text{$\lim_{n \to \infty} \mathbf{v}_n = (c,c)$.}
Exercise 13. Question 4.2.H
§4.2HW 2
Let T=[5/4−1/43/41/4]. Set xn=Tn(1,0) for n≥1.(a) Prove that (xn) converges and find the limit y.(b) Find an explicit N so that ∥xn−y∥<1210−100 forall n≥N.\text{Let } T = \begin{bmatrix} 5/4 & -1/4 \\ 3/4 & 1/4 \end{bmatrix}\text{. Set $\mathbf{x}_n = T^n(1,0)$ for $n \geq 1$.} \\[0.5em] \text{(a) Prove that $(\mathbf{x}_n)$ converges and find the limit $\mathbf{y}$.} \\ \text{(b) Find an explicit $N$ so that $\|\mathbf{x}_n - \mathbf{y}\| < \frac{1}{2} 10^{-100}$ for} \\ \text{all $n \geq N$.}
Exercise 14. Additional Problem
HW 2
If (xk)⊆Rn converges to a∈Rn and ∥xk∥≤81 for allk∈N,then ∥a∥≤81.\text{If $(\mathbf{x}_k) \subseteq \mathbb{R}^n$ converges to $\mathbf{a} \in \mathbb{R}^n$ and $\|\mathbf{x}_k\| \leq 81$ for all} \\ \text{$k \in \mathbb{N}$,} \\ \text{then $\|\mathbf{a}\| \leq 81$.}
Exercise 15. Example of Convergence in ℝ²
§4.2
Let v0=(00) and define a sequencevn=(xnyn)∈R2 recursively byxn+1=xn+yn+12,yn+1=xn−yn+12.Does (vn) converge?\text{Let } \mathbf{v}_0 = \begin{pmatrix} 0 \\ 0 \end{pmatrix} \text{ and define a sequence} \\ \mathbf{v}_n = \begin{pmatrix} x_n \\ y_n \end{pmatrix} \in \mathbb{R}^2 \text{ recursively by} \\ x_{n+1} = \frac{x_n + y_n + 1}{2}, \quad y_{n+1} = \frac{x_n - y_n + 1}{2}. \\[0.5em] \text{Does } (\mathbf{v}_n) \text{ converge?}
Exercise 16. Question 4.3.D
§4.3HW 3
If A is a bounded subset of R, show that sup⁡A and inf⁡Abelong to A‾.\text{If $A$ is a bounded subset of $\mathbb{R}$, show that $\sup A$ and $\inf A$} \\ \text{belong to $\overline{A}$.}
Exercise 17. Question 4.3.E
§4.3HW 3
Show that the interior satisfies int⁡A=(A′‾)′.\text{Show that the interior satisfies $\operatorname{int} A = (\overline{A'})'$.}
Exercise 18. Question 4.3.H
§4.3HW 3
Show that a subset of Rn is complete if and only if it isclosed.\text{Show that a subset of $\mathbb{R}^n$ is complete if and only if it is} \\ \text{closed.}
Exercise 19. Question 4.3.I
§4.3HW 3
Prove Proposition 4.3.9 using Theorem 4.3.8 andProposition 4.3.3.\text{Prove Proposition 4.3.9 using Theorem 4.3.8 and} \\ \text{Proposition 4.3.3.}
Exercise 20. Question 4.3.J
§4.3HW 3
Show that if U is open and A is closed, thenU∖A={x∈U:x∉A} is open.What can be said about A∖U?\text{Show that if $U$ is open and $A$ is closed, then} \\ U \setminus A = \{ \mathbf{x} \in U : \mathbf{x} \notin A \} \text{ is open.} \\ \text{What can be said about $A \setminus U$?}
Exercise 21. Question 4.3.M
§4.3HW 3
Suppose that A is a dense subset of Rn.(a) Show that if U is open in Rn, then A∩U is dense in U.(b) Show by example that this may fail for sets that arenot open.\text{Suppose that $A$ is a dense subset of $\mathbb{R}^n$.} \\ \text{(a) Show that if $U$ is open in $\mathbb{R}^n$, then $A \cap U$ is dense in $U$.} \\ \text{(b) Show by example that this may fail for sets that are} \\ \text{not open.}
Exercise 22. Question 4.4.B
§4.4HW 4
Example where CIT isn’t true because cpt sets are replacedby closed sets.\text{Example where CIT isn't true because cpt sets are replaced} \\ \text{by closed sets.}
Exercise 23. Question 4.4.C
§4.4HW 4
The union of finitely many cpt sets is cpt.\text{The union of finitely many cpt sets is cpt.}
Exercise 24. Question 4.4.D
§4.4HW 4
Intersection of a family of cpt sets is cpt.\text{Intersection of a family of cpt sets is cpt.}
Exercise 25. Question 4.4.E(a)
§4.4HW 4
Show that the sum of a closed subset and a cpt subset ofRn is closed. RecallA+B={a+b:a∈A and b∈B}.\text{Show that the sum of a closed subset and a cpt subset of} \\ \text{$\mathbb{R}^n$ is closed. Recall} \\ A + B = \{ a + b : a \in A \text{ and } b \in B \}.
Exercise 26. Question 4.4.F
§4.4HW 4
Let (xk)k=1∞⊆A with A⊆Rn cpt s.t. (xk) is notconvergent. Show there are two subsequences that areconvergent to different limit points.\text{Let $(x_k)_{k=1}^\infty \subseteq A$ with $A \subseteq \mathbb{R}^n$ cpt s.t. $(x_k)$ is not} \\ \text{convergent. Show there are two subsequences that are} \\ \text{convergent to different limit points.}
Exercise 27. Question 4.4.I(a)
§4.4HW 4
Let A and B be disjoint closed subsets of Rn. Defined(A,B)=inf⁡{∥a−b∥:a∈A,b∈B}.If A={a} is a singleton, show that d(A,B)>0.\text{Let $A$ and $B$ be disjoint closed subsets of $\mathbb{R}^n$. Define} \\ d(A, B) = \inf \{ \lVert a - b \rVert : a \in A, b \in B \}. \\ \text{If $A = \{a\}$ is a singleton, show that $d(A, B) > 0$.}
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.}
Exercise 36. Question 5.2.A
§5.2HW 6
Let A be a subset of Rn. Show that the characteristicfunction χA is continuous on the interior of A and on theinterior of its complement A′ but is discontinuous on theboundary ∂A=A‾∩A′‾.\text{Let $A$ be a subset of $\mathbb{R}^n$. Show that the characteristic} \\ \text{function $\chi_A$ is continuous on the interior of $A$ and on the} \\ \text{interior of its complement $A'$ but is discontinuous on the} \\ \text{boundary $\partial A = \overline{A} \cap \overline{A'}$.}
Exercise 37. Question 5.2.F
§5.2HW 6
Prove that L=lim⁡x→af(x) if and only if bothlim⁡x→a−f(x)=L and lim⁡x→a+f(x)=L.\text{Prove that $L = \lim_{x \to a} f(x)$ if and only if both} \\ \lim_{x \to a^-} f(x) = L \text{ and } \lim_{x \to a^+} f(x) = L.
Exercise 38. Question 5.2.G
§5.2HW 6
(A monotone convergence test for functions.) Suppose that fis an increasing function on (a,b) that is bounded above.Prove that the one-sided limit lim⁡x→b−f(x) exists.\text{(A monotone convergence test for functions.) Suppose that $f$} \\ \text{is an increasing function on $(a, b)$ that is bounded above.} \\ \text{Prove that the one-sided limit $\lim_{x \to b^-} f(x)$ exists.}
Exercise 39. Question 5.3.B
§5.3HW 6
Use Lemma 4.2.3 and the sequential characterization ofcontinuity to give a second proof for Example 5.3.6.\text{Use Lemma 4.2.3 and the sequential characterization of} \\ \text{continuity to give a second proof for Example 5.3.6.}
Exercise 40. Question 5.3.C
§5.3HW 6
Consider f mapping S⊂Rn into Rm and two points: a a limitpoint of S∖{a} and v∈Rm. Show that lim⁡x→af(x)=v if and onlyif for each sequence (xk)∈S∖{a} with lim⁡k→∞xk=a, wehave lim⁡k→∞f(xk)=v.\text{Consider $f$ mapping $S \subset \mathbb{R}^n$ into $\mathbb{R}^m$ and two points: $\mathbf{a}$ a limit} \\ \text{point of $S \setminus \{\mathbf{a}\}$ and $\mathbf{v} \in \mathbb{R}^m$. Show that $\lim_{\mathbf{x} \to \mathbf{a}} f(\mathbf{x}) = \mathbf{v}$ if and only} \\ \text{if for each sequence $(\mathbf{x}_k) \in S \setminus \{\mathbf{a}\}$ with $\lim_{k \to \infty} \mathbf{x}_k = \mathbf{a}$, we} \\ \text{have $\lim_{k \to \infty} f(\mathbf{x}_k) = \mathbf{v}$.}
Exercise 41. Question 5.3.D
§5.3HW 6
Suppose that f mapping S⊂Rn into Rm is given byf(x)=(f1(x),…,fm(x)) with fi:S→R for each i. Showthat lim⁡x→af(x)=(u1,…,um) if and only iflim⁡x→afi(x)=ui for each i.\text{Suppose that $f$ mapping $S \subset \mathbb{R}^n$ into $\mathbb{R}^m$ is given by} \\ \text{$f(\mathbf{x}) = (f_1(\mathbf{x}), \ldots, f_m(\mathbf{x}))$ with $f_i : S \to \mathbb{R}$ for each $i$. Show} \\ \text{that $\lim_{\mathbf{x} \to \mathbf{a}} f(\mathbf{x}) = (u_1, \ldots, u_m)$ if and only if} \\ \text{$\lim_{\mathbf{x} \to \mathbf{a}} f_i(\mathbf{x}) = u_i$ for each $i$.}
Exercise 42. Question 5.3.E
§5.3HW 6
Let f and g be continuous mappings of S⊂Rn into Rm. Showthat the inner product h(x)=⟨f(x),g(x)⟩ is continuous.\text{Let $f$ and $g$ be continuous mappings of $S \subset \mathbb{R}^n$ into $\mathbb{R}^m$. Show} \\ \text{that the inner product $h(\mathbf{x}) = \langle f(\mathbf{x}), g(\mathbf{x}) \rangle$ is continuous.}
Exercise 43. Question 5.3.H
§5.3HW 7
Let f be a continuous real-valued function defined on an opensubset U of Rn. Show that{(x,y):x∈U, y>f(x)}is an open subset of Rn+1.\text{Let $f$ be a continuous real-valued function defined on an open} \\ \text{subset $U$ of $\mathbb{R}^n$. Show that} \\ \{ (\mathbf{x}, y) : \mathbf{x} \in U, \ y > f(\mathbf{x}) \} \\ \text{is an open subset of $\mathbb{R}^{n+1}$.}
Exercise 44. Question 5.3.I
§5.3HW 7
(a) Show that m(x,y)=max⁡{x,y} is continuous on R2.(b) Hence show that if f and g are continuous real-valuedfunctions on a set S⊂Rn, then h(x)=max⁡{f(x),g(x)}is continuous on S.(c) Use induction to show that if fi are continuous real-valuedfunctions on S for 1≤i≤k, then h(x)=max⁡1≤i≤kfi(x)is continuous.\text{(a) Show that $m(x, y) = \max\{x, y\}$ is continuous on $\mathbb{R}^2$.} \\ \text{(b) Hence show that if $f$ and $g$ are continuous real-valued} \\ \text{functions on a set $S \subset \mathbb{R}^n$, then $h(\mathbf{x}) = \max\{f(\mathbf{x}), g(\mathbf{x})\}$} \\ \text{is continuous on $S$.} \\ \text{(c) Use induction to show that if $f_i$ are continuous real-valued} \\ \text{functions on $S$ for $1 \leq i \leq k$, then $h(\mathbf{x}) = \max_{1 \leq i \leq k} f_i(\mathbf{x})$} \\ \text{is continuous.}
Exercise 45. Question 5.3.L
§5.3HW 7
Give example of a continuous function f and an open set Usuch that f(U) is not open.\text{Give example of a continuous function $f$ and an open set $U$} \\ \text{such that $f(U)$ is not open.}
Exercise 46. Question 5.4.A
§5.4HW 7
If A is a noncompact subset of Rn, show that there is abounded continuous real-valued function on A that does notattain its maximum.\text{If $A$ is a noncompact subset of $\mathbb{R}^n$, show that there is a} \\ \text{bounded continuous real-valued function on $A$ that does not} \\ \text{attain its maximum.}
Exercise 47. Question 5.4.B
§5.4HW 7
Find a discontinuous function on [0,1] that is bounded but doesnot achieve its supremum.\text{Find a \textit{discontinuous} function on $[0, 1]$ that is bounded but does} \\ \text{not achieve its supremum.}
Exercise 48. Question 5.4.E
§5.4HW 7
Show that a function f mapping a compact set S⊂Rn into Rmis continuous if and only if its graphG(f)={(x,f(x)):x∈S}is compact.\text{Show that a function $f$ mapping a \textit{compact} set $S \subset \mathbb{R}^n$ into $\mathbb{R}^m$} \\ \text{is continuous if and only if its graph} \\ G(f) = \{ (\mathbf{x}, f(\mathbf{x})) : \mathbf{x} \in S \} \\ \text{is compact.}
Exercise 49. Question 5.4.G
§5.4HW 7
Suppose that f is a positive continuous function on Rn such thatlim⁡∥x∥→∞f(x)=0[i.e., for all ε>0, there is an N so that ∣f(x)∣<ε for allx with ∥x∥>N]. Show that f attains its maximum.\text{Suppose that $f$ is a \textit{positive} continuous function on $\mathbb{R}^n$ such that} \\ \lim_{\lVert \mathbf{x} \rVert \to \infty} f(\mathbf{x}) = 0 \\ \text{[i.e., for all $\varepsilon > 0$, there is an $N$ so that $|f(\mathbf{x})| < \varepsilon$ for all} \\ \text{$\mathbf{x}$ with $\lVert \mathbf{x} \rVert > N$]. Show that $f$ attains its maximum.}
Exercise 50. Question 5.4.H
§5.4HW 7
Let f be a periodic function on R, meaning that there is d>0with f(x+d)=f(x) for all x∈R. (We call d the period of fif it is the least positive number with this property and saythat f is d-periodic.) Show that if f is continuous, then fattains its maximum and minimum on R.\text{Let $f$ be a periodic function on $\mathbb{R}$, meaning that there is $d > 0$} \\ \text{with $f(x + d) = f(x)$ for all $x \in \mathbb{R}$. (We call $d$ the period of $f$} \\ \text{if it is the least positive number with this property and say} \\ \text{that $f$ is d-periodic.) Show that if $f$ is continuous, then $f$} \\ \text{attains its maximum and minimum on $\mathbb{R}$.}
Brown dog curled up asleep on a blanket