The Riddle That Seems Impossible Even If You Know The Answer

공유
소스 코드
  • 게시일 2022. 06. 29.
  • The 100 Prisoners Riddle feels completely impossible even once you know the answer. This video is sponsored by Brilliant. The first 200 people to sign up via brilliant.org/veritasium get 20% off a yearly subscription.
    Special thanks to Destin of Smarter Every Day (ve42.co/SED), Toby of Tibees (ve42.co/Tibees), and Jabril of Jabrils (ve42.co/Jabrils) for taking the time to think about this mind bending riddle.
    Huge thanks to Luke West for building plots and for his help with the math.
    Huge thanks to Dr. Eugene Curtin and Dr. Max Warshauer for their great article on the problem and taking the time to help us understand it: ve42.co/CurtinWarshauer
    Thanks to Dr. John Baez for his help with finding alternate ways to do the calculations.
    Thanks to Simon Pampena for his input and analysis.
    Other 100 Prisoners Riddle videos:
    minutephysics: • Solution to The Imposs...
    Vsauce2: • The 100 Prisoners Puzzle
    Stand-up Maths: • The unbelievable solut...
    TED-Ed: • Can you solve the pris...
    ▀▀▀
    References:
    Original paper: Gál, A., & Miltersen, P.B. (2003). The Cell Probe Complexity of Succinct Data Structures. BRICS, Department of Computer Science, University of Aarhus. All rights reserved. - ve42.co/GalMiltersen
    Winkler, P. (2006). Seven Puzzles You Think You Must Not Have Heard Correctly. - ve42.co/Winkler2006
    The 100 Prisoners Problem - ve42.co/100PWiki
    Golomb, S. & Gaal, P. (1998). On the Number of Permutations on n Objects with Greatest Cycle Length k. Advances in Applied Mathematics, 20(1), 98-107. - ve42.co/Golomb1998
    Lamb, E. (2012). Puzzling Prisoners Presented to Promote North America's Only Museum of Math. Observations, Scientific American. - ve42.co/Lamb2012
    Permutations - ve42.co/PermutationsWiki
    Probability that a random permutation of n elements has a cycle of length k greater than n/2, Math SE. - ve42.co/BaezProbSE
    Counting Cycle Structures in Sn, Math SE. - ve42.co/CountCyclesSE
    What is the distribution of cycle lengths in derangements? In particular, expected longest cycle, Math SE. - ve42.co/JorikiSE
    The Manim Community Developers. (2021). Manim - Mathematical Animation Framework (Version v0.13.1). - www.manim.community/
    ▀▀▀
    Special thanks to Patreon supporters: RayJ Johnson, Brian Busbee, Jerome Barakos M.D., Amadeo Bee, Julian Lee, Inconcision, TTST, Balkrishna Heroor, Chris LaClair, Avi Yashchin, John H. Austin, Jr., OnlineBookClub.org, Matthew Gonzalez, Eric Sexton, john kiehl, Diffbot, Gnare, Dave Kircher, Burt Humburg, Blake Byers, Dumky, Evgeny Skvortsov, Meekay, Bill Linder, Paul Peijzel, Josh Hibschman, Timothy O’Brien, Mac Malkawi, Michael Schneider, jim buckmaster, Juan Benet, Ruslan Khroma, Robert Blum, Richard Sundvall, Lee Redden, Vincent, Stephen Wilcox, Marinus Kuivenhoven, Michael Krugman, Cy 'kkm' K'Nelson, Sam Lutfi, Ron Neal
    ▀▀▀
    Written by Derek Muller and Emily Zhang
    Filmed by Derek Muller and Petr Lebedev
    Animation by Ivy Tello and Jesús Rascón
    Edited by Trenton Oliver
    Additional video/photos supplied by Getty Images
    Music from Epidemic Sound and Jonny Hyman
    Thumbnail by Ignat Berbeci
    Produced by Derek Muller, Petr Lebedev, and Emily Zhang

댓글 • 35K

  • @pyguy9915
    @pyguy9915 년 전 +12

    Something seems wrong at

  • @wetbadger2174
    @wetbadger2174 년 전 +17

    When you factor in the odds of one nerd convincing 99 other convicts to go with this strategy, your chances quickly fall back to zero.

  • @DrDJX
    @DrDJX 년 전 +33

    As somebody that's tried tracking down a CD left in the wrong CD case, I can attest that the loop strategy does indeed work 31% of the time. (The other 69% of the time it turns up weeks later on the kitchen table.)

  • @reifrei1170

    really sad that these prisoners were so good at math and cooperation, yet still ended up in jail 😢

  • @joseph-fernando-piano

    A really incredible feature of the loop strategy is comparing how well it works even against random guessing with more chances to open boxes. For example, if each prisoner were allowed to open 99 of the 100 boxes, instead of 50, to find their own number, the total probability of success by randomly guessing is only 0.99^100, or 36.6%! (Whereas the loop strategy gives a comparable chance of success while only opening 50 boxes, and succeeds 99% of the time if you can open 99 boxes) If you were allowed to open 98 of 100 boxes, the chance of winning via random guessing drops to 13.3%, and to below 5% for 97 boxes!

  • @gregsquires6201
    @gregsquires6201 년 전 +12

    I think the chance of convincing 99 other prisoners that this strategy is their best chance of survival is much lower than 31%.

  • @magdasg9571
    @magdasg9571 년 전 +5

    Memorizing this just in case I'm ever trapped in a prison with a sadistic mathematical prison warden

  • @cultofmel
    @cultofmel  +174

    I was really confused at first on how whatever number you start with is guaranteed to be in your loop, but once I started to type out a comment questioning it I totally realized how it works. In order to finish your loop you have to end up back where you start, and since none of the boxes can be empty, you're guaranteed to be in some sort of loop.

  • @tfdtfdtfd

    The main point here is that "failing hard" comes with no harsher penalty than "failing little"....hence, you can redistribute your loss function to take advantage of this. Great video, btw!

  • @fixed-point
    @fixed-point 년 전 +5

    Interesting corollary: If prisoner #1 (or any other prisoner) finds that his own loop has a length of exactly 50, he immediately knows there's a 100% chance of success.

  • @ZamanAristoOrCleon

    Imagine being the first inmate and not finding your number. “Oof, we tried”

  • @TheDrCN
    @TheDrCN  +87

    When you first gave the solution, I sketched out on a piece of paper a version of the problem with 4 prisoners, 4 boxes, 2 attempts, and I feel like I understood the entire thing almost instantly with no further explanation required. I think lowering the numbers down to something more manageable makes the problem much more comprehensible. I mean, you could even write out 4! configurations if you wanted and prove that it works for all of them, whereas 100! is so large as to be impossible to visualize.

  • @mattsnyder4754
    @mattsnyder4754 14 일 전 +5

    So, I think there’s an easier explanation for why you’re guaranteed to eventually circle back to your own box.

  • @bscorvin
    @bscorvin 년 전 +1

    My actual concern if this ever somehow became a situation I got myself into is that someone would decide this is stupid and just pick boxes at random

  • @charliehorse8686
    @charliehorse8686 년 전 +1

    If you think the riddle is hard, imagine trying to convince 99 fellow prisoners to follow the plan to the letter.

  • @MikhaeylaKopievsky

    I feel like there needs to be a 'wow out loud' like 'laugh out loud', because when you said "that's like scaling up a millimetre to the diameter of the observable universe", that's exactly what I did.

  • @geraldcollins5684

    I've seen a variation of this some years ago. Didn't remember the way to solve but it came back quickly when you gave the solution.

  • @Bismuth9
    @Bismuth9 년 전 +3

    6:35

  • @inemanja
    @inemanja 년 전 +1

    As someone that went to prison, I can tell you with 100% confidence, that they got more chances to win by randomly picking boxes (one in 8*1^32), than 100 of them to agree to ANY strategy.

  • @bartoszporzezinski4842

    Love this! The concept of loops does break the mind slightly, but is very logical once you look at it with a reduced number of boxes. I would never come up with this solution myself, however - eliminating randomness of prisoners' choices in this manner is truly ingenious.