The most accurate integral for the value of pi

In summary, the conversation discusses using integrals to approximate the value of pi. It is mentioned that floating-point algorithms are usually accurate and precise, but may require a lot of work. The conversation also mentions using Simpson's rule and a theorem to determine the number of terms needed to compute pi to a certain number of decimal places. However, it is noted that there are faster algorithms based on infinite sums. Additionally, while there is a proof for the irrationality of pi based on an integral, there is no proof based on a sum.
  • #1
stef.grob
1
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
  • #2
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.
 
  • #3
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.
 

FAQ: The most accurate integral for the value of pi

How is the most accurate integral for the value of pi calculated?

The most accurate integral for the value of pi is calculated using various mathematical methods, such as the Chudnovsky algorithm or the Gauss-Legendre algorithm. These algorithms use a series of calculations to approximate the value of pi with increasing accuracy.

What is the current most accurate integral for the value of pi?

The current most accurate integral for the value of pi is approximately 31.4 trillion digits, calculated by the Chudnovsky algorithm in 2019.

How does the accuracy of the integral affect the value of pi?

The accuracy of the integral directly affects the value of pi, as a more accurate integral calculation will result in a more precise value of pi. However, because pi is an irrational number with infinite digits, it is impossible to find the exact value.

Can the most accurate integral for the value of pi ever be fully calculated?

No, the most accurate integral for the value of pi cannot be fully calculated as pi is an irrational number with infinite digits. However, with the advancement of technology and mathematical algorithms, we can get closer and closer to the true value of pi.

What is the significance of finding the most accurate integral for the value of pi?

Finding the most accurate integral for the value of pi is significant in the field of mathematics and science as it helps to understand the properties and applications of this fundamental constant. It also showcases the capabilities of mathematical algorithms and technology in solving complex problems.

Back
Top