Solving the 9-Piece Animal Puzzle

  • Thread starter Thread starter adoado
  • Start date Start date
  • Tags Tags
    Animal Puzzle
AI Thread Summary
The discussion revolves around a 9-piece animal puzzle that forms a 3x3 square, where each piece has half an animal on its edges. The challenge is to rotate and arrange the pieces so that adjacent edges match correctly. A mathematical representation of the problem is proposed, using a 3x3 matrix to denote the pieces and their rotations. The total number of possible arrangements is calculated to be 95,126,814,720, highlighting the improbability of solving it by chance. The conversation emphasizes the complexity and statistical challenges involved in solving the puzzle.
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.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...

Similar threads

Replies
1
Views
1K
Replies
8
Views
4K
2
Replies
83
Views
21K
Replies
116
Views
17K
Replies
46
Views
22K
2
Replies
67
Views
14K
Back
Top