848 APPENDIX A. THE THEORY OF THE RIEMANNN INTEGRAL∗

Proof: Each of the combinations of functions described above is Riemannn integrableby Theorem A.3.1. For example, to see a f +bg ∈R (Rn) consider φ (y,z)≡ ay+bz. Thisis clearly a continuous function of (y,z) such that φ (0,0) = 0. To obtain | f | ∈R (Rn), letφ (y,z)≡ |y|. It remains to verify the formulas. To do so, let G be a grid with the propertythat for k = f ,g, | f | and a f +bg,

UG (k)−LG (k)< ε. (1.9)

Consider (1.7). For each Q ∈ G pick a point in Q, xQ. Then

∑Q∈G

k (xQ)v(Q) ∈ [LG (k) ,UG (k)]

and so ∣∣∣∣∣∫

k dx− ∑Q∈G

k (xQ)v(Q)

∣∣∣∣∣< ε.

Consequently, since∑

Q∈G(a f +bg)(xQ)v(Q)

= a ∑Q∈G

f (xQ)v(Q)+b ∑Q∈G

g(xQ)v(Q) ,

it follows ∣∣∣∣∫ (a f +bg) dx−a∫

f dx−b∫

gdx∣∣∣∣≤∣∣∣∣∣

∫(a f +bg) dx− ∑

Q∈G(a f +bg)(xQ)v(Q)

∣∣∣∣∣+∣∣∣∣∣ a ∑Q∈G

f (xQ)v(Q)−a∫

f dx

∣∣∣∣∣+∣∣∣∣∣b ∑

Q∈Gg(xQ)v(Q)−b

∫gdx

∣∣∣∣∣≤ ε + |a|ε + |b|ε.

Since ε is arbitrary, this establishes (1.7) and shows the integral is linear.It remains to establish the inequality (1.8). By (1.9), and the triangle inequality for

sums, ∫| f | dx+ ε ≥ ∑

Q∈G| f (xQ)|v(Q)

∣∣∣∣∣ ∑Q∈G f (xQ)v(Q)

∣∣∣∣∣≥∣∣∣∣∫ f dx

∣∣∣∣− ε.

Then since ε is arbitrary, this establishes the desired inequality. ■

848 APPENDIX A. THE THEORY OF THE RIEMANNN INTEGRAL*Proof: Each of the combinations of functions described above is Riemannn integrableby Theorem A.3.1. For example, to see af + bg € & (R") consider @ (y,z) = ay +bz. Thisis clearly a continuous function of (y,z) such that @ (0,0) = 0. To obtain |f| € Z(R"), let (y,z) = |y|. It remains to verify the formulas. To do so, let Y be a grid with the propertythat for k = f,g, |f| and af +bg,Uy (k) — Lg (k) <e€. (1.9)Consider (1.7). For each Q € ¥ pick a point in Q, ag. ThenYk (ae) v(Q) € [-Ly (k) ,% (k)]EGand so[kax- y* k(x) v(Q)OcG<E.Consequently, sinceY (af +g) (xe) v(Q)QcY=ay f(#e)v(Q)+b Y g(#e)v(Q),ACG QcGit follows<[orsve dx—a | fax—b | gax+OcGY| J (af +be) dx ¥ (af +be) (9) v(Q)aY f(wo)v(Q)—a [ faxOcG+ |b Y s(wo)v(Q)~b | gaxOcG<e+|ale+\|ble.Since € is arbitrary, this establishes (1.7) and shows the integral is linear.It remains to establish the inequality (1.8). By (1.9), and the triangle inequality forsums,[iflacte= ¥ ireo)lvQ)QcGY> | / fdxThen since € is arbitrary, this establishes the desired inequality. Hi= —€.yf (ag) v(Q)QAcg