Double Integrals, Cartesian and Polar
Learning Objectives
- Evaluate a double integral as an iterated integral over a rectangle or over a region bounded by curves, and change the order of integration by redescribing the region.
- State the hypotheses of Fubini's theorem, and recognize a case where the two iterated integrals disagree because a hypothesis fails.
- State the change-of-variables theorem with its conditions, compute a Jacobian, and derive the factor of polar coordinates.
- Evaluate by switching to polar coordinates, and use it to show that the Normal density integrates to 1.
Context & Motivation
A double integral adds up a quantity spread over a region of the plane: the volume under a surface , or the mass of a plate whose density varies from point to point. As in the-definite-integral-and-riemann-sums, it is defined as a limit of sums, and it is computed by reducing it to two single integrals.
The lesson the-normal-distribution writes down the density and says only that the constant in front makes the area equal 1. That constant is not obvious, because has no antiderivative that can be written with elementary functions, so the fundamental theorem of calculus cannot evaluate the integral directly. The way around it uses two dimensions: the square of the integral is a double integral over the plane, and in polar coordinates it becomes easy. The same idea gives the Box-Muller method for turning uniform random numbers into Normal ones.
Core Theory
Double integrals over rectangles
Split a rectangle into small subrectangles of area , pick a sample point in each, and form . When the sums converge to the same number as the subrectangles shrink, the limit is . It exists when is continuous on , and also when is bounded and is discontinuous only along finitely many smooth curves. Where it is the volume under the graph.
Iterated integrals and Fubini's theorem
Fubini's theorem (continuous case). If is continuous on the closed rectangle , then
The hypotheses are a closed bounded rectangle and continuity. The version for general integrable functions (Lebesgue integral) replaces continuity by absolute integrability: if , both iterated integrals exist and equal . Tonelli's theorem covers : both iterated integrals always equal the double integral, as values in , and no finiteness is needed.
When the hypothesis fails, the conclusion can fail. Take on , which blows up at the origin. Since , integrating in first gives , and then
Both values were confirmed numerically. The function is not absolutely integrable: over grows by about each time shrinks tenfold (it approaches per step), which is logarithmic divergence. Without absolute integrability, the order can matter.
General regions and changing the order
A region is of type I if it is , with continuous, and of type II if the roles of and are swapped. For continuous on such a region ,
Swapping the order is not swapping the limits. The region has to be redescribed from the other direction, so a sketch comes first: read off the extreme values of the new outer variable, then the bounds of the inner one as functions of it.
Change of variables and the Jacobian
Suppose maps a region in the -plane onto a region in the -plane. The Jacobian is the determinant
Change of variables. If is continuously differentiable (), one-to-one on the interior of , and has a nonzero Jacobian on the interior of , and if is continuous on , then
The reason is the local linear approximation from partial-derivatives-and-the-multivariable-chain-rule: a small rectangle is sent to nearly a parallelogram of area . For the linear map , the determinant is , so areas are halved and the factor is .
For polar coordinates, and give
so , the factor previewed in polar-coordinates. The map from to the disk of radius breaks the hypotheses on the boundary: the whole segment lands on the origin, the rays and coincide, and makes the Jacobian vanish. These sets have zero area, and the theorem needs only the interior, so for continuous the integral is unchanged.
A hypothesis that does matter is one-to-one. Let run over and the unit disk is covered twice: , twice the true area .
Unbounded regions
An integral over the whole plane is a limit, as in improper-integrals: integrate over a disk or square that grows, then let it grow without bound. For the result does not depend on which growing family is used. For a function that changes sign, absolute integrability is the safe requirement.
Worked Examples
Example 1: choosing the order on a rectangle
Evaluate on . The integrand is continuous on a closed rectangle, so either order is allowed. Integrating first is easy:
Integrating first needs integration by parts and gives , a harder second step. Symbolic evaluation in both orders gives , and numerical quadrature gives .
Example 2: an integral that only works after swapping
Evaluate . The inner integral is , not elementary. The region is , a triangle. Described the other way, and , so
Numerical quadrature of the original form returns .
Example 3: volume under a paraboloid
Find the volume between and the plane . The surface meets the plane at , so is the disk and
A numerical double integral over the disk in gives . Dropping the Jacobian, , gives , which is wrong.
Example 4: the Gaussian integral
Let . Then
The step from a product to a double integral is Fubini in the Tonelli form: the integrand is positive, so no finiteness is assumed. Evaluate the double integral as the limit of integrals over the disk of radius (allowed because the integrand is nonnegative). On polar coordinates apply, with continuous:
The extra factor is what makes the inner integral elementary: has the antiderivative . So , and since , , which numerical quadrature confirms. Squares exhaust the plane too, and give the same limit:
textR disk: pi(1 - e^-R^2) square [-R,R]^2: pi erf(R)^2 1 1.9859 2.2310 2 3.0841 3.1123 3 3.1412 3.1415 (pi = 3.1416)
Back to the Normal density. Substituting , so ,
Dividing by produces total area 1, which is the constant in the-normal-distribution. For and a numerical integral gives . This derives the normalizing constant; why the bell shape arises in the first place is the Central Limit Theorem's job.
Example 5: Box-Muller
If are independent standard Normals, their joint density is . In polar form the density becomes : the angle is uniform on , and has distribution function . Inverting that gives and for uniform , and , . In a run of pairs (seed 7) the sample variances were and , the correlation was , and the fraction with was against the exact .
Common Misconceptions & Pitfalls
- "Fubini always lets you swap the order." It needs continuity on a closed rectangle (or absolute integrability, or ). The example with and shows the order changing the answer.
- "Swapping the order means swapping the limits." The new bounds come from the region's picture, not from exchanging numbers.
- "Polar coordinates only change into ." The area element is , and in Example 3 the missing changed the answer from to . Also check that the angle range covers the region once. A circle not centered at the origin, such as , becomes with .
- "The scaling factor is the Jacobian determinant itself." The determinant can be negative because it records orientation, but the factor is its absolute value. The linear map above has determinant and factor .
Summary
A double integral is a limit of sums, evaluated as an iterated integral when Fubini applies: continuity on a closed rectangle, or absolute integrability, or a nonnegative integrand (Tonelli). Without those, the two orders can disagree, as shows. On general regions the order is changed by redescribing the region. A change of variables needs a map that is one-to-one on the interior and has a nonzero Jacobian there, and it multiplies the integrand by ; for polar coordinates that is . With it, gives , the normalizing constant of the Normal density, and the Box-Muller sampler.
Documentation Links
- OpenStax Calculus Volume 3, 5.1 Double Integrals over Rectangular Regions
- OpenStax Calculus Volume 3, 5.2 Double Integrals over General Regions
- OpenStax Calculus Volume 3, 5.3 Double Integrals in Polar Coordinates
- OpenStax Calculus Volume 3, 5.7 Change of Variables in Multiple Integrals
- MIT OpenCourseWare 18.02SC, Part A: Double Integrals