Is there a simpler way to integrate this?

  • MHB
  • Thread starter aruwin
  • Start date
  • Tags
    Integrate
In summary, the integral is improper because the function becomes infinite at the origin, which is one of the limits of integration. Specifically, the function $y^{-1}$ becomes infinite at the left end of the interval.
  • #1
aruwin
208
0
Hi, I was wondering if there's a simpler way to integrate this? I got the answer by expanding one by one but that's such a long process! I got the answer 104/5 which is correct,though.


∫∫∫D (x + y + z)^4 dxdydz
D = {(x,y,z) | -1≤ x ≤1, -1≤y≤1, -1≤z≤ }
 
Physics news on Phys.org
  • #2
aruwin said:
Hi, I was wondering if there's a simpler way to integrate this? I got the answer by expanding one by one but that's such a long process! I got the answer 104/5 which is correct,though.


∫∫∫D (x + y + z)^4 dxdydz
D = {(x,y,z) | -1≤ x ≤1, -1≤y≤1, -1≤z≤1 (?) }
I don't see any quicker method than to integrate one variable at a time: $$\begin{aligned}\int_{-1}^1 \int_{-1}^1 \int_{-1}^1 (x+y+z)^4dx\,dy\,dz &= \int_{-1}^1 \int_{-1}^1 \Bigl[ \tfrac15(x+y+z)^5\Bigr]_{x=-1}^1dy\,dz \\ &= \int_{-1}^1 \int_{-1}^1 \tfrac15\bigl((1+y+z)^5 - (-1+y+z)^5\bigr)\,dy\,dz \\ &= \int_{-1}^1 \tfrac15 \Bigl[\tfrac16(1+y+z)^6 -\tfrac16(-1+y+z)^6\Bigr]_{y=-1}^1dz \\ &= \int_{-1}^1 \tfrac1{30}\bigl((2+z)^6 -2z^6 + (-2+z)^6\bigr)\,dz \\ &= \tfrac1{30}\Bigr[\tfrac17(2+z)^7 -\tfrac27z^7 + \tfrac17(-2+z)^7\Bigr]_{-1}^1 \\ &= \tfrac1{210}(3^7 - 1 - 4 - 1 + 3^7) = \tfrac{4368}{210}, \end{aligned}$$ which cancels down to $\tfrac{104}5$.
 
  • #3
Opalg said:
I don't see any quicker method than to integrate one variable at a time: $$\begin{aligned}\int_{-1}^1 \int_{-1}^1 \int_{-1}^1 (x+y+z)^4dx\,dy\,dz &= \int_{-1}^1 \int_{-1}^1 \Bigl[ \tfrac15(x+y+z)^5\Bigr]_{x=-1}^1dy\,dz \\ &= \int_{-1}^1 \int_{-1}^1 \tfrac15\bigl((1+y+z)^5 - (-1+y+z)^5\bigr)\,dy\,dz \\ &= \int_{-1}^1 \tfrac15 \Bigl[\tfrac16(1+y+z)^6 -\tfrac16(-1+y+z)^6\Bigr]_{y=-1}^1dz \\ &= \int_{-1}^1 \tfrac1{30}\bigl((2+z)^6 -2z^6 + (-2+z)^6\bigr)\,dz \\ &= \tfrac1{30}\Bigr[\tfrac17(2+z)^7 -\tfrac27z^7 + \tfrac17(-2+z)^7\Bigr]_{-1}^1 \\ &= \tfrac1{210}(3^7 - 1 - 4 - 1 + 3^7) = \tfrac{4368}{210}, \end{aligned}$$ which cancels down to $\tfrac{104}5$.

Yeap,that's how I got it :)
Ok, what about this one right here? This seems a little more complicated because there's fraction which is hard to decompose. Can you help me out with this one?

J = ∫∫D [(x-y)/(x+y)^3] dxdy

D = {(x,y) | 0 ≤x≤1, 0≤y≤1}
 
  • #4
aruwin said:
Ok, what about this one right here? This seems a little more complicated because there's fraction which is hard to decompose. Can you help me out with this one?

J = ∫∫D [(x-y)/(x+y)^3] dxdy

D = {(x,y) | 0 ≤x≤1, 0≤y≤1}
I would write the numerator as $x-y = (x+y)-2y$. Then the fraction becomes $(x+y)^{-2} -2y(x+y)^{-3}$, which you can easily integrate with respect to $x$.

[But before both of us get into trouble with the Moderators, you should in future stick to the forum rule that tells you to start a new thread if you want to ask a new question.]
 
  • #5
Opalg said:
I would write the numerator as $x-y = (x+y)-2y$. Then the fraction becomes $(x+y)^{-2} -2y(x+y)^{-3}$, which you can easily integrate with respect to $x$.

[But before both of us get into trouble with the Moderators, you should in future stick to the forum rule that tells you to start a new thread if you want to ask a new question.]

Sorry, I thought that because this is basically about multiple integrals, maybe I could just continue it here.
Ok, I have decomposed the fractions successfully and I got the answer -1/2 which is wrong. The answer given to me is undefined (infinity). Is there any explanation to this?
 
Last edited:
  • #6
aruwin said:
Ok, I have decomposed the fractions successfully and I got the answer -1/2 which is wrong. The answer given to me is undefined (infinity). Is there any explanation to this?
Ah, yes, I didn't notice it before, but this is a tricky question. If you follow my previous hint then you get $$\begin{aligned} \int_0^1 \int_0^1 \frac{x-y}{(x+y)^3}\,dx\,dy &= \int_0^1 \int_0^1 \bigl((x+y)^{-2} - 2y(x+y)^{-3}\bigr)\,dx\,dy \\ &= \int_0^1 \Bigl[-(x+y)^{-1} + y(x+y)^{-2}\Bigr]_{x=0}^1dy \\ &= \int_0^1 \bigl(-(y+1)^{-1} + \rlap{\color{red}/}y^{-1} + y(y+1)^{-2} - \rlap{\color{red}/}y^{-1}\bigr)\,dy. \end{aligned}$$

If you now cancel those $y^{-1}$s and integrate, then you get the answer -1/2 (which is wrong). However, some alarm bells should have started to sound when you did the cancellation, because the y-integral goes from 0 to 1, and the function $y^{-1}$ becomes infinite at the left end of that interval.

Another cause for concern is that if you use the same method to do the y-integral first, before the x-integral, then you would end up with the result +1/2 rather than -1/2. (You don't actually have to do the calculation to see that. Just observe that the function $(x-y)/(x+y)^3$ is anti-symmetric: it changes sign when you interchange $x$ and $y$.)

What all this shows is that this integral is an improper integral. The function becomes infinite at the origin, which is at one corner of the domain of integration. As with functions of a single variable, you have to be very cautious with such integrals, and ensure that the improper integral converges. In this case, it does not.
 
  • #7
Opalg said:
If you now cancel those $y^{-1}$s and integrate, then you get the answer -1/2 (which is wrong). However, some alarm bells should have started to sound when you did the cancellation, because the y-integral goes from 0 to 1, and the function $y^{-1}$ becomes infinite at the left end of that interval.

How do we determine that this integral is improper and how do you know that the function $y^{-1}$ becomes infinite at the left end of that interval?
 
  • #8
I would risk saying it's a bit of practice. The function $1/y$ has a discontinuity at the origin, thus if zero is one of the limits of integration then we'd have an improper integral. Improper integrals tend to happen when we want to integrate the function where it isn't defined, leading to questions if it converges.

We know $y^{-1}$ becomes infinite at the left end of the interval because $$\lim_{y \to 0^+} \frac{1}{y} = + \infty.$$

Cheers.
 

Related to Is there a simpler way to integrate this?

1. Can you explain the process of integration in simpler terms?

Integration is a mathematical method used to find the area under a curve. It involves breaking down a complex shape or function into smaller, simpler parts and adding them together to find the total area.

2. How can I make the integration process more efficient?

There are several strategies that can make integration simpler and faster, such as using substitution, integration by parts, or trigonometric identities. It is important to practice and become familiar with these techniques in order to use them effectively.

3. Is there a specific order in which I should approach integration?

Typically, it is best to start with simpler and more basic functions and then move on to more complex ones. It is also helpful to break down the function into smaller parts and use specific integration techniques for each part.

4. Are there any common mistakes to avoid when integrating?

One common mistake is forgetting to add the constant of integration when finding the antiderivative. It is also important to be careful with signs and exponents, and to double check your work for any errors.

5. Can technology be used to simplify the integration process?

Yes, there are several software and online tools available that can help with integration, such as Wolfram Alpha or Desmos. However, it is important to understand the concepts and steps involved in integration rather than solely relying on technology.

Similar threads

Replies
2
Views
398
Replies
3
Views
767
Replies
1
Views
2K
Replies
3
Views
442
Replies
12
Views
1K
Replies
20
Views
2K
Replies
1
Views
1K
Replies
8
Views
324
Replies
5
Views
1K
Replies
2
Views
1K
Back
Top