In graph theory, Grinberg's theorem is a necessary condition for a planar graph to contain a Hamiltonian cycle, based on the lengths of its face cycles. The result has been widely used to construct non-Hamiltonian planar graphs with further properties, such as to give new counterexamples to Tait's conjecture (originally disproved by W.T. Tutte in 1946). This theorem was proved by Latvian mathematician Emanuel Grinberg in 1968.
Let G be a finite planar graph with a Hamiltonian cycle C, with a fixed planar embedding. Denote by ƒk and gk the number of k-gonal faces of the embedding that are inside and outside of C, respectively. Then
The proof is an easy consequence of Euler's formula.
A corollary of this theorem is that if a planar graph can be embedded in such a way that all but one face has a number of sides that is 2 mod 3, and the remaining face has a number of sides that is not 2 mod 3, then the graph is not Hamiltonian. For instance, for the graph in the figure, all the bounded faces have 5 or 8 sides, but the unbounded face has 9 sides, so it satisfies this condition and is not Hamiltonian. For any planar graph, the faces whose number of sides is 2 mod 3 contribute 0 mod 3 to the sum in Grinberg's theorem, because of the factor of k − 2 in the sum. However, the other faces contribute a number that nonzero mod 3, regardless of whether they are inside or outside the Hamiltonian cycle. So, when there is only one face that contributes a nonzero amount, it is not possible for the total to be zero and the graph must be non-Hamiltonian.
Grinberg used his theorem to find non-Hamiltonian cubic polyhedral graphs with high cyclic edge connectivity. The cyclic edge connectivity of a graph is the smallest number of edges that may be deleted in such a way that the remaining graph has more than one cyclic component. The 46-vertex Tutte graph, and the smaller cubic non-Hamiltonian polyhedral graphs derived from it, have cyclic edge connectivity three. Grinberg used his theorem to find a non-Hamiltonian cubic polyhedral graph with 44 vertices, 24 faces, and cyclic edge connectivity four, and another example (shown in the figure) with 46 vertices, 25 faces, and cyclic edge connectivity five, the maximum possible cyclic edge connectivity for a cubic planar graph other than K4. In the example shown, all of the bounded faces have either five or eight edges, both of which are numbers that are 2 mod 3, but the unbounded face has nine edges, unequal to 2 mod 3. Therefore, by the corollary to Grinberg's theorem, the graph cannot be Hamiltonian.