Dirac's theorem, proven with a dinner party and a plate of potatoes

Dirac's Theorem at a Dinner Party

Dirac's theorem, proven with a dinner party and a plate of potatoes

Gabriel Dirac's 1952 theorem guarantees a Hamiltonian cycle whenever every vertex in a graph has at least half as many neighbors as there are vertices. The proof becomes intuitive when guests are vertices and friendships are edges: seat everyone at a round table, then repeatedly flip stretches of the seating to close gaps between strangers. A potato-passing argument shows every gap always has a matching crossing, so the flips never stop until each guest sits between two friends.

Give a red potato to each friend of u, and a Yukon Gold to each friend of v. That's at least n potatoes. Then everyone with a red potato passes it one seat clockwise.
  1. SamBam

    > A Hamiltonian cycle is a way to seat everyone at a round table so that each guest sits between two friends.

    My mother, from a very WASPy family, would have hated a Hamiltonian cycle dinner party. She always sat couples and close friends apart, in order to stimulate the conversation. Now that I'm the adult, I don't dictate who sits where, but there is a small, judgy part of me that still cringes a little if a couple insists on sitting together.

    I wonder if there's a similar theorem for an anti-Hamiltonian cycle. One where as few close connections as possible sit together.

    Actually, as a middle school teacher who is always tweaking the seating plan to try and improve classroom management, that's not far from what I already do. (Must be shades of my mother in me.)

  2. jonahx

    This is really nicely done.

    The visualizations make the "flip" part of the argument immediately clear.

    For the potato part, for me, an abstract verbal argument is clearer:

    For any gap (u,v), mark all v neighbors, and all clockwise successors of all u neighbors.

    n marks are now distributed among n-1 vertices (since v can't be marked). By pigeonhole, some vertex has 2 marks.

  3. NooneAtAll5

    I want to say I'm impressed by this blog for making interactive transitions (including 3D ones) without WebGL

More from this day

2026-11-22