Getting a double integral over a region

In summary, the conversation discusses a problem with finding the limits of integration for a double integral. The region is bounded by different curves and the goal is to evaluate the integral of a given function over this region. Different approaches are discussed, including using a formula for converting integrals and using polar coordinates. The final answer is found to be simpler than initially thought and the correct limits of integration are determined. The conversation ends with a realization that the original statement of the problem was incorrect, but valuable discussion and problem-solving still occurred.
  • #1
Emspak
243
1

Homework Statement


Let B [itex]\in[/itex] ℝ2

the region is bounded by [itex]x^2 + y^2 = 4, \ x^2 + y^2 = 1, \ x^2 = y, \ 2x^2 = y[/itex]

evaluate

[tex]\iint \limits_{B}\frac {2x^2+y^2}{xy}[/tex]The attempt at a solution

I needed to get the limits of integration. I used the following formula to start with:

[tex]\iint \limits_{B}f \circ g = \iint \limits_{B}(f \circ g) J (f \circ g) [/tex]

So I let [itex]s = y-x^2, \ t=1-x^2 - y^2[/itex] as those are easy to work with at the start. I do the following:

[itex]\frac{\partial (s,t)}{\partial (x,y)}= \begin{vmatrix}
-2x & 1\\
-2x & -2y\\
\end{vmatrix}[/itex]

The determinant gets me [itex]4xy +2x[/itex] and the inverse of that is [itex]\frac {1}{4xy +2x}[/itex]

So I put it all together thus:
[tex]\iint \limits_{B}\frac {2x^2+y^2}{xy}\frac {1}{4xy +2x} = \iint \limits_{B}\frac {2x^2+y^2}{4x^2y^2+2x^2y}[/tex]

To get the integration limits I look at where the various curves meet. In the case of y=x2 and x2+y2=1 it's at (-1/√2, 1/√2) and the parabola meets the other circle at (-√2, √2). The y=2x2 curve meets the circles at (-1/√3, √2/√3) and (-2/√3, 2√2/√3).

so the limits of x are -1/√3 to -√2 and y is from 1/√2 to 2√2/√3.

That gives me

[tex]\int\limits_{-1/\sqrt{3}}^{-\sqrt{2}}\int\limits_{1/\sqrt{2}}^{2\sqrt{2}/\sqrt{3}} \frac {2x^2+y^2}{4x^2y^2+2x^2y}\,dy\,dx[/tex]

So my question is, what I did wrong here :-) since odds are there is something.

Thanks in advance.
 
Physics news on Phys.org
  • #2
I just realized i think I should have set the y-limits as

y=x^2 and y=2x^2

rather than the numbers I had -- yes?
 
  • #3
I don't understand what you've done. You introduced s and t and calculated the Jacobian, so next I expected to see an integral written entirely in terms of s, t, ds, dt. But you continued with x, y, dx, dy, producing an integral which is clearly different from the one you started with.
My inclination would be just to convert to polar. The tricky bit will be determining the range for theta as a function of r.
 
  • #4
Hmmm. Let's say I convert to polar coordinates. i get this, them using x=rcosθ and y=rsinθ:

[tex]\iint \limits_{B}\frac {2r\cos^2\theta+r\sin^2\theta}{r\cos\theta r\sin\theta}[/tex]
or
[tex]\iint \limits_{B}\frac {2r\cos^2\theta+r\sin^2\theta}{r^2\cos\theta\sin\theta}\,dr\,d\theta = 1[/tex]

To do the limits of integration I can then use the parabola and the circle, where instead of [itex]y = x^2, \ 1=x^2 + y^2[/itex] I can use [itex]r\sin\theta = r^2\cos\theta[/itex] and [itex]r\cos^2\theta+r\sin^2\theta = 1[/itex]

The Jacobian would then look like this:
[itex]\frac{\partial (r,θ)}{\partial (θ,r)}= \begin{vmatrix}
\sec^2\theta & \frac {r}{1 + r^2}\\
0 & \cos^2\theta+\sin^2\theta\\
\end{vmatrix}[/itex]

How are we doing so far?
 
  • #5
You haven't done the conversion to polar coordinates correctly. If x = r*cos (theta), what is x^2 in polar coordinates? Ditto y.
 
  • #6
Dammit, you're right. It should be

[tex]\iint \limits_{B}\frac {2r^2\cos^2\theta+r^2\sin^2\theta}{r^2\cos\theta\sin\theta}[/tex]


So geting back to the limits of integration, [itex]y = x^2, \ 1=x^2 + y^2[/itex] I can use [itex]r\sin\theta = r^2\cos\theta[/itex] and [itex]r\cos^2\theta+r\sin^2\theta = 1[/itex] and r goes to 1 in the second equation.

The Jacobian would then look like this:
[itex]\frac{\partial (r,θ)}{\partial (θ,r)}= \begin{vmatrix}
r\sec^2\theta & \frac {r}{1 + r^2}\\
0 & 0\\
\end{vmatrix}[/itex] with a determinant of 0, though, no?
 
  • #7
Emspak said:
Dammit, you're right. It should be

[tex]\iint \limits_{B}\frac {2r^2\cos^2\theta+r^2\sin^2\theta}{r^2\cos\theta\sin\theta}[/tex]


So geting back to the limits of integration, [itex]y = x^2, \ 1=x^2 + y^2[/itex] I can use [itex]r\sin\theta = r^2\cos\theta[/itex] and [itex]r\cos^2\theta+r\sin^2\theta = 1[/itex] and r goes to 1 in the second equation.

The Jacobian would then look like this:
[itex]\frac{\partial (r,θ)}{\partial (θ,r)}= \begin{vmatrix}
r\sec^2\theta & \frac {r}{1 + r^2}\\
0 & 0\\
\end{vmatrix}[/itex] with a determinant of 0, though, no?
No.

In going from Cartesian coordinates: x, y to polar: r, θ the Jacobian is the well known r .

I.e. ##\displaystyle \ \int\int_B f(x,y)dxdy → \int\int_B f(r\cos\theta,\,r\sin\theta)r\,drdθ ##

As you should know, the differentials which are included as part of the integration symbolism are very important. You have dropped them altogether.


Frankly, I'm not convinced that polar coordinates are the way to go. They very well might work. After all haruspex has an excellent reputation as a Homework Helper here at PF. But I'm having difficulty working with the boundaries, y = 2x2 and y = x2 and converting them to workable integration limits for θ .


I suggest sketching a graph of region B. When I did that I noticed that region B consists of two two separate disjoint regions. One in Quadrant I, the other in Quadrant II. Is region B limited to Quadrant I ?

Do you have some additional instructions regarding this problem? -- instructions you haven't shared with us?


Going back to your initial attempt: It's usually the boundaries that you want to convert from curves to straight line segments. Of course, the resulting integrand needs to be reasonable to work with.
 
  • #8
When I first saw this problem I was tempted to ask the OP whether it was copied correctly. The natural change of variables would be ##u = x^2 + y^2,\, v = \frac y {x^2}##. That gives a rectangular region in the ##uv## plane: ##1\le u\le 4,\, 1 \le v \le 2##. But after changing the variables it is still a mess in the integrand, making me wonder if it was posted correctly.
 
  • #9
I just realized I forgot a very important bit about which quadrant it was in: the original problem says it is quadrant 2.

I also realized that I posted the original problem slightly wrong -- and the "real" version is a lot simpler. The integrand to be evaluated is:

[tex]\iint \limits_{B}\frac {2x^2+4y^2}{xy}[/tex]

Either way, I screwed up going to polar coordinates. Argh. But if you don't, let's look at this another way: would the limits of integration be, in the x-coordinate (the inner integral) something like x=√y and x=√y/√2?

(I'm sorry I posted this wrong and wasted people's time)
 
  • #10
LCKurtz said:
When I first saw this problem I was tempted to ask the OP whether it was copied correctly. The natural change of variables would be ##u = x^2 + y^2,\, v = \frac y {x^2}##. That gives a rectangular region in the ##uv## plane: ##1\le u\le 4,\, 1 \le v \le 2##. But after changing the variables it is still a mess in the integrand, making me wonder if it was posted correctly.

OK, I corrected the statement of the problem. You said the natural change of variables would be as above.

So what's the next step? Plainly I have zero idea. What you did gives me integration limits, right?
 
  • #11
Emspak said:
OK, I corrected the statement of the problem. You said the natural change of variables would be as above.

So what's the next step? Plainly I have zero idea. What you did gives me integration limits, right?

Yes, do you see why? What happens when you calculate$$
J=\frac{\partial(u,v)}{\partial(x,y)}$$ and put ##\frac 1 J## in the integrand to change the variables to ##u## and ##v##?
 
  • #12
Emspak said:
I just realized I forgot a very important bit about which quadrant it was in: the original problem says it is quadrant 2.

I also realized that I posted the original problem slightly wrong -- and the "real" version is a lot simpler. The integrand to be evaluated is:

[tex]\iint \limits_{B}\frac {2x^2+4y^2}{xy}[/tex]

You continue to leave the differentials, in this case, dxdy, out of your integral expressions .

It's ##\ \displaystyle \iint \limits_{B}\frac {2x^2+4y^2}{xy}\textbf{dx dy} \ .##
 
  • #13
$$
J=\frac{\partial(u,v)}{\partial(x,y)}$$

gets me

[itex]\frac{\partial (s,t)}{\partial (x,y)}= \begin{vmatrix}
2x & 2y\\
\frac{y}{3x^2} & \frac{1}{x^2}\\
\end{vmatrix}[/itex]

and the determinant is $$\frac{2}{x} - \frac{2y^2}{3x^2}$$ or $$\frac{6x-2y^2}{3x^2}$$

and the inverse is $$\frac{3x^2}{6x-2y^2}$$

am I multiplying this by the original integrand?
 
  • #14
Write down your substitution: ##s = x^2+y^2,\, t = \frac y {x^2}## so we can follow your work.

Emspak said:
$$
J=\frac{\partial(s,t)}{\partial(x,y)}$$

gets me

[itex]\frac{\partial (s,t)}{\partial (x,y)}= \begin{vmatrix}
2x & 2y\\
\frac{y}{3x^2} & \frac{1}{x^2}\\
\end{vmatrix}[/itex]

Nope. Get it right.

and the determinant is $$\frac{2}{x} - \frac{2y^2}{3x^2}$$ or $$\frac{6x-2y^2}{3x^2}$$

and the inverse is $$\frac{3x^2}{6x-2y^2}$$

am I multiplying this by the original integrand?

You might want to read what the original change of variables theorem says to understand what to do next.
 
  • #15
LCKurtz said:
Nope. Get it right.

Which are you referring to here? I am not trying to be obtuse. I really just want to now what I did wrong in getting that matrix. If I knew I wouldn't ask, you know? But at this point I am just lost. Taking a derivative of u and v relative to x and y (as per what you used in your substitution) got me the matrix above, no? Is that what is wrong? THe derivative of t w/r/t y is 1/x2, isn't it?

(I did look at the original theorem. That isn't helping me much right now).

At this point I am just lost as all get out.
 
  • #16
Emspak said:
$$
J=\frac{\partial(u,v)}{\partial(x,y)}$$

gets me

[itex]\frac{\partial (s,t)}{\partial (x,y)}= \begin{vmatrix}
2x & 2y\\
\frac{y}{3x^2} & \frac{1}{x^2}\\
\end{vmatrix}[/itex]
...
If ##\displaystyle \ t=\frac{y}{x^2}\,,\
## then ##\displaystyle \ \frac{\partial t}{\partial x} = \frac{-2y}{x^3}
##
 
  • #17
OK, thanks, SammyS, I realize what I did wrong there, a least.
So my matrix should look like:

[itex]\frac{\partial (s,t)}{\partial (x,y)}= \begin{vmatrix}
2x & 2y\\
\frac{-2y}{x^3} & \frac{1}{x^2}\\
\end{vmatrix}[/itex]

correct? And the determinant should then be $$ \frac{2}{x} - \frac{-4y^2}{x^3}$$ which can be reduced to $$ \frac{2x^2+4y^2}{x^3}$$ and the inverse of that is $$ \frac{x^3}{2x^2+4y^2}$$

have I at least got that right?

and if so, what I am trying to understand is what the next step is. I have an inverse of the Jacobian matrix, yes?

$$\iint \limits_{B}\frac {2x^2+4y^2}{xy}\frac{x^3}{2x^2+4y^2}\,dx \ dy$$

which simplifies down to

[tex]\iint \limits_{B}\frac {x^2}{y}\,dx \ dy[/tex] and the final integrand should look like this:

[tex]\int \limits_1^4 \int \limits_{x^2}^{2x^2} \frac {x^2}{y}\,dx \ dy[/tex]

I THINK I am starting to get this but I am not entirely sure, and reading the change of variables theorem wasn't terrifically enlightening. Because the change of variables formula actually looks rather different from what I have done here.
 
  • #18
Emspak said:
OK, thanks, SammyS, I realize what I did wrong there, a least.
So my matrix should look like:

[itex]\frac{\partial (s,t)}{\partial (x,y)}= \begin{vmatrix}
2x & 2y\\
\frac{-2y}{x^3} & \frac{1}{x^2}\\
\end{vmatrix}[/itex]

...
$$ \frac{2x^2+4y^2}{x^3}$$ and the inverse of that is $$ \frac{x^3}{2x^2+4y^2}$$

have I at least got that right?
Yes, that's right -- if you write it as a matrix, not a determinant.

and if so, what I am trying to understand is what the next step is. I have an inverse of the Jacobian matrix, yes?
Not exactly. You could do that. It's a lot of work. But you only need the determinant of the inverse of this matrix. That's simply the multiplicative inverse of the determinant of the above Jacobian matrix.

$$\iint \limits_{B}\frac {2x^2+4y^2}{xy}\frac{x^3}{2x^2+4y^2}\,dx \ dy$$
At this point the variables of integration have been changed to s and t, so you should have
## \displaystyle \iint \limits_{B}\frac {2x^2+4y^2}{xy}\frac{x^3}{2x^2+4y^2}\,ds \, dt
##​
with the understanding that the integrand is to be in terms of the variables on integration, s and t .

the rest id wrong, since it's not integrated over s and t.
which simplifies down to

[tex]\iint \limits_{B}\frac {x^2}{y}\,dx \ dy[/tex] and the final integrand should look like this:

[tex]\int \limits_1^4 \int \limits_{x^2}^{2x^2} \frac {x^2}{y}\,dx \ dy[/tex]

I THINK I am starting to get this but I am not entirely sure, and reading the change of variables theorem wasn't terrifically enlightening. Because the change of variables formula actually looks rather different from what I have done here.
For that last integraand: What is ##\displaystyle \ \frac {x^2}{y}\ ## in terms of s and t ?
 
  • #19
well, $$t=\frac{y}{x^2}\ $$ and $$ s= x^2 + y^2 $$

and since $$ x^2 = \frac{y}{t} $$

I end up with

[tex]\int \limits_1^4 \int \limits_{x^2}^{2x^2} \frac {1}{t}\,ds \ dt[/tex]

and substituting in the integrand limits

[tex]\int \limits_1^4 \int \limits_{\frac{y}{t}}^{2\frac{y}{t}} \frac {1}{t}\,ds \ dt[/tex]

so far so good?
 
  • #20
Emspak said:
well, $$t=\frac{y}{x^2}\ $$ and $$ s= x^2 + y^2 $$

and since $$ x^2 = \frac{y}{t} $$

I end up with

[tex]\int \limits_1^4 \int \limits_{x^2}^{2x^2} \frac {1}{t}\,ds \ dt[/tex]

and substituting in the integrand limits

[tex]\int \limits_1^4 \int \limits_{\frac{y}{t}}^{2\frac{y}{t}} \frac {1}{t}\,ds \ dt[/tex]

so far so good?
The limits of integration are incorrect.

Look back to see why LCKurtz suggested this change of variables in the first place.
 
  • #21
Emspak said:
and the final integrand should look like this:

[tex]\int \limits_1^4 \int \limits_{x^2}^{2x^2} \frac {x^2}{y}\,dx \ dy[/tex]

I THINK I am starting to get this but I am not entirely sure, and reading the change of variables theorem wasn't terrifically enlightening. Because the change of variables formula actually looks rather different from what I have done here.

You seriously need to study the change of variable theorem. The idea is to change an integral over a region in the ##xy## plane to an integral over a region in the ##st## plane which is easier to evaluate. If you have ##x## and ##y## in terms of ##s## and ##t## then$$
\iint_R f(x,y)dydx = \iint_W f(x(s,t),y(s,t)) |J|dsdt$$where ##J## is the Jacobian$$
\frac{\partial(x,y)}{\partial(s,t)}$$Your new integral will only have ##s## and ##t## variables.

In this problem you have ##s## and ##t## in terms of ##x## and ##y## and the Jacobian you have calculated is$$
\frac{\partial(s,t)}{\partial(x,y)}$$which is not the Jacobian you need, but luckily it is the reciprocal of what you need.

So get the x and y's out of that final integral and get the correct limits on it for s and t and you will be there.
 
  • #22
Emspak said:
[tex]\int \limits_1^4 \int \limits_{x^2}^{2x^2} \frac {1}{t}\,ds \ dt[/tex]
When changing variables, it's important to keep track of what variable the range refers to. The above reads like [tex]\int _{s=1}^4 \int _{t=x^2}^{2x^2} \frac {1}{t}\,ds \ dt[/tex], but that's wrong. What you have arrived at is:
[tex]\int _{s=1}^4 \int _{y=x^2}^{2x^2} \frac {1}{t}\,ds \ dt[/tex]
Now substitute for y using s and t.
 
  • #23
SammyS said:
The limits of integration are incorrect.

Look back to see why LCKurtz suggested this change of variables in the first place.

[tex]\int \limits_1^4 \int \limits_{x^2}^{2x^2} \frac {1}{t}\,ds \ dt[/tex]

I need to get the x and y variables out of there. Since we said

[tex]s= x^2 + y^2[/tex] and [tex] t = \frac{y}{x^2} [/tex]

so
[tex]y= \sqrt{s - x^2}[/tex] and [tex] y = \frac{t}{x^2} [/tex]

[tex]\int \limits_1^4 \int \limits_\frac{t}{x^2}^{\frac{2t}{x^2}} \frac {1}{t}\,ds \ dt[/tex]

although i think i might have the order of integration wrong.
 
  • #24
Emspak said:
[itex]t = \frac{y}{x^2} [/itex] so [itex] y = \frac{t}{x^2} [/itex]
No, try that again.
[tex]\int \limits_1^4 \int \limits_\frac{t}{x^2}^{\frac{2t}{x^2}} \frac {1}{t}\,ds \ dt[/tex]
You're still not substituting the range correctly. If one end of the range is y = x2, and you are substituting y = tx2, what does that give you for t?
 
  • #25
so y = tx2 (that was bad algebra on my part) so the end of the range is t = y / x2, which would be the lower limit. SInce the upper limit is y = 2x2 and in terms of t that's 2x2 / y , yes?
 
  • #26
Emspak said:
so y = tx2 (that was bad algebra on my part) so the end of the range is t = y / x2, which would be the lower limit. SInce the upper limit is y = 2x2 and in terms of t that's 2x2 / y , yes?

Look:

One of the boundaries of B is y = 2x2 .

But ##\displaystyle \ t =\frac{y}{x^2} .##

Plug y = 2x2 into that.So t = ?
 
  • #27
Ah, so t = 2, right? Gawd. I feel like I am simply stupid after this.
 
  • #28
Emspak said:
Ah, so t = 2, right? Gawd. I feel like I am simply stupid after this.

Hey. This is how we learn this stuff.


Now go back and review this thread -- in particular where LCKurtz came up with the change of coordinates.

While that set of coordinates follows pretty naturally for the region, B, notice that the expression you posted initially, before correcting the problem, -- that first expression still would have been a mess to work with, even with this nice set of coordinates.
 

Related to Getting a double integral over a region

1. What is a double integral?

A double integral is a type of mathematical operation that involves finding the area or volume of a 2-dimensional or 3-dimensional region, respectively. It is represented by the symbol ∫∫ and involves integrating a function over a specific region.

2. How is a double integral different from a single integral?

A single integral is used to find the area under a curve on a 2-dimensional plane, while a double integral is used to find the volume under a surface in 3-dimensional space. Double integrals involve integrating in two directions, typically over a rectangular or polar region, rather than just one direction like a single integral.

3. What is the purpose of finding a double integral over a region?

Finding a double integral over a region is useful in many scientific and mathematical applications, such as calculating the volume of a solid object, finding the average value of a function over a specific area, or determining the probability of an event occurring in a given region. It is also used in physics and engineering to solve problems involving quantities such as force, electric charge, and mass.

4. How do you set up a double integral over a region?

To set up a double integral over a region, you first need to determine the limits of integration for both the inner and outer integrals. This involves identifying the boundaries of the region and choosing appropriate variables to represent the limits. Then, you need to determine the integrand, which is the function being integrated, and the type of integration (rectangular or polar) based on the region's shape. Finally, you can set up the double integral using the appropriate notation.

5. What are some common methods for evaluating double integrals?

There are several methods for evaluating double integrals, including the rectangular method, the polar method, and the change of variables method. The rectangular method involves splitting the region into smaller rectangles and integrating over each one. The polar method involves converting the rectangular coordinates to polar coordinates and integrating over the polar region. The change of variables method involves substituting variables to transform the integrand into a simpler form. Other methods, such as using symmetry or using a computer program, may also be used depending on the specific problem.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
931
  • Calculus and Beyond Homework Help
Replies
2
Views
600
  • Calculus and Beyond Homework Help
Replies
6
Views
916
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
567
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
640
  • Calculus and Beyond Homework Help
Replies
1
Views
509
  • Calculus and Beyond Homework Help
Replies
1
Views
544
  • Calculus and Beyond Homework Help
Replies
20
Views
557
Back
Top