GLOBAL KNOWLEDGE ARK

Mathematics · Article

Multiple integrals and change of variables

Accumulate a quantity over an area or solid, set bounds from the actual region, and change coordinates with the correct volume factor and integrability conditions.

Back to Mathematics

After reading, you can

  • Interpret a double or triple integral as an accumulation with area or volume weights.
  • Reduce continuous integrals on compact rectangles and suitable regular regions to iterated one-variable integrals.
  • Reverse integration order by describing the same region with new bounds, splitting it when needed.
  • Distinguish signed accumulation, geometric volume, mass, moments and averages.
  • Explain why local linearisation makes the absolute Jacobian determinant the coordinate volume factor.
  • Use affine, polar, cylindrical and spherical changes with explicit variable and angle conventions.
  • Check injectivity, seams, singular sets, multiplicity and the transformed domain before applying a change-of-variables formula.
  • Recognise why two existing iterated improper integrals need not agree, and state the role of nonnegativity or absolute integrability.
01

A height must be multiplied by an area

For f(x,y)=x²+y² on the unit square, a small rectangular patch contributes approximately f(x*,y*) Δx Δy to the volume under the nonnegative graph. The height alone is not a volume; it must be weighted by the patch’s area. Summing over a fine partition leads to a double integral. The exact-coordinate examples in this article use dimensionless rescaled coordinates; physical units are restored when applying the formulas.

If the square is divided into n-by-n equal cells and the height is sampled at each midpoint, the sum is Sₙ=2/3−1/(6n²). Thus n=1 gives 1/2, n=2 gives 5/8, and n=4 gives 21/32. The sums approach 2/3. Here the finite formula can be checked exactly; in general, agreement of a few meshes illustrates convergence rather than establishing it.

A sample height needs its cell areaThe unit input square is shown with equal 220-pixel-per-unit x and y scales. Its 2 by 2 midpoint grid has cell area 1/4. Each point is an actual midpoint. Colour opacity indicates height x²+y², not area or a three-dimensional surface. The exact weighted sum is 5/8 and the proved limiting integral is 2/3. At the first cell, height 1/8 times area 1/4 gives contribution 1/32.Partition the input area, then weight every sample011xyn=2; area/cell=1/4First midpoint height:1/8Its weighted contribution:1/32Sₙ=5/82/3−Sₙ=1/24Every cell area is 1/n². Orange points are samples, not equal volume weights.
This is the input plane. The cells partition area 1; a height times a cell area is a contribution, and the exact sum formula supplies the convergence claim.

Preparation is the single-variable integral and substitution lessons, functions/domains 130, derivatives and Jacobians 131, and determinants 125. A double integral accumulates over a two-dimensional region of inputs; the graph of the integrand is not itself that input region. The same distinction extends to three inputs and triple integrals.

02

The limiting sum is independent of sample choices when integrability holds

On a rectangle R=[a,b]×[c,d], a Riemann sum has the form ΣᵢΣⱼ f(ξᵢⱼ,ηᵢⱼ) Δxᵢ Δyⱼ, with a sample point in each cell. The double integral ∬R f dA is the common limit as the largest cell side tends to zero, when the limit exists independently of allowed sample choices. A continuous function on a compact rectangle is Riemann integrable.

Linearity and additivity express accumulation: ∬(αf+βg)=α∬f+β∬g, and integrals over disjoint regular pieces add. Pieces sharing only boundaries of area zero can also be combined without counting a positive-area overlap twice. For a nonnegative height, the integral is the volume between the graph and the input plane; for a signed height it is the volume above minus the corresponding volume below.

Area is the special case ∬R 1 dA. If m≤f≤M throughout a region of area A, then mA≤∬f≤MA. This gives a useful check on magnitude and units. A bounded integrand alone is not a general integrability guarantee on every imaginable region; the elementary examples here use compact regions with piecewise smooth boundaries and integrands continuous on them.

03

Fubini turns a two-dimensional accumulation into slices

For f continuous on a compact rectangle, Fubini’s theorem gives ∬R f dA=∫ₐᵇ[∫cᵈ f(x,y) dy] dx=∫cᵈ[∫ₐᵇ f(x,y) dx] dy. In the first iterated integral, hold x fixed while integrating in y; the resulting function of x is then integrated. In the second, the roles are reversed. Read the differential beside the innermost integral first.

For f=x²+y² on [0,1]², integrating in y first gives x²+1/3; integrating that in x gives 2/3. Reversing the order gives the same value. The theorem explains why both calculations represent the same double integral; computing both is a useful independent check, not the source of the theorem.

For nonrectangular regions, bounds can depend on an outer variable. The function produced by an inner integral then contains the moving endpoints as well as the integrand. Do not turn an integral over a triangle into a product of two independent one-dimensional integrals unless the integrand and region actually permit that separation.

04

Bounds describe the actual feasible inputs

A vertically sliced region has the form D={(x,y): a≤x≤b, α(x)≤y≤β(x)}. Under the stated continuity and regular-boundary assumptions, ∬D f dA=∫ₐᵇ∫α(x)^β(x) f(x,y) dy dx. A horizontal description instead uses c≤y≤d and γ(y)≤x≤δ(y), leading to the corresponding dx dy order. These are descriptions of the same set, not interchangeable strings of symbols.

Take D={(x,y):0≤x≤1,0≤y≤x}. With f=x+2y, the vertical calculation is ∫₀¹[x y+y²]ᵧ₌₀ˣ dx=∫₀¹2x² dx=2/3. Reversing order requires 0≤y≤1 and y≤x≤1. Then ∫₀¹∫ᵧ¹(x+2y) dx dy also gives 2/3. The bounds y≤x≤1 are obtained from the triangle, not by exchanging the old endpoint labels.

Two slice orders describe the same triangleBoth input-plane panels show 0≤y≤x≤1 with equal 165-pixel-per-coordinate-unit axes. The left vertical slice is x=1/2, with0≤y≤1/2. The right horizontal slice is y=1/2, with1/2≤x≤1. The shared integrand is x+2y. Its complete vertical inner integral is 2x²; the horizontal inner integral is 1/2+2y−(5/2)y². Both outer integrals equal 2/3. The finite marked slices illustrate bounds rather than exhausting the domain.Hold one outer coordinate fixed in each descriptionVertical: dy dx110≤x≤1; 0≤y≤xIntegral = 2/3Horizontal: dx dy110≤y≤1; y≤x≤1Integral = 2/3
Read the inner differential first. Reversing order changes the inequalities while preserving every input in the same triangle.

For the curved region 0≤x≤1 and x²≤y≤x, fixing y gives y≤x≤√y with 0≤y≤1. Its area is ∫₀¹(x−x²) dx=1/6, equivalently ∫₀¹(√y−y) dy=1/6. The restrictions x≥0 and 0≤y≤1 matter when solving the inequalities; square roots do not erase the original domain.

05

A single pair of bounds may not cover every slice

Let D be the L-shaped union [0,2]×[0,1] together with [0,1]×[1,2]. Vertical slices have height 2 for 0≤x≤1 and height 1 for 1≤x≤2. Thus an integral over D can be written as ∫₀¹∫₀² f dy dx+∫₁²∫₀¹ f dy dx. The shared boundary x=1 does not add area.

The horizontal description also splits: ∫₀¹∫₀² f dx dy+∫₁²∫₀¹ f dx dy. For f=x+y, the two rectangular contributions are 3 and 2, giving total 5. Writing every vertical slice as 0≤y≤2 for 0≤x≤2 would include the missing top-right square and answer a different question.

A missing square and a curved boundary change the boundsLeft: the L-shaped union of [0,2]×[0,1] and [0,1]×[1,2], using 80 pixels per coordinate unit. The missing top-right square is dashed. The orange split at x=1 separates height 2 from height 1. Right: the region x²≤y≤x for 0≤x≤1, using 160 pixels per unit. Its horizontal slice at y=1/4 runs from x=1/4 to x=1/2; its vertical slice at x=1/2 runs from y=1/4 to y=1/2. Both panels use equal x/y scales internally. The left area is 3, while the right area is 1/6.Describe every included input and exclude the missing onesL shapeBetween x² and x12211Area 3; ∫∫(x+y)=3+2=5At y=1/4: 1/4≤x≤1/2At x=1/2: 1/4≤y≤1/2Shared boundary pieces have area 0; the omitted top-right square has area 1.
The L shape needs split bounds. The curved region has horizontal bounds y≤x≤√y on 0≤y≤1; its original nonnegative coordinate restriction determines the square root.

Holes, disconnected slices and changes in which boundary is uppermost often require such splits. A sketch helps identify them, but the final bounds should stand on their own as inequalities. Before evaluating an integral, test a representative slice near each change point and check whether every included input is intended.

06

The same integral can accumulate a density instead of a height

For a planar lamina with nonnegative area density ρ(x,y), its mass is M=∬Dρ dA. When 0<M<∞ and the required moments are finite, its centre of mass is x̄=(1/M)∬D xρ dA and ȳ=(1/M)∬D yρ dA. The integrals with x and y weights are first moments; the coordinate associated with each numerator should be kept explicit rather than inferred from an axis label.

On the triangle 0≤y≤x≤1, let ρ=1+x in the rescaled example. Then M=∫₀¹(1+x)x dx=5/6. The x-weighted moment is ∫₀¹(x²+x³) dx=7/12; the y-weighted moment is ∫₀¹(1+x)x²/2 dx=7/24. Division gives (x̄,ȳ)=(7/10,7/20), inside the triangle. Uniform density would give its geometric centroid instead; a varying density shifts the mass centre.

For L>0 and ρ₀>0, take a physical triangle with coordinates x=L u and y=L v, and density ρ₀(1+u). The same calculation yields mass (5/6)ρ₀L² and centre (7L/10,7L/20). If ρ₀ is in kilograms per square metre and L in metres, mass is in kilograms and centre coordinates in metres. A density is not an extra geometric Jacobian; they play different roles.

The average of a scalar field over a finite positive-area region is (1/area(D))∬D f dA. Probability uses a related normalisation: a nonnegative density integrates to 1 over its full domain. Neither a centre-of-mass formula nor an average is meaningful with a zero normalising denominator.

07

The Jacobian determinant scales small coordinate cells

Let (x,y)=Φ(u,v). Near a point where Φ is differentiable, a small parameter displacement is mapped approximately by its derivative matrix. The two sides of a tiny parameter rectangle become the two derivative-column vectors multiplied by Δu and Δv. Their parallelogram area is |det DΦ| Δu Δv. Determinants 125 and local linearisation 131 therefore explain the factor used in integration.

The sign of det DΦ records orientation, while its absolute value records unsigned area scaling. Mass and ordinary volume do not become negative because a coordinate map reverses orientation. Signed orientation reappears in line/surface integrals and differential forms; it is a different choice of object.

Orientation can reverse while ordinary area stays positiveThe left unit parameter square, middle image under (2u+v,u+3v), and right image under (u+2v,3u+v) all use 40 pixels per coordinate unit on both axes. The green and orange arrows are respectively the u and v derivative columns. The signed determinants are 1,5,-5; both image areas are 5. Thus equal input/output display scales make the fivefold area change geometrically comparable. The maps are affine, so their derivative image cells are exact.Three coordinate planes at the same 40 pixels per unitParameter squareUnsigned area 1det DΦ=5Unsigned area 5det DΦ=−5Unsigned area 5Green: u column. Orange: v column. The reversal is not negative mass.
The sign records orientation. Ordinary area and mass use the absolute determinant; both affine substitutions give area 5 and integral 35/2 for x+y.

In n dimensions, the same principle gives the volume factor |det DΦ| for square derivative matrices. For a surface described by two parameters in three-dimensional space, the derivative is rectangular and has no determinant; its area factor is the norm of a cross product, treated in lesson 135. Do not put an arbitrary rectangular Jacobian into the multiple-volume formula.

08

A coordinate substitution changes three things

A safe classical change-of-variables setting is a C¹ one-to-one map Φ on an open neighbourhood of a compact regular parameter region U, with det DΦ nonzero there, and a continuous integrand f on its image D=Φ(U). Then ∬D f(x,y) dx dy=∬U f(Φ(u,v)) |det DΦ(u,v)| du dv. More general integrable versions exist, but their hypotheses must be supplied rather than inferred from this convenient setting.

Change the function, the region and the volume weight together. If the substitution is given as (u,v)=Ψ(x,y), invert it to obtain Φ for this formula. Where the maps are C¹ inverses, DΨ(Φ(u,v))=(DΦ(u,v))⁻¹, so the determinants are reciprocals at corresponding points. An inverse determinant at an unrelated input is not the required weight.

For Φ(u,v)=(2u+v,u+3v) on the unit parameter square, DΦ=[[2,1],[1,3]] has determinant 5. The image is a parallelogram of area 5. The integrand x+y becomes 3u+4v, and its integral is 5∫₀¹∫₀¹(3u+4v) du dv=35/2. Replacing Φ by (u+2v,3u+v) reverses the determinant sign to −5; the area factor remains 5 and the corresponding x+y integral is still 35/2.

09

Use the transformed domain to simplify a sloping boundary

Consider Φ(u,v)=(u,uv) with 1≤u≤2 and 0≤v≤1. Its image is D={(x,y):1≤x≤2,0≤y≤x}. The derivative is [[1,0],[v,u]], so det DΦ=u. Since u>0, the inverse is u=x and v=y/x on an open neighbourhood of this compact region; there is no singular origin to hide in the substitution.

The area is ∫₁²∫₀¹u dv du=3/2. For f(x,y)=y/x, the transformed integrand is v and the full weight is uv. Thus ∬D(y/x) dA=∫₁²∫₀¹uv dv du=3/4. Directly, ∫₁²∫₀ˣ(y/x) dy dx gives the same value.

Leaving out the factor u would give 1/2 instead of 3/4. A visually rectangular parameter domain does not mean its cells have equal area in the image. Here the higher-u strips are wider in physical y even though every parameter strip spans the same v interval.

Compare an actual image cell with its local derivative cellThe selected nonlinear map uses 120 pixels per parameter or output coordinate unit on both axes. Left is the complete parameter domain; right is its image. The orange cell is the true image of the highlighted parameter cell. A dashed green cell is the derivative-column parallelogram at its lower-left corner. The parameter area is 1/16. Actual image area is 11/128; local determinant prediction is 5/64. For nonlinear x=u,y=uv the true cell is a trapezoid and differs at higher order; for an affine map the two cells coincide exactly.Small coordinate cells change area under the mapParameter domainActual image domainΦΔu=Δv=1/4; area 1/16True area: 11/128Local area: 5/64Equal axes in both planes; 120 pixels per coordinate unit.
Use |det DΦ| for the local factor. A finite nonlinear image cell need not equal its derivative parallelogram; the exact area discrepancy is tabulated separately.
10

Polar area has a radial weight and a seam

In polar coordinates, x=r cosθ and y=r sinθ. With derivative columns ordered as r,θ, the determinant is r, so dA=r dr dθ for r>0. A small angular change sweeps an arc of length approximately rΔθ, which explains why the same angle covers a larger area farther from the origin.

For the unit disk and f=x²+y²=r², integration gives ∫₀²π∫₀¹r³ dr dθ=π/2. For f=1, the same radial weight gives disk area π. Omitting r would instead compute the area of a rectangle in parameter coordinates, not the area of the disk.

The full closed parameter rectangle 0≤r≤R,0≤θ≤2π is not one-to-one: the seam is repeated and every angle describes the origin when r=0. Apply the smooth one-to-one formula on cut regions with r>0 and an open angular interval, then account for the omitted seam and centre as area-zero sets, or use corresponding limits. For continuous bounded integrands this does not change the disk integral.

If θ runs from 0 to 4π, almost every noncentral disk point is covered twice, and the ordinary integral with the polar weight counts it twice. A many-to-one map requires a multiplicity-aware statement or an appropriate one-to-one decomposition, not a silent use of the injective theorem. For singular integrands, removing the centre also requires a genuine convergence check.

Equal radial and angular increments have unequal physical areasFour annular-sector cells share Δr=1/4 and Δθ=π/6, between angles π/6 and π/3. Radii are 0,1/4,1/2,3/4,1. The physical x/y plot uses equal 145 pixels per unit. Exact cell areas are π/192,3π/192,5π/192,7π/192. On the right, four equal parameter rectangles have area π/24 each in r,θ coordinates; the horizontal r display scale is 160 pixels per r-unit and vertical scale 60 pixels per radian. These different coordinate units are explicitly separate. The physical wedge includes the centre as an exceptional boundary, not as an injective coordinate chart.The same Δθ sweeps a longer arc farther outxyParameter cells: dr dθ1234Each parameter area: π/24Physical areas:π/192 × (1,3,5,7)Unit disk: area π; ∫∫r² dA=π/2. A 4π angular range counts twice.The physical plot and parameter rectangle use their own declared units.
The polar weight is r. The exact annular-sector area is ½(r₁²−r₀²)Δθ; for these equal-width cells its ratios are 1:3:5:7. Handle the seam and centre separately from an injective cut chart.
11

In three dimensions, slice a solid into area-weighted layers

A triple integral ∭E f dV accumulates over a three-dimensional input region. Its Riemann sums use products Δx Δy Δz. For a continuous function on a compact box, repeated Fubini permits any coordinate order. A nonbox solid needs bounds describing all three coordinates in a consistent nesting.

For the tetrahedron E={x,y,z≥0:x+y+z≤1}, one order is ∫₀¹∫₀¹⁻ˣ∫₀¹⁻ˣ⁻ʸ1 dz dy dx. Integrating in z gives the height 1−x−y over the triangular projection x,y≥0,x+y≤1. The resulting volume is 1/6. If z is the outer coordinate instead, a valid order is ∫₀¹∫₀¹⁻ᶻ∫₀¹⁻ᶻ⁻ˣ1 dy dx dz, with the same value.

The average of a field over a finite positive-volume solid divides its triple integral by the solid’s volume. A volume density in kilograms per cubic metre produces mass after multiplication by dV. The extra integration coordinate changes the geometric weight and its units; a double integral over a projection alone is not the solid’s volume unless its integrand includes the appropriate height.

12

State the angles before using a memorised factor

Cylindrical coordinates use x=r cosθ, y=r sinθ and z=z. Their unsigned volume factor is r, so dV=r dr dθ dz in a compatible iterated order. Bounds must describe the actual solid: a cylinder, a cone and a ball have different z ranges even if their x,y projections look similar.

Use spherical coordinates x=ρ sinφ cosθ, y=ρ sinφ sinθ, z=ρ cosφ, where ρ is distance from the origin, φ is the colatitude measured from the positive z axis, and θ is azimuth in the x,y plane. With 0<φ<π, the unsigned volume factor is ρ²sinφ. Other books may swap angle names or measure latitude from the equatorial plane, which changes the written factor; the coordinate definitions decide the formula.

For a ball of radius R, the integral of 1 is ∫₀²π∫₀π∫₀ᴿρ²sinφ dρ dφ dθ=(2π)(2)(R³/3)=4πR³/3. The polar axis, origin and azimuthal seam are exceptional parameter sets; they do not invalidate the volume formula when treated by charts, zero-volume boundaries and suitable limits. Their presence does prevent calling the whole closed parameter box a one-to-one nonsingular map.

Read the radial coordinate and colatitude from their mapsLeft is a cylindrical r,z section at fixed azimuth, with radius 1 and height 3; its horizontal display scale is 100 pixels per radial unit and vertical scale 65 pixels per z-unit, explicitly unequal. The cylinder's volume element is r dr dθ dz. Right is an equal 110-pixel-per-unit meridional plane through the positive z axis. A radius 1 point at colatitude φ=π/3 has coordinates (sqrt(3)/2,1/2) in horizontal distance from the z axis and vertical z. The orange angle is measured from positive z, not the equatorial plane. Azimuth θ lies in the x,y plane and is held fixed in this section. Spherical volume uses ρ²sinφ, not latitude's cosine factor.State which angle and which radial distance you useCylinder r,z sectionR=13rzSpherical meridional sectionφρ=1+zφ=π/3 from +z; θ is held fixed.dV=r dr dθ dzdV=ρ²sinφ dρ dφ dθA section explains bounds or angles; its 2D area is not the whole 3D volume.
Cylindrical radius r and spherical distance ρ are different coordinates. With φ as colatitude, ball volume is 4πR³/3 and the z-axis inertia at constant density ρ₀ is 8πρ₀R⁵/15.

For a constant physical density ρ₀ in the ball, the moment of inertia about the z axis is ∭ρ₀(x²+y²) dV. Since x²+y²=ρ²sin²φ, separation gives ρ₀(R⁵/5)(4/3)(2π)=8πρ₀R⁵/15. Its units are mass times length squared. The density symbol ρ₀ is a constant here; the coordinate ρ is a radial distance.

13

Existing iterated improper values do not guarantee one double integral

Let F(x,y)=(x²−y²)/(x²+y²)² away from the origin in the unit square, with an arbitrary assigned value at the origin. For each y>0, integrating first in x gives −1/(1+y²), since F=−∂ₓ[x/(x²+y²)]. The subsequent improper integral in y is −π/4. For each x>0, integrating first in y gives 1/(1+x²), since F=∂ᵧ[y/(x²+y²)]. The subsequent improper integral in x is π/4.

The two calculations disagree because the required integrability hypothesis fails, not because Fubini has two answers. Near the origin, polar substitution gives F=cos(2θ)/r², and |F|dA=|cos(2θ)| dr dθ/r. On an angular interval where |cos(2θ)| is bounded below by a positive constant, the radial integral diverges logarithmically. Thus F is not absolutely integrable on the square.

The inner slice at a zero outer coordinate is itself divergent; the displayed iterated improper values mean performing the inner integral for positive outer coordinates and then taking the outer endpoint limit. Assigning a value at one point cannot repair the divergent mass of |F| in neighbourhoods. A joint truncation or a principal-value convention is an additional definition and must not be substituted silently for an ordinary double integral.

Symmetric cancellation is not absolute integrabilityLeft is a quarter annulus with radius between 1/4 and 1 inside the unit square, using equal 170 pixels per input unit. The diagonal y=x divides positive and negative signs of F=(x²-y²)/(x²+y²)². The function is undefined at the removed centre; no marker assigns it a finite limiting value. Right, for ε=2^-k with k=1,2,3,4, the exact integral of |F| on the quarter annulus is k ln2; positive and negative parts are each (k/2)ln2. The plotted vertical coordinate is the coefficient of ln2, not a numerical estimate of the improper integral. The horizontal scale 45 pixels per cutoff index; vertical scale 35 pixels per ln2 coefficient. Signed cancellation on this joint truncation is a different limiting convention from either iterated order.Track absolute mass before accepting a cancelled valueF>0F<0Centre removed: r<1/4.Absolute mass / ln211223344kε=2⁻ᵏ: absolute mass=k ln2→+∞.A convergent nonnegative 1/r disk integral needs its separate limiting argument.
On a quarter annulus, ∫|cos2θ|dθ=1 and ∫ε¹dr/r=ln(1/ε). Absolute mass diverges. The iterated limits −π/4 and π/4 and a joint signed annular value 0 do not define one ordinary double integral.
14

Two broader theorems explain which exchanges are safe

In the measure-theoretic setting on Euclidean spaces, Tonelli’s theorem applies to nonnegative measurable functions: integrating in either order agrees with the full integral, allowing the common value +∞. Fubini’s theorem applies to an absolutely integrable measurable function, meaning ∫|f|<∞; the slice functions are absolutely integrable for almost every outer input, and the resulting iterated integrals are finite and agree. These are different hypotheses, not a rule that any two existing repeated integrals may be exchanged.

The corresponding product-space results use σ-finite measures, meaning that each space is covered by countably many measurable sets of finite measure. Lebesgue measure on finite-dimensional Euclidean space has that property because bounded boxes provide such a cover. Measurability and almost-everywhere qualification belong to these more general statements. The earlier continuous compact-region examples fit the elementary theory without needing this additional machinery.

A useful practical route for a signed integrand is to establish absolute integrability before changing order. For a nonnegative integrand, an infinite answer may be the correct accumulation rather than a failure of order independence. In both cases, an infinity-minus-infinity cancellation is not an ordinary signed integral.

15

Keep the geometry, the weight and the theorem together

Before computing, identify the input region, what is accumulated, and its units. After choosing an order or coordinate map, write the transformed inequalities, evaluate the integrand at that map, calculate the correct absolute determinant, and check whether inputs are counted once. Test the constant integrand 1 when a known area or volume provides an independent comparison.

The explorer should compare finite Riemann sums with a proved limiting value, show the same triangle by vertical and horizontal slices, and display how a small parameter cell changes under an affine or nonlinear map. A polar-cell comparison should retain equal radial and angular increments while making the radial area factor visible. Those pictures explain a relationship; their scales and declared angle conventions must be consistent.

For an improper or unbounded integrand, finish by stating the convergence argument and the order or truncation used. A numerical grid near a singularity can conceal divergence or create an apparent cancellation. The theorem’s hypotheses, not a stable-looking decimal, determine whether the computation represents the intended integral.

Keep the area weight while refining the grid

Predict how the midpoint sum changes when n doubles. Compare a sample height with its weighted contribution before reading the exact error. These independent panels use finite presets; their theorem claims come from the article’s proofs.

A sample height needs its cell areaThe unit input square is shown with equal 220-pixel-per-unit x and y scales. Its 2 by 2 midpoint grid has cell area 1/4. Each point is an actual midpoint. Colour opacity indicates height x²+y², not area or a three-dimensional surface. The exact weighted sum is 5/8 and the proved limiting integral is 2/3. At the first cell, height 1/8 times area 1/4 gives contribution 1/32.Partition the input area, then weight every sample011xyn=2; area/cell=1/4First midpoint height:1/8Its weighted contribution:1/32Sₙ=5/82/3−Sₙ=1/24Every cell area is 1/n². Orange points are samples, not equal volume weights.
This is the input plane. The cells partition area 1; a height times a cell area is a contribution, and the exact sum formula supplies the convergence claim.
Exact weighted finite sum on the unit square
QuantityExact value
Number of cells4
Width of each cell1/2
Area of each cell1/4
Total input area1
First midpoint(1/4, 1/4)
First height1/8
First weighted contribution1/32
Sum Sₙ5/8
Proved limiting integral2/3
Exact error 1/(6n²)1/24

Describe the same region in the other order

Choose an input region, then switch order while keeping that region. Predict the inner interval at the selected outer coordinate. A degenerate endpoint is a slice of length zero; it does not invalidate the full integral.

A selected slice must stay in the actual regionThe selected triangle input region uses equal 220 pixels per coordinate unit. Outer coordinate x is 1/2. The inner interval runs from 0 to 1/2; the orange segment has exactly these endpoints. Read the bounds and exact inner integral in the table. The plot supplies no integration by point counting. At a degenerate endpoint the slice is a defined single point.The orange segment is one exact inner interval11Outer x=1/20≤y≤1/2Exact inner integral:1/2Whole integral: 2/3The chart is an input domain; its height is not the integrand’s graph.
Bounds, integrand and outer variable belong together. At the L-shape split, the longer closed slice represents the actual union; changing one boundary slice does not change its area integral.
Bounds and exact accumulation for this region
QuantityExact result
Integrandx+2*y
Full bounds0≤x≤1; 0≤y≤x
Outer coordinatex=1/2
Inner interval0≤y≤1/2
Inner integral at this slice1/2
Complete-piece contributions2/3
Whole integral2/3
Region area1/2

The two orders describe the same set. The moving endpoints and the inner differential change together.

Keep density and its moment normalisation distinct from geometry
Triangle lamina with density 1+x
QuantityExact result
Geometric area1/2
Mass5/6
x-weighted moment7/12
y-weighted moment7/24
Centre of mass(7/10, 7/20)
Physical mass scaling(5/6)ρ₀L²
Physical centre(7L/10,7L/20)

The mass and moments use the density as an integrand, in addition to the geometric area weight. Divide by the finite positive mass. In physical coordinates, the resulting centre has length units and the mass has mass units.

Change the function, the domain and the weight

Predict whether reversing orientation changes unsigned area. For the nonlinear map, compare the true finite image cell with the local derivative parallelogram; only affine maps make that comparison exact at finite cell size.

Compare an actual image cell with its local derivative cellThe selected affine-positive map uses 60 pixels per parameter or output coordinate unit on both axes. Left is the complete parameter domain; right is its image. The orange cell is the true image of the highlighted parameter cell. A dashed green cell is the derivative-column parallelogram at its lower-left corner. The parameter area is 1/16. Actual image area is 5/16; local determinant prediction is 5/16. For nonlinear x=u,y=uv the true cell is a trapezoid and differs at higher order; for an affine map the two cells coincide exactly.Small coordinate cells change area under the mapParameter domainActual image domainΦΔu=Δv=1/4; area 1/16True area: 5/16Local area: 5/16Equal axes in both planes; 60 pixels per coordinate unit.
Use |det DΦ| for the local factor. A finite nonlinear image cell need not equal its derivative parallelogram; the exact area discrepancy is tabulated separately.
Forward Jacobian DΦ at the cell’s lower-left point
Output rowInput 1Input 2
121
213
Derivative of the inverse at the corresponding image point
Output rowInput 1Input 2
13/5-1/5
2-1/52/5
Local scaling, finite cell area and the full transformed integral
QuantityExact result
Parameter cell lower-left(1/4, 1/4)
Parameter cell upper-right(1/2, 1/2)
Signed det DΦ5
Unsigned pointwise factor |det DΦ|5
Reciprocal inverse determinant1/5
OrientationPreserved
Parameter cell area1/16
Actual finite image cell area5/16
Local derivative area prediction5/16
Actual minus local cell area0
Far-corner actual minus local displacement(0, 0)
Full image regionThe image parallelogram of the unit parameter square
Transformed integrand3u+4v
Full image area5
Correct full weighted integral35/2
Incorrect integral omitting the Jacobian7/2

These are invertible affine maps, so local parallelograms are exact cell images. A negative determinant changes orientation and leaves ordinary area positive.

Check polar cells, spatial factors and coordinate conventions
Equal Δr=1/4 and Δθ=π/6: four physical sector areas
Radial intervalParameter areaPhysical areaIntegral of r²
[0, 1/4]π/24π/192π/6144
[1/4, 1/2]π/24π/645π/2048
[1/2, 3/4]π/245π/19265π/6144
[3/4, 1]π/247π/192175π/6144

For the whole unit disk, area=π and the integral of r² is π/2. A 0≤θ≤4π parameter range counts almost every noncentral disk point twice, giving 2π and π respectively with the ordinary polar weight. The centre and seam are exceptional boundaries, so the whole closed box is not an injective nonsingular chart.

Radius R examples; cylinder height 3; spherical φ is colatitude
RCylinder volumeBall volumeBall z-axis inertia
13π4π/38ρ₀π/15
212π32π/3256ρ₀π/15

Cylindrical dV has factor r. Spherical x=ρsinφcosθ, y=ρsinφsinθ, z=ρcosφ has factor ρ²sinφ; φ is measured from positive z and θ is azimuth. For the nonnegative tetrahedron x+y+z≤1, integrating the height over its triangular projection gives volume 1/6.

Separate an iterated endpoint limit from a joint truncation

For F=(x²−y²)/(x²+y²)² on the unit square, the inner slice is computed only for a positive outer coordinate. The two iterated improper limits disagree. A symmetric joint truncation is a different definition, and its cancellation cannot supply absolute integrability.

Order, truncation region and convergence are named explicitly
QuantityExact value or statement
Positive cutoff ε1/2
x-first inner slice at y=ε-4/5
y-first inner slice at x=ε4/5
x-first outer integral from ε to 1−(π/4−arctan(1/2))
y-first outer integral from ε to 1π/4−arctan(1/2)
x-first iterated improper limit−π/4
y-first iterated improper limitπ/4
Quarter-annular absolute mass1 × ln2
Quarter-annular positive part1/2 × ln2
Quarter-annular negative part1/2 × ln2
Signed joint annular truncation0; a separate limiting convention
Absolutely integrable on the square?No
Full-disk annulus integral of nonnegative 1/rπ
Nonnegative 1/r disk limit2π; finite by the separate monotone annular limit

The quarter-annular region is ε≤r≤1,0≤θ≤π/2 and lies in the square. Its absolute mass is ln(1/ε) and grows without bound as ε decreases to 0. Its positive and negative parts both diverge. For the separate nonnegative 1/r example, the full annuli converge to 2π; that convergence proof cannot be transferred to F. Assigning a value at one point repairs neither divergence nor the zero-outer-coordinate slice.

Worked examples

Compare a finite weighted sum with its limiting volume

Approximate the integral of x²+y² over [0,1]² with an n-by-n midpoint grid.

  1. Each cell has area 1/n², and its midpoint coordinates are (i−1/2)/n and (j−1/2)/n.
  2. The exact sum is Sₙ=2/3−1/(6n²).
  3. It gives 1/2, 5/8 and 21/32 for n=1,2,4, and tends to 2/3.

The integral is 2/3. The finite grid values approximate it with the explicitly computed error 1/(6n²).

Describe the same triangle twice

Integrate x+2y on 0≤y≤x≤1.

  1. With y inside, integrate ∫₀¹∫₀ˣ(x+2y) dy dx.
  2. The inner value is 2x² and the result 2/3.
  3. For the reverse order use 0≤y≤1 and y≤x≤1, giving ∫₀¹∫ᵧ¹(x+2y) dx dy.

Both valid orders give 2/3; the region is unchanged even though the bounds change.

Solve the inequalities before reversing order

Find the area between y=x² and y=x for 0≤x≤1.

  1. Vertical slices have height x−x², giving ∫₀¹(x−x²) dx=1/6.
  2. For a fixed y in [0,1], the inequalities imply y≤x≤√y.
  3. Horizontal slices give ∫₀¹(√y−y) dy=1/6.

The area is 1/6. Both the sign and the original coordinate interval are needed when taking the square root.

Divide the weighted moments by the actual mass

Find the mass and centre for density 1+x on 0≤y≤x≤1.

  1. M=∫₀¹(1+x)x dx=5/6.
  2. The x moment is ∫₀¹(x²+x³) dx=7/12.
  3. The y moment is ∫₀¹(1+x)x²/2 dx=7/24.
  4. Divide each moment by 5/6.

The mass is 5/6 and the centre is (7/10,7/20) in the rescaled coordinates.

Use an absolute determinant for a parallelogram

For Φ(u,v)=(2u+v,u+3v) on [0,1]², find its image area and the integral of x+y.

  1. DΦ=[[2,1],[1,3]], with determinant 5.
  2. The area is 5 times the unit-square area, hence 5.
  3. x+y becomes 3u+4v, so the integral is 5(3/2+4/2)=35/2.

Area 5 and integral 35/2. The factor is |det DΦ|, not a signed area.

Include the changing cell width

Integrate y/x on 1≤x≤2 and 0≤y≤x using x=u,y=uv.

  1. The parameter region is 1≤u≤2,0≤v≤1.
  2. The integrand becomes v and the absolute determinant is u.
  3. Compute ∫₁²∫₀¹uv dv du=3/4.

The value is 3/4. Dropping the Jacobian would give the incorrect value 1/2.

Keep the radial area factor

Integrate x²+y² over the unit disk.

  1. The integrand becomes r².
  2. Area contributes r dr dθ, giving radial integrand r³.
  3. ∫₀²π∫₀¹r³ dr dθ=2π·1/4.

The value is π/2. The origin and angular seam are handled as exceptional boundaries, not declared injective.

Check convergence when the centre is removed

Integrate 1/√(x²+y²) over a disk of radius R>0 as an improper nonnegative integral.

  1. On the annulus ε≤r≤R, the product of integrand 1/r and polar weight r is 1.
  2. The annulus integral is 2π(R−ε).
  3. Let ε decrease to 0; the nonnegative integrals increase to 2πR.

The improper integral is finite and equals 2πR. This convergence argument is additional to the bounded-integrand disk formula.

Integrate the height above a triangular projection

Find the volume of x,y,z≥0 with x+y+z≤1.

  1. Use 0≤x≤1,0≤y≤1−x,0≤z≤1−x−y.
  2. Integrating 1 in z gives height 1−x−y.
  3. The y integral is (1−x)²/2; the x integral is 1/6.

The volume is 1/6.

Read the colatitude convention from the coordinate map

Find the volume of a radius-R ball with φ measured from the positive z axis.

  1. Use 0≤ρ≤R,0≤φ≤π,0≤θ≤2π.
  2. The unsigned factor is ρ²sinφ.
  3. The separated integrals give (R³/3)·2·2π.

The volume is 4πR³/3, with seams/poles handled by the stated chart or limiting argument.

Locate the failed integrability condition

Why do the two iterated improper integrals of F=(x²−y²)/(x²+y²)² on the unit square give opposite signs?

  1. For y>0, the x integral is −1/(1+y²), giving −π/4 after the outer endpoint limit.
  2. For x>0, the y integral is 1/(1+x²), giving π/4 after the outer endpoint limit.
  3. Near 0, |F|dA=|cos2θ| dr dθ/r has divergent radial integral on an angular interval.

F is not absolutely integrable, so these iterated improper calculations are not interchangeable evaluations of one ordinary double integral.

Try it yourself

  1. Why does a midpoint height need a factor ΔxΔy in a double Riemann sum?

    Show the answer and reasoning

    The factor is the cell’s area.

    A height contributes a small volume only after multiplication by its horizontal input area. The number of sample points alone is not the weight.

  2. Does a signed double integral always equal geometric volume?

    Show the answer and reasoning

    No.

    A nonnegative height gives volume above the input plane. A signed integrand subtracts contributions below that plane.

  3. What does ∬D1 dA measure?

    Show the answer and reasoning

    The area of D, when the integral is defined.

    A unit density or unit height weights every small input patch by its area.

  4. Reverse the order for 0≤x≤1,0≤y≤x.

    Show the answer and reasoning

    Use 0≤y≤1 and y≤x≤1.

    For a fixed y, the triangle starts at the diagonal x=y and ends at x=1. Merely exchanging differentials would not update the bounds.

  5. For 0≤x≤1,x²≤y≤x, what x interval is allowed at a fixed y∈[0,1]?

    Show the answer and reasoning

    y≤x≤√y.

    The upper inequality y≤x gives the lower x bound. Since x≥0, x²≤y gives the upper bound √y.

  6. What is the area of the L-shaped region in the article?

    Show the answer and reasoning

    3.

    The 2-by-1 lower rectangle has area 2 and the 1-by-1 upper-left square has area 1. Their common boundary contributes no area.

  7. Why can the two first moments not be used directly as centre coordinates?

    Show the answer and reasoning

    They must be divided by the finite positive mass.

    Moments have mass-times-length units; division by mass gives length. A zero denominator does not define a mass centre.

  8. A one-to-one planar coordinate map has determinant −5. What weight is used for ordinary area integration?

    Show the answer and reasoning

    5.

    The negative sign records reversed orientation. The absolute determinant supplies unsigned area scaling.

  9. Which three objects change in a coordinate substitution?

    Show the answer and reasoning

    The integrand, the region and the volume weight.

    Use f∘Φ, the actual parameter domain and |det DΦ| together. Changing only the variables written in the function is incomplete.

  10. If Ψ=Φ⁻¹, is det DΨ evaluated at a corresponding point equal to det DΦ?

    Show the answer and reasoning

    It is the reciprocal where the derivatives are invertible.

    DΨ(Φ(u))=(DΦ(u))⁻¹. The forward substitution formula uses the absolute determinant of the forward map.

  11. For x=u,y=uv with u>0, what is the area factor?

    Show the answer and reasoning

    u.

    The derivative matrix is [[1,0],[v,u]], whose determinant is u. Parameter cells widen in the image as u increases.

  12. What factor must accompany dr dθ in ordinary planar polar integration?

    Show the answer and reasoning

    r for r≥0.

    A fixed angular increment has arc length proportional to radius. Without r, the integral measures parameter area rather than plane area.

  13. Does θ∈[0,4π] cover a noncentral disk point once under the usual polar map?

    Show the answer and reasoning

    It covers almost every such point twice.

    The ordinary polar-weight integral then counts multiplicity. The one-to-one change-of-variables theorem cannot be invoked without addressing that repetition.

  14. In the stated spherical convention, what is φ and what is the volume factor?

    Show the answer and reasoning

    φ is colatitude from the positive z axis; the factor is ρ²sinφ.

    The coordinate map fixes the angle meaning. A latitude convention uses a different written trigonometric factor.

  15. What units result from integrating kilograms per cubic metre against dV in cubic metres?

    Show the answer and reasoning

    Kilograms.

    The volume weight converts the density into a mass accumulation.

  16. Do two finite iterated improper integrals automatically agree?

    Show the answer and reasoning

    No.

    The displayed rational function gives −π/4 and π/4. Absolute integrability or another applicable theorem is required before exchanging the orders.

  17. Must a nonnegative measurable function have a finite integral before Tonelli permits either order?

    Show the answer and reasoning

    No.

    The common value may be +∞ under the stated product-measure conditions. This is different from an undefined infinity-minus-infinity signed cancellation.

  18. Can redefining F at the origin repair the nonabsolute integrability of the rational counterexample?

    Show the answer and reasoning

    No.

    The divergence comes from neighbourhoods of the origin, not the value of a single point. The relevant |F| accumulation remains infinite.

What to carry forward

  • A multiple integral combines a field or density with an area or volume weight; preserve the interpretation and units.
  • Continuous compact-region examples admit elementary Fubini reductions. Bounds must describe the same region after an order change.
  • Split regions when their slices change or have gaps; do not integrate over an accidental bounding rectangle.
  • Mass centres and averages require the correct finite, positive normalising quantity.
  • A coordinate change transforms the function, the domain and the absolute Jacobian determinant together.
  • Polar, cylindrical and spherical weights follow from the stated coordinate maps. Seams, singular sets and multiplicity need explicit treatment.
  • For signed unbounded functions, absolute integrability is a safe order-exchange condition. Existing iterated improper values alone are insufficient.
  • Tonelli permits nonnegative measurable accumulation with a possible infinite value; Fubini’s absolutely integrable setting gives finite almost-everywhere slices.
  • Exact finite sums, slice comparisons and numerical grids support understanding; analytic hypotheses and convergence arguments establish the intended integral.

References

Sources for the concepts and teaching approaches in this article.

  1. Basic Analysis IIJiří LeblAuthor’s open analysis textbook · §§10.2 and 10.7Iterated integrals and Fubini · §10.2Change of variables · §10.7jirka.org
  2. Measure Theory · Product measures and Fubini–TonelliJohn K. HunterAuthor’s course notes · Chapter 5, Theorems 5.18 and 5.21 · PDFmath.ucdavis.eduRead source