13.4. INTEGRALS OF DERIVATIVES 315

The fact that derivatives are generalized Riemann integrable depends on the followingsimple lemma called the straddle lemma by McLeod [22].

Lemma 13.4.2 Suppose f : [a,b]→ R is differentiable. Then there exist δ (x)> 0 suchthat if u≤ x≤ v and u,v ∈ (x−δ (x) ,x+δ (x)), then∣∣ f (v)− f (u)− f ′ (x)(v−u)

∣∣< ε |v−u| .

Proof: Consider the following picture.u x v

From the definition of the derivative, there exists δ (x)> 0 such that if |v− x|, |x−u|<δ (x), then ∣∣ f (u)− f (x)− f ′ (x)(u− x)

∣∣< ε

2|u− x|

and ∣∣ f ′ (x)(v− x)− f (v)+ f (x)∣∣< ε

2|v− x|

Now add these and use the triangle inequality along with the above picture to write∣∣ f ′ (x)(v−u)− ( f (v)− f (u))∣∣< ε |v−u| .

The next proposition says 13.15 makes sense for the generalized Riemann integral.

Proposition 13.4.3 Suppose f : [a,b]→ R is differentiable. Then f ′ ∈ R∗ [a,b] and

f (b)− f (a) =∫ b

af ′dx

where the integrator function is F (x) = x.

Proof: Let ε > 0 be given and let δ (x) be such that the conclusion of the above lemmaholds for ε replaced with ε/(b−a). Then let P = {(Ii, ti)}n

i=1 be δ fine. Then using thetriangle inequality and the result of the above lemma with ∆xi = xi− xi−1,∣∣∣∣∣ f (b)− f (a)−

n

∑i=1

f ′ (ti)∆xi

∣∣∣∣∣ =

∣∣∣∣∣ n

∑i=1

f (xi)− f (xi−1)− f ′ (ti)∆xi

∣∣∣∣∣≤

n

∑i=1

ε/(b−a)∆xi = ε.

With this proposition there is a very simple statement of the integration by parts for-mula, the product rule gives a very simple version of integration by parts.

Corollary 13.4.4 Suppose f ,g are differentiable on [a,b]. Then f ′g ∈ R∗ [a,b] if andonly if g′ f ∈ R∗ [a,b] and in this case,

f g|ba−∫ b

af g′dx =

∫ b

af ′gdx

13.4. INTEGRALS OF DERIVATIVES 315The fact that derivatives are generalized Riemann integrable depends on the followingsimple lemma called the straddle lemma by McLeod [22].Lemma 13.4.2 Suppose f : [a,b] — R is differentiable. Then there exist 6 (x) > 0 suchthat ifu <x <vand u,v € (x— 6 (x),x+6(x)), thenf(y) — FW) —f' 0) (v—u)| <ely—ul.Proof: Consider the following picture.| | |From the definition of the derivative, there exists 6 (x) > 0 such that if |v — x], |Jx—u| <6 (x), thenLF (u) = F(x) =f) (wa) < 5 uaandEIf) (v2) — FY) + F@)| <5 v4Now add these and use the triangle inequality along with the above picture to writef(x) (v—u)—(f(%)-f(u))| <elv—ul. TlThe next proposition says 13.15 makes sense for the generalized Riemann integral.Proposition 13.4.3 Suppose f : [a,b] > R is differentiable. Then f' € R* |a,b] andbf(b)—Fla)= [faxJawhere the integrator function is F (x) =x.Proof: Let € > 0 be given and let 6 (x) be such that the conclusion of the above lemmaholds for € replaced with €/(b—a). Then let P = {(Jj,t;)}/_, be 6 fine. Then using thetriangle inequality and the result of the above lemma with Ax; = x; — xj_-1,Ys) Foi) F(a)¥ €/(b—a) Ax; =e. 5i=1f(b)—f(a)- Ys (1:) AxIAWith this proposition there is a very simple statement of the integration by parts for-mula, the product rule gives a very simple version of integration by parts.Corollary 13.4.4 Suppose f,g are differentiable on |a,b|. Then f'g € R* [a,b] if andonly if g' f € R* [a,b] and in this case,b bfele— | felax= [i fax