Chapter 15 Exercises
Protter & Morrey, A First Course in Real Analysis (2nd ed.) §§15.1–15.4
How to use this file
- Textbook: Murray H. Protter & Charles B. Morrey, Jr., A First Course in Real Analysis, 2nd ed., Springer UTM, 1991.
- Range: all section PROBLEMS in Chapter 15. §15.1: 1–11; §15.2: 1–22; §15.3: 1–14; §15.4: 1–14.
- Pages: printed pp. 380–381, 392–393, 402–403, 411–412; PDF pp. 396–397, 408–409, 418–419, 427–428 (body offset PDF \(=\) printed \(+16\)).
- Principle: stems follow the scan; solutions are independent. Numbers were recomputed. Odd-answer key: printed pp. 525–526 (PDF pp. 540–541).
- Companion notes:
ch15-notes.qmd.
Numbering is §section.problem, matching the book.
§15.1 Complete Metric Spaces
Printed pp. 380–381; PDF pp. 396–397.
Exercise §15.1.1
\(S\) a metric space, \(C(S)\) the bounded continuous real functions on \(S\). Show that \(d(f,g)=\sup_{x\in S}|f(x)-g(x)|\) is a metric. Let \(M(S)\) be all bounded real functions on \(S\). Is \(M(S)\) with the same \(d\) a metric space?
The supremum is finite because \(|f-g|\le |f|+|g|\) and both functions are bounded. Nonnegativity and symmetry are immediate. The triangle inequality holds because \[ |f(x)-h(x)|\le |f(x)-g(x)|+|g(x)-h(x)|\le d(f,g)+d(g,h) \] for every \(x\), so the same bound holds for the supremum. If \(d(f,g)=0\) then \(f(x)=g(x)\) for every \(x\), so \(f=g\). Thus \(d\) is a metric on \(C(S)\).
The same four verifications use only boundedness, not continuity, so \((M(S),d)\) is a metric space as well.
(Odd key: “\(M(S)\) is a metric space.” Agrees.)
Exercise §15.1.2
Bounded real sequences \(x=(a_n)\), \(y=(b_n)\), with \(d(x,y)=\sup_n |a_n-b_n|\). Show that the space \(S\) of all such sequences is a metric space. Is the metric complete?
The same argument as in §15.1.1 shows that \(d\) is a metric (the space is \(M(\mathbb{N})\)).
It is complete. If \(\{x^{(k)}\}\) is Cauchy, then for each fixed \(n\) the real sequence \(k\mapsto a_n^{(k)}\) is Cauchy, hence converges to some \(a_n\). The limit sequence \(x=(a_n)\) is bounded: choose \(K\) so that \(k\ge K\) implies \(d(x^{(k)},x^{(K)})<1\), then \(|a_n|\le |a_n-a_n^{(K)}|+|a_n^{(K)}|\le 1+\sup_m |a_m^{(K)}|\). Given \(\varepsilon>0\), choose \(K\) so that \(k,\ell\ge K\) implies \(\sup_n |a_n^{(k)}-a_n^{(\ell)}|<\varepsilon\); let \(\ell\to\infty\) to get \(d(x^{(k)},x)\le\varepsilon\). Thus \(x^{(k)}\to x\) in \(S\).
Exercise §15.1.3
Let \(A\) be the irrationals in \(I=\{x:0\le x\le 1\}\). Show that \(A\) is of the second category with respect to \(\mathbb{R}^1\).
Write \(I=A\cup(\mathbb{Q}\cap I)\). The set \(\mathbb{Q}\cap I\) is countable, hence a countable union of singletons, each nowhere dense in \(\mathbb{R}^1\), so first category in \(\mathbb{R}^1\).
If \(A\) were first category in \(\mathbb{R}^1\), then \(I\) would be first category in \(\mathbb{R}^1\). But \(I\) contains the nonempty open interval \((0,1)\). Theorem 15.3 says that a nonempty open set in the complete space \(\mathbb{R}^1\) is of the second category, so \((0,1)\) is not a countable union of nowhere dense sets. Hence \(I\) is not first category, and neither is \(A\).
Exercise §15.1.4
Let \(A\) be the set of all roots of all polynomials \(P(x)=a_n x^n+\cdots+a_0\) with integer coefficients, \(n\ge 1\). Show that \(A\) is of the first category in the complex plane (metric \(|z_1-z_2|\)).
For each \(n\ge 1\) and each \((a_0,\ldots,a_n)\in\mathbb{Z}^{n+1}\) with \(a_n\neq 0\), the polynomial has at most \(n\) roots. The set of all such coefficient tuples is a countable union of countable sets, hence countable. Thus \(A\) is a countable union of finite sets, so \(A\) is countable.
Each singleton in \(\mathbb{C}\cong\mathbb{R}^2\) is closed with empty interior, hence nowhere dense. A countable union of nowhere dense sets is first category.
Exercise §15.1.5
Ternary expansions \(x=0\cdot a_1 a_2 a_3\ldots\) on \(I=[0,1]\), each \(a_i\in\{0,1,2\}\). Let \(A\) be the points that admit an expansion using only the digits \(0\) and \(2\). (a) \(A\) is uncountable. (b) \(A\) is nowhere dense in \(I\).
This is the middle-thirds Cantor set (endpoints have two expansions; at least one of them uses only \(0\) and \(2\)).
(a) The map sending a sequence \((\varepsilon_i)\) of \(0\)s and \(1\)s to \(\sum_{i=1}^\infty 2\varepsilon_i/3^i\) is surjective onto \(A\). There are \(2^{\aleph_0}\) such sequences, and the only identifications are the usual countable set of dyadic endpoints. Hence \(A\) is uncountable.
(b) \(A\) is closed in \(I\): it is the complement of the union of the open middle-third intervals removed at each stage, or equivalently the nested intersection of the compact unions \(E_n\) of \(2^n\) closed intervals of length \(3^{-n}\). The interior of \(A\) is empty: every interval of \(E_n\) has length \(3^{-n}\to 0\), so \(A\) contains no open interval of \(I\). A closed set with empty interior is nowhere dense in \(I\).
Exercise §15.1.6
Write a detailed proof of the Baire category theorem (Theorem 15.3).
Theorem 15.3. A nonempty open set in a complete metric space is of the second category.
Let \(S\) be complete and let \(G\subset S\) be nonempty and open. Suppose toward a contradiction that \(G\) is first category: \(G=\bigcup_{n=1}^\infty T_n\) with each \(T_n\) nowhere dense in \(S\). Theorem 15.2, applied to the first-category set \(\bigcup T_n\), says that its complement \(C=S\setminus\bigcup T_n\) is dense in \(S\). In particular \(C\) meets every nonempty open ball.
Since \(G\) is nonempty and open, there is a ball \(B\subset G\). Then \(B\subset\bigcup T_n\), so \(B\cap C=\emptyset\), contradicting density of \(C\). Therefore \(G\) is not first category.
Exercise §15.1.7
\(I=[0,1]\) with the metric of \(\mathbb{R}^1\). Find \(A\subset I\) and a continuous \(f:A\to\mathbb{R}^1\) that cannot be extended continuously to \(\overline{A}\). Thus uniform continuity cannot be dropped in Theorem 15.4.
Let \(A=[0,1/2)\cup(1/2,1]\) and \[ f(x)=\begin{cases} 0,& 0\le x<1/2,\\ 1,& 1/2<x\le 1. \end{cases} \] Then \(f\) is continuous on \(A\) (each piece is constant on an open-in-\(A\) set). Here \(\overline{A}=I\). If \(g:I\to\mathbb{R}^1\) were continuous and \(g|_A=f\), then \[ g(1/2)=\lim_{x\to (1/2)^-}f(x)=0=\lim_{x\to (1/2)^+}f(x)=1, \] which is impossible.
The map \(f\) is not uniformly continuous: \(d(1/2-1/n,1/2+1/n)=2/n\) can be arbitrarily small while \(|f|\) differs by \(1\). Theorem 15.4 therefore does not apply, and no continuous extension to the closure exists.
(Odd key: the same example. Agrees.)
Exercise §15.1.8
Let \(f:S_1\to S_2\) be an isometry and suppose \(S_2\) is complete. Is \(f(S_1)\) complete? Justify.
Not necessarily. Completeness of the image is equivalent to completeness of the domain, because an isometry preserves Cauchy sequences and convergent sequences.
Theorem 15.5 assumes \(S_1\) complete and concludes that \(f(S_1)\) is complete. If \(S_1\) is not complete, \(f(S_1)\) is isometric to \(S_1\) and is therefore not complete, even when \(S_2\) is complete.
Example: \(S_1=\mathbb{Q}\) with the metric of \(\mathbb{R}^1\), \(S_2=\mathbb{R}^1\), \(f\) the inclusion. Then \(f\) is an isometry, \(S_2\) is complete, and \(f(S_1)=\mathbb{Q}\) is not complete.
Exercise §15.1.9
Prove parts (b) and (c) of Theorem 15.6.
Recall: \(\{p_n\}\approx\{q_n\}\) means \(d(p_n,q_n)\to 0\). Part (a), already proved in the text, says that \(d(p_n,q_n)\) has a (finite) limit whenever both sequences are Cauchy.
(b) Assume \(\{p_n\}\approx\{q_n\}\) and \(p_n\to p\). Then \[ d(q_n,p)\le d(q_n,p_n)+d(p_n,p)\to 0, \] so \(q_n\to p\).
(c) Assume \(\{p_n\}\approx\{p'_n\}\) and \(\{q_n\}\approx\{q'_n\}\), all four sequences Cauchy. Then \[ \bigl|d(p_n,q_n)-d(p'_n,q'_n)\bigr|\le d(p_n,p'_n)+d(q_n,q'_n)\to 0. \] By (a) both real sequences \(d(p_n,q_n)\) and \(d(p'_n,q'_n)\) converge, and the displayed estimate shows they have the same limit.
Exercise §15.1.10
Verify that the function \(\overline{d}\) defined before Theorem 15.7 is a metric, so that \(\overline{S}\) is a metric space.
Write \(\overline{S}=S\cup S'\), where \(S'\) is the set of ideal elements (equivalence classes of nonconvergent Cauchy sequences). For \(p\in S'\) a representing Cauchy sequence is denoted \(\{p_n\}\), and likewise for \(q\). The four clauses of \(\overline{d}\) are: \(d(p,q)\) if both points lie in \(S\); \(\lim d(p,q_n)\) if \(p\in S\), \(q\in S'\); \(\lim d(p_n,q)\) if \(p\in S'\), \(q\in S\); \(\lim d(p_n,q_n)\) if both lie in \(S'\).
Well-defined. Theorem 15.6(a) gives existence of each limit. Theorem 15.6(c) shows that the value is independent of the representing sequences.
Nonnegativity and symmetry are inherited from \(d\).
Identity. If \(\overline{d}(p,q)=0\) and \(p,q\in S\), then \(p=q\). If \(p\in S\) and \(q\in S'\), then \(d(p,q_n)\to 0\), so \(q_n\to p\in S\), contradicting that \(\{q_n\}\) determines an ideal element. If \(p,q\in S'\) and \(\overline{d}(p,q)=0\), then \(d(p_n,q_n)\to 0\), so the sequences are equivalent and determine the same ideal element.
Triangle inequality. The case \(p,q,r\in S\) is the triangle inequality in \(S\). If \(p,q,r\in S'\), then \(d(p_n,r_n)\le d(p_n,q_n)+d(q_n,r_n)\); take limits. If \(p\in S\) and \(q,r\in S'\), then \(d(p,r_n)\le d(p,q_n)+d(q_n,r_n)\); take limits. The remaining mixed cases are the same after relabeling (or after viewing a point of \(S\) as a constant sequence, which is Cauchy and equivalent to any sequence converging to it).
Exercise §15.1.11
Prove that \[ y_1=x_1\cos\theta+x_2\sin\theta,\qquad y_2=-x_1\sin\theta+x_2\cos\theta \] is an isometry \(\mathbb{R}^2\to\mathbb{R}^2\).
In matrix form \(y=Ax\) with \[ A=\begin{pmatrix}\cos\theta&\sin\theta\\ -\sin\theta&\cos\theta\end{pmatrix}. \] Then \(A^\top A=I\), so \(|Ax|^2=x^\top A^\top A x=|x|^2\). Hence \(|A(x-x')|=|x-x'|\) for all \(x,x'\in\mathbb{R}^2\). In particular \(A\) is injective, so the map is an isometry in the sense of the text.
§15.2 Convex Sets and Convex Functions
Printed pp. 392–393; PDF pp. 408–409.
Exercise §15.2.1
Let \(A\) and \(B\) be convex, disjoint, closed, nonempty subsets of \(\mathbb{R}^N\). Show that \(A\cup B\) can never be convex.
Take \(a\in A\) and \(b\in B\). If \(A\cup B\) were convex, the segment \(\overline{ab}\) would lie in \(A\cup B\). Parametrize \(\gamma(t)=(1-t)a+tb\) for \(t\in[0,1]\). The sets \[ A_0=\{t\in[0,1]:\gamma(t)\in A\},\qquad B_0=\{t\in[0,1]:\gamma(t)\in B\} \] are nonempty (\(0\in A_0\), \(1\in B_0\)), disjoint (because \(A\cap B=\emptyset\)), closed in \([0,1]\) (because \(A\) and \(B\) are closed), and cover \([0,1]\). That disconnects the interval \([0,1]\), which is impossible.
Exercise §15.2.2
Show that every convex polygon in \(\mathbb{R}^2\) is the intersection of a finite number of half-planes.
Let \(P\) be a convex polygon with edges \(E_1,\ldots,E_m\), in cyclic order. Each edge \(E_j\) lies on a unique line \(L_j\). By convexity, \(P\) lies entirely in one of the two closed half-planes determined by \(L_j\); call that closed half-plane \(H_j\). Then \(P\subset\bigcap_{j=1}^m H_j\).
Conversely, if \(x\in\bigcap H_j\) but \(x\notin P\), the segment from an interior point of \(P\) to \(x\) first meets \(\partial P\) at a point of some edge \(E_k\), and beyond that point the segment leaves \(H_k\), a contradiction. Thus \(P=\bigcap H_j\).
Exercise §15.2.3
Show directly (without Theorem 15.11) that if a convex set \(S\subset\mathbb{R}^2\) contains three points not on a line, then \(S\) has interior points.
Let \(p,q,r\in S\) be noncollinear. Convexity and Theorem 15.10 put the filled triangle \(T\) with vertices \(p,q,r\) inside \(S\): every point of \(T\) is a convex combination \(\lambda_1 p+\lambda_2 q+\lambda_3 r\) with \(\lambda_i\ge 0\) and \(\sum\lambda_i=1\).
The barycenter \(b=(p+q+r)/3\) is an interior point of \(T\): the three vertices are linearly independent as an affine frame, so a small disk about \(b\) consists of points with strictly positive barycentric coordinates, hence lies in \(T\subset S\). Thus \(b\) is an interior point of \(S\).
Exercise §15.2.4
Let \(f_1,\ldots,f_p\) be convex on a convex set \(S\subset\mathbb{R}^N\), and \(\alpha_i\ge 0\). Show that \(\sum_{i=1}^p \alpha_i f_i\) is convex. Give an example showing that the conclusion may fail if some \(\alpha_i\) is negative.
Let \(f=\sum\alpha_i f_i\) and \(0\le\lambda\le 1\). Convexity of each \(f_i\) and \(\alpha_i\ge 0\) give \[\begin{align*} f\bigl(\lambda x+(1-\lambda)y\bigr) &=\sum\alpha_i f_i\bigl(\lambda x+(1-\lambda)y\bigr)\\ &\le\sum\alpha_i\bigl(\lambda f_i(x)+(1-\lambda)f_i(y)\bigr) =\lambda f(x)+(1-\lambda)f(y). \end{align*}\]
If negative coefficients are allowed, take \(S=\mathbb{R}^1\), \(f_1(x)=x^2\) (convex), \(f_2\equiv 0\), \(\alpha_1=-1\), \(\alpha_2=0\). Then \(-x^2\) is not convex: \[ (-1)^2=1\not\le \tfrac12\bigl(0+(-4)\bigr)=-2 \] at the midpoint of \(0\) and \(2\).
Exercise §15.2.5
\(*\) Let \(S\) be a convex region in \(\mathbb{R}^2\) with interior points, such that \(\partial S\) has a unique tangent line at each point. Show that \(S\) can be inscribed in a square.
“Inscribed in a square” means there is a square containing \(S\) whose four sides each meet \(\partial S\) (a circumscribed square). Unique tangents mean that at each boundary point there is a unique supporting line.
For each angle \(\theta\in[0,\pi/2]\), let \(\ell(\theta)\) and \(\ell(\theta+\pi)\) be the unique supporting lines of \(S\) with outward unit normals \((\cos\theta,\sin\theta)\) and \(-(\cos\theta,\sin\theta)\). Likewise form the pair with normals rotated by \(\pi/2\). These four lines bound a rectangle \(R(\theta)\) containing \(S\), with side lengths equal to the widths \[ w(\theta)=\sup_{x\in S}\langle x,u(\theta)\rangle-\inf_{x\in S}\langle x,u(\theta)\rangle, \] where \(u(\theta)=(\cos\theta,\sin\theta)\), and \(w(\theta+\pi/2)\). Uniqueness of supporting lines and compactness of \(\overline{S}\) (a closed bounded convex set in \(\mathbb{R}^2\) with interior, after replacing \(S\) by its closure if needed; unique tangents pass to the closure) imply that \(w\) is continuous.
Define \(f(\theta)=w(\theta)-w(\theta+\pi/2)\). Then \(f\) is continuous on \([0,\pi/2]\) and \(f(\pi/2)=-f(0)\). By the intermediate-value theorem there is \(\theta_0\) with \(f(\theta_0)=0\), so \(R(\theta_0)\) is a square, and \(S\) meets all four sides.
Exercise §15.2.6
Consider conical regions in \(3\)-space of the form \((\alpha x^2+\beta y^2)^{1/2}\le z\) with \(\alpha>0\), \(\beta>0\). Show that the intersection of any family of such regions is convex.
Each region \(K_{\alpha\beta}=\{(x,y,z): \sqrt{\alpha x^2+\beta y^2}\le z\}\) is the epigraph of the function \(g(x,y)=\sqrt{\alpha x^2+\beta y^2}\). The map \((x,y)\mapsto g(x,y)\) is a norm on \(\mathbb{R}^2\) (it is \(\|(x,y)\|\) after the linear change of scale \(x'=\sqrt{\alpha}\,x\), \(y'=\sqrt{\beta}\,y\)), hence convex. Theorem 15.13 therefore says that \(K_{\alpha\beta}\) is convex in \(\mathbb{R}^3\).
Theorem 15.8: the intersection of an arbitrary family of convex sets is convex. Thus any intersection of such cones is convex.
Exercise §15.2.7
Let \(f,g\) be real-valued, nonnegative, convex functions on an interval \(I\subset\mathbb{R}^1\). Find conditions on \(f\) and \(g\) such that \(f\cdot g\) is convex.
A sufficient condition: \(f\) and \(g\) are both nondecreasing, or both nonincreasing.
Let \(x,y\in I\) and \(0\le\lambda\le 1\). Nonnegativity and convexity give \[ (fg)\bigl(\lambda x+(1-\lambda)y\bigr) \le \bigl(\lambda f(x)+(1-\lambda)f(y)\bigr)\bigl(\lambda g(x)+(1-\lambda)g(y)\bigr). \] The right-hand side expands to \[ \lambda^2 fg(x)+(1-\lambda)^2 fg(y)+\lambda(1-\lambda)\bigl(f(x)g(y)+f(y)g(x)\bigr). \] The difference between \(\lambda fg(x)+(1-\lambda)fg(y)\) and this expansion is \[ \lambda(1-\lambda)\bigl(f(x)-f(y)\bigr)\bigl(g(x)-g(y)\bigr). \] If \(f\) and \(g\) are monotone in the same direction, the product of increments is nonnegative, so \[ (fg)\bigl(\lambda x+(1-\lambda)y\bigr)\le\lambda fg(x)+(1-\lambda)fg(y). \]
The condition is not automatic from nonnegativity and convexity alone. On \(I=[0,1]\) take \(f(x)=x^2\) and \(g(x)=(x-1)^2\). Both are nonnegative and convex, but \(h=fg\) satisfies \(h''(1/2)=-1<0\), so \(h\) is not convex.
Exercise §15.2.8
Prove Theorem 15.13.
Let \(S\subset\mathbb{R}^N\) be convex and \(f:S\to\mathbb{R}^1\). Write \[ G=\bigl\{(x,y):x\in S,\; y\in\mathbb{R}^1,\; y\ge f(x)\bigr\}\subset\mathbb{R}^{N+1}. \]
Assume \(f\) is convex. Take \((x^1,y_1),(x^2,y_2)\in G\) and \(0\le\lambda\le 1\). Then \(y_i\ge f(x^i)\) and \(x^i\in S\), so \(\lambda x^1+(1-\lambda)x^2\in S\) and \[ \lambda y_1+(1-\lambda)y_2\ge\lambda f(x^1)+(1-\lambda)f(x^2)\ge f\bigl(\lambda x^1+(1-\lambda)x^2\bigr). \] Thus \(\lambda(x^1,y_1)+(1-\lambda)(x^2,y_2)\in G\), and \(G\) is convex.
Conversely, assume \(S\) and \(G\) are convex. For \(x^1,x^2\in S\) the points \((x^i,f(x^i))\) lie in \(G\), so \[ \bigl(\lambda x^1+(1-\lambda)x^2,\;\lambda f(x^1)+(1-\lambda)f(x^2)\bigr)\in G. \] By definition of \(G\), \[ \lambda f(x^1)+(1-\lambda)f(x^2)\ge f\bigl(\lambda x^1+(1-\lambda)x^2\bigr). \] Hence \(f\) is convex.
Exercise §15.2.9
Given \(f(x)=\sum_{n=0}^\infty a_n x^n\) convergent on \(I=\{x:0\le x\le 1\}\), with \(a_n\ge 0\) for all \(n\), show that \(f\) is convex on \(I\).
Each monomial \(x\mapsto x^n\) is convex on \(I\): for \(n=0,1\) it is affine; for \(n\ge 2\) the second derivative \(n(n-1)x^{n-2}\) is nonnegative on \(I\). Nonnegative combinations of convex functions are convex (§15.2.4), so each partial sum \(s_N=\sum_{n=0}^N a_n x^n\) is convex on \(I\).
The series converges at \(x=1\), so it converges uniformly on \(I\) by Weierstrass comparison with \(\sum a_n\). The uniform limit of convex functions is convex: pass to the limit in the inequality for \(s_N\).
Exercise §15.2.10
The convex hull of \(S\subset\mathbb{R}^N\) is the intersection of all convex sets containing \(S\). Show that it consists of all points \(x=\lambda_0 x_0+\cdots+\lambda_k x_k\) with \(x_i\in S\), \(\lambda_i\ge 0\), and \(\sum\lambda_i=1\).
Let \(H\) be the intersection of all convex sets containing \(S\), and let \(K\) be the set of all finite convex combinations of points of \(S\).
\(K\) is convex: if \(x=\sum_{i=0}^k\lambda_i x_i\) and \(y=\sum_{j=0}^m\mu_j y_j\) are convex combinations and \(0\le t\le 1\), then \(tx+(1-t)y\) is the convex combination with weights \(t\lambda_i\) and \((1-t)\mu_j\). Also \(S\subset K\), so \(H\subset K\).
Conversely, if \(C\) is any convex set containing \(S\), Theorem 15.10 puts every finite convex combination of points of \(S\) into \(C\). Thus \(K\subset C\) for every such \(C\), so \(K\subset H\). Therefore \(H=K\).
Exercise §15.2.11
Show that if \(S\subset\mathbb{R}^N\) is open, its convex hull is open (see Problem 10).
Let \(K\) be the convex hull of \(S\), and take \(x=\sum_{i=0}^k\lambda_i x_i\in K\) with \(x_i\in S\), \(\lambda_i\ge 0\), \(\sum\lambda_i=1\). If some \(\lambda_j=1\), then \(x=x_j\in S\), which is open, so \(x\) is an interior point of \(S\subset K\).
Assume every \(\lambda_i<1\) is unnecessary; more simply, since \(S\) is open there is \(r>0\) with \(B(x_i,r)\subset S\) for each \(i=0,\ldots,k\). For \(|h|<r\), \[ x+h=\sum_{i=0}^k\lambda_i(x_i+h), \] and each \(x_i+h\in B(x_i,r)\subset S\), so \(x+h\) is a convex combination of points of \(S\). Thus \(B(x,r)\subset K\), and \(K\) is open.
Exercise §15.2.12
A subset \(K\subset\mathbb{R}^N\) is a cone if \(x\in K\) implies \(\lambda x\in K\) for every \(\lambda\ge 0\). Show that a cone \(K\) is convex if and only if \(x,y\in K\) implies \(x+y\in K\). Give a nonconvex cone. Show that if \(K_1,K_2\) are cones then \(K_1\cap K_2\) and \(K_1\cup K_2\) are cones. If \(K_1\) and \(K_2\) are convex, under what conditions are \(K_1\cap K_2\) and \(K_1\cup K_2\) convex cones?
Let \(K\) be a cone. If \(K\) is convex and \(x,y\in K\), then \(\tfrac12 x+\tfrac12 y\in K\), hence \(x+y=2(\tfrac12 x+\tfrac12 y)\in K\). Conversely, if \(K\) is closed under addition and \(x,y\in K\), \(0\le\lambda\le 1\), then \(\lambda x\in K\) and \((1-\lambda)y\in K\), so \(\lambda x+(1-\lambda)y\in K\). Thus \(K\) is convex.
A nonconvex cone: \(K=\{(x,y)\in\mathbb{R}^2: xy=0,\; x\ge 0,\; y\ge 0\}\), the union of the two nonnegative axes. It is a cone, but \((1,0)+(0,1)=(1,1)\notin K\).
If \(K_1,K_2\) are cones and \(x\in K_1\cap K_2\), then \(\lambda x\) lies in both, hence in the intersection. If \(x\in K_1\cup K_2\), say \(x\in K_1\), then \(\lambda x\in K_1\subset K_1\cup K_2\). So both the intersection and the union are cones.
If \(K_1\) and \(K_2\) are convex cones, then \(K_1\cap K_2\) is the intersection of convex sets, hence convex, and is a cone, so it is always a convex cone.
The union \(K_1\cup K_2\) is always a cone. It is convex if and only if it is closed under addition (first paragraph), if and only if \[ x\in K_1,\; y\in K_2\implies x+y\in K_1\cup K_2. \] A special case is \(K_1\subset K_2\) or \(K_2\subset K_1\). Another example: two opposite rays whose union is a line.
Exercise §15.2.13
Let \(K\) be a convex cone in \(\mathbb{R}^N\) containing an entire line \(\ell\) through the origin. If \(K\) also contains an interior point, show that \(K\) is either all of \(\mathbb{R}^N\) or a half-space. (See Problem 12.)
The claim is true for \(N=2\) and false for \(N\ge 3\) as stated.
The \(\mathbb{R}^2\) case. Let \(\ell=\{\,tv:t\in\mathbb{R}^1\,\}\subset K\) with \(v\neq 0\), and let \(p\in\operatorname{int} K\), so \(p\notin\ell\) (otherwise a ball about \(p\) would force a \(2\)-dimensional subspace into \(K\), hence \(K=\mathbb{R}^2\)). The set \[ H=\{\,sv+tp:s\in\mathbb{R}^1,\; t\ge 0\,\} \] is a closed half-plane, and \(H\subset K\) because \(K\) is a convex cone (Problem 12: closed under addition and nonnegative scaling). If \(K\) also contains a point of the opposite open half-plane, the same construction yields the opposite half-plane, so \(K=\mathbb{R}^2\). Otherwise \(K=H\), a half-plane.
Counterexample for \(N=3\). Let \[ K=\bigl\{(x_1,x_2,x_3):x_1\ge 0,\; x_2\ge 0\bigr\}. \] This is a convex cone (intersection of two half-spaces through the origin). It contains the entire \(x_3\)-axis. Its interior \(\{x_1>0,\,x_2>0\}\) is nonempty. It is neither \(\mathbb{R}^3\) nor a half-space.
What is true in \(\mathbb{R}^N\). The lineality space \(L=K\cap(-K)\) is a subspace (Problem 12). If \(K\neq\mathbb{R}^N\), Theorem 15.12 supplies a supporting hyperplane at a boundary point; because \(K\) is a cone the hyperplane must pass through the origin, so \(K\) is contained in some closed half-space \(\{x:\langle a,x\rangle\ge 0\}\). Then \(L\subset\{a=0\}\). Equality \(K=\{ \langle a,x\rangle\ge 0\}\) holds if and only if \(L\) has dimension \(N-1\). The extra hypothesis that \(\ell\) is a single line does not force \(\dim L=N-1\) when \(N\ge 3\).
If instead some line through the origin lies in \(\operatorname{int} K\), then \(0\in\operatorname{int} K\) (the segment from \(p\) to \(-p\)), a ball about \(0\) lies in \(K\), and the cone property forces \(K=\mathbb{R}^N\).
Exercise §15.2.14
In the notation of Lemma 15.3, show that if \(f(x^1)\le f(x^4)\), then \(m_{13}\le m_{24}\).
Lemma 15.3 already gives \(m_{12}\le m_{23}\le m_{34}\) for a convex \(f\) and \(x^1<x^2<x^3<x^4\). Three-point slope comparison (the same convexity that proves (15.8)) yields \(m_{13}\le m_{23}\) (compare chords \(x^1x^3\) and \(x^2x^3\)) and \(m_{23}\le m_{24}\) (compare \(x^2x^3\) and \(x^2x^4\)). Hence \(m_{13}\le m_{24}\).
The extra hypothesis \(f(x^1)\le f(x^4)\) is not needed: the inequality holds for every convex \(f\) on the four-point configuration.
Exercise §15.2.15
Prove parts (ii) and (iii) of Theorem 15.18.
Let \(f\) be convex on a convex set \(S\subset\mathbb{R}^N\) and let \(x^0\in S^{(0)}\). Part (i), proved in the text, supplies \(a\in\mathbb{R}^N\) with \[ f(x)\ge f(x^0)+\sum_{i=1}^N a_i(x_i-x_i^0),\qquad x\in S. \]
(ii) Assume \(f\in C^1(S^{(0)})\). Fix a coordinate direction \(e_j\) and \(t\) small enough that \(x^0+te_j\in S\). The supporting inequality gives \[ \frac{f(x^0+te_j)-f(x^0)}{t}\ge a_j\qquad(t>0), \] and the reverse inequality for \(t<0\). Let \(t\to 0\) and use \(C^1\) to obtain \(\partial f/\partial x_j(x^0)=a_j\).
(iii) Assume \(f\in C^2(S^{(0)})\). First suppose \(f\) is convex on \(S^{(0)}\). For \(x^0\in S^{(0)}\) and \(\lambda\in\mathbb{R}^N\), the univariate function \(\varphi(t)=f(x^0+t\lambda)\) is convex on a neighborhood of \(0\) (restriction to a line). By the one-variable case of (ii)–(iii), or directly: \(\varphi''(0)\ge 0\) because a \(C^2\) convex function of one variable has nonnegative second derivative. But \[ \varphi''(0)=\sum_{i,j=1}^N \frac{\partial^2 f}{\partial x_i\partial x_j}(x^0)\,\lambda_i\lambda_j. \]
Conversely, assume the Hessian is positive semidefinite at every interior point. For \(x^1,x^2\in S^{(0)}\) the open segment between them lies in \(S^{(0)}\). The univariate restriction \(\varphi(t)=f\bigl((1-t)x^1+t x^2\bigr)\) is \(C^2\) on a neighborhood of \([0,1]\) and satisfies \(\varphi''(t)\ge 0\) because \(\varphi''(t)\) is the Hessian quadratic form of \(f\) in the direction \(x^2-x^1\). A \(C^2\) function of one variable with nonnegative second derivative is convex, so \(\varphi(t)\le(1-t)\varphi(0)+t\varphi(1)\). That is the convexity inequality for \(f\) on \(S^{(0)}\). Continuity up to the boundary of \(S\) (when needed) is Theorem 15.17.
Exercise §15.2.16
Show that the intersection of any family (finite or infinite) of convex sets is a convex set (Theorem 15.8).
Let \(\{S_\alpha\}\) be a family of convex sets and \(S=\bigcap_\alpha S_\alpha\). If \(S\) is empty there is nothing to prove. If \(p,q\in S\), then \(p,q\in S_\alpha\) for every \(\alpha\), so the segment \(\overline{pq}\) lies in every \(S_\alpha\) by convexity, hence lies in \(S\).
Exercise §15.2.17
Let \(S\subset\mathbb{R}^N\) be convex and contain three points \(P,Q,R\) not on a straight line. Show that the interior of the triangle with vertices \(P,Q,R\) lies in \(S\).
A point \(x\) of the interior of the triangle has barycentric coordinates \(\lambda,\mu,\nu>0\) with \(\lambda+\mu+\nu=1\) and \(x=\lambda P+\mu Q+\nu R\). Theorem 15.10 puts \(x\) in \(S\).
Exercise §15.2.18
Let \(B(p_0,r)\) be a ball in \(\mathbb{R}^N\). Show that \(B\) is a convex set.
The statement holds for the open ball and the closed ball. If \(|x-p_0|<r\) and \(|y-p_0|<r\) (or \(\le r\)) and \(0\le\lambda\le 1\), then \[ \bigl|\lambda x+(1-\lambda)y-p_0\bigr| =\bigl|\lambda(x-p_0)+(1-\lambda)(y-p_0)\bigr| \le\lambda|x-p_0|+(1-\lambda)|y-p_0|<r \] (or \(\le r\)). The same argument works with any norm.
Exercise §15.2.19
In \(\mathbb{R}^N\) define the cylinder \(C=\{(x_1,\ldots,x_N):x_1^2+\cdots+x_{N-1}^2\le 1,\; 0\le x_N\le 1\}\). Show that \(C\) is convex.
\(C\) is the product of the closed unit disk in \(\mathbb{R}^{N-1}\) (convex by §15.2.18) with the interval \([0,1]\) (convex). If \(x,y\in C\) and \(0\le\lambda\le 1\), the first \(N-1\) coordinates of \(\lambda x+(1-\lambda)y\) form a convex combination of two points of the disk, and the last coordinate is a convex combination of two points of \([0,1]\). Thus \(\lambda x+(1-\lambda)y\in C\).
Exercise §15.2.20
In \(\mathbb{R}^N\) define \(A=\{(x_1,\ldots,x_N):x_N^2\le x_1^2+\cdots+x_{N-1}^2,\; -1\le x_N\le 1\}\). Show that \(A\) is not convex.
Let \(p=(1,0,\ldots,0,1)\) and \(q=(-1,0,\ldots,0,1)\). Then \(p,q\in A\) because \(1\le 1\) and the last coordinate is \(1\). The midpoint is \((0,\ldots,0,1)\), and \(1\le 0\) fails, so the midpoint is not in \(A\).
Exercise §15.2.21
In \(\mathbb{R}^2\) let \(B=\{(x_1,x_2):x_1^2+x_2^2\le 1\}\) and \(f(x)=\alpha x_1^2+\beta x_2^2\) with \(\alpha>0\), \(\beta>0\). Show that \(f\) is convex on \(B\).
\(B\) is convex (§15.2.18). The function \(f\) is \(C^2\) on \(\mathbb{R}^2\), with Hessian \(\operatorname{diag}(2\alpha,2\beta)\). For any \(\lambda\in\mathbb{R}^2\), \[ \sum_{i,j}\frac{\partial^2 f}{\partial x_i\partial x_j}\lambda_i\lambda_j=2\alpha\lambda_1^2+2\beta\lambda_2^2\ge 0. \] Theorem 15.18(iii) yields convexity on \(B\) (in fact on all of \(\mathbb{R}^2\)).
Exercise §15.2.22
On the square \(S=\{(x_1,x_2):0\le x_1\le 1,\; 0\le x_2\le 1\}\), show that \(g(x)=x_1 x_2\) is not convex.
Take \((1,0)\) and \((0,1)\) in \(S\). Their midpoint is \((1/2,1/2)\), and \[ g(1/2,1/2)=\tfrac14\not\le \tfrac12\bigl(g(1,0)+g(0,1)\bigr)=0. \] Alternatively, the Hessian of \(g\) has matrix \(\bigl(\begin{smallmatrix}0&1\\1&0\end{smallmatrix}\bigr)\) with determinant \(-1\), so it is not positive semidefinite (Theorem 15.18(iii)).
§15.3 Arzela’s Theorem; the Tietze Extension Theorem
Printed pp. 402–403; PDF pp. 418–419.
Exercise §15.3.1
Let \(I=\{x:0\le x\le 1\}\) and let \(\mathscr{B}\) be the bounded functions \(f:I\to\mathbb{R}^1\), with \(d(f,g)=\sup_{x\in I}|f(x)-g(x)|\). Show that \(d\) is a metric and that \(\mathscr{B}\) is not separable.
The metric axioms are the same as in §15.1.1: \(\mathscr{B}=M(I)\).
To see that \(\mathscr{B}\) is not separable, consider the uncountable family \(\{f_t:t\in I\}\) given by \(f_t=\mathbf{1}_{[0,t]}\) (or \(\mathbf{1}_{\{t\}}\)). If \(s<t\) then \(|f_t-f_s|\) equals \(1\) on \((s,t]\), so \(d(f_s,f_t)=1\). An uncountable \(1\)-separated set cannot be approximated by a countable dense subset: if \(\{g_n\}\) were dense, each ball \(B(f_t,1/3)\) would contain some \(g_n\), and these balls are pairwise disjoint, which is impossible for a countable collection.
Exercise §15.3.2
Let \(\mathscr{C}_0\) be the space of real sequences \(x=(c_n)\) with \(c_n\to 0\), and \(d(x,y)=\sup_i |c_i-d_i|\). Show that \(\mathscr{C}_0\) is a separable metric space. [Hint: sequences of the form \((r_1,0,0,\ldots)\), \((r_1,r_2,0,0,\ldots)\), with \(r_i\) rational.]
The metric axioms are as in §15.1.2; \(\mathscr{C}_0\) is a closed subspace of the complete space of bounded sequences (if \(c_n^{(k)}\to 0\) for each \(k\) and \(x^{(k)}\to x\) uniformly in the coordinates, then \(x\in\mathscr{C}_0\)), hence a metric space.
Let \(D\) be the set of sequences with finitely many nonzero terms, all rational. Then \(D\) is a countable union over \(N\in\mathbb{N}\) of \(\mathbb{Q}^N\times\{0\}^\infty\), hence countable.
\(D\) is dense: given \(x=(c_n)\in\mathscr{C}_0\) and \(\varepsilon>0\), choose \(N\) so that \(n>N\) implies \(|c_n|<\varepsilon\). Choose rationals \(r_1,\ldots,r_N\) with \(|r_i-c_i|<\varepsilon\). The sequence \((r_1,\ldots,r_N,0,0,\ldots)\) lies in \(D\) and is within \(\varepsilon\) of \(x\) in the supremum metric.
Exercise §15.3.3
A family \(\mathscr{F}\) of maps \(S\to\mathbb{R}^1\) satisfies a Hölder condition with constant \(M\) and exponent \(\alpha\in(0,1]\) if \(|f(p)-f(q)|\le M\bigl[d(p,q)\bigr]^\alpha\) for all \(p,q\in S\) and all \(f\in\mathscr{F}\). Show that \(\mathscr{F}\) is equicontinuous.
Fix \(p_0\in S\) and \(\varepsilon>0\). Choose \(\delta>0\) so that \(M\delta^\alpha<\varepsilon\) (e.g. \(\delta=(\varepsilon/M)^{1/\alpha}\) if \(M>0\); any \(\delta\) if \(M=0\)). Then for every \(f\in\mathscr{F}\) and every \(p\) with \(d(p,p_0)<\delta\), \[ |f(p)-f(p_0)|\le M\bigl[d(p,p_0)\bigr]^\alpha<\varepsilon. \] The number \(\delta\) is independent of \(f\) and of the particular \(p_0\) (in fact the family is uniformly equicontinuous on \(S\)).
Exercise §15.3.4
Let \(A\subset\mathbb{R}^N\) be open and convex, and let \(\{f_n\}\) be convex functions \(A\to\mathbb{R}^1\). If \(\{f_n\}\) converges at each point of \(A\), then it converges uniformly on each compact subset of \(A\).
The pointwise limit \(f\) is convex (pass to the limit in the defining inequality). Let \(K\subset A\) be compact. Because \(A\) is open there is \(\delta>0\) such that the compact \(\delta\)-neighborhood \[ K_\delta=\{x:d(x,K)\le\delta\} \] still lies in \(A\).
The values of a convex function on \(K_\delta\) are controlled by values on a finite set of points (Lemma 15.4, after covering \(K_\delta\) by finitely many small cubes). In particular, pointwise convergence on \(K_\delta\) implies that \(\{f_n\}\) is uniformly bounded on \(K_\delta\), say \(|f_n|\le M\) (and \(|f|\le M\)). Theorem 15.17 (formula (15.13)) then gives \[ |f_n(x)-f_n(y)|\le\frac{2M}{\delta}|x-y| \] whenever \(x,y\in K\) (the balls \(B(x,\delta)\) and \(B(y,\delta)\) lie in \(K_\delta\subset A\)). Thus \(\{f_n\}\) is equicontinuous on \(K\).
A pointwise convergent equicontinuous sequence on a compact metric space converges uniformly: given \(\varepsilon>0\), cover \(K\) by finitely many balls of radius small enough that the oscillation of every \(f_n\) on each ball is \(<\varepsilon/3\), then use pointwise Cauchy at the finitely many centers. (Alternatively apply Theorem 15.20(ii) to subsequences and use that the whole sequence converges pointwise, so every subsequence has the same uniform limit.)
Exercise §15.3.5
Let \(A\subset\mathbb{R}^N\) be open and convex, \(\{f_n\}\) convex on \(A\), and \(\{f_n\}\) uniformly bounded. Show that \(\{f_n\}\) has a subsequence which converges uniformly on each compact subset of \(A\).
Uniform boundedness plus Theorem 15.17 give equicontinuity on every compact \(K\subset A\): if \(|f_n|\le M\) and \(K_\delta\subset A\) as in §15.3.4, then (15.13) holds uniformly in \(n\).
Let \(K_j=\{x\in A: |x|\le j,\; d(x,\partial A)\ge 1/j\}\) (interpret \(d(x,\partial A)=\infty\) if \(A=\mathbb{R}^N\)). Each \(K_j\) is compact, \(K_j\subset\operatorname{int} K_{j+1}\), and \(\bigcup K_j=A\). Theorem 15.20(ii) on \(K_1\) produces a subsequence \(\{f_n^{(1)}\}\) uniformly convergent on \(K_1\). Inductively extract \(\{f_n^{(j+1)}\}\) from \(\{f_n^{(j)}\}\) uniformly convergent on \(K_{j+1}\). The diagonal subsequence \(\{f_n^{(n)}\}\) converges uniformly on every \(K_j\), hence uniformly on every compact subset of \(A\) (each compact is contained in some \(K_j\)).
Exercise §15.3.6
Let \(I=\{x:a\le x<\infty\}\) and let \(\mathscr{F}\) be a family of differentiable maps \(I\to\mathbb{R}^1\) with \(|f|\le M_0\) and \(|f'|\le M_1\) for all \(f\in\mathscr{F}\). Is there always a subsequence of \(\mathscr{F}\) which converges uniformly on \(I\)?
No. The family is uniformly bounded and equicontinuous (\(|f(x)-f(y)|\le M_1|x-y|\) by the mean-value theorem), so Theorem 15.20(i) yields a subsequence converging pointwise on \(I\), and uniformly on each compact subinterval. Uniform convergence on the whole unbounded interval can fail.
Example: take \(a=0\) and \(f_n(x)=\arctan(x-n)\) for \(n\in\mathbb{N}\). Then \(|f_n|\le\pi/2\) and \(|f_n'|\le 1\). If a subsequence \(f_{n_k}\) converged uniformly on \([0,\infty)\), the limit \(g\) would be uniformly continuous and \(g(x)=\lim_k\arctan(x-n_k)=-\pi/2\) for every finite \(x\), so \(g\equiv-\pi/2\). But \[ \sup_{x\ge 0}\bigl|\arctan(x-n_k)+\pi/2\bigr|=\arctan(\infty)+\pi/2=\pi, \] which does not tend to \(0\). (The translates “escape to infinity.”)
Exercise §15.3.7
Let \(A\subset\mathbb{R}^N\) be bounded and convex with \(A^{(0)}\neq\emptyset\). Let \(f_n:A\to\mathbb{R}^1\) be \(C^1\) with \(|f_n|\le M_0\) and \(|\nabla f_n|\le M_1\) on \(A\). Then a subsequence of \(\{f_n\}\) converges uniformly on \(A\).
The mean-value theorem (or \(|f_n(x)-f_n(y)|\le M_1|x-y|\)) shows that \(\{f_n\}\) is uniformly Lipschitz, hence uniformly equicontinuous and uniformly bounded on \(A\). Each \(f_n\) therefore extends uniquely to a continuous function \(\overline{f}_n\) on the compact closure \(\overline{A}\) (Theorem 15.4; \(\mathbb{R}^1\) is complete), with the same Lipschitz constant \(M_1\) and the same bound \(M_0\).
Theorem 15.20(ii) on the compact set \(\overline{A}\) yields a subsequence \(\overline{f}_{n_k}\) converging uniformly on \(\overline{A}\). The restrictions \(f_{n_k}\) then converge uniformly on \(A\).
Exercise §15.3.8
Let \(I=\{x:a\le x\le b\}\), \(S=\{(x,y):a\le x\le b,\; a\le y\le b\}\), and \(K:S\to\mathbb{R}^1\) continuous. For \(g:I\to\mathbb{R}^1\) define \[ f(x)=\int_a^b K(x,y)\,g(y)\,dy.\tag{15.17} \] If \(\mathscr{G}\) is a family with \(|g(y)|\le M\) for all \(g\in\mathscr{G}\) and \(y\in I\), show that the family \(\mathscr{F}\) of corresponding \(f\) contains a uniformly convergent subsequence.
Continuity of \(K\) on the compact square \(S\) gives a bound \(|K|\le\kappa\) and uniform continuity of \(K\). For every \(g\in\mathscr{G}\), \[ |f(x)|\le\int_a^b\kappa M\,dy=\kappa M(b-a), \] so \(\mathscr{F}\) is uniformly bounded. If \(|x-x'|<\delta\) implies \(|K(x,y)-K(x',y)|<\varepsilon\) for all \(y\), then \[ |f(x)-f(x')|\le\int_a^b\varepsilon M\,dy=\varepsilon M(b-a). \] Thus \(\mathscr{F}\) is equicontinuous on the compact interval \(I\). Theorem 15.20(ii) produces a uniformly convergent subsequence.
Exercise §15.3.9
Prove Arzela’s theorem (Theorem 15.20) for functions on a separable metric space with range in \(\mathbb{R}^N\), \(N>1\).
Let \(f_n:S\to\mathbb{R}^N\) be uniformly bounded and equicontinuous, where equicontinuity uses the Euclidean metric of \(\mathbb{R}^N\): for each \(p_0\) and \(\varepsilon>0\) there is \(\delta>0\) such that \(d(p,p_0)<\delta\) implies \(|f_n(p)-f_n(p_0)|<\varepsilon\) for every \(n\). Write \(f_n=(f_n^1,\ldots,f_n^N)\). Each scalar family \(\{f_n^j\}\) is uniformly bounded and equicontinuous (because \(|f_n^j(p)-f_n^j(q)|\le |f_n(p)-f_n(q)|\)).
Apply Theorem 15.20(i) to the first components, then pass to a subsequence for the second components, and so on. After \(N\) extractions one has a subsequence \(\{g_k\}\) such that each coordinate converges pointwise. Hence \(g_k(p)\) converges in \(\mathbb{R}^N\) for every \(p\). The limit \(f\) is continuous because \(|f(p)-f(q)|=\lim |g_k(p)-g_k(q)|\) and the right-hand side is small when \(d(p,q)\) is small, independently of \(k\).
If \(S\) is compact, the same covering argument as in Theorem 15.20(ii) (or Lemma 15.5 with the \(\mathbb{R}^N\)-valued modulus) upgrades pointwise convergence to uniform convergence: \(|g_k(p)-g_\ell(p)|\le |g_k(p)-g_k(q_i)|+|g_k(q_i)-g_\ell(q_i)|+|g_\ell(q_i)-g_\ell(p)|\), with finitely many centers \(q_i\).
Exercise §15.3.10
Give an example of a bounded continuous \(f:I\to\mathbb{R}^1\) on \(I=\{x:a<x<b\}\) which cannot be extended as a continuous function to any larger set; i.e., Tietze’s conclusion fails.
Tietze requires the domain of the given function to be closed. Take \[ f(x)=\sin\frac{1}{x-a}+\sin\frac{1}{b-x},\qquad a<x<b. \] Then \(f\) is bounded and continuous on \(I\), but \(\lim_{x\to a^+}f(x)\) and \(\lim_{x\to b^-}f(x)\) fail to exist, so \(f\) has no continuous extension to any set containing \(a\) or \(b\).
Any subset of \(\mathbb{R}^1\) properly containing \(I\) as an interval must contain \(a\) or \(b\) (or a point beyond them, which would include \(a\) or \(b\) in its convex hull with \(I\)). Thus \(f\) cannot be extended continuously to a larger interval. That is the content of the remark: without closedness, a bounded continuous function need not extend.
(A continuous extension to \(I\) union an isolated point far from \([a,b]\) is possible but irrelevant to Tietze’s setting.)
Exercise §15.3.11
In Lemma 15.7, suppose \(A\) and \(B\) are disjoint but not closed. Show that it may not be possible to find \(\psi\) with the stated properties.
Lemma 15.7 asks for a continuous \(\psi:S\to\mathbb{R}^1\) with \(\psi=0\) on \(A\), \(\psi=1\) on \(B\), and \(0\le\psi\le 1\).
Let \(S=\mathbb{R}^1\), \(A=(0,1)\), \(B=(1,2)\). These are disjoint and not closed. Suppose a continuous \(\psi\) existed with \(\psi=0\) on \(A\) and \(\psi=1\) on \(B\). Continuity at \(1\) would force \(\psi(1)=\lim_{x\to 1^-}\psi(x)=0\) and \(\psi(1)=\lim_{x\to 1^+}\psi(x)=1\), which is impossible.
(The explicit formula \(\psi(p)=d(p,A)/\bigl(d(p,A)+d(p,B)\bigr)\) also fails: \(d(1,A)=d(1,B)=0\).)
Exercise §15.3.12
Let \(I=\{x:a\le x<\infty\}\) and let \(f:I\to\mathbb{R}^1\) be continuous, not necessarily bounded. Show that \(f\) extends to a continuous function on all of \(\mathbb{R}^1\). Prove the same if the domain is any closed set \(A\subset\mathbb{R}^1\).
On \((-\infty,a]\) define \(g(x)=f(a)\), and set \(g=f\) on \(I\). Then \(g\) is continuous on \(\mathbb{R}^1\): the only new junction is \(x=a\), where left and right limits both equal \(f(a)\).
Now let \(A\subset\mathbb{R}^1\) be an arbitrary closed set and \(f:A\to\mathbb{R}^1\) continuous (possibly unbounded). The complement \(\mathbb{R}^1\setminus A\) is open, hence a countable union of pairwise disjoint open intervals \((a_n,b_n)\), together with at most two unbounded rays. On each bounded component \((a_n,b_n)\) the endpoints \(a_n,b_n\) lie in \(A\) (or are \(\pm\infty\)). Define \(g\) on \((a_n,b_n)\) to be the linear interpolant of \(f(a_n)\) and \(f(b_n)\). On a left ray \((-\infty,c)\) with \(c\in A\), set \(g\equiv f(c)\); on a right ray \((c,+\infty)\), set \(g\equiv f(c)\). Set \(g=f\) on \(A\). Then \(g\) is continuous on \(\mathbb{R}^1\): on \(A\) this is the original continuity, and at each endpoint of a complementary interval the linear (or constant) piece matches \(f\).
Exercise §15.3.13
On \(S=\{(x_1,x_2):0\le x_1\le 1,\; 0\le x_2\le 1\}\) define \(f(x_1,x_2)=x_1 x_2\). Extend \(f\) explicitly to all of \(\mathbb{R}^2\) as a continuous function with no increase in \(\max|f|\).
On \(S\) one has \(0\le f\le 1\), so \(M=\max|f|=1\). Clamp each coordinate: \[ \pi(t)=\begin{cases} 0,& t\le 0,\\ t,& 0\le t\le 1,\\ 1,& t\ge 1, \end{cases} \] and set \(g(x_1,x_2)=\pi(x_1)\pi(x_2)\). Then \(g\) is continuous on \(\mathbb{R}^2\) (product of continuous functions), \(g|_S=f\), and \(0\le g\le 1\), so \(\max|g|=1=M\).
Piecewise: \(g=0\) if \(x_1\le 0\) or \(x_2\le 0\); \(g=x_1 x_2\) on \(S\); \(g=x_1\) if \(0\le x_1\le 1\) and \(x_2\ge 1\); \(g=x_2\) if \(0\le x_2\le 1\) and \(x_1\ge 1\); \(g=1\) if \(x_1\ge 1\) and \(x_2\ge 1\).
(Odd key: the same piecewise description. Agrees.)
Exercise §15.3.14
On the unit cube \(C\subset\mathbb{R}^3\) define \(f=x_1 x_2 x_3\). Extend \(f\) to \(\mathbb{R}^3\) continuously with no increase in \(\max|f|\).
Again \(0\le f\le 1\) on \(C\). With the same clamp \(\pi\) as in §15.3.13, set \[ g(x_1,x_2,x_3)=\pi(x_1)\pi(x_2)\pi(x_3). \] Then \(g\) is continuous, \(g|_C=f\), and \(0\le g\le 1\).
§15.4 Approximations and the Stone–Weierstrass Theorem
Printed pp. 411–412; PDF pp. 427–428.
Exercise §15.4.1
Let \(f(x)=\exp\bigl(-1/(x^2(1-x)^2)\bigr)\) for \(x\neq 0,1\), and \(f(0)=f(1)=0\). Show that \(f^{(n)}(0)=f^{(n)}(1)=0\) for \(n=1,2,\ldots\).
It is enough to work on \([0,1]\) (one-sided derivatives at the endpoints). Set \(\psi(t)=e^{-1/t}\) for \(t>0\) and \(\psi(0)=0\). The standard induction \(\psi^{(n)}(t)=p_n(1/t)e^{-1/t}\) for \(t>0\), with \(p_n\) a polynomial, together with \(t^{-k}e^{-1/t}\to 0\) as \(t\to 0^+\) (write \(u=1/t\)), yields \(\psi^{(n)}(0)=0\) for all \(n\).
On \((0,1)\) one has \(f(x)=\psi\bigl(x^2(1-x)^2\bigr)\). The inner function \(\rho(x)=x^2(1-x)^2\) is \(C^\infty\), \(\rho(0)=\rho'(0)=0\), and \(\rho(x)>0\) for \(x\in(0,1)\). Faà di Bruno’s formula (or induction on difference quotients) expresses \(f^{(n)}(x)\) for \(x\in(0,1)\) as a finite sum of terms \(\psi^{(k)}(\rho(x))\) times polynomials in the derivatives of \(\rho\). Each such term tends to \(0\) as \(x\to 0^+\) because \(\psi^{(k)}(\rho)=p_k(1/\rho)e^{-1/\rho}\) decays faster than any negative power of \(\rho\), while \(\rho(x)\sim x^2\). Thus \(f^{(n)}(0^+)=0\). The same argument at \(x=1\) follows on substituting \(u=1-x\), since \(\rho(1-u)=\rho(u)\).
Exercise §15.4.2
Let \(G\subset\mathbb{R}^N\) be a bounded region with smooth boundary \(\partial G\). To each \(x_0\in G\) associate a \(C^\infty\) mollifier \(\varphi\) vanishing outside a neighborhood of \(x_0\) contained in \(G\). Obtain a partition of unity: \(C^\infty\) functions \(\psi_1,\ldots,\psi_k\), each vanishing outside some neighborhood in \(G\), with \(\psi_1+\cdots+\psi_k=1\) on \(G\). [Hint: Heine–Borel on \(\overline{G}\), then \(\psi_i=\varphi_i/\sum\varphi_i\).]
The closed bounded set \(\overline{G}\) is compact. For each \(x\in G\) choose \(r_x>0\) with \(\overline{B(x,r_x)}\subset G\), and let \(\varphi_x\) be a mollifier supported in \(B(x,r_x)\) (e.g. a translate and scale of the radial kernel \(\varphi\) of the text, or \(k_N\) from p. 405). For \(x\in\partial G\), smoothness of the boundary is not needed to cover \(\overline{G}\), but to keep supports inside a neighborhood of \(\overline{G}\); the problem asks for functions on \(G\) vanishing outside neighborhoods in \(G\), so it is enough to cover \(G\) and use compactness of a slightly smaller closed set, or cover \(\overline{G}\) and restrict.
Apply Heine–Borel: finitely many of the balls, say \(B(x_1,r_1),\ldots,B(x_k,r_k)\), cover \(\overline{G}\). Let \(\varphi_i\) be the corresponding mollifiers, \(\varphi_i\ge 0\), \(\varphi_i\) not identically zero on a neighborhood of \(x_i\), support in \(G\). On \(\overline{G}\) the sum \(\Phi=\sum_{i=1}^k\varphi_i\) is \(C^\infty\) and strictly positive (each point lies in some support that can be arranged so that \(\varphi_i(x_i)>0\), and a finite cover of a compact set by the open sets \(\{\varphi_i>0\}\) is possible). Set \(\psi_i=\varphi_i/\Phi\). Then each \(\psi_i\) is \(C^\infty\), \(\operatorname{supp}\psi_i\subset G\), \(\psi_i\ge 0\), and \(\sum\psi_i=1\) on \(\overline{G}\), hence on \(G\).
Exercise §15.4.3
Prove Lemma 15.8.
Lemma 15.8. If \(f,g\in C(S)\) then \(\max(f,g)\) and \(\min(f,g)\) lie in \(C(S)\). Moreover \[ \max(a,b)=\tfrac12\bigl(a+b+|a-b|\bigr),\qquad \min(a,b)=\tfrac12\bigl(a+b-|a-b|\bigr). \]
The two algebraic identities are immediate by considering the cases \(a\ge b\) and \(a\le b\). Continuity of \(f\) and \(g\) implies continuity of \(f+g\) and of \(|f-g|\) (the absolute value is continuous on \(\mathbb{R}^1\)). Hence \(\max(f,g)\) and \(\min(f,g)\) are continuous. They remain bounded if \(f\) and \(g\) are, so they lie in \(C(S)\).
Exercise §15.4.4
Show that the set \(P\) of polynomials in \(x\) on \(I=\{x:-1\le x\le 1\}\) is an algebra in \(C(I)\) which separates points in \(I\) and \(\mathbb{R}^1\). Show however that \(P\) is not a set \(\mathscr{L}\) of the type in the Stone approximation theorem (Theorem 15.23).
Sums, scalar multiples, and products of polynomials are polynomials, so \(P\) is an algebra. Constants belong to \(P\). If \(p\neq q\) in \(I\) and \(a,b\in\mathbb{R}^1\), the affine function \[ h(x)=a+\frac{b-a}{q-p}(x-p) \] is a polynomial, \(h(p)=a\), \(h(q)=b\). Thus \(P\) separates points in \(I\) and \(\mathbb{R}^1\).
Theorem 15.23 requires \(\mathscr{L}\) to be closed under \(\max\) and \(\min\). The function \(\max(x,0)\) is not a polynomial (a polynomial vanishing on \((-1,0)\) vanishes identically). Hence \(P\) is not of type \(\mathscr{L}\). (It does satisfy the hypotheses of the Stone–Weierstrass theorem 15.24, whose proof manufactures \(\max\) and \(\min\) only after uniform limits.)
Exercise §15.4.5
Let \(I=\{x:0\le x\le 1\}\) and let \(\mathscr{L}\subset C(I)\) be the piecewise linear continuous functions. Show that \(\mathscr{L}\) satisfies the hypotheses of Theorem 15.23.
\(I\) is compact. Piecewise linear continuous functions are in \(C(I)\). The maximum (resp. minimum) of two piecewise linear continuous functions is piecewise linear and continuous: the combined node set is finite, and on each subinterval the max of two affine functions is affine on two (or one) pieces. Thus \(\mathscr{L}\) is closed under \(\max\) and \(\min\).
Separation of points in \(I\) and \(\mathbb{R}^1\): given \(p\neq q\) and \(a,b\in\mathbb{R}^1\), the affine function of §15.4.4 is piecewise linear (in fact linear), takes the value \(a\) at \(p\) and \(b\) at \(q\), and lies in \(\mathscr{L}\).
Exercise §15.4.6
Show that Theorem 15.24 fails if \(S\) is not compact. [Hint: \(I=\{x:0\le x<\infty\}\), \(\mathscr{A}\) the polynomials, \(f(x)=e^x\).]
The interval \(I=[0,\infty)\) is not compact. The polynomials form an algebra containing the constant \(1\) and separating points of \(I\), so the algebraic hypotheses of Theorem 15.24 hold, but \(I\) is not compact.
Following the hint, \(f(x)=e^x\) cannot be approximated uniformly by polynomials on \(I\). If \(|e^x-p(x)|\le M\) for all \(x\ge 0\), then \(p(x)\ge e^x-M\to+\infty\), so \(p\) is nonconstant with positive leading coefficient. But then \(p(x)/e^x\to 0\), hence \(e^x-p(x)\to+\infty\), a contradiction. Thus no polynomial is within a finite uniform distance of \(e^x\), let alone an approximating sequence.
Exercise §15.4.7
Let \(A\) be a hypercube in \(\mathbb{R}^N\). Show that \(C(A)\) is separable. [Hint: polynomials in \(N\) variables with rational coefficients.]
\(A\) is compact, so \(C(A)\) is the space of all continuous real functions on \(A\) with the supremum metric. The polynomials in \(x_1,\ldots,x_N\) form an algebra containing \(1\) and separating points of \(A\) (if \(p\neq q\), some coordinate differs). Theorem 15.24 (or its corollary, Weierstrass) says that polynomials are dense in \(C(A)\).
Let \(D\) be the polynomials with rational coefficients. Then \(D\) is countable (finite rational linear combinations of the countable set of monomials). Given a real polynomial \(P=\sum_{|\alpha|\le m} c_\alpha x^\alpha\) and \(\varepsilon>0\), choose rationals \(r_\alpha\) with \(\sum |c_\alpha-r_\alpha|\sup_A |x^\alpha|<\varepsilon\). The corresponding rational polynomial is within \(\varepsilon\) of \(P\) on \(A\). Thus \(D\) is dense in the polynomials, hence dense in \(C(A)\).
Exercise §15.4.8
Let \(I=\{x:0\le x\le 1\}\) and \(\mathscr{L}=\{f\in C(I):f(0)=0\}\). Is \(\mathscr{L}\) dense in \(C(I)\)?
No. Evaluation \(f\mapsto f(0)\) is continuous on \(C(I)\) (it is bounded by the supremum norm), so \(\mathscr{L}\) is closed. It is a proper subset (constants other than \(0\) are missing). A proper closed subset is not dense.
Concretely: if \(f_n\in\mathscr{L}\) and \(f_n\to 1\) uniformly, then \(0=f_n(0)\to 1\), a contradiction.
Exercise §15.4.9
Let \(I=\{x:0<x\le 1\}\). Show that the Stone–Weierstrass conclusion fails for the algebra \(\mathscr{A}\) of polynomials on \(I\), even though \(\mathscr{A}\) satisfies the algebraic hypotheses of Theorem 15.24.
\(I\) is not compact, so Theorem 15.24 does not apply. Polynomials still form an algebra containing \(1\) and separating points of \(I\).
Let \(f(x)=\sin(1/x)\). Then \(f\in C(I)\) in the sense of §15.1 (bounded and continuous). Suppose polynomials \(p_n\) converged to \(f\) uniformly on \(I\). Uniform Cauchy would imply that \(\{p_n\}\) is uniformly Cauchy on \(I\), hence extends to a uniformly Cauchy sequence on \(\overline{I}=[0,1]\) (each polynomial is uniformly continuous up to \(0\)). The uniform limit on \([0,1]\) would be continuous, so \(\lim_{x\to 0^+}f(x)\) would exist, contradicting the oscillation of \(\sin(1/x)\).
(Odd key: “The function \(f(x)=\sin(1/x)\) is continuous on \(I\).” Agrees; that is the counterexample.)
Exercise §15.4.10
Prove that it is not possible to have a mollifier in \(\mathbb{R}^N\) which is analytic everywhere.
A mollifier \(\varphi\) is \(C^\infty\), nonnegative, vanishes outside \(B(0,1)\), and \(\int_{B(0,1)}\varphi=1\). If \(\varphi\) were analytic on all of \(\mathbb{R}^N\), it would be analytic on a connected open set and identically zero on the nonempty open set \(\mathbb{R}^N\setminus\overline{B(0,1)}\). Unique continuation for real-analytic functions would force \(\varphi\equiv 0\), contradicting the integral condition.
(Alternatively: an entire real-analytic function vanishing on an open set vanishes everywhere.)
Exercise §15.4.11
Elementary proof of Lemma 15.9. Define \[ b_n=\Bigl(1-\frac12\Bigr)\Bigl(1-\frac14\Bigr)\cdots\Bigl(1-\frac{1}{2n-2}\Bigr),\quad n=2,3,\ldots, \] and \(a_n=(-1)^{n+1} b_n/(2n)\). Show that (15.25) has the form \(1+\tfrac12 x+\sum_{n=2}^\infty a_n x^n\). Use \(\log(1-x)\le -x\) for \(0<x<1\) to get \(\log b_n\le -\tfrac12(1+\cdots+1/(n-1))\le -\tfrac12\log n\), hence \(b_n\le 1/\sqrt{n}\) and \(|a_n|\le 1/(2n^{3/2})\).
Formula (15.25) is \[ \varphi(x)=1+\frac12\sum_{n=0}^\infty\frac{(-1)^n(n+1)(2n)!}{2^{2n}\bigl[(n+1)!\bigr]^2}x^{n+1}. \] The \(n=0\) term is \(x/2\). For the coefficient of \(x^k\) with \(k\ge 2\), set \(n=k-1\): \[ \frac12\cdot\frac{(-1)^{k-1}k\,(2k-2)!}{2^{2k-2}(k!)^2} =\frac{(-1)^{k-1}k\,(2k-2)!}{2^{2k-1}(k!)^2}. \] Since \((-1)^{k+1}=(-1)^{k-1}\), this equals \(a_k\) once \[ b_k=\frac{k^2(2k-2)!}{2^{2k-2}(k!)^2}=\frac{(2k-2)!}{2^{2k-2}\bigl((k-1)!\bigr)^2}. \] The product \(b_k=\prod_{j=1}^{k-1}(1-1/(2j))=\prod_{j=1}^{k-1}(2j-1)/(2j)\) equals \[ \frac{1\cdot 3\cdots(2k-3)}{2^{k-1}(k-1)!} =\frac{(2k-2)!}{2^{k-1}(k-1)!\,\cdot\,2^{k-1}(k-1)!}, \] because \(1\cdot 3\cdots(2k-3)=(2k-2)!/\bigl(2\cdot 4\cdots(2k-2)\bigr)=(2k-2)!/(2^{k-1}(k-1)!)\). Thus \(b_k\) matches, and (15.25) is \(1+\tfrac12 x+\sum_{n=2}^\infty a_n x^n\).
For \(0<x<1\), \(\log(1-x)\le -x\), so \[ \log b_n=\sum_{j=1}^{n-1}\log\Bigl(1-\frac{1}{2j}\Bigr)\le -\frac12\sum_{j=1}^{n-1}\frac1j = -\frac12 H_{n-1}. \] The harmonic estimate \(H_{n-1}\ge\log n\) (integral comparison: \(H_{m}\ge\log(m+1)\)) yields \(\log b_n\le -\tfrac12\log n\), hence \(b_n\le n^{-1/2}\). Therefore \[ |a_n|=\frac{b_n}{2n}\le\frac{1}{2n^{3/2}}. \] Weierstrass’s \(M\)-test with \(\sum n^{-3/2}<\infty\) gives uniform convergence of \(\sum a_n x^n\) on \(|x|\le 1\). The sum is \(\sqrt{1+x}\) on \((-1,1]\) by the binomial series (ratio test for interior points; Abel/uniformity to include \(x=1\), or continuity of both sides). Hence \(\sqrt{1+x}\) is the uniform limit of the partial sums, which are polynomials.
Exercise §15.4.12
Let \(k_3(x)=k(x_1)k(x_2)k(x_3)\), with \(k\) as on p. 404 and \(x\in\mathbb{R}^3\). Describe the set where \(k_3\) is analytic and the set where it is \(C^\infty\) but not analytic.
From the construction, \(k\in C^\infty(\mathbb{R}^1)\), \(k\equiv 1\) on \([-1/2,1/2]\), \(k\equiv 0\) outside \((-1,1)\), and \(k\) is analytic except at \(x=\pm 1/2\) and \(x=\pm 1\) (p. 405).
The product \(k_3\) is \(C^\infty\) on all of \(\mathbb{R}^3\).
Analytic wherever each factor is analytic, and also wherever \(k_3\) is locally equal to an analytic function (in particular, locally identically \(0\) or \(1\)):
- On the open cube \((-1/2,1/2)^3\) one has \(k_3\equiv 1\), hence analytic.
- On the exterior \(\mathbb{R}^3\setminus[-1,1]^3\) one has \(k_3\equiv 0\), hence analytic.
- On \(\bigl((-1,1)\setminus\{\pm 1/2\}\bigr)^3\), each \(k(x_i)\) is analytic, so the product is analytic.
\(C^\infty\) but not analytic on the portions of the planes \(x_i=\pm 1/2\) and \(x_i=\pm 1\) that meet the cube \([-1,1]^3\) in such a way that \(k_3\) is not locally identically \(0\). At a typical point with \(x_1=1/2\) and \(|x_2|<1\), \(|x_3|<1\), the factor \(k(x_1)\) is not analytic, and in every neighborhood \(k_3\) takes a non-polynomial range of values in \(x_1\). Unique continuation then fails for any analytic continuation. The same holds at \(x_i=\pm 1\) along the support boundary (the \(1\)-dimensional factor is flat-matched to \(0\) but not analytic).
Exercise §15.4.13
Let \(\varphi(x,y)\) be \(C^\infty\) for \(0\le x\le 1\), \(0\le y\le 1\), and let \(f(y)\) be defined for \(0\le y\le 1\). What conditions on \(f\) make \[ f_\varphi(x)=\int_0^1 \varphi(x,y)\,f(y)\,dy \] of class \(C^\infty\) for \(0\le x\le 1\)?
It is sufficient that \(f\) be Riemann integrable on \([0,1]\) (in particular, bounded with a set of discontinuities of measure zero; any continuous \(f\) works). Then each \(y\mapsto \partial^n\varphi/\partial x^n(x,y)\) is continuous on the square, hence bounded, and \(y\mapsto \partial^n\varphi/\partial x^n(x,y)\,f(y)\) is Riemann integrable. Differentiation under the integral sign is legitimate: the difference quotients converge uniformly in \(x\) because \(\partial^{n+1}\varphi/\partial x^{n+1}\) is uniformly continuous on the compact square, so \[ f_\varphi^{(n)}(x)=\int_0^1 \frac{\partial^n\varphi}{\partial x^n}(x,y)\,f(y)\,dy \] exists and is continuous. Thus \(f_\varphi\in C^\infty([0,1])\).
Boundedness of \(f\) alone is not enough without some integrability (a nonmeasurable bounded \(f\) need not give a well-defined Riemann or Lebesgue integral). Integrability is the natural minimal condition in this text’s setting.
(Odd key: “It is sufficient that \(f\) is integrable on \(0\le y\le 1\).” Agrees.)
Exercise §15.4.14
Prove the Corollary to Theorem 15.24 (Weierstrass approximation theorem in \(\mathbb{R}^N\)).
Corollary. Let \(S\) be a closed bounded set in \(\mathbb{R}^N\). Then any continuous function on \(S\) can be approximated uniformly on \(S\) by a polynomial in the coordinates \(x_1,\ldots,x_N\).
Closed and bounded in \(\mathbb{R}^N\) implies compact, so \(C(S)\) is the space of Theorem 15.24. Let \(\mathscr{A}\) be the set of (restrictions to \(S\) of) polynomials in \(x_1,\ldots,x_N\). This is an algebra: sums, products, and scalar multiples of polynomials are polynomials. The constant polynomial \(1\) belongs to \(\mathscr{A}\).
\(\mathscr{A}\) separates points of \(S\): if \(p\neq q\) in \(S\), then \(p_j\neq q_j\) for some coordinate \(j\), and the polynomial \(f(x)=x_j\) satisfies \(f(p)\neq f(q)\).
Theorem 15.24 therefore says that \(\mathscr{A}\) is uniformly dense in \(C(S)\).