The Tantalizing Four Cubes

Similar documents
Graph Theory Problems and Solutions

Factorizations: Searching for Factor Strings

MD5-26 Stacking Blocks Pages

Comments on the Rubik s Cube Puzzle

Lesson #13 Congruence, Symmetry and Transformations: Translations, Reflections, and Rotations


TEACHER S GUIDE TO RUSH HOUR

E XPLORING QUADRILATERALS

Lesson 4: Surface Area

G3-33 Building Pyramids

2.5 Zeros of a Polynomial Functions

Grade 1 Geometric Shapes Conceptual Lessons Unit Outline Type of Knowledge & SBAC Claim Prerequisite Knowledge:

Grade 5 Math Content 1

Line Segments, Rays, and Lines

Midterm Practice Problems

Chapter 18 Symmetry. Symmetry of Shapes in a Plane then unfold

1. Kyle stacks 30 sheets of paper as shown to the right. Each sheet weighs about 5 g. How can you find the weight of the whole stack?

Pigeonhole Principle Solutions

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

Geometry Notes PERIMETER AND AREA

A Solution of Rubik s Cube

DISCOVERING 3D SHAPES

Rubiks Cube or Magic Cube - How to solve the Rubiks Cube - follow these instructions

SURFACE AREA AND VOLUME

Grade 7/8 Math Circles November 3/4, M.C. Escher and Tessellations

Angle - a figure formed by two rays or two line segments with a common endpoint called the vertex of the angle; angles are measured in degrees

Lesson 4: Surface Area

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

Chapter 6: Graph Theory

GAP CLOSING. Volume and Surface Area. Intermediate / Senior Student Book

1974 Rubik. Rubik and Rubik's are trademarks of Seven Towns ltd., used under license. All rights reserved. Solution Hints booklet

6.3 Conditional Probability and Independence

SOLIDS, NETS, AND CROSS SECTIONS

2. If C is the midpoint of AB and B is the midpoint of AE, can you say that the measure of AC is 1/4 the measure of AE?

Combinatorial Proofs

Bicycle Math. presented to the Math, Computer Science, & Physics Seminar Bard College Annandale-on-Hudson, New York. Timothy E.

Publisher 2010 Cheat Sheet

Just the Factors, Ma am

Conditional Probability, Independence and Bayes Theorem Class 3, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Teaching Guidelines. Knowledge and Skills: Can specify defining characteristics of common polygons

Extended Essay Mathematics: Finding the total number of legal permutations of the Rubik s Cube

MATH Fundamental Mathematics IV

Lottery Looper. User Manual

Dear Grade 4 Families,

VOLUME of Rectangular Prisms Volume is the measure of occupied by a solid region.

Linear Programming Problems

DIRECTIONS FOR SOLVING THE 5x5x5 (Professor) CUBE

Area of Parallelograms (pages )

Georgia Department of Education Georgia Standards of Excellence Framework GSE Grade 6 Mathematics Unit 5

Introduction to Graph Theory

Shape Dictionary YR to Y6

Area of Parallelograms, Triangles, and Trapezoids (pages )

Prism 6 Step-by-Step Example Linear Standard Curves Interpolating from a standard curve is a common way of quantifying the concentration of a sample.

10.1. Solving Quadratic Equations. Investigation: Rocket Science CONDENSED

Exploring Geometric Probabilities with Buffon s Coin Problem

Volume of Right Prisms Objective To provide experiences with using a formula for the volume of right prisms.

Lesson 13: The Formulas for Volume

Click on the links below to jump directly to the relevant section

Class One: Degree Sequences

Tessellating with Regular Polygons

Solving the Rubik's Revenge (4x4x4) Home Pre-Solution Stuff Step 1 Step 2 Step 3 Solution Moves Lists

N Q.3 Choose a level of accuracy appropriate to limitations on measurement when reporting quantities.

Third Grade Shapes Up! Grade Level: Third Grade Written by: Jill Pisman, St. Mary s School East Moline, Illinois Length of Unit: Eight Lessons

Microsoft Excel 2010 Charts and Graphs

S on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P =

Problem of the Month: Cutting a Cube

A NOTE ON OFF-DIAGONAL SMALL ON-LINE RAMSEY NUMBERS FOR PATHS

Algebra II A Final Exam

Activity Set 4. Trainer Guide

Mathematical goals. Starting points. Materials required. Time needed

Lesson 11: Volume with Fractional Edge Lengths and Unit Cubes

arxiv: v1 [math.co] 7 Mar 2012

Wednesday 15 January 2014 Morning Time: 2 hours

called and explain why it cannot be factored with algebra tiles? and explain why it cannot be factored with algebra tiles?

A Quick Algebra Review

Algebra of the 2x2x2 Rubik s Cube

MATHS LEVEL DESCRIPTORS

1. Write the number of the left-hand item next to the item on the right that corresponds to it.

Unit 8 Angles, 2D and 3D shapes, perimeter and area

The Basics of FEA Procedure

Year 9 mathematics test

13. Write the decimal approximation of 9,000,001 9,000,000, rounded to three significant

3. Eulerian and Hamiltonian Graphs

Lateral and Surface Area of Right Prisms

Math Content by Strand 1

Volume of Pyramids and Cones

Logo Symmetry Learning Task. Unit 5

Investigating Relationships of Area and Perimeter in Similar Polygons

Chapter 8 Geometry We will discuss following concepts in this chapter.

CBA Fractions Student Sheet 1

Mathematical Induction

Mental Questions. Day What number is five cubed? 2. A circle has radius r. What is the formula for the area of the circle?

Which two rectangles fit together, without overlapping, to make a square?

Teaching and Learning 3-D Geometry

Math 475, Problem Set #13: Answers. A. A baton is divided into five cylindrical bands of equal length, as shown (crudely) below.

Session 6 Number Theory

CBA Volume: Student Sheet 1

Permutation Groups. Tom Davis April 2, 2003

Worksheet A2 : Fundamental Counting Principle, Factorials, Permutations Intro

Transcription:

16 The Tantalizing Four Cubes Author: William C. Arlinghaus, Department of Mathematics and Computer Science, Lawrence Technological University. Prerequisites: The prerequisites for this chapter are the basics of counting and graphs. See Sections 5.1, 9.1, and 9.2 of Discrete Mathematics and Its Applications. Introduction The game of the four colored cubes consists of four cubes, each of whose sides is colored with one of four colors. The object of the game is to place the cubes next to each other in such a way that each of the long sides of the rectangular solid obtained has all four colors appearing on it. The game has been in existence since at least the 1940s, when it was sold commercially under the name Tantalizer, and more recently as the popular puzzle Instant Insanity. At the end of this chapter there is a template for a single cube. Readers may wish to copy it to make worksheets for themselves to follow the accompanying text one sheet for each of the four cubes of the game. 288

The Game: Problem and Solution Chapter 16 The Tantalizing Four Cubes 289 For simplicity, we will exhibit each cube unfolded in the fashion of Figure 1. Thus, we want to arrange the cubes so that each of the four colors appears on each of the top, front, bottom, and back sides. The colors appearing on the left and right are not relevant to the solution. Figure 1. 1. Cube top. 2. Cube front. 3. Cube bottom. 4. Cube back. 5. Left side of cube. 6. Right side of cube. For example, if the four colors are red (R), white (W), blue (B), and green (G), four cubes arranged as in Figure 2 would provide a solution to the puzzle. Figure 3 shows the four cubes next to each other, viewed from the front, top, back, and bottom. Figure 2. A solution to the puzzle. Figure 3. Upper left shows front view; upper right shows top view; lower left shows back view; lower right shows bottom view. It should be fairly clear that the difficulty of finding a solution depends greatly on the color pattern on each cube. One extreme case would be to have each cube colored a single different solid color (one each of red, white, blue, green). In this case, it wouldn t matter how the cubes were rotated; every arrangement would be a solution. On the other hand, if all four cubes were colored solid red, no solution would be possible.

290 Applications of Discrete Mathematics Our goal will be to use graph theory to simplify the search for a solution in some general situation and then to use our methods to find solutions in particular cases. But before we do this, it might help us to see how many different ways four cubes can be arranged. This may help us to realize why we need some method of simplifying the problem. Example 1 Find the number of ways to arrange four cubes. Solution: The first fact to note is that there are essentially only three ways to arrange the first cube; that is, choosing the pair of faces which are on the left and right specifies the cube. For once these faces are chosen, the remaining faces may be rotated (with left and right fixed) so that any of them becomes the front. Even reversing left and right makes no difference, since rotating the cube to reverse left and right just reverses front and back, so that the four faces of interest appear in reverse order. Cubes of Figure 2 with left and right faces re- Figure 4. versed. For example, Figure 4 exhibits the same cubes as Figure 2, but with left and right faces reversed. Once the first cube is positioned, however, the second cube may be positioned with respect to it in 24 ways. For the left-right pair may be chosen in 3 ways, either one of the pair may be the left face, and then the cube may be rotated to make any of the four remaining faces the front face. Similarly, each of the third and fourth cubes may be positioned in any of 24 different ways. Thus, the total number of positionings of the four cubes is 3 24 24 24 = 41,472. So, picking an arrangement which is a solution could be quite difficult. But graph theory can be used to make finding a solution easier, by providing an analysis of what a solution looks like. Given a set of four cubes with faces colored red, white, blue, and green, define a graph with four vertices labeled R, W, B, G as follows. If cube i has a pair of opposite faces with colors x and y, draw an edge with label i between x and y. Example 2 Use a graph to solve the puzzle for the cubes of Figure 5.

Chapter 16 The Tantalizing Four Cubes 291 Figure 5. From left to right: cubes1,2,3,4. Solution: The graph of Figure 6 is the graph associated with the cubes of Figure 5. Note that both loops and multiple edges are allowed in this labeled graph. Figure 6. Graph associated with cubes of Figure 5. Now suppose that there is a solution of the puzzle with the cubes of Figure 5. Since the set of top and bottom faces must each have all four colors represented, the graph can be used to trace the colors on both faces simultaneously. Consider, for instance, the subgraph of Figure 6 shown in Figure 7. Figure 7. Subgraph for top and bottom faces. This subgraph can be used to place the top and bottom faces. Since cube 1 has a pair of opposite faces labeled R-W, place cube 1 with red as the top face and white as the bottom face. Now cube 2 has a W-G pair, so place cube 2

292 Applications of Discrete Mathematics with white as the top face and green as the bottom face. Continue as the graph indicates, placing the top and bottom faces of cubes 3 and 4. At this point, the cubes appear as in Figure 8. Figure 8. Top and bottom faces. The key facts about the subgraph of Figure 7 that made this work were that there were four edges, one with each of the labels 1,2,3,4, and that each vertex had degree 2, so that each color was represented exactly twice. Now the task is to rotate the remaining four faces of each cube to obtain a solution. This will be possible if there is another subgraph of the graph of Figure 6, like that of Figure 7 but with four different edges, since each edge represents a different pair of opposite faces, and the ones of Figure 7 have already been used. Such a subgraph is illustrated in Figure 9. Figure 9. Subgraph for front and back faces. Using this subgraph to place the front and back faces of the cubes, the following solution to the problem of Figure 5 is obtained, in Figure 10. Figure 10. Solution for cubes of Figure 5. Note that, in this example, the positioning of the B-G pair in cube 1 was followed by the G-R pair in cube 4 since the label of the other edge incident with G was 4. Then the R-W pair of cube 2 was positioned, and finally the

Chapter 16 The Tantalizing Four Cubes 293 W-B pair of cube 3 was placed. All of these positions were obtained by rotating the cubes with the top and bottom fixed. The colors on the left and right end up wherever this rotation takes them, although of course what colors are there doesn t affect the solution. The end result of this construction is the following theorem. Theorem 1 A set of colored cubes has a solution if and only if its corresponding labeled graph has two disjoint subgraphs, each of which has every vertex of degree two and every label appearing exactly once. Several things should be noted about this theorem. First, if a loop is used in the subgraph, it contributes two to the degree of its vertex. For instance, subgraphs such as the ones of Figure 11 are acceptable subgraphs. Figure 11. Acceptable subgraphs. Second, there may be many such subgraphs available. What is necessary is to find two subgraphs of the proper type with no edges in common. There may be no such pair of subgraphs; there may be a unique pair of acceptable subgraphs, as in the problem of Figure 5; or there may be many possible subgraphs, as shown in the following example. Example 3 Solve the problem of the cubes in Figure 12. Figure 12. From left to right: cubes1,2,3,4. Solution: The graph for these cubes is shown in Figure 13. There are six allowable subgraphs, shown in Figure 14.

294 Applications of Discrete Mathematics Figure 13. The underlying graph for Figure 12. Figure 14. Six acceptable subgraphs. Top row: left to right, A, B, C; bottom row: left to right, D, E, F. Although Figure 14 exhibits six subgraphs of the type required by Theorem 1, there are only three pairs with distinct edges. They are AB, BC, and DE. Note that F cannot be paired with any other acceptable subgraph, so it is not of use in any solution. The three different solutions are exhibited in Figure 15 (the first subgraph of each pair is used for top and bottom). Games are, of course, fun. How much fun they are depends on how successful the player is; knowledge is directly linked to success in games of skill. At a deeper level, games can help to train thought processes. Consider how this game might be like others. This is a combinatorial game; what is required is to position cubes in relation to each other according to some predetermined

Chapter 16 The Tantalizing Four Cubes 295 Figure 15. First row: AB solution. Second row: BC solution. Third row: DE solution. color scheme. Is any other game like this? Yes, Rubik s Magic Cube is, but this puzzle is much more complicated, as a combinatorial problem (see [3]). Then again, why confine the problem to cubical shapes. Might one construct puzzles with rules similar to those for the four colored cubes for prisms with a polygonal base and top other than a square? Learning to think creatively about puzzles, when translated to thinking creatively about mathematics (and other subjects), can reap rewards far beyond what might be expected! Suggested Readings 1. R. Busacker and T. Saaty, Finite Graphs and Networks, McGraw-Hill, New York, 1965. 2. G. Chartrand, Graphs as Mathematical Models, PWS, Boston, 1977. 3. D. Singmaster, Notes on Rubik s Magic Cube, Enslow Publishers, Hillside, N. J., 1981. 4. J. Van Deventer, Graph theory and Instant Insanity, in The Many Facets of Graph Theory, G. Chartrand and S. Kapoor, eds., Springer- Verlag, Berlin, 1969.

296 Applications of Discrete Mathematics Exercises 1. Solve the following puzzle. 2. Solve the following puzzle. 3. Find another solution to the puzzle for the previous exercise. 4. Solve the puzzle whose underlying graph is shown in the following figure. 5. Construct a puzzle in which each color appears on at least four faces, but for which there is no solution. 6. Construct a puzzle in which each color appears on each cube, but for which there is no solution. 7. Construct a puzzle in which each color appears exactly six times and on each cube, but for which there is no solution. 8. Construct a puzzle with exactly two solutions.

9. How should the theorem be rephrased if a) there are 3 cubes and 3 colors; b) there are 3 cubes and 4 colors; c) there are 5 cubes and 5 colors. What kind of graphs would give solutions? Chapter 16 The Tantalizing Four Cubes 297 Computer Projects 1. Write a program that takes as input the pattern of colors on a set of four colored cubes and finds all solutions (if there are any).

298 Applications of Discrete Mathematics