Is there a simpler way to integrate this?

  • Context: MHB 
  • Thread starter Thread starter aruwin
  • Start date Start date
  • Tags Tags
    Integrate
Click For Summary

Discussion Overview

The discussion revolves around finding simpler methods for evaluating multiple integrals, specifically focusing on the integrals of polynomial and rational functions over defined domains. Participants explore various approaches and express challenges encountered during the integration process.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks a simpler method for integrating the polynomial function (x + y + z)4 over a cubic domain and confirms their result of 104/5.
  • Another participant describes a step-by-step integration process for the same polynomial, arriving at the same result of 104/5, but does not propose an alternative method.
  • A new integral involving a rational function, (x - y)/(x + y)3, is introduced, with one participant expressing difficulty in decomposing the fraction.
  • One participant suggests rewriting the numerator to facilitate integration and emphasizes the importance of adhering to forum rules regarding thread topics.
  • Another participant reports obtaining an incorrect answer of -1/2 for the second integral and notes that the expected answer is undefined (infinity), prompting a discussion about the nature of improper integrals.
  • Concerns are raised about the cancellation of terms leading to incorrect results, particularly regarding the behavior of the function at the limits of integration.
  • One participant explains that the integral is improper due to the discontinuity of the function at the origin, which is within the limits of integration.
  • Another participant discusses the concept of improper integrals and the conditions under which they arise, specifically mentioning the behavior of the function 1/y as it approaches zero.

Areas of Agreement / Disagreement

Participants generally agree on the methods used for the first integral, with a confirmed result of 104/5. However, there is disagreement and uncertainty regarding the second integral, with multiple interpretations of its behavior and the nature of its convergence.

Contextual Notes

The discussion highlights the challenges of integrating functions with discontinuities and the implications for determining whether an integral is improper. Participants express uncertainty about the convergence of the integral and the effects of different approaches to integration.

Who May Find This Useful

Readers interested in advanced calculus, particularly those studying multiple integrals and improper integrals, may find the discussion relevant.

aruwin
Messages
204
Reaction score
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
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$.
 
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}
 
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.]
 
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:
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.
 
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?
 
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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 27 ·
Replies
27
Views
2K