We will now introduce two results that allow us to calculate the rook polynomial of a board in terms of rook polynomials of smaller or simpler boards.
Let be an board, in which some squares may be blocked off. Let be an unblocked square. Let be the same as , except that is blocked off. Let be the same as , except that ’s row and column are removed. Then for we have , and so
The constant term on both sides is equal to one. Consider instead the coefficients of , where . The coefficient in is , which is the number of ways of placing non-challenging rooks on . We can write this as , where is the number of placements that do not have a rook at , and is the number of placements that do have a rook at . To place rooks on without using is the same as to place rooks on , so . To place rooks on including is the same as to place a rook at , and then place more rooks on , avoiding ’s row and column. This in turn is the same as placing rooks on , so we have . Note also that is the coefficient of in , which is the same as the coefficient of in . The equation now tells us that , or that the coefficients of are the same in and . As this works for all , we have as claimed. ∎
We say that is the result of blocking , and that is the result of stripping .
Boards , and could be as follows:
As all squares in are white, Proposition 7.11 gives
Next, in the middle row is fully blacked out, and it is easy to see that this makes it irrelevant, so is equivalent to a board in which all squares are white. We can therefore use Proposition 7.11 again to get
The theorem now gives
It is interesting to see how Theorem 8.1 works out in some trivial cases. First consider the linear board from Example 7.5, so just consists of blank squares in a row. Blocking any square gives , and stripping any square gives the empty board, so Theorem 8.1 gives . Even for the empty board, there is a unique way of placing no rooks, so we have , so . From this it follows inductively that (which is already obvious from the definitions, as we remarked in Example 7.5.)
Let be an board with some squares blocked off, as before. Suppose that the set of unblocked squares has been split into two parts and , so that and . We say that and are fully disjoint if
There is no row that contains a square from and also a square from ; and
There is no column that contains a square from and also a square from .
Consider the board as shown on the left below.
We can divide into disjoint subboards and , as shown by the second picture. Note that:
Rows and contain only ’s, whereas rows and contain only ’s.
Columns and contain only ’s, whereas columns and contain only ’s.
This shows that and are fully disjoint.
Let be an board with some squares blocked off, as before. Suppose that can be split into two subboards and , which are fully disjoint. Note that and can be regarded as boards in their own right, so they have rook polynomials and . Then
(We call this method factoring.)
To place rooks in , we first need to decide how many of them will be in , and how many in . If we place rooks in , then there will be in . There are ways of placing non-challenging rooks in , and ways of placing non-challenging rooks in . Moreover, the rooks in cannot challenge those in or vice-versa, because of conditions (b) and (c) in the theorem. Thus, we can put the two sets of rooks together, and we always have a set of non-challenging rooks in . From this we see that there are ways of placing non-challenging rooks in , with precisely of them in . By considering all possible values of , we get . This in turn gives
∎
Consider the following table, in which all the entries are in the range 1-5:
You can check that there are no repeats in any row or column. How many ways are there of adding a fourth row, so that there are still no repeats in any row or column?
We start by extending the table a little:
We want to add new row, in such a way that there are no repeats in any row or column. Column already contains , and , so the new entry cannot be any of those, so it must be in the set . Column already contains , and , so the new entry cannot be any of those, so it must be in the set . In the same way, we see that the new entries in columns , and must be taken from the sets , and , as indicated in the diagram. This gives us a matching problem, with chessboard diagram as shown on the left below. Adding a new row is equivalent to solving the rook problem for this board. For example, one possible solution is to place rooks at , as shown in the middle picture. This indicates that we can legitimately add a new row to our table, with column containing , column containing , column containing , column containing and column containing . The result is shown in the right-hand picture.
We want to find the number of ways to add a new row, which is the same as the number of ways of placing non-challenging rooks on the board, which is the coefficient of in the rook polynomial. As an illustration of the relevant methods, we will in fact calculate the full rook polynomial, by repeatedly using Theorems 8.1 and 8.7.
The following picture shows boards . We write for the rook polynomial of board . Our problem is to calculate .
By inspection, we have
Now consider board . We have divided the empty cells into two groups, marked and respectively. There is no row that contains both and , and there is no column that contains both and , so and are fully disjoint. Thus, Theorem 8.7 is applicable, and we get . We can also factor boards , and in a similar way. We find that
Now consider board , in which we have marked one square with a red dot. Blocking that square gives , and stripping it gives . Theorem 8.1 therefore tells us that . We can also block and strip the marked square in to get and , or we can block and strip the marked square in to get and . We therefore have
(If we wanted to save writing, it would not be hard to do this calculation without explicitly drawing any of the boards to the right of the dotted line.) In particular, the number of ways of adding an admissible row to our original table is the number of ways of placing non-challenging rooks on , which is the coefficient of in , which is . In fact, the two possible rook placements are and , so the two possibilities for the extra row are and .
Calculate the full rook polynomial for the board in Problem 7.14.
We use the same method as in the previous example, but written in a slightly more efficient way.
We have boards . However, and have not been drawn separately, they are just marked as subsets of . Similarly, and are just marked as subsets of , and and are subsets of . By inspection, we have
We next want to use the factoring theorem (Theorem 8.7) to calculate , and . For that result to be applicable, we must check that the relevant subboards are fully disjoint. This is equivalent to the following claim: in boards , and , any two squares in the same row have the same number, and any two squares in the same column have the same number. This is clear by inspection. We therefore have
Next, blocking and stripping the marked square in gives and . Similarly, gives and , and gives and . We therefore have
In particular, the number of ways of allocating the jobs in Problem 7.14 is the same as the number of ways of placing non-challenging rooks on , which is the coefficient of in , which is . This is the same answer as we found previously in Problem 7.14.