Change of Variable or Substitution in Riemann and Lebesgue Integration

 

By Ng Tze Beng

Because of the fact that not all derived functions are Riemann integrable (see Example 2.2.2.7 on page 139 of Theorems and Counterexamples in Mathematics by B.R. Gelbaum and JMH Olmsted), in applying the change of variable formula to Riemann integration we need to be a little careful.

Suppose F is a function which is differentiable and g is also a differentiable function. Suppose also that F and g can be composed to give the composite F ) g. Then F ) g is differentiable and by the Chain rule for differentiation,

(F ) g)' (x) = F' (g(x)) g' (x) = f (g (x)) g' (x),

where F' (x) = f (x). Thus F ) g is an antiderivative of f (g(x)) g' (x) and F is an antiderivative of f and so we can write

ò f (g (x)) g' (x)dx = F (g(x)) + C.

This is a statement about antiderivative and not about Riemann integration. For instance, f (g (x)) g' (x) need not be Riemann integrable. Here is an example when this is the case.

Example 1. Let F :[0, 1] ® R be the function as given in Example 2.2.2.7 on page 139 of Theorems and Counterexamples in Mathematics by B.R. Gelbaum and JMH Olmsted. F is differentiable on [0, 1] but the derivative F' = f is not continuous on a Cantor set of positive measure in [0, 1] and so f is not Riemann integrable. Now define g:[-1,0] ® [0,1] by g(x) = x + 1 for x in [-1, 0]. Then g is differentiable on [-1,0] and g' (x) = 1 for x in [-1,0]. We also have that f (g (x)) is not Riemann integrable since it is discontinuous on a set of positive measure which is a translation of the Cantor set of positive measure in [0,1]. This set is of positive measure because Lebesgue measure is translation invariant. Therefore f (g (x)) g' (x) has an antiderivative even though it is not Riemann integrable. Therefore, the formula      does not hold since the integrands on both sides are not Riemann integrable.

Example 2. Even if f is continuous the formula may not hold because f (g (x)) g' (x) may not be Riemann integrable simply because g' (x) is not Riemann integrable. We may take f (x) = exp(x) the exponential function and g :[0, 1] ® R be the function as given in Example 2.2.2.7 on page 139 of Theorems and Counterexamples in Mathematics by B.R. Gelbaum and JMH Olmsted. That is g' (x) is discontinuous on a Cantor set C of positive measure in [0,1]. Then it is easy to see that f (g (x)) g' (x) is also discontinuous at every point x in C using the fact that f ) g is continuous and non zero and g' (x) = 0 on C. Once again the formula

does not hold simply because the left hand side does not exist.

Now suppose g:[a, b] ® [c, d] is a differentiable function and f : [c, d] ® R is a bounded function. A necessary condition for the change of variable formula

---------------------- (A)

to hold is that

1. f (g (x)) g' (x) is Riemann integrable on [a, b] and

2. f is Riemann integrable over a domain containing the range of g.

 

Theorem 1. If g: [a, b] ® [c, d] is a differentiable function and f : [c, d] ® R is Riemann integrable and has an antiderivative and if f (g (x)) g' (x) is Riemann integrable on [a, b], then formula (A) holds.

 

Proof. Let F be an antiderivative of f. Then F' = f . Also we have that F (g(x)) is an antiderivative of f (g (x)) g' (x) by the Chain rule. Then, since f (g (x)) g' (x) is Riemann integrable, by Darboux Theorem,

.

Since f is Riemann integrable with antiderivative F, again by Darboux Theorem,

Therefore, we have . This completes the proof.

Remark 1. 1. It is not necessary that the function g be differentiable at the end points a and b for the application of Darboux Theorem. We can replace the condition on g:[a, b] ® R by requiring that g be continuous on [a, b] and differentiable on the open interval (a, b). We then further require that the range of g be contained in the domain of f so that the composite function f Û g can be defined. Then the conclusion of Theorem 1 follows.

2. If the function f is continuous on its domain then f is Riemann integrable and has an antiderivative given by the Fundamental Theorem of Calculus. Thus we often replace the condition on f by continuity as in Theorem 2 below.

 

The following is the usual version of change of variable formula or substitution.

 

Theorem 2. If g: [a, b] ® [c, d] is a continuous function differentiable on the open interval (a, b) so that g' : (a, b) ® R is continuous and bounded and if f : [c, d] ® R is continuous, then formula (A) holds.

Proof. By assumption f ) g is continuous on [a, b] and so is bounded on (a, b). Since g' : (a, b) ® R is continuous and bounded, f (g (x)) g' (x) or ( f ) g) g' is continuous and bounded on (a, b). Therefore, ( f ) g) g' is bounded and continuous almost everywhere on [a, b] and so by Lebesgue Theorem ( f ) g) g' is Riemann integrable on [a, b]. Since f is continuous on [c, d], by the Fundamental theorem of Calculus , f has an antiderivative on [c, d], given by .. Therefore, by Theorem 1 and the remark following Theorem 1, formula (A) holds.

 

Now under what condition can we guarantee the Riemann integrability of ( f ) g) g' on [a, b]. Formula (A) requires that f be Riemann integrable on a domain containing the range of g. If we impose sufficient condition on g' we can deduce that ( f ) g) g' is Riemann integrable on [a, b]. It is not true in general that if f is Riemann integrable and g is continuous, then f ) g is Riemann integrable. For a counter example see Example 5 of Composition and Riemann Integrability.

 

Theorem 3. Suppose f : [c, d] ® R is Riemann integrable and g: [a, b] ® [c, d] is a continuously differentiable strictly increasing function mapping [a, b] onto [c, d]. Then ( f ) g) g' is Riemann integrable on [a, b] and formula (A) holds, that is,

.

 

Remark 2. In theorem 3 we do not require that f has an antiderivative. This includes simple step functions.

 

Proof of Theorem 3. Since f is Riemann integrable on [c, d], given any e > 0, there exists a partition W for [c, d],

W: c = l0 < l1< ... < ln = d

Theorem 4. Suppose f : [c, d] ® R is Riemann integrable and g: [a, b] ® [c, d] is a continuously differentiable strictly decreasing function mapping [a, b] onto [c, d]. Then ( f ) g) g' is Riemann integrable on [a, b] and

For each x in En, since (F ) g)'(x) ¹ 0, there exists arbitrary small interval [x, x+h] such that

          or

, ------------------------------ (13)

Vg[a, b] =

exists or equivalently there exists a constant K > 0 such that for any partition If g: [a, b] ® R is an absolutely continuous function, then the total variation function Vg : [a, b] ® R is defined by Vg(x) = 0 for x = a and Vg(x) = Vg[a, x], the total variation of the function g on [a, x] for x in (a, x]. This is well defined because for any partition a = x0 < x1 < ¼ < xn = x, so that

exists.

 Therefore,