Main content

### Course: Multivariable calculus > Unit 4

Lesson 6: Double integrals (articles)# Double integrals over non-rectangular regions

What makes double integrals tricky is finding the bounds in non-rectangular regions. Here we go through what that means and practice a few examples.

## Background

## What we're building to

- If you wish to perform an integral over a region of the
-plane that is not rectangular, you have to express each of the bounds of the inner integral as a function of the outer variable.$xy$ or alternatively,

## The trouble with non-rectangular regions

Consider the function

Its graph looks like this:

We will find the volume under a portion of this graph. Unlike the last article, this volume will not lie above a rectangular region on the $xy$ -plane. Instead, we will look for a volume whose base is a triangle. The triangle pictured below, to be specific.

This is a right isosceles triangle, one of whose legs connects the points $(0,0)$ and $(2,0)$ on the $x$ -axis, while the other leg connects the points $(2,0)$ and $(2,2)$ . The volume above this triangle and below the graph of $f(x,y)=x{y}^{2}$ looks like this:

This is similar to the problem I showed in the last article, which introduced the double integral. And indeed, the way to solve it is similar.

- Find a formula for slices of area using an integral.
- Use a second integral to add those infinitely many slices of area into a volume.

What gets tricky now is the bounds. For example, consider the slices of this volume which represent constant $x$ values. The following animation shows what these slices look like, as the constant $x$ -value varies back and forth between $0$ and $2$ .

The height of one of these slices changes based the height of the graph of $f(x,y)=x{y}^{2}$ above its base. But the length of the base of the slice also changes. For example, when $x=0.5$ , the value of $y$ at the base can range from $0$ to $0.5$ , as in the vertical red stripe pictured below.

Alternatively, when $x=1.5$ , the value of $y$ ranges from $0$ to $1.5$ :

This means when we set up an integral to find the area of one of these constant-$x$ -value slices,

**the upper bound is written in terms of**$x$ .As far as our computations are concerned, it's perfectly fine to have one of the bounds written in terms of $x$ . After all, we'll end up with an expression in terms of $x$ anyway. Go ahead and work out the integral for yourself:

From here, there is nothing new. Multiply this value by $dx$ to give it a little depth, and hence make it an infinitesimal volume. Then when we integrate it with respect to $x$ , the bounds are constants, $x=0$ and $x=2$ , since this is where the base of our triangle sits on the $x$ -axis.

The total volume is therefore $\frac{32}{15}}\approx 2.13$

## Integrating over a disk

Now let's try something a little harder: finding the volume under a graph bounded by the $xy$ -plane is all points $(x,y)$ such that

**unit disk**. The unit disk on theFor example, the volume underneath the graph

bound by the unit disk looks like this

Once again, consider slices of this volume which correspond to constant $x$ -values.

Think about what the base of each of these slices looks like on the $xy$ -plane. Each slice corresponds with some vertical stripe in the unit disk.

Using the pythagorean theorem, we can find the $y$ -values which determine the top and bottom of this stripe as a function of the $x$ -value that the stripe represents.

We can now find the area of one of these constant-$x$ -value slices by integrating $f(x,y)$ with respect to $y$ . Again, where this is different from the case of rectangular regions is that the bounds are each a function of $x$ .

**Concept check**: Which of the following integrals represents the area of a constant-

**Work through it**: This is a heavier computation than previous examples, but if you feel up to it, compute this integral to get a formula for the area of a constant-

The $x$ -values in the unit disk range from $x=-1$ to $x=1$ , so to find the volume we are looking for, integrate the expression you just found with respect to $x$ between the value $-1$ and $1$ . As before, you can imagine this as adding up many, many paper-thin volumes.

This turns out to be a tricky integral, but for pragmatism's sake we can solve it using any ol' computer algebra system or numerical integration tool, such as Wolfram Alpha.

Total volume:$\phantom{\rule{2em}{0ex}}}\begin{array}{r}{\int}_{-1}^{1}(6-2{x}^{2})\sqrt{1-{x}^{2}}{\textstyle \phantom{\rule{0.167em}{0ex}}}dx={\displaystyle \frac{11\pi}{4}}\approx 8.6394\end{array$

## Slice the other way: Shark fin region

Sometimes it's easier to consider constant-$y$ -value slices, which involves cutting your region in $xy$ -plane along horizontal stripes. For example, consider region of the $xy$ -plane satisfying the following properties:

This region kind of looks like a shark's dorsal fin:

The upper right corner of the region is where the curve $x={y}^{2}$ meets the line $x=y+2$ . That point is $(4,2)$ .

Let's find the volume of a solid that has this region as its footprint, and whose height is determined by a relatively simple multivariable function:

Here's what the volume looks like:

This time, imagine cutting constant-$y$ -value slices of this volume. This will give the area above a horizontal strip of our shark fin region, such as the one pictured below in red.

**Concept check**: If one of these horizontal stripes corresponds to a value

**Concept check**: Which of the following integrals represents the slice of area above one of these stripes, and under the graph of

**Concept check**: Solve this integral to find the area of the constant

**Concept check**: When we integrate this function of

**Bring it on home**: Solve this integral to find the volume of the region defined at the start of this section. (Feel free to use a calculator).

## Summary

When you need to perform a double integral over a non-rectangular region, follow these steps.

- Start by cutting your region along slices that correspond with holding one of the variables constant. For example, holding
at some constant value will give a vertical stripe of your region.$x$ - Find how to express the bounds of these stripes as a function of the other variable. For example, the top and bottom of a vertical stripe would be expressed as some function of
.$x$ - When you set up your double integral, the inner integral will correspond to integrating along one of these stripes, and each of its bounds will be a function of the outer variable. If the inner integral corresponds to constant-
-values, the double integral as a whole might look like this:$x$ Alternatively, if you started with horizontal constant- -value slices, the double integral might look like this:$y$

## Want to join the conversation?

- The second bullet point of the summary...."the top and bottom of a vertical stripe would be expressed as some function of y" this should be "as some function of x" shouldn't it?(6 votes)
- yo can do it eiter ways.. you can write the limits as the function of x and integrate it, or you can also write it in terms of y then integrate it. I think it is clear in third bullet point(1 vote)

- Hello friends, In the third bullet of the summary where above the first integral the text states "Evaluates to some function of y" I think it should be x. Also in the third bullet of the summary where above the second integral the text states "Evaluates to some function of x" I think it should be y. If you have doubts about this comment, just contrast the summary [as of April 2019] with what is written in "What we're building to." I think the comment on the text made by Mr. Robles has been fixed. Wonderful explanation of the topic. Best wishes to all.(5 votes)
- At the end of the summary, it says "horizontal constant-y-value" slices and it shows an inner integral of dy. But in the shark-fin example, our slices were also horizontal, though with an inner integral of dx. What's up?(3 votes)
- You are right, what they really meant at the end of the summary was "vertical constant-x-value" (as indicated by the "dy")(4 votes)

- I am completely puzzled. I don't know what

"Using the pythagorean theorem, we can find the yyy-values which determine the top and bottom of this stripe as a function of the xxx-value that the stripe represents."

is referring to. Why do we use it here and how did we get the picture of the stripe?(3 votes) - The arbitrary (any possible numbers) bounds on the integral ensure proportionality of the boundary of base area, which must be adhered to in the first place.

Thus, doing the integral yields the general formula for a constant x or y-slice.(2 votes) - What is the formal definition of a unit disk?(1 vote)
- Regarding the first function in this article, f(x,y)=xy^2 it seems the order of integration matters in this problem. In the computation in the article we obtained the answer x^4/3. No problem, I see that. But then I tried to compute with the bounds in terms of y first (I changed the order of integration) and integrate with respect to x and obtained y^4/2: And no matter what I do, I can't reconcile this outcome. One way the answer is 32/15 and the other way it is 32/10(1 vote)
- maybe you made a mistake since I tried to calculate as well in terms of y and got the same answer: 64/30 = 32/15(1 vote)

- Hi, just wondering if there is a trick for knowing if a region is rectangular or not?(1 vote)
- A region's rectangular if it looks like rectangle...(1 vote)