What Are the Error Approximations in Gaussian Integration?

Click For Summary
SUMMARY

The discussion focuses on error approximations in Gaussian integration, specifically addressing the proportionality of the error to the 2nth derivative of the function being integrated. Participants highlight the challenge of evaluating the derivative at a specific point, particularly for functions like sqrt(x) that lack derivatives at certain points within the integration interval. Suggestions include bounding the 2nth derivative to estimate error and employing techniques such as variable substitution or breaking the integral into segments to handle singularities effectively.

PREREQUISITES
  • Understanding of Gaussian integration techniques
  • Familiarity with numerical methods for integration
  • Knowledge of derivatives and their applications in error analysis
  • Basic concepts of singularities in mathematical functions
NEXT STEPS
  • Research bounding techniques for 2nth derivatives in Gaussian integration
  • Explore variable substitution methods for handling singularities in integrals
  • Learn about numerical integration methods that accommodate singular functions
  • Investigate error estimation formulas specific to Gaussian quadrature
USEFUL FOR

Mathematicians, numerical analysts, and students studying numerical integration techniques, particularly those dealing with functions that exhibit singular behavior.

Mr.Brown
Messages
66
Reaction score
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
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:

Similar threads

  • · Replies 31 ·
2
Replies
31
Views
5K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
7
Views
3K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K