Catalan numbers derived!

  Рет қаралды 18,659

PenguinMaths

PenguinMaths

Күн бұрын

How many ways can you validly arrange n pairs of parentheses? We explore this question visually, using generating functions and a combinatoric proof.
Josef Rukavicka's paper (source of the combinatoric proof): www.combinatorics.org/ojs/ind...

Пікірлер: 27
@TechToppers
@TechToppers 11 ай бұрын
take a moment to appreciate that he went over a lot of cool combinatorial ideas(man they're useful for solving problems I swear), and then went over generating functions showing that all math is really connected... I mean I've seen almost all the ideas before, but the presentation is just amazing. i love how everything comes one after another. I've learned some new stuff here as well. I really love your video sir. thanks a lot for this!
@anuragsingh9995
@anuragsingh9995 4 жыл бұрын
This is by far the best video I have ever seen on Catalan numbers. All I ever saw was ways to compute them. This is brain orgasm! Thanks for the efforts.
@tech_buddy
@tech_buddy Жыл бұрын
second method was just amazing i was like wow it was a week since i was struggling to know visual reason behind formula and you just nailed it🎉🎉
@jamesking2439
@jamesking2439 2 жыл бұрын
Okay, the fact that you can use a polynomial to represent the number of paths and the algebra takes you the rest of the way is blowing my mind.
@nshaff3r
@nshaff3r 2 жыл бұрын
Amazing video! You explained some of these difficult concepts really well.
@amirjutt0
@amirjutt0 5 ай бұрын
Man. You deserve way more than it. I usually don't give good rating to feakin math tutorials. This one was really nice. keep it up man
@backtobackcp-codechefxcode7872
@backtobackcp-codechefxcode7872 3 жыл бұрын
Ah, I was looking for this video after failing to solve a Computer program to evaluate bracket combinations. Thank you ! Really informative video ! #subscribed :)
@user-cw2dm3xm4y
@user-cw2dm3xm4y 2 жыл бұрын
Fabulous video. Very easy to understand and really make sense.
@isaacdouglas1119
@isaacdouglas1119 Жыл бұрын
Super illustrative animations! What software do you use?
@muralidharansomasundaram1509
@muralidharansomasundaram1509 Жыл бұрын
Nice combinatorial proof.
@ludovicbedard7922
@ludovicbedard7922 8 ай бұрын
Wow. I'm only at 9min, and I love that explanation of a generating function.
@rishabhmishra9611
@rishabhmishra9611 3 жыл бұрын
Awesome
@yifuxero5408
@yifuxero5408 Жыл бұрын
Easy recursive way to get the Catalan numbers: Begin (1, 1,) dot (1, 1) = 2. Place the 2 on the right of (1, 1,) getting (1, 1, 2). Reverse and take the dot product of (1, 1, 2) and (2, 1, 1), getting (2 + 1 + 2) = 5. Then place the 5 to the right of 1, 1, 2, 5 and take the dot product of the reverse,(5, 2, 1, 1) getting (5 + 2 + 2 + 5) = 14. Put 14 to the right of the ongoing string getting (1, 1, 2, 5, 14) and take the dot product of the reverse, so dot product of (1, 1, 2, 5, 14) and (14, 5, 2, 1, 1) = (14 + 5 + 4 + 5 + 14)
@wyattstevens8574
@wyattstevens8574 Жыл бұрын
I know that one!
@tech_buddy
@tech_buddy Жыл бұрын
please restart making videos they are just lit🔥🔥🔥
@PenguinMaths
@PenguinMaths Жыл бұрын
Thanks for the kind words! I would like to, it’s just hard finding time with a full time job and separate programming projects I’m working on
@domferrel31
@domferrel31 3 жыл бұрын
hey can I ask how you did that blob thing can I know how it goes like I didn't understood that one thing. Any references ... Thank you.
@PenguinMaths
@PenguinMaths 3 жыл бұрын
Dom Ferrel The diagram with the blobs is called a wasp waist factorisation. This pdf looks pretty good for explaining it: igm.univ-mlv.fr/~fpsac/FPSAC02/ARTICLES/Rensburg.pdf
@domferrel31
@domferrel31 3 жыл бұрын
@@PenguinMaths Thank you . Video was very informative and nice visuals .
@frew5940
@frew5940 11 ай бұрын
Nice intro 👌
@replicaacliper
@replicaacliper 4 жыл бұрын
Unless I'm missing something here, can't there only be 1 path with exceedence n? Wouldn't that contradict your reasoning?
@PenguinMaths
@PenguinMaths 4 жыл бұрын
Nope. For example, all the exceedance groups for n=2 are drawn on the screen at 15:40, and you can see that the group with exceedance = n = 2 contains two paths
@replicaacliper
@replicaacliper 4 жыл бұрын
@@PenguinMaths Ah I see. I misinterpreted the meaning of exceedence.
@liyi-hua2111
@liyi-hua2111 Жыл бұрын
15:19 i don’t see how it can be reverse easily if we didn’t know which section is the red section.
@MrNacknime
@MrNacknime 3 жыл бұрын
Your picture is wrong, it should either count from 0 to 2n or from 1 to 2n+1, as the way you draw it currently, there is an odd number of steps (i.e. parentheses) from 1 to 2n
@fur1ous112
@fur1ous112 Жыл бұрын
15:36 not understandable
@archangecamilien1879
@archangecamilien1879 5 ай бұрын
It comes down to counting the number of positions for say, the ones that turn to the right...like, which 3 among the 6 will be turned to the right, etc...number of ways of choosing 3 from 6, so 6 choose 3...but, to avoid repetition, divide by 3!, etc, because ((())) is the same if we switch the first two (, etc, so (6 choose 3)/(3!)...unless I'm forgetting something, lol...
Catalan Numbers - Numberphile
13:16
Numberphile
Рет қаралды 310 М.
Counting with Calculus: The Magic of Generating Functions
21:52
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
Это реально работает?!
00:33
БРУНО
Рет қаралды 1,9 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 91 МЛН
Identification of numbers from 1 to 10
5:34
AKSHAYA E-TECHNO SCHOOL
Рет қаралды 1
The Most Important Sequence: The Catalan Numbers
6:57
SackVideo
Рет қаралды 45 М.
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 696 М.
Catalan's Conjecture - Numberphile
8:06
Numberphile
Рет қаралды 1,7 МЛН
Randomness and Kolmogorov Complexity
5:43
Spanning Tree
Рет қаралды 101 М.
How quaternions produce 3D rotation
11:35
PenguinMaths
Рет қаралды 90 М.
Paterson Primes (with 3Blue1Brown) - Numberphile
10:35
Numberphile
Рет қаралды 263 М.
A Surreptitious Sequence: The Catalan Numbers
10:23
Mathematical Association of America
Рет қаралды 40 М.
Mathematicians Use Numbers Differently From The Rest of Us
33:06
Veritasium
Рет қаралды 6 МЛН