A double integral β«β«f(x,y) dA extends the idea of a single integral to two dimensions, letting you find quantities like the volume under a surface, the mass of a flat plate with variable density, or the average value of a function over a 2D region. Because the functions and regions involved can be arbitrarily complex, a general-purpose double integral solver isn't something that can be done safely or reliably as a simple client-side calculator β genuine symbolic integration needs a full computer algebra system. Instead, this page is a worked-example teaching guide: it walks through the standard method for evaluating double integrals over rectangular regions step by step, with three complete worked examples you can follow and reuse for your own problems.
This guide is aimed at university students in calculus, engineering, or physics courses who are learning iterated integration for the first time, or who want a clear reference to check their own working against. The method shown here β converting a double integral into two nested single integrals (an iterated integral) β is the standard technique taught in first- and second-year calculus, and it's the same approach used before moving on to more complex regions, polar coordinates, or triple integrals.
The method: converting a double integral to an iterated integral
Over a rectangular region R = [a,b] Γ [c,d], the double integral β«β«_R f(x,y) dA can be evaluated as an iterated integral: first integrate f(x,y) with respect to one variable (treating the other as a constant), then integrate the result with respect to the remaining variable. In function notation: β«β«_R f(x,y) dA = β« from x=a to b [ β« from y=c to d f(x,y) dy ] dx. You can integrate in either order (y first then x, or x first then y) over a simple rectangular region β the result is the same by Fubini's theorem, so pick whichever inner integral looks easier.
Worked Example 1: β«β«(x + y) dA over [0,2] Γ [0,3]
Step 1 β inner integral (with respect to y, x held constant): β« from y=0 to 3 of (x + y) dy = [xy + yΒ²/2] from 0 to 3 = 3x + 4.5.
Step 2 β outer integral (with respect to x): β« from x=0 to 2 of (3x + 4.5) dx = [1.5xΒ² + 4.5x] from 0 to 2 = 6 + 9 = 15.
Answer: 15.
Worked Example 2: β«β«(xΒ²y) dA over [1,3] Γ [0,2]
Step 1 β inner integral (with respect to y): β« from y=0 to 2 of xΒ²y dy = xΒ²[yΒ²/2] from 0 to 2 = 2xΒ².
Step 2 β outer integral (with respect to x): β« from x=1 to 3 of 2xΒ² dx = [2xΒ³/3] from 1 to 3 = 18 - 2/3 = 52/3 β 17.33.
Answer: 52/3 (β17.33).
Worked Example 3: β«β« sin(x) dA over [0, Ο] Γ [0, 1]
Step 1 β inner integral (with respect to y, since sin(x) has no y): β« from y=0 to 1 of sin(x) dy = sin(x) Β· [y] from 0 to 1 = sin(x).
Step 2 β outer integral (with respect to x): β« from x=0 to Ο of sin(x) dx = [-cos(x)] from 0 to Ο = (-cos Ο) - (-cos 0) = 1 + 1 = 2.
Answer: 2.
Frequently asked questions
Convert it to an iterated integral: integrate with respect to one variable first (treating the other as constant), then integrate that result with respect to the second variable.
For a simple rectangular region with a continuous function, no β by Fubini's theorem you'll get the same answer integrating x first or y first, so choose whichever order is algebraically simpler.
Geometrically, it represents the volume between the surface z = f(x,y) and the xy-plane, over the given region. It can also represent total mass, total charge, or an average value depending on what f(x,y) represents physically.
General symbolic double integration (especially over non-rectangular regions or with complex functions) requires a full computer algebra system, which can't be done safely or reliably as a simple client-side tool β so this page teaches the method with worked examples instead.