Nepedia
Back to Discover
Advanced Reader
🔢

Three utilities problem

math Maturity 11-13 Next article →

The three utilities problem is a famous mathematical puzzle involving connections on a surface. The goal is to connect three houses to three different utility companies. These utilities are often called water, gas, and electricity.

3 utilities problem plane
3 utilities problem plane

To complete the task, you must draw nine separate lines. Each house must have a connection to every single utility. There is one strict rule for this puzzle. None of the nine lines are allowed to cross one another. This must be done on a flat, two-dimensional surface like a sheet of paper.

In the field of topological graph theory, this is a formal problem. Mathematicians describe it using a specific structure called a complete bipartite graph, known as K3,3. This graph has six vertices, which are the points representing houses and utilities. The nine lines are called edges. A graph is called planar if it can be drawn on a plane without any edges crossing. The three utilities problem asks if K3,3 is a planar graph. The answer is no, because K3,3 is a non-planar graph.

K33 one crossing
K33 one crossing

There are several ways to prove why this puzzle is impossible. One method uses a case analysis involving the Jordan curve theorem. This theorem describes how a closed loop divides a plane into an inside and an outside. Another method uses the Euler formula to check the math of the shapes. The Euler formula relates the number of vertices, edges, and faces in a planar graph. For a bipartite graph like this one, the number of faces must follow a specific rule. In the utility graph, the math fails to satisfy this inequality. Therefore, the graph cannot be drawn without at least one crossing.

3 utilities problem proof
3 utilities problem proof

History shows that this puzzle has been around for a very long time. Henry Dudeney published the puzzle in 1913 in The Strand Magazine. He claimed the problem was "as old as the hills." He believed it existed long before electric lighting or gas services. Another puzzle maker, Sam Loyd, may have published it as early as 1900. Some early versions of the problem used three houses and three wells. Others used three houses and three fountains. These older versions often had different rules about where the connections could go.

This specific graph structure also appears in the history of chemistry. In 1886, a chemist named Julius Thomsen used it to study benzene. Because of his research, the utility graph is sometimes called the Thomsen graph. Beyond chemistry, the graph is important in rigidity theory. It is a Laman graph, which is a type of graph used to study structural stability. Specifically, it is the smallest example of a non-planar Laman graph. This means its vertices cannot be moved easily without changing the lengths of the edges.

The utility graph has many unique mathematical properties. It is a cubic graph, meaning every vertex has exactly three neighbors. It is also a triangle-free graph, meaning it has no three-sided loops. Because of these traits, it is known as a (3,4)-cage. This makes it the smallest graph with three neighbors per vertex and a shortest cycle of four. It is also a well-covered graph. This means every maximal independent set in the graph is the same size. In this case, there are only two such sets, which are the two groups of three vertices.

While the puzzle is impossible on a flat plane, you can solve it by changing the surface. If you draw the connections on a torus, the puzzle becomes solvable. A torus is a surface with a genus of one, shaped like a coffee mug. You can also solve it on a Möbius strip. This is a surface made by twisting a strip of paper and joining the ends.

3 utilities problem plane
3 utilities problem plane

Henry Dudeney also suggested a different solution. He noted that the puzzle could be solved if lines were allowed to pass through the houses. These variations show how the shape of a world changes the rules of math.

665 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:3 utilities problem plane.svg
3 utilities problem plane.svg
File:3_utilities_problem_proof.svg
3_utilities_problem_proof.svg
File:K33 one crossing.svg
K33 one crossing.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.