math upper homework-Real analysis due 9 hours later
MATH 105A - Fall 2018 - François Monard - UC Santa Cruz 104
6 Integration
Lecture 25 - 12/3 - The Riemann integral.
The theory of Riemann integration.
Definition 21 (Subdivision). Given a,b ∈ R with a < b, a subdivision (or partition) of [a,b] is a finite collection of numbers σ = (x0,x1, . . . ,xn) such that a = x0 < x1 < · · · < xn = b. We denote S([a,b]) the set of all subdivisions of [a,b].
A subdivision σ = (x0, . . . ,xn) partitions the interval [a,b] into n sub-intervals
[x0,x1], [x1,x2], . . . , [xn−1,xn].
Let a function f : [a,b] → R bounded on [a,b] and σ = (x0,x1, . . . ,xn) a partition of [a,b]. For each k, let Mk = sup{f(x),x ∈ [xk,xk+1]} and mk = inf{f(x),x ∈ [xk,xk+1]}. Moreover, let us call M and m the supremum and infimum of f over [a,b]. Associated with a partition σ, we then define the lower Riemann sum
S−(f,σ) = m0(x1 −x0) + m1(x2 −x1) + · · · + mn−1(xn −xn−1) = n−1∑ k=0
mk(xk+1 −xk),
as well as the upper Riemann sum
S+(f,σ) = M0(x1 −x0) + M1(x2 −x1) + · · · + Mn−1(xn −xn−1) = n−1∑ k=0
Mk(xk+1 −xk).
If we use our intuition that if f, nonnegative to fix ideas, is integrable, its integral represents “the area A under the graph y = f(x)”, then the lower sum S−(f,σ) is the cumulated area of n rectangles covering an area included under that graph, whereas the upper sum S+(f,σ) is the cumulated area of a collection of rectangles whose total surface covers A completely. See Fig. 15.
Figure 15: For σ = (−1,−.5, 0., 0.5, 1, 1.5, 2, 2.5, 3) and f(x) = sin x + 2, S−(f,σ) is the cumulated area of all green rectangles and S+(f,σ) is the cumulated area of all red rectangles.
Now let us define the sets of upper sums and lower sums
U := {S+(f,σ), σ ∈ S}, L := {S−(f,σ), σ ∈ S}.
MATH 105A - Fall 2018 - François Monard - UC Santa Cruz 105
Note that the set of lower sums is bounded above by M(b−a). Indeed, given σ = (x0, . . . ,xn) a subdivision, for any 0 ≤ k ≤ n− 1, mk ≤ M, so we get that
S−(f,σ) = n−1∑ k=0
mk(xk+1 −xk) ≤ M n−1∑ k=0
(xk+1 −xk) = M(b−a).
Similarly, the set of upper sums U if bounded below by m(b − a). As a result, the following quantities exist
I−(f) := sup{S−(f,σ), σ ∈ S([a,b])} and I+(f) := inf{S+(f,σ), σ ∈ S([a,b])}. (21)
The next lemma indicates that any upper sum is always greater than any lower sum, so that in particular, we always have I−(f) ≤ I+(f).
Lemma 91. For any partitions σ,σ′ ∈ S([a,b]), S−(f,σ) ≤ S+(f,σ′).
Proof. If σ = σ′, the claim follows immediately from the fact that mk ≤ Mk on each interval of σ. If σ∪σ′′, consider the partition σ′′ = σ∪σ′, obtained after picking all points in both partitions,
throwing out duplicates and arranging the remaining points in increasing order. The claim is that
S−(f,σ) ≤ S−(f,σ′′) ≤ S+(f,σ′′) ≤ S+(f,σ′).
The middle inequality comes from the previous case, and the other two need justification that, when σ1 ⊂ σ2 then S−(f,σ1) ≤ S−(f,σ2) and S+(f,σ1) ≥ S+(f,σ2) (i.e., upper sums decrease and lower sums increase when one refines a subdivision). We will prove the left inequality, mainly considering what happens when one adds one point to a subdivision: namely, given two points x and y such that a ≤ x < y ≤ b and a third point z ∈ (x,y), we have
S−(f, (x,z,y)) = (z −x) min [x,z]
f + (y −z) min [z,y]
f
≥ (z −x) min [x,y]
f + (y −z) min [x,y]
f = (y −x) min [x,y]
f = S−(f, (x,y)).
In general, one may go from σ to σ′′ by adding one point at a time, and the lower sums will increase at each step.
Definition 22 (Riemann-integrability). A function f : [a,b] → R bounded on [a,b] is (Riemann-) integrable on [a,b] iff I−(f) = I+(f). When this is the case, we denote
∫ b a f(t) dt := I−(f) =
I+(f).
Example 58. 1. A piecewise constant function is integrable. For example, let us show that the function
f(x) =
{ 1 if x ∈ [0, 1
2 ],
2 if x ∈ ( 1 2 , 1],
is integrable with integral 3 2 . Considering the subdvision σ = (0, 1
2 , 1) = (x0,x1,x2), we have
that m1 = M1 = 1, m2 = 1 while M2 = 2. Therefore S −(f,σ) = 1 and S+(f,σ) = 3
2 . This
implies that 1 ≤ I−(f) ≤ I+(f) ≤ 3 2 . We now show that in fact, for every ε > 0, there exists
a subdivision σε such that 3 2 − ε = S−(f,σε), This will imply that I−(f) ≥ 32 − ε for every
ε > 0, implying that I−(f) ≥ 3 2
so that, with the previous estimate, 3 2 ≤ I−(f) ≤ I+(f) ≤ 3
2 ,
MATH 105A - Fall 2018 - François Monard - UC Santa Cruz 106
i.e. I−(f) = I+(f) = 3 2 . Let 1 >> ε > 0 and consider the subdivision σε = (0,
1 2 , 1 2
+ ε, 1) = (x0,x1,x2,x3), then we have m1 = 1,m2 = 1,m3 = 2. Therefore,
S−(σε,f) = m1(x1 −x0) + m2(x2 −x1) + m3(x3 −x2)
= 1
( 1
2 − 0 )
+ 1
( 1
2 + ε−
1
2
) + 2
( 1 −
1
2 + ε
) =
3
2 −ε.
Hence the function defined above is integrable with integral 3 2 .
2. 1Q is not integrable on [0, 1]. Indeed, for any subdivision σ of [0, 1] and for any subinterval [xk−1,xk] of this subdivision, the sup and inf of f are 1 and 0 respectively (this is because Q and R − Q are dense in [0, 1]), so that S−(f,σ) = 0 and S+(f,σ) = 1 for all σ ∈ S([a,b]). Therefore, I−(f) = 0 6= 1 = I+(f), and f is not integrable on [0, 1].
Monotone functions and continuous functions are integrable on compact intervals. First a characterizing lemma:
Lemma 92 (Characterization of integrability). If for every ε > 0, there exists a subdivision σ ∈ S such that S(f,σ) −s(f,σ) < ε, then f is integrable on [a,b].
(In fact, the converse is also true)
Proof. We will prove that I+(f) ≤ I−(f) +ε for every ε > 0, implying as ε → 0 that I+(f) ≤ I−(f) (since I−(f) ≤ I+(f), this implies I−(f) = I+(f)). Let ε > 0, by assumption there exists a subdivision σ such that S+(f,σ) < S−(f,σ) + ε but since S+(f,σ) ≥ I+(f) and S−(f,σ) ≤ I−(f) by definition, this implies that I+(f) ≤− (f) + ε. Hence the proof.
Theorem 93. Let f : [a,b] → R. (i) If f is monotone on [a,b], then f is integrable on [a,b]. (ii) If f is continuous on [a,b], then f is integrable on [a,b].
Proof. In either case, we will use the characterization above, i.e. that if f is either monotone, or continuous, then
∀ε > 0, ∃ σ ∈ S([a,b]), S+(f,σ) −S−(f,σ) < ε. (22)
Proof of (i). Without loss of generality, assume f increasing. Fix n ∈ N and choose the equipartition σ = (x0,x1, · · · ,xn) with xk = a + kb−an . On each interval [xk,xk+1], since f is increasing, we have that mk = f(xk) and Mk = f(xk+1). We then compute
S+(f,σ) −S−(f,σ) = n−1∑ k=0
(Mk −mk)(xk+1 −xk) = n−1∑ k=0
(f(xk+1 −f(xk)) b−a n
= b−a n
(f(b) −f(a)).
Choosing n large enough so that the right-hand side is less than �, we can fulfill the property (22). In particular, f is integrable.
Proof of (ii). Since f is continuous on the compact interval [a,b], it is uniformly continuous there. Let ε > 0, by uniform continuity, there is δ > 0 such that for every x,y ∈ [a,b] satisfying
MATH 105A - Fall 2018 - François Monard - UC Santa Cruz 107
|x−y| < δ, |f(x)−f(y)| < ε b−a. Let σ = (x0, . . . ,xn) any subdivision such that for every 1 ≤ k ≤ n,
|xk −xk−1| < δ. For every 1 ≤ k ≤ n, f achieves its extrema Mk,mk at two points x′k and x ′′ k, say.
Since both points belong to [xk,xk+1], then |x′k −x ′′ k| < δ, so Mk −mk = |f(x
′ k) − f(x
′′ k)| <
ε b−a.
Summing this inequality for all k, we obtain
S+(f,σ) −S−(f,σ) = n−1∑ k=0
(Mk −mk)(xk+1 −xk)
≤ ε
b−a
n−1∑ k=0
(xk+1 −xk) = ε
b−a (b−a) = ε,
hence the claim (22) is proved.
Remark 8. More generally, functions which are continuous outside of finitely (or even, countably) many jump discontinuities are integrable.
Remark 9. The method of Riemann integration is reminiscent of what people used to call the computation of integrable “by quadrature” (approximation with quadrangles). Historically, some beautiful tricks were developped to compute integrals of certain functions using smart choices of subdivision. Nowadays, a typical approach is to link integration and differentiation together via the Fundamental Theorem of Calculus (see next lecture), and use what we know about derivatives to compute some integrals.
Exercises for Lecture 25:
1. Let f : [0, 1] → R given by f(x) = 1 for x 6= 1/2 and f(1/2) = 0. Prove that f is Riemann- integrable and that
∫ 1 0 f(x) dx = 1.
2. In the proof of Lemma 91, show that for x < z < y, we have
S+(f, (x,z,y)) ≤ S+(f, (x,y)).
3. (computation of ∫B 0 x2 dx by hand) Let f(x) = x2.
(a) Show by induction that ∑n
k=1 k 2 = n
3
3 + n
2
2 + n
6 for all n ≥ 1.
(b) Using an equipartition of [0,B] with n+1 points (call it σn), compute S ±(f,σn) explicitly
as functions of n.
(c) Send n to infinity and use squeezing to deduce the value of ∫B 0 x2 dx.