182 CHAPTER 7. THE INTEGRAL

Now consider the claim about an integrable function being changed at finitely manypoints. Let f be the integrable function. Let the finitely many points be z1,z2, ...,zr listedin order. Also let f̂ be the modified function and let

M ≡ sup(max

(∣∣ f̂ (x)∣∣ , | f (x)|) ,x ∈ [a,b]),

m ≡ inf(min

(−∣∣ f̂ (x)∣∣ ,−| f (x)|

),x ∈ [a,b]

)Let P ≡ {x0,x1, ...,xn} be a partition which contains all the finitely many points and

suppose also that |xk − xk−1|< δ where 2(M−n)rδ < ε

2 and also

U ( f ,P)−L( f ,P)<ε

2Let the zi be xki . Then

U(

f̂ ,P)−L

(f̂ ,P)≤U ( f ,P)−L( f ,P)

+(M−m)r

∑i=1

(xki+1 − xki

)+(M−m)

r

∑i=1

(xki − xki−1

)<

ε

2+2(M−n)rδ < ε

Since ε is arbitrary, this shows there is no gap between the upper and lower integrals andso f̂ is also integrable.

Corollary 7.3.14 Every piecewise continuous function is integrable and if f is piece-wise continuous and f = fk on (zk−1,zk) where fk is continuous on [zi−1,zi] , then∫ b

af (x)dx =

r

∑k=1

∫ zk

zk−1

fk (x)dx

Proof: From what was just shown, f is integrable on each [zk−1,zk] because it equalsa continuous function except maybe at the end points. Also, from induction and Theorem7.3.12 f is integrable on [a,b] and

∫ ba f (x)dx = ∑

rk=1

∫ zkzk−1

f (x)dx = ∑rk=1

∫ zkzk−1

fk (x)dx.Now here is a one version of the fundamental theorem of calculus.

Theorem 7.3.15 Let f (x) = F ′ (x) for x ∈ (a,b) and F is continuous on [a,b]. Alsosuppose f is integrable. Then

∫ ba f (x)dx = F (b)−F (a).

Proof: There is a partition P such that U ( f ,P)−L( f ,P) < ε . Then letting xk denotethe points of P in the usual way, by the mean value theorem, there exists zk ∈ (xk−1,xk)such that

F (b)−F (a) =n

∑k=1

F (xk)−F (xk−1)

=n

∑k=1

f (zk)(xk − xk−1) ∈ [L( f ,P) ,U ( f ,P)]

an interval of length no more than ε . But also∫ b

a f (x)dx is in this same interval and so∣∣∣∣(F (b)−F (a))−∫ b

af (x)dx

∣∣∣∣< ε

Since ε is arbitrary, this shows∫ b

a f (x)dx = F (b)−F (a).At this point this integral is seen to be a generalization of the earlier integral defined

according to the fundamental theorem of calculus. Next consider functions of RiemannDarboux integrable functions.

182 CHAPTER 7. THE INTEGRALNow consider the claim about an integrable function being changed at finitely manypoints. Let f be the integrable function. Let the finitely many points be 21, Z2,...,z; listedin order. Also let f be the modified function and letM sup (max (| (x)|,|f(x)|) x € [a,5]),nm = inf (min (—|f (x)|,—|f ()|) .» € [a,8))Let P = {xo,x1,.--;Xn} be a partition which contains all the finitely many points andsuppose also that |x; —x,_1| < 6 where 2(M—n)ré < § and alsoU(f,P)-LUF.P) <5Let the z; be x;,. ThenU (f,P) -L(f,P) <U(f,P) -L(f,P)+(M—m) J" (x61 —¥4,) + (M =m) YP (xx; —XK—1) < 5 +2(M=n)ré <€i=1 i=1Since € is arbitrary, this shows there is no gap between the upper and lower integrals andso f is also integrable. fjCorollary 7.3.14 Every piecewise continuous function is integrable and if f is piece-wise continuous and f = fx on (Ze-1,2¢) where fy is continuous on |z;-1, zi], then[revar=¥ [* posesProof: From what was just shown, f is integrable on each [z,_1,z,| because it equalsa continuous function except maybe at the end points. Also, from induction and Theorem7.3.12 f is integrable on [a,b] and [? f (x)dx =Yt_, Jet f dx = Lie Jat, fe) ax. 0Now here is a one version of the fundamental theorem of calculus.Theorem 7.3.15 Let f (x) =F’ (x) forx € (a,b) and F is continuous on [a,b]. Alsosuppose f is integrable. Then f? f(x) dx = F (b) — F (a).Proof: There is a partition P such that U (f,P) —L(f,P) < €. Then letting x, denotethe points of P in the usual way, by the mean value theorem, there exists z, © (x4~1,xx)such thatMs:F (b) —F (a) = F (xz) —F (xx-1)>llmnTMs:S (Zk) (%% —Xe-1) € [L(F,P),U (F,P)]>IIunan interval of length no more than é€. But also [ P f (x) dx is in this same interval and so<_€E(Fo -F@)- [reyesSince € is arbitrary, this shows 2 f(x) dx=F(b)—F(a). llAt this point this integral is seen to be a generalization of the earlier integral definedaccording to the fundamental theorem of calculus. Next consider functions of RiemannDarboux integrable functions.