MAT1052 · Week 14 · Double Integrals in Polar Coordinates
Double integrals in polar coordinates
You learn to convert double integrals to polar coordinates (dA = r dr dθ) on regions bounded by disks, annuli, sectors and polar curves, to transform Cartesian integrals to polar, and to compute volume and area. The value of the Gaussian integral also comes out of this.
polar coordinatespolar rectanglearea elementr dr dθpolar regionannuluscardioidrose curveGaussian integralchange of variables
The last week of the course. Last week you took double integrals in Cartesian coordinates. But if the region is a disk, annulus or sector, the limits turn into radical expressions (y=1−x2) and the integral often gets ugly, even impossible to compute. Polar coordinates make these regions like rectangles: “radius from 0 to 2, angle from 0 to 2π”. If there is x2+y2 in the integrand, it also becomes a single r2. The exam has at least one polar question, and often a “convert to polar and evaluate” question.
Golden rules:
dA=rdrdθ. The extra factor r is never forgotten.
If the region is bounded by a disk, annulus, sector or a curve r=f(θ), and/or the integrand has x2+y2, switch to polar.
First sketch the region, read off the θ range and the r range for each θ.
When converting from Cartesian, put rcosθ, rsinθ in place of x, y; set up the limits again from the region.
Polar coordinates reminder
A point is given by its distance r from the origin and the angle θ it makes with the positive x axis:
x=rcosθ,y=rsinθ,x2+y2=r2,tanθ=xy.
Cartesian
Polar
x2+y2=a2 (circle)
r=a
y=x, x>0 (line)
θ=4π
x2+y2=2ax
r=2acosθ (center (a,0))
x2+y2=2ay
r=2asinθ (center (0,a))
x=a (vertical line)
r=asecθ
Why rdrdθ?
In a Cartesian grid the small piece was a rectangle, with area ΔxΔy. In a polar grid the small piece is an annular sector: inner radius r, thickness Δr, angular width Δθ. The length of its outer edge is about rΔθ (arc length = radius × angle). So the area is about
ΔA≈(rΔθ)(Δr)=rΔrΔθ.
As you move away from the origin, the same Δθ gives a wider arc; the factor r accounts for this.
Template: draw a ray from the origin into the region. Where does the ray enter the region (lower limit r1) and where does it exit (upper limit r2)? From which angle to which angle must you rotate the ray to sweep the region (α, β)?
Example 1. The area of a disk of radius 3: ∫02π∫03rdrdθ=2π⋅29=9π. Check: π⋅32 ✓.
Example 2.∬Dx2+y2dA, D the unit disk. x2+y2=r:
∫02π∫01r⋅rdrdθ=2π⋅31=32π.
Example 3 (annulus, quarter).∬xdA on the part of the annulus 1≤x2+y2≤4 in the first quadrant:
r: 1 → 2, θ: 0 → π/2, x = r cos θ∫_0^{π/2} ∫_1^2 (r cos θ) r dr dθ = (∫_0^{π/2} cos θ dθ)(∫_1^2 r² dr) = 1 · (8 - 1)/3 = 7/3
When the limits are constant and the integrand has the form g(θ)h(r), the integral separates into a product of two single integrals. This happens very often in polar questions.
Example 4 (bounded by a polar curve). The area inside the circle r=4sinθ. The circle is traced once on the interval θ∈[0,π].
∫0π∫04sinθrdrdθ=∫0π8sin2θdθ=8⋅2π=4π.
Check: x2+y2=4y, that is, x2+(y−2)2=4, radius 2, area 4π ✓.
PITFALL · the θ range. If you write 0≤θ≤2π for the circle r=2cosθ, you go around the circle twice and find twice the area. Use the interval in which the polar curve is traced once: the angles where r≥0. For rose curves (r=cos2θ), find the r≥0 interval for one petal as well.
Converting from Cartesian to polar
Example 5.∫−11∫01−x2(x2+y2)dydx.
1) Read the region: -1 ≤ x ≤ 1, 0 ≤ y ≤ √(1-x²) → the UPPER half of the unit disk2) Polar limits: 0 ≤ r ≤ 1, 0 ≤ θ ≤ π3) Integrand: x² + y² = r²; dy dx → r dr dθ4) ∫_0^π ∫_0^1 r² · r dr dθ = π · (1/4) = π/4
In Cartesian this integral would need a long computation with terms like y3/3 and (1−x2)3/2.
TIP · a radical in the limit is a signal. If you see a2−x2 or a2−y2 in a limit, the region is most likely a piece of a disk. If the integrand also has x2+y2, the question is calling you to polar.
The Gaussian integral
∫e−x2dx has no elementary antiderivative; but its value over the whole line is found with the polar trick. If I=∫−∞∞e−x2dx then
I=π. The 2π in the formula of the normal distribution in probability comes from here. The heart of the trick is again the factor r: the expression e−r2r has an antiderivative, while e−r2 does not.
Volume
For solids whose base region is a disk or annulus, the volume ∬(top−bottom)dA is still valid; you just write it in polar form. To find the base, equate the two surfaces or look at where the surface meets z=0. In Q7 the paraboloid gives the circle r=3 at z=0; in Q8 the cylinder determines the base directly as r≤1.
Common mistakes
Wrong
Correct
dA=drdθ
dA=rdrdθ
Leaving x, y in the integrand
Put x=rcosθ, y=rsinθ
Counting a polar curve twice on [0,2π]
The interval in which it is traced once (r≥0)
0≤θ≤2π for the upper half disk
0≤θ≤π
0≤θ≤π for the right half
−2π≤θ≤2π
Order: putting the θ limit inside with dθdr
Usually r inside (its limit may depend on θ), θ outside
∫02πcos2θdθ=0
π (its average is 21)
Taking the height in a sphere as a single half
Top minus bottom: 2a2−r2
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
Question 1easy
Evaluate ∬D(x2+y2)dA where D is the disk x2+y2≤4.
Use a double integral to find the area of the region inside the circle r=2cosθ.
Show answer
π
r=2cosθ is traced once on the interval θ∈[−2π,2π] (a circle with center (1,0) and radius 1).∫−π/2π/2∫02cosθrdrdθ=∫−π/2π/22cos2θdθ=π. Check: the area of a disk of radius 1 is π.
Question 3medium
Evaluate ∬De−(x2+y2)dA where D is the unit disk.
Show answer
π(1−e−1)≈1.986
∫02π∫01e−r2rdrdθ. u=r2, du=2rdr: the inner integral is [−21e−r2]01=21(1−e−1). Multiply by 2π: π(1−e−1). (Without the factor r this integral could not be computed.)
Question 4hard
Use polar coordinates to show that ∫−∞∞e−x2dx=π.
Show answer
π
Let I=∫−∞∞e−x2dx. I2=∫−∞∞∫−∞∞e−(x2+y2)dxdy, the whole plane. Polar: ∫02π∫0∞e−r2rdrdθ=2π⋅21=π. Since I>0, I=π.
Question 5medium
Convert to polar coordinates and evaluate ∫01∫01−x2(x2+y2)3/2dydx.
Show answer
π/10
The region: 0≤x≤1, 0≤y≤1−x2, the unit quarter disk (first quadrant). 0≤r≤1, 0≤θ≤2π.(x2+y2)3/2=r3. ∫0π/2∫01r3⋅rdrdθ=2π⋅51=10π.
Find the volume of the solid under the paraboloid z=9−x2−y2 and above the xy-plane.
Show answer
81π/2
z=0: x2+y2=9, the base is a disk of radius 3.∫02π∫03(9−r2)rdrdθ=2π[29r2−4r4]03=2π(281−481)=281π.
Question 8hard
Find the volume of the solid inside the sphere x2+y2+z2=4 and inside the cylinder x2+y2=1.
Show answer
34π(8−33)≈11.74
The upper half is z=4−r2, the lower half −4−r2; the height is 24−r2. The base is r≤1.∫02π∫0124−r2rdrdθ. u=4−r2: the inner integral is [−32(4−r2)3/2]01=32(8−33). Multiply by 2π: 34π(8−33)≈11.745.
Question 9medium
Evaluate ∬DxdA where D is the right half of the disk x2+y2≤4.
Show answer
16/3
Right half: −2π≤θ≤2π, 0≤r≤2. x=rcosθ.∫−π/2π/2cosθdθ∫02r2dr=2⋅38=316.
Question 10hard
Find the area of one petal of the rose r=cos2θ.
Show answer
π/8
One petal is traced on the interval −4π≤θ≤4π where r≥0.∫−π/4π/4∫0cos2θrdrdθ=21∫−π/4π/4cos22θdθ=21⋅4π=8π.
Verification: All polar integrals were computed in node with nested Simpson (over r and θ); where possible they were also verified independently over the same region with Cartesian nested Simpson, and the Gaussian integral with tanh-sinh over the whole line (verify/MAT1052/14.mjs).
Review card
x = r cos θ, y = r sin θ, x² + y² = r², tan θ = y/x
dA = r dr dθ (do NOT FORGET the r!)
∬_D f dA = ∫_α^β ∫_{r1(θ)}^{r2(θ)} f(r cos θ, r sin θ) r dr dθ
When polar? The region is a disk/annulus/sector; x²+y² in the integrand
Disk r≤a: 0≤r≤a, 0≤θ≤2π. Annulus: a≤r≤b. Quarter: 0≤θ≤π/2
Right half: -π/2≤θ≤π/2. Upper half: 0≤θ≤π
r = 2a cos θ: center (a,0), -π/2≤θ≤π/2. r = 2a sin θ: center (0,a), 0≤θ≤π
Area = ∫∫ r dr dθ = (1/2)∫ r(θ)² dθ
Average of cos²θ is 1/2: ∫_0^{2π} cos²θ dθ = π
Gauss: ∫_{-∞}^{∞} e^{-x²} dx = √π
Volume: top - bottom surface; base = the xy projection of the intersection