Presentation is loading. Please wait.

Presentation is loading. Please wait.

INSTANT INSANITY PUZZLE By Patrick K. Asaba. INSTANT INSANITY PUZZLE The Instant Insanity puzzle is played with four cubes. Each face of the cube is colored.

Similar presentations


Presentation on theme: "INSTANT INSANITY PUZZLE By Patrick K. Asaba. INSTANT INSANITY PUZZLE The Instant Insanity puzzle is played with four cubes. Each face of the cube is colored."— Presentation transcript:

1 INSTANT INSANITY PUZZLE By Patrick K. Asaba

2 INSTANT INSANITY PUZZLE The Instant Insanity puzzle is played with four cubes. Each face of the cube is colored with one of the four colors: red (R), white (W), blue (B) and green (G). Note: All front faces are WHITE The objective of the puzzle is to stack the cubes one on top of another so that on each long face of the resulting shape, all four colors show up exactly once. Determining the Instant Insanity solution is a very difficult task.

3 INSTANT INSANITY PUZZLE Determining how to arrange these four cubes in a stack that is an Instant Insanity solution is a very difficult task. The problem is that all the cubes are not the same. Observe that there are 24 symmetries of the cube, thus in doing this puzzle with four blocks which can each be placed in 24 different positions; that is: 24 4 = 331,776 possible stacks. Wow!!

4 Solving the Puzzle One way of solving puzzle is to play around with these four cubes until you can figure out the solution, however I promise you that this will drive you insane. The other way to look at this problem is by the decomposition principle:  Pick one pair of opposite faces on each cube for left and right sides of the stack so that these two sides of the stack will have one face of each color.  Then pick a different pair of opposite faces on each cube for the front and back sides of the stack so that these two sides will have one face of each.

5 Looking back In modeling the graph we use a Multigraph; – A multigraph is a generalized graph in which multiple edges are allowed, that is two or more edges can join the same two vertices; and loops are allowed, that is edges of the form (a, a). a { Multiple edges } A loop

6 Make one vertex for each of the four colors. For each pair of the opposite faces on cube i, create an edge with label i joining the two vertices representing the colors of these two opposite faces. For opposite faces: l 1 =blue, r 1 =white on cube 1, draw edge labeled 1 between blue and white; for f 1 =red, b 1 =red, draw a loop labeled 1 at red; and t 1 =green, u 1 =blue, drew edge labeled 1 between green and blue. GRAPH MODEL (cube 1)  This graph only presents cube 1. 1 1 1

7 GRAPH MODEL (cube 2) For opposite faces: l 2 =white, r 2 =blue on cube 2, draw an edge labeled 2 between white and blue; for f 2 =white, b 2 =white, draw a loop labeled 2 at white; and for t 2 =white, u 2 =red, drew an edge labeled 2 between white and red. 22 2

8 GRAPH MODEL (cube 3) For opposite faces: l 3 =blue, r 3 =green on cube 3, draw an edge labeled 3 between blue and green; for f 3 =white, b 3 =red, draw an edge labeled 3 between white and red; and for t 3 =red, u 3 =red, drew a loop labeled 3 at red. 3 33

9 GRAPH MODEL (cube 4) For opposite faces: l 4 =green, r 4 =red on cube 4, draw an edge labeled 4 between green and red; for f 4 =white, b 4 =green, draw an edge labeled 4 between white and green; and for t 4 =blue, u 4 =green, drew an edge labeled 4 between blue and green. 4 4 4

10 Graph Model of instant Insanity puzzle Now we can construct a single multiple graph with 4 vertices and all the 12 edges associated with the 4 cubes. 1 1 13 4 4 2 342 2 3

11 Characterize the Solution  Now you restate decomposition principle in terms of subgraphs.  One subgraph will represent the left-right sides; and  The second Subgraph will represent the front-back sides.  The subgraphs must: use all four vertices. contain four edges, one from each cube. use each edge only once. have each vertex at degree 2.

12 SUBGRAPHS There are three subgraphs associated with our graph model. We are using edge-disjoint to find the subgraphs. 3 4 1 2 A 1 4 2 3 BC 1 4 3 2

13 SUBGRAPHS Only two subgraphs meet the required standards. One of the subgraphs will represent the left/right sides and the second one will represent the front/back sides. Left/right sidesFront/back sides 3 4 1 2 1 4 2 3

14 Building the solution Now you can stack the cubes as labeled. Left/right sidesFront/back sides l l l l r r r r b b b b f f f f 3 4 1 2 1 4 2 3 Solution!!!

15 Try this!!! Cube 1Cube 2Cube 3Cube 4 Find a multigraph for the set of cubes presented below. If there is a solution, find two subgraphs that solve the puzzle. Is there another solution? If so show it; and if not explain why not?

16 Solution This is a multigraph the for a different set of cubes. 4 1 1 1 2 4 4 2 3 2 3 3

17 Solution  Now you restate decomposition principle in terms of subgraphs.  One subgraph will represent the left-right sides; and  The second Subgraph will represent the front-back sides.  Then label left/right and front/back to stack the cubes. 4 1 2 3 1 2 4 3 Front/back side Left/right side r r l l l l r r bf b b b f f f

18 Solution There is no other solution, since the third subgragh does not meet the required standards. 1 4 2 3


Download ppt "INSTANT INSANITY PUZZLE By Patrick K. Asaba. INSTANT INSANITY PUZZLE The Instant Insanity puzzle is played with four cubes. Each face of the cube is colored."

Similar presentations


Ads by Google