I have read some of the discussions about the topic but while I understand that a grid $n$ x $m$ with $n$ or $m$ even ($n,m>1$) has always an hamiltonian cycle I don't get the reasoning behind the checker colouring argument to prove the non-existence of a cycle when $m$ and $n$ are odd. Can someone better clarify the argument?
2026-03-26 09:42:26.1774518146
Why there's no hamiltonian cycle for a grid where $m$ and $n$ are odd?
1.1k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in GRAPH-THEORY
- characterisation of $2$-connected graphs with no even cycles
- Explanation for the static degree sort algorithm of Deo et al.
- A certain partition of 28
- decomposing a graph in connected components
- Is it true that if a graph is bipartite iff it is class 1 (edge-coloring)?
- Fake induction, can't find flaw, every graph with zero edges is connected
- Triangle-free graph where every pair of nonadjacent vertices has exactly two common neighbors
- Inequality on degrees implies perfect matching
- Proving that no two teams in a tournament win same number of games
- Proving that we can divide a graph to two graphs which induced subgraph is connected on vertices of each one
Related Questions in HAMILTONIAN-PATH
- constraints to the hamiltonian path: can one tell if a path is hamiltonian by looking at it?
- Most efficient way to detect if a series of n edges creates a cycle of size n.
- Is it true that every graph with $n$ vertices in which $\delta(G)\geq\frac{n}{2}-1$ has Hamiltionian path?
- Prove that if a graph $G$ has a Hamilton path then for every $S \subseteq V(G)$ the number of components of $G - S$ is at most $|S| + 1$
- Using Ore's theorem to show the graph contains a Hamilton cycle
- Graph Theory: Hamilton Cycle Definition Clarification
- Does this graph have a Hamiltonian cycle?
- Show the NP completeness of Hamiltonian Path with the knowledge of an directed Euler graph
- Finding Hamiltonian cycle for $N\times M$ grid where $N$ is even
- Graph Theory - Hamiltonian Cycle, Eulerian Trail and Eulerian circuit
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
There actually is a Hamiltonian path; there just isn’t a Hamiltonian circuit. (E.g., one can start at the upper left corner, go across the top row from left to right, then back from right to left across the second row, and so on, ending up at the lower righthand corner.)
When the vertices are colored alternately black and white in checkerboard style, every move from one vertex to an adjacent vertex is a move either from a white vertex to a black one or from a black vertex to a white one. In other words, every time you move, you change the color of the vertex on which you’re standing.
Say that you start on a white vertex. Your first move takes you to a black vertex; your second move takes you to a white vertex; your third move takes you to a black vertex; and so on. This means that after an odd number of moves you’re at a black vertex, and after an even number of moves you’re at a white vertex.
Suppose that you’ve made a Hamiltonian circuit. It takes you back to your original vertex, so at the end of it you’re on a white vertex. That means that you must have made an even number of moves, as an odd number of moves would have put you on a black vertex. Let’s number the vertices in the order in which you reached them. We’ll take $v_0$ as the white vertex at which you started; then $v_1$ is the black vertex that you reached on your first move, $v_2$ is the white vertex that you reached on your second move, $v_3$ is the black vertex that you reached at the end of your third move, and so on. Note that $v_i$ is always black when $i$ is odd and white when $i$ is even. If your circuit took $k$ moves, so that the last vertex that you reached is $v_k$, then $v_k$ must be your starting vertex: $v_k=v_0$. That’s a white vertex, so $k$ must be an even number.
On the other hand, you must have visited every vertex: the vertices $v_1,v_2,v_3,\ldots,v_k$ must be all of the vertices in the graph, each listed exactly once, since a Hamiltonian circuit cannot repeat any vertex except the starting/ending vertex. Thus, $k$ must be equal to the number of vertices in the graph. But the $m\times n$ grid graph has $mn$ vertices, and if $m$ and $n$ are both odd, so is $mn$, and therefore $k$ must be odd.
This is a contradiction: on the one hand $k$ must be even, and on the other hand it must be odd. This being impossible, we conclude that there simply is no Hamiltonian circuit on the $m\times n$ grid graph when $m$ and $n$ are both odd.