Double Integral Evaluation: Why Do We Integrate with Respect to y First?

Click For Summary

Homework Help Overview

The discussion revolves around evaluating a double integral and understanding the order of integration with respect to the variables involved. Participants are exploring the implications of integrating first with respect to y versus x, and how this affects the results of their calculations.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Some participants attempt to evaluate the double integral by integrating with respect to y first, while others argue for integrating with respect to x first based on the order of the variables in the integral notation.
  • Questions arise regarding the correctness of the results obtained and the reasoning behind the choice of integration order.
  • There is a suggestion to reconsider the geometric interpretation of the problem to clarify the integration bounds and their implications.

Discussion Status

The discussion is ongoing, with participants sharing their attempts and results. Some have expressed confusion over the correct method and the results they are obtaining, while others are providing insights into the geometric aspects of the problem. There is no clear consensus on the correct approach yet, but several participants are actively engaging with the material and questioning their assumptions.

Contextual Notes

Participants note potential issues with the problem statements, suggesting that there may be typos or misinterpretations in the bounds of integration. The discussion includes references to specific integral forms and the necessity of understanding the geometric context to resolve the confusion.

DryRun
Gold Member
Messages
837
Reaction score
4
Homework Statement
Evaluate the double integral:
http://s1.ipicture.ru/uploads/20111224/K3MGcdS7.jpg

The attempt at a solution

Consider x as constant, first integrate w.r.t.y.

I get
[tex]\frac{xy^2}{2}[/tex]
After evaluating the integral with limits y=0 to y=y, i get the same exact answer.

Then, i integrate the above w.r.t.x

I get
[tex]\frac{x^2 y^2}{4}[/tex]
Applying the limits x=0 to x=1

I get the final answer as:
[tex]\frac{y^2}{4}[/tex]

However, the answer in my notes says: 1/8

Also, i don't understand why i must always first integrate w.r.t.y then w.r.t.x and not vice versa?
 
Physics news on Phys.org
sharks said:
Homework Statement
Evaluate the double integral:
http://s1.ipicture.ru/uploads/20111224/K3MGcdS7.jpg

The attempt at a solution

Consider x as constant, first integrate w.r.t.y.
No. You need to integrate with respect to x first. That is the significance of dx coming before dy.
sharks said:
I get
[tex]\frac{xy^2}{2}[/tex]
After evaluating the integral with limits y=0 to y=y, i get the same exact answer.

Then, i integrate the above w.r.t.x

I get
[tex]\frac{x^2 y^2}{4}[/tex]
Applying the limits x=0 to x=1

I get the final answer as:
[tex]\frac{y^2}{4}[/tex]

However, the answer in my notes says: 1/8

Also, i don't understand why i must always first integrate w.r.t.y then w.r.t.x and not vice versa?

It depends on the order of dx and dy in the iterated integral.
In this integral you integrate with respect to x first, and then y.
[tex]\int \int f(x,y) dx~dy[/tex]

Here you integrate with respect to y first, and then x.
[tex]\int \int f(x,y) dy~dx[/tex]
 
Hi Mark44

Using your method, i get the final answer:
[tex]\frac{x^2}{4}[/tex]
which is wrong.

OK, for argument's sake (and to clear up my confusion), let's just consider another example:
http://s1.ipicture.ru/uploads/20111224/VxWfVW7H.jpg

From what you tell me, the answer should be: 2-2x
Again, this is wrong. So, something about your method doesn't add up.
 
Last edited:
sharks said:
Hi Mark44

Using your method, i get the final answer:
[tex]\frac{x^2}{4}[/tex]
which is wrong.

How did you get that final answer? It has to be a number. Have you substituted the upper and lower bounds after integration with respect to x?

ehild
 
sharks said:
Hi Mark44

Using your method, i get the final answer:
[tex]\frac{x^2}{4}[/tex]
which is wrong.

The answer should be numerical. First integrate wrt x, treating y as a constant. Then evaluate the definite integral between the bounds 0 and y, which means substituting y for x in that expression to get a form that only has y in it. Finally integrate that expression wrt y with the bounds 0,1.

OK, for argument's sake (and to clear up my confusion), let's just consider another example:
http://s1.ipicture.ru/uploads/20111224/VxWfVW7H.jpg

From what you tell me, the answer should be: 2-2x
Again, this is wrong. So, something about your method doesn't add up.

As it is written, the answer is 2 - 2x. This is because the inner bound with the sqrt(x) leaves the variable x in the integral after integrating wrt x and evaluating for the bounds, and it persists after the final integration wrt y.
 
OK, i got the correct numerical answer for the first problem:
http://s1.ipicture.ru/uploads/20111224/K3MGcdS7.jpg

However, for the second problem:
http://s1.ipicture.ru/uploads/20111224/VxWfVW7H.jpg
The answer in my notes is numerical: 6/7
The solution (according to my notes): The variable x is considered as constant and then integrate w.r.t.y (which is the other way round to what I've been led to believe in this thread!). I'm confused.
 
The problem looks like it was copied or written wrong, then. It doesn't make sense to integrate with respect to x, and then plug in a function of x as a bound. My guess (and you'll have to check with your instructor) is that the second problem is supposed to be:

[tex]\int_0^1 \int_\sqrt{x}^1 12xy^2 dy dx[/tex]
 
sharks said:
I'm confused.

I think you have a problem with the geometry so I believe you should focus on it for now rather than the algebra: Suppose I said I want the volume underneath the function [itex]f(x,y)=12 x^2[/itex] that lies between the curves [itex]y_1(x)=\sqrt{x}[/itex] and [itex]y_2(x)=1[/itex] from the points x=0 to x=1. Now forget about the integrals for now. Just draw that, nicely. Label everything. Now go back to your text and study how the double integral is defined as either:

[tex]\int_{x_1}^{x_2}\int_{y_1(x)}^{y_2(x)} f(x,y)dydx[/tex]

or if instead I have the functions in terms of y as [itex]x_1(y)[/itex] and [itex]x_2(y)[/itex] from the points [itex]y_1[/itex] to [itex]y_2[/itex]:

[tex]\int_{y_1}^{y_2}\int_{x_1(y)}^{x_2(y)} f(x,y)dxdy[/tex]

and then adapt your problem to one of those.
 
Last edited:
gb7nash said:
The problem looks like it was copied or written wrong, then. It doesn't make sense to integrate with respect to x, and then plug in a function of x as a bound. My guess (and you'll have to check with your instructor) is that the second problem is supposed to be:

[tex]\int_0^1 \int_\sqrt{x}^1 12xy^2 dy dx[/tex]
I agree.
 
  • #10
gb7nash said:
The problem looks like it was copied or written wrong, then. It doesn't make sense to integrate with respect to x, and then plug in a function of x as a bound. My guess (and you'll have to check with your instructor) is that the second problem is supposed to be:

[tex]\int_0^1 \int_\sqrt{x}^1 12xy^2 dy dx[/tex]
Of course, evaluating this does not give the result 6/7.
 
  • #11
OK, thank you all for your help. I think it is a typo error then. I will email my instructor.

Best wishes for the holidays!:smile:
 
  • #12
gb7nash said:
The problem looks like it was copied or written wrong, then. It doesn't make sense to integrate with respect to x, and then plug in a function of x as a bound. My guess (and you'll have to check with your instructor) is that the second problem is supposed to be:

http://s1.ipicture.ru/uploads/20111224/VxWfVW7H.jpg

Actually, I think this was an intentional error. If you draw the region, you'll find that you can change the integral to

[STRIKE]∫010y^2 12xy2 dx dy

Evaluation of this integral DOES result in 6/7.[/STRIKE]
 
Last edited:
  • #13
I'm struggling to understand the basic concepts here. Without a solid foundation, i can't proceed with further sections in double integrals and i have to study triple integrals after that. Can someone please give me a definitive answer?
 
  • #14
Sorry. I made a mistake earlier. It should be

010√x 12xy2 dy dx

which results in 8/7.

Whenever you have a double integral, you should just treat it as an integral within an integral.

01√x1 12xy2 dx dy

= ∫01 (∫√x1 12xy2 dx) dy

As with a regular integral:

ab f'(x,y) dx

a represents the lower bound and b represents the upper bound with respect to x. In the case of general regions, instead of having a line as the lower bound, the lower bound is, instead, a curve.

Whenever there is a multiple integrals over a general region, you want all the variables to disappear by the end of the integration. In other words, when f(x) is one of the bounds on an integral, there had better be a dx on one of the outer layer of the nested integral.

In your case, the bounds with respect to x is √x to 1. The only outer layer is an integral with respect to y. This is a problem, since integrating outside with respect to y does not get rid of the function of x in the x-bound. The only choice here is to change how the region of integration is defined.

If you draw the region on a piece of paper, you'll find that the region of integration is the inner section of the upper region of a horizontal parabola, with vertex at (0,0), cut off at the line x=1. One easy way rewrite the bounds is to have the y run from 0 to √x. Then the x bounds run from 0 to 1. This means that you'll be integrating with respect to y on the inner layer of the integral, and you'll be integrating with respect to x on the outer layer.

010√x 12xy2 dy dx

= ∫01(∫0√x 12xy2 dy) dx

= ∫01 (4xy3 |y=0y=√x) dx

= ∫01 (4xx3/2) dx

= ∫01 4x5/2 dx

= 4 (2/7) x7/2 |01

= 8/7

Keep in mind that the integral you wrote down:

http://s1.ipicture.ru/uploads/20111224/VxWfVW7H.jpg

doesn't actually make sense by itself. My interpretation is just one way to crunch numerical results out of the nonsensical integral.
 
Last edited:
  • #15
OK, I'm beginning to see a clearer pathway of reasoning. However, the first problem appears to be a trick question, since it has 2 possible answers??
 
  • #16
sharks said:
OK, I'm beginning to see a clearer pathway of reasoning. However, the first problem appears to be a trick question, since it has 2 possible answers??

No, there is just one answer -- 1/8, the same as in your notes.

After the first (inner) integration, you should get y3/2. After integrating that with respect to y, you should get y4/8, which you evaluate at 1 and at 0, resulting in the final answer of 1/8.


sharks said:
Homework Statement
Evaluate the double integral:
http://s1.ipicture.ru/uploads/20111224/K3MGcdS7.jpg

The attempt at a solution

Consider x as constant, first integrate w.r.t.y.

I get
[tex]\frac{xy^2}{2}[/tex]
After evaluating the integral with limits y=0 to y=y, i get the same exact answer.

Then, i integrate the above w.r.t.x

I get
[tex]\frac{x^2 y^2}{4}[/tex]
Applying the limits x=0 to x=1

I get the final answer as:
[tex]\frac{y^2}{4}[/tex]

However, the answer in my notes says: 1/8

Also, i don't understand why i must always first integrate w.r.t.y then w.r.t.x and not vice versa?
 
  • #17
OK, i got it. Thanks to all.
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
Replies
10
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K