The Peaceful Rooks...

How many ways can you arrange 5 identical Rooks on a 6 by 10 Chessboard in such a way that none of the rooks attack each other ?


The answer is 181440.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

8 solutions

Jaiveer Shekhawat
Nov 26, 2014

08 08

Satyen Nabar
Nov 25, 2014

Let us consider 5 different colored Rooks. White, brown, blue, red, green. On a 6 by 10 board, we can place the white rook anywhere so we have 6 x10 choices. This removes a row and a column. So for the brown rook we have 5x 9 choices. For the blue rook we have 4x8 choices and so on. Altogether 5 distinct Rooks can be placed in 21772800 ways.

Now if the rooks are IDENTICAL, there are 5! ways to permute the positions chosen for the 5 Distinct rooks so there are 21772800 / 5! = 181440 ways to place 5 identical rooks on the board ...

I considered them as identical.... hence I missed the 5!

Vipul Ujawane - 6 years, 6 months ago

Log in to reply

Satyen, I believe that the rooks have to be distinct, in order for you to say "now the 5 rooks can be arranged in 5! ways". If so, can you please update the question accordingly?

If not, can you explain why having 5 identical rooks means we still need to permute them?

Calvin Lin Staff - 6 years, 6 months ago

Log in to reply

Dear Calvin let us consider 5 different colored Rooks. White, brown, blue, red green. On a 6 by 10 board, we can place the white rook anywhere so we have 6 x10 choices. This removes a row and a column. So for the brown rook we have 5x 9 choices. For the blue rook we have 4x8 choices and so on. Altogether 5 distinct Rooks can be placed in 21772800 ways.

Now if the rooks are IDENTICAL, there are 5! ways to permute the positions chosen for the 5 Distinct rooks so there are 21772800 / 5! = 181440 ways to place 5 identical rooks on the board ...

Satyen Nabar - 6 years, 6 months ago

Log in to reply

@Satyen Nabar Right, this explanation makes it much clearer what you are doing, and why it is that the rooks are identical.

In your original solution, you are saying:
1) Choose a set of 5 rows.
2) Choose a set of 5 columns.
3) Permute the 5 identical rooks.
It is with step 3 that people are having difficulty understanding why this should be done. If the rooks are identical, why are there 5 ! 5! ways of arranging them?



Instead, what it should be is:
1) Choose a set of 5 rows, to place the 5 identical rooks.
2) Choose a permutation of 5 columns, that these rooks should go into.

While the numerical answer is the same, the explanation of the logical process is extremely different. In the first case, it is unclear what you are thinking (and arguably wrong).

Can you update your solution accordingly?

Calvin Lin Staff - 6 years, 6 months ago

Log in to reply

@Calvin Lin Sure i will and thanks for pointing it out ! :)

Satyen Nabar - 6 years, 6 months ago

http://en.wikipedia.org/wiki/Rook_polynomial

Check it here in the section "The Rook Polynomial as a generalization of the rooks problem"

The k rooks can be arranged in k! ways so that they do not attack each other.If the k rooks differ in some way from each other, e.g., they are labelled or numbered, all the results obtained must be multiplied by k!, the number of permutations of k rooks..

Satyen Nabar - 6 years, 6 months ago

Log in to reply

@Satyen Nabar Hi Satyen, still don't understand why we need to multiply 5!. If they are identical, why we need to label them with different numbers? Doesn't labelling mean they are different?

Haofeng Wu - 1 year, 1 month ago
Hamzah Zaman
Dec 1, 2014

6C5 X 10P5

gud approach...

Vighnesh Raut - 6 years, 5 months ago

Absolutely BRILLIANT!!!

Prayas Rautray - 3 years, 10 months ago

Did the same

Vimal Khetan - 1 year, 2 months ago
Saúl Huerta
Jul 27, 2020

The rooks wont attack each other if they are in different rows and columns. First we think of the number of permutations possible in the horizontal axis, which is to arrange them in different columns. The horizontal axis can be either 10 or 6. In the first case, the number of permutations will be ( 10 5 ) 10\choose{5} = 10 ! 5 ! × 5 ! = 252 =\frac{10!}{5!\times5!}=252 . In the second case the number of permutations will be ( 6 5 ) 6\choose{5} = 6 ! 5 ! × 1 ! = 6 =\frac{6!}{5!\times1!}=6 . After that we only need to multiply this number by the number of permutations possible in the vertical axis, which is to arrange them in different rows, whether it is 6 or 10. For this axis the order matters, so for the first case the number of permutations will be 6 ! 6! , and for the second case the number of permutations will be 10 × 9 × 8 × 7 × 6 10\times9\times8\times7\times6 . All in all, both cases yield the same answer: 181 , 440 \boxed{181,440}

Zarif Hossain
Nov 7, 2019

Let's choose 5 rows from 10, 10C5. Then, name them as R1, R2, R3, R4, R5. Now, for column, we have to choose 5 column from 6 and lebel them into R1, R2, R3, R4, R5, this is a case of permutation. That can be done in 6P5 ways. So, total answer 10C5*6P5.

Luca Seemungal
Sep 3, 2016

Let's picture any sized chessboard. Now, place a rook in a corner of the chessboard, and move it around. Notice that the number of cells the rook can attack are the same for a given chessboard, regardless of where the rook is. The rook can attack exactly one row and one column of the chessboard. Now, to make the solution to this problem simpler, we simply apply the above observation. Since each rook when placed "takes out" both its row and its column, the number of rows and columns available decrease by one every time a rook is placed. Tying up these ideas, we now consider the 6-by-10 chessboard. When one rook is placed, the chessboard is decreased to 5-by-9. When another rook is placed (now, two rooks have been placed), the chessboard is now at a size 4-by-8. For each sized chessboard, we have to count how many cells are available to place the next rook - this is obviously just r o w s × c o l u m n s rows \times columns , and then we apply the Rule of Product. In notation, this is as follows: Number of Arrangements = ( 6 × 10 ) × ( 5 × 9 ) × ( 4 × 8 ) × ( 3 × 7 ) × ( 2 × 6 ) (6 \times 10) \times (5 \times 9) \times (4 \times 8) \times (3 \times 7) \times (2 \times 6) = 6 ! 1 ! × 10 ! 5 ! = 10 ! × 6 \frac{6!}{1!} \times \frac{10!}{5!} = 10! \times 6 However, since the rooks are identical, for every one of the arrangements above, the rooks can be rearranged 5 ! 5! times, and so we must divide by this: 10 ! × 6 5 ! = 181440 \frac{10! \times 6}{5!} = 181440 possible arrangements.

Julian Poon
Dec 1, 2014

This is a different method

Imagine a column of 6 6 boxes

The number of ways to arrange them is 6 ! 5 ! = 6 \frac{6!}{5!}=6

Imagine a row of 10 boxes

The number of ways to arrange them is 10 ! 2 ( 5 ! ) \frac{10!}{2(5!)}

Since they cannot be on the same row or column, the number of ways should be 6 ! 5 ! × 10 ! 2 ( 5 ! ) \frac{6!}{5!}\times\frac{10!}{2(5!)} but no. We forgot that we accounted for the 5 ! 5! twice so the answer really is 2 × 6 ! 5 ! × 10 ! ( 5 ! ) = 181440 2 \times \frac{6!}{5!} \times \frac{10!}{(5!)}=\boxed{181440}

I times 2 2 is because it is the probability of the columns and the rows are interchangeable, and 2 ! = 2 2!=2

Happy Melodies
Nov 26, 2014

Refer to this note on Rook Polynomials . Notice that the generalisation for placing k k rooks on an m × n m \times n rectangular chessboard is as follows: r k ( x ) = ( m k ) ( n k ) k ! r_k(x) = \binom{m}{k} \binom{n}{k} \ k!

where r k ( x ) r_k(x) stands for the k th k^{\text{th}} rook coefficient of the rook polynomial or the number of ways to place k k rooks.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...