How can I simplify the second integral to make it less than ε?

  • Context: Graduate 
  • Thread starter Thread starter Inertigratus
  • Start date Start date
  • Tags Tags
    Error Integral
Click For Summary

Discussion Overview

The discussion revolves around the simplification of an integral from 0 to ∞, specifically focusing on how to manipulate the second integral to ensure its value is less than a specified ε. Participants explore various approaches to set bounds for the integral and determine an appropriate value for C.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents an integral and attempts to simplify it to find a value of C such that the integral from C to ∞ is less than ε.
  • Another participant questions the definition of f(x) and the origin of the term 3xe^{-x^3} in the context of integration by parts.
  • A participant suggests that while 3xe^{-x^3} < 3xe^{-x} is true, the two functions differ significantly, leading to different integral results.
  • There is a proposal to use 3x²e^{-x^3} as an upper bound for the integral, leading to a different value for C.
  • Participants express confusion regarding the relationship between the original function and its approximations, particularly in terms of their respective integrals.
  • Discussion includes the idea that the sum of the integrals of separate terms should equal the integral of the combined function, but there is uncertainty about how to apply this in the context of their calculations.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correctness of the inequalities or the relationship between the original integral and its approximations. Multiple competing views remain regarding the appropriate bounds and the implications of separating the integrals.

Contextual Notes

There are limitations regarding the definitions of terms and the assumptions made in the integration process. The discussion highlights unresolved mathematical steps and the need for careful consideration of the components of the integrals involved.

Inertigratus
Messages
123
Reaction score
0
Hi,

I have an integral from 0 to ∞ and divided into two integrals, one from 0 to C and one from C to ∞.
I'm trying to simplify the second integral so that I can solve for C to make the integral less than ε.
\int\frac{1-e^{-x^{3}}}{x^{2}} = -xf(x) + \int 3xe^{-x^{3}} &lt; \int 3xe^{-x} = -3xe^{-x} + \int 3e^{-x} &lt; \int 3e^{-x} = -3e^{-x} &lt; ε
For ε = 1e^-6 and limits from C to ∞ this gives me: 3e^{-C} &lt; 10^{-6} \Rightarrow C ≥ ln(3) + 6ln(10) ≈ 15.
However, Wolfram gives me that the value of the integral from 15 to ∞ is ≈0.0667 which is far from 1e^-6.

Is my inequality wrong?
 
Physics news on Phys.org
Inertigratus said:
Hi,

I have an integral from 0 to ∞ and divided into two integrals, one from 0 to C and one from C to ∞.
I'm trying to simplify the second integral so that I can solve for C to make the integral less than ε.
\int\frac{1-e^{-x^{3}}}{x^{2}} = -xf(x) + \int 3xe^{-x^{3}} &lt; \int 3xe^{-x} = -3xe^{-x} + \int 3e^{-x} &lt; \int 3e^{-x} = -3e^{-x} &lt; ε
For ε = 1e^-6 and limits from C to ∞ this gives me: 3e^{-C} &lt; 10^{-6} \Rightarrow C ≥ ln(3) + 6ln(10) ≈ 15.
However, Wolfram gives me that the value of the integral from 15 to ∞ is ≈0.0667 which is far from 1e^-6.

Is my inequality wrong?

Hi !

Difficult to answer if the term f(x) is not defined in the equation.
And where the int 3x exp(-3 x^3) is it coming from ?
 
JJacquelin said:
Hi !

Difficult to answer if the term f(x) is not defined in the equation.
And where the int 3x exp(-3 x^3) is it coming from ?

f(x) is the whole thing in the first integral and the rest is integration by parts.
The primitive function of x^-2 is -x^-1 then I use integration by parts on exp(-x^3)*x^-2 by letting h(x) = exp(-x^3) and g'(x) = x^-2 which gives h(x)g(x) - ∫h'(x)g(x)dx.
h(x)g(x)*(-x^-1) is the term that I refer to as -xf(x).
 
OK. It's clear.
3x exp(-x^3) < 3x exp(-x) is true, but the two functions are too much different.
For example, case x=2.5 : 3x exp(-x^3)=0.00000123 while 3x exp(-x)=0.616
So, it is not surpristng that the result of the respective integrals be very far from one to the other.
I suggest 3x exp(-x^3) < 3x² exp(-x^3)
Integral (from x=C to infinity) of 3x²exp(-x^3) dx = exp(-C^3)= 10^(-6)
Leading to C= 2.4
Integral (from x=2.4 to infinity) of 3x exp(-x^3) dx = 4*10^(-7) approximately
 
JJacquelin said:
OK. It's clear.
3x exp(-x^3) < 3x exp(-x) is true, but the two functions are too much different.
For example, case x=2.5 : 3x exp(-x^3)=0.00000123 while 3x exp(-x)=0.616
So, it is not surpristng that the result of the respective integrals be very far from one to the other.
I suggest 3x exp(-x^3) < 3x² exp(-x^3)
Integral (from x=C to infinity) of 3x²exp(-x^3) dx = exp(-C^3)= 10^(-6)
Leading to C= 2.4
Integral (from x=2.4 to infinity) of 3x exp(-x^3) dx = 4*10^(-7) approximately

I thought it would be good to be far off since if the approximation (the far off function) is supposed to be less then ε, then the original integral should be much less then ε, right?
Good suggestion, didn't think of it... remember though that the original function, f(x) is (1 - exp(-x^3))/x^2. The integral of that one from 2.4 to infinity is approx. 0.417 according to WolframAlpha. But that's what I don't understand, how can the integral of the original function be larger then that of the approximated function (which is larger)?
0.417 is much larger then 10^-7?
http://goo.gl/1TcPa (you have to put a parenthesis around 1 - exp(...))
 
remember though that the original function, f(x) is (1 - exp(-x^3))/x^2. The integral of that one from 2.4 to infinity is approx. 0.417 according to WolframAlpha. But that's what I don't understand, how can the integral of the original function be larger then that of the approximated function (which is larger)?
0.417 is much larger then 10^-7?
No,what you call "the original function" is no longer (1 - exp(-x^3))/x^2 because you took apart the term 1/x².
The tail of this term 1/x² is :
Integal (from x=2.4 to infinity) of dx/x² = 1/2.4 = 0.417
With C=2.4, the tail of the term -exp(-x^3)/x² is what was said in my previous post : less than 10^-7.

If you consider the whole function (1 - exp(-x^3))/x^2 , it is completely different : You must not integrate 1/x² separately.
Start with (1 - exp(-x^3))/x^2 < 1/x²
Integral (x=C to infinity) of 1/x² = 1/C = 10^-6
C= 10^6
Integral (from x=10^6 to infinity) of ((1 - exp(-x^3))/x^2)dx = 10^-6 approximately
 
JJacquelin said:
No,what you call "the original function" is no longer (1 - exp(-x^3))/x^2 because you took apart the term 1/x².
The tail of this term 1/x² is :
Integal (from x=2.4 to infinity) of dx/x² = 1/2.4 = 0.417
With C=2.4, the tail of the term -exp(-x^3)/x² is what was said in my previous post : less than 10^-7.

If you consider the whole function (1 - exp(-x^3))/x^2 , it is completely different : You must not integrate 1/x² separately.
Start with (1 - exp(-x^3))/x^2 < 1/x²
Integral (x=C to infinity) of 1/x² = 1/C = 10^-6
C= 10^6
Integral (from x=10^6 to infinity) of ((1 - exp(-x^3))/x^2)dx = 10^-6 approximately

Oh, I see. I partly understand but I'm still a bit confused, isn't the sum of the integrals of 1/x2 and -exp(-x^3)/x2 not the same as the integral of (1-exp(-x^3))/x2 ? Which means I should be able to calculate them separately and add them up?
Thanks!
 
Inertigratus said:
Oh, I see. I partly understand but I'm still a bit confused, isn't the sum of the integrals of 1/x2 and -exp(-x^3)/x2 not the same as the integral of (1-exp(-x^3))/x2 ? Which means I should be able to calculate them separately and add them up?
Thanks!

First : If you consider the tail of (1-exp(-x^3))/x²
Of course, you are able to calculate separately the integrals and add them up.
But, also you are able to calculate separately the tail of each of them and add them up.
Not only one of the two tails has to be < 10-6 , but the sum of the two.

Second : On another viewpoint, you could say : I know exactly the integral of 1/x², which is -1/x. So there is no error on this part. As a consequence, I am interested only about the error on the integral of (-exp(-x^3))/x. It is completely different : The tail considered is only the tail of the integral of (-exp(-x^3))/x. As already shown, C=2.4 and this is to be tested NOT with the whole function (1-exp(-x^3))/x but on the part (-exp(-x^3))/x .The integral (from x=2.4 to infinity) of (-exp(-x^3))/x is < 10^-6 as expected.
 
JJacquelin said:
First : If you consider the tail of (1-exp(-x^3))/x²
Of course, you are able to calculate separately the integrals and add them up.
But, also you are able to calculate separately the tail of each of them and add them up.
Not only one of the two tails has to be < 10-6 , but the sum of the two.

Second : On another viewpoint, you could say : I know exactly the integral of 1/x², which is -1/x. So there is no error on this part. As a consequence, I am interested only about the error on the integral of (-exp(-x^3))/x. It is completely different : The tail considered is only the tail of the integral of (-exp(-x^3))/x. As already shown, C=2.4 and this is to be tested NOT with the whole function (1-exp(-x^3))/x but on the part (-exp(-x^3))/x .The integral (from x=2.4 to infinity) of (-exp(-x^3))/x is < 10^-6 as expected.

I think I understand now, thanks again!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 24 ·
Replies
24
Views
6K
Replies
2
Views
3K