Extra Physics Bit: th-cam.com/video/AZxoENTRKxg/w-d-xo.html Interview with Sinha and Saha (the authors): th-cam.com/video/2lvTjEZ-bbw/w-d-xo.html Sixty Symbols (our physics channel): th-cam.com/users/sixtysymbols Pi Playlist: th-cam.com/play/PL4870492ACBDC2E7C.html
How do they know this chudnovski formula doesn't deviate at 89 trillion digits or something? Don't you need another algorithm of equal or superior accuracy to verify?
I think you only need around 62 digits of PI to calculate the circumference of the universe from its radius and only be off by a Planck length. More digits are just for bragging rights, and measuring computer speeds. Nothing wrong with that of course. 😅 Also, the universe is expanding, so we'll need another digit in about 86 bn years. Not sure if my math is correct: 14 bn LY is about 10²⁶ meters. 10²⁶/10⁶² = 10^-36 Planck length = 1.6 * 10^-35
Lifelong Pi mathematician here. It does have to do with circles. Chudnovsky specifically has to do with circles, in the complex plane, using hyperbolic geometry, using 163i as its basis. Ramunujan's is the same, but for 1i. You can make single series reps of pi with ramanujan sato series with all the Heegner numbers 1,2,3,7,11,19,43,67,163. You can make infinite ramunjan sato series if you allow multiple sums. There is ALWAYS a circle, lol.
@@aniketdhumal2692They're not confident though? Does "I don't know" and "maybe" and "I think" sound like someone brimming with confidence or someone making an educated guess? FWIW, pi rarely has to do with circles. Even in complex analysis, where you can correctly claim pi being a factor of a residue is due to integrating over a circle, it's just not that helpful the deeper you go. Frankly, since numberphile typically only talks about recreational mathematics and undergraduate mathematics, it's extremely rare for them to even have to chance to be wrong about something. It really says a lot about you if you can comment something like that in spite of this.
@@SilverLining1 you say this but there's obvious problems in many of these videos. Heck Mr. Parker is known to make mistakes. Kinda cute how you say this is easy maths and still have shitton of faults every other video lol
I never want this channel to end. Brady and I are roughly similarly aged, and if I'm refreshing my YT subs page at 80 and there aren't any new videos, I'm just gonna lay down for good.
It's a great math channel. Question: The graph at 12:06 shows the value of lambda crossing the zero error line four times in what looks to be an exponentially increasing spacing. At least if the plotted line is shifted to the right some. Could there be any significance to that?
@@landsgevaer Bingo. You can turn any series into a function. Whether that function turns out to be useful for anything or related in a meaningful way to existing functions is a different matter all together...
@@trueriver1950 Madhava did know about the power series expansions of sin, cos, arctan. Madhava founded the Kerala school of mathematics where they discovered differentiation, integration and power series expansions.
interesting observation, when viewed in WolframAlpha with /input?i=exp%28%CF%80%E2%88%9A163%29-%28640320%5E3%2B744%29 it gives error of only around 10^-12.
@@vaakdemandante8772 It's called the Ramanujan constant, it's actually a very famous result. It's connected to a lot of deep areas, but Numberphile have a vid introducing it (called "163 and Ramanujan Constant"). The Wikipedia page on "Heegner numbers" is also worth a look to go deeper and work out what to google if you're interested.
I'm incredibly shocked that science (/maths) journalism would overhype and completely misrepresent a technical result. Well, ok, not that shocked. Not shocked at all really.
From what I recall, it was only hyped in India. It is an interesting aside and the authors downplay its overall importance. It is novel, and a little interesting, but currently does not offer much, compared to Chudnovsky.
I imagine the optimal lambda values require pi in the first place by beeing a transcendental number themself, which would require knowing pi in the first place to calculate (or better: approximate) that optimal lambda... Edit: Nevermind, they definitly *are* transcendental numbers, since they are simply rational multiples of pi.
Only for the truncated series. I don't think there's a particular reason that the rate of convergence as a function of lambda should have an extremum at values of lambda that are finite expressions involving pi. But, they might.
@@SilverLining1 Well, if you don't truncate the rate of convergence is pretty much irrelevant, because without truncation it will simply give you the exact value of pi regardles of lambda. How fast it converges does not matter when the process is infinite...
It would be cool if you found a formula that gets close to finding the optimal value of lambda given an approximation of Pi, so that you could just alternate between the two formulas to get closer and closer.
I suppose, from a computer scientist's POV, that the real question about any of them, is not how many iterations it takes to get n digits of pi, but how "expensive" the mathematical operations are. E.g. factorials become more expensive than exponents. Thus, one needs to figure out how many additions, subtractions, multiplications, relatively expensive divisions and exponents are required for at least n digits.
Brady was correct that there must be an irrational value of lambda which yields pi exactly with 0 approximation error, but we will never be able to find it
If anything, finding the perfect lambda would require its own method of approximation, and knowing how Pi is it would somehow be defined in relation to it. Finding Pi with Pi is self-defeating, and otherwise improving an approximation with a second harder approximation isn't much better
Yeah, doesn't this method really just provide a convenient container for the magic constants in the other methods? I'm sure you could improve those series further just by finding the right constants, which would be the same as searching for ideal values of lambda here?
Not sure if this true but I have the legend that Ramanujan saw this formula conjured into his mind. To be honest somehow I find this much more believable than actually the guy trying to find a formula with a summation and factorials. But man I see your point, it is mind bending to think how these formulae came!
Something that wasn't addressed in this video is that (from their appearance at least), the first 4 terms of each series are way way different in how complex it'd be to compute them. I wonder which series fares better with e.g. 1 minute or 10 minutes etc. of computation time, since some of these contain huge factorials or exponential terms.
IIRC, if you had two circles, each the size of the universe, one based on pi and one based on an approximate value of pi, you only need about 60 digits of approximate-pi for the two circles to be exactly the same. Any theoretical difference would be smaller than the Planck length, the smallest possible distance in the fabric of space.
Planck Length is *believed* to be the smallest possible distance but modern Scientists have nothing even _close_ to measuring this (several order of magnitude off.)
When working with machinery, it's four places. That's because of material breakdown and at the microscopic level the line is still jagged, but not to a point where it structurally matters.
@@MichaelPohoreski it is not smallest. it where grabiti and other forces, are equal or smth. it is never ending zoo of "particles", that do not really excist. and are figment of imagination.
I wonder how Madhava found that the limit of 1-1/3+... is π/4. I mean, it is, but the series converges so slowly that he couldn't have got all that close to π/4 with as many terms as he'd be able to sum using 14th-century tech.
If you look further, he actually used correction terms that basically boost the accuracy of the result. This can be seen in action with: 4(1/1-1/3+1/5-1/7+1/9-1/11+1/13) = 3.2837... 4(1/1-1/3+1/5-1/7+1/9-1/11+1/13-1/(13*2-2)) = 3.1408...
Madhava didn't manually add up numbers, he discovered power series of trigonometric functions. Plug x=1 into the arctan series atan(x)=x-x^3/3+x^5/5-x^7/7… and voilà.
We are actually talking about the approximation of decimal places of pi.but what is the exact decimal places of pi ? How is it even calculated? How we can prove that the approximations actually approximating the decimal expansion of pi
What if you normalized the efficiency of the different approximations by looking at the number of basic operations (i.e. computation time) instead of the number of iterations?
Yeah, that to me is the more interesting question, because I don't think anyone's seriously going to be doing these by hand (beyond perhaps a few iterations). So that suggests a representation can be considered 'better' either because it is more efficient in number of operations for a computer, or because it is more easily parsed/calculated by an unaided human.
The problem is that depends on your computer architecture, so it's not an abstract mathematical analysis. But considering that Chudvosky is a thousand billion billion billion times more accurate than Ramanudjan using the same number of terms (at n=4 anyway), you can afford spending a little bit more time per step.
@@QuantumHistorian Typically, mult is a lot slower than add, but a lot faster than divide. However, you can cache results for the factorials, which complicate things greatly.
11:04 I saw a different video where another commentor pointed out that lamda =1,2,3,... Has increasing accuracy for pi, but lamba=iinfinity converges super slow, so its nice to see the "best" values for lamda to converge quickly.
@5:19 My favourite Ramanujan approximation is π ≈ (355/113)(1 - 0.0003/3533), with relative error less than one-half part per quadrillion. I found this years ago (don't remember where), wrote it in my reference book, and have not found a source.
@@i_rish_0 Numbers themselves are neither divergent nor convergent. He said that basically any number can be used for lambda, as long as the series converges. You can see from the graph that lambda = 0 does not yield a converging series - it shoots up to infinity.
One bit I'm curious about, when he says they've set a record for number of digits of pi calculated using the Chudnovsky formula, how do they *know* for certain at what digit they've accurately calculated, if they know that it's an approximation? My assumption would be that in order to know for certain that a calculated digit is correct, you'd need to go some level further to confirm it? Is it basically that you would need a calculation using N terms, then calculate the N+1'th term and the position of the first nonzero term gives you the confirmation of the last known-accurate digit? If all it takes is a known calculation/approximation at N terms and adding the N+1 term, that makes me wonder at *actually* how much computation time it takes for a supercomputer to determine the next term, it must be way more than I'd initially expect.
This is the first puzzle that struck me about this video. The second puzzle, even more puzzling, is why do they not even _address_ this puzzle? Provability is the obsession of Mathematics. The third puzzle is the near-absence of puzzlement about it in the comment section.
They should be validated against each other… inaccurate use on earth tethered activity isn’t a problem, but celestial activities could be disastrous over great distances
indian Acharya Madhav was really shocking for me how he discovered and purposed the infinite series of all trigonometric functions at that time when calculus was not invented and so many undiscovered things ????
the good old 355/113 compared to the often taught 22/7 has a deviation from pi of 2.66/10 000 000 compared to 1.26/1000 which translates to a watch running less than 8.5 secs wrong per year compared to more than 11 hours
3:14 (Well, about there, but I fancied using that timestamp 😉): How is Ramanujan's formula useful in practice? That √2 at the beginning seems to make life difficult, as the square root needs a good approximation before you can even start.
Not being a mathematician, I never noticed that. But darn tootin', I think you're right. Using one irrational number to define another one? Is that even valid? Far from it for me to question Ramanujan, but you really got me thinking.
Well, it only worked for a certain number of digits anyway, it was only ever spitting out approximations. That sqrt is only an issue if its infinite right? Otherwise it just needs to be close enough to get those few hundred correct digits, which is more than enough for any use case for pi really.
I like how they've tip-toed around the fact that Ramanujan's and Chudnovsky's series have terms which grow insanely fast, which would easily cause overflow if one tries to compute them naively past first, say, 50 terms
It's a transliteration thing. All indian names with an 'uh', 'aa', 'ae' and many such sounds gets simplified simply to just a in English because Hindi has around 14 vowels @@leefisher6366
Interesting to see that we (still) use just infinite series to calculate digits for pi. Because I knew of the existence of two other modern ways: Iterative algorithms. A computer program that takes initial values for some variables, and at each iteration changes the values for these variables to better approximate pi. In general each iteration doubles the number of accurate digits. Spigot algorithms. They look like just infinite series. But their advantage is that one can compute any digit for pi without needing to compute any preceding digit for pi (in the right base what is not necessary base 10.) Also, in the converging series I see in this video I see square roots, and they must be computed as well with high accuracy.
I'm paused at 6:36 -- while the Madhava series takes a lot more terms to get close, it is also significantly simpler than the Ramanujen and Chudnovsky series. Would be interesting to compare the actual computational power required to get to n-digits of accuracy.
Computer scientist here. The Madhava series takes way, *way* more terms and computation time for any non-trivial result. It converges extremely slowly compared to the Chudnovsky series. In computer science terms, Chudnovsky converges with O(n(log n)^3) complexity. A million digits takes 216 million terms. Ten digits takes just ten terms. Can't recall the exact complexity, but Madhava is far, far worse. Calculating just ten digits of pi requires billions of terms. And the difference grows faster than linear, so no amount of linear constant complexity would make up for the difference. Someone can double check my math, as it's real early in the morning here, but having implemented both algorithms in the past, I'm confident the flavor is at least correct. I can tell you Madhava converges very, very slowly. It's possible to use correction terms which help things quite a bit (enough to feasibly get hundreds of digits) but it's still nowhere near Chudnovsky. Hope this helps.
Madhava locks in the first decimal place at the 25th term. It locks in the second at the 627th term The third at 2,454 The fourth at 136,120 The fifth at 376,849
Regarding the complexity of the Ramanujen/Chudnovsky series, the terms are basically factorials and powers. This means you don't have to calculate each term from scratch. Rather, you can reuse results from the previous term, which will greatly reduce computing time.
At 11:42 Brady raised a good question that I dont think was answered. The fact that lamba goes from positive to negative indicates that there is a value for which the calculation provides a 0% deviation. Indeed, for a few values of lambda, the deviation is absolute 0. Or perhaps if we zoomed in more we would find some asymptopes that lamba tends to infinitely small?
What exactly did you have in mind? Pi is a dimensionless number from pure math whose decimal representation has an infinite number of digits. Planck Length comes from physics and has the dimensions of length. Its numerical value depends on the units chosen. If you choose Planck Units, the value of Planck Length is exactly 1. But the value of Pi doesn't change-it remains 3.14159… regardless of whatever system of units you choose in physics.
knowing a lot of digits of Pi probably isn't going to help you solve real world problems, but you can use it, for example, to research properties of Pi itself
@@unvergebeneidI've come up with a formula so neat that it coverges to trillion digits of Pi with its first term. And it's just an integer divided by 10^trillion, how cool is that?
Yes, they all converge exactly to pi at the limit. These can be mathematically proven just like how we proved pi is an irrational number in the first place. Exact value of pi is not needed (and impossible to get in the first place) in those proofs.
The amount of computing time the calculation takes is much more interesting than the number of terms. You can make a slow series converge faster by combining terms.
You prove that your infinite sum is equal to pi and then you see how fast it converges to a value. If you can prove that further additions of terms will never affect the decimal value up to the nth decimal, then you can say you've found pi to the nth decimal place.
Interesting that the series with this lambda is somehow derived from string theory. Why didn't you talk about how they discovered this series? Just writing down different series that converge faster or slower without any explanation is honestly pointless.
So the ‘state of the art’ series has a lot of intermediate calculations, compared with then Madhava series. I presume the state of the art is still the best, since they use it for computation, but it would be interesting to compare convergence based on computation time, rather than by number of terms.
the graph shows you can choose lambda to make your approximation as good as you want, even better than chudnovsky, since the graph crosses 0! clearly it crosses 0 for values which are as hard to compute as pi is in the first place, but one can compute an approximation and run with it to get a very quickly convergent series
I discovered a formula for pi/4 that is an alternating infinite series of powers of pi with rational coefficients where the powers of pai vary from 2 to infinity. The implication of this in that if we multiply each side by 4/pi, then any rational number can be represented by an alternating infinite series of powers of pi with rational coefficients when the powers of pi vary from 1 to infinity.
From a 10,000ft perspective, It looks like the chudnovsky series is embedding static information about pi into itself to improve its accuracy. My guess is that we could increase the size of the static values within a new series to speed up the calculation.
In fact 3 of the 4 formula we discuss, including the new one, were discovered by Indian mathematicians/scientists. An interview with the latest ones can be found at: th-cam.com/video/2lvTjEZ-bbw/w-d-xo.html
In 1972, working on my Masters, I used a computer running on punch cards to calculate pi as far as it was able, so this video is very near to my heart. I'm amazed at the tiny laptop you are using - mind giving me the brand?
Of course there are. The one presented here also is itself an infinite number of ways to represent pi. But not all of those infinite representations are useful.
How do you calculate new digits of pi using these series? Is there a way to predict how many digits will be correct? Because otherwise you'd have to compare your result to some common truth.
Brady I think you will be interested to know that Grant Sanderson says pi can always be related to a circle. He uses the Basel problem of Euler as an example.
Extra Physics Bit: th-cam.com/video/AZxoENTRKxg/w-d-xo.html
Interview with Sinha and Saha (the authors): th-cam.com/video/2lvTjEZ-bbw/w-d-xo.html
Sixty Symbols (our physics channel): th-cam.com/users/sixtysymbols
Pi Playlist: th-cam.com/play/PL4870492ACBDC2E7C.html
7:32
- Tony: the 105th trillionth digit of PI is 6.
- Brady: good to know
I loved that moment.
I was 10% sure it would be. How nice that it has been confirmed..! 😇
With a certainty of 50%, the next one is between 0 and 4 included.
How do they know this chudnovski formula doesn't deviate at 89 trillion digits or something? Don't you need another algorithm of equal or superior accuracy to verify?
I think you only need around 62 digits of PI to calculate the circumference of the universe from its radius and only be off by a Planck length. More digits are just for bragging rights, and measuring computer speeds. Nothing wrong with that of course. 😅
Also, the universe is expanding, so we'll need another digit in about 86 bn years.
Not sure if my math is correct:
14 bn LY is about 10²⁶ meters.
10²⁶/10⁶² = 10^-36
Planck length = 1.6 * 10^-35
Lifelong Pi mathematician here. It does have to do with circles. Chudnovsky specifically has to do with circles, in the complex plane, using hyperbolic geometry, using 163i as its basis. Ramunujan's is the same, but for 1i. You can make single series reps of pi with ramanujan sato series with all the Heegner numbers 1,2,3,7,11,19,43,67,163. You can make infinite ramunjan sato series if you allow multiple sums. There is ALWAYS a circle, lol.
Bro half the "mathematicians" on numberphile are so confidentially incorrect
@@aniketdhumal2692They're not confident though? Does "I don't know" and "maybe" and "I think" sound like someone brimming with confidence or someone making an educated guess? FWIW, pi rarely has to do with circles. Even in complex analysis, where you can correctly claim pi being a factor of a residue is due to integrating over a circle, it's just not that helpful the deeper you go.
Frankly, since numberphile typically only talks about recreational mathematics and undergraduate mathematics, it's extremely rare for them to even have to chance to be wrong about something. It really says a lot about you if you can comment something like that in spite of this.
@@SilverLining1 you say this but there's obvious problems in many of these videos. Heck Mr. Parker is known to make mistakes. Kinda cute how you say this is easy maths and still have shitton of faults every other video lol
Does this mean the formulae converge to 1/pi when an infinite number of terms are taken?
I'll take your word for it.
I never want this channel to end. Brady and I are roughly similarly aged, and if I'm refreshing my YT subs page at 80 and there aren't any new videos, I'm just gonna lay down for good.
Best math channel in my opinion.
It's a great math channel.
Question: The graph at 12:06 shows the value of lambda crossing the zero error line four times in what looks to be an exponentially increasing spacing. At least if the plotted line is shifted to the right some. Could there be any significance to that?
I went to school with brother Arnab, was two batch junior.
He was already a local legend in that area when it comes to maths back in 2009
A legend, you mean :)
@@DadgeCity No, an urban legend.
He roams the underground pipe network at night like an alligator
@@Irondragon1945
And was always thirsty for novel math problems
What's a batch junior?
@@RonJohn63 Indian way of saying, Two grades behind 😂😂
In earlier days of PC programming (80s 90s), the BASIC did not have pi included. To get it with the program prcision, we used the atan(1)*4
Which is rather ironic since AppleSoft BASIC has 1/2 PI and 2PI constants in ROM.
@@billferner6741
Same same with FORTRAN-77.
And where did it get atan(1) from?
Most likely a function call for some n iterations of the taylor series expansion of arctan(1)
@@MichaelPohoreski LOL @ you not knowing what "ironic" means
I’m unreasonably happy that the length of this video is 14:28
Every time I think of a question the camera man asks it, it's so helpful
Yes, or when I haven't thought of it, it's always a great question
Except for my question "where that graph peaks at lambda = 3 and a bit, is THAT pi ???"
i love your editing style and how your videos stayed consistent throughout the years. great work!
Last time I was this early the Parker Square was just an erroneous attempt at a magic square
Lo
And this is just Parker's Pi
At least he never lied to us about things being equal to -1/12. I think.
@@The.171 Since I'm German, YT offered me to translate your comment. Apparently "Lo" in English is "It" in German xD
@@Nachiebree it kind of is
The Madhava series is a Taylor series for arctan(1). I wonder whether this new representation is also a Taylor series of some kind
It is, but Madhava wouldn't have known that
Add a factor x^n to the sum and you have one.
@@landsgevaer Bingo. You can turn any series into a function. Whether that function turns out to be useful for anything or related in a meaningful way to existing functions is a different matter all together...
@@trueriver1950 Madhava did know about the power series expansions of sin, cos, arctan. Madhava founded the Kerala school of mathematics where they discovered differentiation, integration and power series expansions.
@@trueriver1950 Powell's Pi Paradox
Tony's enthusiasm and his ability to communicate a complicated subject to duffers like me, make him a must watch.
6:41 640320^{3k}. Shades of exp{π√163}~~640320^3+744.
Hey you're right! Lol!
(just kidding, no idea what you said)
@@donweatherwax9318 😂
interesting observation, when viewed in WolframAlpha with /input?i=exp%28%CF%80%E2%88%9A163%29-%28640320%5E3%2B744%29 it gives error of only around 10^-12.
Not a coincidence, the results are connected!
@@vaakdemandante8772 It's called the Ramanujan constant, it's actually a very famous result. It's connected to a lot of deep areas, but Numberphile have a vid introducing it (called "163 and Ramanujan Constant"). The Wikipedia page on "Heegner numbers" is also worth a look to go deeper and work out what to google if you're interested.
I'm incredibly shocked that science (/maths) journalism would overhype and completely misrepresent a technical result. Well, ok, not that shocked. Not shocked at all really.
Don't be shocked. Here you are on the video.
Yeah that shouldn't come as a surprise whatsoever. I hate journalists so much it's unreal.
You should be hating the advertisers and executives who have turned journalism into the farce it is to get more outrage bait and clicks for revenue
From what I recall, it was only hyped in India. It is an interesting aside and the authors downplay its overall importance. It is novel, and a little interesting, but currently does not offer much, compared to Chudnovsky.
@@ianstopher9111most of mathematical concepts that you studied were already developed by hindu mathematicians much before than europeans
I imagine the optimal lambda values require pi in the first place by beeing a transcendental number themself, which would require knowing pi in the first place to calculate (or better: approximate) that optimal lambda...
Edit: Nevermind, they definitly *are* transcendental numbers, since they are simply rational multiples of pi.
Only for the truncated series. I don't think there's a particular reason that the rate of convergence as a function of lambda should have an extremum at values of lambda that are finite expressions involving pi. But, they might.
@@SilverLining1
Well, if you don't truncate the rate of convergence is pretty much irrelevant, because without truncation it will simply give you the exact value of pi regardles of lambda. How fast it converges does not matter when the process is infinite...
It would be cool if you found a formula that gets close to finding the optimal value of lambda given an approximation of Pi, so that you could just alternate between the two formulas to get closer and closer.
I suppose, from a computer scientist's POV, that the real question about any of them, is not how many iterations it takes to get n digits of pi, but how "expensive" the mathematical operations are. E.g. factorials become more expensive than exponents. Thus, one needs to figure out how many additions, subtractions, multiplications, relatively expensive divisions and exponents are required for at least n digits.
Paper change interludes always make me happy.
he eh ehe e eeeeehe
Brady was correct that there must be an irrational value of lambda which yields pi exactly with 0 approximation error, but we will never be able to find it
If anything, finding the perfect lambda would require its own method of approximation, and knowing how Pi is it would somehow be defined in relation to it. Finding Pi with Pi is self-defeating, and otherwise improving an approximation with a second harder approximation isn't much better
@dunda563 yes, I was thinking this is essentially circular reasoning
Yeah, doesn't this method really just provide a convenient container for the magic constants in the other methods? I'm sure you could improve those series further just by finding the right constants, which would be the same as searching for ideal values of lambda here?
Successive approximations as a solution are not necessarily useless. See: Kepler's equation
I have a formula for Pi that is a really close approximation after one term, but never improves after that.
Brady, the gawking rabble demands an explanation of where Ramanujan's and Chudnovsky's series come from.
This!
Sure, the equation is fairly simple, precise, and accurate; but WHY does it work?
@@Talon19, and how did they arrive at it???
Not sure if this true but I have the legend that Ramanujan saw this formula conjured into his mind. To be honest somehow I find this much more believable than actually the guy trying to find a formula with a summation and factorials. But man I see your point, it is mind bending to think how these formulae came!
Ramanujan himself had said the formula came to him in his dreams
Shut it mortal, It was revealed to me by the universe.
If pie is the meal then the series is the recipe.
Lovely way of describing a math formula.
Something that wasn't addressed in this video is that (from their appearance at least), the first 4 terms of each series are way way different in how complex it'd be to compute them. I wonder which series fares better with e.g. 1 minute or 10 minutes etc. of computation time, since some of these contain huge factorials or exponential terms.
"So the story goes back to another Indian…"
Me: "Yeah, Ramanujan!"
"around the late 14th century called Madhava."
Me: "Oh."
IIRC, if you had two circles, each the size of the universe, one based on pi and one based on an approximate value of pi, you only need about 60 digits of approximate-pi for the two circles to be exactly the same. Any theoretical difference would be smaller than the Planck length, the smallest possible distance in the fabric of space.
Planck Length is *believed* to be the smallest possible distance but modern Scientists have nothing even _close_ to measuring this (several order of magnitude off.)
When working with machinery, it's four places. That's because of material breakdown and at the microscopic level the line is still jagged, but not to a point where it structurally matters.
@@orlock20 You wouldn't happen to know what tolerances are mil-spec grade by chance? Not looking to reading AS9100 spec. :-)
@@MichaelPohoreski The highest accuracy mentioned for anything was .00001 and that was used as a joke.
@@MichaelPohoreski it is not smallest. it where grabiti and other forces, are equal or smth. it is never ending zoo of "particles", that do not really excist. and are figment of imagination.
I wonder how Madhava found that the limit of 1-1/3+... is π/4. I mean, it is, but the series converges so slowly that he couldn't have got all that close to π/4 with as many terms as he'd be able to sum using 14th-century tech.
I believe, persistence
If you look further, he actually used correction terms that basically boost the accuracy of the result.
This can be seen in action with:
4(1/1-1/3+1/5-1/7+1/9-1/11+1/13) = 3.2837...
4(1/1-1/3+1/5-1/7+1/9-1/11+1/13-1/(13*2-2)) = 3.1408...
Madhava didn't manually add up numbers, he discovered power series of trigonometric functions. Plug x=1 into the arctan series atan(x)=x-x^3/3+x^5/5-x^7/7… and voilà.
3 Blue 1 Brown proved the Madhava series in a easy to understand way in 1 of his videos
We are actually talking about the approximation of decimal places of pi.but what is the exact decimal places of pi ? How is it even calculated? How we can prove that the approximations actually approximating the decimal expansion of pi
This is great because chef John at food wishes posted a recipe for peach pie on the same day.
What if you normalized the efficiency of the different approximations by looking at the number of basic operations (i.e. computation time) instead of the number of iterations?
i was thinking about that ...
I should have known better than to post before reading (the small number) of comments...
Yeah, that to me is the more interesting question, because I don't think anyone's seriously going to be doing these by hand (beyond perhaps a few iterations). So that suggests a representation can be considered 'better' either because it is more efficient in number of operations for a computer, or because it is more easily parsed/calculated by an unaided human.
The problem is that depends on your computer architecture, so it's not an abstract mathematical analysis. But considering that Chudvosky is a thousand billion billion billion times more accurate than Ramanudjan using the same number of terms (at n=4 anyway), you can afford spending a little bit more time per step.
@@QuantumHistorian Typically, mult is a lot slower than add, but a lot faster than divide. However, you can cache results for the factorials, which complicate things greatly.
11:04
I saw a different video where another commentor pointed out that lamda =1,2,3,... Has increasing accuracy for pi, but lamba=iinfinity converges super slow, so its nice to see the "best" values for lamda to converge quickly.
@5:19
My favourite Ramanujan approximation is π ≈ (355/113)(1 - 0.0003/3533), with relative error less than one-half part per quadrillion. I found this years ago (don't remember where), wrote it in my reference book, and have not found a source.
I can’t be the only one who’s wondering what happens if Lambda is equal to Pi.
He mentioned Lambda should be a convergent series. Pi is a divergent series.
@@i_rish_0 Numbers themselves are neither divergent nor convergent. He said that basically any number can be used for lambda, as long as the series converges. You can see from the graph that lambda = 0 does not yield a converging series - it shoots up to infinity.
isn't it on the graph, between 0 and 4?
One bit I'm curious about, when he says they've set a record for number of digits of pi calculated using the Chudnovsky formula, how do they *know* for certain at what digit they've accurately calculated, if they know that it's an approximation? My assumption would be that in order to know for certain that a calculated digit is correct, you'd need to go some level further to confirm it? Is it basically that you would need a calculation using N terms, then calculate the N+1'th term and the position of the first nonzero term gives you the confirmation of the last known-accurate digit? If all it takes is a known calculation/approximation at N terms and adding the N+1 term, that makes me wonder at *actually* how much computation time it takes for a supercomputer to determine the next term, it must be way more than I'd initially expect.
There are other ways to get the approximation of pi. Search for Spigot algorithm
This is the first puzzle that struck me about this video. The second puzzle, even more puzzling, is why do they not even _address_ this puzzle? Provability is the obsession of Mathematics.
The third puzzle is the near-absence of puzzlement about it in the comment section.
They should be validated against each other… inaccurate use on earth tethered activity isn’t a problem, but celestial activities could be disastrous over great distances
It's insane how they even came up with these series!
indian Acharya Madhav was really shocking for me how he discovered and purposed the infinite series of all trigonometric functions at that time when calculus was not invented and so many undiscovered things ????
In this video Tony showed several methods for approximating the digit 4.
13:45 "pi-oneers". Haha I see what you did there
It's incredible how can math notions help developing math.
I cant immagine working with plain text for every equation of complex operation to do.
This was fun to watch! Thank you for the video. ❤
Thanks a lot, there is no scratching sound from brown paper anymore.
the good old 355/113 compared to the often taught 22/7 has a deviation from pi of 2.66/10 000 000 compared to 1.26/1000
which translates to a watch running less than 8.5 secs wrong per year compared to more than 11 hours
In Ramanujan's formula you need to know the expansion of the square root of two, which itself is an infinite series.
7:28 I wanna know what k value they went up to in order to get 100 trillion digits
Honestly, the computation time with increasing k for this equation looks kind of nasty, so maybe not even that high.
Why? We have Stirling's approximation for factorials
Chudnovsky formula calculated an average 14.1816 decimal digits of pi per iteration
Discussions on math pages suggest that when you use more terms you get better result with larger values of lambda.
3:14 (Well, about there, but I fancied using that timestamp 😉): How is Ramanujan's formula useful in practice? That √2 at the beginning seems to make life difficult, as the square root needs a good approximation before you can even start.
Not being a mathematician, I never noticed that. But darn tootin', I think you're right. Using one irrational number to define another one? Is that even valid? Far from it for me to question Ramanujan, but you really got me thinking.
Well, it only worked for a certain number of digits anyway, it was only ever spitting out approximations. That sqrt is only an issue if its infinite right? Otherwise it just needs to be close enough to get those few hundred correct digits, which is more than enough for any use case for pi really.
Wow! The numberphile logo looks more beautiful now!
I'll stick with 22/7.
Four ASCII characters - the shortest definition of pi you'll ever get!
22/7 is not actually pi
Me too
"There's a few things we're probably going to have to explain"
Understatement of the day
What perplexes me is how these series have such arbitrary-looking integers in them. How the heck do you find these integers?
I like how they've tip-toed around the fact that Ramanujan's and Chudnovsky's series have terms which grow insanely fast, which would easily cause overflow if one tries to compute them naively past first, say, 50 terms
0:18 Tony Padilla is my favorite string phenomenologist
Waaaaaah. String theory bringing something usable...
1:41 - Madhava of Sangamagrama, eh? Did he know that other vowels were available?
my indian last and middle name are pretty lengthy and the only vowels are As which constitute every other letter
@@theacorn7240 Is there a reason, seriously, for this? Google isn't helping me here.
It's a transliteration thing. All indian names with an 'uh', 'aa', 'ae' and many such sounds gets simplified simply to just a in English because Hindi has around 14 vowels @@leefisher6366
@@leefisher6366our names stem from Sanskrit.
@@leefisher6366 So basically you're looking for the "reason" why names in a 7000 years old Eastern civilization don't follow your Anglo standards?
Interesting to see that we (still) use just infinite series to calculate digits for pi. Because I knew of the existence of two other modern ways:
Iterative algorithms. A computer program that takes initial values for some variables, and at each iteration changes the values for these variables to better approximate pi. In general each iteration doubles the number of accurate digits.
Spigot algorithms. They look like just infinite series. But their advantage is that one can compute any digit for pi without needing to compute any preceding digit for pi (in the right base what is not necessary base 10.)
Also, in the converging series I see in this video I see square roots, and they must be computed as well with high accuracy.
HOW THE F DID RAMU COME UP WITH THAT CRAZY EXPRESSION! ... NEW VIDEO NEEDED!!!!
The goddess told him
Smartest guy of the 20th century, killed by British food
@@ssl3546 was he killed by it or did he die to escape it?
Glad to see Tony is still around!
I'm paused at 6:36 -- while the Madhava series takes a lot more terms to get close, it is also significantly simpler than the Ramanujen and Chudnovsky series. Would be interesting to compare the actual computational power required to get to n-digits of accuracy.
One way to do this would be to time the program, and take the last value found before the given time.
Computer scientist here. The Madhava series takes way, *way* more terms and computation time for any non-trivial result. It converges extremely slowly compared to the Chudnovsky series.
In computer science terms, Chudnovsky converges with O(n(log n)^3) complexity. A million digits takes 216 million terms. Ten digits takes just ten terms.
Can't recall the exact complexity, but Madhava is far, far worse. Calculating just ten digits of pi requires billions of terms. And the difference grows faster than linear, so no amount of linear constant complexity would make up for the difference.
Someone can double check my math, as it's real early in the morning here, but having implemented both algorithms in the past, I'm confident the flavor is at least correct. I can tell you Madhava converges very, very slowly. It's possible to use correction terms which help things quite a bit (enough to feasibly get hundreds of digits) but it's still nowhere near Chudnovsky.
Hope this helps.
Madhava locks in the first decimal place at the 25th term.
It locks in the second at the 627th term
The third at 2,454
The fourth at 136,120
The fifth at 376,849
Regarding the complexity of the Ramanujen/Chudnovsky series, the terms are basically factorials and powers. This means you don't have to calculate each term from scratch. Rather, you can reuse results from the previous term, which will greatly reduce computing time.
Amazing ep! Love y'alls support on this!
That “good to know” from Brady left me cracking 😂
At 11:42 Brady raised a good question that I dont think was answered. The fact that lamba goes from positive to negative indicates that there is a value for which the calculation provides a 0% deviation. Indeed, for a few values of lambda, the deviation is absolute 0. Or perhaps if we zoomed in more we would find some asymptopes that lamba tends to infinitely small?
"They calculated Pi to 105 trillion decimal places" - I think they should stop at the Planck's lenth.
What exactly did you have in mind? Pi is a dimensionless number from pure math whose decimal representation has an infinite number of digits. Planck Length comes from physics and has the dimensions of length. Its numerical value depends on the units chosen. If you choose Planck Units, the value of Planck Length is exactly 1. But the value of Pi doesn't change-it remains 3.14159… regardless of whatever system of units you choose in physics.
knowing a lot of digits of Pi probably isn't going to help you solve real world problems, but you can use it, for example, to research properties of Pi itself
When you wrote the first series on paper, where you stopped could have been using odd numbers or primes for the denominators.
Love the title ❤
I feel like the Kolmgorov complexity of some of those series expressions might be greater than the complexity of just writing out the digits directly.
I challenge anyone to find a series that approaches π more rapidly:
π + 0 + 0 + 0 + ...
I think you're only allowed to use known quantities... 🤔
Obviously it’s cheating to use pi to calculate pi. I’d go with tau/2 + 0 + 0 + 0…
@@unvergebeneidI've come up with a formula so neat that it coverges to trillion digits of Pi with its first term. And it's just an integer divided by 10^trillion, how cool is that?
As mr. Incredible rightly said, "PI IS PI!!!"
Unfortunately I think "approaches" pi disqualifies it since it never changes.
Finding the formula for pi was just a side quest for them
Do all of these example all converge exactly to pi at the limit? Or are some just good approxiomationsas?
Yes, they all converge exactly to pi at the limit.
These can be mathematically proven just like how we proved pi is an irrational number in the first place.
Exact value of pi is not needed (and impossible to get in the first place) in those proofs.
The amount of computing time the calculation takes is much more interesting than the number of terms. You can make a slow series converge faster by combining terms.
So how do we know the exact value of pi to compare these recipes to?
I've been wondering the same thing!
You prove that your infinite sum is equal to pi and then you see how fast it converges to a value. If you can prove that further additions of terms will never affect the decimal value up to the nth decimal, then you can say you've found pi to the nth decimal place.
Great effort by these theorists! I like the precision of their statements.
What about the Newton method. He used the integral of the binomial expansion for exponent 1/2 back in 1666. And, of course, he invented integration.
Interesting that the series with this lambda is somehow derived from string theory. Why didn't you talk about how they discovered this series? Just writing down different series that converge faster or slower without any explanation is honestly pointless.
The lambda dependency looks like some chemical bond vs distance graph
IISC representing india ❤❤
So the ‘state of the art’ series has a lot of intermediate calculations, compared with then Madhava series. I presume the state of the art is still the best, since they use it for computation, but it would be interesting to compare convergence based on computation time, rather than by number of terms.
New Flavour!!!
Love how Sinha & Saha are humbly saying : hey guys we never said this is a revolution
Missed an opportunity to bring this video out on July 22nd.
the graph shows you can choose lambda to make your approximation as good as you want, even better than chudnovsky, since the graph crosses 0! clearly it crosses 0 for values which are as hard to compute as pi is in the first place, but one can compute an approximation and run with it to get a very quickly convergent series
if these "optimal" lambda values are related to Pi, you can iterarively reuse your calculated Pi digits to produce more and more accurate lambdas
@@vsm1456 that's an intriguing idea
Yum!
I love how excited he's talking about this
7:37 that's the most mathematical conversation i've ever seem
Man, the dirt on the monitor triggers me hard. Apart from that, a great video
I discovered a formula for pi/4 that is an alternating infinite series of powers of pi with rational coefficients where the powers of pai vary from 2 to infinity. The implication of this in that if we multiply each side by 4/pi, then any rational number can be represented by an alternating infinite series of powers of pi with rational coefficients when the powers of pi vary from 1 to infinity.
Did you know that the volume of a pizza radius "z", thickness "a" equals pi.z.z.a
This is amazing info 🍕
From a 10,000ft perspective, It looks like the chudnovsky series is embedding static information about pi into itself to improve its accuracy. My guess is that we could increase the size of the static values within a new series to speed up the calculation.
Why thumbnail is Indian pi
Because the guys who discovered the new series are Indian
Because the people who discovered the new formula were from India
In fact 3 of the 4 formula we discuss, including the new one, were discovered by Indian mathematicians/scientists.
An interview with the latest ones can be found at: th-cam.com/video/2lvTjEZ-bbw/w-d-xo.html
Oh thanks
you make the most complex subjects super relatable!
"...two Indian string theorists..." \*proceeds to pronounce Sinha as if it was Brazilian Portuguese\*
In 1972, working on my Masters, I used a computer running on punch cards to calculate pi as far as it was able, so this video is very near to my heart. I'm amazed at the tiny laptop you are using - mind giving me the brand?
I don’t know about the computer’s brand but I am almost sure that the program is Maple in case you were wondering. Best.
@@SergioGomez-qe3kn Thanks, yes that's the program.
Wouldn’t there be an infinite amount of ways to represent pi? Math is just counting an infinite amount of zeros.
Of course there are. The one presented here also is itself an infinite number of ways to represent pi. But not all of those infinite representations are useful.
A series with a parameter lambda that can be arbritary is quite remarkable, i should say.
What I notice about the equation is that it starts with '4+...', so that infinite sum is '-0.8584...'
"Does it have anything to do with circles" - Bloody good question.
Are there any videos that explain how they came up with these incredibly large constants in these equations? Their thought process maybe?
And thus, Quantumphile channel was born!
This strategy is bomb!!! I won 3/4 just testing it out!!! Thank you for sharing!!
But what about computing time? The Madhava one is very simple...
im always in awe how tf people can come up with that equations
If I'm not mistaken, Ramanujan said his was revealed to him in a dream
We got new pi before GTA VI 😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭
How do you calculate new digits of pi using these series? Is there a way to predict how many digits will be correct? Because otherwise you'd have to compare your result to some common truth.
Brady I think you will be interested to know that Grant Sanderson says pi can always be related to a circle. He uses the Basel problem of Euler as an example.