A Monte Carlo simulation is a randomly evolving simulation. In this video, I explain how this can be useful, with two fun examples of Monte Carlo simulations: The first model shows how pi can be determined with Monte Carlo sampling, and in the second part of the video we will take a look how animations can be rendered with Monte Carlo path tracing.
If you want to see another Monte Carlo simulation in action, check out this video:
• Entropy Explained with...
If you want to support my channel, subscribing, liking and sharing is an amazing help. Thank you! :) If you feel like this video added value to your life and you want to support MarbleScience even more, please consider becoming a patron.
/ marblescience
Chapters:
00:00 What are Monte Carlo simulations?
01:01 determine pi with Monte Carlo
03:01 analogy to study design
04:56 back to Monte Carlo
05:57 Monte Carlo path tracing
08:51 summary
There is also a text version of this video on my website:
marblescience.com/blog/monte-...
You can also find me at:
/ tobiasllemke
/ marblescience
If you want to support my channel, subscribing, liking and sharing is an amazing help. Thank you! :) If you feel like this video added value to your life and you want to support MarbleScience even more, please consider becoming a patron. www.patreon.com/MarbleScience
You are incredibly handsome
04:30 The law of large numbers is bullshit. If it were true, no one would have been surprised by the election of Harry S. Truman to the office of president of the USA.
When are you making more videos? :( I absolutely loved this one!
I've done two out of your three suggestions. I liked and I subscribed. Now, I have to think to whom I'm going to send it. What if I send randomlly to my friends list? 😄👍🏼
@@JorgeBrown no objections from my side 😄
literally hypnotized by how clean that marble animation was. This channel feels like a massive hidden gem!
yeah it's really good. though the scale with the cylindrical container on it should have been circular 🙈
Nice Video and even better Animation!
Thanks!
:DDD
Ich habe Grade dein Video über die Atemübungen gesehen und jetzt dieses Video und du bist einfach hier in den Kommentaren. (Hab vorher noch nie ein Video von dir gesehen)
No! Nice animations even better video
so ein macher was machst du denn hier :D
You are a mathematician harry
I ended up here randomly, was not disappointed. Your accent is great, material delivery was clear and concise, the animation was solid, and video length was perfect. Keep up the good work, this channel will go far!
Did you drop in during a montecarlo simulation ?
Why does this comment sound like a good teacher’s feedback? :)
@@AndoMusicChannel LOOOL exactly my reaction!
@@AndoMusicChannel Because it's constructive, not just another meme.
Randomly... not really
This was fantastic. As a mathematician I've always found Monte Carlo simulation to be a tremendously powerful tool, mainly due to its simplicity. To see that you start the video by saying precisely that is truly wonderful :) Keep it up!
I don't know if I would say that Monte Carlo simulation is so simple as I would say that analytic methods get surprisingly complicated with the slightest modification of the standard examples.
I thought mathematicians were nearly always exact....but those who study physica will enjoy this kind of methodes. (Unless you're specialized in statistics....).
After watching this vid: This channel has to have more than 1million subscribers... .
After watching the first few seconds: subscribed
Very clever!
You have an amazing knack for presenting complex stuff in a simple manner. Its not just the storyline or the visuals that are great, the audio part is soft-toned and slow enough, easy to follow.
Thank you! Not easy to find "no-fluff", straight forward explanations these days. Right level of depth and still entertaining!
This is great! Very unique. As a Maya user I appreciate the amount of effort it took to make this. This kind of content is gold and people will find you. Usually when I watch new channels I have critiques but everything about this is damn near perfect. Can't wait for more
As an engineer, I love watching videos explaining various math concepts through different ideas, even though I already learned these concepts quite well. You did a fantastic job. I appreciate all works that make science/math/engineering easy to the grand public!
It is a brilliant demonstration, also it left me wondering if the robotic arm is connected to the tabletop with the dishes,l guess it could move the dishes slightly,or not?
I needed to understand the Monte Carlo methode for my AI project in the Uni. Your video is amazing! thanks a lot :) The visuals and animations are great.
Absolutely fantastic. This is what we call go big or go home. This is astonishing as your 3rd video on KZhead. Please keep the good work.
I love those visuals! Simple but they contain everything. :)
Awesome explanation of Monte Carlo simulations! Clear and concise, love it!
Channels like these deserve all the subscription for helping students all over the world
3D animator, learning python, was researching the best way to understand Monte Carlo Simulation. Props for an amazing video overall, crisp animation, no nonsense explanation, and the rendering example just solved too many puzzles bundled in years. Liked and subbed. Thank you very much.
Glad it helped :)
I was looking for a quick and simple explanation on Monte Carlo Simulation and thanks to your video it made my job soo much easier!! Amazing video :)
Really amazing video, so concise yet explanatory with visuals to boot!
I was reading a whitepaper on Project life cycles: and how uncertainty decreases over time (given a set of constraints in the model), and the corresponding increases in cost of change. This animation of Monte Carlo Simulation tool is so beautiful. Thank you!
Amazing work and explanation! I think I finally understand the main reasoning to use a Monte Carlo simulation on a given problem. Thanks!
Hi from KZhead Recommended. Appreciate the production value and quality of content.
Such an incredible video, Monte Carlo simulation is incredibly widely used and important in radiation therapy physics to simulate particles. I am studying it currently and it is so refreshing to think about the concepts in physics with your marble animations! Amazing and thank you!
I’ve encountered this probably only 3-4 times in my career and every time I need a refresher and am suitably impressed with its elegance and RL applications. Thanks for the simplest explanation and demonstration I’ve seen yet. New subscriber here.
Great to hear!
Great video, did not know monte carlo methods were used for light scattering in diffused surfaces but it makes so much sense!
Really well explained great visuals nice audio quality this channel is on the right path love it
Wonderful explanation! I've read so many papers that use Monte Carlo simulations to analyze results but I never really knew what that meant. Thank you for your intuitive approach to explaining the concept, this was very clear.
I haven’t seen anyone explain MC simulations so clearly. Please keep it up and upload videos on more such topics.
Only 4k view for such an beautiful explanation? Great job man!!
Great video and a fantastic explanation! I love the 3D visuals, they look really nice. I’m currently using Monte Carlo simulations to fit molecular simulation boxes to neutron diffraction data.
Thanks for the amazing content and presentation. This channel is gonna grow for sure!!
I am extremely grateful to live in world where people who are intellectually-gifted are inclined to share their insights to others in an effective, straightforward way.
Amazing! I was reading a book today that referring to this concept. It's so much clearer now, thanks a ton!
Fooled by randomness?
Great video! Another computer graphics example is Ambient Occlusion, which artificially adds shadows to occluded places that are unlikely to get much light reflected to them, like the corner of a room. Very roughly speaking you can imagine a small sphere around each image pixel, and then you sample a number of random points within that sphere. For each sample point that is "inside" an object, you make the pixel a little darker to simulate occlusion, since that indicates that no light can come from that direction. Usually only a few samples are taken (~8-32 in real time applications like games), so the result is very noisy just like in your lighting example. But this noise is often considered a good thing because you can save the resulting shadows to a seperate image and put them through a smoothing algorithm before applying them to the output screen. The result tends to looks positively organic - reasonbly smooth, but with a bit of visible randomness to it, just like most real life surfaces.
So interesting! The flow of the video including the visuals are amazing!
Saw first video from your channel today and have already hit the subscribe button! Really cool explanation. Thank you!
This is a really useful concept and is very similar to that used in the colour sampling done using bayer sensors in digital cameras. So long as the pixel count is high enough, the distributed mosaic pattern (or colour filter array) allows for sampling of enough RGB luminance values to fairly accurately interpolate (using demosaicing algorithms) the neighbouring pixel colour. The concept of signal to noise ratios and thresholds for a given task can be applied to just about any situation. You did a great job of explaining this.
Interesting! I always love to discover situations where this concept is used, and yes there are really a lot. Thanks for your comment.
The production value of this video is AMAZING. Please keep creating content my dude
Thank you! Will do!
Thank you for your patient and well-paced explanation.
Dude, this was really good... takes a complex concept and illustrates it with very understandable examples and graphics. Well done.
Great work on these simulations. I'm looking at Physics graduate programs right now and I've seen "Monte Carlo" thrown around quite a bit. Good to know they just meant "estimates that give good enough answers."
This video is probably gonna blow up in the future. Good luck(68K views now)
2 days later 235k views.... (18 nov 2020)
1M (10 Jun 2023)
Never heard anyone explain anything this concise 👏👏👏
Fantastic video quality! This channel deserves way more subs
I really like the style of this video, a good but simple way of explaining things👍 And some really nice animations :)
Thanks :)
@@MarbleScience can you tell me more about how you do them? Is it Blender + Python? Thanks ;)
Vielen Dank, sehr cooles and gut verständliches Video!
We use monte carlo to test our GNC algorithms for my university satellite program. Seeing the example of render draws some awesome parallels to the simulation we use, and I will definitely be using your example when explaining our simulation in the future. Awesome video!
Bless you for this clear explanation
My father is currently the youngest still-surviving American POW of WW-2. He also worked at RAND Corp., programming early computers. He went to CACI, where he did 'all' of Harry Markowitz's math (Markowitz won a Nobel). Video reminded me of it, thanks for that! My father explained that the Monte Carlo method required lots of 'transactions' to work well. He compared it to a CASINO when we visited Las Vegas: empty and dull until enough people showed up to gamble. He opined that the methodology formed the basis of the modern financial industry, which requires lots of 'transactions' to appear vibrant. In the 1990's he stated that some of the mathematics he wrote and coded at RAND in the early 1960' was still embedded in code modules commonly in use then (and perhaps now as well).
Wow... great
Incredible job! That's some high quality and very educational content right there. Really hope that your work will be appreciated more :) Thanks
AKA "I'm too lazy to learn integrals"
The quality of videos on that channel is extremely well: explanations are clear and thorough and proper animations play a great deal in illustrating concepts. The world needs content like that, please do more.
Glad you like them!
love it used Markov-Chain-Monte-Carlo for my master thesis study in the medical field. Made me a bit happy that the youtube algorithm showed me your video :)
High quality content, I can see you channel growing quickly and eventually to millions of subscribers!!!
I wish the same
High quality, extremely nice production value, subbing just because of that.
Wow I didn't look at subscribers until after, I just assumed it was like several hundred thousand at least!
"It's a type of overtly theoretical concept that can solve incredibly complex problems, which I thoroughly enjoy doing" Nerds have a totally different world.
These animations are unreal and the video quality is amazing.
Thank you! It's crisp and clear. Amazing video making. :)
Can you use a Montecarlo simulation to determine when randomness becomes reliable? Perhaps Defining reliable as 2decimal places. Just curious.
I imagine you can continue the simulation until it wanders as little as you need.
From the law of large numbers, you can make predictions about the standard deviations. It mostly goes as ~1/√N where N is the number of samples
Man, am I glad that Edward Snowden finally found a job
... playing Harry Potter.
He looks even more like Ryan Eggold, actor in The Blacklist
@@WilcoVerhoef True again
Tobias (the person in the Video), just in case you’re reading this: I enjoide the whole video, honestly. Were just having a little fun here.
@@WilcoVerhoef Yeah, was thinking the same.
Incredible visuals and explanations, thanks!
Great video man, good explanation and amazing application example
Why’d I think this vid was hummus recipe
Oh my gosh same!!
I thought it was chickpeas too and that's why clicked on the video!
😂
I finally did it!!!! I FOUND WALDO!!! 😭
He looks like Mr. Beast dressed as waldo
That is a very informative and brilliant video to explain the simulation. I like how you used simple analogies to explain it. Thanks for this illuminating content !
Wow-effect. Instantly you enlighted, what until now, like a shadow fluctuated through my brain. A perfectly timed speed of explanation, perfect animations. Chapeau!
People who disliked this video have a soul, but no hole!
So that’s what “default hair” looks like in real life...neat.
😂
That explanation with that animation is pure art. Whoa.
Love it, clear, precise but not too much : just the right amount of information for a break, and enough to want to watch the rest :)
Did anyone else think he was doing a Monte Carlo simulation with Corn Pops from the thumbnail???
I thought it was chickpeas LOL
Considering that your viewers are a random representation of the population. Does the like/dislike ratio represent how good or bad your content is?
Haha good question. Actually I observed that the ratio is shifting. Initially the video was mainly found via search. Now the video is mainly found via suggestions on the home screen. The like/dislike ratio was still higher when the video was mainly watched by people who where specifically searching for Monte Carlo sims. So, no viewers are certainly not a random representation of the population, and metrics like the like/dislike ratio depend a lot on what audience the KZhead algorithm chooses for a video. That is actually a very interesting and tricky optimization problem. The KZhead algorithm tries to find good videos based on metrics like like/dislike, and at the same time the algorithm influences these metrics by choosing the viewers. (ha I guess I shouldn't spend so much time on comments but I think that's really interesting😊)
@@MarbleScience What's your main field of study? I'm just curious because of the language you're using, which could either stem from Pure Mathematics or Computer Science lol Also, please do more videos, using these visualizations. I could imagine that even concepts such as Quantum Mechanics could be better explained with marbles, than by any teacher...
I studied chemistry, but I'm PhD student in a computational chemistry group 😉
Awesome video! Was always interested in what Monte Carlo simulations are. Great Animations as well! Can't wait to see what other videos you're going to make.
Beautiful, you really know how to explain it
Harry Potter + Mark Zuckerberg = MarbleScience
he looks like mr beast if he had continued college
He should shave his beard and just leave the moustache.
lol
I'm so glad to have been randomly interested in this and have found this channel as a result.
This one is my favorite. I am a Data Scientist and it makes more easy for me to understand this concept. Thanks for the efforts you have put in this video. Boss, U are a great story teller. I wish, you had made more videos and post them regularly. Waiting for the contents on this channel to get regular.
AKA "I'm too lazy to learn integrals"
:REAL:
Not everything can be integrated. Especially in real life...
You have no idea what you are talking about. Just because you took an intro to calc class doesn't mean you know how to properly simulate anything. If you disagree tell me how you would even approach this problem using integrals without an absurd amount of computing power
You have no idea what you are talking about. Just because you took an intro to calc class doesn't mean you know how to properly simulate anything. If you disagree tell me how you would even approach this problem using integrals without an absurd amount of computing power
Modern graphics simulations will have to disagree with you. Path tracing is impossible without Monte Carlo.
This is the first time in a long time that I haven’t spent time reading comments during the video. You held my full attention in the palm of your hands haha. This was awesome, thank you!
Glad to hear it!
What a great video! Beautiful graphics and an excellent explanation
love the video! Keep them going! thank you for your help :)
man, the visuals were stunning
Can I ask what program you use for your animations? Specifically the one with people rotating around the globe.
Sure, It is all made with Blender. The 3D animations as well as the animated drawings.
This video production is a gem.
Amazing work! Hope to see more of it in the future!! :)
A very well-presented video. Well done, and thanks!
I couldn't really understand Monte Carlo by reading a paper, but I can easily understand it from a 10 mins long video. This is awesome!
Excellent presentation. Keep up the good work.
Very interesting. Often you just are taught: this is how MC simulations work. But now I learned that they are a short cut, you don't have to trace all possibilities!
Awesome video! I had come across "Monte Carlo simulation" several times while reading rendering papers. Now to get an understanding of "stochastic".
Loved your methodology of teaching!! Appreciate it👍
Thank you for this fantastic video! It is the best explanation of the Monte Carlo method I've come across so far,
This was done reaaaalllly nicely, good job man!
Thank you! Great explanation!
Wow, great video. I felt smart by 'guessing' the model of rendering light before he even prompted the question. A video explanation that teaches you so well you guess the answer before the question is great video indeed!
Glad it was helpful!
Thanks for your simple explanation...excellent
This was an amazing explanation. After searching so many contents and watching many youtube videos, finally I understood the concept of Monte Carlo simulation. Thanks.
Glad it was helpful :)
Thanks for the short and clear explanation.
Thank you for sharing this! Much appreciated
Outstanding dude. Keep going. I am an enthusiast but I had no idea of these. Love it.
Greate and intuitive animation CG present for us and helps to understand MC integration more easily. Thanks for sharing !!