850 APPENDIX A. THE THEORY OF THE RIEMANNN INTEGRAL∗

Theorem A.4.6 Let f be a bounded function which equals zero off a bounded set and letW denote the set of points where f fails to be continuous. Then f ∈ R (Rn) if W hascontent zero. That is, for all ε > 0 there exists a grid G such that

∑Q∈GW

v(Q)< ε (1.10)

whereGW ≡ {Q ∈ G : Q∩W ̸= /0} .

Proof: Let W have content zero. Also let | f (x)| < C/2 for all x ∈ Rn, let ε > 0 begiven, and let G be a grid which satisfies (1.10). Since f equals zero off some boundedset, there exists R such that f equals zero off of B

(0,R

2

). Thus W ⊆ B

(0,R

2

). Also note

that if G is a grid for which (1.10) holds, then this inequality continues to hold if G isreplaced with a refined grid. Therefore, you may assume the diameter of every box in Gwhich intersects B(0,R) is less than R

3 and so all boxes of G which intersect the set wheref is nonzero are contained in B(0,R). Since W is bounded, GW contains only finitely manyboxes. Letting

Q≡n

∏i=1

[ai,bi]

be one of these boxes, enlarge the box slightly as indicated in the following picture.

Q

The enlarged box is an open set of the form,

Q̃≡n

∏i=1

(ai−η i,bi +η i)

where η i is chosen small enough that if

n

∏i=1

( bi +η i− (ai−η i))≡ v(

Q̃),

and G̃W denotes those Q̃ for Q ∈ G which have nonempty intersection with W , then

∑Q̃∈G̃W

v(˜̃Q)< ε (1.11)

where ˜̃Q is the box,n

∏i=1

((ai−2η i) , bi +2η i) .

For each x ∈ Rn, let rx < min(η1/2, · · · ,ηn/2) be such that

ω f ,rx (x)< ε +ω f (x) . (1.12)

850 APPENDIX A. THE THEORY OF THE RIEMANNN INTEGRAL*Theorem A.4.6 Let f be a bounded function which equals zero off a bounded set and letW denote the set of points where f fails to be continuous. Then f © &(R") if W hascontent zero. That is, for all € > 0 there exists a grid Y such thaty v(Q)<e (1.10)Qc4AywhereGy ={0€9:0NW £0}.Proof: Let W have content zero. Also let | f (a)| < C/2 for all a € R", let € > 0 begiven, and let Y be a grid which satisfies (1.10). Since f equals zero off some boundedset, there exists R such that f equals zero off of B (0,8). Thus W CB (0,8). Also notethat if Y is a grid for which (1.10) holds, then this inequality continues to hold if Y isreplaced with a refined grid. Therefore, you may assume the diameter of every box in Ywhich intersects B (0, R) is less than R and so all boxes of Y which intersect the set wheref is nonzero are contained in B(0,R). Since W is bounded, Y%y contains only finitely manyboxes. LettingQ={[ [abili=Ibe one of these boxes, enlarge the box slightly as indicated in the following picture.QThe enlarged box is an open set of the form,~ nQ=[]|(a—n;,bi+n))i=lwhere 1; is chosen small enough that ifn[][(4+0;-(a-n)) =v(@).i=!and Gy denotes those a) for O € Y which have nonempty intersection with W, theny »v (2) <e€ (1.11)Oeywhere (a) is the box,n[| (a-2n;), bi +2n;).i=1For each « € R", let rz < min(17,/2,---,1,,/2) be such thatOf ry (@) << E+ @;7 (x). (1.12)