So I have been wondering. I have heard many times statements like "if we find the end of $\pi$ then we might be in a virtual reality" or "new computer can calculate $X$ digits of $\pi$".
My question: $\pi$ is irrational so how exactly does one find more digits to it? I understand that it is a ratio.... But it's not like we find $\pi$ by division (although we can estimate it)... Right? Is there like a large fraction, or some sort of sensor you can use in the real world?
What does it look like mathematically to calculate $\pi$ (formulas etc) and why does it get harder to calculate each new digit?
Thanks much!
There is no "end of pi", at least in base 10. It just keeps going.
$\pi$ can be defined in various different mathematical ways which are entirely independent of the universe - for example, as twice the least positive root of $\cos(x) = 0$ - and so you don't need to measure things in real life to find pi. In fact, according to General Relativity, space is not flat, so drawing circles and then measuring circumference/diameter will not give us a "good" measure of pi (beyond some number of decimal places, anyway). Compare the fact that however well you draw a triangle on the surface of an orange, it could still have angles which sum to 270 degrees (if the triangle has surface area 1/8th of the total - thanks, Akiva Weinberger!).
Additionally, the uncertainty principle of quantum mechanics tells us that we cannot measure a circle in real life to better than a certain precision, even if space were completely flat.
$\pi$ has various infinite-sum representations, of which the most famous is probably $$\frac{\pi}{4} = \sum_{n=0}^{\infty} \frac{(-1)^n}{2n+1}$$
By truncating this sum to only finitely many terms, we can get successively better approximations to $\frac{\pi}{4}$. (It should be noted that this sum actually converges extremely slowly, and much better formulae exist. There is also a formula which directly calculates the $n$th binary digit of $\pi$ without calculating the previous binary digits.)