Computing the Double Integral in Rectangular Coordinates

The Basic Idea

The core of computing a double integral is to turn it into two successive definite integrals (an iterated integral). In rectangular coordinates the area element is dσ=dx dyd\sigma = dx\,dy, and you have to choose the order of integration that suits the shape of the region.

Type I Regions

Type I region

If the region of integration DD can be written as:

D:a≤x≤b,y1(x)≤y≤y2(x)D: \quad a \leq x \leq b, \quad y_1(x) \leq y \leq y_2(x)

where y1(x),y2(x)y_1(x), y_2(x) are continuous on [a,b][a,b], then DD is called a type I region. Its characteristic is that a line through the interior of the region parallel to the yy-axis meets the boundary of the region in at most two points.

The double integral over a type I region

∬Df(x,y) dx dy=∫abdx∫y1(x)y2(x)f(x,y) dy\iint_D f(x,y) \, dx\, dy = \int_a^b dx \int_{y_1(x)}^{y_2(x)} f(x,y) \, dy

The order of computation: first integrate with respect to yy (treating xx as a constant), then with respect to xx.

The Steps for Determining the Limits of a Type I Region

  1. Project the region DD onto the xx-axis to obtain the interval [a,b][a, b]
  2. Take any point xx in [a,b][a, b] and draw a line parallel to the yy-axis
  3. The line enters the region through the lower boundary y=y1(x)y = y_1(x) and leaves it through the upper boundary y=y2(x)y = y_2(x)
  4. The limits are therefore: x∈[a,b]x \in [a,b], y∈[y1(x),y2(x)]y \in [y_1(x), y_2(x)]

Type II Regions

Type II region

If the region of integration DD can be written as:

D:c≤y≤d,x1(y)≤x≤x2(y)D: \quad c \leq y \leq d, \quad x_1(y) \leq x \leq x_2(y)

where x1(y),x2(y)x_1(y), x_2(y) are continuous on [c,d][c,d], then DD is called a type II region. Its characteristic is that a line through the interior of the region parallel to the xx-axis meets the boundary of the region in at most two points.

The double integral over a type II region

∬Df(x,y) dx dy=∫cddy∫x1(y)x2(y)f(x,y) dx\iint_D f(x,y) \, dx\, dy = \int_c^d dy \int_{x_1(y)}^{x_2(y)} f(x,y) \, dx

The order of computation: first integrate with respect to xx (treating yy as a constant), then with respect to yy.

Rectangular Regions

A rectangular region is the simplest case; it is both type I and type II:

The integral over a rectangular region

D:a≤x≤b,c≤y≤dD: a \leq x \leq b, \quad c \leq y \leq d

∬Df(x,y) dx dy=∫ab∫cdf(x,y) dy dx=∫cd∫abf(x,y) dx dy\iint_D f(x,y) \, dx\, dy = \int_a^b \int_c^d f(x,y) \, dy \, dx = \int_c^d \int_a^b f(x,y) \, dx \, dy In particular, if f(x,y)=g(x)⋅h(y)f(x,y) = g(x) \cdot h(y), then ∬Dg(x)h(y) dx dy=(∫abg(x) dx)(∫cdh(y) dy)\iint_D g(x)h(y) \, dx\, dy = \left(\int_a^b g(x) \, dx\right) \left(\int_c^d h(y) \, dy\right)

Choosing the Order of Integration

The same region can usually be written both as type I and as type II, and which one to use depends on:

  1. the form of the integrand: which order makes it easier to find the antiderivative
  2. the shape of the region: which order avoids splitting the region
  3. the complexity of the computation: which order gives the simpler limits

Worked Examples

Example 1: A Type I Region

Compute ∬D(x+y) dx dy\iint_D (x + y) \, dx\, dy, where DD is bounded by y=x2y = x^2 and y=xy = x.

the double integralrectangular coordinatesa type I regiona parabola

Approach:

First determine the region of integration, then choose the type I region and integrate with respect to yy first and xx second.

Steps:

  1. The intersection points: x2=x⇒x=0x^2 = x \Rightarrow x = 0 or x=1x = 1, giving (0,0)(0,0) and (1,1)(1,1)
  2. On [0,1][0,1], x2≤xx^2 \leq x (the parabola lies below the straight line)
  3. The type I representation: D:0≤x≤1, x2≤y≤xD: 0 \leq x \leq 1, \, x^2 \leq y \leq x
  4. Computing: ∬D(x+y) dx dy=∫01dx∫x2x(x+y) dy\iint_D (x + y) \, dx\, dy = \int_0^1 dx \int_{x^2}^x (x+y) \, dy
  5. Integrating with respect to yy first: ∫x2x(x+y) dy=[xy+12y2]x2x=(x2+12x2)−(x3+12x4)=32x2−x3−12x4\int_{x^2}^x (x+y) \, dy = \left[xy + \frac{1}{2}y^2\right]_{x^2}^x = \left(x^2 + \frac{1}{2}x^2\right) - \left(x^3 + \frac{1}{2}x^4\right) = \frac{3}{2}x^2 - x^3 - \frac{1}{2}x^4
  6. Then integrating with respect to xx: ∫01(32x2−x3−12x4)dx=[12x3−14x4−110x5]01=12−14−110=320\int_0^1 \left(\frac{3}{2}x^2 - x^3 - \frac{1}{2}x^4\right) dx = \left[\frac{1}{2}x^3 - \frac{1}{4}x^4 - \frac{1}{10}x^5\right]_0^1 = \frac{1}{2} - \frac{1}{4} - \frac{1}{10} = \frac{3}{20}

Answer: 320\frac{3}{20}

Example 2: A Rectangular Region and Separated Variables

Compute ∬Dx2y dx dy\iint_D x^2 y \, dx\, dy, where D:0≤x≤1, 0≤y≤2D: 0 \leq x \leq 1, \, 0 \leq y \leq 2.

the double integralrectangular coordinatesa rectangular regionseparated variables

Approach:

The integrand can be separated into variables and the region is a rectangle, so the integral splits directly into a product of two definite integrals.

Steps:

  1. f(x,y)=x2⋅yf(x,y) = x^2 \cdot y can be separated into variables
  2. ∬Dx2y dx dy=(∫01x2 dx)(∫02y dy)\iint_D x^2 y \, dx\, dy = \left(\int_0^1 x^2 \, dx\right) \left(\int_0^2 y \, dy\right)
  3. ∫01x2 dx=[13x3]01=13\int_0^1 x^2 \, dx = \left[\frac{1}{3}x^3\right]_0^1 = \frac{1}{3}
  4. ∫02y dy=[12y2]02=2\int_0^2 y \, dy = \left[\frac{1}{2}y^2\right]_0^2 = 2
  5. The product: 13×2=23\frac{1}{3} \times 2 = \frac{2}{3}

Answer: 23\frac{2}{3}

Example 3: Choosing the Order of Integration Matters

Compute ∬Dsin⁡xx dx dy\iint_D \frac{\sin x}{x} \, dx\, dy, where DD is bounded by y=xy = x, y=0y = 0 and x=πx = \pi.

the double integralthe order of integrationa non-elementary functiona triangular region

Approach:

The function sin⁡xx\frac{\sin x}{x} has no elementary antiderivative, so you cannot integrate with respect to xx first; you must integrate with respect to yy first.

Steps:

  1. The region of integration: 0≤x≤π, 0≤y≤x0 \leq x \leq \pi, \, 0 \leq y \leq x (type I)
  2. Choosing to integrate with respect to yy first: ∬Dsin⁡xx dx dy=∫0πdx∫0xsin⁡xx dy\iint_D \frac{\sin x}{x} \, dx\, dy = \int_0^\pi dx \int_0^x \frac{\sin x}{x} \, dy
  3. Integrating with respect to yy (the expression sin⁡xx\frac{\sin x}{x} does not depend on yy): ∫0xsin⁡xx dy=sin⁡xx⋅[y]0x=sin⁡xx⋅x=sin⁡x\int_0^x \frac{\sin x}{x} \, dy = \frac{\sin x}{x} \cdot [y]_0^x = \frac{\sin x}{x} \cdot x = \sin x
  4. Then integrating with respect to xx: ∫0πsin⁡x dx=[−cos⁡x]0π=−cos⁡π+cos⁡0=1+1=2\int_0^\pi \sin x \, dx = [-\cos x]_0^\pi = -\cos\pi + \cos 0 = 1 + 1 = 2

Answer: 22


Exercises

Exercise 1

Compute ∬Dxy dx dy\iint_D xy \, dx\, dy, where DD is bounded by y=1y = 1, x=2x = 2 and y=xy = x.

the double integralrectangular coordinatesa triangular region

Approach:

Determine the range of the region, and then use either the type I or the type II representation.

Steps:

  1. The intersection points: (1,1)(1,1), (2,1)(2,1) and (2,2)(2,2)
  2. The type I representation: 1≤x≤2, 1≤y≤x1 \leq x \leq 2, \, 1 \leq y \leq x
  3. ∬Dxy dx dy=∫12dx∫1xxy dy=∫12x⋅[12y2]1xdx=∫12x(x22−12)dx\iint_D xy \, dx\, dy = \int_1^2 dx \int_1^x xy \, dy = \int_1^2 x \cdot \left[\frac{1}{2}y^2\right]_1^x dx = \int_1^2 x\left(\frac{x^2}{2} - \frac{1}{2}\right) dx
  4. =12∫12(x3−x)dx=12[x44−x22]12=12[(4−2)−(14−12)]=12(2+14)=98= \frac{1}{2}\int_1^2 (x^3 - x) dx = \frac{1}{2}\left[\frac{x^4}{4} - \frac{x^2}{2}\right]_1^2 = \frac{1}{2}\left[(4-2) - \left(\frac{1}{4}-\frac{1}{2}\right)\right] = \frac{1}{2}\left(2 + \frac{1}{4}\right) = \frac{9}{8}

Answer: 98\frac{9}{8}

Exercise 2

Compute ∬Dex+y dx dy\iint_D e^{x+y} \, dx\, dy, where D:0≤x≤1, 0≤y≤1D: 0 \leq x \leq 1, \, 0 \leq y \leq 1.

the double integrala rectangular regionseparated variablesthe exponential function

Approach:

A rectangular region with separated variables: split it directly.

Steps:

  1. ex+y=ex⋅eye^{x+y} = e^x \cdot e^y
  2. ∬Dex+y dx dy=(∫01exdx)(∫01eydy)=(e−1)2\iint_D e^{x+y} \, dx\, dy = \left(\int_0^1 e^x dx\right)\left(\int_0^1 e^y dy\right) = (e-1)^2

Answer: (e−1)2(e-1)^2


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
dx dydx\,dyArea elementCartesian area elementThe area element in rectangular coordinates
y1(x),y2(x)y_1(x), y_2(x)Boundary functionsboundary functionsThe lower and the upper boundary of a type I region
x1(y),x2(y)x_1(y), x_2(y)Boundary functionsboundary functionsThe left and the right boundary of a type II region

Key Terms

English termPronunciationNote
iterated integral/ˈɪtəreɪtɪd ˈɪntɪɡrəl/a sequence of definite integrals carried out one after the other
type I region/taɪp wʌn ˈriːdʒən/a region integrated with respect to yy first and then xx
type II region/taɪp tuː ˈriːdʒən/a region integrated with respect to xx first and then yy
limits of integration/ˈlɪmɪts əv ˌɪntɪˈɡreɪʃən/the lower and the upper limits of the integral
separation of variables/ˌsɛpəˈreɪʃən əv ˈvɛriəbəlz/the integrand can be written in the form g(x)h(y)g(x)h(y)

Found an issue with this content?

Tell us what could be improved.