# 4.7: Double Integration with Polar Coordinates

- Last updated

- Save as PDF

- Page ID
- 20241

- Contributed by Gregory Hartman et al.
- Associate Professor (Mathematics) at Virginia Military Institute

We have used iterated integrals to evaluate double integrals, which give the signed volume under a surface, \(z=f(x,y)\), over a region \(R\) of the \(xy\)-plane. The integrand is simply \(f(x,y)\), and the bounds of the integrals are determined by the region \(R\).

Some regions \(R\) are easy to describe using rectangular coordinates -- that is, with equations of the form \(y=f(x)\), \(x=a\), etc. However, some regions are easier to handle if we represent their boundaries with polar equations of the form \(r=f(\theta)\), \(\theta = \alpha\), etc.

The basic form of the double integral is \(\displaystyle \iint_R f(x,y)\ dA\). We interpret this integral as follows: over the region \(R\), sum up lots of products of heights (given by \(f(x_i,y_i)\)) and areas (given by \(\Delta A_i\)). That is, \(dA\) represents "a little bit of area.'' In rectangular coordinates, we can describe a small rectangle as having area \(dx\ dy\) or \(dy\,dx\) -- the area of a rectangle is simply length\(\times\)width -- a small change in \(x\) times a small change in \(y\). Thus we replace \(dA\) in the double integral with \(dx\,dy\) or \(dy \,dx\).

FIGURE \(\PageIndex{1} \label{double_pol_intro}\)

Now consider representing a region \(R\) with polar coordinates. Consider Figure \(\PageIndex{1}\)(a). Let \(R\) be the region in the first quadrant bounded by the curve. We can approximate this region using the natural shape of polar coordinates: portions of sectors of circles. In the figure, one such region is shaded, shown again in part (b) of the figure.

As the area of a sector of a circle with radius \(r\), subtended by an angle \(\theta\), is \(A = \frac12r^2\theta\), we can find the area of the shaded region. The whole sector has area \(\frac12r_2^2\Delta \theta\), whereas the smaller, unshaded sector has area \(\frac12r_1^2\Delta \theta\). The area of the shaded region is the difference of these areas:

$$\Delta A_i = \frac12r_2^2\Delta\theta-\frac12r_1^2\Delta\theta = \frac12\big(r_2^2-r_1^2\big)\big(\Delta\theta\big) = \frac{r_2+r_1}{2}\big(r_2-r_1\big)\Delta\theta.$$

Note that \((r_2+r_1)/2\) is just the average of the two radii.

To approximate the region \(R\), we use many such subregions; doing so shrinks the difference \(r_2-r_1\) between radii to 0 and shrinks the change in angle \(\Delta \theta\) also to 0. We represent these infinitesimal changes in radius and angle as \(dr\) and \(d\theta\), respectively. Finally, as \(dr\) is small, \(r_2\approx r_1\), and so \((r_2+r_1)/2\approx r_1\). Thus, when \(dr\) and \(d\theta\) are small,

$$\Delta A_i \approx r_i \,dr \,d\theta.$$

Taking a limit, where the number of subregions goes to infinity and both \(r_2-r_1\) and \(\Delta\theta\) go to 0, we get \[dA = r \,dr \,d\theta.\]

So to evaluate \( \displaystyle \iint_Rf(x,y)\ dA\), replace \(dA\) with \(r \,dr \,d\theta\). Convert the function \(z=f(x,y)\) to a function with polar coordinates with the substitutions \(x=r\cos\theta\), \(y=r\sin\theta\). Finally, find bounds \(g_1(\theta)\leq r\leq g_2(\theta)\) and \(\alpha\leq\theta\leq\beta\) that describe \(R\). This is the key principle of this section, so we restate it here as a Key Idea.

key idea: Evaluating Double Integrals with Polar Coordinates

Let \(R\) be a plane region bounded by the polar equations \(\alpha\leq\theta\leq\beta\) and \(g_1(\theta)\leq r\leq g_2(\theta)\). Then

$$\iint_Rf(x,y)\ dA = \int_\alpha^\beta\int_{g_1(\theta)}^{g_2(\theta)} f\big(r\cos\theta,r\sin\theta\big)\ \,r \,dr \,d\theta.$$

Examples will help us understand this Key Idea.

Example \(\PageIndex{1}\): Evaluating a double integral with polar coordinates

Find the signed volume under the plane \(z= 4-x-2y\) over the circle with equation \(x^2+y^2=1\).

**SOLUTION**

The bounds of the integral are determined solely by the region \(R\) over which we are integrating. In this case, it is a circle with equation \(x^2+y^2=1\). We need to find polar bounds for this region. It may help to review Section \ref{sec:polar}; bounds for this circle are \(0\leq r\leq 1\) and \(0\leq \theta\leq 2\pi\).

We replace \(f(x,y)\) with \(f(r\cos\theta,r\sin\theta)\). That means we make the following substitutions:

$$4-x-2y \quad \Rightarrow \quad 4-r\cos\theta-2r\sin\theta.$$

Finally, we replace \(dA\) in the double integral with \(r \,dr \,d\theta\). This gives the final iterated integral, which we evaluate:

\[\begin{align*}

\iint_Rf(x,y)\ dA &= \int_0^{2\pi}\int_0^1\big(4-r\cos\theta-2r\sin\theta\big)r \,dr \,d\theta\\

&= \int_0^{2\pi}\int_0^1\big(4r-r^2(\cos\theta-2\sin\theta)\big) dr \,d\theta\\

&= \int_0^{2\pi}\left.\left(2r^2-\frac13r^3(\cos\theta-2\sin\theta)\right)\right|_0^1d\theta\\

&= \int_0^{2\pi} \left(2-\frac13\big(\cos\theta-2\sin\theta\big)\right) d\theta\\

&= \left.\left(2\theta -\frac13\big(\sin\theta+2\cos\theta\big)\right)\right|_0^{2\pi} \\

&= 4\pi \approx 12.566.

\end{align*}\]

FIGURE \(\PageIndex{2}\)

The surface and region \(R\) are shown in Figure \(\PageIndex{2}\).

Example \(\PageIndex{2}\): Evaluating a double integral with polar coordinates

Find the volume under the paraboloid \(z=4-(x-2)^2-y^2\) over the region bounded by the circles \((x-1)^2+y^2=1\) and \((x-2)^2+y^2=4\).

**SOLUTION**

At first glance, this seems like a very hard volume to compute as the region \(R\) (shown in Figure \ref{fig:doublepol2}(a)) has a hole in it, cutting out a strange portion of the surface, as shown in part (b) of the figure. However, by describing \(R\) in terms of polar equations, the volume is not very difficult to compute.

FIGURE \(\PageIndex{3}\)

It is straightforward to show that the circle \((x-1)^2+y^2=1\) has polar equation \(r=2\cos\theta\), and that the circle \((x-2)^2+y^2=4\) has polar equation \(r=4\cos\theta\). Each of these circles is traced out on the interval \(0\leq\theta\leq\pi\). The bounds on \(r\) are \(2\cos\theta\leq r\leq 4\cos\theta.\)

Replacing \(x\) with \(r\cos\theta\) in the integrand, along with replacing \(y\) with \(r\sin \theta\), prepares us to evaluate the double integral \(\displaystyle \iint_Rf(x,y)\ dA\):

\[\begin{align*}

\iint_Rf(x,y)\ dA &= \int_0^{\pi}\int_{2\cos\theta}^{4\cos\theta} \Big(4-\big(r\cos\theta-2\big)^2-\big(r\sin\theta\big)^2\Big)r \,dr \,d\theta\\

%&=\int_0^{\pi}\int_{2\cos\theta}^{4\cos\theta} \big(r^3\cos^2\theta + r^3\sin^2\theta -4r^2\cos \theta+4r\big) dr \,d\theta\\

&= \int_0^{\pi}\int_{2\cos\theta}^{4\cos\theta} \big(-r^3+4r^2\cos \theta\big) dr \,d\theta\\

&= \int_0^\pi \left.\left(-\frac14r^4+\frac43r^3\cos\theta\right)\right|_{2\cos\theta}^{4\cos\theta}d\theta\\

&=\int_0^\pi \left(\left[-\frac14(256\cos^4\theta)+\frac43(64\cos^4\theta)\right]-\right.\\

&\ \left.\left[-\frac14(16\cos^4\theta)+\frac43(8\cos^4\theta)\right]\right) d\theta\\

&=\int_0^\pi\frac{44}3\cos^4\theta \,d\theta. \end{align*}\]

To integrate \(\cos^4\theta\), rewrite it as \(\cos^2\theta\cos^2\theta\) and employ the power-reducing formula twice:

\[\begin{align*}\cos^4\theta &=\cos^2\theta\cos^2\theta\\

&= \frac12\big(1+\cos(2\theta)\big)\frac12\big(1+\cos(2\theta)\big) \\

&= \frac14\big(1+2\cos(2\theta)+\cos^2(2\theta)\big)\\

&=\frac14\Big(1+2\cos(2\theta)+\frac12\big(1+\cos(4\theta)\big)\Big)\\

&= \frac38+\frac12\cos(2\theta)+\frac18\cos(4\theta).\end{align*}\]

Picking up from where we left off above, we have

\[\begin{align*} &=\int_0^\pi\frac{44}3\cos^4\theta \,d\theta\\

&=\int_0^\pi \frac{44}3\left(\frac38+\frac12\cos(2\theta)+\frac18\cos(4\theta)\right)d\theta\\

&= \left.\frac{44}3\left(\frac{3}8\theta+\frac14\sin(2\theta)+\frac{1}{32}\sin(4\theta)\right)\right|_0^\pi\\

&=\frac{11}2\pi\approx 17.279.

\end{align*}\]

While this example was not trivial, the double integral would have been *much* harder to evaluate had we used rectangular coordinates.

Example \(\PageIndex{3}\): Evaluating a double integral with polar coordinates

Find the volume under the surface \( f(x,y) =\dfrac1{x^2+y^2+1}\) over the sector of the circle with radius \(a\) centered at the origin in the first quadrant, as shown in Figure \ref{fig:doublepol5}.

FIGURE \(\PageIndex{4}\)

**SOLUTION**

The region \(R\) we are integrating over is a circle with radius \(a\), restricted to the first quadrant. Thus, in polar, the bounds on \(R\) are \(0\leq r\leq a\), \(0\leq\theta\leq\pi/2\). The integrand is rewritten in polar as

$$\frac{1}{x^2+y^2+1} \Rightarrow \frac{1}{r^2\cos^2\theta+r^2\sin^2\theta+1} = \frac1{r^2+1}.$$

We find the volume as follows:

\[\begin{align*}

\iint_Rf(x,y)\ dA &= \int_0^{\pi/2}\int_0^a\frac{r}{r^2+1} dr \,d\theta\\

&= \int_0^{\pi/2} \frac12\big(\ln|r^2+1|\big)\Big|_0^a \,d\theta\\

&=\int_0^{\pi/2} \frac12\ln(a^2+1) d\theta\\

&= \left.\left(\frac12\ln(a^2+1)\theta\right)\right|_0^{\pi/2}\\

&= \frac{\pi}{4}\ln(a^2+1).

\end{align*}\]

Figure \ref{fig:doublepol5} shows that \(f\) shrinks to near 0 very quickly. Regardless, as \(a\) grows, so does the volume, without bound.

**Note:** Previous work has shown that there is finite *area* under \(\frac{1}{x^2+1}\) over the entire \(x\)-axis. However, Example \ref{ex_doublepol5} shows that there is infinite *volume* under \(\frac{1}{x^2+y^2+1}\) over the entire \(xy\)-plane.

Example \(\PageIndex{4}\): Finding the volume of a sphere

Find the volume of a sphere with radius \(a\).

**SOLUTION**

The sphere of radius \(a\), centered at the origin, has equation \(x^2+y^2+z^2=a^2\); solving for \(z\), we have \(z=\sqrt{a^2-x^2-y^2}\). This gives the upper half of a sphere. We wish to find the volume under this top half, then double it to find the total volume.

The region we need to integrate over is the circle of radius \(a\), centered at the origin. Polar bounds for this equation are \(0\leq r\leq a\), \(0\leq\theta\leq2\pi\).

All together, the volume of a sphere with radius \(a\) is:

\[ 2\iint_R\sqrt{a^2-x^2-y^2}\ dA = 2\int_0^{2\pi}\int_0^a\sqrt{a^2-(r\cos\theta)^2-(r\sin\theta)^2}\,r \,dr \,d\theta\\

=2\int_0^{2\pi}\int_0^ar\sqrt{a^2-r^2} \,dr \,d\theta.\]

We can evaluate this inner integral with substitution. With \(u=a^2-r^2\), \(du = -2r \,dr\). The new bounds of integration are \(u(0) = a^2\) to \(u(a)=0\). Thus we have:

\[\begin{align*} &= \int_0^{2\pi}\int_{a^2}^0\big(-u^{1/2}\big) du \,d\theta\\

&= \int_0^{2\pi}\left.\left(-\frac23u^{3/2}\right)\right|_{a^2}^0 \,d\theta\\

&= \int_0^{2\pi}\left(\frac23a^3\right) d\theta\\

&= \left.\left(\frac23a^3\theta\right)\right|_0^{2\pi}\\

&= \frac43\pi a^3.

\end{align*}\]

Generally, the formula for the volume of a sphere with radius \(r\) is given as \(4/3\pi r^3\); we have justified this formula with our calculation.

Example \(\PageIndex{5}\): Finding the volume of a solid

A sculptor wants to make a solid bronze cast of the solid shown in Figure \ref{fig:doublepol4}, where the base of the solid has boundary, in polar coordinates, \(r=\cos(3\theta)\), and the top is defined by the plane \(z=1-x+0.1y\). Find the volume of the solid.

FIGURE \(\PageIndex{5}\)

**SOLUTION**

From the outset, we should recognize that knowing *how to set up* this problem is probably more important than knowing *how to compute the integrals*. The iterated integral to come is not "hard'' to evaluate, though it is long, requiring lots of algebra. Once the proper iterated integral is determined, one can use readily--available technology to help compute the final answer.

The region \(R\) that we are integrating over is bound by \(0\leq r\leq \cos(3\theta)\), for \(0\leq \theta\leq\pi\) (note that this rose curve is traced out on the interval \([0,\pi]\), not \([0,2\pi]\)). This gives us our bounds of integration. The integrand is \(z=1-x+0.1y\); converting to polar, we have that the volume \(V\) is:

$$V = \iint_R f(x,y)\ dA = \int_0^\pi\int_0^{\cos(3\theta)}\big(1-r\cos\theta+0.1r\sin\theta\big)r \,dr \,d\theta.$$

Distributing the \(r\), the inner integral is easy to evaluate, leading to

$$ \int_0^\pi \left(\frac12\cos^2(3\theta)-\frac13\cos^3(3\theta)\cos\theta+\frac{0.1}3\cos^3(3\theta)\sin\theta\right) d\theta.$$

This integral takes time to compute by hand; it is rather long and cumbersome. The powers of cosine need to be reduced, and products like \(\cos(3\theta)\cos\theta\) need to be turned to sums using the Product To Sum formulas in the back cover of this text.

We rewrite \(\frac12\cos^2(3\theta)\) as \(\frac14(1+\cos(6\theta))\). We can also rewrite \(\frac13\cos^3(3\theta)\cos\theta\) as:

$$\frac13\cos^3(3\theta)\cos\theta = \frac13\cos^2(3\theta)\cos(3\theta)\cos\theta = \frac13\frac{1+\cos(6\theta)}2\big(\cos(4\theta)+\cos(2\theta)\big).$$

This last expression still needs simplification, but eventually all terms can be reduced to the form \(a\cos(m\theta)\) or \(a\sin(m\theta)\) for various values of \(a\) and \(m\).

We forgo the algebra and recommend the reader employ technology, such as WolframAlpha, to compute the numeric answer. Such technology gives:

$$\int_0^\pi\int_0^{\cos(3\theta)}\big(1-r\cos\theta+0.1r\sin\theta\big)r dr d\theta = \frac{\pi}{4} \approx 0.785u^3.$$

Since the units were not specified, we leave the result as almost \(0.8\) cubic units (meters, feet, etc.) Should the artist want to scale the piece uniformly, so that each rose petal had a length other than 1, she should keep in mind that scaling by a factor of \(k\) scales the volume by a factor of \(k^3\).

We have used iterated integrals to find areas of plane regions and volumes under surfaces. Just as a single integral can be used to compute much more than "area under the curve,'' iterated integrals can be used to compute much more than we have thus far seen. The next two sections show two, among many, applications of iterated integrals.