Let be an board, with each square coloured black or white as before. We then write for the board with the colours exchanged, so the white squares for are the black squares for and vice-versa. We call the complement of .
and could be as follows.
As before, we write for the number of ways of placing non-challenging rooks on , or equivalently the numbers of partial matchings of size for the corresponding matching problem. Similarly, we write for the number of ways of placing non-challenging rooks on . We are particularly interested in , which is the number of full matchings for . It turns out that if we know then we can work out :
.
We will prove this after a preliminary result. The Inclusion-Exclusion Principle (from Section 5) will play a central rôle in the proof. We will then use this theorem to solve the snap problem (Problem 7.15) and the ménage problem (Problem 7.16).
Theorem 10.3 covers only the case of a square board of size , and gives only the top coefficient in the rook polynomial of the complementary board. However, the statement can be generalised as follows: if is part of an board, and then
The proof is quite similar to that of Theorem 10.3, with only a few additional complications; we leave it to the reader to work out the details.
We write for the set of ways of placing non-challenging rooks on the full board (so by Proposition 7.11). Now let be a position on the board. We define to be the set of rook placements that include a rook at . More generally, given a set of board positions, we put
Consider a set as above.
If there is a row containing two of the positions , or a column containing two of the positions , then and so .
Otherwise, we have .
Suppose that some row contains both and (with ). Then if we place two rooks at and , then they will challenge each other, so the placement does not count as an element of . This means that it is impossible to have any elements of , so and .
The same applies if some column contains both and with .
Suppose instead that the are all in different rows, say , and also in different columns, say . Let be the set of rows other than , so . Let be the set of columns other than , so . To get a full rook placement in we need to place rooks on , then place rooks on the board , which is an board with no black squares. Proposition 7.11 tells us that there are ways to do this, so .
∎
We need to understand the set . Consider a rook placement for the full board, so . We claim that iff . Indeed, we have iff there exists a square such that . However, we have iff the placement has a rook at . Here is a white square of so it is a black square of , so if the placement has a rook at , then it does not count as a placement on , so . This argument is reversible, so iff . By the contrapositive, we have iff , or in other words . The negative form of the IEP now tells us that
If is not a non-challenging rook placement on , then by Lemma 10.6(a), so we can ignore these terms. On the other hand, if is a placement of non-challenging rooks on , then by Lemma 10.6(a). The number of terms of this type is , so the sum of all terms of this type is . Putting this together, we get as claimed. ∎
We can apply Theorem 10.3 to and note that ; this gives
As a trivial example, we have . However, all squares in are black, so we cannot place any rooks there, so for . On the other hand, we always have , so our equation becomes
and we knew this already from Proposition 7.10.
The board consists of white squares in an board arranged in a zigzag pattern as illustrated on the left below. (To see that there are white squares, note that there are rows, and each row contains two white squares, except for the first row, which contains only one white square.) We also consider the board , which has an extra white square at the top right, making white squares in total.
We call a board of type a staircase.
For we have . We also have
By inspection, two rooks on the staircase challenge each other iff they are adjacent. Thus, the allowable rook placements are just subsets of the staircase that have no adjacent elements; in other words, they must be gappy, as in Definition 1.21. Thus, is the number of gappy subsets of size in the staircase. Proposition 1.23 therefore gives , where is the number of cells in the staircase. This is just , so we get .
Now consider . Blocking the top right square gives , and stripping it gives a reflected copy of . Thus, Theorem 8.1 gives , which is by the previous paragraph. ∎
We can now complete our analysis of the ménage problem.
Using Proposition 10.11, we see that the rook polynomial coefficients of are as follows:
Now note that the board considered in Problem 7.16 is just the complement of . It follows that
Thus, there are precisely full matchings for . As explained in Problem 7.16, it follows that there are ways to solve the seating problem described there.
We can also now complete our analysis of the snap problem.
Let denote the board shown in Problem 7.15, which is a board with four black blocks of size on the diagonal. This means that consists of four fully disjoint copies of . Proposition 7.11) tells us that
Moreover, we can use Theorem 8.7 to show that
It would be a lot of work to expand this by hand, but it can easily be done with a computer. If , we then find that . Using a computer again, we find that . This is the number of possible games with no snap. On the other hand, the total number of possible games is . Thus, the probability of not getting a snap is
In other words, only about one in a hundred games will end without a snap. This was all for the restricted game where we only use aces, kings, queens and jacks. If we want to use the full pack, we need to expand as , and then calculate , which works out to . We then divide by to give a probability of approximately .