What is the formula for "pi"?

I saw a method once that relied on pi cropping up in a statistical context (it might have been the Monte Carlo circle area, but I seem to recall it being more complicated than that), so if you took (for instance) a bunch of random digits, you could use those digits to produce an estimate of pi. The brainstorm idea that turns this from a merely bad method to a spectacularly pessimal method is to use the digits of pi themselves as the source of your random numbers. IIRC, the person doing this started with a file of the first million digits of pi as an input, and was able from that to determine a value of pi accurate to 3 digits (3.14).

:smack: Is there a term for the opposite of “boot-strap process”?

I’ve seen something similar on my current Computer Algebra course: a method for finding increasingly narrow bounds for p which, unless I’m missing something, actually relies on the correct value of p to compute those bounds. :smack:

Refining and refining towards the nicest possible proof, the last step of post #51 can be simplified. To wit, derive arctan(1) - (-1)[sup]n[/sup] times the integral from 0 to 1 of u[sup]2n[/sup]/(1 + u[sup]2[/sup]) = 1 - 1/3 + 1/5 - … + (-1)[sup]n-1[/sup]/(2n - 1) just as before. Then observe that this already establishes that the partial sums of the series 1/1 - 1/3 + 1/5 - 1/7 + … alternate between being above and being below arctan(1). This means the deviation at any point is bounded by the next term, and thus, as the terms clearly approach 0, we can conclude that the series itself approaches arctan(1), as desired.

Actually, if you look closely, you’ll see that SGT42 said something a little different from what everyone else has said. Unfortunately, this is not to SGT42’s advantage… :slight_smile:

Good point! :smiley:

Maybe he was listening to this guy when he posted? Mind you, we spell his name differently here in Canada (you know, like centre instead of center).

Is there a way to reformulate the polygonal method of solving for Pi into calculus terms? And how quickly does that method converge on Pi?

I believe this is glossed over easily because there’s not a diagram of a unit circle to make this obvious. Proofs explained purely as text are not as intuitive.

Yes, this is a good point.

Wolfram has several examples of pi. More than the wikipedia page about pi.

Actually, this method works perfectly. It’s just superfluous, because any calculator with the function would have the constant.

Here’s the one thing I could never figure out. If you have a series that you know converges to pi, how can you calculate how many terms of that series you’ll need to get pi out to a specific number of decimal places?

You calculate it by doing the calculations. Each series converges at a different rate so there’s no overall way of knowing. I don’t believe that you can predict exactly how fast a new series will converge without actually running the numbers step and step.

This is true for all converging series, to my understanding.

Certainly not true for all series. For instance, consider the Zeno series: 1/2 + 1/4 + 1/8 + 1/16 + … = 1. Every new term gives you exactly one more binary digit of accuracy.

I believe that for most series used in practice for calculating things like pi, that it is known precisely how fast it converges, but the method for determining that probably isn’t systematic (you’d need to figure it out for each series, and knowing how to figure it out for one won’t necessarily help you figure it out for another).

At least I did better than you. When I was majoring in undergrad chemistry, which required a couple of semesters of physics (I always used to sleep thru that one, because between my HS physics and my outside reading in relativity, et al., I aced the physics tests and labs without ever cracking the book), I realized that this from chemistry, combined with that from physics, implied something else. After a few minutes of doing the calculus, I started to recognize the math I was coming up with and said “Aww, [expletive]! Stephen Hawking won the Nobel Prize in Physics a couple of decades back for the something else!” I don’t remember exactly what the this or that were or what the something else it implied was, except that it had something to do with “Hawking Radiation”, which was how I started to recognize the math.

I was beat by 2 orders of magnitude less than you! HA!

BTW, to be entirely fair, all thru elementary, high school, college, and outside reading, I was frequently beat by the same millenial level priority. It’s only the Hawking radiation one I was beat on by a mere ± 2 decades, although my invention of the electrical relay was only beaten by the difference between the dates of my 5th grade class, and the invention of the telegraph (1840’s?).

Ahh, the problems us 2+ standard deviations above the mean of the bell curve have to endure…:wink:

In practice this works, but in theory it doesn’t. Just because it appears that the first 5 digits have settled down, doesn’t guarantee that the next 100 terms won’t change them.

When you derive a series, you usually also derive an estimate for the error when you truncate the series at the nth term. (Note that you can’t have a practical formula for the exact error – if you had such a formula you wouldn’t need the series.) For example, for Taylor series there’s Taylor’s theorem with remainder. The remainder is the truncation error, and Taylor’s theorem leads to bounds on the size of that remainder.

For example, for the Gregory-Leibniz formula that’s been discussed here, pi = 4(1 - 1/3 + 1/5 - 1/7 + …), the Wikipedia page gives a derivation of the estimate that the remainder on stopping at the nth term (i.e., 1/(2n+1)) is no more than 4/(2n+3). So, if you want to find pi to 5 decimal places, you want the error to be no more than 10[sup]-6[/sup] (yes, I know, that doesn’t quite guarantee it). To get 4/(2n+3) < 10[sup]-6[/sup] you need n > 2,000,000 (approximately). You can also see from this estimate that each digit takes 10 times as many terms to nail down as the preceding digit did.

First of all, Hawking has never won the Nobel Prize. Second, though, what you stumbled across was probably the thermodynamic derivation of Hawking radiation. To sum up, black holes must have entropy (and presumably a very high entropy), since they’re pretty much the ultimate when it comes to a “final state”. Second, everything with entropy must have a temperature. And third, everything with a temperature must radiate. To get actual numbers, you need a few more details, such as the fact that a black hole’s entropy is proportional to the surface area of the event horizon (which can be guessed from the fact that any accretion into a black hole, or collision between two black holes, will never decrease the event horizon area). And, of course, some of the things you read about black holes were written by people who already knew about Hawking radiation, and were likely inspired at least in part by it.