Why is this 15-Puzzle Impossible? - Numberphile

Поделиться
HTML-код
  • Опубликовано: 1 июн 2024
  • Don't try this at home - it's impossible... Professor Steven Bradlow explains.
    More links & stuff in full description below ↓↓↓
    Steven Bradlow: math.illinois.edu/directory/p...
    Buy the puzzle on Amazon (affiliate link): amzn.to/2yt8MBA
    Numberphile is supported by the Mathematical Sciences Research Institute (MSRI): bit.ly/MSRINumberphile
    We are also supported by Science Sandbox, a Simons Foundation initiative dedicated to engaging everyone with the process of science. www.simonsfoundation.org/outr...
    And support from Math For America - www.mathforamerica.org/
    NUMBERPHILE
    Website: www.numberphile.com/
    Numberphile on Facebook: / numberphile
    Numberphile tweets: / numberphile
    Subscribe: bit.ly/Numberphile_Sub
    Video by Pete McPartlan and Brady Haran
    Patreon: / numberphile
    Numberphile T-Shirts and Merch: teespring.com/stores/numberphile
    Brady's videos subreddit: / bradyharan
    Brady's latest videos across all channels: www.bradyharanblog.com/
    Sign up for (occasional) emails: eepurl.com/YdjL9
  • НаукаНаука

Комментарии • 1,4 тыс.

  • @rc5989
    @rc5989 4 года назад +1730

    The animation of the puzzle is very well done, as usual the animations are always great and help us to follow along with what the mathematician is saying.

    • @wesss9353
      @wesss9353 4 года назад +13

      I'm lost without them!

    • @skakdosmer
      @skakdosmer 4 года назад +8

      Yeah, hooray for Pete McPartlan

    • @andytc4840
      @andytc4840 4 года назад +2

      And for including the number 4!!!

    • @pmcpartlan
      @pmcpartlan 4 года назад +4

      @@skakdosmer Yay! Thanks Lau!

    • @gelgamath_9903
      @gelgamath_9903 4 года назад +4

      This is the same reason I like 3 Blue 1 Brown

  • @asod614
    @asod614 4 года назад +2840

    Alternate title: Math Professor Forgets The Number 4
    4:06

    • @SuperFpac
      @SuperFpac 4 года назад +191

      that bothered me more than i care to admit

    • @nusae2156
      @nusae2156 4 года назад +68

      @@SuperFpac i didnt notice xD one part of my brain dif but didnt care and then i saw it again XD

    • @nanamacapagal8342
      @nanamacapagal8342 4 года назад +98

      Plot twist: He's Mista in an alternate universe where he became a nerd

    • @gnarkill32
      @gnarkill32 4 года назад +8

      Great catch!

    • @Rakii27
      @Rakii27 4 года назад +4

      Saw that right away, and EEEEIIEHHH, it didnt bother me :P

  • @FrankSerio
    @FrankSerio 4 года назад +84

    As a teen, I had a larger (7x7) version of the puzzle. It featured a picture of the Leonardo da Vinci's Vitruvian Man as the image. It turned out that there were two completely blank tiles which just happened to have opposite parity. So if you put the wrong identical tile into position, it was impossible to finish. It took me days to work that out.

  • @zozzy4630
    @zozzy4630 4 года назад +1719

    "1, 2, 3, 5, ..." I think he's been working too much with the Fibonacci sequence lol

    • @europeankid98
      @europeankid98 4 года назад +16

      Wouldn't that be the Lucas numbers sequence?

    • @lumer2b
      @lumer2b 4 года назад +46

      @@europeankid98 No, Lucas numbers would be 2, 1, 3, 4, ...
      Those are his very own numbers.

    • @maksymisaiev1828
      @maksymisaiev1828 4 года назад +34

      or looking too much on prime numbers.

    • @zozzy4630
      @zozzy4630 4 года назад +42

      @@europeankid98 I mean he didn't go from the beginning, but they're still Fibbonacci numbers in order
      (0, 1,) 1, 2, 3, 5...

    • @animikhaduttadhar2284
      @animikhaduttadhar2284 4 года назад +30

      @@maksymisaiev1828 Prime numbers would be 2, 3, 5.

  • @disgruntledtoons
    @disgruntledtoons 4 года назад +418

    Fun anecdote: Sam Lloyd was not able to patent the puzzle because he could not submit a solution to the challenge.

    • @bitcoinweasel9274
      @bitcoinweasel9274 4 года назад +66

      Same thing happened when I tried to patent to my perpetual motion machine.

    • @Albimar17
      @Albimar17 4 года назад +6

      nahhhh! He just resigned as soon as he found out an ODD number of officers would consider his application.

    • @goldenwarrior1186
      @goldenwarrior1186 2 года назад +1

      @@bitcoinweasel9274 lol

    • @shadow_navneet
      @shadow_navneet Год назад

      @@bitcoinweasel9274 hahaha XD

  • @PerfectlyNormalBeast
    @PerfectlyNormalBeast 4 года назад +432

    Logic is so cool. Take a complicated looking problem, break it down, then prove all sorts of things in that simplified mental space

    • @alveolate
      @alveolate 4 года назад +11

      i mean it would've been cool if we were shown how the parity thing was proven, and why he gets to do transpositions that are clearly impossible given the rules/physical limitations of the game. wouldn't some of the "1 step transpositions" he did when he swapped numbers actually take an even number of steps in the game? wouldn't that actually change the overall parity?

    • @delta3244
      @delta3244 4 года назад +20

      @@alveolate the allowed transpositions are still transpositions, and therefore must have the same parity as a set of not allowed transpositions that get from a to b.

    • @RedBar3D
      @RedBar3D 4 года назад +11

      @@alveolate On @Delta 's comment, think of the allowed transpositions as a subset of all possible transpositions.

    • @Blackreaper777
      @Blackreaper777 4 года назад +13

      Yeah, it's fascinating. If somebody gave me that puzzle and told to figure out if it's possible configuration or not, I wouldn't have a slightest clue where to even begin. Yet the solution is so simple and elegant when explained.

    • @PerfectlyNormalBeast
      @PerfectlyNormalBeast 4 года назад +2

      I was sort of thinking the same thing about allowed transpositions before he got to his proof:
      What if you played this in a 3D cube?, ND cube? A torus?
      Those loosen the constraints of the 2D square, but his proof is more generic than any extra constraints you want to impose

  • @jpe1
    @jpe1 4 года назад +1002

    When I was a kid I was one who was taught that these puzzles are called “Sam Loyd puzzles” because he invented them, but (quite recently!) I learned the truth that the puzzles predate the man, so I thank you, Numberphile, for reinforcing (confirming?) that information for me.
    As an aside, when I was a little boy my cousin, who was in her early 50’s at the time, would impress me by solving 15 puzzles in the fewest moves and fastest times, and even now when she is a few days shy of her 96th birthday and suffering with dementia she can still solve these puzzles.

    • @pkmath12345
      @pkmath12345 4 года назад +10

      Wow that is crazy haha

    • @nymalous3428
      @nymalous3428 4 года назад +27

      Happy birthday to your cousin!

    • @mohammadazad8350
      @mohammadazad8350 4 года назад +28

      @@MW-tf9dt some people get married in very early age

    • @hawki52
      @hawki52 4 года назад +28

      Lots of aunts/uncles. There is a 30 year gap between me and my youngest cousin, 35 year gap between my oldest and youngest cousins.

    • @ubertoaster99
      @ubertoaster99 4 года назад +16

      Cousins don't have to be same generation.

  • @jaapsch2
    @jaapsch2 4 года назад +154

    Instead of explicitly counting the lefts/rights/ups/downs for the blank space, I prefer giving the tray a checkerboard colouring. The blank space then changes colour every move, so must do an even number of moves to get back to the same colour (or same location).

    • @JNCressey
      @JNCressey 4 года назад +3

      *turns puzzle 90 degrees

    • @alephnull4044
      @alephnull4044 4 года назад +7

      Any chess player would also view it like this instinctively :)

    • @naphackDT
      @naphackDT 4 года назад

      Was my first instinct after trying to figure out if there was some weird rule about even and odd numbers.
      That rule probably exists in 5x5 and 3x3 fields, but not in 4x4 ones.

    • @noahlawler8042
      @noahlawler8042 3 года назад +6

      Actually, the simplest way to think of it is that 0 is the fewest number of moves, because it is already in the correct position . 0 is even, so all are even.

    • @julbarrier
      @julbarrier 2 года назад

      @@noahlawler8042 that's what i was thinking as well :)

  • @ingwermoschus5630
    @ingwermoschus5630 4 года назад +291

    His way of writing "odd" is rather 1(mod2).

    • @Dargonhuman
      @Dargonhuman 4 года назад +25

      Bro, I can't even...

    • @GEM4sta
      @GEM4sta 4 года назад +18

      Even his way of writing 1 mod 2 is odd to me! 1 % 2

    • @Kyo_Tran
      @Kyo_Tran 4 года назад +1

      That's quite odd

    • @8bit_pineapple
      @8bit_pineapple 4 года назад

      @Shawnaldo75 But you can though.

    • @dagan5698
      @dagan5698 3 года назад +8

      Dargonhuman bro i cant 0(mod2).

  • @goldenwarrior1186
    @goldenwarrior1186 4 года назад +43

    “I just take the tiles out” is the 15 puzzle version of “I just peel the stickers off” for Rubik’s Cubes

    • @sk8rdman
      @sk8rdman 4 года назад +8

      It's more like "I take it apart and put it back together" but you're on to something.
      Ruibk's Cubes have parity cases as well. The 15 puzzle has 2 universes of possible combinations of its pieces, only one of which includes possible permutations given legal moves.
      The Rubik's Cube has 12 universes of possible combinations of its pieces, so there are 11 ways to reconstruct it that are impossible to solve! If you were to take it apart and put the pieces back together randomly, then there's only a 1 in 12 chance that it would be solvable using legal moves!
      In fact, this is how some scramble algorithm generators work. They reconstruct the cube with a random configuration, check for parity, and repeat until they get a legal permutation. Then they use an algorithm that finds the most efficient solution for that scramble, and give that to the user in reverse. This ensures that every possible legal permutation is equally likely to occur, and that the scramble is not affected by any bias that might result from just trying to make random turns until it "seems" scrambled.

    • @drkuuljulian
      @drkuuljulian 4 года назад

      @@sk8rdman But parity only exist on 4x4 or higher, On 3x3 there is no parity, except if you take it apart and you put it false together.

    • @m1nus1623
      @m1nus1623 4 года назад +2

      Everything can be solved by breaking them all put it back

    • @malcolmw513
      @malcolmw513 4 года назад

      The people who say "I just take the stickers off" wouldn't be so bad if they didn't think they were so special. Yeah, everyone takes the stickers off. 🙄

    • @goldenwarrior1186
      @goldenwarrior1186 4 года назад

      Dan Yeah, that’s true. Also, I didn’t know the stuff about scramble generators! I guess I learned something new today.

  • @JanischMaximilian
    @JanischMaximilian 4 года назад +825

    The back of the puzzle was clearly designed by Matt Parker

    • @Playmaker6174
      @Playmaker6174 4 года назад +14

      Maximilian Janisch I see what you did there

    • @afwaller
      @afwaller 4 года назад +17

      It’s not quite a square, missing a piece.

    • @AnCoSt1
      @AnCoSt1 4 года назад +40

      @@afwaller that would exactly make it a Parker Square though

    • @sk8rdman
      @sk8rdman 4 года назад +6

      Clearly not, because if it were designed by Matt Parker then he would have given it a go first and realized it was impossible.
      Or if he were to put it there, then it would be to encourage the user to try it themselves and realize as he had that it was impossible.

    • @NoOne-wz2ht
      @NoOne-wz2ht 3 года назад

      @@sk8rdman im pretty sure this comment is a joke

  • @SirAndras
    @SirAndras 4 года назад +19

    This professor is amazingly easy to understand and listen to. Seems like a calm dude as well and can take his time to explain something. Nice vid!

    • @elektrolyte
      @elektrolyte 2 года назад

      I would take a guess and say that he is originally from South Africa!!

  • @iolol2023
    @iolol2023 4 года назад +405

    wait this is my professor?? I saw the cover and was like "oh he looks familiar..."

    • @hubert6943
      @hubert6943 4 года назад +37

      hahahahah that must have been a weird surprise

    • @SR-kd4wi
      @SR-kd4wi 4 года назад +10

      which University?

    • @pkmath12345
      @pkmath12345 4 года назад +2

      Haha yeah that must have been a weird surprise lol

    • @Maazin5
      @Maazin5 4 года назад +6

      I-L-L

    • @horacio6537
      @horacio6537 4 года назад +1

      You can make a new friend :)

  • @amandawitt9052
    @amandawitt9052 4 года назад +4

    I graduated with a math degree about five years ago and don’t get to do math everyday like I did in school. The COVID-19 pandemic and shelter in place has given me an opportunity to pull out my old textbooks and think about things I love so much again.
    I had my abstract algebra book out last weekend and was reading and thinking about permutations and parity.
    Thanks for sharing this. Made my heart pitter patter. ❤️

  • @johanwilhelmsson1199
    @johanwilhelmsson1199 4 года назад +272

    We had one when I was young where the reverse order was labeled "unmöglich". (Presumably the puzzle was from Germany. :) ) I always wondered why, back then.

    • @squeakybunny2776
      @squeakybunny2776 4 года назад +43

      @Ron Maimon the video doesn't proof it but it also doesn't assume it. It already has been proven by others...

    • @boghag
      @boghag 4 года назад +1

      An easier proof would be inductive

    • @rickstevens1167
      @rickstevens1167 4 года назад +4

      @@squeakybunny2776 that's flat out wrong. For his argument, YES, it was assumed.
      A statement without proof is by definition an assumption, axiom, postulate, premise, or condition.

    • @rickstevens1167
      @rickstevens1167 4 года назад

      @@boghag I thought all finite/discreet maths was inductive?

    • @jaymalby
      @jaymalby 4 года назад +3

      Rick Stevens perhaps, but an “inductive proof” is a specific kind of argument used when proving a specific theorem.

  • @fluffycritter
    @fluffycritter 4 года назад +58

    It took this video to make me finally understand where the word "parity" comes from - it's whether things are all "paired" up!

    • @NoriMori1992
      @NoriMori1992 4 года назад +7

      More precisely, "pair" and "parity" both come from the same root, a word meaning "equal".

    • @ClawedAsh
      @ClawedAsh 4 года назад

      I always heard that word in cubing and now I associate it with "The annoying thing that happens when using the reduction method"

  • @Angi_Mathochist
    @Angi_Mathochist 4 года назад +64

    I actually discovered this and wrote a proof myself in high school. The assignment was actually to write a computer program to find the best next step in the puzzle. This was the early 1980s and we were learning Apple Basic. I fiddled with the example arrangement given and realized it couldn't be solved. So my immediate question was: which arrangements can be solved ash's which can't? I wrote a proof of why the given arrangement could not be solved and of which arrangements in general could and could not. (I had to invent my own language, bear in mind, because I was in high school and hadn't been exposed to most of the math involved yet.) And for my computer program, I wrote an algorithm to test whether the given arrangement was solvable at all, since setting your computer on an unsolvable problem would only serve to waste a lot of computing time until you gave up and aborted the program. :)

    • @chetrshah
      @chetrshah 4 года назад +6

      That is truly a genius! Apple Basic so can't be earlier than 1983! 37 years ago! It makes you proud today! Did you go on to do lot in maths? Btw, I was thinking on the same lines that such problems need to be given at the school level for children to realise some of the difficult mathematical concepts!

    • @kathrynneuman1079
      @kathrynneuman1079 4 года назад

      I agree, that IS genius! You're awesome.

    • @cbnewham5633
      @cbnewham5633 3 года назад

      @@chetrshah It can be earlier than 1983. If it was Integer Basic then 1977. If it was Applesoft Basic then 1978.

  • @nathanderhake839
    @nathanderhake839 4 года назад +243

    Whenever someone comments: “I take the tiles out” you have just either made Brady’s prediction come true or messed it up.

    • @karlboud88
      @karlboud88 4 года назад +14

      Does your comment count as one of those comments or not? You've made his prediction kind of a philosophical one now

    • @davidfinch7418
      @davidfinch7418 4 года назад +14

      Schrodinger's Tile Puzzle Comment Analysis

    • @JM-us3fr
      @JM-us3fr 4 года назад

      Those are the two options

    • @acruzp
      @acruzp 4 года назад

      @@JM-us3fr Yeah this is tautological .

    • @NortheastGamer
      @NortheastGamer 4 года назад

      @@karlboud88 Even more vexing is that he predicted people would say "_I_ take the tiles out" but, what if I referenced another person, for example: "My cousin used to take the tiles out"?

  • @AlisterCountel
    @AlisterCountel 4 года назад +4

    After a bit of playing around (physically and mathematically), it seems like every “unreachable” simplifies to being the 14 swap 15 problem (possibly with different values needing to swap, but that’s equivalent). So if we allow that move by some means, everything should be reachable! Makes me curious to think what states would be reachable on a Rubik’s cube if there existed a move to fix edge parity or corner parity.

  • @Bibibosh
    @Bibibosh 4 года назад +7

    23 minutes of utter joy and happiness!
    Thank mathematics.
    Thanks RUclips.
    Thanks world!

  • @Tobi9012
    @Tobi9012 4 года назад +17

    That was amazing. I had such a puzzle as a kid and soon found out, that you can't have every configuration, but didn't know why. Now I know, i'm so happy :)

  • @howardli6059
    @howardli6059 4 года назад +13

    Just read a book called "Tales of Impossibility", the puzzle from Sam Loyd was also discussed on Chapter 2. I am amazed of this kind of mathematical proof for its impossibility. Thanks Numberphile!

  • @onlinekyne
    @onlinekyne 4 года назад +83

    Beautiful solution!

  • @mikefochtman7164
    @mikefochtman7164 4 года назад +96

    To mess with a friend, I took one corner piece out of his Rubic's Cube and rotated it and put it back. Rubic's Cubes have a similar parity and by doing this, it became unsolvable. lol

    • @SpaghettiRuin
      @SpaghettiRuin 4 года назад +5

      A cuber would be able to tell when they get an unrecognizable OLL case

    • @NortheastGamer
      @NortheastGamer 4 года назад +19

      @darthvader_alex I get the feeling you've been waiting to tell people that you're a cuber ever since you became a cuber.

    • @Kalobi
      @Kalobi 4 года назад +4

      IIRC, Rubik's Cubes actually have 8 different orbits between which you can switch by removing and rotating pieces, as opposed to the 2 here.

    • @djapa9453
      @djapa9453 3 года назад +4

      You monster

    • @Giyga
      @Giyga 3 года назад +1

      We can tell you know....
      But basically there isn't an OLL case to just rotate a corner alone, that's why we can see.

  • @billn77
    @billn77 4 года назад +142

    On a historical note: do we know if Lloyd was aware of the mathematics, or was he actually risking losing $1000?

    • @asdasd-ho3mm
      @asdasd-ho3mm 4 года назад +46

      The proof follows easily from an understanding of the symmetric group and the alternating group within it, which had been understood for decades before. I imagine he didn't understand the proof, but knew the result.

    • @GreenLyfe00
      @GreenLyfe00 4 года назад +14

      I believe he made more money

    • @Albimar17
      @Albimar17 4 года назад +16

      He was the world's first troll ;)

    • @SimonTiger
      @SimonTiger 3 года назад +7

      I think he was aware of the math, and he trolled everyone into saying you can get $1000 if you solve it. But I might be wrong.

    • @blazarchzagnatz7506
      @blazarchzagnatz7506 3 года назад +1

      @@Albimar17 Trolls don't offer something of value.

  • @jadennola6731
    @jadennola6731 4 года назад +110

    "Let's call this blank square 16"
    Programmers: *angery noises*

    • @Omar-bi9zn
      @Omar-bi9zn 3 года назад +10

      I was really expecting him to call it 0

    • @MrTridac
      @MrTridac 3 года назад +1

      I actually did make a little growl.

    • @petrkubena
      @petrkubena 3 года назад

      At least it was round number :)

    • @fxnoob
      @fxnoob 3 года назад +3

      at least it was not √-1

    • @doggo7567
      @doggo7567 3 года назад +4

      I made a disapproving sigh

  • @ZachGatesHere
    @ZachGatesHere 4 года назад +7

    I remember this thing and hearing about how it couldn't be done lol. Of course this channel would dig into the minutiae of it. Love it.

  • @oda23official
    @oda23official 4 года назад +263

    Nothing is impossible until you add rules

    • @WatchingMyLifeFlashB
      @WatchingMyLifeFlashB 4 года назад +37

      So true, to solve a Rubik's cube is relatively simple until the rule prohibiting the disassembly of the cube is instituted.
      Yet, even the solution of such a cube would seem to again become impossible, unless the disassembly rule doesn't actually include the peeling/removal of the colored stickers. But again, applying one's own stickers wouldn't be under the disassembly rule, now would it?
      It's the rules which are the problem, not accomplishing the task requested.
      Coloring within the lines most assuredly stunts the creativity of humanity.
      Toss the rule books already! Don't worry, pop out those numbered tiles, make whatever configuration you want, & be happy!

    • @martinpaar775
      @martinpaar775 4 года назад

      @@WatchingMyLifeFlashB wise words!

    • @MushookieMan
      @MushookieMan 4 года назад +5

      If my theory is correct, I should be able to fly.

    • @reedmorris6559
      @reedmorris6559 4 года назад +4

      Can an elephant fly...there are an infinite number of impossibilities

    • @00wolfer00
      @00wolfer00 4 года назад +13

      @@WatchingMyLifeFlashB Rules are very important for creativity. For example if your painting is just blotches of colour that's pretty boring. Giving yourself rules to follow like using only these colours, only these shapes or that it must be as realistic as possible can lead to something a lot more interesting.

  • @GRBtutorials
    @GRBtutorials 4 года назад +38

    What they were thinking? You’re giving them too much credit. Odds are, they weren’t even thinking, because it was marketing that put it in there.

    • @Dargonhuman
      @Dargonhuman 4 года назад +5

      Most likely, yes. My guess is the graphic artist had to fill the space, thought "Hm, reversing the order would be aesthetically pleasing" then just moved the tiles around in Photoshop without checking to see if the solution was even possible.
      I have a copy of the metal one (which is soooooo satisfying to play with if you like the sound of steel sliding on steel...) and it came with a booklet of something like 20 or 30 different permutations to try, and the one they were testing was literally the second suggestion.

  • @johninwaynenewjersey5253
    @johninwaynenewjersey5253 4 года назад +3

    That was an awesome proof explained very well, thank you Professor!

  • @Terri_MacKay
    @Terri_MacKay 4 года назад +1

    I was terrible at math in school, and I haven't gotten any better as I've gotten older. And yet I find math absolutely fascinating. I love this channel...I find your videos mesmerizing.
    And I feel so proud of myself when I have my aha moment during a video and understand what is being explained. 😀😀

  • @robbie6625
    @robbie6625 4 года назад +2

    I just love how well-made that puzzle is. It looks beautiful.

  • @Zyugo
    @Zyugo 4 года назад +107

    James 'singingbanana' Grime also tackled this a long time ago.

    • @leadnitrate2194
      @leadnitrate2194 4 года назад +7

      I believe it was also mentioned in Simon Singh's book, although not in detail.

    • @corpsiecorpsie_the_original
      @corpsiecorpsie_the_original 4 года назад +4

      Is that why this felt like a reupload to me?

    • @jimi02468
      @jimi02468 4 года назад +3

      Now when you mention it I remember too

    • @anticorncob6
      @anticorncob6 3 года назад +2

      Yeah, but he didn't explain why it would require an odd number of moves to swap the 14 and 15 around. The explanation in this video is still incomplete as they didn't prove parity of permutations, but at least they mentioned it and they showed how it would imply that swapping the 14 and 15 would require an odd number of moves.

  • @clausclausie7560
    @clausclausie7560 4 года назад +5

    Genuinely interesting from start to finish.

  • @leddsz
    @leddsz 4 года назад +1

    Great video as always, and the animations are incredible, it makes very easier to follow the mathematician.

  • @CB27255
    @CB27255 4 года назад +1

    This is a great video. Has a great balance of some actual mathematical insight but also being accessible.

  • @gknucklez
    @gknucklez 4 года назад +24

    It's facinating that when you just switch two tiles, you will never be able to go to a setting that was previously possible. Like two universes existing next to each other, whose fabrics are intertwined without a possibility to transition from one to the other

    • @vinlebo88
      @vinlebo88 4 года назад +3

      This happens on twisty puzzles too and is usually called "orbits". What a fitting name to your description. :)

    • @kilroy1964
      @kilroy1964 4 года назад +1

      @@vinlebo88 I thought they were called orbitals. Are you sure?

  • @joshuadotson854
    @joshuadotson854 4 года назад +4

    Bought the puzzle with your link. I love little things like that. Great video btw!

  • @DavisFamilypics
    @DavisFamilypics 4 года назад +2

    YES! This is exactly my thoughts on the puzzle but written out. I didn't know how to prove it, but this explained it all so clearly. You can use a similar idea to prove that you can't switch only two pieces on a Rubik's cube!

  • @ezramoreno428
    @ezramoreno428 4 года назад +1

    I am currently learning about Ring Theory and Group Theory in my Algebraic Structures class. In the class, we just talked about transpositions and permutations, so this video was absolutely fascinating!

  • @ArmandKruger
    @ArmandKruger 4 года назад +89

    I love hearing a fellow South African out in the wild!

    • @wadepotts4062
      @wadepotts4062 4 года назад +1

      A wild Saffa appears

    • @UncoveredTruths
      @UncoveredTruths 4 года назад +1

      you love to see it!

    • @yuvalperry6688
      @yuvalperry6688 4 года назад

      Right Heee

    • @ratandmonkey2982
      @ratandmonkey2982 4 года назад +10

      I was wondering what that accent was.

    • @18booma
      @18booma 4 года назад +2

      @@ratandmonkey2982 You can always tell an Afrikaans accent by the use of the word "ja" (pronounced "yaw"). He doesn't have a very strong accent, but the "ja" gives it away.

  • @EdwardNavu
    @EdwardNavu 4 года назад +15

    This thing has always been my bane of existence among numerous things, including but not limited to Rubik's cube series.

    • @SgtSupaman
      @SgtSupaman 4 года назад +2

      This is basically a 4x4x0 Rubik's cube, heh. ("Rubik's cube", of course, being a misnomer for similar puzzles because most of them are neither cubes nor Rubik's brand.)

    • @ianmoore5502
      @ianmoore5502 4 года назад

      @Ranjit Tyagi naaahhh, he knows. Lol.

    • @MrSquirrelsMan
      @MrSquirrelsMan 4 года назад

      It's way easier than a Rubik's cube. You only need 1 strategy.
      124X > 1234
      XX3X > XXXX
      After the first 2 rows you do the same starting on the left.
      13 9 X X > 9 X X X
      X X X X > 13 X X X

    • @Royvan7
      @Royvan7 4 года назад

      @@SgtSupaman i would argue it is a 2D cube

    • @chessbitz6846
      @chessbitz6846 4 года назад +1

      @@SgtSupaman yeah true. Idk if you are a cuber or not but if you know how the Rubik's cubes work then you know this puzzle actually works in the same way. There are odd/even parity and there are impossible permutations like flipped edge without moving any other edge.

  • @kwilson5832
    @kwilson5832 Год назад

    Another interesting way to look at this is to imagine (or draw) a puzzle with the numbers from 1 to 3 and a blank square. The '1' is in the top left position, '2' in the top right position and '3' in the bottom left position. Now imagine you want to reverse the puzzle so that '3' is in the top left, '2' in the top right and '1 in the bottom left. As you move the pieces around, you can see that it is impossible to move the numbers so that they are no longer clockwise, but the solution you are trying to achieve has the numbers in an anti-clockwise formation. The same principle can be applied to the 4 x 4 puzzle, although its application is not as easy to see. This video does a great job of explaining it.

  • @jpdemer5
    @jpdemer5 4 года назад +1

    My brother and I had a couple of these things. I pretty quickly realized that some combinations were impossible ... and also that you could pry out the plastic tiles and pop them back in, so as to get at the impossible ones. I did this to my brother's puzzle, and he could never get back to the original 1->15 arrangement. Drove him nuts for a week!

  • @tierchik
    @tierchik 4 года назад +3

    Hello to all. So, if it is necessary to make even time of changes, then arrangement 1, 2, 3, 4,... 15, 16, 14 is possible!
    After that we make one move more!

    • @marzipancutter8144
      @marzipancutter8144 4 года назад +1

      If 16 is one space away from it's original position then you need to have an odd number of changes.
      1, 2, 3, 4,... 15, 16, 14 is not possible

    • @Johnof1000Suns
      @Johnof1000Suns 3 года назад

      But then that’s just an odd number of moves...

  • @nanamacapagal8342
    @nanamacapagal8342 4 года назад +76

    "I'm waiting for someone to comment 'I just take the tiles out'"
    *Laughs in peels the stickers

    • @MatthewLiuCube
      @MatthewLiuCube 4 года назад +5

      Only Cubers will understand

    • @SenshiSunPower
      @SenshiSunPower 4 года назад +3

      A high quality version of the toy should prevent you from vertical movements. So the real solution is to cheap out.

    • @demonsheadshot8086
      @demonsheadshot8086 4 года назад +2

      Imagine trying to peel stickers omegalul

    • @mingming9604
      @mingming9604 4 года назад +1

      @@MatthewLiuCube an expert cuber will be able to rearrange the cube back a lot faster than you can peel and repaste stickers.....lol

    • @MatthewLiuCube
      @MatthewLiuCube 4 года назад +1

      @@mingming9604 lol you realize im a cuber. What is your average? Mine is 20.

  • @rickieodem488
    @rickieodem488 4 года назад +1

    Loved the animation on this video, as well as the cool explanation!

  • @pasitervo9686
    @pasitervo9686 3 года назад

    This is one of the best numberphile videos ever published. Well done!

  • @RibusPQR
    @RibusPQR 4 года назад +45

    Odd squares go to left, even squares go to right. Seven and eight are whelp squares.

    • @dirtdart81
      @dirtdart81 4 года назад +1

      Theres a loose 16! Handle it!

    • @runeboas6421
      @runeboas6421 4 года назад +1

      No more hops! MORE HOPS!

    • @SeriousMoh
      @SeriousMoh 4 года назад

      Oh man. Never thought I'd see a reference like that these days. Thanks, that made my day. And remember, whatever you do, do not stand next to other people!

    • @NoriMori1992
      @NoriMori1992 4 года назад

      What are you referencing?

    • @SearinoxNavras
      @SearinoxNavras 4 года назад

      @@NoriMori1992 WoW Onyxia raid meme.

  • @ykl1277
    @ykl1277 4 года назад +5

    Step 1: Take the new configuration
    Step 2: Run quick sort on it
    Step 3: Count the steps
    Step 4: Check that the parity is right

    • @cassidydude
      @cassidydude 4 года назад +1

      Not quicksort, straight selection sort.

    • @dimitrijat
      @dimitrijat 3 года назад

      Bogo sort

  • @brianwestley6985
    @brianwestley6985 4 года назад +2

    There's a more devious version -- instead of 1-15, the tiles say "RATE YOUR MIND PAL" in horizontal rows. What you can do is show someone what it says and scramble the letters while they watch and challenge them to unscramble them. But what you do is put the "R" in YOUR into the upper left corner where the "R" in RATE should be. But you can't unscramble it that way -- the best you can do is RATE YOUR MIND PLA until you swap the Rs back.

  • @MateusSFigueiredo
    @MateusSFigueiredo 4 года назад

    Awesome video. I took the time to check if the Vertical Odd/Even configuration was possible, and it is.

  • @BedrockBlocker
    @BedrockBlocker 4 года назад +11

    We have proven, that it's always an impossible task when the parities are different, but we have not proven that it's always possible when the parities are different.

    • @sonayyalim
      @sonayyalim 4 года назад +9

      I think you meant to say "... not proven ... parities are same".

    • @danno1111
      @danno1111 4 года назад

      Yes taking the 15-16 swapped configuration and then making just one more move will balance out the parity, but doesn't make it any more possible. It'd be nice to know if/how a configuration could be proven to be impossible even if the parities don't match.

    • @marzipancutter8144
      @marzipancutter8144 4 года назад

      "If it hasn't been done that just means you haven't proven it to be impossible yet."
      I think I just found my new life motto.

    • @BedrockBlocker
      @BedrockBlocker 4 года назад

      @@marzipancutter8144 I van relate: If one year of studying maths taucht ne anything, it is that destructive proofs are mostly easier than constructive ones.

  • @somerandomweeb4836
    @somerandomweeb4836 4 года назад +40

    So if you create one with the numbers in reverse order you can't make it so that the numbers are in the correct order?

    • @kut52
      @kut52 4 года назад +8

      Unless the open square is also at the start

    • @alephnull4044
      @alephnull4044 4 года назад +4

      That is correct, because every permutation is invertible.

    • @xue1379
      @xue1379 4 года назад

      @@alephnull4044 haha baby infinity

    • @Dargonhuman
      @Dargonhuman 4 года назад

      Basically, yes. If you start with the normal order and try to do the reverse as shown on the packaging, 14 and 15 will always be inverted. If you were to take it apart and start with 15 in the upper left and tried to solve it back to normal, 14 and 15 would still be inverted simply because the parity is wrong - the only way to truly reverse the tiles is to move the blank 16 spot from the lower right to the upper left and rearrange the tiles around it.
      In other words, it doesn't matter what the starting arrangement is, it will be impossible to reverse their order and keep the blank 16 in the same spot.

  • @steve-dn8ru
    @steve-dn8ru 4 года назад

    brilliant & thank you Numberphile, my fav RUclips channel without doubt

  • @ShivankerGoel
    @ShivankerGoel 4 года назад

    Hey Numberphile! Love your videos, thank you for existing! Interesting idea for the next one: the strange properties of the infinite power tower :) my mind was blown recently by this problem.

  • @eliasabi-elias8501
    @eliasabi-elias8501 4 года назад +10

    22:32 solution to spiral arrangement

  • @simonburton992
    @simonburton992 4 года назад +23

    We want to see a proof of Fact 2. Inquiring minds must know.

    • @weibingchen4183
      @weibingchen4183 4 года назад +2

      Just check the parity of a permutation on wiki, and you will get it. It is pretty straightforward

  • @joergsonnenberger6836
    @joergsonnenberger6836 4 года назад

    Thanks, that answers an option question from my high school days. We were given the problem of programming this puzzle and creating a random starting position. I was aware of the problem of unsolvable configurations, so I could side step the issue by randomizing the starting position by starting from a valid configuration and permutating it with valid puzzle moves, but this creates a somewhat simple criterion.

  • @DemstarAus
    @DemstarAus 4 года назад +2

    All moves must include swapping 16 with something else. Moving any other tile is optional, but moving 16 is compulsory. I didn't do math in high school (aside from what was basically required as part of the curriculum) yet these videos make numbers interesting!

  • @basticz
    @basticz 4 года назад +8

    This seems wierdly incomplete. It reduced the problem to proving that permutations have a parity. But it doesn't even try to give an intuition of why that is the case. Also it seems to make the statement that with the allowed moves every configuration with correct parity is possible, but it doesn't make any argument why that follows from the rules.

    • @StefanReich
      @StefanReich 4 года назад

      YES. Missed that too. It's probably a fact, but why?

    • @muralidharansomasundaram1509
      @muralidharansomasundaram1509 4 года назад +1

      You can see S. Muralidharan (2017) The Fifteen Puzzle-A New Approach, Mathematics
      Magazine, 90:1, 48-57, DOI: 10.4169/math.mag.90.1.48

    • @StefanReich
      @StefanReich 4 года назад

      @@muralidharansomasundaram1509 Actually I can't see, it's paywalled... but thanks

    • @muralidharansomasundaram1509
      @muralidharansomasundaram1509 4 года назад

      @@StefanReich i can send it to you. What is your email?

  • @Z3nt4
    @Z3nt4 4 года назад +4

    The fact that the blank is 16 rather than zero bothers me much, much more than it ought to.

    • @peacefroglorax875
      @peacefroglorax875 4 года назад +1

      Yeah, why not order the numbers 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0

  • @shreyanshupanda1219
    @shreyanshupanda1219 4 года назад +2

    I had also played the the picture version of the puzzle. Nice to recall those memories.

  • @sander_bouwhuis
    @sander_bouwhuis 4 года назад

    This is why I love mathematics so much! You get deep insight into the problem by proving not just a single instance of a problem, but for ALL possible instances regardless of who you are. An alien from a different galaxy would still agree with us of the correctness, and they would come to the same conclusion IF they share or agree with our axioms.

  • @LimitlessMathLLC
    @LimitlessMathLLC 4 года назад +6

    Another awesome video! Always great content. Amazing channel. You’ve inspired me to start my own math channel.

  • @alexanderf8451
    @alexanderf8451 4 года назад +26

    Surely you can prove that to get the 16 back where it starts simply by observing that zero is even? And thus the "do nothing" permutation is even.

    • @hyreonk
      @hyreonk 4 года назад +3

      That is *one* possible permutation, but it doesn't prove that every possible permutation has to be even. You get to do as many shuffles as you want. We want to see if, by following the rules of the puzzle, it is possible to get 16 back to where it was in an odd number of steps. It turns out it isn't.

    • @zatherz2498
      @zatherz2498 4 года назад +2

      I don't think a "do nothing" permutation exists/is valid, considering you could just do something like 123->312 with (1,3); (1,1); (2,3) and get an odd result if it was a thing.

    • @alephnull4044
      @alephnull4044 4 года назад +3

      @@zatherz2498 'Do nothing' is the identity permutation and is the composition of 0 transpositions (or 2,4,6, ...). But you're right that it is not a transposition because it does not switch two (distinct) elements.

    • @phiefer3
      @phiefer3 4 года назад +3

      @@zatherz2498 Actually your example only proves that the "do nothing" permutation is valid. The "do nothing" permutation would be 0 steps, therefore putting a (1,1) in would NOT make that 3 steps, because that swap is literally doing nothing, ie 0 steps, so you did 1 step, then 0 steps, then 1 step, that's a total of 2 steps, not 3.

    • @RodelIturalde
      @RodelIturalde 4 года назад

      @@phiefer3 i would say that swapping 1 with 1 is 1 definite step.

  • @jlp1528
    @jlp1528 4 года назад

    I still have one of these with the original manual and red leather case, mint condition! Just as fun now as it was when it was given to me perhaps 20 years ago now.
    Impossible combinations quickly become obvious as such when you play with it, but it's awesome to finally see a mathematical explanation WHY they can't be done. Also, certainly these theorems have plenty of applications besides the 15 puzzle! Great video, thank you, keep doing what you're doing! :)

  • @vulpineboriqua
    @vulpineboriqua 4 года назад +1

    I used to have one of these when I was a kid, got extremely good at it, and that metal one was sooooooo satisfying to use

  • @NGC-7635
    @NGC-7635 4 года назад +9

    I think I once tried to do it backwards but I thought I was just too dumb to figure it out, lol

  • @anniethebean101
    @anniethebean101 4 года назад +12

    I love this puzzle. This is my favorite puzzle ever

  • @leonriverbeam6614
    @leonriverbeam6614 3 года назад

    Excellent explanation. Thank you!

  • @sallaklamhayyen9876
    @sallaklamhayyen9876 2 года назад

    great explanation thank you so much and please we need more

  • @heatshield
    @heatshield 4 года назад +3

    this is lovely!
    I'd like to see this done to prove some Rubicks cube patterns are not possible.

    • @rmidthun
      @rmidthun 4 года назад

      Switching two edges on the cube is an odd permutation of the edges. Leaving all the corner pieces the same is an even permutation (namely 0 moves). A single rotation of a cube edge works out to be an odd cycle of corners and edges (1 2 3 4) -> (4 1 2 3) is an odd permutation. Therefore, a single move on the cube does an odd parity move on both edges and corners. So there is no way to make a single edge swap while leaving the corners the same, since that would require an odd number of moves for the edge, but even for the corners. Similar arguments work for flipping edges, swapping corners and rotating a single corner.

  • @adityaanupam1801
    @adityaanupam1801 4 года назад +6

    I love his handwriting

  • @mattiviljanen8109
    @mattiviljanen8109 4 года назад +1

    Okay I gotta admit that although Numberphile videos are quite easy to understand, this one I actually actually feel like I understood (taking the facts as granted, that is). Great video with both entertainment and educational value, once again! Bravo!

  • @imad9948
    @imad9948 2 года назад

    awesome explanation, thank you so much

  • @fep_ptcp883
    @fep_ptcp883 4 года назад +68

    *An impossible arrangement of numbers in a square?*
    (Matt Parker left the chat)

    • @CrackedDota
      @CrackedDota 4 года назад +1

      I read too many comments like this before I realized people weren't talking about a South Park creator

  • @LeoAr37
    @LeoAr37 4 года назад +4

    I don't get why at 20:40 you can't just permutate the 12 with the 5. Then the 13 with the 6, and so on, it would be I think 11 permutations at most off the top of my head.

    • @ghislainbugnicourt3709
      @ghislainbugnicourt3709 4 года назад +2

      That part was confusing, but I belive you can just permutate from a distance indeed since we're just evaluating the parity.

  • @jbaidley
    @jbaidley 4 года назад

    What I love about this proof is that it simply never bothers properly translating the board into a mathematical form. It simply treats the reality of how you need to swap tiles as an implementation detail. So elegant!

  • @DanBurgaud
    @DanBurgaud 10 месяцев назад

    WOW! The brilliancy in modeling the problem! WOW!

  • @colinstu
    @colinstu 4 года назад +6

    What if you took the tiles out and cheated and achieved that impossible solution, and then attempted to use the puzzle and solve any of the other solutions? Are all the 'good' ones no longer possible? are the 'bad' ones possible now?

    • @dphdmn
      @dphdmn 4 года назад

      yeah

  • @olliecyclops9164
    @olliecyclops9164 4 года назад +4

    I remember the first time seeing this puzzle was in Super Mario 64 in the Lethal Lava Land course!

  • @user255
    @user255 4 года назад

    Very nice! I would like to see more about this!

  • @momentouscrazynoob1709
    @momentouscrazynoob1709 4 года назад

    Great video! I love the editing! And hilarious joke at the end!

  • @mariuspazera9580
    @mariuspazera9580 4 года назад +32

    Me, a Runescape clue scroll expert: HAH

    • @Atlasm2p
      @Atlasm2p 4 года назад +2

      I see you are a man of grind a man of monkey fcking madness

    • @SSDragon19
      @SSDragon19 4 года назад +1

      same, i miss those days

  • @Archetype784
    @Archetype784 4 года назад +29

    4:17 He forgot number 4
    Mista is pleased
    Edit: also 4:07

    • @oliverolsen1120
      @oliverolsen1120 4 года назад +2

      Technically he only forgot to write it once

    • @mike65535
      @mike65535 4 года назад

      I spotted that right away and hit rewind!

    • @ilyxad6121
      @ilyxad6121 4 года назад +1

      My eyes were bleeding cuz of that

    • @sanatanmeaning
      @sanatanmeaning 4 года назад

      You are now a *Mathemate-chinas*

    • @stormbreaker_101
      @stormbreaker_101 4 года назад

      I had to reply to this comment because otherwise there'd pnly be 4 replies

  • @sauravkumar1564
    @sauravkumar1564 5 месяцев назад

    Masterpiece 🔥🔥🔥🔥 what a clear explanation it is......

  • @splendidganesha2127
    @splendidganesha2127 3 года назад

    Thanks numberphile, I keep wondering about this puzzle and found this video on youtube, now I know why I can't get the arrangement of 15 to 1

  • @hellowill
    @hellowill 4 года назад +12

    Interesting way to prove zero is even!

    • @LieseFury
      @LieseFury 4 года назад

      @kozi0404 because doing zero transpositions is an even permutation

  • @kasajizo8963
    @kasajizo8963 4 года назад +20

    Already a dislike? Hater has their notifications on

    • @sammy-tj7br
      @sammy-tj7br 4 года назад

      Kasa Jizo M I S C L I C K

    • @mnm1273
      @mnm1273 4 года назад

      or the creators follows the channel

    • @kasajizo8963
      @kasajizo8963 4 года назад

      @@sammy-tj7br oh so *you're* the culprit?! Jk

    • @ivanadriazola1991
      @ivanadriazola1991 4 года назад

      I love to think that

  • @bimbumbamdolievori
    @bimbumbamdolievori 3 года назад

    I like how the definition of odd is transcended and generalized in the generalization of the solution to the point it becomes mod2 and not anymore "odd". So mathematically genuine

  • @cosmonauta3038
    @cosmonauta3038 4 года назад

    I love the groups theory even if I'm not an expert in this field. I always wanted to learn model algebra when I was a student but unfortunately I couldn't even though I've tried to teach myself reading many books. Great video, you remind me of how much I love this theory.

  • @chaoticoli09
    @chaoticoli09 4 года назад +3

    @Numberphile Now I am curious about the "God's number" of this puzzle, or rather the maximum number of transpositions necessary to get from any given possible configuration to any other configuration.

    • @MarcRidders
      @MarcRidders 4 года назад

      I think you mean the "minimum number of transpositions"?

    • @lucianoosinaga2980
      @lucianoosinaga2980 4 года назад +2

      @@MarcRidders no i think he means the maximum number of moves you could ever need to solve. That is, how many moves would it take to unscramble a maximally scrambled configuration

    • @chaoticoli09
      @chaoticoli09 4 года назад

      Luciano Osinaga yes Luciano has what I had in mind .

  • @robertkeddie
    @robertkeddie 4 года назад +31

    I always thought that the clever thing about this puzzle was constructing it so the tiles don't just fall out. (I'm an engineer.)

    • @Ethan-mj6wy
      @Ethan-mj6wy 4 года назад

      an engineer?
      pi = e = 3
      pi^2 = g

    • @demonsheadshot8086
      @demonsheadshot8086 4 года назад

      Tbf isnt that complex, isnt it just slots in each piece?

    • @digama0
      @digama0 4 года назад +1

      Rubik's cubes blew my mind as a child for this reason. Genius engineering

    • @Dargonhuman
      @Dargonhuman 4 года назад

      @@demonsheadshot8086 Not the metal one; I own one and took some tiles off just to see how it worked. Each spot on the tray has a square protrusion on it that looks something like a mushroom head (I'm sure there's a technical term for it but I'm not an engineer so I have no idea what it is...) in the middle. Each tile has a grip arm on the corner that hooks underneath the top of the mushroom head and the sides are hollow so the hooks will always be under a protrusion.
      In honesty, it's so well designed that I nearly broke mine trying to get one of the tiles off to see how it worked - as it stands, the protrusion for the blank "16" spot wiggles a bit where I had to bend it.
      EDIT: I incorrectly described the design of the tiles; I was thinking of a completely different puzzle when I wrote that.

  • @ricardomuller2066
    @ricardomuller2066 3 года назад

    Thanks! This video really helped me with my homework

  • @harmidis
    @harmidis 4 года назад

    Another superb video! I love Mumberphile!

  • @nkanyezihlatshwayo3601
    @nkanyezihlatshwayo3601 4 года назад +33

    Is that a South African I hear??

    • @jfa849
      @jfa849 4 года назад

      Certainly sounds it. Been in the US for a while from the bio information.

    • @theuniechamberlain7643
      @theuniechamberlain7643 3 года назад

      yeah he is, he has a link to the south africans abroad website in his bio.

  • @mihaelkrilcic4546
    @mihaelkrilcic4546 4 года назад +6

    4:08 some people just dont like number 4

  • @thomasdc2439
    @thomasdc2439 4 года назад

    thx for the video. It was very entertaining. I had this game as a kid and I loved it. As a kid, I of course didn't understand why some combinations are not possible. After studying computer science, I have the knowledge to understand this now, but I was never thinking about this game since 40 years. It's nice to be remembered about these little things in the daily life and how you can explain them with math :). I really tend to forget this.

  • @oddacorn
    @oddacorn 4 года назад +1

    As a thought experiment, consider the fact that at some point you need to solve the last 2x2 section of the puzzle. Let's just pretend that's its own little puzzle that's numbered 1 through 3 with a space that I'll choose to call X. The correct arrangement would then be {1, 2, 3, X}. Your only moves in this case would move the space around the puzzle in clockwise or counterclockwise circles, and you could always return to the proper solved order.
    Now, picture the same 2x2 puzzle but this time starting with the numbers in the top row switched, so the arrangement is {2, 1, 3, X}. Moving the space around the puzzle to get the 1 in the top left corner, you would only ever be able to get to {1, X, 2, 3}, {1, 3, 2, X}, or {1, 3, X, 2}. The tiles can keep going around in circles, but they'll never be in the right order with the 1 in the correct position!
    You can see the limitation here pretty easily. Each position can swap with its 2 neighbors, but not the remaining position, which is its opposite corner.