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

In summary, when evaluating a double integral, it is often more efficient to integrate with respect to y first. This is because the limits of integration for y are typically constants, making the integration process simpler and faster. Additionally, integrating with respect to y first allows for a clearer understanding of the shape of the region being integrated, as the y-axis is typically the vertical axis. This approach also allows for easier application of the fundamental theorem of calculus, as the inner integral can be evaluated as a function of y before integrating with respect to x. Overall, integrating with respect to y first can save time and provide a better understanding of the integral being evaluated.
  • #1
DryRun
Gold Member
838
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
  • #2
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]
 
  • #3
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:
  • #4
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
 
  • #5
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.
 
  • #6
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.
 
  • #7
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]
 
  • #8
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:
  • #9
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.
 

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

What is a double integral?

A double integral is a type of mathematical operation that calculates the volume under a surface in two-dimensional space. It is represented by a double integral symbol and is used to find the total value of a function over a given area.

How is a double integral evaluated?

A double integral is evaluated by breaking down the given area into smaller rectangles and calculating the value of the function at the corner points of each rectangle. These values are then multiplied by the area of the corresponding rectangle and added together to find the total value of the double integral.

What is the difference between a single integral and a double integral?

A single integral calculates the area under a curve in one dimension, while a double integral calculates the volume under a surface in two dimensions. A single integral has only one variable of integration, while a double integral has two variables of integration.

What are the applications of double integrals in real life?

Double integrals have many applications in fields such as physics, engineering, economics, and computer graphics. They are used to calculate the center of mass of an object, find the volume of a solid, calculate the work done by a force, and create 3D models, among other things.

Are there any techniques for simplifying the evaluation of double integrals?

Yes, there are several techniques for simplifying the evaluation of double integrals, such as changing the order of integration, using symmetry properties, and using the substitution method. These techniques can help reduce the complexity of the integral and make it easier to evaluate.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
247
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
634
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
459
  • Calculus and Beyond Homework Help
Replies
17
Views
3K
  • Calculus and Beyond Homework Help
Replies
4
Views
956
  • Calculus and Beyond Homework Help
Replies
6
Views
966
  • Calculus and Beyond Homework Help
Replies
20
Views
699
  • Calculus and Beyond Homework Help
Replies
24
Views
2K
Back
Top