Solving the 9-Piece Animal Puzzle

  • Context: High School 
  • Thread starter Thread starter adoado
  • Start date Start date
  • Tags Tags
    Animal Puzzle
Click For Summary
SUMMARY

The discussion centers on solving a 9-piece animal puzzle that forms a 3x3 square, where each piece has half an animal on each edge. The mathematical representation of the puzzle involves a 3x3 matrix, with integers representing each piece and their rotational states. The total number of possible arrangements is calculated to be 95,126,814,720, indicating a very low probability of randomly solving the puzzle. The conversation highlights the complexity of the puzzle and the need for a systematic approach to find a solution.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with matrix representation
  • Knowledge of rotational transformations
  • Basic probability theory
NEXT STEPS
  • Research combinatorial optimization techniques
  • Learn about matrix operations and transformations
  • Explore algorithms for solving permutation puzzles
  • Study probability calculations in combinatorial contexts
USEFUL FOR

Puzzle enthusiasts, mathematicians, and educators interested in combinatorial problems and their solutions.

adoado
Messages
71
Reaction score
0
Hello all,

Recently while on a 'schoolies' vacation a few friends presented a puzzle of 9 squares pieces that can be arranged into a larger 3x3 square. Each small piece had half an animal on each edge (either the head or tail, of say, a goat for a seahorse). The aim was to rotate each piece correctly so across adjacent edges an appropriate animal formed, and with this constraint arrange them all (validly!) into the 3x3 square...


It took a good 10 minutes before I completed the puzzle, more or less based on luck. It got me wondering - it is definitely a mathematical combination - so is their any way to solve this?

Is there any way of representing such a problem mathematically, whereby one can solve for the order and rotation of each piece?

Cheers,
Adrian ;)
 
Mathematics news on Phys.org
There are many representations possible, such as a 3x3 matrix of two-dimensional elements, the first being dimension being the set of integers 1 through 9 representing each piece, and the second being the set of integers 1 through 4 representing the four rotational possibilities.

You can choose, without loss of generality, that the final solution has rotation 1:
(1,1)(2,1)(3,1)
(4,1)(5,1)(6,1)
(7,1)(8,1)(9,1)
and have 2 mean a piece is rotated clockwise from the ideal position, 3 mean a piece is upside down, and 4 mean a piece is rotated counterclockwise.

Now, if you mix up the pieces and spin them around, any starting position can be represented, such as:

(2,1)(9,2)(4,3)
(7,4)(5,1)(3,2)
(6,3)(1,4)(8,1)
 
adoado said:
It took a good 10 minutes before I completed the puzzle, more or less based on luck.

If luck had something to do with it, it seems to me like quite a bit of a statistical improbability! I am curious, are each of the squares unique? If so, then there being 4 rotations for each of the 9 squares and 9! ways place the squares in the 3x3 grid, there are 49*9! = 95,126,814,720 possible arrangements of the squares :eek:. If there is only one configuration that solves the puzzle then, arranging the squares in a random order gives 1/95,126,814,720 * 100 = 0.00000000105% chance of solving the puzzle for that random configuration.
 
Last edited:
1/95,126,814,720! * 100 should be WAY less than 0.00000000105%. Assuming that's a 95,126,814,720 factorial.
 
Dragonfall said:
1/95,126,814,720! * 100 should be WAY less than 0.00000000105%. Assuming that's a 95,126,814,720 factorial.

Sorry, I accidentally inserted the factorial. I meant just 95,126,814,720. Thank you!
 
I wish we chose a better symbol for factorials. As it is now we can't express shock & awe in math without ambiguity.
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
7K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
8
Views
4K
  • · Replies 46 ·
2
Replies
46
Views
23K
  • · Replies 83 ·
3
Replies
83
Views
22K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 116 ·
4
Replies
116
Views
17K