Why do some integrals require correction for extreme precision?

  • Context: Undergrad 
  • Thread starter Thread starter bobie
  • Start date Start date
  • Tags Tags
    Integrals Precision
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
bobie
Gold Member
Messages
720
Reaction score
2
I have read that even the simplest integrals (like y=x2) might need some correction if we want to reach an extreme precision. Is that really so?
Can you explain why or give me some useful links?
Thanks
 
Physics news on Phys.org
bobie said:
I have read that even the simplest integrals (like y=x2) might need some correction if we want to reach an extreme precision. Is that really so?
Can you explain why or give me some useful links?
Thanks

Define "extreme precision".

Integrals which can be done analytically (such as the integral of [itex]x^2[/itex]) cannot be more precise.

If you can only do an integral numerically then you are constrained by the fact that computers can only ever do a finite number of calculations on a finite subset of the rational numbers, so there's always going to be some error; the question is whether the error can be made small enough so that you can ignore it in the context of whatever your actual problem is.
 
  • Like
Likes   Reactions: 1 person
bobie said:
I have read that even the simplest integrals (like y=x2) might need some correction if we want to reach an extreme precision. Is that really so?
Can you explain why or give me some useful links?
Thanks

No. ## \int_a^b x^2 \,dx = 2(b - a) ## there is no "correction" involved.

Can you explain why you think this or give us a useful link?
 
bobie said:
I have read that even the simplest integrals (like y=x2) might need some correction if we want to reach an extreme precision. Is that really so?
If you use a numerical technique, the results are generally imprecise. As already mentioned in this thread, if you are lucky enough to know the antiderivative of the function you're integrating, the results will be exact.
bobie said:
Can you explain why or give me some useful links?
Thanks
There are lots of numerical methods for integration - trapezoid rule, Simpson's rule, many others. See http://en.wikipedia.org/wiki/Numerical_integration for more information.
 
collinsmark said:
Don't you mean,
[tex]\int_a^bx^2 dx = \frac{1}{3}\left( b^3 - a^3 \right)?[/tex]
Oops yes of course, thank you - now how did that happen? :blush: