Schwenk's Theorem — Definition & Example
Schwenk's Theorem is a complete rule for deciding whether a knight can visit every square of a rectangular chessboard exactly once and finish one move away from where it started. Only three kinds of boards make this impossible; every other board allows such a closed tour.
Let . The knight's graph has a Hamiltonian cycle (a closed knight's tour) if and only if none of the following holds: (1) and are both odd; (2) ; (3) and . Allen Schwenk proved this in 1991.
Worked Example
Problem: Use Schwenk's Theorem to decide which of these boards have a closed knight's tour: a 5 × 7 board, a 4 × 9 board, and a 3 × 10 board.
Step 1: Test the 5 × 7 board against condition (1). Both dimensions are odd, so the board has an odd number of squares. A knight always moves between squares of opposite color, so the knight's graph is bipartite. Every cycle in a bipartite graph has even length, so a cycle through all 35 squares cannot exist.
Step 2: Test the 4 × 9 board. Here the smaller dimension is , which triggers condition (2). The board fails even though it has an even number of squares.
Step 3: Test the 3 × 10 board. The dimensions are not both odd, and is not in . Since , check condition (3): is not in . No exception applies.
Answer: Only the 3 × 10 board has a closed knight's tour. The 5 × 7 board fails by condition (1), and the 4 × 9 board fails by condition (2).
Why It Matters
Deciding whether a general graph has a Hamiltonian cycle is NP-complete, so no fast method is known. Schwenk's Theorem settles the question completely for one infinite family of graphs. In a college discrete math or graph theory course, the 5 × 7 case shows how a simple bipartite parity argument can rule out a structure without searching for it.
Common Mistakes
Mistake: Applying the theorem to open knight's tours, which do not have to end next to the starting square.
Correction: Schwenk's Theorem covers closed tours only. A 5 × 5 board has no closed tour, yet open tours on it do exist. Check which kind of tour the problem asks for.
