Chapter 5 Exercises
Protter & Morrey, A First Course in Real Analysis (2nd ed.) §§5.1–5.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 5, §§5.1–5.4.
- Pages: printed pp. 108–110, 116–117, 122, 128–129; PDF pp. 124–126, 132–133, 138, 144–145 (PDF = printed + 16).
- Principle: stems follow the scan; solutions are independent. Numerical answers were recomputed, then compared with Answers to Odd-Numbered Problems (printed pp. 518–519; PDF pp. 533–534).
- Companion notes:
ch05-notes.qmd.
Numbering is §section.problem, matching the book.
§5.1 The Darboux integral for functions on \(\mathbb{R}^1\)
Printed pp. 108–110; PDF pp. 124–126.
Exercise §5.1.1
Compute \(S^+(f,\Delta)\) and \(S_-(f,\Delta)\) for \(f:x\mapsto x^2\) on \(I=\{x:0\le x\le 1\}\), with \(\Delta\) the subdivision of \(I\) into five subintervals of equal length.
The partition points are \(t_i=i/5\) for \(i=0,\ldots,5\). Since \(x\mapsto x^2\) is increasing on \([0,1]\), \[ m_i=\Bigl(\frac{i-1}{5}\Bigr)^2,\qquad M_i=\Bigl(\frac{i}{5}\Bigr)^2,\qquad l(I_i)=\frac15. \] Hence \[\begin{align*} S^+(f,\Delta) &=\frac15\sum_{i=1}^5\frac{i^2}{25} =\frac1{125}(1+4+9+16+25) =\frac{55}{125} =\frac{11}{25},\\ S_-(f,\Delta) &=\frac15\sum_{i=1}^5\frac{(i-1)^2}{25} =\frac1{125}(0+1+4+9+16) =\frac{30}{125} =\frac{6}{25}. \end{align*}\] This agrees with the odd-answer key.
Exercise §5.1.2
Let \(f:x\mapsto x^3\) on \(I=\{x:0\le x\le 1\}\). Let \(\Delta'\) refine \(\Delta\) by adding one point. (a) Show \(S^+(f,\Delta')<S^+(f,\Delta)\) and \(S_-(f,\Delta')>S_-(f,\Delta)\). (b) Give an \(f\) for which both sums are unchanged. (c) If \(f\) is strictly increasing and continuous on \(I\), show \(S^+(f,\Delta')<S^+(f,\Delta)\) for any refinement \(\Delta'\) of \(\Delta\).
(a) Only the subinterval that receives the new point changes. Let that subinterval be \([\alpha,\gamma]\) and the inserted point \(\beta\in(\alpha,\gamma)\). On \([0,1]\) the map \(x\mapsto x^3\) is strictly increasing, so the contribution of \([\alpha,\gamma]\) to \(S^+\) is \(\gamma^3(\gamma-\alpha)\), while after the split it is \(\beta^3(\beta-\alpha)+\gamma^3(\gamma-\beta)\). The difference is \[ (\gamma^3-\beta^3)(\beta-\alpha)>0. \] Thus \(S^+\) strictly decreases. For \(S_-\) the old contribution is \(\alpha^3(\gamma-\alpha)\) and the new one is \(\alpha^3(\beta-\alpha)+\beta^3(\gamma-\beta)\); the difference of new minus old is \((\beta^3-\alpha^3)(\gamma-\beta)>0\).
(b) Any constant function has \(S^+=S_-=c(b-a)\) for every subdivision, so both sums are invariant under refinement. (A function constant on the split interval works as well.)
(c) A refinement is obtained by inserting finitely many points, so it is enough to insert one point. On a subinterval \([t_{i-1},t_i]\) a strictly increasing \(f\) attains its supremum at the right endpoint, so \(M_i=f(t_i)\). Inserting \(\beta\in(t_{i-1},t_i)\) changes the upper-sum contribution by \[ f(t_i)(t_i-t_{i-1})-\bigl(f(\beta)(\beta-t_{i-1})+f(t_i)(t_i-\beta)\bigr) =(f(t_i)-f(\beta))(\beta-t_{i-1})>0. \] Hence every proper refinement strictly decreases \(S^+\).
Exercise §5.1.3
If \(g=kf\) on \(I=\{x:a\le x\le b\}\) and \(k<0\), show \[ \underline{\int_a^b}g(x)\,dx=k\,\overline{\int_a^b}f(x)\,dx. \] (Theorem 5.3(a).)
Let \(\Delta\) be any subdivision, with \(m_i=\inf_{I_i}f\) and \(M_i=\sup_{I_i}f\). Lemma 5.1(ii) gives \(\inf_{I_i}g=k M_i\) and \(\sup_{I_i}g=k m_i\). Therefore \[ S_-(g,\Delta)=k\,S^+(f,\Delta),\qquad S^+(g,\Delta)=k\,S_-(f,\Delta). \] Since \(k<0\), taking the supremum over all subdivisions reverses the inequality direction of \(S^+\): \[ \underline{\int_a^b}g=\sup_\Delta S_-(g,\Delta)=\sup_\Delta k\,S^+(f,\Delta)=k\inf_\Delta S^+(f,\Delta)=k\,\overline{\int_a^b}f. \]
Exercise §5.1.4
Let \(h=f_1+f_2\) on \(I=\{x:a\le x\le b\}\). (a) Prove the inequalities of Theorem 5.3(b) for the lower and upper integrals. (b) If \(f_1\) and \(f_2\) are Darboux integrable, conclude \(\int h=\int f_1+\int f_2\).
(a) On each subinterval of a subdivision \(\Delta\), \[ \inf h\ge \inf f_1+\inf f_2,\qquad \sup h\le \sup f_1+\sup f_2, \] so \(S_-(h,\Delta)\ge S_-(f_1,\Delta)+S_-(f_2,\Delta)\) and \(S^+(h,\Delta)\le S^+(f_1,\Delta)+S^+(f_2,\Delta)\). Taking the supremum of lower sums, \[ \underline{\int_a^b}h\ge \sup_\Delta\bigl(S_-(f_1,\Delta)+S_-(f_2,\Delta)\bigr)\ge \underline{\int_a^b}f_1+\underline{\int_a^b}f_2, \] because one may first take a common refinement of nearly maximizing subdivisions for \(f_1\) and for \(f_2\) (Theorem 5.1(b) only increases lower sums). Likewise, infima of upper sums yield \[ \overline{\int_a^b}h\le \overline{\int_a^b}f_1+\overline{\int_a^b}f_2. \]
(b) If both summands are integrable, the two inequalities of (a) squeeze \[ \int_a^b h\ge \int_a^b f_1+\int_a^b f_2\ge \overline{\int_a^b}h\ge \underline{\int_a^b}h, \] so \(h\) is integrable and equality holds.
Exercise §5.1.5
If \(f_1\le f_2\) on \(I\), show the inequalities of Theorem 5.3(c) for lower and upper integrals, and conclude \(\int f_1\le\int f_2\) when both are integrable.
On every subinterval, \(\inf f_1\le\inf f_2\) and \(\sup f_1\le\sup f_2\), so \(S_-(f_1,\Delta)\le S_-(f_2,\Delta)\) and \(S^+(f_1,\Delta)\le S^+(f_2,\Delta)\) for every \(\Delta\). Taking suprema of lower sums and infima of upper sums preserves the inequalities. If both functions are integrable, the lower/upper integrals coincide with the integrals, and \(\int f_1\le\int f_2\).
Exercise §5.1.6
Show \(\int_a^c f=\int_a^b f+\int_b^c f\) whenever all three integrals exist, whether or not \(b\) lies between \(a\) and \(c\).
The book defines \(\int_a^a f=0\) and \(\int_b^a f=-\int_a^b f\). If \(a<b<c\) the identity is the corollary of Theorem 5.3(d). For any other ordering of \(\{a,b,c\}\), rewrite using the sign convention. The six orderings reduce to the ordered case as follows (the remaining permutations are the same identities with two endpoints swapped, which changes the sign of both sides).
- \(a<c<b\): the ordered identity gives \(\int_a^b f=\int_a^c f+\int_c^b f\), so \(\int_a^c f=\int_a^b f-\int_c^b f=\int_a^b f+\int_b^c f\).
- \(b<a<c\): \(\int_b^c f=\int_b^a f+\int_a^c f\), hence \(\int_a^c f=\int_b^c f-\int_b^a f=\int_a^b f+\int_b^c f\).
The cases \(c<b<a\), \(c<a<b\), and \(b<c<a\) are obtained the same way. If two of \(a,b,c\) coincide the identity is immediate from \(\int_a^a f=0\).
Exercise §5.1.7
If \(f\) is integrable on \(I=\{x:a\le x\le b\}\) and \(I'=\{x:\alpha\le x\le\beta\}\subset I\), prove \(f\) is integrable on \(I'\) (Theorem 5.4). Hint: extend Theorem 5.3(d) to three intervals and subtract lower integrals from upper ones.
The two-interval additivity of upper and of lower integrals (Theorem 5.3(d)) iterates: if \(a<\alpha<\beta<b\), then \[\begin{align*} \overline{\int_a^b}f &=\overline{\int_a^\alpha}f+\overline{\int_\alpha^\beta}f+\overline{\int_\beta^b}f,\\ \underline{\int_a^b}f &=\underline{\int_a^\alpha}f+\underline{\int_\alpha^\beta}f+\underline{\int_\beta^b}f. \end{align*}\] Integrability on \(I\) means the two left-hand sides are equal. On each of the three pieces the upper integral is at least the lower integral (Theorem 5.2). The only way for the sums to be equal is that each piece has equal upper and lower integrals. In particular \(f\) is integrable on \([\alpha,\beta]\).
If \(\alpha=a\) or \(\beta=b\) only two pieces appear, and the same comparison applies. (A one-point interval has integral \(0\).)
Exercise §5.1.8
Complete the proof of Corollary 1 to Theorem 5.5.
The book records that \(f\) is uniformly continuous on the compact interval \(I\), so for \(\varepsilon>0\) there is \(\delta>0\) such that \(|x-y|<\delta\) implies \(|f(x)-f(y)|<\varepsilon/(b-a)\). Choose a subdivision \(\Delta\) with \(l(I_i)<\delta\) for every \(i\). Then \(M_i-m_i\le\varepsilon/(b-a)\) (in fact \(<\), unless \(f\) is constant), and \[ S^+(f,\Delta)-S_-(f,\Delta)=\sum_{i=1}^n(M_i-m_i)\,l(I_i)<\frac{\varepsilon}{b-a}\sum_{i=1}^n l(I_i)=\varepsilon. \] Theorem 5.5 yields integrability.
Exercise §5.1.9
If \(f\) is increasing on \(I=\{x:a\le x\le b\}\), show \(f\) is integrable (Corollary 2 to Theorem 5.5). Hint: \(S^+-S_-=\sum(f(x_i)-f(x_{i-1}))l(I_i)\); bound each \(l(I_i)\) by the longest subinterval and telescope.
An increasing function on a closed interval is bounded (\(f(a)\le f(x)\le f(b)\)). On \(I_i=\{x:x_{i-1}\le x\le x_i\}\) one has \(m_i=f(x_{i-1})\) and \(M_i=f(x_i)\), so \[ S^+(f,\Delta)-S_-(f,\Delta)=\sum_{i=1}^n\bigl(f(x_i)-f(x_{i-1})\bigr)\,l(I_i). \] Let \(\lambda=\max_i l(I_i)=\Vert\Delta\Vert\). Then \[ S^+-S_-\le\lambda\sum_{i=1}^n\bigl(f(x_i)-f(x_{i-1})\bigr)=\lambda\bigl(f(b)-f(a)\bigr). \] Given \(\varepsilon>0\), choose \(\Delta\) with \(\Vert\Delta\Vert<\varepsilon/(1+f(b)-f(a))\). Theorem 5.5 applies. (A decreasing \(f\) is the negative of an increasing function, so is likewise integrable.)
The odd-answer key only records the telescoping identity; that is the computation above.
Exercise §5.1.10
A step-function is constant on the interior of each piece of a finite subdivision. Prove every step-function is integrable (whatever values it takes at the finitely many endpoints) and give the value of the integral.
Let \(a=t_0<\cdots<t_n=b\) and \(f(x)=c_i\) for \(x\in(t_{i-1},t_i)\), with \(f(t_i)\) arbitrary. Let \(M=\sup_I|f|<\infty\) (only finitely many values occur). Given \(\varepsilon>0\), isolate the \(n+1\) endpoints in pairwise disjoint closed intervals \(J_k\) of total length less than \(\varepsilon/(1+4M)\). On the complementary closed subintervals \(K_i\subset(t_{i-1},t_i)\) the function is the constant \(c_i\), so \(M_i-m_i=0\) there. On each \(J_k\) one has \(M-m\le 2M\). For the resulting subdivision, \[ S^+-S_-\le 2M\cdot\sum l(J_k)+0<\varepsilon. \] Theorem 5.5 gives integrability.
To evaluate the integral, compare with the function \(g\) that equals \(c_i\) on the closed interval \([t_{i-1},t_i]\) (any assignment at the shared endpoints). Then \(f-g=0\) except at finitely many points, so \(\int(f-g)=0\) by the same isolating argument, and \[ \int_a^b f=\int_a^b g=\sum_{i=1}^n c_i(t_i-t_{i-1}). \]
Exercise §5.1.11
On \(I=\{x:0\le x\le 1\}\) let \(f=1\) on the rationals and \(f=0\) on the irrationals. Prove \(\underline{\int_0^1}f=0\) and \(\overline{\int_0^1}f=1\).
Every nonempty subinterval of \(I\) contains both rationals and irrationals, so \(m_i=0\) and \(M_i=1\) for every subinterval of every subdivision \(\Delta\). Thus \(S_-(f,\Delta)=0\) and \(S^+(f,\Delta)=1\). The supremum of the lower sums is \(0\) and the infimum of the upper sums is \(1\).
Exercise §5.1.12
Let \(f\) be bounded on \(I=\{x:a\le x\le b\}\), with \(M=\sup f\), \(m=\inf f\), \(M^*=\sup|f|\), \(m^*=\inf|f|\). (a) Show \(M^*-m^*\le M-m\). (b) If \(f,g\ge 0\) are bounded, \(N=\sup g\), \(n=\inf g\), show \(\sup(fg)-\inf(fg)\le MN-mn\).
(a) Always \(m\le f\le M\), so \(|f|\le\max(|m|,|M|)\) and \(M^*\le\max(|m|,|M|)\), while \(m^*\ge 0\).
- If \(m\ge 0\) then \(|f|=f\), so \(M^*=M\), \(m^*=m\).
- If \(M\le 0\) then \(|f|=-f\), so \(M^*=-m\), \(m^*=-M\), and \(M^*-m^*=M-m\).
- If \(m<0<M\) then \(M^*=\max(-m,M)\) and \(m^*\ge 0\), so \(M^*-m^*\le\max(-m,M)\). Both \(-m\) and \(M\) are \(\le M-m\), hence \(M^*-m^*\le M-m\).
(b) Nonnegativity gives \(mn\le f(x)g(x)\le MN\) for all \(x\), so \(\inf(fg)\ge mn\) and \(\sup(fg)\le MN\).
Exercise §5.1.13
- If \(f\) is bounded and integrable on \(I\), prove \(|f|\) is integrable. (b) Show \(\bigl|\int_a^b f\bigr|\le\int_a^b|f|\).
(a) On each subinterval, Problem 12(a) yields \(M_i^*-m_i^*\le M_i-m_i\). Summing, \[ S^+(|f|,\Delta)-S_-(|f|,\Delta)\le S^+(f,\Delta)-S_-(f,\Delta). \] Given \(\varepsilon>0\), Theorem 5.5 supplies a \(\Delta\) making the right-hand side \(<\varepsilon\), so \(|f|\) is integrable.
(b) From \(-|f|\le f\le|f|\) and Problem 5 (or the corollary of Theorem 5.3(c)), \[ -\int_a^b|f|\le\int_a^b f\le\int_a^b|f|. \]
Exercise §5.1.14
If \(f\) and \(g\) are nonnegative, bounded, and integrable on \(I\), prove \(fg\) is integrable. Hint: Problem 12(b).
Write \(M=\sup f\), \(N=\sup g\). On \(I_i\), Problem 12(b) gives \[ \sup(fg)-\inf(fg)\le M_i N_i-m_i n_i=M_i(N_i-n_i)+n_i(M_i-m_i)\le M(N_i-n_i)+N(M_i-m_i). \] Summing, \[ S^+(fg,\Delta)-S_-(fg,\Delta)\le M\bigl(S^+(g,\Delta)-S_-(g,\Delta)\bigr)+N\bigl(S^+(f,\Delta)-S_-(f,\Delta)\bigr). \] Choose a common refinement of subdivisions that make each parenthesis small (Theorem 5.5). The product is integrable.
Exercise §5.1.15
On \(I=\{x:0\le x\le 1\}\) let \(f(x)=1/2^n\) if \(x=j/2^n\) with \(j\) odd and \(0<j<2^n\) (\(n=1,2,\ldots\)), and \(f(x)=0\) otherwise. Decide whether \(f\) is integrable.
The value \(1/2^n\) is attached to the dyadic rationals of exact order \(n\) (the odd-numerator condition makes \(n\) unique). Thus \(0\le f\le 1/2\), and \(f=0\) off a countable set.
The function is integrable and \(\int_0^1 f=0\). To see this, fix \(\varepsilon>0\) and choose an integer \(N\) with \(2^{-N}<\varepsilon/2\). Only finitely many points have \(f(x)\ge 2^{-N}\), namely the dyadics of order \(n\le N\); there are fewer than \(2^{N+1}\) of them. Cover those points by open intervals of total length \(<\varepsilon/2\). On the complementary closed pieces one has \(0\le f<2^{-N}\), so \(M_i-m_i<2^{-N}\). For a subdivision that includes those covering intervals, \[ S^+-S_-\le 1\cdot(\text{total length of the covering intervals})+2^{-N}\cdot 1<\varepsilon. \] Theorem 5.5 applies. Every lower sum is \(0\) (each subinterval contains points where \(f=0\)), so the integral is \(0\).
This agrees with the odd-answer key (“Yes”).
Exercise §5.1.16
Let \(f\) and \(g\) be positive and continuous on \(I=\{x:a\le x\le b\}\). Prove there is \(\xi\in I\) with \(\int_a^b f g=f(\xi)\int_a^b g\). Hint: Intermediate-value theorem and Problem 5.
Let \(m=\min_I f\) and \(M=\max_I f\), attained by Theorem 3.12. Then \(mg\le fg\le Mg\). Problem 5 and continuity (Corollary 1 to Theorem 5.5) give \[ m\int_a^b g\le\int_a^b fg\le M\int_a^b g. \] If \(\int g=0\) then \(g\equiv 0\) by Problem 18 below, contradicting positivity; thus \(\int g>0\) and \[ m\le \frac{\int_a^b fg}{\int_a^b g}\le M. \] The intermediate-value theorem supplies \(\xi\in I\) with \(f(\xi)\) equal to that quotient.
Exercise §5.1.17
Suppose \(f\) is continuous on \(I=\{x:a\le x\le b\}\) except at an interior point \(c\), and bounded on \(I\). Prove \(f\) is integrable, that \(f(c)\) does not affect \(\int_a^b f\), and that the same holds for any finite set of exceptional points.
Let \(|f|\le K\) on \(I\). Given \(\varepsilon>0\), choose \(\delta>0\) so that \(2\delta<\varepsilon/(1+4K)\) and \([c-\delta,c+\delta]\subset(a,b)\). On the compact intervals \([a,c-\delta]\) and \([c+\delta,b]\) the restriction of \(f\) is continuous, hence integrable; Theorem 5.5 supplies subdivisions of those intervals on which \(S^+-S_-<\varepsilon/2\) in total. On \([c-\delta,c+\delta]\) one has \(S^+-S_-\le 2K\cdot 2\delta<\varepsilon/2\). Combining, \(f\) is integrable on \(I\).
If \(f\) and \(g\) differ only at \(c\), then \(f-g=0\) except at one point. Isolating \(c\) in an interval of length \(\varepsilon/(1+2\sup|f-g|)\) shows \(\int(f-g)=0\), so the integrals agree.
If \(f\) is continuous off a finite set \(\{c_1,\ldots,c_p\}\), isolate those points in intervals of total length small enough that their contribution to \(S^+-S_-\) is \(<\varepsilon/2\), and use uniform continuity (hence integrability) on the remaining compact pieces. Changing \(f\) at those finitely many points does not change the integral.
Exercise §5.1.18
If \(f\) is continuous, nonnegative, and not identically zero on \(I=\{x:a\le x\le b\}\), prove \(\int_a^b f>0\). Does the conclusion survive if \(f\) is merely integrable (not continuous)?
Pick \(x_0\in I\) with \(f(x_0)>0\). Continuity gives a subinterval \(J\subset I\) of length \(\ell>0\) on which \(f\ge f(x_0)/2>0\). Then \[ \int_a^b f\ge\int_J f\ge \frac{f(x_0)}{2}\,\ell>0. \]
The conclusion fails without continuity. Example: \(f(c)=1\) and \(f=0\) elsewhere. This is a step-function in the sense of Problem 10 (or apply Problem 17), so it is integrable with integral \(0\), yet it is nonnegative and not identically zero.
Exercise §5.1.19
Let \(f\) be continuous on \(I=\{x:a\le x\le b\}\), and suppose \(\int_a^b f g=0\) for every \(g\) continuous on \(I\). Prove \(f\equiv 0\) on \(I\).
Take \(g=f\), which is continuous. Then \(\int_a^b f^2=0\). The integrand \(f^2\) is continuous and nonnegative, so Problem 18 forces \(f^2\equiv 0\), hence \(f\equiv 0\).
(The odd-answer key hints to use Problem 18; that is the argument just given.)
Exercise §5.1.20
Prove Theorem 5.8. Hint: write \(F(b)-F(a)=\sum(F(x_i)-F(x_{i-1}))\) and apply the mean-value theorem on each subinterval.
Let \(f\) and \(F\) be continuous on \(I=\{x:a\le x\le b\}\) with \(F'=f\) on \((a,b)\). Continuity of \(f\) gives integrability (Corollary 1 to Theorem 5.5). For an arbitrary subdivision \(a=x_0<\cdots<x_n=b\), the mean-value theorem on each \([x_{i-1},x_i]\) (using continuity of \(F\) on the closed subinterval and differentiability on the open one) produces \(\xi_i\in(x_{i-1},x_i)\) with \[ F(x_i)-F(x_{i-1})=F'(\xi_i)\,(x_i-x_{i-1})=f(\xi_i)\,l(I_i). \] Summing, \(F(b)-F(a)=\sum f(\xi_i)\,l(I_i)\). On \(I_i\) one has \(m_i\le f(\xi_i)\le M_i\), so \[ S_-(f,\Delta)\le F(b)-F(a)\le S^+(f,\Delta) \] for every \(\Delta\). Therefore \[ \underline{\int_a^b}f\le F(b)-F(a)\le\overline{\int_a^b}f. \] The outer two quantities are equal, and the common value is \(F(b)-F(a)\).
Exercise §5.1.21
If \(f\) is continuous on \(I=\{x:a\le x\le b\}\), \(\int_a^b f=0\), and \(f\ge 0\) on \(I\), show \(f\equiv 0\).
This is the special case of Problem 18 in which the integral is already known to be zero: a nonnegative continuous function with vanishing integral cannot fail to be identically zero.
Exercise §5.1.22
If \(\int_a^b f\) exists, does \(\int_a^b f^2\) exist?
Yes. Darboux integrability includes boundedness, so \(f\) is bounded. Problem 13 gives integrability of \(|f|\). Then \(f^2=|f|\cdot|f|\) is a product of nonnegative integrable functions, hence integrable by Problem 14.
§5.2 The Riemann integral
Printed pp. 116–117; PDF pp. 132–133.
Exercise §5.2.1
- If \(f\) is continuous on \(I\), show that every upper and lower Darboux sum is a Riemann sum. (b) The same if \(f\) is increasing. (c) Give a bounded \(f\) for which some Darboux sum is not a Riemann sum.
(a) On each closed subinterval a continuous function attains its maximum and minimum (Theorem 3.12). Choosing those points as tags makes \(S^+\) and \(S_-\) into Riemann sums.
(b) If \(f\) is increasing then \(m_i=f(t_{i-1})\) and \(M_i=f(t_i)\), both values of \(f\) on \(I_i\).
(c) (Odd-answer key.) Let \(f(x)=x\) for \(a\le x<b\) and \(f(b)=b-1\). On the last subinterval \(I_n=[t_{n-1},b]\) one has \(\sup f=b\), which is not a value of \(f\) on \(I_n\). Thus \(S^+(f,\Delta)\) is not a Riemann sum.
(Any function that fails to attain its supremum on some subinterval works; the Dirichlet function of Problem 11 in §5.1 also has \(S^+=1\) with \(M_i=1\) attained, so that particular example does not serve for (c).)
Exercise §5.2.2
If \(f\) is integrable on \(I=\{x:a\le x\le b\}\) and \(0<m\le f(x)\le M\) on \(I\), prove that \(\int_a^b(1/f)\) exists.
On each \(I_i\) one has \(\inf(1/f)=1/M_i\) and \(\sup(1/f)=1/m_i\), so \[ \sup\frac1f-\inf\frac1f=\frac{M_i-m_i}{m_i M_i}\le\frac{M_i-m_i}{m^2}. \] Hence \(S^+(1/f,\Delta)-S_-(1/f,\Delta)\le m^{-2}(S^+(f,\Delta)-S_-(f,\Delta))\). Theorem 5.5 transfers integrability from \(f\) to \(1/f\).
Exercise §5.2.3
If \(u,u',v,v'\) are continuous on \(I=\{x:a\le x\le b\}\), establish integration by parts: \[ \int_a^b u v'=u(b)v(b)-u(a)v(a)-\int_a^b v u'. \]
The product \(uv\) is continuously differentiable, with \((uv)'=u'v+uv'\) (product rule). Theorem 5.8 gives \[ \int_a^b(uv)'=(uv)\big|_a^b=u(b)v(b)-u(a)v(a). \] Linearity of the integral (corollary of Theorem 5.3) rearranges this into the stated formula. (The odd-answer key notes \(d(uv)=u\,dv+v\,du\), which is the same identity.)
Exercise §5.2.4
If \(u,v,w\) and their first derivatives are continuous on \(I\), establish \[ \int_a^b uvw'=uvw\big|_a^b-\int_a^b uv'w-\int_a^b u'vw. \]
The product rule for three factors reads \((uvw)'=u'vw+uv'w+uvw'\). Integrate and apply Theorem 5.8: \[ uvw\big|_a^b=\int_a^b u'vw+\int_a^b uv'w+\int_a^b uvw'. \] Rearrange.
Exercise §5.2.5
Give \(f\) on \(I=\{x:0\le x\le 1\}\) such that \(|f|\) is integrable but \(f\) is not.
Let \(f(x)=1\) if \(x\) is rational and \(f(x)=-1\) if \(x\) is irrational. Then \(|f|\equiv 1\), which is integrable, while every subinterval has \(\inf f=-1\) and \(\sup f=1\), so \(S^+-S_-=2\) for every \(\Delta\) and \(f\) is not Darboux integrable. This is the example in the odd-answer key.
Exercise §5.2.6
From the definition, show that the Riemann integral is unique (Theorem 5.9). Hint: two different numbers \(A,A'\) both satisfying (5.13) lead to a contradiction.
Suppose \(A\) and \(A'\) both satisfy the definition, with \(A>A'\). Set \(\varepsilon=(A-A')/3>0\), and choose \(\delta,\delta'>0\) as in (5.13) for \(A\) and for \(A'\). For any tagged subdivision with mesh less than \(\min(\delta,\delta')\), the corresponding Riemann sum \(S\) satisfies both \(|S-A|<\varepsilon\) and \(|S-A'|<\varepsilon\), so \[ A-A'\le |A-S|+|S-A'|<2\varepsilon=\frac23(A-A'), \] a contradiction. Thus \(A=A'\).
Exercise §5.2.7
Extend Theorem 5.13: \(u\) is continuous on \([a,b]\), \(u'\) is continuous on \((a,b)\) and has limits at the endpoints. Define \(f_0\) and \(u_0\) as in the text (assuming \(u(a)<u(b)\)). Conclude that (5.21) still holds.
Write \(u'(a)\) and \(u'(b)\) for the given one-sided limits of \(u'\). The piecewise definition of \(u_0\) agrees with \(u\) on \([a,b]\) and is affine outside, with slope \(u'(a)\) to the left of \(a\) and \(u'(b)\) to the right of \(b\). Thus \(u_0\) is \(C^1\) on an open interval \(J\supset[a,b]\): matching of the function values is continuity of \(u\), and matching of the one-sided derivatives is the existence of the limits of \(u'\).
The function \(f_0\) is the continuous extension of \(f\big|_{[u(a),u(b)]}\) that is constant off that interval (or, if the range of \(u\) on \([a,b]\) is not contained in \([u(a),u(b)]\), keep \(f\) itself on an open interval containing the compact range of \(u\); the printed formula is written for the typical case \(u(a)<u(b)\) with values in between). Theorem 5.13 on \(J\) yields \[ \int_a^b f_0\bigl[u_0(x)\bigr]u_0'(x)\,dx=\int_{u_0(a)}^{u_0(b)} f_0(u)\,du. \] The left-hand side is \(\int_a^b f[u(x)]u'(x)\,dx\) and the right-hand side is \(\int_{u(a)}^{u(b)} f(u)\,du\).
Exercise §5.2.8
State conditions on \(u\), \(v\), and \(f\) making \[ \int_a^b f\bigl[u\{v(x)\}\bigr]\,u'[v(x)]\,v'(x)\,dx=\int_{u[v(a)]}^{u[v(b)]} f(u)\,du \] valid.
It is enough that the hypotheses of Theorem 5.13 hold for the inner substitution \(w=v(x)\) and then for the outer substitution \(u=u(w)\):
- \(v\) and \(v'\) continuous on an open interval containing \([a,b]\);
- \(u\) and \(u'\) continuous on an open interval containing the range of \(v\);
- \(f\) continuous on an open interval containing the range of \(u\circ v\).
Then \(x\mapsto u(v(x))\) has derivative \(u'(v(x))v'(x)\) by the chain rule, and two applications of (5.21) (or one application to the composite \(u\circ v\)) give the formula. Continuity of \(v'\) at the endpoints of \([a,b]\) may be relaxed exactly as in Problem 7, provided the one-sided limits exist.
Exercise §5.2.9
If \(f\) and \(g\) are integrable on \(I\), then \(f^2\), \(g^2\), and \(fg\) are integrable (cf. §5.1 Problem 14). Prove the Cauchy–Schwarz inequality \[ \Bigl(\int_a^b fg\Bigr)^2\le\Bigl(\int_a^b f^2\Bigr)\Bigl(\int_a^b g^2\Bigr). \] Hint: \(\alpha=\int f^2\), \(\beta=\int fg\), \(\gamma=\int g^2\), and \(\alpha z^2+2\beta z+\gamma\ge 0\) for all real \(z\).
If \(f\) is integrable then so is \(|f|\) (Problem 13, §5.1), and \(f^2=|f|\cdot|f|\) is integrable by Problem 14, §5.1. Likewise \(g^2\) and \((f+g)^2\) are integrable, hence so is \[ fg=\frac12\bigl((f+g)^2-f^2-g^2\bigr). \]
Set \(\alpha=\int_a^b f^2\), \(\beta=\int_a^b fg\), \(\gamma=\int_a^b g^2\). For every real \(z\), \[ \alpha z^2+2\beta z+\gamma=\int_a^b (zf+g)^2\,dx\ge 0, \] because the integrand is nonnegative (Problem 5, §5.1). A quadratic in \(z\) that never takes negative values has nonpositive discriminant: \(\beta^2-\alpha\gamma\le 0\).
Exercise §5.2.10
If \(\int_a^b f^3\) exists, does \(\int_a^b f\) exist?
Yes. Integrability of \(f^3\) includes boundedness of \(f^3\), hence of \(f\). Let \(\varphi(t)=t^{1/3}\) on an interval \([m,M]\) containing the range of \(f^3\); \(\varphi\) is continuous, therefore uniformly continuous. Write \(h=f^3\), so \(f=\varphi\circ h\).
Given \(\varepsilon>0\), let \(\omega\) be a modulus of uniform continuity for \(\varphi\) and choose \(\eta>0\) so that \(|s-t|<\eta\) implies \(|\varphi(s)-\varphi(t)|<\varepsilon/(2(b-a))\). Let \(K=\mathrm{osc}(\varphi;[m,M])<\infty\). Choose a subdivision with \(S^+(h)-S_-(h)<\eta\varepsilon/(2(1+K))\) after splitting, or more directly: classify subintervals into those with \(M_i(h)-m_i(h)<\eta\) and those with \(M_i(h)-m_i(h)\ge\eta\). On the first class, \(\mathrm{osc}(\varphi\circ h)<\varepsilon/(2(b-a))\). On the second class the total length is \(<(S^+(h)-S_-(h))/\eta\), which can be made \(<\varepsilon/(2(1+K))\). Then \(S^+(\varphi\circ h)-S_-(\varphi\circ h)<\varepsilon\). Theorem 5.5 gives integrability of \(f\).
§5.3 The logarithm and exponential functions
Printed p. 122; PDF p. 138.
Exercise §5.3.1
Prove the three properties of \(f:x\mapsto a^x\) in Theorem 5.16.
By definition \(a^x=\exp(x\log a)\) for \(a>0\).
(i) The exponential is positive, so \(a^x>0\). Continuity of \(\exp\) and of \(x\mapsto x\log a\) gives continuity on \(\mathbb{R}^1\).
(ii) If \(a\neq 1\) then \(\log a\neq 0\), so \(x\mapsto x\log a\) is a nonconstant linear map of \(\mathbb{R}^1\) onto \(\mathbb{R}^1\). The range of \(\exp\) is \((0,+\infty)\), hence so is the range of \(a^x\).
(iii) If \(a>1\) then \(\log a>0\), so \(x\mapsto x\log a\) is increasing and \(\exp\) is increasing, and the composite is increasing. If \(0<a<1\) then \(\log a<0\), so \(x\mapsto x\log a\) is decreasing and the composite is decreasing.
Exercise §5.3.2
Show that the laws of exponents hold for \(a^x\) (Theorem 5.17(i)).
Use \(a^x=\exp(x\log a)\) and the addition formula \(\exp(x+y)=\exp x\cdot\exp y\) (Theorem 5.15(iii)), together with \(\log(ab)=\log a+\log b\) (Theorem 5.14(i)).
\[\begin{align*} a^x\cdot a^y &=\exp(x\log a)\exp(y\log a)=\exp\bigl((x+y)\log a\bigr)=a^{x+y},\\ a^x/a^y &=\exp(x\log a-y\log a)=a^{x-y},\\ (a^x)^y &=\exp\bigl(y\log(a^x)\bigr)=\exp\bigl(y\cdot x\log a\bigr)=a^{xy}, \end{align*}\] where \(\log(a^x)=x\log a\) because \(\log\circ\exp=\mathrm{id}\) (Theorem 5.15(viii)). Likewise \[ (ab)^x=\exp\bigl(x\log(ab)\bigr)=\exp(x\log a+x\log b)=a^x b^x, \] and \((a/b)^x=a^x/b^x\) follows from \(\log(a/b)=\log a-\log b\).
Exercise §5.3.3
For \(f:x\mapsto a^x\), show \(f'(x)=a^x\log a\) (Theorem 5.17(ii)).
Differentiate \(a^x=\exp(x\log a)\) by the chain rule and Theorem 5.15(ii): \[ \frac{d}{dx}a^x=\exp(x\log a)\cdot\log a=a^x\log a. \]
Exercise §5.3.4
For \(f:x\mapsto x^n\) with \(n\) any real number, show \(f'(x)=n x^{n-1}\) (Theorem 5.18(iii)).
For \(x>0\) one has \(x^n=\exp(n\log x)\). The chain rule and \((\log)'=1/x\) give \[ \frac{d}{dx}x^n=\exp(n\log x)\cdot\frac{n}{x}=n x^n\cdot x^{-1}=n x^{n-1}. \] (If \(n\) is an integer the formula extends to \(x<0\) by the elementary product rule, and to \(x=0\) when \(n\ge 1\).)
Exercise §5.3.5
Show \(2<e<4\).
By definition \(e=\exp 1\), so \(\log e=1\). On \([1,2]\) one has \(1/2\le 1/t\le 1\), and the inequalities are strict except at an endpoint. Integrating, \[ \frac12=\int_1^2\frac12\,dt<\int_1^2\frac1t\,dt<\int_1^2 1\,dt=1, \] so \(1/2<\log 2<1\). The left-hand strict inequality and Theorem 5.14(iv) give \(\log 4=2\log 2>1=\log e\), hence \(e<4\) because \(\log\) is increasing. The right-hand strict inequality is \(\log 2<1=\log e\), hence \(2<e\).
Exercise §5.3.6
Prove \(\lim_{x\to 0^+}(1+x)^{1/x}=e\) (Theorem 5.18(iv)).
For \(x>0\), \[ (1+x)^{1/x}=\exp\Bigl(\frac1x\log(1+x)\Bigr)=\exp\Bigl(\frac{\log(1+x)-\log 1}{x}\Bigr). \] The difference quotient tends to \((\log)'(1)=1\) as \(x\to 0^+\). Continuity of \(\exp\) yields \[ \lim_{x\to 0^+}(1+x)^{1/x}=\exp 1=e. \]
Exercise §5.3.7
If \(x>-1\), show \(\log(1+x)\le x\).
Let \(\varphi(x)=x-\log(1+x)\) for \(x>-1\). Then \(\varphi(0)=0\) and \[ \varphi'(x)=1-\frac1{1+x}=\frac{x}{1+x}. \] Thus \(\varphi'\ge 0\) on \([0,+\infty)\) and \(\varphi'\le 0\) on \((-1,0]\), so \(x=0\) is a global minimum and \(\varphi(x)\ge 0\).
Alternatively: if \(x>0\) then \(\log(1+x)=\int_1^{1+x}t^{-1}\,dt\le\int_1^{1+x}1\,dt=x\); if \(-1<x<0\), set \(x=-h\) with \(0<h<1\), and \(\int_{1-h}^1 t^{-1}\,dt\ge\int_{1-h}^1 1\,dt=h\), which is \(\log(1-h)\le -h\).
Exercise §5.3.8
Prove \(e^x\ge 1+x\) for all \(x\).
Let \(\psi(x)=e^x-1-x\). Then \(\psi(0)=0\), \(\psi'(x)=e^x-1\), \(\psi'(0)=0\), and \(\psi''(x)=e^x>0\). Thus \(\psi'\) has the sign of \(x\), so \(\psi\) has a global minimum at \(0\) and \(\psi\ge 0\).
If \(x>-1\) one may also apply Problem 7 to \(u=e^x-1>-1\): \(\log(1+u)\le u\) becomes \(x\le e^x-1\). If \(x\le -1\) then \(1+x\le 0<e^x\).
Exercise §5.3.9
Show that \(F:x\mapsto\bigl[1+(1/x)\bigr]^x\) is increasing.
The natural domain is \(x>0\) (or \(x<-1\); the usual statement is for \(x>0\)). For \(x>0\), \[ \log F(x)=x\log\bigl(1+\tfrac1x\bigr). \] Differentiating, \[ \frac{F'(x)}{F(x)}=\log\bigl(1+\tfrac1x\bigr)+x\cdot\frac{1}{1+1/x}\cdot\bigl(-\tfrac1{x^2}\bigr)=\log\bigl(1+\tfrac1x\bigr)-\frac1{x+1}. \] Let \(h(x)=\log(1+1/x)-1/(x+1)\). Then \[ h'(x)=-\frac1{x(x+1)}+\frac1{(x+1)^2}=-\frac1{x(x+1)^2}<0, \] so \(h\) is strictly decreasing. Also \(h(x)\to 0\) as \(x\to+\infty\), because \(\log(1+1/x)\sim 1/x\) and \(1/(x+1)\sim 1/x\). A strictly decreasing function with limit \(0\) at \(+\infty\) is positive. Thus \((\log F)'>0\), so \(\log F\) and \(F\) are strictly increasing on \((0,+\infty)\).
Exercise §5.3.10
From \(\lim_{h\to 0}\bigl(\log(x+h)-\log x\bigr)/h=1/x\), deduce \(\lim_{h\to 0}(1+h)^{1/h}=e\).
Set \(x=1\): \[ \lim_{h\to 0}\frac{\log(1+h)}{h}=1, \] the limit being two-sided with \(h>-1\), \(h\neq 0\). Then \[ (1+h)^{1/h}=\exp\Bigl(\frac{\log(1+h)}{h}\Bigr)\to\exp 1=e, \] by continuity of \(\exp\). (This includes both one-sided limits, whereas Theorem 5.18(iv) records only \(x\to 0^+\).)
§5.4 Jordan content and area
Printed pp. 128–129; PDF pp. 144–145.
Exercise §5.4.1
Let \(R=\{(x,y):a\le x\le b,\ c\le y\le d\}\). Prove that \(R\) is closed (Lemma 5.4(i)).
Let \(P_n=(x_n,y_n)\in R\) with \(P_n\to P=(x,y)\). Then \(a\le x_n\le b\) and \(c\le y_n\le d\) for every \(n\). Closedness of \([a,b]\) and \([c,d]\) in \(\mathbb{R}^1\) yields \(a\le x\le b\) and \(c\le y\le d\), so \(P\in R\). Thus \(R\) contains all its limit points, i.e. \(R=\overline{R}\).
Exercise §5.4.2
Show that the interior of the rectangle \(R\) of Problem 1 is \(R^{(0)}=\{(x,y):a<x<b,\ c<y<d\}\) (Lemma 5.4(ii)).
The book already proves \(R^{(0)}\subset\{a<x<b,\ c<y<d\}\): an interior point admits a disk in \(R\), and that disk meets the horizontal and vertical lines through the point, forcing a positive distance to each side.
Conversely, if \(a<x_0<b\) and \(c<y_0<d\), set \[ \rho=\min\{x_0-a,\ b-x_0,\ y_0-c,\ d-y_0\}>0. \] The closed disk of radius \(\rho\) about \((x_0,y_0)\) is contained in \(R\), so \((x_0,y_0)\) is interior.
Exercise §5.4.3
For bounded sets \(S_1,S_2\), show \(A^+(S_1\cup S_2)\le A^+(S_1)+A^+(S_2)\).
A covering square of \(S_1\cup S_2\) meets \(S_1\) or \(S_2\), hence is a covering square of \(S_1\) or of \(S_2\). Therefore the number of covering squares of the union is at most the sum of the two numbers, and \[ A_n^+(S_1\cup S_2)\le A_n^+(S_1)+A_n^+(S_2). \] Let \(n\to\infty\) and use Theorem 5.19(d). (Finite subadditivity of \(A^+\) is the same argument with \(p\) sets; that is Theorem 5.20(b).)
Exercise §5.4.4
If \(S_1\) and \(S_2\) are figures with no common interior points, show \(A(S_1\cup S_2)=A(S_1)+A(S_2)\).
Theorem 5.20(c) gives \(A^-(S_1\cup S_2)\ge A^-(S_1)+A^-(S_2)\). Theorem 5.20(b) (or Problem 3) gives \(A^+(S_1\cup S_2)\le A^+(S_1)+A^+(S_2)\). Since each \(S_i\) is a figure, the right-hand sides are both \(A(S_1)+A(S_2)\). Combined with \(A^-\le A^+\), \[ A(S_1)+A(S_2)\le A^-(S_1\cup S_2)\le A^+(S_1\cup S_2)\le A(S_1)+A(S_2). \] Thus \(S_1\cup S_2\) is a figure and the area adds. This is Theorem 5.20(d) for \(p=2\).
Exercise §5.4.5
If \(S_1\) and \(S_2\) are figures, show \(A(S_1\cup S_2)+A(S_1\cap S_2)=A(S_1)+A(S_2)\).
Theorem 5.21 (proved in Problems 7–8 below, or taken from the text for the union) guarantees that \(S_1\cup S_2\), \(S_1\cap S_2\), and \(S_2-S_1\) are figures. The sets \(S_1\) and \(S_2-S_1\) have no common interior point, and their union is \(S_1\cup S_2\); Problem 4 gives \[ A(S_1\cup S_2)=A(S_1)+A(S_2-S_1). \] Likewise \(S_1\cap S_2\) and \(S_2-S_1\) have no common interior point and their union is \(S_2\), so \[ A(S_2)=A(S_1\cap S_2)+A(S_2-S_1). \] Eliminate \(A(S_2-S_1)\).
Exercise §5.4.6
Show that \(S\subset\mathbb{R}^2\) is a figure if and only if the area of the union of its \(n\)th-grid boundary squares tends to \(0\) as \(n\to\infty\) (Lemma 5.5(b)).
The inner squares and the covering squares of the \(n\)th grid differ exactly by the boundary squares, and those three families are defined from the same closed squares of area \(4^{-n}\). The area of the union of the boundary squares is therefore \[ A_n^+(S)-A_n^-(S). \] By Theorem 5.19, \(A_n^-\uparrow A^-\) and \(A_n^+\downarrow A^+\), so \(A_n^+-A_n^-\to A^+-A^-\). The limit is \(0\) if and only if \(A^-=A^+\), which is the definition of a figure.
Exercise §5.4.7
If \(S_1,\ldots,S_p\) are figures, show that \(S_1\cap\cdots\cap S_p\) is a figure.
By induction it is enough to treat \(p=2\). Let \(r\) be a boundary square of \(S_1\cap S_2\). Then \(r\) contains a point \(P\in S_1\cap S_2\) and a point \(Q\notin S_1\cap S_2\). If \(Q\notin S_1\) then \(r\) contains a point of \(S_1\) and a point not in \(S_1\), so \(r\) is a boundary square of \(S_1\) (Lemma 5.5(a)). If \(Q\in S_1\) then necessarily \(Q\notin S_2\), and \(r\) is a boundary square of \(S_2\). Thus every boundary square of the intersection is a boundary square of \(S_1\) or of \(S_2\). The area of their union is at most \[ \bigl(A_n^+(S_1)-A_n^-(S_1)\bigr)+\bigl(A_n^+(S_2)-A_n^-(S_2)\bigr)\to 0 \] because each \(S_i\) is a figure (Lemma 5.5(b)). Another application of Lemma 5.5(b) shows that the intersection is a figure.
For \(p>2\) write \(S_1\cap\cdots\cap S_p=(S_1\cap\cdots\cap S_{p-1})\cap S_p\).
Exercise §5.4.8
If \(S_1\) and \(S_2\) are figures, show that \(S_1-S_2\) is a figure.
Let \(r\) be a boundary square of \(S_1-S_2\), containing \(P\in S_1-S_2\) and \(Q\notin S_1-S_2\). Then \(P\in S_1\) and \(P\notin S_2\). The point \(Q\) either fails to lie in \(S_1\), in which case \(r\) is a boundary square of \(S_1\), or else \(Q\in S_1\) and therefore \(Q\in S_2\), in which case \(r\) contains a point of \(S_2\) and a point not in \(S_2\), so \(r\) is a boundary square of \(S_2\). The area of the boundary squares of \(S_1-S_2\) is therefore dominated by the sum of the two boundary-square areas, which tends to \(0\). Lemma 5.5(b) applies.
Exercise §5.4.9
Prove that the boundary of a figure \(S\subset\mathbb{R}^2\) has area zero.
Write \(\partial S=\overline{S}-S^{(0)}\). We claim \(\partial S\) is contained in the union \(B_n\) of the \(n\)th-grid boundary squares of \(S\).
If \(P\in\partial S\) and \(P\in S\), then \(P\) is not interior to \(S\), so \(P\) cannot lie in the interior of an inner square (an inner square lies in \(S\), and an interior point of that square would be interior to \(S\)). Thus any inner square containing \(P\) has \(P\) on its boundary, and an adjacent grid square containing \(P\) fails to be inner while still meeting \(S\), hence is a boundary square. If \(P\in\partial S\) and \(P\notin S\), then \(P\) is a limit point of \(S\), so every grid square containing \(P\) meets \(S\); such a square is covering but not inner, hence a boundary square.
Thus \(\partial S\subset B_n\) for every \(n\). Monotonicity (Theorem 5.20(a)) gives \(A^+(\partial S)\le A(B_n)=A_n^+(S)-A_n^-(S)\). The right-hand side tends to \(0\) by Lemma 5.5(b), so \(A^+(\partial S)=0\). Then \(A^-(\partial S)=0\) as well, and \(\partial S\) is a figure of area \(0\).
Exercise §5.4.10
If \(S\) is contained in a rectangle \(R\subset\mathbb{R}^2\), show \(A_-(S)=A(R)-A^+(R-S)\).
The notation \(A_-(S)\) is the inner area \(A^-(S)\). The rectangle \(R\) is a figure of area \((b-a)(d-c)\) (Theorem 5.20(e)).
Among the inner squares of \(R\) for the \(n\)th grid, those contained in \(S\) are precisely the inner squares of \(S\) (because \(S\subset R\)), and those not contained in \(S\) meet \(R-S\), hence are covering squares of \(R-S\) that lie entirely in \(R\). These two families are disjoint, so \[ A_n^-(R)=A_n^-(S)+\text{(area of covering squares of $R-S$ contained in $R$)}. \] The remaining covering squares of \(R-S\) meet the complement of \(R\) and also meet \(R-S\subset R\), hence meet \(\partial R\). They form a subset of the boundary squares of \(R\) together with the adjacent layer of squares just outside \(R\). The boundary of \(R\) has area \(0\) (Problem 9), and the outer layer has \(O(2^n)\) squares of area \(4^{-n}\), hence total area \(O(2^{-n})\to 0\). Therefore \[ A_n^+(R-S)-\bigl(A_n^-(R)-A_n^-(S)\bigr)\to 0. \] Passing to the limit, \(A^+(R-S)=A(R)-A^-(S)\), which is the claim.
Exercise §5.4.11
Let \(f\) be bounded on \([a,b]\) with \(c<f(x)\) for every \(x\). Set \(F_1=\{(x,y):a\le x\le b,\ c\le y<f(x)\}\) and \(F_2=\{(x,y):a\le x\le b,\ c\le y\le f(x)\}\). Prove \[ \underline{\int_a^b}(f-c)\le A^-(F_1)\le A^-(F_2),\qquad \overline{\int_a^b}(f-c)\ge A^+(F_2)\ge A^+(F_1). \]
Follow the hint. Let \(g=f-c>0\). Then \(F_1\subset F_2\), so \(A^-(F_1)\le A^-(F_2)\) and \(A^+(F_1)\le A^+(F_2)\) by Theorem 5.20(a).
Given \(\varepsilon>0\), choose a subdivision \(\Delta\) of \([a,b]\) with \(S_-(g,\Delta)>\underline{\int_a^b}g-\varepsilon\). Let \(m_i=\inf_{I_i}g\) and let \(r_i\) be the half-open rectangle \(\{(x,y):x\in I_i,\ c\le y<m_i+c\}\). Each \(r_i\) is a figure of area \(m_i\,l(I_i)\) (Theorem 5.20(e), up to a horizontal segment of area \(0\)), the \(r_i\) have disjoint interiors, and \(\bigcup r_i\subset F_1\subset F_2\). Superadditivity of inner area (Theorem 5.20(c)) gives \[ A^-(F_2)\ge A^-(F_1)\ge A\Bigl(\bigcup_i r_i\Bigr)=S_-(g,\Delta)>\underline{\int_a^b}g-\varepsilon. \] Let \(\varepsilon\to 0\).
For the outer area, choose \(\Delta\) with \(S^+(g,\Delta)<\overline{\int_a^b}g+\varepsilon\), and let \(R_i=\{(x,y):x\in I_i,\ c\le y\le M_i+c\}\) where \(M_i=\sup_{I_i}g\). Then \(F_1\subset F_2\subset\bigcup R_i\), and subadditivity of outer area yields \[ A^+(F_1)\le A^+(F_2)\le\sum A(R_i)=S^+(g,\Delta)<\overline{\int_a^b}g+\varepsilon. \] Let \(\varepsilon\to 0\).
Exercise §5.4.12
If \(f\) and \(g\) are integrable on \([a,b]\) and \(f\le g\), let \(S=\{(x,y):a\le x\le b,\ f(x)\le y\le g(x)\}\). Prove that \(S\) is a figure and \(A(S)=\int_a^b(g-f)\).
Both \(f\) and \(g\) are bounded; choose a constant \(c\) strictly below \(\inf f\). Apply Problem 11 to \(f\) and to \(g\). Integrability makes the lower and upper integrals of \(f-c\) (resp. \(g-c\)) coincide, so the inequalities of Problem 11 collapse: \[ A^-(F_1(f))=A^+(F_1(f))=A^-(F_2(f))=A^+(F_2(f))=\int_a^b(f-c), \] and likewise for \(g\), with value \(\int_a^b(g-c)\). In particular \(F_1(f)\) and \(F_2(g)\) are figures.
Now \(S=F_2(g)-F_1(f)\): a point with \(c\le y\le g(x)\) that fails \(c\le y<f(x)\) is precisely a point with \(f(x)\le y\le g(x)\). Problem 8 (or Theorem 5.21) shows that \(S\) is a figure. The sets \(F_1(f)\) and \(S\) have no common interior points (strict inequality \(y<f(x)\) versus \(y\ge f(x)\)), and their union differs from \(F_2(g)\) by at most the graph of \(f\), which is contained in a boundary of \(F_2(f)\) and therefore has area \(0\) (Problem 9). Problem 4 gives \[ A(S)=A\bigl(F_2(g)\bigr)-A\bigl(F_1(f)\bigr)=\int_a^b(g-c)-\int_a^b(f-c)=\int_a^b(g-f). \]