# Order of integration (calculus)

For the summary statistic in time series, see Order of integration.

In calculus, interchange of the order of integration is a methodology that transforms iterated integrals (or multiple integrals through the use of Fubini's theorem) of functions into other, hopefully simpler, integrals by changing the order in which the integrations are performed. In some cases, the order of integration can be validly interchanged; in others it cannot.

## Problem statement

The problem for examination is evaluation of an integral of the form where D is some two-dimensional area in the xy–plane. For some functions f straightforward integration is feasible, but where that is not true, the integral can sometimes be reduced to simpler form by changing the order of integration. The difficulty with this interchange is determining the change in description of the domain D.

The method also is applicable to other multiple integrals.

Sometimes, even though a full evaluation is difficult, or perhaps requires a numerical integration, a double integral can be reduced to a single integration, as illustrated next. Reduction to a single integration makes a numerical evaluation much easier and more efficient.

## Relation to integration by parts Figure 1: Integration over the triangular area can be done using vertical or horizontal strips as the first step. This is an overhead view, looking down the z-axis onto the x-y plane. The sloped line is the curve y = x.

Consider the iterated integral ,

which we will write using the prefix notation commonly seen in physics: .

In this expression, the second integral is calculated first with respect to y and x is held constant—a strip of width dx is integrated first over the y-direction (a strip of width dx in the x direction is integrated with respect to the y variable across the y direction), adding up an infinite amount of rectangles of width dy along the y-axis. This forms a three dimensional slice dx wide along the x-axis, from y=a to y=x along the y axis, and in the z direction z=f(x,y). Notice that if the thickness dx is infinitesimal, x varies only infinitesimally on the slice. We can assume that x is constant. This integration is as shown in the left panel of Figure 1, but is inconvenient especially when the function h ( y ) is not easily integrated. The integral can be reduced to a single integration by reversing the order of integration as shown in the right panel of the figure. To accomplish this interchange of variables, the strip of width dy is first integrated from the line x = y to the limit x = z, and then the result is integrated from y = a to y = z, resulting in: This result can be seen to be an example of the formula for integration by parts, as stated below: Substitute: Which gives the result.

## Principal-value integrals

For application to principal-value integrals, see Whittaker and Watson, Gakhov, Lu, or Zwillinger. See also the discussion of the Poincaré-Bertrand transformation in Obolashvili. An example where the order of integration cannot be exchanged is given by Kanwal: while: The second form is evaluated using a partial fraction expansion and an evaluation using the SokhotskiPlemelj formula: The notation indicates a Cauchy principal value. See Kanwal.

## Basic theorems

A good discussion of the basis for reversing the order of integration is found in the book Fourier Analysis by T.W. Körner. He introduces his discussion with an example where interchange of integration leads to two different answers because the conditions of Theorem II below are not satisfied. Here is the example:   Two basic theorems governing admissibility of the interchange are quoted below from Chaudhry and Zubair:

Theorem I  Let f(x, y) be a continuous function of constant sign defined for a ≤ x < ∞, c ≤ y < ∞, and let the integrals and regarded as functions of the corresponding parameter be, respectively, continuous for c ≤ y < ∞, a ≤ x < ∞. Then if at least one of the iterated integrals and converges, the other integral also converges and their values coincide.

Theorem II  Let f(x, y) be continuous for a ≤ x < ∞, c ≤ y < ∞, and let the integrals and be respectively, uniformly convergent on every finite interval c ≤ y < C and on every finite interval a ≤ x < A. Then if at least one of the iterated integrals and converges, the iterated integrals and also converge and their values are equal.

The most important theorem for the applications is quoted from Protter and Morrey:

Theorem  Suppose F is a region given by where p and q are continuous and p(x) ≤ q(x) for a ≤ x ≤ b. Suppose that f(x, y) is continuous on F. Then The corresponding result holds if the closed region F has the representation where r(y)  s(y) for c ≤ y ≤ d. In such a case, In other words, both iterated integrals, when computable, are equal to the double integral and therefore equal to each other.

## References and notes

1. Seán Dineen (2001). Multivariate Calculus and Geometry. Springer. p. 162. ISBN 1-85233-472-X.
2. Richard Courant & Fritz John (2000). Introduction to Calculus and Analysis: Vol. II/1, II/2. Classics in mathematics. Springer. p. 897. ISBN 3-540-66569-2.
3. Department of Mathematics, Oregon State University. "Double Integrals".
4. The prime notation "" denotes a derivative.
5. Edmund Taylor Whittaker & George Neville Watson (1927). A course of modern analysis : an introduction to the general theory of infinite processes and of analytic functions, with an account of the principal transcendental functions (4th ed., repr ed.). Cambridge University Press. p. §4.51, p. 75. ISBN 0-521-58807-3.
6. F. D. Gakhov (1990). Boundary Value Problems. Courier Dover Publications. p. 46. ISBN 0-486-66275-6.
7. Jian-Ke Lu (1993). Boundary Value Problems for Analytic Functions. Singapore: World Scientific. p. 44. ISBN 981-02-1020-5.
8. Daniel Zwillinger (1992). Handbook of integration. AK Peters Ltd. p. 61. ISBN 0-86720-293-9.
9. Elena Irodionovna Obolashvili (2003). Higher order partial differential equations in Clifford analysis: effective solutions to problems. Birkhäuser. p. 101. ISBN 0-8176-4286-2.
10. Ram P. Kanwal (1996). Linear Integral Equations: theory and technique (2nd ed.). Boston: Birkhäuser. p. 194. ISBN 0-8176-3940-3.
11. For a discussion of the Sokhotski-Plemelj formula see, for example, Joseph A. Cima, Alec L. Matheson & William T. Ross (2006). The Cauchy Transform. American Mathematical Society. p. 56. ISBN 0-8218-3871-7. or Rainer Kress (1999). Linear integral equations (2nd ed.). Springer. p. Theorem 7.6, p. 101. ISBN 0-387-98700-2.
12. Thomas William Körner (1988). Fourier Analysis. Cambridge University Press. p. Chapters 47 & 48. ISBN 0-521-38991-7.
13. M. Aslam Chaudhry & Syed M. Zubair (2001). On a Class of Incomplete Gamma Functions with Applications. CRC Press. p. Appendix C. ISBN 1-58488-143-7.
14. Murray H. Protter & Charles B. Morrey, Jr. (1985). Intermediate Calculus. Springer. p. 307. ISBN 0-387-96058-9.