The Coupon Collector's Problem (with Geoff Marshall)

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 896

  • @standupmaths
    @standupmaths  Před 2 lety +1082

    Ok, many are suggestion I should have stood up to reveal an even bigger table next to me. Great concept, but ideas like that require some serious resources. *cough* patreon.com/standupmaths

    • @johnchessant3012
      @johnchessant3012 Před 2 lety +7

      Hi

    • @_wetmath_
      @_wetmath_ Před 2 lety +1

      second

    • @ScientiaHistoria
      @ScientiaHistoria Před 2 lety +29

      …and there was the recursive “first a sense-check”before we start the sense-check. As usual, I wish I had undertaken another layer of sense-check before watching a Matt video.

    • @Eli-su6ql
      @Eli-su6ql Před 2 lety +17

      Nobody noticed the "diverges" was fixed in post Matt. good job.

    • @ScientiaHistoria
      @ScientiaHistoria Před 2 lety +5

      @@Eli-su6ql I did but figured it was his math autocorrect tool.

  • @ryanparker260
    @ryanparker260 Před 2 lety +1256

    You were right, we all knew there was a second even SMALLER miniature table prop

    • @b0nce
      @b0nce Před 2 lety +51

      And that makes us very happy :)

    • @darkshoxx
      @darkshoxx Před 2 lety +46

      I was kinda expecting him to go out a layer as well, and standing up from the table between a giant clock and calendar prop

    • @bl4cksp1d3r
      @bl4cksp1d3r Před 2 lety +20

      I was thinking, he wouldn't have stopped with one 1/10 scale model, and I knew it, I was very happy to see that

    • @Avodroc42
      @Avodroc42 Před 2 lety +5

      and it was absolutely worth it

    • @tandemcart1234
      @tandemcart1234 Před 2 lety +24

      I legitimately laughed out loud with relief when the smaller one came out. The pause where he should have got it was just a smidgen too long. Perfection!

  • @IMacar
    @IMacar Před 2 lety +1403

    Recursive tables was definitely the pro-CZcamsr move.

    • @Anonymous-df8it
      @Anonymous-df8it Před 2 lety +2

      I would like this, but it's at 420 likes so...

    • @Anonymous-df8it
      @Anonymous-df8it Před 2 lety +3

      Guess I'll have to wait until 669 likes!

    • @mattduffyw99
      @mattduffyw99 Před 2 lety +4

      The second layer got me. Earned the thumbs up

    • @koenschaper8821
      @koenschaper8821 Před 2 lety +1

      It reminded me of something Vsauce would do. Who, by all means, is a certified pro-CZcamsr.

    • @joshuascholar3220
      @joshuascholar3220 Před 2 lety +2

      The third table got an instant up-vote!

  • @itsmattnelson
    @itsmattnelson Před 2 lety +815

    Thank you for having me as a guest!
    My official parkrun time was confirmed to be still *one* second out 😭

    • @wordzmyth
      @wordzmyth Před 2 lety +14

      Thank you for sharing this! A little shame you couldn't have texted him on the day. Statistically, even sandbagging it should take a few attempts, so you prove the point

    • @chonchjohnch
      @chonchjohnch Před 2 lety +2

      Subbed, I need motivation to get back into cardio

    • @monkeycigs4762
      @monkeycigs4762 Před 2 lety

      It's been a few months, have you gotten your time?? Fingers crossed for you!

  • @djadj_
    @djadj_ Před 2 lety +291

    showcasing your prop ability whilst explaining probability, what a beautiful moment

  • @wishiwasabear
    @wishiwasabear Před 2 lety +301

    The way Matt could read our minds with the third level of recursion was a very neat trick.

    • @vigilantcosmicpenguin8721
      @vigilantcosmicpenguin8721 Před 2 lety +9

      Recursive patterns are predictable, but not as predictable as people making jokes about recursive patterns.

    • @michaeldirmeyer11
      @michaeldirmeyer11 Před 2 lety +2

      @@vigilantcosmicpenguin8721 People making jokes about recursive patterns are predictable, but not as predictable as people making jokes about people making jokes about recursive patterns.

  • @SellusionStar
    @SellusionStar Před 2 lety +525

    This recursion joke was no joke. It's a nerd's duty.

    • @nitehawk86
      @nitehawk86 Před 2 lety +15

      This recursion joke was no joke. It's a nerd's duty.

    • @MartinJab
      @MartinJab Před 2 lety +6

      This recursion joke was no joke. It's a nerd's duty.

    • @TlalocTemporal
      @TlalocTemporal Před 2 lety +10

      I hate to break it to you guys, but due to how YT comments work, you can only do one recursion. All the rest would be iteration jokes.
      This technically correct joke was no joke, It's a nerd's duty.

    • @zyaicob
      @zyaicob Před 2 lety +1

      @@TlalocTemporal thank you i knew something was off

  • @clarencelam1907
    @clarencelam1907 Před 2 lety +253

    You can't conclude that the harmonic series diverges just because the expected time goes to infinity. The expected time reaches infinity because n goes to infinity. n being finite doesn't mean that the harmonic series goes to infinity; it just so happens that both n and nth harmonic number go to infinity. If the n out front were replaced with a *constant*, then you could conclude that.
    As an example, consider the function f(n) = n(1+1/2+1/4+...+1/2^i+...+1/2^n). f(n) reaches infinity as n goes to infinity, but clearly (1+1/2+1/4+...+1/2^i+...+1/2^n) doesn't diverge; it's always less than 2. So the argument here doesn't work.

    • @hOREP245
      @hOREP245 Před 2 lety +71

      Parker divergence of a series

    • @jfb-
      @jfb- Před 2 lety +43

      Parker proof

    • @standupmaths
      @standupmaths  Před 2 lety +143

      I think you’re right: that lead n breaks my divergent observation. I suspect the result may be salvageable but not in any intuitive way.

    • @fejfo6559
      @fejfo6559 Před 2 lety +22

      I think the argument can be saved if you observe the average time needed to collect a coupon ( n(1+1/2+...+1/n)/n ) diverges as the number of coupons goes to infinity.

    • @jordanlinus6178
      @jordanlinus6178 Před 2 lety +22

      @@fejfo6559 The problem is, that is not intuitive. The first coupon always takes one try, the one in the middle on average 2. Sure, the last one takes on average n, but that might be negligible among the n coupons. It's not that hard to prove that the harmonic series diverges, but I don't think the park runs can give an easier explanation.

  • @RolandWolf
    @RolandWolf Před 2 lety +216

    A park run special, as opposed to a Parker run, where you give running a go, but don't really get the result you wanted.

    • @plaguey23
      @plaguey23 Před 2 lety +10

      I was going to make a similar joke but take my like instead.

    • @unvergebeneid
      @unvergebeneid Před 2 lety +14

      It's sad Matt doesn't run anymore. He could've earned himself the nickname "Park Run Parker"! You know, basically the opposite of "Run, Forrest, run!"

    • @SpassNVDR
      @SpassNVDR Před 2 lety +2

      @@unvergebeneid Wow, I got to laugh three times at this, understanding one little detail at a time :D

    • @unvergebeneid
      @unvergebeneid Před 2 lety

      @@SpassNVDR 😄😄😄

    • @pmoncr
      @pmoncr Před 2 lety

      @@unvergebeneid Is a parkrun parker someone who turns up at parkruns and doesn't get out of their car?
      Matt could then be the parkrun Parker^2, rearranging would make him the park^3 runerer.

  • @ALMX5DP
    @ALMX5DP Před 2 lety +57

    I was so pumped to start this challenge, knowing I had a 60/60 chance of getting my first 'coupon.' Little did I know that you actually had to finish the run to do so...

  • @karl9840
    @karl9840 Před 2 lety +131

    As someone writing my Bachelor's on this exact problem (and the Poisson Process) this was a gem to watch.

    • @viniciusfriasaleite8016
      @viniciusfriasaleite8016 Před 2 lety +3

      Luckier than all those runners!

    • @ajschlem
      @ajschlem Před 2 lety +1

      What are you majoring in?

    • @DonReba
      @DonReba Před 2 lety +20

      By "this exact problem" you mean tables with unnecessary props, right?

    • @karl9840
      @karl9840 Před 2 lety +3

      @@DonReba I wish!

    • @karl9840
      @karl9840 Před 2 lety +2

      @@ajschlem Well, technically I'll be a maths and physics teacher, but I do get the swedish equivalece of a bachelors in maths (and physics if I just write the thesis since im eligible for it).

  • @Kaepsele337
    @Kaepsele337 Před 2 lety +238

    I don't think the seconds would be uniformly distributed even when you're not trying. That would require your time to fluctuate much more than a minute and I think most people run more consistent times. Also, while training you gradually increase your time and might "scan" through a minute, so that way you'd need less runs than if it was randomly distributed.

    • @tth-2507
      @tth-2507 Před 2 lety +69

      Hi, runner here.
      Of course I run a consistent time (when lucky, even slightly increasing), but not that consistent. A variation of +/-1min is to be expected - at least in my case. Additionally one has to take different terain features across locations into account.

    • @alimanski7941
      @alimanski7941 Před 2 lety +17

      If you scan over a minute, there's not an insignificant chance of missing a seconds value. If you converge on a run time, which is a reasonable assumption for most runners, then your chances of achieving previously skipped times are much, much lower, thereby increasing the number of runs necessary. So, even though I agree with your modelling, I think a uniformity assumption is still a safe approximation.

    • @Kaepsele337
      @Kaepsele337 Před 2 lety +18

      @@tth-2507 Yeah I was thinking about time per kilometer, which is pretty consistent for me (basically between 4min 20 and 4min 30 every time). I forgot that you have to multiply the spread by 5 for 5km obviously. It would still cluster, but less than I had in mind.

    • @viniciusfriasaleite8016
      @viniciusfriasaleite8016 Před 2 lety +4

      It would be cool to see the time distribution of a runner on the park run

    • @kane2742
      @kane2742 Před 2 lety +8

      Matt's time (Runderground Matt, not Matt Parker) was around 22 minutes. At that pace, a variation of a minute is less than 5%. That seems reasonable, especially given variable weather and terrain - some parks are going to be hillier than others, for example.

  • @bigmoneysam8820
    @bigmoneysam8820 Před 2 lety +59

    The recursive tables gag really put the 'stand-up' in 'Stand-up Maths'.

  • @tymo7777
    @tymo7777 Před 2 lety +143

    Really upset you missed the “run the numbers” pun!

  • @johnchessant3012
    @johnchessant3012 Před 2 lety +90

    There's actually a recursive solution to this problem. Let f(n) be the answer for n coupons.
    Your first coupon is guaranteed to be a new one, after which you're left with n-1 coupons to collect, except, you have probability 1/n of getting your first coupon again so only (n-1)/n of your attempts matter. So f(n) = 1 + n*f(n-1)/(n-1). Divide both sides by n to get f(n)/n = f(n-1)/(n-1) + 1/n. Thus f(n)/n is the harmonic series up to 1/n, as expected.

  • @onebronx
    @onebronx Před 2 lety +9

    16:03 Matt -single-handedly- bi-pedally saved the narrative of this video.

  • @lunasophia9002
    @lunasophia9002 Před 2 lety +12

    4:59 I love you, Matt. I was hoping for it, wishing in my heart, and you did it!

  • @Illumas
    @Illumas Před 2 lety +15

    Me, "But you didn't make a tinier table prop for your tiny table prop." Mat, "You know I did!" Me, "Yay"

  • @ulriksteenandersen4215
    @ulriksteenandersen4215 Před 2 lety +40

    Love the jokes and props; never stop, Matt : )

  • @PsiVolt
    @PsiVolt Před 2 lety +12

    The recursion bit was incredible, I might have to use that! This video is giving me discrete math flashbacks

  • @charliedobbie8916
    @charliedobbie8916 Před 2 lety +58

    Let me tell you a joke about recursion: two people were sitting at a table, and one turned to the other and said "let me tell you a joke about recursion:"

    • @VAXHeadroom
      @VAXHeadroom Před 2 lety +8

      In one of the early copies of the VRTX operating system documentation there were two entries:
      Recursion: see Hofstadter, Douglas
      Hofstadter, Douglas: see Recursion
      It made the nerd in me laugh out loud...unfortunately nobody else in the room got the joke...

    • @Pseudomous
      @Pseudomous Před 2 lety +1

      Pete and repeat were sitting on a bridge. Pete fell off. Who was left?

    • @nathankarn5557
      @nathankarn5557 Před 2 lety

      @@Pseudomous Repeat?

  • @sorenwestrey4925
    @sorenwestrey4925 Před 2 lety +5

    Legendary crossover

  • @mathmachine4266
    @mathmachine4266 Před 2 lety +21

    The mean value would be n*(1+1/2+1/3+...+1/n). In that case, that would be 60*(1+1/2+1/3+...+1/60), or 280.7922. As you already mentioned.
    The variance, however, would be n²(1+1/2²+1/3²+...+1/n²) minus the mean. In this case, that would be 60²(1+1/4+1/9+1/16+...+1/60²) - 280.7922, or 5581.4676. That means the standard deviation is the square root of that, or 74.7092. So, for him to get so far under the expected value is not really that out of the ordinary.

    • @gmalivuk
      @gmalivuk Před 2 lety +2

      Yeah, I just ran a bunch of simulations, and the complete set occurs by run 229 a bit under 28% of the time.

    • @driwen
      @driwen Před 2 lety

      isnt that the average value is n*(1+1/2+1/3+...+1/n), but the mean value should be lower shouldnt it? The distribution of 1 out of 60 will be 1 to infinite. Which pulls the average tries needed to higher number than the mean.
      edit: sorry got confused with median. But I'm curious if the average or mean is the value people are really interested in. Or the value at which 50% of the people would have completed it

    • @gmalivuk
      @gmalivuk Před 2 lety +1

      @@driwen The mean is exactly the expected value calculation done in the video. That's usually what we mean by average.
      The median is more complicated to calculate, but ends up being 267.5.

    • @TheMetallerik
      @TheMetallerik Před 2 lety

      So I've run 1 milion loops (simulations).
      Average got pretty close: 281.78,
      min: 103
      max: 1146

    • @driwen
      @driwen Před 2 lety

      @@gmalivuk yeah as i said after my edit i got the median and mean confused.
      But this shows that we wont see a bell curve around 281 but before 267.

  • @_wetmath_
    @_wetmath_ Před 2 lety +20

    11:40 the camera man awkwardly walking past the two other guys talking was hilarious but completely relatable

  • @jerry3790
    @jerry3790 Před 2 lety +2

    15:25 “I used to be a runner like you, but then I took an arrow to the knee”

  • @melglobus
    @melglobus Před 2 lety +1

    Two of my favourite CZcamsrs together again! The platform 0 video made me subscribe here. Loved the Choose Corrour T-shirt too!!

  • @anfanta2010
    @anfanta2010 Před 2 lety +7

    I just want to validate that the extra effort to build out the props was absolutely worth it. I was laughing out loud by myself 🤣

  • @TheInternetHelpdeskPlays
    @TheInternetHelpdeskPlays Před 2 lety +9

    This reminds me of the old seaside Fascination games where you had to sink balls in holes, 1 in each. At the start youd get loads but as you get closer to the end it'd get harder and harder to get the final ones.

  • @sbyrstall
    @sbyrstall Před 2 lety

    Thanks for giving the parkrun a shout out. I now have to cross post this in the Global Running Channel. They would probably get a kick out of it. I didn't know that there was a Parkrun Bingo.....in do now.

  • @BobberWCC
    @BobberWCC Před 2 lety +5

    Harmonic series discovered from park runners. Amazing.

  • @morscoronam3779
    @morscoronam3779 Před 2 lety +9

    10:48 Sounds like editing Matt had to edit the right word in. 🤔 Why do I notice these things...

  • @LukeSumIpsePatremTe
    @LukeSumIpsePatremTe Před 2 lety +1

    I love the 10:45
    "We've managed to prove that harmonic series -converges- *DIVERGES* "

  • @Schlups
    @Schlups Před 2 lety +25

    Next challenge: Do the run when a leap second is introduced to tick off the number 60.

    • @nathanrcoe1132
      @nathanrcoe1132 Před 2 lety +8

      that is possible with an absolute position in time, but never with a duration, I think

    • @jurjenbos228
      @jurjenbos228 Před 2 lety +4

      If the stopwatch is coded by an average programmer, yes.

    • @henrym5034
      @henrym5034 Před 2 lety

      @@jurjenbos228 but how should the result be displayed for the 61s minute case?

    • @jazzabighits4473
      @jazzabighits4473 Před 2 lety

      @@henrym5034 61s in minutes and seconds is 1 min 01 seconds, so 01 I guess?

    • @henrym5034
      @henrym5034 Před 2 lety

      @@jazzabighits4473 I mean it’s definitely correct to say 2017/01/01 00:00:00 is 61 seconds past 2016/12/31 23:59:00. It’s also correct to say it’s 1 minute past that (that minute has 61 seconds).
      That makes me wonder if it’s okay to say it’s “1 minute and 1 second” though.

  • @okRegan
    @okRegan Před 2 lety

    that recursion gag is the reason no mater how uninterested i am in the title, i will watch any video you put out, you're awesome!

  • @ARKGAMING
    @ARKGAMING Před 2 lety +1

    I was waiting for the second prop table
    Glad you didn't disappoint

  • @celestialtree8602
    @celestialtree8602 Před 2 lety +1

    I was hoping for the third recursion level, but didn't expect you to do it.
    And I was very pleasantly surprised.

  • @smor729
    @smor729 Před 2 lety +78

    So what you are saying is that to run every single possible trailing decimal amount of seconds, all I have to do is run 1/12th of one park run backwards? This should be easy!

    • @mijkolsmith
      @mijkolsmith Před 2 lety +6

      -60/12

    • @ghislainbugnicourt3709
      @ghislainbugnicourt3709 Před 2 lety +13

      I might have missed something, but the -1/12 or -60/12 joke would have worked only if there was the (1+2+3+...) series instead of the harmonic one, right ?

    • @David94spc
      @David94spc Před 2 lety

      @@ghislainbugnicourt3709 joke worked fine since you got it 😘

  • @robertaries2974
    @robertaries2974 Před 2 lety +3

    Geoff Marshall Collab. Gonna be a great video

  • @DaTux91
    @DaTux91 Před 2 lety +2

    Matt was like "if I can find them" and I looked at the remaining duration of the video and I was like "he couldn't find them". And that made me sad.

  • @jakebradley3998
    @jakebradley3998 Před 2 lety

    Holy crap man you're so close to the big milli! Good Luck!

  • @GabeUnger
    @GabeUnger Před 2 lety

    Getting so close to 1 mil Matt! Hope you have a good video idea to celebrate:)

  • @Cr42yguy
    @Cr42yguy Před 2 lety

    I was waiting for the prop on a prop table. Thanks for not letting me down, Matt.

  • @luca6819
    @luca6819 Před 2 lety

    Recently I saw a rerun on an old TV show where scientists were rating crazy inventions or build made by people (usually using CZcams videos), and you were there! Didn't remembered that, that was a nice surprise!

  • @zachrodan7543
    @zachrodan7543 Před 2 lety +6

    I feel like a more modern name for this problem might be the (unweighted) lootbox completion problem...
    (the weighted lootbox problem would be where different outcomes have different probabilities)

  • @trigonzobob
    @trigonzobob Před 2 lety +2

    Now that's what I call running the numbers.

  • @findlaysmith6280
    @findlaysmith6280 Před 2 lety +4

    Nice save at 10:48 🤣

  • @samp-w7439
    @samp-w7439 Před 2 lety +1

    I'm very excited because after Matt stated the problem, I figured out the formula for myself and calculated, got 281, and was very happy when I skipped to the reveal, and he had the same answer!

  • @sbartdbarcelona44
    @sbartdbarcelona44 Před 2 lety

    The miniatures were definitely worth the extra effort. Thx for the fun.

  • @Anonymous-df8it
    @Anonymous-df8it Před 2 lety +3

    I was kinda expecting him to go out a layer as well, and standing up from the table between a giant clock and calendar prop.

  • @CR0SBO
    @CR0SBO Před 2 lety +3

    The initial Matt Parker comparison to the props seemed perfectly proportionally sized, but the Matt Parker that we had for the prop set of props was at least an order of magnitude too large, never mind the Matt Parker that was presenting the prop set of prop props!

  • @gnfnrf
    @gnfnrf Před 2 lety +4

    All of this was interesting, but I was expecting an entirely different set of math about the odds of completing a 1/n task in n attempts, which is not 50%. If I remember correctly, as n increases, those odds converge on 1-1/e, and its fun to see how the formula to calculate it resembles (one of) the formulae for e.

    • @jeffkaylin892
      @jeffkaylin892 Před 2 lety

      Yeah, I was pondering this instead of sleeping...
      If I were to catch a bus, which comes once an hour, my expectation is to not wait for more than half an hour. If the bus were there I'd say it was a miracle. If I had to wait 59 minutes I'd say I was jinxed. But if I waited over an hour I'd say I wasn't paying attention. This probability starts as 1 / 60. So 59 / 60 it wasn't there. Then next minute would be multiplied by 58 / 59, and the next 57 / 58. Hmm... I could multiply that all out... hmm cancel the 59s, then cancel the 58s... so at 30 minutes I have 30 / 60 just as one would expect.
      BUT, if the bus doesn't come once an hour, but has a 1 / 60 chance of having left the depot, then there is a string of 59 / 60 multiplied together. That would make my expected wait longer. And by "expected" I mean the "life is fair" type of expectation where half the time I'm pleasantly surprised and half the time I'm a little disappointed, and very rarely see miracles or damnations.

  • @tuliosabatino
    @tuliosabatino Před 2 lety

    The props were definitely helpful to demonstrate your point, Matt. Time well spent indeed

  • @seanc6128
    @seanc6128 Před 2 lety +1

    I appreciate the gift of laughter in addition to the gift of knowledge.

  • @AfonsoCL
    @AfonsoCL Před 2 lety +1

    Matt is such a fun guy. Spending an afternoon guinea-pigging for his experiments while listening to his passion for maths would be one of my ideal days.

  • @anuzis
    @anuzis Před 2 lety

    This analysis makes the unsafe assumption of a uniform distribution of finishing times across the seconds. Over long enough distances this this assumption is likely increasingly safe, but consider the distribution of finishing times you'd see for a 50 meter dash: probably a Gaussian distribution (AKA "bell curve"; with Olympic sprinters at one end, couch potatoes at the other, and most of us around the middle). Even at longer distances like 500 meters - 1k meters you likely still don't see a uniform distribution across the seconds. Not to nit-pick: I loved the video and really appreciated seeing the approach taken, just trying to particulate as a supportive CZcams collaborator thinking about other ways to refine the theoretical analysis. Looking forward to future episodes!

  • @filmfreak988
    @filmfreak988 Před 2 lety

    Absolutely worth the effort!

  • @WDCallahan
    @WDCallahan Před 2 lety +5

    60 is a bigger number than 52 😲
    You just never know what you're going to learn about math when you watch this channel!

  • @Srearis1
    @Srearis1 Před 2 lety

    great video as always. love the props

  • @TSutton
    @TSutton Před 2 lety +2

    This video is a perfect explanation of predicting fossil collecting in Animal Crossing!

    • @Jonny_Marko
      @Jonny_Marko Před 2 lety

      I had the same thought but with collecting all the DIY recipes! My odds are not looking so great to find the one I am endlessly searching for :D

  • @oddysee3030
    @oddysee3030 Před 2 lety

    For the record, I really appreciated the recursion bit :)

  • @nrellis666
    @nrellis666 Před 2 lety

    The crossover we didn't know we needed!

  • @Adrianmk2208
    @Adrianmk2208 Před 2 lety +1

    A park run in which you almost finish, but not quite, is known as a Parker run.

  • @BradleyGordon42
    @BradleyGordon42 Před 2 lety

    That recursion joke. That's the kind of quality joke I love you for.

  • @tassiehandyman3090
    @tassiehandyman3090 Před 2 lety +2

    All hail, the Amazing Mark - he who digs Matt Parker out of a hole of his own making, by simply being a Thoroughly Decent Chap. Thank you, Mark - you're a good egg!

  • @josharnold4090
    @josharnold4090 Před rokem

    This was fantastic!

  • @geeshta
    @geeshta Před 2 lety

    12:23 Saying "Have a cup of tea or something" in a high pitched voice when upset is the most British thing

  • @MazerTime
    @MazerTime Před 2 lety

    i really love the recursion joke, definatly worth the extra effort

  • @pyglik2296
    @pyglik2296 Před 2 lety

    The average time to get k out of n "coupons" is a harmonic series which can be approximated by logarithms and inverting the question to "What's the average number of unique coupons after time t?" gives us k = n(1-e^(-t/n)) which fits nicely to the graph.

  • @EER0000
    @EER0000 Před 2 lety

    This morning volunteered at my local park run, this evening watched a math video about Park run, a very recursive Saturday))

  • @happyestus6688
    @happyestus6688 Před 2 lety

    Your were correct: that recursion bit was 100% worth the effort. 10/10

    • @nicholasvinen
      @nicholasvinen Před 2 lety

      Actually I'd say it was 50% + 25% + 12.5% ... worth the effort.

  • @gamekiller0123
    @gamekiller0123 Před 2 lety +8

    You haven't actually proven that the harmonic series diverges. The argument says that as n approaches infinity the number of runs also approaches infinity, but n is not bounded as it approaches infinity. We could have a situation where n(H_n) only diverges because n diverges.
    EDIT: diverges, not converges.

    • @entropie-3622
      @entropie-3622 Před 2 lety +1

      At least we know it does not converge to 0 faster than 1/n sooo that is something XD (especially for a sequence with all positive terms)

  • @mumblbeebee6546
    @mumblbeebee6546 Před 2 lety

    Great video as always, but for me the highlight was to see Geoff smile and laugh so much 😎

  • @user-bl9of5qe7h
    @user-bl9of5qe7h Před 2 lety

    Absolutely love how this is your typical intro-to-probability problem but solved completely using intuition. So stripped down from bulky theory and just beautiful

  • @bijova
    @bijova Před 2 lety +1

    The recursion joke is why i liked.

  • @stephenbenner4353
    @stephenbenner4353 Před 2 lety

    This may be my favorite Matt Parker recursion.

  • @j.rodolfoprz7713
    @j.rodolfoprz7713 Před 2 lety +1

    this ‘fun activity’ will be in my personal purgatory

  • @Wordsnwood
    @Wordsnwood Před 2 lety

    appropriately majestic closing music.

  • @svibhavm
    @svibhavm Před 2 lety

    the props were DEFINITELY worth the extra effort. Totally agreeed Matt

  • @Robinsonero
    @Robinsonero Před 2 lety

    Great work Matt!

  • @ChristianNiederhuber
    @ChristianNiederhuber Před 2 lety +2

    encouraged by this video I did a little experiment: I implemented a program to challenge your calculation experimentally ...
    I did 1.000 instances of this croupon collector´s game from 00 to 59 and my experiment came up with a mean value of 280,946054 tries on average - so this seems to be an experimental confirmation of your calculation ...
    BUT: the median-value in this sample was only 266 tries (minimum value 147 and maximum value 684)
    so the distribution of the result values is quite right-skewed, because of some few values pretty far on the long right end of the scale ...
    now what always fascinates me the most in such cases of right-skewed distributions is, that if you just take any logarithm of the values instead of the original values, then you immediatly get almost perfectly normal distributed log-values !
    and if you take the mean value of this transformed log-values and transform it back to the original scale, then you receive a value that is very near to the median of the original distribution ! (in my case 269)
    how those this "trick" work and where does this relationship exactly come from ?
    maybe you could also make a video about this kind of transformation once in a while ?

    • @Cannongabang
      @Cannongabang Před 2 lety

      What about the standard deviation? A naive calculation of mine results in ~83. Let me know when you have time !

    • @ChristianNiederhuber
      @ChristianNiederhuber Před 2 lety

      @@Cannongabang ~74,64

  • @grapesofwraith1066
    @grapesofwraith1066 Před 2 lety +1

    I love British CZcamsr crossovers and recursion jokes!

  • @steffen8544
    @steffen8544 Před 2 lety

    I love how the end scene was like "Chariots of Fire"

  • @shershahdrimighdelih
    @shershahdrimighdelih Před 2 lety +10

    When Matt was talking about "I used to be a runner....", I was half expecting him to follow up with, "until I took an arrow to the knee"

  • @K-o-R
    @K-o-R Před 2 lety

    3:47 Whoa whoa whoa, slow down there, braniac! This is a lot of information to process!

  • @scottgriswold384
    @scottgriswold384 Před 2 lety

    Matt knew we were all waiting for the third recursion of the table.

  • @chrisengland5523
    @chrisengland5523 Před 2 lety

    The fact that the seconds in a person's park run time is more or less random reminds me of one way to get truly random numbers in a computer. You simply time the intervals between successive user key strokes in microseconds, then throw away everything except the right-most digit. You can do that as often as necessary to obtain a sequence of truly random numbers.

  • @Bodyknock
    @Bodyknock Před 2 lety +1

    10:55 “We know the total diverges and n is finite so this is proof the harmonic series diverges”. Sorry Matt, that’s wrong. n in this case clearly diverges as n goes to infinity, so as long as the harmonic series is bounded below by some strictly positive number then the total would still diverge. (Of course the harmonic series does diverge, this formula doesn’t prove it though.)

  • @mustafakalaycioglu9613

    The profound knowledge shared to us by Matt that 60>52. I didnt know that before :) Great video mate!

  • @adamplace1414
    @adamplace1414 Před 2 lety +9

    Working outside with electronics in Britain seems like it's own level of challenge: Can Matt demo the math before the inevitable rain comes?
    And he tempts fate further by taking extra time to do a recursive prop joke. Living on the edge, maths style.

  • @madlad255
    @madlad255 Před 2 lety +1

    The Parker Run

  • @nielsvandenbranden7202

    Love the extra effort

  • @jnaoe
    @jnaoe Před 2 lety

    i would have been disappointed if there was not a second miniature table.
    Thank you :D

  • @privacyvalued4134
    @privacyvalued4134 Před 2 lety +4

    "And they are all perfectly valid hobbies." Hahahaha. That was the most backhanded way to declare park run bingo as something goofy that no one should be doing with their time.

  • @ronnytm
    @ronnytm Před 2 lety

    Call me shallow, but the lighting, colours, and exposure of the video look really good for a cloudy day in a park. Props to the cinematographer. I'm sure the content of the video is great too.

  • @a_guy_in_orange7230
    @a_guy_in_orange7230 Před 2 lety

    I am not proud of the emotional rollercoaster I went through thinking he only went 1 deep on the table recursion joke and then seeing the teeni table

  • @remiguillon263
    @remiguillon263 Před 2 lety +5

    Hi Matt, I think the interesting question would be, what is the probability of doing it "genuinely" in 229 attempts or the probability of not making it in 500 attempts? I am sure this would be great content for the next video 🙂!

    • @MichaelRothwell1
      @MichaelRothwell1 Před 2 lety

      Yes, the next question is definitely to get a better idea of the distribution of the expected number of times/tries.

  • @Hakasedess
    @Hakasedess Před 2 lety +18

    My one criticism is about the last bit where you hypothesize that you're going to see two clusters, one for sandbaggers at below 281 somewhere, and one for 'the rest' at roughly 281.
    I dispute this, and would willingly bet money that the actual average of 'attempts' for people who don't know about the bingo at all is going to be significantly higher than 281.
    The 281 figure relies on a randomized finishing time, and that's simply not going to be the case for... well, anyone who's going to be running exactly 5km regularly enough to even reach 281 runs in the first place. Their time from run to run is simply going to be too consistent to be compared to a 60sided die.

    • @dflosounds
      @dflosounds Před 2 lety +10

      Fair point, though I don't think you would see THAT much consistency in the seconds value unless you're talking professional or short-distance runners. In my experience of running casual 5 or 10k races (like the one in this video), there is likely to be consistency in minutes, but not so much for seconds. All you need to do is deviate from your average time up to +/- 30 seconds, and any of those 59 values are game. When you consider variables like the weather, how much sleep you got, your general energy level that day, etc, I don't think it's that far-fetched to get (almost) effectively-random seconds values. So while I agree that the value would certainly be higher than 281 (because you're right, it's not like rolling a 60-sided die), I don't think it would be particularly significant.

    • @Hakasedess
      @Hakasedess Před 2 lety +3

      @@dflosounds I guess it's possible it won't be a significant deviation, though I still imagine it would be when averaged across a large sample.
      It'd definitely be very interesting to see data on it though.

    • @ps.2
      @ps.2 Před 2 lety +1

      @@dflosounds Fair enough, but it's not really accurate to say you can deviate by ±30 seconds and expect a flat distribution. It's probably more Gaussian, so you need that 60-second interval to be well inside the meaty part of the bell curve. Not way out at the edges of it.

    • @dflosounds
      @dflosounds Před 2 lety +1

      ​@@Hakasedess Would definitely be interesting!

    • @eekee6034
      @eekee6034 Před 2 lety +1

      Hakkapeele, it looks like you've missed something, but if we take your objection with the bit it looks like you've missed, we get an interesting question. We're dropping the minutes value of the time; we're only taking the seconds value. Now, I don't know how long a 5km run could be in minutes; I'm deliberately not looking at that. Instead, what I'm thinking is, _if the number of minutes is large enough,_ even the most consistent runner will only be consistent to the nearest minute. Then things get interesting. If a runner has a 1-minute range, would the distribution of times be a bell curve? What if he has a 90-second range of times? I think it gets way more complicated than I can work out in the middle of the night with a headache, at least. :)

  • @LimeGreenTeknii
    @LimeGreenTeknii Před 2 lety

    2048 Coupon Bingo
    🤝
    Getting the second to last number, and then realizing you're actually only halfway done.

  • @ural0304
    @ural0304 Před 2 lety

    “60 is a bigger number than 52”
    Thanks Matt 😂

  • @Veptis
    @Veptis Před 2 lety

    The birthday "paradox" is a great example. How many people do you need in the audience so that everyone shares a birthday with at least one other?
    Plotting those distributions would have been lovely. But as I am meant to be correcting homework for a statistics course instead of watching CZcams anyway - I might just do it myself