Skip to content

Multivariable function integration ​

Multiple integrals ​

A multiple integral is a generalization of the definite integral to functions of several variables. It allows us to compute the accumulated "quantity" (such as area, volume, or mass) over a region in multidimensional space.

Let

I=[a1,b1]×[a2,b2]×⋯×[an,bn]

be a hyperrectangular region in Rn, and let f:I→R be a bounded function such that f∈R(I), meaning f is integrable on I. The n-dimensional integral of f over I is written as:

∫a1b1∫a2b2⋯∫anbnf(x1,x2,…,xn)dxn⋯dx2dx1.

This integral represents the total accumulation of the values of f over I, and possesses the same properties as those observed in the single-variable case.

The computation of the integral of a function defined on an n-dimensional interval can be reduced to the successive calculation of integrals of real-valued functions.

Iterated integrals ​

Let I=[a,b]×[c,d] be a rectangular region in R2, and f:I→R. Assume that

  1. f∈R(I),
  2. ∀x∈[a,b], fx∈R([c,d]),
  3. ∀y∈[c,d], fy∈R([a,b]).

Then

∬If(x,y)dxdy=∫ab(∫cdf(x,y)dy)dx=∫cd(∫abf(x,y)dx)dy.

If the function f is continuous on the rectangle I, then f∈R(I), and section functions fx (x∈[a,b]) and fy (y∈[c,d]) are also continuous on [c,d] and [a,b], respectively, and consequently, integrable.

Then, the integral of a two-variable function over a rectangular region can be computed by first fixing one arbitrary variable and integrating the function with respect to the other variable, and then integrating the result with respect to the first variable. This is called an iterated integral.

Separable functions and double integrals ​

If the variables x and y in the integrand are separable in the form

f(x,y)=g(x)h(y),(a≤x≤b,c≤y≤d),

where g:[a,b]→R and h:[c,d]→R are continuous functions, then the conditions of Fubini's theorem are satisfied, and the double integral can be decomposed as:

∫ab∫cdf(x,y)dydx=∫abg(x)(∫cdh(y)dy)dx==(∫abg(x)dx)⋅(∫cdh(y)dy).

This decomposition simplifies the double integral into the product of two separate integrals.

Order of integration in iterated integrals ​

Iterated integration guarantees that the order of integration does not affect the final result:

∫ab∫cdf(x,y)dydx=∫cd∫abf(x,y)dxdy.

However, the difficulty of computation may vary depending on the order of integration.

Example 1 (iterated double) ​

Integrate the function

f(x,y)=xy2+3x2y

over the rectangle whose vertices are

A(1,−1), B(4,−1), C(4,2), D(1,2).

Solution ​

Interval (rectangle) can be also written as

I=[1,4]×[−1,2].

The integrand is continuous on I, so f∈R(I).

We can decide to integrate with respect to any variable first. Let's fix x and integrate with respect to y first:

∬If(x,y)dxdy=∫14(∫−12(xy2+3x2y)dy)dx==∫14([13xy3+32x2y2]−12)dx==∫14(83x+122x2+13x−32x2)dx==∫14(3x+92x2)dx==[32x2+96x3]14==(3⋅8+3⋅32)−(32+96)==24+96−32−32=120−3=117.

Example 2 (iterated double) ​

Evaluate the double integral

∬Ix3ydxdy

where I:=[0,1]×[0,2].

Solution ​

The integrand is continuous on I, so f∈R(I).

Variables x and y are separable in the integrand, so we can decompose the double integral:

∬Ix3ydxdy=(∫01x3dx)⋅(∫02ydy)==[14x4]01⋅[23y3/2]02==14⋅14⋅23⋅23/2==4212=23.

Example 3 (iterated double) ​

Evaluate the double integral

∬Ixsin⁡(xy)dxdy

where I:=[1,3]×[0,π2].

Solution ​

The integrand is continuous on I, so f∈R(I).

Fixing x and integrating with respect to y first:

∬Ixsin⁡(xy)dxdy=∫13(∫0π2xsin⁡(xy)dy)dx==∫13([−cos⁡(xy)]0π2)dx==∫13(−cos⁡(π2x)+cos⁡(0))dx==∫13(−cos⁡(π2x)+1)dx==[−2πsin⁡(π2x)+x]13==−2πsin⁡(3π2)+3−(−2πsin⁡(π2)+1)==2π+3+2π−1=4π+2.

Example 4 (iterated triple) ​

Integrate the function

f(x,y)=xy+xz

over the cuboid I=[0,2]×[1,2]×[1,3].

Solution ​

The integrand is continuous on I, so f∈R(I).

∭If(x,y,z)dxdydz=∫13(∫12(∫02(xy+xz)dx)dy)dz==∫13(∫12(∫02x(y+z)dx)dy)dz==∫13(∫02xdx⋅∫12(y+z)dy)dz==∫13([12x2]02⋅[12y2+zy]12)dz==∫132⋅(42+2z−12−z)dz==2∫13(32+z)dz==2[32z+12z2]13==2(92+92−32−12)=2⋅7=14.

Example 5 ​