Lars Quentin
Lars Quentin
  • 2
  • 29 732
Master Theorem Visually Explained
Here we go over the intuition behind the master theorem / master method, which often times gets lost behind all the math required for the proof.
Visualized with Manim Community.
Sources and further links:
- [Al Gore Clip, Simpsons episode 113](simpsons.fandom.com/wiki/Grampa_vs._Sexual_Inadequacy)
- [Animating Fluid Sediment Mixture in Particle-Laden Flows](ua-cam.com/video/kt_TlUsv6rU/v-deo.html)
- [Control Strategies for Physically Simulated Characters Performing Two-player Competitive Sports](ua-cam.com/video/KIaYFt6qY7E/v-deo.html)
---
- [Bubble-sort with Hungarian ("Csángó") folk dance](ua-cam.com/video/semGJAJ7i74/v-deo.html)
- [Insert-sort with Romanian folk dance.flv](ua-cam.com/video/EdIKIf9mHk0/v-deo.html)
- [Merge-sort with Transylvanian-saxon (German) folk dance.flv](ua-cam.com/video/dENca26N6V4/v-deo.html)
- [Quick-sort with Hungarian (Küküllomenti legényes) folk dance.flv](ua-cam.com/video/kDgvnbUIqT4/v-deo.html)
- [Select-sort with Gypsy folk dance.flv](ua-cam.com/video/0-W8OEwLebQ/v-deo.html)
- [Shell-sort with Hungarian (Székely) folk dance.flv](ua-cam.com/video/yn0EgXHb5jc/v-deo.html)
---
- [Model Checking](en.wikipedia.org/wiki/Model_checking)
- [Hoare Calculus](www.researchgate.net/figure/Hoare-logic-with-separation-logic-for-reasoning-about-execution-time_fig2_324458680)
- [Z3: An Efficient SMT Solver](doi.org/10.1007/978-3-540-78800-3_24)
---
- [What Is Big O Notation?](ua-cam.com/video/Q_1M2JaijjQ/v-deo.html)
- [Khan Academy: Asymptotic notation](www.khanacademy.org/computing/computer-science/algorithms/asymptotic-notation/a/asymptotic-notation)
---
- [The Hammer Party - Divide And Conquer](ua-cam.com/video/hJrSPMtTq4E/v-deo.html)
- [PINK GUY - HELP](ua-cam.com/video/Ho1LgF8ys-c/v-deo.html)
- [Look at this graph](ua-cam.com/video/sIlNIVXpIns/v-deo.html)
- [JO1 - Algorithm ](ua-cam.com/video/VnLscLX1BQ8/v-deo.html)
---
- [How Karatsuba's algorithm gave us new ways to multiply](ua-cam.com/video/cCKOl5li6YM/v-deo.html)
- [2. Divide & Conquer: Convex Hull, Median Finding](ua-cam.com/video/EzeYI7p9MjU/v-deo.html)
- [Geometry of football (Voronoi)](ua-cam.com/video/ZAz9mDlsWgQ/v-deo.html)
- [3. Divide & Conquer: FFT](ua-cam.com/video/iTMn0Kt18tg/v-deo.html)
- [The Fast Fourier Transform (FFT): Most Ingenious Algorithm Ever?](ua-cam.com/video/h7apO7q16V0/v-deo.html)
- [FFT Example: Unraveling the Recursion](ua-cam.com/video/Ty0JcR6Dvis/v-deo.html)
- [4. Divide & Conquer: van Emde Boas Trees](ua-cam.com/video/hmReJCupbNU/v-deo.html)
- [Closest Pair of Points (Divide and Conquer) Explained](ua-cam.com/video/6u_hWxbOc7E/v-deo.html)
- [Strassen algorithm](en.wikipedia.org/wiki/Strassen_algorithm)
Переглядів: 29 634

Відео

DONUT CITY BABYDONUT CITY BABY
DONUT CITY BABY
Переглядів 129Рік тому

КОМЕНТАРІ

  • @wannabehuman.production
    @wannabehuman.production 22 дні тому

    May you live a long happy life

  • @stefano3618
    @stefano3618 23 дні тому

    thank you so much for the video. I really appreciate it: the topic is well and CLEARLY explained with fantastic animation.

  • @williamyang8408
    @williamyang8408 Місяць тому

    This is so op wtf how do you only have 300 subs

  • @sonikaagarwal931
    @sonikaagarwal931 Місяць тому

    why do you only have one video??? i was so hoping to look at more :( but thanks anyway! great video

  • @stefano3618
    @stefano3618 Місяць тому

    In 5:26 I haven't understood why the index of the sum is from j=0 to log b (n-1) rather than j=0 ti log b (n) - 1

    • @larsquentin8249
      @larsquentin8249 Місяць тому

      Sorry for the late reply. Because the last/n-th term are the leaves, which are the term afterwards, i.e. Theta(n^(log_b(a)))

    • @stefano3618
      @stefano3618 23 дні тому

      It' s fine. I mean if we don't consider the last level in the summation we should do height minus 1, with height = log_b(n), so the minus 1 is outside the bracket. Correct me if I am wrong

    • @larsquentin8249
      @larsquentin8249 9 днів тому

      @@stefano3618 Didn't see it again haha. Yes, you are completely correct, it should be sum_{j=0}^{log_b(n)-1} I've pinned your comment for everyone else. Thank you so much!

  • @Ned_.
    @Ned_. 3 місяці тому

    great video, thanks bro

  • @gabut1839
    @gabut1839 3 місяці тому

    YOUR VIDEO IS AMAZING, BE CONSISTENT AND ULL BLOW UP SIR!

  • @powermax6391
    @powermax6391 3 місяці тому

    first time finally understanding it, thanks a lot

  • @JS-dn9cr
    @JS-dn9cr 3 місяці тому

    make more vids pleaseeeeee this is god tier

  • @brunomoreira6416
    @brunomoreira6416 3 місяці тому

    please make more videos, engaging, easy to understand and funny, great job!

  • @mostafayounes9490
    @mostafayounes9490 3 місяці тому

    Thank You❤

  •  4 місяці тому

    What a great video!

  • @a.m.4154
    @a.m.4154 4 місяці тому

    3:55 - "what is the depth of our tree?" - No such thing exists. You have the depth of a node, the height of a node, and the height of a tree.

    • @ilayohana3150
      @ilayohana3150 3 місяці тому

      🤓even professors would say the depth of the tree to refer to the deepest point of the tree

  • @user-em1bq6sk7f
    @user-em1bq6sk7f 4 місяці тому

    I think you are a kind person

  • @wyatt3112
    @wyatt3112 4 місяці тому

    This is amazing. Thank you so much, Lars. Do you post videos anywhere else? I am studying "Introduction to Algorithms" by Cormen right now in school but I am much more a visual learner. Does anyone have any good playlists or outside resources to help with this material? I know a lot of folks really take to Abdul Bari's videos but I don't understand his explanations as easily as others seem to.

  • @Trohnald
    @Trohnald 5 місяців тому

    I LOVE YOU LARS THIS HAS BEEN SO HELPFUL

  • @bryanshaong2333
    @bryanshaong2333 5 місяців тому

    Where more video, hw due tmr , need help

  • @user-em1bq6sk7f
    @user-em1bq6sk7f 5 місяців тому

    brilliantly explained

  • @haiphan8360
    @haiphan8360 5 місяців тому

    Time-efficient at its best!

  • @xash3000
    @xash3000 5 місяців тому

    Thank you

  • @spooki9813
    @spooki9813 5 місяців тому

    dude thank you for this video i explained this to some autistic girl at a party and she went home w me :)

  • @tatox2167
    @tatox2167 5 місяців тому

    brrrruuuuh you need to create more videos this was awesome

  • @emanabdelhaleem7561
    @emanabdelhaleem7561 6 місяців тому

    This is just amazing work! Thank you so much.

  • @kingshukcs
    @kingshukcs 6 місяців тому

    Very good presentation and I loved your style of teaching!!

  • @stark.aritra
    @stark.aritra 6 місяців тому

    I have never seen such an eloquent explanation of the master theorem in books or any videos, hats off.

  • @anik._.
    @anik._. 6 місяців тому

    brilliant

  • @speedwagon1524
    @speedwagon1524 6 місяців тому

    You saved my Master's Degree! Thanks Lars, I love you!!!

  • @samarthtandale9121
    @samarthtandale9121 7 місяців тому

    Really awesome explanation brother ... kudoes!!! You diserve so many subs!

  • @PendingEvolution
    @PendingEvolution 7 місяців тому

    No context, no explanation, just donut

  • @xLany
    @xLany 7 місяців тому

    Lars why are you so cool. This is one of the best algorithm teaching videos I've ever seen in my life. I’m relearning Master’s Theorem at 2am right now. Every couple mins I audibly say “what the f!!!” and pause the video to take agitated paces around the room because something you said just blew my mind again. Thank you for the clear explanation, the visualization, the scattered meme-ry, and the montage of cool applications at the end (I dropped so many "what the f"s going through that). Above all THANK YOU for all the time and care you put into this video, it is a cut above everything else I've seen!!!

  • @wolfgangamadeusmozart3200
    @wolfgangamadeusmozart3200 8 місяців тому

    Why you have ONLY ONE video ???

  • @redj_dev
    @redj_dev 8 місяців тому

    confirmed best vid on YT about this. Saved my homework grade ty bb <3

  • @chinglemba9136
    @chinglemba9136 9 місяців тому

    it's a crime that your channel does not have millions of subscribers. THANK YOU for this

  • @mikhailwebb8377
    @mikhailwebb8377 9 місяців тому

    I see that you are trying to explain as best as you can, but I still don't understand. The other videos on UA-cam for Master Theorem are also garbage.

  • @phillipsmith4220
    @phillipsmith4220 9 місяців тому

    What an incredible video. I would have saved so much time if I had found this video first! Thank you so much.

  • @jurycould4275
    @jurycould4275 9 місяців тому

    Bitte ende nicht als 0815-Entwickler. Das ist meine Domäne.

  • @user-kz1en1qj3g
    @user-kz1en1qj3g 10 місяців тому

    nice video man! Good explaination on the master theorem!

  • @abhirup619
    @abhirup619 10 місяців тому

    Everywhere I searched they just used the formula or showed how to use the formula! This is EXACTLY what I was looking for. Brilliant work

  • @kevalgandhi9162
    @kevalgandhi9162 10 місяців тому

    Best Video so far on MT

  • @Tiniku
    @Tiniku 11 місяців тому

    where have you been all my life. thank youu!

  • @justavine487
    @justavine487 11 місяців тому

    Very strong video. You could have a bigger audience if you also uploaded your videos in german ;)

  • @lukam.7575
    @lukam.7575 Рік тому

    great video, well explained and well made, making it very easy to visualize the concepts being apllied to the problems.

  • @yunoletmehaveaname
    @yunoletmehaveaname Рік тому

    Omg please post more videos. I love this!

  • @lethalbacon3299
    @lethalbacon3299 Рік тому

    Please! PLEASE MAKE NEW VIDEOS ABOUT OTHER COMPUTER SCIENCE TOPICS! This video war really great and I understood the Theorem!

  • @ellenkoning3491
    @ellenkoning3491 Рік тому

    to few people have seen this!

  • @gabriel-oc4pt
    @gabriel-oc4pt Рік тому

    bro I owe you one THANK YOU

  • @sillaceestekay2069
    @sillaceestekay2069 Рік тому

    You sir are a legend!

  • @johnwang41
    @johnwang41 Рік тому

    U are amazing, I hope u can continue to do this, it is wonderful viode.

  • @maxbill1921
    @maxbill1921 Рік тому

    This is Wonderfull.... Best explanation

  • @silentco2254
    @silentco2254 Рік тому

    can you provide your code for the animation in manim I am new to manim and I would really learn a lot from you