A proof outline follows:

  • Given: Let each space s be a vertex, and let each valid knight jump be an edge. We want to prove that the graph G representing all legal moves for the knight on a m x n chessboard is bipartite.
  • Consider partitioning the board into white spaces W and black spaces B. We will show G is bipartite with "sides" W and B.
  • A knight on a white space can only jump to a black space, and vice versa.
  • So, a knight on a white space cannot jump to another white space; likewise for black.
  • (This means that for any two vertices in W, there is no edge connecting them; likewise for black.)
  • By definition of a bipartite graph, then, G is bipartite.

-Brian (Thomas34 21:02, 18 November 2008 (UTC))


In similar fashion, each square can be represented by the pair (i,j). Then one set of vertices V1 = {(i,j) | i+j is odd} and another set of vertices V2 = {(i,j) | i+j is even}. By looking at the moves of the knight, one can show that every edge of the graph connects a vertex of V1 to a vertex of V2. --Asuleime 22:47, 19 November 2008 (UTC)

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang