Can we calculate 100 digits of π by hand? The William Shanks method.

  Рет қаралды 444,587

Stand-up Maths

Stand-up Maths

Күн бұрын

Пікірлер: 1 300
@raaghavaprashanth
@raaghavaprashanth 2 жыл бұрын
As a kid, this is what I used to think mathematicians do, just endless long division
@jw41538
@jw41538 2 жыл бұрын
as long as you were a kid long, long ago, you were correct!
@Pointlesschan
@Pointlesschan 2 жыл бұрын
In Shanks time, they did
@RubixB0y
@RubixB0y 2 жыл бұрын
Calculus was described to me as "It's like the math you do, but with bigger equations." And I thought, "well that's not so hard, you just use order of operations to reduce it!"
@monika.alt197
@monika.alt197 2 жыл бұрын
Same
@MadMetalMacho
@MadMetalMacho 2 жыл бұрын
@@RubixB0y funnily, that's the kind of thinking that's a lot closer to what math is about!
@randomcreek
@randomcreek 2 жыл бұрын
The Parker Pi is a very fascinating number. It changes its value every year.
@jan_kulawa
@jan_kulawa 2 жыл бұрын
I laughed.
@feronanthus9756
@feronanthus9756 2 жыл бұрын
the real question is if parker pi will ever converge to pi. i suspect it won't, but its fascinating nonetheless
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
@@feronanthus9756 I think the goal is that, given enough data points, the Parker pi will average out to pi.
@Alex_Deam
@Alex_Deam 2 жыл бұрын
That's because the Parker circle changes how many sides it has every year
@fulltimeslackerii8229
@fulltimeslackerii8229 2 жыл бұрын
if you circle the parker square, you’ll get the parker pi
@twixerclawford
@twixerclawford 2 жыл бұрын
It is actually really amazing the proceeding ended up on page 318, as he devoted most of his life to reciprocals of primes, and the first digits of 1/π is 0.318...
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
Ah, so it all works out in the end!
@michaelbauers8800
@michaelbauers8800 2 жыл бұрын
I admit that was kind of cool
@renerpho
@renerpho 2 жыл бұрын
I was just wondering why the digits of 1/π were so close to the digits of π (318 vs. 314). Then I noticed that π was kind of close to the square root of 10...
@denny141196
@denny141196 2 жыл бұрын
@@renerpho engineer moment
@ornessarhithfaeron3576
@ornessarhithfaeron3576 2 жыл бұрын
@@denny141196 /r/onejoke
@melainekerfaou8418
@melainekerfaou8418 2 жыл бұрын
This needs to be properly reengineered for next time, with cascading/parallel computing and error checking built-in. The process is the fun part. I love how some teams came up with clever solutions.
@kailomonkey
@kailomonkey 2 жыл бұрын
Yea no offence to Matt but the huge bits of paper method that it started as looked a real mess to organise. I like the guy's method where they were passing each digit along and agree they need some error checking as they go to make sure everything is on rail. And finally the adding up and final division needs to be happening within the process if possible not a scramble at the end! And additionally it would be nice if they could get into the former boarding school for a fortnight to break the record next time! They only need to be correct to less than 600 terms to beat it.
@jw41538
@jw41538 2 жыл бұрын
To be fair, it's absolutely the best method he's tried yet. I'm sure the natural sciences solution next year can get to 700 digits or so.
@kailomonkey
@kailomonkey 2 жыл бұрын
@@jw41538 Yea it seems like being off target is part of the entertainment each year. If we had it right one year it might put a dampener on future failures!
@PerMortensen
@PerMortensen 2 жыл бұрын
@@kailomonkey I'm unsure it's possible at all to do the final summing up as part of the process. The issue is that for summing/subtracting you need to start with the final digits, and work your way backward to the leading ones.
@alimanski7941
@alimanski7941 2 жыл бұрын
I don't think there's been a lot of research into emergent parallel computations in collaborative tasks
@WatersonBill
@WatersonBill 2 жыл бұрын
I'll be honest, Keith the Head Librarian at the Royal Society is the most librarian-looking dude I've ever seen. 1:50
@redryder3721
@redryder3721 2 жыл бұрын
That's just Tom Scott with glasses and a wig.
@siinxx7656
@siinxx7656 2 жыл бұрын
librarian-looking fellow**
@nopetuber
@nopetuber 2 жыл бұрын
There's a whole channel featuring him in the Numberphile universe! It's @ObjectivityVideos
@notmyname327
@notmyname327 2 жыл бұрын
I really suggest everybody to check out the Objectivity channel by Brady, really interesting stuff and Keith is a regular there.
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
I imagine he walked into the job interview for that position, and they took one look at him and said, "you're hired."
@PopeGoliath
@PopeGoliath 2 жыл бұрын
Matt: "A room full of people calculating!" Me, having watched plenty of Matt's other Pi Day videos: "Have you implemented error detection this time?"
@vonriel1822
@vonriel1822 2 жыл бұрын
Yes, but it used the Parker method, so the results were as expected.
@sk8rdman
@sk8rdman 2 жыл бұрын
I'd just like to reiterate that the value in this project is defined not by the precision of their final result, but by the experience and lessons learned along the way. It's easy to look at their 11 digits of accuracy and call the project a failure, but I'd hope that everyone involved would look back at the process involved and remark on the value of that experience.
@igrim4777
@igrim4777 2 жыл бұрын
I'd just like to iterate that the value in this project is exactly defined by the precision and accuracy in the final result, albeit using a different and altogether more mathematical meaning of value.
@sk8rdman
@sk8rdman 2 жыл бұрын
@@igrim4777 touche
@igrim4777
@igrim4777 2 жыл бұрын
@@sk8rdman Glad you took my comment good naturedly. I thoroughly agree with your original comment. Two days to get only 11 digits--but to get 11 digits at all! So much co-operation and integration of various methods and subgroups in such a fascinating and engaging experience, you're right, _there_ is the real value.
@jonathanshapiro6593
@jonathanshapiro6593 2 жыл бұрын
Fich dich your comment spoiled the video by telling me the ending
@radadadadee
@radadadadee 2 жыл бұрын
hello? SPOILER ALERT????
@stevegoodson9022
@stevegoodson9022 2 жыл бұрын
Those students are hugely impressive, not just for grasping what they're doing in the first place, but for coming up with clever solutions and shortcuts and organising them into a bafflingly complex rube goldberg production line of calculation. Guessing some of these students will go on to become expert programmers
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
If those people were locked in a room together for enough time I think they could prove the Riemann hypothesis.
@renerpho
@renerpho 2 жыл бұрын
@@vigilantcosmicpenguin8721 If you lock me in a room alone for long enough, I will eventually come up with a proof of the Riemann hypothesis. The proof will be wrong, of course (incomprehensible, actually), because I went mad from being locked up.
@pepega3344
@pepega3344 2 жыл бұрын
@@vigilantcosmicpenguin8721 lmao not even close
@Nawmps
@Nawmps 2 жыл бұрын
@@pepega3344 "Given an infinite amount of time blah blah blah..."
@goldenwarrior1186
@goldenwarrior1186 2 жыл бұрын
@@pepega3344 Hello person no one talks about (we don’t talk about Bruno)
@Johan323232
@Johan323232 2 жыл бұрын
Pi day as an excuse to learn about parallel processing is a pretty good idea. It doesn’t sound like this is where it started, but I think it was a good development. First come up with the algorithm to parallel the computations and fact checking, then come back around to workplace design and how to physically layout a workspace to enact that algorithm. Microchip design in macro, or factory design in abstraction.
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
It was really interesting to see that sort of algorithm being demonstrated with humans as the computers.
@txy345
@txy345 2 жыл бұрын
oh this is such a great description of the video!
@achtsekundenfurz7876
@achtsekundenfurz7876 2 жыл бұрын
It's funny how you mentioned factory design - because I had to think about Factorio. One of the key limitations of Factorio is that it processes the game world one "chunk" at a time (Minecraft does that, too). IIRC, one chunk is 32x32 squares, and transferring resources between chunks can be a serious bottlenecks in megabases (huge bases containing 100,000s of components and millions of resource items). Now, there's another way to compute pi, namely pi = 2 + 2(1/3) + 2(1/3)(2/5) + 2(1/3)(2/5)(3/7)+.... One of the ways to compute that is to compute 2, then multiply by 1/3, then multiply that by 2/5, etc, and to add all of those together. Another is to fill an entire array with 2's, and repeat the following steps: - multiply each entry by 10, - add n-1 to the (n-1)th entry if the nth is >=2n-1, subtract 2n-1, repeat this step until it isn't, - add n-2 to the (n-2)th entry if the (n-1)th is >=2n-2, subtract 2n-2, repeat this step until it isn't, - ... - add one to the first entry if the second is >=3, subtract 3, repeat this step until it isn't, - output the first entry and set it to zero. That's essentially some carry routine working with values like 1/3, 2/5 etc. instead of 10 and outputs some numbers like 30, 13, 11, 5... which have to be carry-corrected again (this time using regular decimal carry) to 31,4,1,5, and so on, for about 0.3 decimals per array entry. All computation involves small numbers which fit inside a single CPU register, which can be seen as a "chunk" in arithmetics.
@imacds
@imacds 2 жыл бұрын
This type of reasoning was (still is?) used to design "efficient" office spaces.
@richardpike8748
@richardpike8748 2 жыл бұрын
@@imacds Wow I wouldn't have thought of the office space application but it makes total sense
@MrGedget
@MrGedget 2 жыл бұрын
7:53 I just love how the book says "Value of PI = 3 .". As an engineer, the book could not be more right
@cH3rtzb3rg
@cH3rtzb3rg 2 жыл бұрын
3=pi=sqrt(10). Therefore 9=10 (approximately).
@highpath4776
@highpath4776 2 жыл бұрын
I prefer the idea that pi is 3 and a bit
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
All those other digits are simply decorative.
@deedewald1707
@deedewald1707 2 жыл бұрын
It's irrational !
@goldenwarrior1186
@goldenwarrior1186 2 жыл бұрын
@@cH3rtzb3rg 2.3 + 2.3 = 4.6 2 + 2 = 5 (approximately)
@cee_yarr
@cee_yarr 2 жыл бұрын
I kind of want to see the average of all of Matt's attempts at calculating pi... like to see how accurate it's gotten over the years or something.
@violette3421
@violette3421 2 жыл бұрын
This would be interesting
@jssmith0225
@jssmith0225 2 жыл бұрын
I was curious about this too… So I re-watched all of them the current average is 3.18438257025287 that is the most precision google sheets would give me, strangely it’s only that high because of last year when he “counted atoms” if you take that out it goes down to 3.12159916754859
@richardcox7939
@richardcox7939 2 жыл бұрын
And thus is demonstrated the original meaning of "computer": a person who performs large scale computation.
@GaiusCaligula234
@GaiusCaligula234 2 жыл бұрын
I'm pretty sure everyone knows that
@G.Aaron.Fisher
@G.Aaron.Fisher 2 жыл бұрын
This has to be the most successful pi calculation Matt has ever had. Bravo!
@inyobill
@inyobill 2 жыл бұрын
I much enjoyed seeing those young folks working together, and having fun with Maths.
@jimmyh2137
@jimmyh2137 2 жыл бұрын
Is there some irony on the fact that Matt didn't calculate it himself this time?
@spatialwarp
@spatialwarp 2 жыл бұрын
I went back through all of the pi day videos so far and counted the number of correct digits in each one. This is definitely the most successful one by a considerable margin. 2nd Place goes to 2018's video with 6 correct digits, 3rd place to 2020's video with 5 correct digits, 4th place to 2015's video with 3 correct digits. All the other videos are either 0 or 1 correct digit.
@snuffysam
@snuffysam 2 жыл бұрын
@@spatialwarp huh 2015 on that list is surprising. If I remember correctly, even years are formulas worked out by hand, and odd years are using things like probability and physics properties and physical measurements to calculate it. So you’d kinda expect the even number years to be more accurate on average (since the main sources of errors are issues working out the numbers and not like, random gusts of wind). But, apparently using a pendulum was good enough to get into the top 5?
@ffggddss
@ffggddss 2 жыл бұрын
I tried this method a year or more ago, to compute 20 digits. I carried 4 or 5 "guard" digits, I did everything by hand, and I actually got 20 correct digits. Having gone through that, I would definitely *not* try 100, let alone 707 digits manually by this method. Kudos to Wm. Shanks! And to Matt & his team! Fred
@christianlawrence2714
@christianlawrence2714 2 жыл бұрын
This is my 7th favorite way out of 22 to calculate Pi. Cheers!
@Cliff86
@Cliff86 2 жыл бұрын
This is my 113th favorite way to approximate pi out of 355
@ariearie7953
@ariearie7953 2 жыл бұрын
The feeling is reprisical.
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
I hope you're serious about that and you really made a list.
@deedewald1707
@deedewald1707 2 жыл бұрын
Christian, you are close ! Cliff86, you're closer ! LOL
@vbeat8355
@vbeat8355 5 ай бұрын
Wait, I just got it, omg so underrated
@AndrewTaylorPhD
@AndrewTaylorPhD 2 жыл бұрын
I rather enjoy how much this process resembles optimising computer code. Thinking about parallisation is always hard, and the idea of passing half-done terms down the chain so people could start the next term before the current one in particular is a lot like making software use pipes.
@ChristianPerfect
@ChristianPerfect 2 жыл бұрын
Indeed! Scroggs and I were talking a lot about how often we could fork, and started referring to the volunteers as processes
@richardpike8748
@richardpike8748 2 жыл бұрын
@@ChristianPerfect That's great lol :D
@PanduPoluan
@PanduPoluan 2 жыл бұрын
@@ChristianPerfect "processes" 🤣 But honestly, yeah when one does something by hand, one often get glimpses on how one can further optimize complex computations!
@GruntUltra
@GruntUltra 2 жыл бұрын
William Shanks was the Matt Parker of his era. Great job everyone! I got a cool history lesson and entertained while listening to a Bruce!
@whiskeytuesday
@whiskeytuesday 2 жыл бұрын
Does that make Matt a Parker Shanks or Shanks a Parker Parker?
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
@@whiskeytuesday Now, if Parker were a Shanks Shanks, that would mean that he was a Shanks, but the records got lost.
@fletcherbarnes9230
@fletcherbarnes9230 2 жыл бұрын
I thought it was interesting that you had a lifeguard there. I did not realize that calculating pi by hand could be so dangerous.🙂
@geeshta
@geeshta 2 жыл бұрын
Great example of tackling multi-threading, asynchronicity and optimization. Each person is a thread and you need to figure out a system in which no one will have to wait for another person to complete their calculation. Also breaking down difficult problems into simpler (dividing 239 twice instead dividing once by 239**2 and calculating 10 digits at a time) and asynchronizing even that is just so cool.
@asj3419
@asj3419 2 жыл бұрын
Its also about not being able to trust outputs and making error-resistant systems.
@absantos
@absantos 2 жыл бұрын
Hey Matt, just wanted to say that this is my second year teaching mathematics. Today I used your first method for computing pi (1 - 1/3 + 1/5 - ...) during class. My students (12 - 13 yo) loved it! Thanks for being such an inspiration, and keep up the good work!
@Braincain007
@Braincain007 2 жыл бұрын
That is awesome! I wish I had a teacher like you back when I was in school
@highpath4776
@highpath4776 2 жыл бұрын
What I could not remember (and we never did this in my class that I recall), is WHY this method gives a value for pi - I think there is a YT vid that shows where there is a relation but dont have time to find it!
@absantos
@absantos 2 жыл бұрын
@@highpath4776 if you're talking about the method I mentioned (the one with the fractions), it actually computes pi/4. I don't remember if Matt gave an explanation for the method, but I guess you could rewatch his video.
@highpath4776
@highpath4776 2 жыл бұрын
@@absantos I sort of remembered how it worked (I was never taught arctans), and worked out from first principles how the simple definition of pi can be divided into a quarter circle and then found from effectively trianganglaur segments approaching a closer approximation to an arc rather than a straight line (basically an overestimation, less a smaller overestimation , etc until the difference oscilates to the mean)
@peterhawes9680
@peterhawes9680 2 жыл бұрын
I hope you multiplied by 4 at the end!
@HebaruSan
@HebaruSan 2 жыл бұрын
To generate the corrected version of the table from the book in Unix, including the line length and spacing: echo $(pi 708 | tail -c +3 | fold -w 5) | fold -w $((12*6)) It's actually the "44193" earlier on the same line that's wrong, should be 44065.
@T_Mo271
@T_Mo271 2 жыл бұрын
It would have been useful to chat about the origin of that equation for pi/4.
@cyrilio
@cyrilio 2 жыл бұрын
This would’ve been the perfect opportunity to use the term computer to refer to people doing computations.
@michaelsommers2356
@michaelsommers2356 2 жыл бұрын
He did so.
@renerpho
@renerpho 2 жыл бұрын
@@michaelsommers2356 Time stamp?
@michaelsommers2356
@michaelsommers2356 2 жыл бұрын
@@renerpho You can find it as easily as I can.
@XxfishpastexX
@XxfishpastexX 2 жыл бұрын
You didn't get the whole pi, but damn it all if you didn't try! I'm very impressed by the commitment and honesty of these young mathematicians. The way I see it, it's not about being right all the time, but how you handle being wrong, to measure the caliber of a mathematician. Amazing sportsmanship to you all. The future is brighter with people like you! Happy pi day!
@highpath4776
@highpath4776 2 жыл бұрын
I would imagine the time frame to undertake this must be a function of the accuracy achieved ,
@ArloLipof
@ArloLipof 2 жыл бұрын
Happy π-day, Matt! This amazing way of working together reminded me of Gaspard de Prony’s « Manufacture à logarithmes ». If you want to give it another go for a future π-day, I suggest you do it in the circular « Salle π » at the Palais de la Découverte in Paris. For the World’s Fair in 1937, the walls were covered with William Shanks’s 707 digits. After the mistake of the 528th digit was discovered, they corrected the 180 wrong digits in 1950.
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
Wow, an entire room dedicated to pi. That's got to be an amazing place.
@scottaseigel5715
@scottaseigel5715 2 жыл бұрын
When I stopped teaching math I thought I wouldn’t ever hear things like this again. I never anticipate subtitles that keep writing “pie” for pi and “crimes” for primes. How fun!
@Vegas242
@Vegas242 2 жыл бұрын
I just realized, "Oh heck today's Pi day, I bet there's a new calculating Pi by hand." Then I looked it up and here it is, thank you so much.
@pressplayhomie
@pressplayhomie 2 жыл бұрын
A video that is 33:14 in length. Very satisfying.
@henil0604
@henil0604 2 жыл бұрын
Wow i just noticed it
@alihms
@alihms 2 жыл бұрын
He should do a summary of this video for 3.14 minutes length.
@WAMTAT
@WAMTAT 2 жыл бұрын
I'm sure William Shanks would be proud of the work y'all did.
@mattbox87
@mattbox87 2 жыл бұрын
Yes! And I'm sure he'd have a few tips too... 😁
@SeanBZA
@SeanBZA 2 жыл бұрын
Why not do the divide by 25 as a division by 100, basically shifting a decimal point, and then a multiply by 4. Simpler, and while it is 2 calculations it is also a lot easier to do, plus the multiply can be easily done over the long division.
@adamtownsend3744
@adamtownsend3744 2 жыл бұрын
Indeed! We did this 👍
@feronanthus9756
@feronanthus9756 2 жыл бұрын
@@Alsadius Matt is just being so coy about it at 15:10
@ledphi314
@ledphi314 2 жыл бұрын
This was my intuition too.
@ralphvangelderen68
@ralphvangelderen68 2 жыл бұрын
But division you do from left to right. Multiplication from right to left. So you have to calculate your first term in full (and probably some extra digits, because the error term will multiply as well)
@jazzabighits4473
@jazzabighits4473 2 жыл бұрын
@@ralphvangelderen68 You can do multiplication left to right? Unless you mean exponentiation?
@obscurity3027
@obscurity3027 2 жыл бұрын
I presume that organizing everything and keeping everyone on task while maintaining maximum efficiency would be FAR more difficult than doing the actual arithmetic. This was an outstanding effort, and it’s fascinating to watch!
@Henrix1998
@Henrix1998 2 жыл бұрын
Now I just need an explanation why Machin's formula produces pi and where does 1/5 and 1/239 come from!
@emmata98
@emmata98 2 жыл бұрын
because the infinite sums are related
@oliviapg
@oliviapg 2 жыл бұрын
The wikipedia article Alsadius linked explains it very well. The TL;DR is that it's an algebraic combination of the following two formulas: arctan(1) = pi/4 and arctan(a/b) + arctan(c/d) = arctan((ad+bc)/(cd-ab))
@highpath4776
@highpath4776 2 жыл бұрын
@@Alsadius so it is because arctan are segments of a circle ? as in a large number of triangular 'wedges' so you add a large triangle( which is too big, so take away a smaller one to correct the error, then back and forth each time , to get the curve from a number of straight edges ?)
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
@@Alsadius It's all about optimizing the algorithm. You could call that Machin learning.
@JamesLawry
@JamesLawry 2 жыл бұрын
With i^2 = -1, note that (239 - i) * (5 + i)^4 = k(1+i) for a real positive k. Take the arg of both sides: the arg of the right-hand side is pi/4. Then use arg(x*y) = arg(x) + arg(y) on the left-hand side to get 4 atan(1/5) - atan(1/239).
@bencheevers6693
@bencheevers6693 2 жыл бұрын
The penmanship of those books is absolutely insane, and it's not on ruled paper, that's nuts
@JanStrojil
@JanStrojil 2 жыл бұрын
Seeing all these young people having fun with maths fills me with joy and optimism for the future in this world. Sorely needed cheer up, thanks for this. Happy Pi Day!
@AugustusOakstar
@AugustusOakstar 2 жыл бұрын
You have to admire these young mathematicians, their hearts are pure, their reasoning unclouded. I would be happy to call anyone here brother or sister. They are just starting their lives, but have already discovered that teamwork feels awesome. Love to all, William
@gajzoo
@gajzoo 2 жыл бұрын
Such a wonderfully loopy way to spend a weekend. Brilliant organization and oodles of cheerful hard work by the dedicated teams of human computers. Well done to all!
@LIES666
@LIES666 2 жыл бұрын
707 digits! (okay well 500 or so then) Shanks was so close to the 6 9's in a row at digit 762. That would have blown his mind.
@peterkelley6344
@peterkelley6344 2 жыл бұрын
He probably would have stood there and said, "We've made a horrible mistake some where!" Probably even after seeing the first two 9's of the set of six that were about to emerge,
@rmsgrey
@rmsgrey 2 жыл бұрын
@@peterkelley6344 Nah, you'd expect to have seen seven pairs of consecutive 9s in the first 700 digits - on average it'll come up once in every hundred digits (give or take a fencepost error).
@LIES666
@LIES666 2 жыл бұрын
@@rmsgrey 3 in a row sure. But 6 in a row is very unlikely. The next 6 in a row (also 9's) is at digit 193,034.
@HeinrichDixon
@HeinrichDixon 2 жыл бұрын
@LIES Would he have generated those six nines? Shanks made an error at digit 528. Doesn't this mean that every succeeding digit was also wrong? If so, the likelihood of the six nines appearing is very small. 🍌🙂
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
It appears that the first person who would have stumbled upon that coincidence would be D.F. Ferguson in 1947. At that point he was using a desk calculator, so the discovery may have been a bit less astonishing.
@jaydev0860
@jaydev0860 2 жыл бұрын
Love to see the ways people were parrallelising their tasks! Very satisfying.
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
I think it's perfect how you got enough digits for it to be the best you've ever gotten while still being disappointing. Just means you'll have to break the record next year.
@snowfloofcathug
@snowfloofcathug 2 жыл бұрын
And to think I memorised more digits of Pi for a competition at school than there was ever known at the time, and more than they’d painstakingly calculated over years of hard work
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
Pi is like dinosaurs. People hardly knew anything about the subject but then all of a sudden the interest in the topic grew exponentially.
2 жыл бұрын
This is my 1st pi day since I discovered this channel. I was really excited for the video, and I enjoyed it a lot.
@Phroggster
@Phroggster 2 жыл бұрын
It's nice to see you again on half-τ day. Really wish you'd celebrate the actual day in June, but I do understand how important the halfway mark is to some.
@renerpho
@renerpho 2 жыл бұрын
Celebrating the half way mark, and failing, is a very Parker thing to do.
@deedewald1707
@deedewald1707 2 жыл бұрын
C=2 π r = π D
@MikkoRantalainen
@MikkoRantalainen 2 жыл бұрын
9:18 The fact that digits after the error clearly show that the error was in his original hand calculated work. If the error was only in the typesetting, it would have been just a single erraneous digit in the print and the rest of the digits on the same page would have been fine.
@AKhoja
@AKhoja 2 жыл бұрын
The sheer number of calculations, even if each individual one is likely to be correct, means that getting the whole thing right takes a miracle. Speaking of which, Shanks' consistency in getting multiple hundred correct digits is all the more impressive in light of how painstaking this process is...
@randyhavard6084
@randyhavard6084 2 жыл бұрын
The Parker π, almost most but not quite, just like the Parker square. At least there's consistency in Matt's videos, consistently entertaining.
@helldad4689
@helldad4689 2 жыл бұрын
The closed captioning does a different interpretation of Houghton-le-Spring every time he says it. In a video focusing so heavily on transcription pedantry, it's always refreshing to get a look at the opposing perspective.
@bcdm999
@bcdm999 2 жыл бұрын
I am truly impressed at how very much the cc is unrelated to the words being spoken at times
@neighbourtwin3381
@neighbourtwin3381 2 жыл бұрын
CONGRATS TO 1 MILLION SUBS!
@denisshulakov
@denisshulakov 2 жыл бұрын
i've been waiting for that "well, we've got it with error less than 10%!"
@joemamma944
@joemamma944 2 жыл бұрын
Would be very interesting to have each piece inputted into a program running the process in parallel with both the actual numbers and the given numbers to see exactly where things went wrong next time, such a great video! Always had so much respect for those old mathematicians
@Verlisify
@Verlisify 2 жыл бұрын
This is how I'm reminded that its Pi Day
@job3rg
@job3rg 2 жыл бұрын
This whole day, at the back of my mind, I knew March 14 was special. Is a birthday? No. An appointment on my calender? No...
@ElijahCem
@ElijahCem 2 жыл бұрын
Every year
@christophkrass6929
@christophkrass6929 2 жыл бұрын
I never forget it because it's my birthday. And in fact it was Albert Einsteins Birthday too^^
@carltonleboss
@carltonleboss 2 жыл бұрын
@@job3rg It's also the day Krabs fries
@joe.O7X
@joe.O7X 2 жыл бұрын
Congrats on 1M subscribers Matt!
@kevnar
@kevnar 2 жыл бұрын
I just love how jazzed all these math nerds are about this project. This is fun for them.
@MumboJ
@MumboJ 2 жыл бұрын
I've recently been cutting a bunch of my Patreon subs for financial reasons, but honestly this made my day and I will happily continue giving my money to this channel. :) xxxxx
@CrustyDonutts
@CrustyDonutts 2 жыл бұрын
2:25 Keith's refusal to tuck the tail of the tie into the keeper loop is so on brand
@michaelsommers2356
@michaelsommers2356 2 жыл бұрын
It might be an older tie that doesn't have such a loop.
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
Really adds to the whole aesthetic.
@Asterism_Desmos
@Asterism_Desmos 2 жыл бұрын
It’s like an automaton of people working in perfect sync, crunching numbers in analog, it’s amazing to see.
@themaskedcrusader
@themaskedcrusader 2 жыл бұрын
I have a slight desire to program this so that the algorithm does exactly what a human would working it by hand. Like, do the long division IN CODE and store the result in a string to the first 100 digits. iterate over x number of terms... then add the strings together as if doing adding on paper... It'd be basically doing everything using BIGINT, but I'd have to code it up..... could be fun and generate a lot of heat.
@T3sl4
@T3sl4 2 жыл бұрын
Even easier than bignums, it sounds like you can keep an accumulator for each division, multiplication, etc. operation in progress; and just cycle between them, bringing in the next digit from the dividend, caching multiples of the divisor, and putting out the next digit of the quotient as you go. Bonus points for doing it on an arbitrarily simple machine e.g. AVR, Z80, 6502, ENIAC, etc.! :P
@T_Mo271
@T_Mo271 2 жыл бұрын
Excellent idea!
@renerpho
@renerpho 2 жыл бұрын
@@T3sl4 Extra bonus points for doing it on the digital camera they used to film the video - proving that the camera was Turing complete, and thus that that they were breaking their own rules. (Concept by fellow commentator Benny Blue, but I had to add it here because it fits that idea nicely.)
@HalfgildWynac
@HalfgildWynac 2 жыл бұрын
We did it in school as one of the assignments in our programming classes, only with 10000 digits. We even used the exact same formula. No extra libraries, just explicit arithmetic on long arrays of digits. Of course, the teacher also asked to estimate the number of digits we should actually use to make sure the first 10000 are exact (after all, it was thousands of operations with finite precision).
@themaskedcrusader
@themaskedcrusader 2 жыл бұрын
Update. I have "Long Multiplication" done. It's programmed in code the exact same way I would do it by hand. in testing, I have basically unlimited numbers to multiply and steps. I was getting 200 digit products out of the code that matched results from Wolfram Alpha. I think long division is going to be a bit harder to implement, but it's actually very fun.
@ASUSROG4Life
@ASUSROG4Life 2 жыл бұрын
This is probably the most wholesome video I've seen in a long time. Love the entire atmosphere and would've loven to be there :P Being in a super competitive environment right now, whenever you get people together to do recreational maths it restores my faith in humanity ;)
@abigailcooling9355
@abigailcooling9355 2 жыл бұрын
I always look forward to the annual redefinition of Parker Pi. If in future you wanted to *actually* get 100 accurate digits of pi, maybe try the chudnovsky algorithm you used a few years ago as it converges really quickly. In the meantime, keep making these funny, educational videos I love a lot.
@jaca2899
@jaca2899 Жыл бұрын
Glad to see that a splinter team managed to modularize the calculations, dealing with them in groups of ten digits at a time. That's the correct way to handle large computations like these.
@bertblankenstein3738
@bertblankenstein3738 2 жыл бұрын
Released at 3:14pm. Nice! happy pi day!
@rq4740
@rq4740 2 жыл бұрын
Not just that! 33:14 minutes long
@bertblankenstein3738
@bertblankenstein3738 2 жыл бұрын
@@rq4740 didn't catch that. Just going to take it in now, didn't have time earlier.
@Petch85
@Petch85 2 жыл бұрын
Classics Parker PI calculation. Where the effort matters more that the result. But this was cool... Really shows how difficult it is to calculate PI to over 500 ditties.
@kailomonkey
@kailomonkey 2 жыл бұрын
The guy with the neater method, and include the adding up in the people machine throughout if possible, and I think you'll nail 100 and then some next time.
@macvirii
@macvirii 2 жыл бұрын
What a cool video! As always, the happiness of math on your voice is clear... and that is awesome too.
@adamplace1414
@adamplace1414 2 жыл бұрын
Wouldn't it be great if this is the video that pops Matt over 1M subscribers? Edit : How about that! Congrats!
@AliceYobby
@AliceYobby 2 жыл бұрын
So great. I just got obsessed with Objectivity and Keith in particular and here on my favorite way to celebrate pi day he features heavily :)
@PopeLando
@PopeLando 2 жыл бұрын
Here's my paper on the calculation of e. "I have calculated e to be 2.718281828... obviously it must continue 18281828 ad infinitum. QED."
@xinpingdonohoe3978
@xinpingdonohoe3978 2 жыл бұрын
Ah, nice and definitely irrational.
@blueredbrick
@blueredbrick 2 жыл бұрын
2718281828 is just a sequence somewhere in the tail of pie, can't fool us :)
@emilchandran546
@emilchandran546 2 жыл бұрын
Watching in the early hours of 15/03/2022 in Australia. It just hits different the day after. Matt how could you do this to your own people? Parker Pi Day 🤷‍♂️
@jomn91
@jomn91 2 жыл бұрын
I'm pretty sure he's from WA where it is still the 14th
@emilchandran546
@emilchandran546 2 жыл бұрын
You’re right, he is from Perth. Still wish I could experience the Pi day video on Pi day. Very WA though, perfectly timed to exclude east coast Aussies. No hate.
@hibuddy2768
@hibuddy2768 2 жыл бұрын
he uploaded it at 3:14 pm GMT
@AddisonDj
@AddisonDj 2 жыл бұрын
Same!
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
@@emilchandran546 I don't know much about Australian rivalries, but it'd be hilarious if that was done on purpose as a slight to the easterners.
@tremkl
@tremkl 2 жыл бұрын
I’m sure the ending was at least somewhat heartbreaking after all your hard work, but remember, it’s easy to get 100 digits of pi. What you guys got out of this weekend was 1) an absolute experience, and 2) a deeper understanding of the problem, and a lot of learning experience on how best to execute a future version. Lots of love!
@ilyakogan
@ilyakogan 2 жыл бұрын
What an inspiring group of people!
@MegaMisch
@MegaMisch 2 жыл бұрын
Gods I love this. Never change Matt, you make every Pi day as special as the number itself. Love seeing so many people passionate about maths working together, it really is amazing and its wonderful knowning so many people love numbers.
@dhoyt902
@dhoyt902 2 жыл бұрын
William Shanks DID NOT uses the Gregory/Taylor Series for Arctan. He used Euler's suggested accelerated version of Arctan where m = x^2 +1 : arctan(1/x) = 1/sqrt(m) * (1 + (1/2 * 1/3m)+((1*3)/(2*4)*(1/5m^2))+((1*3*5)/(2*4*6)*(1/7m^3)) +... ) , Believe Me , The Indefinite Man.
@DouglasKubler
@DouglasKubler 2 жыл бұрын
Google search serves up the (1/5,1/239) tale. Can you provide a reference to the other?
@dhoyt902
@dhoyt902 2 жыл бұрын
@@DouglasKubler Hi Douglas. The general tale is correct. He did use Machin's formula, 4 x atan(1/5)- atan(1/239). But, rather than compute the arctan of each of those with the Taylor series, he used the accelerated version that Euler devised. You still need an inhuman amount of terms with Machin to get Shanks' decimals if done with the Taylor series - one must accelerate. Shank's books all talk about the acceleration methods he used. There is an acceleration method named after Shanks I use everyday. Shanks was an accelerator, and definitely didn't plug values into the Taylor series like a pleb :) (all of Shanks books, especially rectifying the circle, talk about it.)
@MCLegoboy
@MCLegoboy 2 жыл бұрын
11% correct is still better than some of the other attempts in the past using different methods, so I'd say, this was a rousing success within perspective.
@finchisneat
@finchisneat 2 жыл бұрын
Congrats on being within 1% of 1 million subscribers, I know Steve Mould got it first, but you always did the long hard work and deserved it more 😁✌️
@Timbhu
@Timbhu 2 жыл бұрын
You would be lying if you say your heart didn't skip a beat at the smile at 21:39
@FernTheRobot
@FernTheRobot 2 жыл бұрын
damn this looks fun as hell! My heart SANK when I got to the result part :(
@swiftbird4846
@swiftbird4846 2 жыл бұрын
A very happy Pi Day to you all. Fantastic video and attempt as always Mr Parker. What a beautiful constant.
@joshuaa4677
@joshuaa4677 2 жыл бұрын
Would it be easier to figure out one of the very far terms of the sequence and then multiply your way back up by x^2 to the first term? I would expect that multiplication is less prone to errors than long division. One problem with this method could be determining how far is a far enough term (and of course division by a huge number might be cause more errors too).
@gobbel2000
@gobbel2000 2 жыл бұрын
The problem with that might be figuring out to how many digits that far back number is needed, because you will definitely need more than 100 digits when multiplying back up. But maybe just going for a little more than 100 _significant_ digits will already assure full precision to the end.
@adamtownsend3744
@adamtownsend3744 2 жыл бұрын
We did try something like this but found that a single long division by a huge number takes hours and is extremely error prone!
@ChristianPerfect
@ChristianPerfect 2 жыл бұрын
Yeah, we tried repeatedly squaring 239 to jump ahead a few steps and set off another branch of the process, but either multiplying or dividing by a large number of digits is way slower. So that's why we tried the table of people just dividing by 239
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
@@adamtownsend3744 I guess that's why they call it long division and not short division.
@parthsavyasachi9348
@parthsavyasachi9348 2 жыл бұрын
The fact that it was division was power on 5s that would be useful from the fact that 1/5 is precisely known. So multiplications can be done accurately.
@GodmanchesterGoblin
@GodmanchesterGoblin 2 жыл бұрын
Loved this, even though I can recite more digits of Pi from memory than were calculated correctly in the video. I also use Pi calculation for PC benchmarking purposes (using y-cruncher). The progress we have made in computing continually amazes me. I can currently calculate 13,000,000,000 digits in just 10 minutes (64GB RAM required).
@sharkinahat
@sharkinahat 2 жыл бұрын
I have about Pi number of Matt videos posted at the same time in my feed. I see what you did there.
@snazhound5827
@snazhound5827 2 жыл бұрын
What a wonderful effort and I think it was worthwhile for everyone involved. For myself I learned something new which is worthy of my time, and your group's of course. What was most interesting out of this is the possibility of working out how Shanks did the original calculations to begin with. Good show everyone. Cheers from Canada.
@CK-ceekay
@CK-ceekay 2 жыл бұрын
Love that it's presented as a failure but realistically when would you ever need more than 11 digits of Pi lmao
@silvervaliant
@silvervaliant 2 жыл бұрын
To impress your friends by knowing that pi is roughly equal to 3.14159265358979323 That's how much I know
@CK-ceekay
@CK-ceekay 2 жыл бұрын
@@silvervaliant I know one digit more, get wrecked
@ACuriousTanuki
@ACuriousTanuki 2 жыл бұрын
@@CK-ceekay didn't post, doesn't count.
@sarascoggan3490
@sarascoggan3490 2 жыл бұрын
This is the kind of thing you NEED for a happy Pi Day. Thanks to Matt and all!
@everdale8920
@everdale8920 2 жыл бұрын
I love this initiative! Just feel the need to point out the paradox of stating that you "had a lot of wasted capacity" when it seems you didn't use that capacity to double-check (and triple-check, and quadrouple-check) the calculations and instead let mistakes early on ruin all calculations down the pipeline. I like that some people used that capacity to find alternative ways of doing the calculations though.
@chicken_punk_pie
@chicken_punk_pie 2 жыл бұрын
The mistakes were late
@biggiemac42
@biggiemac42 2 жыл бұрын
Yeah in the beginning of such an endeavor the amount of data to work with either on validation or further use, is small. It would be neat to go through and see which stages had mistakes that persisted, I would doubt the error in the 11th place started early on
@everdale8920
@everdale8920 2 жыл бұрын
I did a little calculation and it seems the mistake could have shown up around 16/(17*5^17), meaning the 9th calculation (as long as they didn't do any major errors later, which should be easy to spot). I don't know how many calculations they did on that sequence, but it should be a lot as they were aiming for 100 decimal precision. I definitely applaud their effort, it was an amazing video. But I don't yet feel persuaded, this feels like an early error that they should have spotted.
@tyrannorama8643
@tyrannorama8643 2 жыл бұрын
@@everdale8920 he says that the mistakes almost certainly happened during the summation of all the terms which happened at the end
@highpath4776
@highpath4776 2 жыл бұрын
@@tyrannorama8643 well unless matt had checked all the checking I am not sure of his basis of conclusion. I certainly if enought people would have split into two teams replicating the primary work.
@hannahstronge2348
@hannahstronge2348 2 жыл бұрын
I really appreciate referring to William Shanks as they in your description! Thank you Matt!
@SimonDonkers
@SimonDonkers 2 жыл бұрын
Happy π-day everyone! 🥧
@Hamuel
@Hamuel 2 жыл бұрын
n day
@notohkae
@notohkae 2 жыл бұрын
If I like this comment it will no longer have 42 likes so I wont like it
@davetoms1
@davetoms1 2 жыл бұрын
11% success? Or 100% success in having fun! Love the video and everyone's enthusiasm 🤓
@marcelinebellafiore8695
@marcelinebellafiore8695 2 жыл бұрын
Little question: How do you know the precision of pi that you're going to end up with, assuming perfect calculation? As in, how many terms for these series do you need to compute in order to ensure you can get 100 digits of pi out the other end? and how do you find that number?
@eragontherider123
@eragontherider123 2 жыл бұрын
If you were trying to find pi to 5 digits, you could compute terms until you got a number that starts off with, .00000[stuff]…. The actual stuff no longer matters as it won’t influence the first 5 digits. As for knowing when that occurs you can use some guesstimating and number theory tricks to narrow down your search.
@joelsvensson2047
@joelsvensson2047 2 жыл бұрын
I don’t know how they did it initially but I’d guess they did the first 102 digits of each term and stopped when they were all zeros. Then, he explained at 23:10 how they did it more efficiently at the end. They calculated the first ten digits of the first term, then the first ten digits of the second term and so on until they had only zeros. Then they did the same thing with the next ten digits.
@michaelbauers8800
@michaelbauers8800 2 жыл бұрын
I wondered this too.
@kindlin
@kindlin 2 жыл бұрын
If you imagine each number they are generating, it's x/(x^a), and the 'a' (in the divisor) increases over and over, making the number smaller and smaller. Let's use the 239 example. If it was just 100 _instead_ of 239, then the calculation would be straight forward with some standard arithmetic of exponents: 100^(X) = 10^(2*X) = 10^100, where its now easy to see you need 2*x=100, or x=50. That would be 50 factors necessary. We're actually dealing with 239, not 100, but 239 ~= 100^2.39, so: 239^(X) = 100^(2.39*X) = 10^(2*2.39*X) = 10^100, thus 2*2.39*x = 100, or x = 20.92. Thinking of the 4 in the numerator, we may need to bump that up from 21 to 22; however, 4/239^2 is less than 10^-4, so our answer shouldn't change until after, or maybe at, the 4th significant digit, meaning you shouldn't need to go above 21. It's worse for the number 5, tho, because log(5)=0.7, so x=100/0.7/2 = 71.4. And then there is a 16 in the top, so that's another factor of 5^5, maybe 2 factors to be safe. Anyone else reading this? Does this look right? It makes sense to me.... EDIT: Edited for clarity.
@eragontherider123
@eragontherider123 2 жыл бұрын
@@kindlin you indeed nailed it. I initially wanted to go into more detail in my former post but I was at work and on mobile so I simplified it in order to show the general concept. Great work!
@richardbloemenkamp8532
@richardbloemenkamp8532 2 жыл бұрын
Such a nice collaborative effort! Maybe we can learn from it that it is often best to go for a smaller problem and try to make sure it is correct and then expand on it. Starting right away going to 100 digits is really very ambitious. Pretty good that you got more than 40 digit for the second term.
@TheRaphael0000
@TheRaphael0000 2 жыл бұрын
_Me, who knows the 20 first digits of pi, looking at the description during the video_ : Oh no...
@sreejithpro
@sreejithpro 2 жыл бұрын
man, this doesn't go down just as a pi day video. this is a marvellous documentary on a long lost hobby mathematician, Shank
@daser991
@daser991 2 жыл бұрын
Amazing effort by all of the volunteers 👏
@danarrow
@danarrow 2 жыл бұрын
“We tried; we failed; but we learned a lot”. You would not believe how many times I heard that during my time working with University research groups.
@Slikx666
@Slikx666 2 жыл бұрын
Another entry for the second book of 'When Maths Goes Wrong'. 😀👍
@TheMaxwellee
@TheMaxwellee 2 жыл бұрын
HAHAHA you got me Matt - "Classic Shanks", I nearly spat out my drink. Thank you.
@EagleM16
@EagleM16 2 жыл бұрын
BRB, just bulldozing a cemetery for kicks n’ giggles!
@minus6025
@minus6025 9 ай бұрын
4:27 I completely died when I saw that the subtitles said: No one else has seen this much *pie* before(pie instead of pi)
@rocstat6126
@rocstat6126 2 жыл бұрын
In the absence of my ability to see when you will hit the significant milestone of 2^20 subscribers I suppose I can at least congratulate you on hitting 10^6
@13donstalos
@13donstalos 2 жыл бұрын
Gosh it just broke my heart when they figured out how early they went wrong. All those people busily toiling away on incorrect calculations, I felt so bad for them. Awesome try though, guys! I have great respect for all those involved in such a cool math/history project. You'll get it next time.
@DadgeCity
@DadgeCity 2 жыл бұрын
Only a mathematician could spend a weekend with people from Houghton without finding out how to say Houghton. Or caring.
@MarcovandenHout
@MarcovandenHout 2 жыл бұрын
Well done, I'm sure you learned a lot more by calculating this than I did by memorizing too many digits of Pi :)
The biggest hand calculation in a century! [Pi Day 2024]
36:50
Stand-up Maths
Рет қаралды 467 М.
Is pool actually just mathematics?
26:40
Stand-up Maths
Рет қаралды 915 М.
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 74 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 29 МЛН
The Coupon Collector's Problem (with Geoff Marshall)
16:23
Stand-up Maths
Рет қаралды 290 М.
Pi Day 2019: calculating π with a balancing beam
13:51
Stand-up Maths
Рет қаралды 278 М.
Building a Relay-Powered Pi Machine
17:35
The Science Elf
Рет қаралды 322 М.
How did the 'impossible' Perfect Bridge Deal happen?
24:55
Stand-up Maths
Рет қаралды 787 М.
The 1,200 Year Maths Mistake
19:10
Stand-up Maths
Рет қаралды 2,5 МЛН
The Reciprocals of Primes - Numberphile
15:31
Numberphile
Рет қаралды 1,6 МЛН
A Proof That The Square Root of Two Is Irrational
17:22
D!NG
Рет қаралды 6 МЛН
Tau vs Pi Smackdown - Numberphile
11:12
Numberphile
Рет қаралды 1,3 МЛН
Recursive PowerPoint Presentations [Gone Fractal!]
14:47
Stand-up Maths
Рет қаралды 548 М.
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 74 МЛН