Placing 8 rooks onto a 8x8 chess board so no two share same row or column

In summary: If all of the rooks are placed on black squares, then the answer would be 576. If all of the rooks are placed on white squares, then the answer would be 1625702400.
  • #1
nowimpsbball
15
0

Homework Statement


In how many ways can eight identical rooks be placed on an ordinary 8x8 chessboard so that no two are in the same row or column? In how many ways, if each rook has a different color?



Homework Equations


I looked at the equation n choose k (nck), but I don't know if that would work


The Attempt at a Solution


I know each time you place a rook that the number of spaces to put the next rook goes down to the next perfect square...
(Choice, Available Places to put rook)
(1,64)
(2,49)
(3,36)
(4,25)
(5,16)
(6,9)
(7,4)
(8,1)

I thought it might be 64*49*36*...*1, but that seems like that would be too large a number over 1.625 billion...my intuition says that is way too big.

Any hints, tips, suggestions, answers for this problem? Am I thinking about it the right way? Thanks
 
Physics news on Phys.org
  • #2
I believe that is correct if all of the rooks have different colors (and there are 8 colors). So they are distinguishable. What if they aren't? How many ways to assign 8 colors to 8 rooks in a given position?
 
  • #3
From the question, since the Rooks are identical, I think we can assume that, in a given arrangement, even if we swap two Rooks, it wouldn't make a "new" arrangement.

Your answer "1625702400" is right if all the Rooks are distinguishable. So I'll give you a small exercise, and this would be for the first part, i.e. no Rooks are distinguishable (i.e. identical).

Consider a 4x4 square, where you have to arrange 2 Rooks, and then use the same logic you used, i.e. the first rook can be assigned any four squares, but the second only 1. Can you now draw these combinations? What does that tell you? Does things change if rooks are identical, i.e. "swapping" of rook doesn't matter?

So you have to do something with 1625702400, to give you the first part of your question. 1625702400 is a good answer for the second, I believe.
 
  • #4
Is there an echo in here? Why are you reiterating the same thing I just said?
 
  • #5
So i should divide the first answer by 8, cool, thanks.
 
  • #6
nowimpsbball said:
So i should divide the first answer by 8, cool, thanks.

NO! Divide by 8!. Why?
 
  • #7
Dick said:
NO! Divide by 8!. Why?

oh duh, because there are 8 different possibilities for each spot so 8!
 
  • #8
If it were 8 possibilities for each of 8 spots, that would be 8^8. You aren't giving me a lot of confidence here...
 
  • #9
what if the rooks were to be placed on only black squares?
would that give 576*(8)! ?
 

1. How many different ways can 8 rooks be placed on an 8x8 chess board without sharing the same row or column?

There are 40,320 different ways to place 8 rooks on an 8x8 chess board without sharing the same row or column.

2. What is the mathematical concept behind this problem?

The mathematical concept behind this problem is known as combinatorics, specifically the concept of permutations.

3. Can this problem be solved using a formula?

Yes, this problem can be solved using the formula n!/(n-r)!, where n is the total number of objects and r is the number of objects being selected at a time. In this case, n=8 and r=8, so the formula becomes 8!/(8-8)!=8!/0!=8!/1=8*7*6*5*4*3*2*1=40,320.

4. Are there any practical applications of this problem?

Yes, this problem has practical applications in computer science, specifically in the creation of algorithms for optimizing the placement of objects in a grid or matrix.

5. Is there a more efficient way to solve this problem?

Yes, this problem can be solved using a recursive algorithm that uses backtracking to optimize the placement of the rooks. This algorithm has a time complexity of O(n!), making it more efficient than the formula method for larger values of n.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
6K
  • Precalculus Mathematics Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
4K
  • Introductory Physics Homework Help
Replies
3
Views
12K
Back
Top