> temp > à-trier > so-why-do-colliding-blocks-compute-pi-3blue1brown

Why do colliding blocks compute pi?

3Blue1Brown - 2019-01-20

Part 1: https://youtu.be/HEfHFsfGXjs
Part 3: https://youtu.be/brU5yLm9DZM
Home page: https://www.3blue1brown.com
Brought to you by you: http://3b1b.co/clacks-thanks 

Many of you shared solutions, attempts, and simulations with me this last week.  I loved it!  Y'all are the best.  Here are just two of my favorites.
By a channel STEM cell: https://youtu.be/ils7GZqp_iE
By Doga Kurkcuoglu: http://bilimneguzellan.net/bouncing-cubes-and-%CF%80-3blue1brown/

And here's a lovely interactive built by GitHub user prajwalsouza after watching this video: https://prajwalsouza.github.io/Experiments/Colliding-Blocks.html

NY Times blog post about this problem:
https://wordplay.blogs.nytimes.com/2014/03/10/pi/

The original paper by Gregory Galperin:
https://www.maths.tcd.ie/~lebed/Galperin.%20Playing%20pool%20with%20pi.pdf

For anyone curious about if the tan(x) ≈ x approximation, being off by only a cubic error term, is actually close enough not to affect the final count, take a look at sections 9 and 10 of Galperin's paper.  In short, it could break if there were some point where among the first 2N digits of pi, the last N of them were all 9's.  This seems exceedingly unlikely, but it quite hard to disprove.

Although I found the approach shown in this video independently, after the fact I found that Gary Antonick, who wrote the Numberplay blog referenced above, was the first to solve it this way.  In some ways, I think this is the most natural approach one might take given the problem statement, as corroborated by the fact that many solutions people sent my way in this last week had this flavor.  The Galperin solution you will see in the next video, though, involves a wonderfully creative perspective.

If you want to contribute translated subtitles or to help review those that have already been made by others and need approval, you can click the gear icon in the video and go to subtitles/cc, then "add subtitles/cc".  I really appreciate those who do this, as it helps make the lessons accessible to more people.

Music by Vincent Rubinetti.
Download the music on Bandcamp:
https://vincerubinetti.bandcamp.com/album/the-music-of-3blue1brown

Stream the music on Spotify:
https://open.spotify.com/album/1dVyjwS8FBqXhRunaG5W5u

------------------

3blue1brown is a channel about animating math, in all senses of the word animate.  And you know the drill with YouTube, if you want to stay posted on new videos, subscribe: http://3b1b.co/subscribe

Various social media stuffs:
Website: https://www.3blue1brown.com
Twitter: https://twitter.com/3blue1brown
Reddit: https://www.reddit.com/r/3blue1brown
Instagram: https://www.instagram.com/3blue1brown_animations/
Patreon: https://patreon.com/3blue1brown
Facebook: https://www.facebook.com/3blue1brown

3Blue1Brown - 2019-02-09

Some added notes (copied from the pinned commend to the next video):

1) Some people have asked about if the tan(x) ≈ x approximation, being off by only a cubic error term, is actually close enough not to affect the final count. It's actually a very interesting answer! I really went back and forth on whether or not to include this in the video but decided to leave it out to better keep things to the point. This difference between arctan(x) and x could be problematic for our final count if, at some point when you're looking at the first 2n digits of pi, the last n of them are all 9's. It seems exceedingly unlikely that this should be true. For example, among the first 100 million digits of pi, the maximal sequence of consecutive 9's has length 8, whereas you'd need a sequence of 50 million for things to break our count! Nevertheless, this is quite difficult to prove, related to the question of whether or not pi is a "normal" number, roughly meaning that it's digits behave like a random sequence. It was left as a conjecture in Galperin's paper on the topic. See sections 9 and 10 of that paper (linked in the description) for more details.

2) A word on terminology: I tend to use the word “phase space” to describe any space like the ones described in this video and the last, encoding some state of some system. You should know, though, that often in the context of mechanics, this term is reserved for the special case of a space which encodes both the positions and the momenta of all the objects involved. For example, in that setting, the “phase space” here would be four-dimensional, where the four coordinates represent the position and momentum of each pair of blocks. The term “configuration space”, in contrast, just refers to one where the coordinates describe the positions of all the objects involved, which is what we do next video.

Hubert Plocharski - 2020-06-27

help me

010 Tapan kumar - 2020-07-01

How arc length becomes 2thita??🤔🤔

ZumBeispiel Ich - 2020-07-15

why is the first video translated in German but part 2 not 😒

Christopher Wells - 2020-08-15

@dresdenkiller every action has an equal and opposite reaction, in order to give velocity to the smaller object, the larger object has to lose velocity, this has to happen while keeping the conservation of energy in mind, due to both of these properties happening at the same time you would have to have a very specific set of properties for both body a and body b to have the same resulting velocities after a collision.

Christopher Wells - 2020-08-15

@Серёжа КРАСНЫЙ-5 the end result has the large object moving slightly slower than it was to start with, this lower velocity is due to the smaller object still having some amount of the large objects initial energy

Derpo - 2019-11-16

The collisions be like:

Bonk...bonk-weeeeeeeeeeeeeeeeyuuuuu...bonk

Francis Dave Cabanting - 2020-04-19

3Blue1Brown: Didn't sleep in nights for this

FatMemsBoy: Bonk-bonk weeeeeeeek bonk

Francis Dave Cabanting - 2020-04-19

3Blue1Brown: Didn't sleep in nights for this

FatMemsBoy: Bonk-bonk weeeeeeeek bonk

Papai - 2020-04-27

LOL

andres enriquez - 2020-08-20

i died with this

Leo Slider - 2020-08-30

It's actually super interesting, because this is just a psychoacoustic problem. The repetition of any sound at an extremely high rate causes a lower frequency to appear to our ears.

the sideways gamer - 2019-12-29

3 strongest things in the universe:


The old family computer


A nokia phone


That wall in the simulation

The Curiosity Show - 2020-04-01

Lol

Adi Septiana - 2020-05-04

@Villager Number 78 woooosh

Nic Graylin - 2020-05-13

@Villager Number 78 u forgot about black holes

32-bit integer limit - 2020-06-09

What about the slippery floor?

sta1.m - 2020-08-27

You forgot the blocks...

Shark171 - 2020-08-20

As Archimedes once said, "give me an infinite mass object and an immovable wall and I can compute all of pi"

Wait...

Tom Haflinger - 2019-05-13

0:52 - If your Geiger counter makes this sound, take your iodine.

Nab - 2020-02-12

Thanks for the time stamp lol

egg salad - 2020-02-13

I guess you could say he had a bit of an Ouchi didn’t he?




I’m sorry.

Agnieszka Przyjemska - 2020-03-12

It si only 3.6 roentgen

brianoy - 2020-04-02

hold up

Callum Clarke - 2020-07-29

@Agnieszka Przyjemska it's not three roentgen. It's 15000

DPrince - 2019-06-12

i always though i loved math,
college taught me that i didn't,
videos like this remind me that i did

m a r o z a - 2019-08-25

Where I'm from, kids work for the grades, not knowledge. That why we end up hating stuff that should be really, really fun.

I eat Cereal with Water and I pour the Water first - 2019-11-02

@m a r o z a i'm pretty sure it's like this everywhere. people never do it for the knowledge. i did, and now i'm having the time of my life programming math-related software at home. and at first i hated maths. but the reality is, only the beginning is tedious. once you get into the intermediate or advanced mathematics, things start to become awesome even if you can't do much with that knowledge alone. it's videos like these that remind me that i love programming. this video even made me get back to doing what i used to constantly do. i'm currently recreating the collision program they made in this video and i'm looking forward to finishing it.

oilab kowaski - 2019-11-03

@I eat Cereal with Water and I pour the Water first Good! I made my own similation with python too. Did you see Code Train's video about that? He made it in javascript.

iNVERT UK - 2019-12-15

Same tbh, college is killing me atm

Dj Qcumba - 2019-12-31

Honestly, pure math classes are hella dope. You gotta struggle through calculus but then you can take modern algebra courses and it changes how you look at the world

Xdo3 - 2019-10-12

3:14
Pi people: Hunt for pi!
Me: aren’t you just hunting yourselves?

Eve The Eevee - 2020-03-05

@Ashton Smith is that e?

Gracchus - 2020-03-23

@Eve The Eevee No

Kuldude 420 - 2020-05-22

I lik3 p1. It is 4 cool number.

Nicholas Heilig - 2020-05-26

I want to believe grant intentionally put the pi creatures at 3,14 minutes.

Para dox - 2020-08-25

314 Thumbs Up. Perfect.

Jaiyank Saxena - 2019-12-13

Didn't understand most of it but loved the sound of that collisionsss.

sunflower - 2020-06-20

Lol

Jacob Wright - 2020-07-26

Have you set your calculator to base 10?

Kishorekumar Sathishkumar - 2020-08-10

REEEEEEEEEEEEEEEEEE

Lord Of Shiba Town - 2020-04-19

0:06 0:20 0:32 0:50 6:24 6:37 8:58 9:26 11:04 11:48 14:28
All the block hitting wall scenes
Comment if I missed anything

The Slim - 2020-08-20

THANK YOU

asdf hjkl - 2020-08-20

thanks man u have no idea how much i needed this 😔😔😔

r n - 2020-08-23

@asdf hjkl 😀 really

Évariste Galois - 2019-01-20

Correct video title: “Block collision ASMR”

배정연 - 2019-08-11

LMAO

jules 03 - 2019-09-11

@Aryan Lohani an otaku... did you conflict otaku and weeb? CRUSADERS, TAKE YOUR WEAPONS, WE HAVE A CRUSADE TODAY!

Aryan Lohani - 2019-09-11

@jules 03 bro its 7 months ago , why am i back here?

jules 03 - 2019-09-11

@Aryan Lohani tho did you mean : why are we still here





Only to suffer, every night, i can feel my leg and my arm, even my fingers, the body I’ve lost, the comrades I've lost.

Unstable Alchemist - 2019-09-21

MelonPlayzYT ever heard of irony? i guess not

Also Landon - 2020-08-20

How to find The End Of Pi:
Set moving block to INF mass.

FoxTips - 2020-08-25

IUnderated coment

Ondřej Vitík - 2020-08-27

The end of pi doesn't exist. Nor can infinitely many collisions occur in that time.

thought police, get down! - 2019-02-03

The quality of this channel is insanely high

Tymofei - 2019-06-12

what tf im shocked as mechanical engineer,literally how this is possible and even more interesting who might have thought of this ?
Linking pi to dynamics,geometry,trigonometry,mathematics at the same time..I mean its really different point of view.
Brilliant channel deserves to be subscribed..

Rohan Sangani - 2020-02-11

I should be doing Trigonometry homework rn. This is more interesting.

Matías Fermín Páez - 2020-07-06

you should say "what the π"

Manuel Camelo - 2019-09-22

How do you animate all of this? I truly need a software like that :'0 :,OOO

Miguel Themann - 2019-12-08

Manuel Camelo You‘ll need to write some Python; https://github.com/3b1b/manim

기다님 - 2020-03-31

@Miguel Themann Here, I'll say his thank you for him. Thank you!

경기도성남시아탑동에사는김제동 - 2020-05-17

@기다님 안녕

기다님 - 2020-05-17

@경기도성남시아탑동에사는김제동 안녕. 저는 한국어를 못해는 하지만 저는 배우고 있어요! This is probably random but oh well

BlazedFire - 2019-01-26

I'm nodding my head and pretending I know exactly what he's talking about.

Edit (≈a year later): holy balls 2.6k likes

Thomas Harris - 2020-02-18

Damn it take my like

Bollibompa - 2020-02-25

ITT: People not understanding simple topics and people bragging to them that they understand simple topics.

Have a clap, you legendary mathematicians.

Kitty Boi - 2020-03-17

Same

Joe A. - 2020-03-19

Honestly this was a very intuitive video to understand. Most of his videos takes a long time for me to understand, but this one is relatively simple. Maybe it’s because I’m taking Physics and calc rn, but the inscribed angle theorem and conservation of momentum are easy topics to understand why the blocks hits the wall a specific number number of times

אלון ירושלמי - 2020-03-21

@sokayU0 X And physics

Cire Gnaw - 2019-09-21

The answer to life: the last 10 digits of pi

Jatin Soni - 2020-08-06

well played

ok f i n e - 2019-12-08

Teacher: The test won't be THAT confusing
The Test:

Daniel Pérez Benítez - 2020-03-21

How dare you say this video is confusing?

Fake Dude - 2020-07-25

Daniel Pérez Benítez we r smol brain

Balthazar Naylor - 2020-07-28

This video is not at all confusing, it is elegantly explained and very easy to understand.

PÁJARO 0 - 2020-07-29

@Balthazar Naylor not for my 10th grader brain :(

Jan Bernad - 2020-08-17

@Fake Dude yes

Joseph Heron - 2019-06-15

5:16 You cahnged it from 1.82 to 1.81.
cha cha real smooth

Nini Zeldav - 2019-12-16

Joseph Heron Turn around!

S. Stn. - 2020-06-26

5:21

Raketemensch 00000 - 2019-02-18

This channel is really extraordinary. I haven't done math in like 15 years, and then it was highschool, so mostly just rote memorization/plugging things in/that kind of b.s., never anything like getting to fundamentals or deeper understanding. Why can't math curricula in primary/secondary school aim at inspiring awe or seeing the beauty of math?

And... unfortunately most of the content put out here is beyond my immediate ken, but enough of it is such that, if i make the effort, i can at least start to grasp some of what's going on, and it's wonderful.

You're a very good teacher, and i like that these videos don't (seem to) dumb things down too much. They're intimidating to the layperson, but you know that it'll be worth it to try.

Simrasil - 2019-05-19

waiting for that last collision when the difference in velocity becomes really low is like watching the dvd logo head straight for the corner
pure asmr orgasm

RonaldinhoPopper - 2019-02-24

That was so beautiful :')

Makes me wish I studied specialist maths in Grade 12 so bad

Juan - 2020-07-06

aussie?

松本幸太郎 - 2019-02-06

The sounds of collisions make this video outstanding!

Simon Clark - 2019-02-02

This is one of the most beautiful educational videos I've ever seen.

Nicolas Concha - 2019-10-14

Yooo Simon Clark

DenisFan105 - 2019-11-22

This is sooooooooooooooo confusing, Yet Amazing science/physics-wise.

Gav C - 2019-12-01

Hi

KingArthur - 2020-03-21

DUDE UR LIKE JUSTIN Y OMG

Nic Graylin - 2020-05-13

Hi

Vanessa Lam - 2020-08-09

I understand everything in this video but I can't wrap my head around how they all fit together perfectly, like wow... how did anyone figure this out?

Nadav Ron - 2020-08-25

This isnt a very hard question in regard to physics, but it is a very elegant and nice looking presentation

Jonathan Martin - 2020-08-29

First of all, thanks for asking this,
Second of all, this is less of figuring anything out specifically, but more so explaining how certain concepts relate to one other. In other words, when working with equations, or concepts it is sometimes important to look at the information from another perspective, this is similar to a lot of university physics equations tie in circles to things like spring constants and pendulums. You can solve problems without the other perspective, but the ability to see it from another, may allow you to solve even more problems down the line, hence why we have standard quadrant system, spherical coordinates, and that other one I don't remember anymore :)

Vanessa Lam - 2020-08-29

@Jonathan Martin damn thanks for that in depth reply! I do see the purpose of translating scenarios into different mathematical concepts. My comment was more of an emotional "WOW" moment than anything, mostly because I've never seen mathematics presented in such a way in school before. (Also regarding coordinate systems I think you mean polar and cylindrical. I kind of see how that analogy translates to these systems too, but on a much narrower scale since they mostly still deal with the same scenario except with a different "notation" with the way you perceive the dimensions, I guess? In this video it relates a system of colliding bodies with circular "phases" which I found to be much more impressive haha)

EpicEpidemic - 2019-08-18

This is soooo wonderful.... I didn't know this math-physics relationship existed at this level (but I should have known).

TB- awesome - 2019-08-29

me while watching : what an interesting fact and solution for the problem
me 5 mins later : collision is a circle !

Rhaenyas Phoenix - 2020-08-18

It started off seeming incredibly difficult. Ended up being incredibly beautiful.

Arttu Kettunen - 2019-09-22

When you think you know all the basics about geometry after middle school and then you are presented with a zillion times more what you expected there exists about geometry

TheShermanTanker - 2020-03-10

1:07 Some scientists even published an entire goddamn paper on your problem XD

Amaraticando - 2019-10-13

First I came for the math.
Now, I return for the clacking sounds.

Jason Jung - 2019-11-21

와... 문과지만 개재밌다... 설명 오지네 진짜

jb42jb - 2019-01-22

Just as I suspected in 4th grade everything is solved by pi

juliopchile - 2019-05-14

and e

배정연 - 2019-08-11

incredible :)

jules 03 - 2019-09-11

ok, then please explain me your solution to the riemann's conjecture using pi please?






its a joke since i expect at least one person to r/wooosh

Nedyalko Nedyalkov - 2019-09-16

Luke Allen Ohh yeaahhhhhh
-Kool Aid Man

FGV Cosmic - 2019-10-05

@Jesse Balingit honestly, thats not because pi is beautiful, thats because e is beautiful.

Luke Skywalker - 2020-05-26

This is exactly the beauty of Maths and Science
And the reason I love these subjects SOOOOOOOOOOO much

Bl00d_Lu$t UPSB - 2019-02-12

I'm here to just watch the graphical representation, they are oddly satisfying to watch.

Chirag Agarwal - 2020-02-18

dude the way you solve problems is absolutely amazing
I can understand every step of the problem
wish I was taught in a more meaningful way and about how beautiful it actually is
ps a 17-year-old Asian fella

Marc Antony Isbert - 2019-07-27

At around 1:05 someone named hie work "Throwing π at a wall" XD

GogL0L - 2019-01-21

Grant I don't know if you're aware of this, but you're actually changing the world. The next generation of mathematicians will be a bunch of people inspired by you. You're absolutely a master of presenting and visualisinh beautiful proofs without the need of advanced mathematics.

Elderana Furhat - 2019-06-11

im not even in high school and im getting the basics of what you are saying all because of people like you on the internet that strive to go past what school teaches us (i still suck at spelling)

xneo - 2019-07-18

What if a 7 year old told us this!?!?!

Tyler - 2019-08-22

Hahahahahahahaha

Obscurité - 2019-09-02

sinh

Ken-Áilu Gaino - 2019-10-06

Is he changing the world tho? I see no changes at all based on this channel, veritasium, numberphile, mathologer etc.

Raising125 - 2019-12-27

this reminded me of my years when I studied this kind of stuff and gave me LOTS of anxiety

deeXaeed - 2020-08-30

I just discovered this channel. I wish I was as good a teacher as you. And had this clarity of concepts.

Thomas G. - 2019-02-17

Seems logic and mind blowing at the same time once explained! 😆👍👍

Angelo Kurian - 2019-08-11

I am in <3 with this channel. Its amazing to see math in action!

welovfree • محمد - 2019-01-20

11:51 That ghzzzzzt!! sound is satisfying for some reason.

triangle triangle - 2019-08-09

Creak

enderlaptop minecrafter3 - 2019-08-11

@D. K. so imagine a engine,one click piston goes up,speed makes the sounds

GDD - 2019-08-29

That make hurt

Insert Name - 2019-12-16

Chernobyl flashbacks

Josh Greengrass - 2019-06-25

Omg I’ve had to watch this 3 times but I finally understand it and it’s actually such an elegant solution 😯

Koh Wei Jian - 2019-02-03

Absolutely satisfying.

Andrew Beveridge - 2020-03-19

51 seconds in, I'm thinking it arises from the wave equation - the small block becomes an oscillator. After watching the video, I can't help but think there would be a way to do the same or similar thing using an oscillator with some sort of damping factor - as you make the damping factor approach zero, thereby requiring more and more oscillations to dissipate all energy in the oscillator, I think you might find pi jump out in a similar manner.

Also, for anyone chuffing at the apparent violation of conservation of momentum (resulting momentum is drastically different than the initial - ie, moving the opposite direction), remember that the real world doesn't have perfectly elastic collisions or walls with infinite mass. It's like the infinite square well in beginner quantum mechanics. Makes for tidy calculations, but strange results.

Rafael Marchand - 2020-04-18

First time i watched i got lost half way through, came back high and i got it, really fascinating haha

River Taig - 2019-01-20

What I really appreciate about this channel - and it's so well exemplified in these last two videos - is that through the creative use of animation, geometry, and well thought out naration, you can spark in a non-math major like myself not just understanding of what would otherwise be esoteric and unapproachable concepts, but genuine excitement. I'm turning 50 this week, and I'm finding myself wanting to go back to college and get a degree in mathematics. This was superb. Thank you 3,141,592,653 times.

John Early - 2019-01-21

River Taig I turn 50 in three weeks and feel similarly. I’m not unhappy how my life has gone so far, but watching videos like this reinforces the fact that the only reason I dropped out of math classes was because they were poorly taught, not that I was stupid, and I imagine I will feel satisfaction if I go ahead and return to college to succeed in math classes where I previously failed. Good luck with your efforts.

Tony - 2019-01-21

@John Early You're absolutely right to want to learn but I wish there was a better place than our broken system.

Bourgeois Rémi - 2019-01-21

It's never too late.

Grin Reaper Of Trolls - 2019-01-22

It's not too late to go back to school! DO IT! I am a physics major. I'm still deciding what I want my 2nd major to be.

Freedom - 2019-01-22

I can vouch for you about how this guy allows us to see stuff which at first seem so complex yet shown so concisely and logically. I'm 15 and this made almost perfect sense to me.

Vitor Lucas - 2020-05-21

how can i know that the system will reach a "terminal state"? In principle, this has not been proven and the system can evolve indefinitely.
Someone can help me with this with some discussion or reference? THIS IS KILLING ME!!

kebman - 2019-07-07

Am I the only one who like the little "wow" sound being made when the squares collide?

Falco - 2020-04-08

Video: Is 15 minutes long

What I took from it: big square and small square make funny sound