If I is of the form [a,b] then by Proposition 11.6.1 f can be Riemann integrable. So we suppose I is of the form (a,b),(a,b],[a,b). Since f is bounded, ∃M>0,−M≤f(x)≤M,∀x∈I, choose 0<ε<(b−a)/2 to be a small number, then by Proposition 11.6.1, f is Riemann integrable on [a+ε,b−ε], in particular we can find a piecewise constant function h on [a+ε,b−ε] which majorizes f and ∫[a+ε,b−ε]h<∫[a+ε,b−ε]f+ε Define H(x)={h(x),M,x∈[a+ε,b−ε]x∈I\[a+ε,b−ε] Then H majorizes f on I and is piecewise constant, we have ∫If≤∫IH=∫[a+ε,b−ε]h+2Mε<∫[a+ε,b−ε]f+(2M+1)ε By the same logic we have ∫If>∫[a+ε,b−ε]f−(2M+1)ε Thus ∫If−∫If<(4M+2)ε This means f is Riemann integrable on I.
Exerise 11.6.2
Definition: Let I be a bounded interval, and let f:I→R. We say f is piecewise monotonic on I iff there exists a partition P such that f∣J is monotonic on J for all J∈P. If f is a bounded piecewise monotone function, then there exists a partition P such that f∣J is bounded and monotonic on J for all J∈P. By Corollary 11.6.3 f∣J is Riemann integrable on J for all J∈P. We define FJ(x)={f∣J(x),0,x∈Jx∈I\J By Theorem 11.4.1(g), FJ is Riemann integrable on I, and we further have f(x)=J∈P∑FJ(x) So by Theorem 11.4.1(a), f is Riemann integrable on I.
Exerise 11.6.3
We consider ∫[0,N]f, by Proposition 11.6.1, ∫[0,N]f exists for all N∈N. We let P={[n,n+1):n=0,1,…,N−1}∪{N} be a partition of [0,N], and define f(x)=f(n),x∈[n,n+1),f(N)=f(N), then f majorizes f, thus ∫[0,N]f≤∫[0,N]f=J∈P∑f(x)=n=0∑N−1f(n) Similarly if we define f(x)=f(n+1),x∈[n,n+1),f(N)=f(N), then f minorizes f, so ∫[0,N]f≥∫[0,N]f=J∈P∑f(x)=n=1∑Nf(n) Thus we have ∑n=1Nf(n)≤∫[0,N]f≤∑n=0N−1f(n). Thus if ∑n=0∞f(n) converges, we can see that ∑n=0∞f(n) is an upper bound for ∫[0,N]f,∀N>0, so supN>0∫[0,N]f≤∑n=0∞f(n). On the other hand, if supN>0∫[0,N]f is finite, and assume ∑n=0∞f(n) diverges, since f(n)≥0,∀n, we must have ∑n=0∞f(n)=+∞, thus there is N′ such that ∑n=0N′f(n)>sup(N>0)∫[0,N]f+f(0), this means ∑n=1N′f(n)>supN>0∫[0,N]f≥∫[0,N′]f≥∑n=1N′f(n), a contradiction.
Exerise 11.6.4
We can define f(x)={1,0,x∈[n+1/4,n+3/4],n∈Nx∈[0,+∞),x∈/[n+1/4,n+3/4],n∈N then ∑n=0∞f(n)=0, but ∫[0,N]f=N/2, thus supN>0∫[0,N]f is not finite. Conversely we can define f(x)={1,0,x=n,n∈Nx∈[0,+∞),x∈/n,n∈N Then ∑n=0∞f(n)=+∞, but ∫[0,N]f=0, thus supN>0∫[0,N]f is finite.
##Exerise 11.6.5 When p≤0, we have 1/np↛0, thus ∑n=1∞(1/np) diverges. When p>0, the function f(x)=1/xp is monotonic decreasing on [1,+∞), and f(x)≥0,∀x∈[1,+∞), thus the condition of Proposition 11.6.4 is satisfied. Consider ∫[1,N]f=∫[1,N]xp1 Use Exercise 10.4.3 and some integral calculation we can show that ∫[1,N]f=∫[1,N]xp1={1−p1(N1−p−1),lnN,p=1p=1 Thus if 0<p<1, we have N1−p→∞ as N→∞, so supN>0∫[0,N]f is not finite. if p=1, then lnN→∞ as N→∞, so supN>0∫[0,N]f is not finite. If p>1, then for any N we have ∫[1,N]f=1−p1(Np−11−1)=p−11(1−Np−11)<p−11 so supN>0∫[0,N]f is finite. Thus we can conclude ∑n=1∞(1/np) only converges when p>1.