Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Pre-University Math Help > Other topics
Reply
 
Thread Tools Display Modes
  #1  
Old October 30th, 2009, 10:36 AM
Newbie
 
Join Date: Sep 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
theNoodler is on a distinguished road
Default nxn grid problem.

Hello.

I asked about this a while ago, but I'm still unsure. Imagine you have a nxn grid (3x3 for argument). I want to know how I can work out the total number of patterns I can make with 2 colours, say black and white. An example would be:

x = black o = white

ooo xoo xxo
ooo ooo oxx
ooo ooo oxo

So, pattern one is all white, patter two has one bit black etc. I was told for this it would be 2 to the 9th, giving me 512, which can't be correct! Is it 9 squared, giving me 81? What if I had a 6x8 grid, or 17x31 grid?

I did try to host a nicer picture than my x and o, but sadly I can't get imageshack to work.

Many thanks.

N.
Reply With Quote
Advertisement
 
  #2  
Old October 30th, 2009, 11:18 AM
Super Member
 
Join Date: Dec 2008
Location: Scotland
Posts: 863
Country:
Thanks: 6
Thanked 341 Times in 319 Posts
Mush is a jewel in the roughMush is a jewel in the roughMush is a jewel in the roughMush is a jewel in the rough
Default

Quote:
Originally Posted by theNoodler View Post
Hello.

I asked about this a while ago, but I'm still unsure. Imagine you have a nxn grid (3x3 for argument). I want to know how I can work out the total number of patterns I can make with 2 colours, say black and white. An example would be:

x = black o = white

ooo xoo xxo
ooo ooo oxx
ooo ooo oxo

So, pattern one is all white, patter two has one bit black etc. I was told for this it would be 2 to the 9th, giving me 512, which can't be correct! Is it 9 squared, giving me 81? What if I had a 6x8 grid, or 17x31 grid?

I did try to host a nicer picture than my x and o, but sadly I can't get imageshack to work.

Many thanks.

N.
An n x n grid with m possible colours has m^{n \times n} possible combinations.
Reply With Quote
  #3  
Old October 30th, 2009, 11:36 AM
MHF Contributor

 
Join Date: Aug 2006
Posts: 6,718
Thanks: 69
Thanked 2,485 Times in 2,279 Posts
Plato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond reputePlato has a reputation beyond repute
Default

Quote:
Originally Posted by theNoodler View Post
Imagine you have a nxn grid (3x3 for argument). I want to know how I can work out the total number of patterns I can make with 2 colours, say black and white. An example would be:
So, pattern one is all white, patter two has one bit black etc. I was told for this it would be 2 to the 9th, giving me 512, which can't be correct!
But that is correct.
Look at that attached graph. There are two 3\times 3 grids.
Are they different colorings?

Maybe not. Rotate I 90^o counter-clockwise. We get II.
Now are they different?

If I & II are different then there are 2^9=512 possible colorings.

If I & II are not different then you must tell us why?
Attached Thumbnails
nxn-grid-problem-untitled.gif  
Reply With Quote
  #4  
Old October 30th, 2009, 11:42 AM
Super Member

 
Join Date: May 2006
Location: Lexington, MA (USA)
Posts: 7,282
Thanks: 555
Thanked 4,645 Times in 3,708 Posts
Soroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond repute
Default

Hello, theNoodler!

Quote:
Imagine you have a n\times n grid (3x3 for argument).
How can I work out the total number of patterns made with 2 colours, say black and white.

An example would be: \begin{array}{c}X \,=\, \text{black} \\ O \,=\,\text{white}\end{array}

. . \begin{array}{c}OOO\\OOO\\OOO\end{array} \qquad \begin{array}{c} XOO\\ OOO\\OOO \end{array} \qquad \begin{array}{c}XXO\\OXX \\ OXO \end{array}\qquad \hdots\text{ etc.}

I was told for this it would be 2^9 \,=\,512, which can't be correct!
. . Why not?

For each of the 9 cells, you have two choices: place a Black or place a White.

So you have 9 decisions with 2 options each.
. . There will be: .2^9 \,=\,512 possible choices you can make.



Quote:
What if I had a 6x8 grid grid?

You have 48 cells to fill with 2 options each.

There will be: .2^{48} possible choices.

Reply With Quote
  #5  
Old October 31st, 2009, 09:00 AM
Newbie
 
Join Date: Sep 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
theNoodler is on a distinguished road
Default

Hello.

Thanks for the help. I guess it just doesn't look like there could be that many combinations. So for a 6x8 grid, there would be 281,474,976,710,656 combinations. That's just nuts.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 05:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.