1 00:00:00,181 --> 00:00:02,680 PROFESSOR: The easiest way-- there are lots of ways to solve 2 00:00:02,680 --> 00:00:05,096 this problem, but I think the easiest and most elegant way 3 00:00:05,096 --> 00:00:06,504 to solve it is-- 4 00:00:06,504 --> 00:00:08,170 the thing that makes it hard is the fact 5 00:00:08,170 --> 00:00:10,212 that these cubes can be rotated and moved around, 6 00:00:10,212 --> 00:00:12,253 so the easiest thing is, imagine-- let's just sit 7 00:00:12,253 --> 00:00:13,930 a cube, pick one, put it on the table, 8 00:00:13,930 --> 00:00:15,830 and let's paint it with six colors. 9 00:00:15,830 --> 00:00:17,080 And let's pick the first face. 10 00:00:17,080 --> 00:00:18,220 Maybe we paint the top face. 11 00:00:18,220 --> 00:00:19,136 Pick a color for that. 12 00:00:19,136 --> 00:00:20,850 Well, we have six choices. 13 00:00:20,850 --> 00:00:22,420 OK, now we got to paint another face. 14 00:00:22,420 --> 00:00:24,107 Maybe we paint the one facing us. 15 00:00:24,107 --> 00:00:26,440 We have five choices left for the color we choose there, 16 00:00:26,440 --> 00:00:28,689 because we're not allowed to paint two faces the same. 17 00:00:28,689 --> 00:00:29,872 And then we proceed on down. 18 00:00:29,872 --> 00:00:31,330 We have four choices for the next-- 19 00:00:31,330 --> 00:00:32,500 3-2-1. 20 00:00:32,500 --> 00:00:35,320 And so, we get 6 times, 5 times, 4 times, 3 times, 2-- 21 00:00:35,320 --> 00:00:37,192 or 6 factorial. 22 00:00:37,192 --> 00:00:37,900 That part's easy. 23 00:00:37,900 --> 00:00:40,060 The hard part of the problem is-- 24 00:00:40,060 --> 00:00:43,930 but what if we rotate that cube? 25 00:00:43,930 --> 00:00:46,180 We could have made different painting choices 26 00:00:46,180 --> 00:00:48,820 and wound up with the same cube if we rotated it, 27 00:00:48,820 --> 00:00:50,380 and so the solution to that problem 28 00:00:50,380 --> 00:00:52,570 is what's sometimes known as the shepherd's rule. 29 00:00:52,570 --> 00:00:54,645 If you want to count a flock of sheep-- 30 00:00:54,645 --> 00:00:56,770 one easy way or maybe not so easy way to count them 31 00:00:56,770 --> 00:01:00,460 is count their legs and divide by 4. 32 00:01:00,460 --> 00:01:03,340 In order to count the different cubes that we can count, 33 00:01:03,340 --> 00:01:05,239 I think the easiest way to do it is, 34 00:01:05,239 --> 00:01:07,780 first, count all the ways you could paint it if you fixed it. 35 00:01:07,780 --> 00:01:08,613 We figured that out. 36 00:01:08,613 --> 00:01:10,456 That was 6 factorial-- 37 00:01:10,456 --> 00:01:12,580 and then figure out how many different orientations 38 00:01:12,580 --> 00:01:14,350 are there of the cube? 39 00:01:14,350 --> 00:01:16,660 And that takes a little bit of thought to figure out, 40 00:01:16,660 --> 00:01:18,610 but if you imagine sort of picking up the cube by one 41 00:01:18,610 --> 00:01:19,750 edge with your fingers-- 42 00:01:19,750 --> 00:01:21,160 maybe grab an edge. 43 00:01:21,160 --> 00:01:23,201 Sort of as long as you've got a hold of the cube, 44 00:01:23,201 --> 00:01:26,500 it can't move around, so you've sort of fixed in orientation. 45 00:01:26,500 --> 00:01:28,752 Well, how many edges could you have grabbed? 46 00:01:28,752 --> 00:01:30,460 Well, if you think about it for a minute, 47 00:01:30,460 --> 00:01:32,912 there's like four along the top, four along the bottom, 48 00:01:32,912 --> 00:01:34,120 and then four along the side. 49 00:01:34,120 --> 00:01:35,560 So there's 12. 50 00:01:35,560 --> 00:01:38,290 And for each of those edges, you could have grabbed it 51 00:01:38,290 --> 00:01:39,670 with your thumb on either side. 52 00:01:39,670 --> 00:01:41,378 You could grab it like that or like that. 53 00:01:41,378 --> 00:01:43,770 So if I grab it like that, I could twist it. 54 00:01:43,770 --> 00:01:45,310 So there's 12 times 2-- 55 00:01:45,310 --> 00:01:46,740 24 different orientations. 56 00:01:46,740 --> 00:01:48,490 There's a lot of other ways to prove that, 57 00:01:48,490 --> 00:01:50,655 but that's maybe the simplest one I can think of. 58 00:01:50,655 --> 00:01:52,780 And so, then to count the number of distinct cubes, 59 00:01:52,780 --> 00:01:57,920 you simply divide 6 factorial by 24, and you get 30. 60 00:01:57,920 --> 00:01:59,900 There you have it.