Пікірлер
@LOL_1243
@LOL_1243 3 сағат бұрын
Blud did not skip a single math class Nice vid
@bryanandhallie
@bryanandhallie 11 сағат бұрын
Holy cow he is good at transitions
@ozzymandius666
@ozzymandius666 Күн бұрын
I love getting detailed answers to strange and obscure questions that I never though to ask. Fascinating.
@themike97_58
@themike97_58 Күн бұрын
That curve is obviously the bubble. Duh.
@Swcher
@Swcher Күн бұрын
mmmmmmmmmm, Neopolitan sorting algorithms
@frostz3307
@frostz3307 2 күн бұрын
that was...... genius.... holllyyyyyyyyyyy
@frostz3307
@frostz3307 2 күн бұрын
Or is it..... LMAOOOO
@JimmyBin3D
@JimmyBin3D 3 күн бұрын
When I watch the bubble sort "bubble," my brain intuitively understands what's happening and why, but I can't for the life of me follow any of the math behind it. Why is my brain capable of understanding something intuitively that it can't understand mathematically?
@SmashingCapital
@SmashingCapital 4 күн бұрын
What if you extend to complex numbers
@ShannonJacobs0
@ShannonJacobs0 4 күн бұрын
Equal time per iteration assumption is bogus. No one would code it that way. Obvious comment but I'm not going to sort the 4-digit sock puppet comments. Sufficient to note that the first one is such.
@jmm1233
@jmm1233 4 күн бұрын
it a bubble curve inside a bubble sort , magic
@ommadawnDK
@ommadawnDK 4 күн бұрын
Is the purple curve wellbb defined? It seems to be "continous line, always above the vertical lines, as close as possible, always growing"? Maybe this should have been mentioned early on, for now the definition of the purple line is...but we'll come back to this".
@prosto_ivan8353
@prosto_ivan8353 4 күн бұрын
Bubble sort makes bubble
@legasa6343
@legasa6343 4 күн бұрын
2:20 -> 13:17
@Fereydoon.Shekofte
@Fereydoon.Shekofte 5 күн бұрын
Magic 🎉🎉❤❤
@reecec626
@reecec626 5 күн бұрын
Brilliant!
@ryder1658
@ryder1658 5 күн бұрын
Wooop wood woooooooop
@desahanalam
@desahanalam 5 күн бұрын
Let X,Y,Z and T be intregers with X<2Y, Y <3Z and Z < 4t... if t<100 what is the largest possible value of X?? Can solve my kid homework Sir ...please
@woomygfx
@woomygfx 5 күн бұрын
Beautiful derivation! Keep up the great work :)
@creativecraving
@creativecraving 5 күн бұрын
This is the math of pretty graphics. Real lists won't have a continuous graph even once they're fully sorted.
@creativecraving
@creativecraving 5 күн бұрын
Your assertion that purple line has to end up on the green line eventually didn't make sense until I want thought about it. Everything else was crystal clear. The way I think of it is that the last item in the purple sublist is sorted exactly when it connects with the green line.
@gabrielgraf2521
@gabrielgraf2521 6 күн бұрын
That nice in the end haha
@penguincute3564
@penguincute3564 6 күн бұрын
VSauce reference!!!
@adamsmith7885
@adamsmith7885 6 күн бұрын
11:27 this way of reasoning (going to a simple case where N is arbitrarily large and learning about the rest of the domain from there) is similar to how we Christians reason by going to God first, then learning about the rest from Him.
@Sadkid24672
@Sadkid24672 6 күн бұрын
Memes
@quintinclaassen8861
@quintinclaassen8861 7 күн бұрын
My favourite part about this video is not the bubble sort curve solution, but how harmoniously it illustrates that the *real* intellectual leap is figuring out how to formulate a problem into something one can hold on to and tackle in bits.
@pattoner8398
@pattoner8398 7 күн бұрын
Wonderful! Informative! Well presented, written, and recorded! Please continue doing this, keep up the excellent work
@derendohoda3891
@derendohoda3891 7 күн бұрын
love the bit about gamma, really great video
@IamCoalfoot
@IamCoalfoot 8 күн бұрын
Watching this makes me want to replay [the] Gnorp Apologue...
@minefacex
@minefacex 8 күн бұрын
HAAAAAHAAAHAAHAHAHAHAHAHHHAHA
@arthurquersin
@arthurquersin 8 күн бұрын
Best video ever thanks for that !
@InSalt1733
@InSalt1733 8 күн бұрын
1:40 how to prove Hx=d/dx ln(x!)+γ
@LinesThatConnect
@LinesThatConnect 7 күн бұрын
There's a derivation in my previous video about the factorials/gamma function. It starts at 22:16. kzbin.info/www/bejne/rJCrlpSbirqCpMUsi=0gqpBHPaduwXHPYh
@InSalt1733
@InSalt1733 7 күн бұрын
Thank you so much
@InSalt1733
@InSalt1733 8 күн бұрын
1:40 how to prove Hx=d/dx ln(x!)+γ
@RonJohn63
@RonJohn63 8 күн бұрын
Interesting video, but the music is distracting.
@BorisNVM
@BorisNVM 8 күн бұрын
This thing was so dope. You sir are really cool
@zoeyhewll9199
@zoeyhewll9199 8 күн бұрын
When handling that a>=b constraint at 16:17, you skipped the implied b!=0 constraint from dividing by b, which results in a t!=0 constraint for the curve overall. That makes sense to me though, because without the t!=0 constraint, it would be implying that unsorted, uniformly-distributed data approaches this curve.
@RobbieBobbie825
@RobbieBobbie825 8 күн бұрын
Saw this was 20 minutes and knew it was going to be a banger haven’t seen it yet but I just know
@RobbieBobbie825
@RobbieBobbie825 8 күн бұрын
Hell yeah it was
@theskinegg9168
@theskinegg9168 8 күн бұрын
what is that second curve formed by pure white at the bottom of the 59 minute video 0:40
@LinesThatConnect
@LinesThatConnect 7 күн бұрын
That algorithm is cocktail shaker sort, which is the same as bubble sort, except you bounce back and forth when you get to the end instead of jumping back to the beginning. Both the top curve and the bottom curve are hyperbolas, just like bubble sort's curve, but they are positioned a bit differently.
@alexandreleblanc9582
@alexandreleblanc9582 9 күн бұрын
oddly satisfying
@Kugelschrei
@Kugelschrei 9 күн бұрын
11:14 why were these curves animated? It’s confusing me
@juunasjohn9401
@juunasjohn9401 9 күн бұрын
Very interesting and inspiring video, blog, and draft. However, from the mathematical point of view, there is some discrepancy between what you claimed to prove and what you actually proved. First of all infinities and probabilities are tricky things together, as probability is a measure of its own kind, it needs to be carefully studied so that the events stay in controllable size when approaching infinity. Secondly, as the initial state of the list follows a probability distribution, so does the unsorted section after some iterations. From the probabilistic viewpoint, your curve does not seem to represent anything: If we have numbers from 1 to N to be sorted from their uniform random placements and we know that N-n elements are in their correct places, this is not enough information to conclude scale-invariancy nor continuity over the whole domain. If we think about the expected curve, there will be a discontinuity point at 1-t, because if the element x[(1-t)N] is in the end part of the list at the beginning, it will end up in the correct place, otherwise, the (1-t)N'st element is uniformly any element less than x[(1-t)N], therefore, the expected value is: E(X[(1-t)N]) = 0.5*(x[(1-t)N]-1)*t + x[(1-t)N]*(1-t) = x[(1-t)N] - 0.5*(x[(1-t)N]+1)*t. If I use this to scale the function, it mostly undershoots. As an upper bound, it does not make sense either because distribution P(X[k] <= x[k]) is uniform with a minimum P(X[1] <= x[1]) = t as it will be the first element only if it appears on the unsorted side. From this, I can derive feasible upper and lower bounds by setting either E(X[k] <= x[k])=0 or E(X[k] > x[k]) = 0. The upper bound is always greater than N*x/(x+t) and the lower bound surpasses the curve, so it is not representative of the Bubble-sorting behavior as the height of the bars will be always between these values, see illustration at t=0.4 if Wolfram will not fail me: www.wolframalpha.com/input?i=plot+0.4*1%2B%281-0.4%29*k%2B1%2F2+%281-k%29+%28+k+%2B+1%29*%281-0.4%29%2F1%2C+1.4*k%2F%28k%2B0.4%29%2C+%280.4%2B0.6*k%29%28k%2B1%29%2F2%2C+k%3D0..1 What your proof in the paper and blog presents is that the curve Bubble sort algorithm forms, will approach the function x/(x+t). If someone from a college background reads this, limits are usually taught wrong there. Approaching only means that we go towards something, there is no guarantee to reach the limit calculated with a reasonable amount of steps. It also does not mean that the Bubble sort curve can be approximated by its limit as it does not work as a bound.
@cameronestrada1430
@cameronestrada1430 9 күн бұрын
I need this guys to write my math textbooks
@PJutch
@PJutch 9 күн бұрын
I guessed that the curve is square root of something, now I feel bad about my guessing capabilities
@re.liable
@re.liable 9 күн бұрын
Yo you're f'ing amazing
@asedtf
@asedtf 9 күн бұрын
The line fitting was essentially the climax of this video after all the edging, while the algebraic dance was the final most intense act
@anuragdey9626
@anuragdey9626 9 күн бұрын
euler daddy
@opticpower7542
@opticpower7542 9 күн бұрын
i dont get it but the lines r cool
@Kwauhn.
@Kwauhn. 9 күн бұрын
17:45 Just don't die before the next video, leaving us to wonder what the "different line of reasoning" was, hahaha
@archerelms
@archerelms 9 күн бұрын
It's always Euler
@zyxwvutsrqponmlkh
@zyxwvutsrqponmlkh 9 күн бұрын
No, just no, this did not need to happen. We apparently are running out of math in the world, for people to spend time doing math on this.
@LineOfThy
@LineOfThy 9 күн бұрын
Nobody gives a shit, now scram