Main content

### Course: Multivariable calculus > Unit 4

Lesson 6: Double integrals (articles)# Double integrals in polar coordinates

If you have a two-variable function described using polar coordinates, how do you compute its double integral?

## What we're building to

- When you are performing a double integral,if you wish to express the function
and the bounds for the region$f$ in polar coordinates${R}$ , the way to expand the tiny area$(r,\theta )$ is$dA$ (Pay attention to the fact that the variable is part of this expression)$r$ - Beyond that one rule, these double integrals are mostly about being careful to make sure the bounds of your integrals appropriately encode the region
.$R$ - Integrating using polar coordinates is handy whenever your function or your region have some kind of rotational symmetry. For example, polar coordinates are well-suited for integration in a disk, or for functions including the expression
.${x}^{2}+{y}^{2}$

## Example 1: Tiny areas in polar coordinates

Suppose we have a multivariable function defined using the polar coordinates $r$ and $\theta $ ,

And let's say you want to find the double integral of this function
in the region where

This is a disc of radius $2$ centered at the origin.

Written abstractly, here's what this double integral might look like:

You could interpret this as the volume underneath a paraboloid (the three-dimensional analog of a parabola), as pictured below:

The question is, what do we do with that ${dA}$ term?

Warning!: You might be tempted to replacewith ${dA}$ , since in cartesian coordinates we replace it with $d\theta {\textstyle \phantom{\rule{0.167em}{0ex}}}dr$ . But this is not correct! $dx{\textstyle \phantom{\rule{0.167em}{0ex}}}dy$

Remember what a double integral is doing: It chops up the region that we are integrating over into tiny pieces, and ${dA}$ represents the area of each one of those pieces. For example, chopping up our disc of radius $2$ might look like this:

Why did I choose to chop it in this spiderweb pattern, as opposed to using vertical and horizontal lines? Since we are in polar coordinates, it will be easiest to think about the tiny pieces if their edges represent either a constant $r$ value or a constant $\theta $ value.

Let's focus on just one of these little chunks:

Even though this little piece has a curve shape, if we make finer and finer cuts, we can basically treat it as a rectangle. The length of one side of this "rectangle" can be thought of as $dr$ , a tiny change in the $r$ -coordinate.

Using a differential $dr$ to describe this length emphasizes the fact that we are not really considering a specific piece, but instead we care about what happens as its size approaches $0$ .

But how long is the other side?

It's not $d\theta $ , a tiny change in the angle, because

**radians are not a unit of length**. To turn radians into a bit of arc length, we must**multiply by**$r$ .Therefore, if we treat this tiny chunk as a rectangle, and as $dr$ and $d\theta $ each approach $0$ it basically

*is*a rectangle, its area isPlugging this into our original integral, we get

Putting bounds on this region is relatively straight-forward in this example, because circles are naturally suited for polar coordinates. Since we wrote $d\theta $ in front of $dr$ , the inner integral is written with respect to $\theta $ . The bounds of this inner integral will reflect the full range of $\theta $ as it sweeps once around the circle, going from $0$ to $2\pi $ . The outer integral is with respect to $r$ , which ranges from $0$ to $2$ .

**Concept check**: Evaluate this double integral

## Example 2: Integrating over a flower

Define a two-variable function $f$ in polar coordinates as

Let $R$ be flower-shaped region, defined by

Solve the double integral

**Step 1**: Which of the following represents the right way to replace

**Step 2**: Now we must encode the fact that

**Step 3**: Solve this integral.

## Example 3: The bell curve

Are you ready for one of my favorite results in math? This is really quite clever.

Question: What is the integral? $\begin{array}{r}{\int}_{-\mathrm{\infty}}^{\mathrm{\infty}}{e}^{-{x}^{2}}{\textstyle \phantom{\rule{0.167em}{0ex}}}dx\end{array}$

This single integral is hard-to-impossible to compute directly. Just try to find the antiderivative!

This integral is asking about the area under a bell curve, which turns out to be super important for probability and statistics!

"What does this have to do with double integrals in polar coordinates?"

I hear you, my inquisitive friend, it does seem unrelated, doesn't it? Well, this is where someone got super clever.

Surprisingly, it is easier to solve this multi-dimensional analog of this problem. Namely, find the $xy$ -plane.

*volume*under a three-dimensional bell curve over the entireIf we keep everything in cartesian coordinates, this is as hard to solve as the original single integral.

However, something magical happens when we convert to polar coordinates.

**Concept check**: Express this double integral using polar coordinates.

Since the inner integral is with respect to $\theta $ , we can factor out everything with an $r$ in it, which in this case is the entire function:

**Concept check**: Find the antiderivative of

Notice, the reason you can now find an antiderivative is because of that little $r$ term that showed up due to the fact that $dA=r{\textstyle \phantom{\rule{0.167em}{0ex}}}d\theta {\textstyle \phantom{\rule{0.167em}{0ex}}}dr$ .

**Concept check**: Using this antiderivative, finish solving the integral which computes volume under a three-dimensional bell curve.

Isn't that a beautiful answer? It gets better, you can use this multi-dimensional result to solve the original single integral. Can you see how?

## Summary

- The only real thing to remember about double integral in polar coordinates is thatBeyond that, the tricky part is wrestling with bounds, and the nastiness of actually solving the integrals that you get. But those are the same difficulties one runs into with cartesian double integrals.
- The reason this is worth learning is that sometimes double integrals become simpler when you phrase them with polar coordinates, as was the case in the bell curve example.

## Want to join the conversation?

- how can we take limits in double integral through polar coordinates without drawing the diagram?(4 votes)
- I strongly recommend you to draw a diagram of the integration region. That way you reduce the likelihood of making a mistake in your limits of integration.(1 vote)

- I read in Wikipedia that in order to solve the guassian integral you have to make use of Fubini's Theorem, so can somene please give me a simple explanation of what that theorem is about?(3 votes)
- This is (10 months) late, but I figured I'd still answer for anyone wandering about the same question.

There are quite a few different ways to solve the Gaussian integral. The "standard" way does not need to use Fubini's theorem, however there are several other ways that do.

Fubini's theorem deals with when you can interchange integrals. In short, if you replace the integrand with its absolute value, and you obtain a finite value when you perform the double integral, then you can freely interchange the order of integrations.(3 votes)

- n other words, even if we don't know what the area under a bell curve is, we know that when you square it, you get the volume under a three-dimensional bell curve. But we just solved the volume under three-dimensional bell curve using polar-coordinate integration! We found that the volume was

π

πpi. Therefore, the original integral is

π

√

π

square root of, pi, end square root.

MAY I HAVE DETAILED EXPLANATION OF THE ABOVE MENTIONED PARAGRAPH?(3 votes)- Let the area of the bell curve be C. Then C^2 is a double integral that is easy to solve in polar coordinates. After computing C^2, we take the square root to find C, the area of the bell curve.(2 votes)

- In example 2, we first integrate over r and then over theta. How would the integration limits change if we decide to integrate over theta first followed by integration over r? I understand that in reality evaluating this integral might be very difficult/ impractical but nevertheless, I would at least like to formulate the problem.(3 votes)
- There is a link in the text at "Background" (Polar coordinates (video)) section, but the page doesn't exist(2 votes)
- Yeah, the closest thing I found was this, but I don't think that's the right one.

https://www.khanacademy.org/math/calculus-home/integration-applications-calc/area-defined-by-polar-graphs-calc/v/formula-area-polar-graph(2 votes)

- How do you graph polar equations in 3D? Because there's 2 inputs now.(1 vote)
- Correct. You cannot use polar coordinates to express a point in 3D.

To fix this, we add a third coordinate: z. Yeah, it's the same "z" you're used to- height above the xy plane. So, for 3D, we use the coordinates (r,θ,z). However, we don't call this coordinate system polar anymore. It's called the "cylindrical coordinate system", and you'll use it to integrate, well, cylinders with triple integrals. You'll also see a new coordinate system called the "spherical coordinate system" which is used for spheres and even cones(3 votes)

- I am having some trouble with the second example. If you accept the author's statement "since these are polar coordinates, r can only ever be positive" then if you graph r=cos(2*theta) you only get two lobes. If I accept r going negative, then do I obtain "signed" volumes as in single variable calc I can obtain signed areas? That way I can see the suggested answer of zero.(2 votes)
- why do we multiply with 2pi? is it always a step in polar coordinates?(1 vote)
- The 2pi in the upper bound comes from the fact that this polar curve has a domain for theta being in [0,2pi], since it makes one revolution once it reaches 2pi.(2 votes)

- Is there a formulation for this using the area of a sector?(1 vote)
- If we use area of a sector, we no longer have to integrate over r, only over theta. The solution is no longer a double integral. The incremental sector in this case is approximately a triangle and dA = (1/2)(r)(rdθ). We can verify this gives the area of a circle correctly by replacing r with its radius (a constant) and setting the limit of integration from 0 to 2π .(2 votes)

- I don't understand how the radial distance becomes rdθ. Arc length = diameter*(θ/2pi) = 2r(θ/2pi) = rθ/pi. Why does the pi disappear?(1 vote)
- Arc length equals $(\theta)/2(\pi) \cdot (\pi)(diameter)$. You missed the second $\pi$. So, the $\pi$ terms cancel out and you get r$\theta$.(2 votes)