Main content

## Multivariable calculus

### 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 x, y-plane that is not rectangular, you have to express each of the bounds of the inner integral as a function of the outer variable.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 x, y-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 left parenthesis, 0, comma, 0, right parenthesis and left parenthesis, 2, comma, 0, right parenthesis on the x-axis, while the other leg connects the points left parenthesis, 2, comma, 0, right parenthesis and left parenthesis, 2, comma, 2, right parenthesis. The volume above this triangle and below the graph of f, left parenthesis, x, comma, y, right parenthesis, equals, x, y, squared 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, left parenthesis, x, comma, y, right parenthesis, equals, x, y, squared above its base. But the length of the base of the slice also changes. For example, when x, equals, 0, point, 5, the value of y at the base can range from 0 to 0, point, 5, as in the vertical red stripe pictured below.

Alternatively, when x, equals, 1, point, 5, the value of y ranges from 0 to 1, point, 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 d, x 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, equals, 0 and x, equals, 2, since this is where the base of our triangle sits on the x-axis.

The total volume is therefore start fraction, 32, divided by, 15, end fraction, approximately equals, 2, point, 13

## Integrating over a disk

Now let's try something a little harder: finding the volume under a graph bounded by the

**unit disk**. The unit disk on the x, y-plane is all points left parenthesis, x, comma, y, right parenthesis such thatFor 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 x, y-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, left parenthesis, x, comma, y, right parenthesis 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-x-value slice of the volume we are looking for?

**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-x-value slice, as a function of x.

The x-values in the unit disk range from x, equals, minus, 1 to x, equals, 1, so to find the volume we are looking for, integrate the expression you just found with respect to x between the value minus, 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: $\qquad \begin{aligned} \int_{-1}^1 (6- 2x^2) \sqrt{1-x^2} \,dx = \dfrac{11\pi}{4} \approx 8.6394 \end{aligned}$

## Slice the other way: Shark fin region

Sometimes it's easier to consider constant-y-value slices, which involves cutting your region in x, y-plane along horizontal stripes. For example, consider region of the x, y-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, equals, y, squared meets the line x, equals, y, plus, 2. That point is left parenthesis, 4, comma, 2, right parenthesis.

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 y, what are the bounds on the x-value of the stripe? That is, what are the x-coordinates of the left and right ends of this line as a function of y?

**Concept check**: Which of the following integrals represents the slice of area above one of these stripes, and under the graph of f, left parenthesis, x, comma, y, right parenthesis, equals, x, plus, 2, y, as a function of y?

**Concept check**: Solve this integral to find the area of the constant y-value slices of our volume.

**Concept check**: When we integrate this function of y to get the total volume, what bounds should we use?

**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 x at some constant value will give a vertical stripe of your region.
- 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-x-values, the double integral as a whole might look like this:Alternatively, if you started with horizontal constant-y-value slices, the double integral might look like this:

## 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)
- 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)