Gaussian Integration Error

In summary, the error approximation in Gaussian integration is proportional to the 2nth derivative of the function at some point in the interval being integrated. However, this does not provide much information since the exact point of the derivative is unknown. Additionally, there is limited information on functions without this derivative, such as sqrt(x) in the interval (0,1). Creative approaches, such as a change of variable or breaking up the integral, can be used to handle singularities in these cases. Further resources on this subject are appreciated.
  • #1
Mr.Brown
67
0
Hi,

Im learning about gaussian integration right now but i can't really find anything about
the error approximation other than that it goes proportional to the 2nth derivative of the function at some point in the interval I am trying to integration the function over.
But that doesn't really help me since i don't know at which point the derivative is to be evaluated.

Also i don't learn anything about functions who don't have that derivative at any point in the interval like sqrt(x) in the interval (0,1) for example.

So if anyone knows any good resources about the subject id def appreciate if someone could help tell me :)

Thanks
 
Physics news on Phys.org
  • #2
Mr.Brown said:
Hi,

Im learning about gaussian integration right now but i can't really find anything about
the error approximation other than that it goes proportional to the 2nth derivative of the function at some point in the interval I am trying to integration the function over.
But that doesn't really help me since i don't know at which point the derivative is to be evaluated.
Yes, that is the way it goes. In order to exactly know the error you need to exactly know the value of the integral - if you knew that you wouldn't be doing it numerically!

EDIT: I was being a little flip about this. The error estimates can be useful for a couple of reasons. First, if you can bound your 2nth derivative, then the error formula allows you to bound the error. Second, such formulas allow you to compare different numerical approaches, although an integration formula with a better looking error term isn't necessarily better for a given function, but having the error terms are better than nothing.

Mr.Brown said:
Also i don't learn anything about functions who don't have that derivative at any point in the interval like sqrt(x) in the interval (0,1) for example.

So if anyone knows any good resources about the subject id def appreciate if someone could help tell me :)

Thanks
That is a great question. Unfortunately, I don't think there is a general way to deal with such "singularities." Sometimes a change of variable can get rid of it (try u = sqrt(x) ...). In a few special cases there may be nice formulas already - some of hte Gaussian integration formulas have singular kernels. Sometimes you may have to break up the integral into two pieces. For your example of an integral from 0 to 1 with a singularity at 0, make one integral from 0 to eps, and one from eps to 1. The integral from eps to 1 will be well behaved as long as eps doesn't get too close to zero, and your standard numerical approximations are happy. The integral from 0 to eps still has to be dealt with - perhaps over a small enough interval an adequate approximation to the integrand can be made that can be analytically integrated. I'm sure there are other approaches as well. The applicability of all of these depends on the specifics of the problem. So the case with singularities gives you a chance to be creative!

good luck,

jason
 
Last edited:

Related to Gaussian Integration Error

1. What is Gaussian Integration Error?

Gaussian Integration Error is an error that occurs when using the Gaussian integration method to approximate the value of a definite integral. It is the difference between the exact value of the integral and the value obtained through the Gaussian integration method.

2. How is Gaussian Integration Error calculated?

Gaussian Integration Error is calculated by taking the absolute value of the difference between the exact value of the integral and the value obtained through the Gaussian integration method.

3. What causes Gaussian Integration Error?

Gaussian Integration Error is caused by the approximation used in the Gaussian integration method. This method uses a finite number of sample points to approximate the integral, which can lead to errors if the function being integrated is complex or has sharp changes.

4. How can Gaussian Integration Error be reduced?

Gaussian Integration Error can be reduced by increasing the number of sample points used in the integration method. This will result in a more accurate approximation of the integral and reduce the error. Additionally, choosing a different integration method that is better suited for the specific function being integrated can also help reduce the error.

5. Is Gaussian Integration Error always present?

Yes, Gaussian Integration Error is always present when using the Gaussian integration method to approximate an integral. However, by using more sample points and choosing a suitable integration method, the error can be minimized and its impact on the final result can be reduced.

Similar threads

Replies
31
Views
993
  • Calculus
Replies
5
Views
2K
  • Calculus
Replies
28
Views
2K
Replies
5
Views
2K
Replies
5
Views
1K
Replies
3
Views
2K
Replies
20
Views
2K
Replies
23
Views
3K
Replies
3
Views
1K
Back
Top