The rook polynomial is the generating function for the numbers of arrangement of non-attacking rooks on a board . For those who are new to chess, rooks are chess piece that move and attack horizontally and vertically. Hence, for rooks to be non-attacking to each other, they must not be placed on the same row or column of the board.
In general, the rook polynomial of a board (denoted as ) is where, is the number of ways to arrange non-attacking rooks on board . For example since there are way (coefficient of ) to place non-attacking rook and way (coefficient of ) to place non-attacking rook.
So, how do we deduce a generalization for the rook's polynomial for -dimensional board ?
Letting we get
The above can be derived by first choosing rows out of the board's rows; then permutating the out of the columns (denoted by ). Recall that refers to the numbers of non-attacking rooks placed on the board.
One way we can apply the rook's polynomial to combinatorics question is by labelling values/variables to the rows and columns of the board.
David, Mark, Jerry and Kai joined a card game club. They are required to choose 1 out of the 5 card games available in the club ---- namely, Monopoly Deal, Poker, Blackjacks, Uno and Cheat. How many ways are there for each of David, Mark, Jerry and Kai to choose a different card game from each other?
Label the rows of board with the names (David, Mark, Jerry and Kai), and the columns with the card games (Monopoly Deal, Poker, Blackjacks, Uno and Cheat). Since each of the members must choose only card game and each card game can only be chosen by at most member, we can use the rook polynomial to find the ways to arrange non-attacking rooks on board . The answer to the question is hence
One day, a particular family went to a restaurant to have their Christmas dinner. This family has children, Adam, Ben, Carrie and David who are choosy over their food. Luckily, the restaurant provides set meals specifically made for choosy children, namely, Chicken Burger, Vegetable Frenzy, Spicy Gala and Steak.
Adam doesn't eat chicken and vegetable; Ben doesn't eat spicy food; Carrie doesn't eat chicken; and David doesn't eat beef. In how many ways can Mum order for a different set meal for each of the children such that all end up satisfied? (The children don't want to be called "copycats" so they all want different set meals from each other.)