Place $8$ pairwise non-attacking white rooks and black rooks on a $8\times8$ chess board. If one can swap rows and columns, is it possible for the black rooks to take the initial position of the white rooks and vice versa?
My attempt:
Let the rows be $a_1,a_2,...,a_8$ and columns $b_1,b_2,...,b_8$. If there are white rooks at ($a_i$,$b_j$) and ($a_j$,$b_a$) as well as black rooks at ($a_i$,$b_i$) and ($a_j$,$b_j$), then we can reduce it to a $2\times2$ and a $6\times6$.
I don't know what to do next. Any help appreciated.
Imagine you have two chessboards - one with the initial position and one with the final position (the one you wish to achieve). Assume that you perform the same row and column swaps on both boards. If, after some time, you are able to reach a position where:
then the answer would be yes, since you can just swap the rows that make up the square followed by the columns that make up the square in the first board, and you arrive at the position on the second board.