The most accurate integral for the value of pi

  • Context: High School 
  • Thread starter Thread starter stef.grob
  • Start date Start date
  • Tags Tags
    Integral Pi Value
Click For Summary
SUMMARY

The most accurate integral for calculating the value of pi is given by the equation ∫_0^1 √(1 - x²) dx = π/4. This integral is commonly taught in calculus and can be evaluated using numerical methods such as Simpson's rule to achieve high precision. While floating-point algorithms can compute pi to infinite accuracy within a specified tolerance, they require significant computational effort for small tolerances. Efficient algorithms for pi calculation are predominantly based on infinite sums rather than integrals.

PREREQUISITES
  • Understanding of calculus, specifically integral calculus
  • Familiarity with numerical methods, particularly Simpson's rule
  • Knowledge of floating-point arithmetic and its implications
  • Basic concepts of infinite series and their convergence
NEXT STEPS
  • Research the application of Simpson's rule for numerical integration
  • Explore floating-point algorithms for computing pi with varying tolerances
  • Study efficient infinite sum algorithms for pi, such as the Bailey-Borwein-Plouffe formula
  • Investigate proofs of pi's irrationality based on integral calculus
USEFUL FOR

Mathematicians, students in calculus courses, numerical analysts, and anyone interested in advanced methods for calculating pi accurately.

stef.grob
Messages
1
Reaction score
0
Hey all we doing some work with integrals and Our lecturar mentioned that one can get a answer for pi using integrating, my question is what would that integral be, and wot is the most accurate? I've gotten it till 3 decimal places.
 
Physics news on Phys.org
Floating-point algorithms for computing pi are usually infinitely accurate and precise -- if you give the algorithm a tolerance a, it will give you a floating-point number within the interval (pi-a, pi+a).

It's just that if the tolerance is small, it takes a lot of work.

This is actually one of the things you learn in calculus class. You know, for example:
[tex]\int_0^1 \sqrt{1 - x^2} \, dx = \frac{\pi}{4}[/tex]

If you wanted to apply Simpson's rule to this integral to compute, say, 5 decimal digits of pi, there's a theorem you can invoke that will tell you how many terms you need to use. You have to take extra care, because you will probably introduce extra error in your calculation -- your calculus class only gives you a brief introduction to the field of numerical calculation.



I don't know of any integral-based approximations that are efficient, though. The fastest algorithms tend to be based on infinite sums.
 
Hurkyl said:
I don't know of any integral-based approximations that are efficient, though. The fastest algorithms tend to be based on infinite sums.

On the other hand, I don't know a proof that pi is irrational based on a sum for pi, only a proof based on an integral.
 

Similar threads

Replies
1
Views
944
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
28
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K