24  Double Integrals in Polar I

24.1 Polar coordinates

The Cartesian coordinates \((x,y)\) become needlessly complex with respect to some basic double integrals, namely those over discs and other circular regions. The polar coordinates \((r,\theta)\), which we review here, are a more natural choice for such integrals. Recall (Stewart et al. 2020, 10.3) that:

  • \(r\) measures the distance between a point and the origin, so we have \[ r = \sqrt{x^2 + y^2}. \]
  • \(\theta\) measures the (counterclockwise) angle from the positive x-axis, and thus \[ x \tan \theta = y. \]
Figure 24.1: Transforming from Cartesian coordinates \((x,y)\) to polar coordinates \((r, \theta)\).

Transforming between coordinates

We can recover Cartesian coordinates from polar coordinates using \[ x = r \cos \theta \quad \text{and} \quad y = r \sin \theta. \]

Trigonometric identities

In addition to reviewing the unit circle, this unit benefits from recalling the double angle formulas, \[ \cos(2\theta) = \cos^2(\theta) - \sin^2(\theta) \quad \text{and} \quad \sin(2\theta) = 2 \sin(\theta) \cos(\theta), \] and the power reduction formulas, \[ \cos^2(\theta) = \frac{1 + \cos(2\theta)}{2} \quad \text{and} \quad \sin^2(\theta) = \frac{1 - \cos(2\theta)}{2}. \]

Example 24.1 (Annulus in polar) To see how useful polar coordinates can be, consider a double integral over the annulus of inner radius \(1\) and outer radius \(2\) centered at the origin. In Cartesian coordinates, the inner circle is defined by the implicit equation \(x^2 + y^2 = 1\), and the outer circle by \(x^2 + y^2 = 4\). In polar coordinates, the inner circle is simply \(r = 1\) and the outer circle \(r = 2\). This is already nice, but consider how much simpler the slicing becomes:

We break the annulus into four domains. Holding \(x\) constant first, the \(y\) values range from \(\pm \sqrt{4-x^2}\) and \(\pm \sqrt{1-x^2}\). Integrating a function over these regions will be hard!

The annulus can be parametrized using the polar rectangle \(1 \leq r \leq 2\) and \(0 \leq \theta \leq 2\pi\). Look how much simpler this is!

Note how the polar slices spread out as we move away from the origin. More on that later.

24.2 Curves in polar coordinates

Just as we are used to studying plots of the form \(y = f(x)\) in Cartesian coordinates, we can consider relationships between \(r\) and \(\theta\) in polar coordinates. We are especially interested in functions of the form \(r = f(\theta)\), which describe curves whose distance from the origin varies with angle off the horizontal axis. When describing these curves, it is often useful to specify permissible values of \(\theta\).

The polar plot of \(r = 1\), where \(0 \leq \theta \leq 2\pi\)

We have already seen that this is a circle of constant radius \(1\); as \(\theta\) varies, we trace out the circle once. Compare this with what it takes to specify the circle in Cartesian coordinates, where we have to write \(y = \sqrt{1-x^2}\) and \(y = -\sqrt{1-x^2}\) to define the top and bottom halves (and where \(x\) varies from \(-1\) to \(1\)).

Example 24.2 (Cardioids) Rather than being plotted along the \(x\)-axis as \(y = f(x)\), curves \(r = f(\theta)\) are wrapped around the origin according to the angle \(\theta\).

A plot of \(y = 1 - \sin x\), with arcs colored as \(x\) ranges from \(0\) to \(2\pi\) in increments of \(\frac{\pi}{2}\).

A plot of \(r = 1 - \sin \theta\), using the same arc colorings in \(\theta\).

Example 24.3 (Rose curves) Consider the following functions: \[ f(\theta) = \sin \theta, \qquad f(\theta) = \sin 3 \theta, \qquad f(\theta) = \cos \theta, \quad \text{and} \quad f(\theta) = \cos 2 \theta, \] where all are understood on the domain \(0 \leq \theta \leq 2 \pi\). Which of these match with the following plots?

Answer

The circle along the \(x\)-axis is \(r = \cos \theta\), while the circle on the \(y\)-axis is \(r = \sin \theta\).

These are called rose curves. Why does the rose curve corresponding to \(r = \sin 3 \theta\) only appear to have three petals, while the one corresponding to \(r =\cos 2 \theta\) has four?

Hint

Do we really need the entire domain \(0 \leq \theta \leq 2 \pi\) to see the full picture?

Example 24.4 (Lines through the origin) Lines of the form \(y = mx\) can be nicely converted into polar coordinates. Since \(x \tan \theta = y\), the equation \(\tan \theta = m\) defines the line in polar coordinate—usually, one writes \(\theta = \tan^{-1}(m)\). Note that, in this instance, \(r\) is the free variable tracing out the line.

Notice how most of the above curves would be very difficult to write down in the usual Cartesian coordinates—that’s the whole point of switching to a new coordinate system! On the other hand, polar coordinates make some simple curves much harder to understand.

Lines not through the origin

Consider the line \(y = mx + b\). Substituting gives \(r \sin \theta = m r \cos \theta + b,\) and solving for \(r\) yields \[ r(\theta) = \frac{b}{\sin \theta - m \cos \theta}, \] which is the polar equation for the line.

If you find this alarming, don’t worry—we aren’t going to use polar coordinates for lines like these! This is a sort of cautionary tale: some coordinates are better suited to certain types of curves than others.

24.3 Area element in polar coordinates

In Cartesian coordinates, the area element has a simple form: \(dA = dx \, dy\). We use this impicitly when evaluating double integrals using Fubini’s theorem: \[ \iint_R f(x,y) \, dA = \int_a^b \int_{g_1(x)}^{g_2(x)} f(x,y) \, dy \, dx = \int_c^d \int_{h_1(y)}^{h_2(y)} f(x,y) \, dx \, dy. \]

In polar coordinates, the area element is slightly more complicated: \(dA = r \, dr \, d\theta\).

Hueristically, the \(r\) factor arises because the angle swept out by small changes in \(\theta\) grows as we move away from the origin, so that the increment \(r d\theta\) describes a segment of the region orthogonal to the radial increment \(dr\). See (Stewart et al. 2020, figs. 15.3.3–4) for a visual explanation.

In particular, note that the naive element \(dr \, d\theta\) has the wrong units!

Example 24.5 (Area of the unit circle) Write \(R\) for the region enclose by the unit circle. In Cartesian coordinates, we can compute the area by integrating the constant function \(1\): \[ \text{Area}(R) = \int_{-1}^1 \int_{-\sqrt{1-x^2}}^{\sqrt{1-x^2}} dy \, dx = 2 \int_{-1}^1 \sqrt{1-x^2} \, dx. \] In polar coordinates, we integrate over the polar rectangle \(0 \leq r \leq 1\) and \(0 \leq \theta \leq 2\pi\): \[ \text{Area}(R) = \int_0^{2\pi} \int_0^1 r \, dr \, d\theta. \] Which is easier to compute?

Polar integration (Stewart et al. 2020, 15.3.2)

If \(f(x,y)\) is a continuous function on a polar rectangle \(\alpha \leq \theta \leq \beta\) and \(a \leq r \leq b\), then \[ \iint_R f(x,y) \, dA = \int_\alpha^\beta \left( \int_a^b f(r \cos \theta, r \sin \theta) \, r \, dr \right) d\theta. \]

Example 24.6 (Volume under a surface) Consider the volume under \(f(x,y) = x^2+y^2\) and over the annulus \(R\) of inner radius \(1\) and outer radius \(2\).

Recalling the Pythagorean identity \(x^2 + y^2 = r^2\), we have \[ \begin{aligned} \iint_R (x^2+y^2) \, dA & = \int_0^{2\pi} \int_1^2 r^3 \, dr \, d\theta \\ & = \int_0^{2\pi} \left[ \frac{r^4}{4} \right]_1^2 d\theta \\ & = \int_0^{2\pi} \frac{15}{4} \, d\theta = \frac{15\pi}{2}. \end{aligned} \]