Practice / Calculus

Double integrals: iterated integrals, switching the order and polar coordinates

Ten double integrals worked by hand: iterated integrals over a rectangle in both orders, a product that splits into two single integrals, a triangle and the region between y = x² and y = x, switching the order to integrate e^(y²) and sin(y)/y, polar coordinates over a disk and a quarter disk, the Gaussian integral √π, and a joint density with a probability, two expectations and a covariance, with worked solutions and the mistakes of swapping limits without redrawing the region, dropping the r in r dr dθ and squaring an integral with one variable.

Before you start

A double integral adds up f(x,y)f(x, y) over a region of the plane: a volume under a surface, a total mass, or, when ff is a joint density, a probability. It is computed as two single integrals, one inside the other, and nearly all the work is in the limits. The inner limits may depend on the outer variable, never the other way round; switching the order means redrawing the region and describing it again, not swapping symbols; and polar coordinates bring an extra factor rr with the area element. These ten problems go from rectangles to curved regions, switch the order to integrate functions with no elementary antiderivative, and end with the Gaussian integral and a joint density, the two places machine learning needs double integrals most.

  • ∬Rf dA\iint_R f\,dA is the integral of ff over the region RR; dAdA is the area of a small piece of RR. When f≥0f \ge 0 it is the volume under the surface z=f(x,y)z = f(x, y) above RR, and ∬R1 dA\iint_R 1\,dA is the area of RR.
  • Iterated integrals. If RR is a≤x≤ba \le x \le b, g1(x)≤y≤g2(x)g_1(x) \le y \le g_2(x), then ∬Rf dA=∫ab ⁣ ⁣∫g1(x)g2(x)f(x,y) dy dx\iint_R f\,dA = \displaystyle\int_a^b\!\!\int_{g_1(x)}^{g_2(x)} f(x, y)\,dy\,dx. Do the inner integral first, treating xx as a constant; its limits may depend on xx. The outer limits are numbers.
  • Fubini. On a rectangle a≤x≤ba \le x \le b, c≤y≤dc \le y \le d the order does not matter, and if f(x,y)=g(x)h(y)f(x, y) = g(x)h(y) the integral is (∫abg dx)(∫cdh dy)\Big(\displaystyle\int_a^b g\,dx\Big)\Big(\displaystyle\int_c^d h\,dy\Big).
  • Switching the order. Sketch the region and describe it the other way: c≤y≤dc \le y \le d, h1(y)≤x≤h2(y)h_1(y) \le x \le h_2(y). The new limits come from the picture, not from the old limits.
  • Polar coordinates. x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta, x2+y2=r2x^2 + y^2 = r^2, and dA=r dr dθdA = r\,dr\,d\theta: a small polar box has sides drdr and r dθr\,d\theta.
  • Joint densities. If f(x,y)≥0f(x, y) \ge 0 is the joint density of XX and YY, then ∬f dA=1\iint f\,dA = 1 over the whole plane, P((X,Y)∈R)=∬Rf dAP\big((X, Y) \in R\big) = \iint_R f\,dA, and E[g(X,Y)]=∬g f dAE[g(X, Y)] = \iint g\,f\,dA. Cov⁡(X,Y)=E[XY]−E[X]E[Y]\operatorname{Cov}(X, Y) = E[XY] - E[X]E[Y].

Builds on: Integration: substitution and parts, Parametric and polar curves: slopes, arc length and area

Problems

  1. ·

    Evaluate ∫02 ⁣ ⁣∫01(x+2y) dy dx\displaystyle\int_0^2\!\!\int_0^1 (x + 2y)\,dy\,dx, then in the other order.

  2. ·

    Evaluate ∬Rxy2 dA\displaystyle\iint_R xy^2\,dA over RR: 0≤x≤20 \le x \le 2, 1≤y≤31 \le y \le 3.

  3. ··

    Evaluate ∬T(x+y) dA\displaystyle\iint_T (x + y)\,dA, where TT is the triangle with vertices (0,0)(0, 0), (1,0)(1, 0) and (1,1)(1, 1).

  4. ··

    Let RR be the region between y=x2y = x^2 and y=xy = x. Find its area and ∬Rx dA\displaystyle\iint_R x\,dA, in both orders.

  5. ··

    Evaluate ∫01 ⁣ ⁣∫x1ey2 dy dx\displaystyle\int_0^1\!\!\int_x^1 e^{y^2}\,dy\,dx by switching the order of integration.

  6. ··

    Evaluate ∫0π ⁣ ⁣∫xπsin⁡yy dy dx\displaystyle\int_0^\pi\!\!\int_x^\pi \frac{\sin y}{y}\,dy\,dx.

  7. ··

    Evaluate ∬D(x2+y2) dA\displaystyle\iint_D (x^2 + y^2)\,dA over the disk x2+y2≤4x^2 + y^2 \le 4.

  8. ···

    Evaluate ∬Qxy dA\displaystyle\iint_Q xy\,dA, where QQ is the quarter disk x≥0x \ge 0, y≥0y \ge 0, x2+y2≤1x^2 + y^2 \le 1.

  9. ···

    Show that I=∫−∞∞e−x2 dx=πI = \displaystyle\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt\pi by computing I2I^2 as a double integral, and deduce the normalizing constant of the normal density with variance σ2\sigma^2.

  10. ···

    XX and YY have joint density f(x,y)=x+yf(x, y) = x + y on the unit square 0≤x,y≤10 \le x, y \le 1, and 00 elsewhere. Check that it is a density, then find P(X+Y≤1)P(X + Y \le 1), E[X]E[X], E[XY]E[XY] and Cov⁡(X,Y)\operatorname{Cov}(X, Y).

Worked solutions

Problem 1

Evaluate ∫02 ⁣ ⁣∫01(x+2y) dy dx\displaystyle\int_0^2\!\!\int_0^1 (x + 2y)\,dy\,dx, then in the other order.

  1. ∫01(x+2y) dy=[xy+y2]01=x+1\displaystyle\int_0^1 (x + 2y)\,dy = \Big[xy + y^2\Big]_0^1 = x + 1Inner integral in yy, with xx held constant.
  2. ∫02(x+1) dx=[x22+x]02=4\displaystyle\int_0^2 (x + 1)\,dx = \Big[\tfrac{x^2}{2} + x\Big]_0^2 = 4Outer integral in xx.
  3. Other order: ∫02(x+2y) dx=2+4y\displaystyle\int_0^2 (x + 2y)\,dx = 2 + 4y, and ∫01(2+4y) dy=2+2=4\displaystyle\int_0^1 (2 + 4y)\,dy = 2 + 2 = 4On a rectangle the limits just trade places.
  4. 44Both orders agree, as Fubini says. The rectangle has area 22, so the average of x+2yx + 2y over it is 22, its value at the center (1,12)(1, \tfrac12).

Problem 2

Evaluate ∬Rxy2 dA\displaystyle\iint_R xy^2\,dA over RR: 0≤x≤20 \le x \le 2, 1≤y≤31 \le y \le 3.

  1. ∬Rxy2 dA=(∫02x dx)(∫13y2 dy)\displaystyle\iint_R xy^2\,dA = \Big(\int_0^2 x\,dx\Big)\Big(\int_1^3 y^2\,dy\Big)A product of a function of xx and a function of yy over a rectangle splits.
  2. ∫02x dx=2\displaystyle\int_0^2 x\,dx = 2 and ∫13y2 dy=27−13=263\displaystyle\int_1^3 y^2\,dy = \frac{27 - 1}{3} = \frac{26}{3}Two single integrals.
  3. 523\dfrac{52}{3}Check by iterating: the inner ∫02xy2 dx=2y2\int_0^2 xy^2\,dx = 2y^2, and ∫132y2 dy=523\int_1^3 2y^2\,dy = \tfrac{52}{3}.

Problem 3

Evaluate ∬T(x+y) dA\displaystyle\iint_T (x + y)\,dA, where TT is the triangle with vertices (0,0)(0, 0), (1,0)(1, 0) and (1,1)(1, 1).

  1. TT: 0≤x≤10 \le x \le 1, 0≤y≤x0 \le y \le xThe triangle lies below the line y=xy = x and above the xx-axis. For each xx, yy runs from 00 up to xx.
  2. ∫0x(x+y) dy=x2+x22=3x22\displaystyle\int_0^x (x + y)\,dy = x^2 + \frac{x^2}{2} = \frac{3x^2}{2}The inner limit depends on xx, so the result is a function of xx.
  3. ∫013x22 dx=12\displaystyle\int_0^1 \frac{3x^2}{2}\,dx = \frac12Outer integral with number limits.
  4. 12\dfrac12Check in the other order: TT is also 0≤y≤10 \le y \le 1, y≤x≤1y \le x \le 1, and ∫01 ⁣∫y1(x+y) dx dy=∫01(12+y−32y2) dy=12+12−12=12\int_0^1\!\int_y^1 (x + y)\,dx\,dy = \int_0^1 \big(\tfrac12 + y - \tfrac32y^2\big)\,dy = \tfrac12 + \tfrac12 - \tfrac12 = \tfrac12.

Problem 4

Let RR be the region between y=x2y = x^2 and y=xy = x. Find its area and ∬Rx dA\displaystyle\iint_R x\,dA, in both orders.

  1. The curves meet where x2=xx^2 = x, at x=0x = 0 and x=1x = 1, and x≥x2x \ge x^2 between themSo RR: 0≤x≤10 \le x \le 1, x2≤y≤xx^2 \le y \le x.
  2. Area =∫01(x−x2) dx=16= \displaystyle\int_0^1 (x - x^2)\,dx = \frac16The inner integral of 11 is the height of the strip.
  3. ∫01 ⁣ ⁣∫x2xx dy dx=∫01(x2−x3) dx=13−14=112\displaystyle\int_0^1\!\!\int_{x^2}^{x} x\,dy\,dx = \int_0^1 (x^2 - x^3)\,dx = \frac13 - \frac14 = \frac1{12}xx is a constant in the inner integral, so it multiplies the height x−x2x - x^2.
  4. Other order: RR is 0≤y≤10 \le y \le 1, y≤x≤yy \le x \le \sqrt y, and ∫01 ⁣ ⁣∫yyx dx dy=∫01y−y22 dy=12(12−13)=112\displaystyle\int_0^1\!\!\int_y^{\sqrt y} x\,dx\,dy = \int_0^1 \frac{y - y^2}{2}\,dy = \frac12\Big(\frac12 - \frac13\Big) = \frac1{12}Solve the curves for xx: the line gives x=yx = y on the left and the parabola gives x=yx = \sqrt y on the right.
  5. Area 16\tfrac16; ∬Rx dA=112\displaystyle\iint_R x\,dA = \tfrac1{12}The average of xx over RR is 1/121/6=12\tfrac{1/12}{1/6} = \tfrac12: the centroid's xx-coordinate.

Problem 5

Evaluate ∫01 ⁣ ⁣∫x1ey2 dy dx\displaystyle\int_0^1\!\!\int_x^1 e^{y^2}\,dy\,dx by switching the order of integration.

  1. ey2e^{y^2} has no elementary antiderivative, so the inner integral cannot be done as writtenSwitching the order is the way out.
  2. The region: 0≤x≤10 \le x \le 1, x≤y≤1x \le y \le 1, a triangle with vertices (0,0)(0, 0), (0,1)(0, 1) and (1,1)(1, 1)For each xx, yy runs from the line y=xy = x up to 11.
  3. Described the other way: 0≤y≤10 \le y \le 1, 0≤x≤y0 \le x \le yFor each yy, xx runs from the yy-axis to the line x=yx = y.
  4. ∫01 ⁣ ⁣∫0yey2 dx dy=∫01y ey2 dy\displaystyle\int_0^1\!\!\int_0^y e^{y^2}\,dx\,dy = \int_0^1 y\,e^{y^2}\,dyThe inner integral of a constant in xx is that constant times the length yy, and the yy is exactly what makes a substitution work.
  5. e−12≈0.859\dfrac{e - 1}{2} \approx 0.859u=y2u = y^2, du=2y dydu = 2y\,dy: ∫01yey2 dy=12[eu]01\int_0^1 ye^{y^2}\,dy = \tfrac12\big[e^{u}\big]_0^1.

Problem 6

Evaluate ∫0π ⁣ ⁣∫xπsin⁡yy dy dx\displaystyle\int_0^\pi\!\!\int_x^\pi \frac{\sin y}{y}\,dy\,dx.

  1. The region: 0≤x≤π0 \le x \le \pi, x≤y≤πx \le y \le \pi, which is also 0≤y≤π0 \le y \le \pi, 0≤x≤y0 \le x \le yThe same triangle shape as Problem 5, scaled to π\pi.
  2. ∫0π ⁣ ⁣∫0ysin⁡yy dx dy=∫0πsin⁡yy⋅y dy\displaystyle\int_0^\pi\!\!\int_0^y \frac{\sin y}{y}\,dx\,dy = \int_0^\pi \frac{\sin y}{y}\cdot y\,dysin⁡yy\tfrac{\sin y}{y} has no elementary antiderivative either; the inner integral in xx supplies the factor yy that cancels the denominator.
  3. ∫0πsin⁡y dy=2\displaystyle\int_0^\pi \sin y\,dy = 2[−cos⁡y]0π=1+1[-\cos y]_0^\pi = 1 + 1.

Problem 7

Evaluate ∬D(x2+y2) dA\displaystyle\iint_D (x^2 + y^2)\,dA over the disk x2+y2≤4x^2 + y^2 \le 4.

  1. DD: 0≤r≤20 \le r \le 2, 0≤θ≤2π0 \le \theta \le 2\pi, and x2+y2=r2x^2 + y^2 = r^2A disk centered at the origin is a rectangle in rr and θ\theta.
  2. ∬D(x2+y2) dA=∫02π ⁣ ⁣∫02r2⋅r dr dθ\displaystyle\iint_D (x^2 + y^2)\,dA = \int_0^{2\pi}\!\!\int_0^2 r^2\cdot r\,dr\,d\thetadA=r dr dθdA = r\,dr\,d\theta.
  3. ∫02r3 dr=4\displaystyle\int_0^2 r^3\,dr = 4, and ∫02π4 dθ=8π\displaystyle\int_0^{2\pi} 4\,d\theta = 8\piThe integrand does not depend on θ\theta.
  4. 8π≈25.138\pi \approx 25.13In xx and yy this would need ∫−22 ⁣∫−4−x24−x2\int_{-2}^2\!\int_{-\sqrt{4 - x^2}}^{\sqrt{4 - x^2}}, with square roots in the limits.

Problem 8

Evaluate ∬Qxy dA\displaystyle\iint_Q xy\,dA, where QQ is the quarter disk x≥0x \ge 0, y≥0y \ge 0, x2+y2≤1x^2 + y^2 \le 1.

  1. QQ: 0≤r≤10 \le r \le 1, 0≤θ≤π20 \le \theta \le \tfrac\pi2The first quadrant is θ\theta from 00 to π2\tfrac\pi2.
  2. xy=r2cos⁡θsin⁡θxy = r^2\cos\theta\sin\theta, so the integral is ∫0π/2 ⁣ ⁣∫01r3cos⁡θsin⁡θ dr dθ\displaystyle\int_0^{\pi/2}\!\!\int_0^1 r^3\cos\theta\sin\theta\,dr\,d\thetaIncluding the rr from dAdA.
  3. (∫01r3 dr)(∫0π/2sin⁡θcos⁡θ dθ)=14⋅12\displaystyle\Big(\int_0^1 r^3\,dr\Big)\Big(\int_0^{\pi/2}\sin\theta\cos\theta\,d\theta\Big) = \frac14\cdot\frac12The integrand is a product and the limits are constants, so it splits; ∫0π/2sin⁡θcos⁡θ dθ=[12sin⁡2θ]0π/2=12\int_0^{\pi/2}\sin\theta\cos\theta\,d\theta = \big[\tfrac12\sin^2\theta\big]_0^{\pi/2} = \tfrac12.
  4. 18\dfrac18Check in xx and yy: ∫01x∫01−x2y dy dx=∫01x(1−x2)2 dx=12(12−14)=18\int_0^1 x\int_0^{\sqrt{1 - x^2}} y\,dy\,dx = \int_0^1 \tfrac{x(1 - x^2)}{2}\,dx = \tfrac12\big(\tfrac12 - \tfrac14\big) = \tfrac18.

Problem 9

Show that I=∫−∞∞e−x2 dx=πI = \displaystyle\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt\pi by computing I2I^2 as a double integral, and deduce the normalizing constant of the normal density with variance σ2\sigma^2.

  1. I2=∫−∞∞e−x2 dx∫−∞∞e−y2 dy=∬R2e−(x2+y2) dAI^2 = \displaystyle\int_{-\infty}^\infty e^{-x^2}\,dx\int_{-\infty}^\infty e^{-y^2}\,dy = \iint_{\mathbb{R}^2} e^{-(x^2 + y^2)}\,dAGive the second copy its own variable; a product of single integrals over the whole line is a double integral over the whole plane.
  2. ∬R2e−(x2+y2) dA=∫02π ⁣ ⁣∫0∞e−r2 r dr dθ\displaystyle\iint_{\mathbb{R}^2} e^{-(x^2 + y^2)}\,dA = \int_0^{2\pi}\!\!\int_0^\infty e^{-r^2}\,r\,dr\,d\thetaThe whole plane is 0≤r<∞0 \le r < \infty, 0≤θ≤2π0 \le \theta \le 2\pi.
  3. ∫0∞r e−r2 dr=[−12e−r2]0∞=12\displaystyle\int_0^\infty r\,e^{-r^2}\,dr = \Big[-\tfrac12e^{-r^2}\Big]_0^\infty = \frac12, so I2=2π⋅12=πI^2 = 2\pi\cdot\tfrac12 = \piThe rr from dAdA is what makes this integral elementary.
  4. I=πI = \sqrt\piI>0I > 0 because the integrand is positive.
  5. ∫−∞∞e−x2/(2σ2) dx=σ2π\displaystyle\int_{-\infty}^\infty e^{-x^2/(2\sigma^2)}\,dx = \sigma\sqrt{2\pi}, so the density is 1σ2πe−x2/(2σ2)\dfrac{1}{\sigma\sqrt{2\pi}}e^{-x^2/(2\sigma^2)}Substitute x=σ2 ux = \sigma\sqrt2\,u, dx=σ2 dudx = \sigma\sqrt2\,du: the integral is σ2⋅π\sigma\sqrt2\cdot\sqrt\pi.

Problem 10

XX and YY have joint density f(x,y)=x+yf(x, y) = x + y on the unit square 0≤x,y≤10 \le x, y \le 1, and 00 elsewhere. Check that it is a density, then find P(X+Y≤1)P(X + Y \le 1), E[X]E[X], E[XY]E[XY] and Cov⁡(X,Y)\operatorname{Cov}(X, Y).

  1. ∫01 ⁣ ⁣∫01(x+y) dy dx=∫01(x+12) dx=1\displaystyle\int_0^1\!\!\int_0^1 (x + y)\,dy\,dx = \int_0^1 \Big(x + \frac12\Big)\,dx = 1It is nonnegative and integrates to 11.
  2. P(X+Y≤1)=∫01 ⁣ ⁣∫01−x(x+y) dy dx=∫01(x(1−x)+(1−x)22)dx=16+16=13P(X + Y \le 1) = \displaystyle\int_0^1\!\!\int_0^{1 - x} (x + y)\,dy\,dx = \int_0^1 \Big(x(1 - x) + \frac{(1 - x)^2}{2}\Big)dx = \frac16 + \frac16 = \frac13The region below the line x+y=1x + y = 1: for each xx, yy runs from 00 to 1−x1 - x.
  3. E[X]=∫01 ⁣ ⁣∫01x(x+y) dy dx=∫01(x2+x2)dx=13+14=712E[X] = \displaystyle\int_0^1\!\!\int_0^1 x(x + y)\,dy\,dx = \int_0^1 \Big(x^2 + \frac x2\Big)dx = \frac13 + \frac14 = \frac7{12}By symmetry E[Y]=712E[Y] = \tfrac7{12} too.
  4. E[XY]=∫01 ⁣ ⁣∫01xy(x+y) dy dx=∫01(x22+x3)dx=16+16=13E[XY] = \displaystyle\int_0^1\!\!\int_0^1 xy(x + y)\,dy\,dx = \int_0^1 \Big(\frac{x^2}{2} + \frac x3\Big)dx = \frac16 + \frac16 = \frac13∬x2y dA=13⋅12\iint x^2y\,dA = \tfrac13\cdot\tfrac12 and ∬xy2 dA\iint xy^2\,dA is the same.
  5. Density checks; P(X+Y≤1)=13P(X + Y \le 1) = \tfrac13, E[X]=712E[X] = \tfrac7{12}, E[XY]=13E[XY] = \tfrac13, Cov⁡(X,Y)=13−49144=−1144\operatorname{Cov}(X, Y) = \tfrac13 - \tfrac{49}{144} = -\tfrac1{144}Slightly negative: E[Y∣X=x]=x/2+1/3x+1/2E[Y \mid X = x] = \tfrac{x/2 + 1/3}{x + 1/2} falls from 23\tfrac23 at x=0x = 0 to 59\tfrac59 at x=1x = 1, so a larger XX comes with a slightly smaller YY on average. With Var⁡X=512−49144=11144\operatorname{Var}X = \tfrac5{12} - \tfrac{49}{144} = \tfrac{11}{144}, the correlation is −111-\tfrac1{11}.

Where this goes wrong

1. Switching the order by swapping the limits as written

The two pairs of limits are swapped along with dxdx and dydy, as on a rectangle.

  1. ∬Rx dA\displaystyle\iint_R x\,dA over RR: 0≤x≤10 \le x \le 1, x2≤y≤xx^2 \le y \le xRight so far: Problem 4, whose answer is 112\tfrac1{12}.
  2. “For dx dydx\,dy, xx runs between the same two curves, with xx renamed yy.”The step that causes the mistake: the limits are rewritten without looking at the region.
  3. ∫01 ⁣ ⁣∫y2yx dx dy=∫01y2−y42 dy=115\displaystyle\int_0^1\!\!\int_{y^2}^{y} x\,dx\,dy = \int_0^1 \frac{y^2 - y^4}{2}\,dy = \frac1{15}That describes the reflection of RR across y=xy = x, a different region. Solve each boundary for xx: y=xy = x gives x=yx = y and y=x2y = x^2 gives x=yx = \sqrt y, so the inner limits are yy to y\sqrt y, and the integral is 112\tfrac1{12}.

2. Integrating e^(y²) as if it had an antiderivative

The integral is attacked in the order it is written, with a guess for the antiderivative.

  1. ∫01 ⁣ ⁣∫x1ey2 dy dx\displaystyle\int_0^1\!\!\int_x^1 e^{y^2}\,dy\,dxRight so far: Problem 5.
  2. “The antiderivative of ey2e^{y^2} is ey2e^{y^2} divided by the derivative of y2y^2.”The habit that causes the mistake: the chain rule run backwards, which only works when that derivative is already a factor.
  3. ∫ey2 dy=ey22y\displaystyle\int e^{y^2}\,dy = \frac{e^{y^2}}{2y}Differentiate it: ddyey22y=ey2−ey22y2\tfrac{d}{dy}\tfrac{e^{y^2}}{2y} = e^{y^2} - \tfrac{e^{y^2}}{2y^2}, which at y=1y = 1 is e2≈1.359\tfrac e2 \approx 1.359, not e≈2.718e \approx 2.718. No elementary antiderivative exists; switch the order, and the inner integral supplies the factor yy, giving e−12\tfrac{e - 1}{2}.

3. Dropping the r in r dr dθ

x2+y2x^2 + y^2 is replaced by r2r^2 and dAdA by dr dθdr\,d\theta, as if polar coordinates were a renaming.

  1. ∬D(x2+y2) dA\displaystyle\iint_D (x^2 + y^2)\,dA over x2+y2≤4x^2 + y^2 \le 4, with x2+y2=r2x^2 + y^2 = r^2Right so far: Problem 7.
  2. “dAdA becomes dr dθdr\,d\theta.”The step that causes the mistake.
  3. ∫02π ⁣ ⁣∫02r2 dr dθ=16π3\displaystyle\int_0^{2\pi}\!\!\int_0^2 r^2\,dr\,d\theta = \frac{16\pi}{3}A polar box of sides drdr and dθd\theta has area r dr dθr\,dr\,d\theta, since the arc at radius rr is r dθr\,d\theta long. Without it even the area comes out wrong: for the unit disk, ∫02π ⁣∫01dr dθ=2π\int_0^{2\pi}\!\int_0^1 dr\,d\theta = 2\pi, not π\pi. With the rr, the answer is 8π8\pi.

4. The full circle of θ for a quarter disk

0≤θ≤2π0 \le \theta \le 2\pi is the polar range used most often, and it is used again.

  1. ∬Qxy dA\displaystyle\iint_Q xy\,dA with xy=r2cos⁡θsin⁡θxy = r^2\cos\theta\sin\theta and dA=r dr dθdA = r\,dr\,d\thetaRight so far: Problem 8.
  2. “θ\theta goes from 00 to 2π2\pi.”The step that causes the mistake: the limits describe the whole disk, not the first quadrant.
  3. ∫02π ⁣ ⁣∫01r3cos⁡θsin⁡θ dr dθ=0\displaystyle\int_0^{2\pi}\!\!\int_0^1 r^3\cos\theta\sin\theta\,dr\,d\theta = 0Over the whole disk, xyxy is negative in the second and fourth quadrants and cancels the first and third. A positive integrand on QQ cannot give 00. The quarter disk is 0≤θ≤π20 \le \theta \le \tfrac\pi2, and the integral is 18\tfrac18.

5. Squaring the integral with one variable

I2=I⋅II^2 = I\cdot I, and both copies are written with xx.

  1. I=∫−∞∞e−x2 dxI = \displaystyle\int_{-\infty}^\infty e^{-x^2}\,dxRight so far: Problem 9.
  2. “I2=∫e−x2⋅e−x2 dxI^2 = \displaystyle\int e^{-x^2}\cdot e^{-x^2}\,dx.”The step that causes the mistake: the two integrals are merged into one.
  3. I2=∫−∞∞e−2x2 dx=π/2≈1.253I^2 = \displaystyle\int_{-\infty}^\infty e^{-2x^2}\,dx = \sqrt{\pi/2} \approx 1.253A product of two integrals is not the integral of the product. Each copy needs its own dummy variable, I2=∫e−x2dx∫e−y2dyI^2 = \int e^{-x^2}dx\int e^{-y^2}dy, and that is the double integral over the plane, equal to π≈3.142\pi \approx 3.142.

Print this set: double-integrals.pdf (problems, answers, and worked solutions on separate pages).

Read the guide: Double integrals: inner limits from the region, switching the order, and r dr dθ in polar