HOME

TheInfoList



OR:

The three utilities problem, also known as water, gas and electricity, is a
mathematical puzzle Mathematical puzzles make up an integral part of recreational mathematics. They have specific rules, but they do not usually involve competition between two or more players. Instead, to solve such a puzzle, the solver must find a solution that sati ...
that asks for non-crossing connections to be drawn between three houses and three utility companies on a plane. When posing it in the early 20th century,
Henry Dudeney Henry Ernest Dudeney (10 April 1857 – 23 April 1930) was an English author and mathematician who specialised in logic puzzles and mathematical games. He is known as one of the foremost creators of mathematical puzzles. Early life Dudene ...
wrote that it was already an old problem. It is an impossible puzzle: it is not possible to connect all nine lines without any of them crossing. Versions of the problem on nonplanar surfaces such as a
torus In geometry, a torus (: tori or toruses) is a surface of revolution generated by revolving a circle in three-dimensional space one full revolution about an axis that is coplanarity, coplanar with the circle. The main types of toruses inclu ...
or
Möbius strip In mathematics, a Möbius strip, Möbius band, or Möbius loop is a Surface (topology), surface that can be formed by attaching the ends of a strip of paper together with a half-twist. As a mathematical object, it was discovered by Johann Bened ...
, or that allow connections to pass through other houses or utilities, can be solved. This puzzle can be formalized as a problem in
topological graph theory In mathematics, topological graph theory is a branch of graph theory. It studies the embedding of graphs in surfaces, spatial embeddings of graphs, and graphs as topological spaces. It also studies immersions of graphs. Embedding a graph in ...
by asking whether the
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory ...
K_, with vertices representing the houses and utilities and edges representing their connections, has a
graph embedding In topological graph theory, an embedding (also spelled imbedding) of a graph G on a surface \Sigma is a representation of G on \Sigma in which points of \Sigma are associated with vertices and simple arcs (homeomorphic images of ,1/math>) ...
in the plane. The impossibility of the puzzle corresponds to the fact that K_ is not a
planar graph In graph theory, a planar graph is a graph (discrete mathematics), graph that can be graph embedding, embedded in the plane (geometry), plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. ...
. Multiple proofs of this impossibility are known, and form part of the proof of
Kuratowski's theorem In graph theory, Kuratowski's theorem is a mathematical forbidden graph characterization of planar graphs, named after Kazimierz Kuratowski. It states that a finite graph is planar if and only if it does not contain a Glossary of graph theory#Su ...
characterizing planar graphs by two forbidden subgraphs, one of which The question of minimizing the number of crossings in drawings of complete bipartite graphs is known as Turán's brick factory problem, and for K_ the minimum number of crossings is one. K_ is a graph with six vertices and nine edges, often referred to as the utility graph in reference to the problem. It has also been called the Thomsen graph after 19th-century chemist Julius Thomsen. It is a
well-covered graph In graph theory, a well-covered graph is an undirected graph in which the minimal vertex covers all have the same size. Here, a vertex cover is a set of vertices that touches all edges, and it is minimal element, minimal if removing any vertex fr ...
, the smallest triangle-free
cubic graph In the mathematical field of graph theory, a cubic graph is a graph in which all vertices have degree three. In other words, a cubic graph is a 3-regular graph. Cubic graphs are also called trivalent graphs. A bicubic graph is a cubic bip ...
, and the smallest non-planar minimally rigid graph.


History

A review of the history of the three utilities problem is given by . He states that most published references to the problem characterize it as "very ancient". In the earliest publication found by Kullman, names it "water, gas, and electricity". However, Dudeney states that the problem is "as old as the hills...much older than electric lighting, or even
gas Gas is a state of matter that has neither a fixed volume nor a fixed shape and is a compressible fluid. A ''pure gas'' is made up of individual atoms (e.g. a noble gas like neon) or molecules of either a single type of atom ( elements such as ...
". Dudeney also published the same puzzle previously, in ''
The Strand Magazine ''The Strand Magazine'' was a monthly British magazine founded by George Newnes, composed of short fiction and general interest articles. It was published in the United Kingdom from January 1891 to March 1950, running to 711 issues, though the ...
'' in 1913. A competing claim of priority goes to Sam Loyd, who was quoted by his son in a posthumous biography as having published the problem in 1900. Another early version of the problem involves connecting three houses to three wells. It is stated similarly to a different (and solvable) puzzle that also involves three houses and three fountains, with all three fountains and one house touching a rectangular wall; the puzzle again involves making non-crossing connections, but only between three designated pairs of houses and wells or fountains, as in modern numberlink puzzles. Loyd's puzzle "The Quarrelsome Neighbors" similarly involves connecting three houses to three gates by three non-crossing paths (rather than nine as in the utilities problem); one house and the three gates are on the wall of a rectangular yard, which contains the other two houses within it. As well as in the three utilities problem, the graph K_ appears in late 19th-century and early 20th-century publications both in early studies of
structural rigidity In discrete geometry and mechanics, structural rigidity is a combinatorial theory for predicting the flexibility of ensembles formed by rigid bodies connected by flexible linkages or hinges. Definitions Rigidity is the property of a structu ...
and in
chemical graph theory Chemical graph theory is the topology branch of mathematical chemistry which applies graph theory to mathematical modelling of chemical phenomena. The pioneers of chemical graph theory are Alexandru Balaban, Ante Graovac, Iván Gutman, Haruo ...
, where Julius Thomsen proposed it in 1886 for the then-uncertain structure of
benzene Benzene is an Organic compound, organic chemical compound with the Chemical formula#Molecular formula, molecular formula C6H6. The benzene molecule is composed of six carbon atoms joined in a planar hexagonal Ring (chemistry), ring with one hyd ...
. In honor of Thomsen's work, K_ is sometimes called the Thomsen graph.


Statement

The three utilities problem can be stated as follows: The problem is an abstract mathematical puzzle which imposes constraints that would not exist in a practical engineering situation. Its mathematical formalization is part of the field of
topological graph theory In mathematics, topological graph theory is a branch of graph theory. It studies the embedding of graphs in surfaces, spatial embeddings of graphs, and graphs as topological spaces. It also studies immersions of graphs. Embedding a graph in ...
which studies the
embedding In mathematics, an embedding (or imbedding) is one instance of some mathematical structure contained within another instance, such as a group (mathematics), group that is a subgroup. When some object X is said to be embedded in another object Y ...
of
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discret ...
s on
surface A surface, as the term is most generally used, is the outermost or uppermost layer of a physical object or space. It is the portion or region of the object that can first be perceived by an observer using the senses of sight and touch, and is ...
s. An important part of the puzzle, but one that is often not stated explicitly in informal wordings of the puzzle, is that the houses, companies, and lines must all be placed on a two-dimensional surface with the topology of a plane, and that the lines are not allowed to pass through other buildings; sometimes this is enforced by showing a drawing of the houses and companies, and asking for the connections to be drawn as lines on the same drawing. In more formal graph-theoretic terms, the problem asks whether the
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory ...
K_ is a
planar graph In graph theory, a planar graph is a graph (discrete mathematics), graph that can be graph embedding, embedded in the plane (geometry), plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. ...
. This graph has six vertices in two subsets of three: one vertex for each house, and one for each utility. It has nine edges, one edge for each of the pairings of a house with a utility, or more abstractly one edge for each pair of a vertex in one subset and a vertex in the other subset. Planar graphs are the graphs that can be drawn without crossings in the plane, and if such a drawing could be found, it would solve the three utilities puzzle.


Puzzle solutions


Unsolvability

As it is usually presented (on a flat two-dimensional plane), the solution to the utility puzzle is "no": there is no way to make all nine connections without any of the lines crossing each other. In other words, the graph K_ is not planar.
Kazimierz Kuratowski Kazimierz Kuratowski (; 2 February 1896 – 18 June 1980) was a Polish mathematician and logician. He was one of the leading representatives of the Warsaw School of Mathematics. He worked as a professor at the University of Warsaw and at the Ma ...
stated in 1930 that K_ is nonplanar, from which it follows that the problem has no solution. , however, states that "Interestingly enough, Kuratowski did not publish a detailed proof that K_ is non-planar". One proof of the impossibility of finding a planar embedding of K_ uses a case analysis involving the
Jordan curve theorem In topology, the Jordan curve theorem (JCT), formulated by Camille Jordan in 1887, asserts that every ''Jordan curve'' (a plane simple closed curve) divides the plane into an "interior" region Boundary (topology), bounded by the curve (not to be ...
. In this solution, one examines different possibilities for the locations of the vertices with respect to the 4-cycles of the graph and shows that they are all inconsistent with a planar embedding. Alternatively, it is possible to show that any bridgeless bipartite planar graph with V vertices and E edges has E\le 2V-4 by combining the Euler formula V-E+F=2 (where F is the number of faces of a planar embedding) with the observation that the number of faces is at most half the number of edges (the vertices around each face must alternate between houses and utilities, so each face has at least four edges, and each edge belongs to exactly two faces). In the utility graph, E=9 and 2V-4=8 so in the utility graph it is untrue that E\le 2V-4. Because it does not satisfy this inequality, the utility graph cannot be planar.


Changing the rules

K_ is a
toroidal graph In the mathematical field of graph theory, a toroidal graph is a graph that can be embedded on a torus. In other words, the graph's vertices and edges can be placed on a torus such that no edges intersect except at a vertex that belongs to bo ...
, which means that it can be embedded without crossings on a
torus In geometry, a torus (: tori or toruses) is a surface of revolution generated by revolving a circle in three-dimensional space one full revolution about an axis that is coplanarity, coplanar with the circle. The main types of toruses inclu ...
, a surface of genus one. These embeddings solve versions of the puzzle in which the houses and companies are drawn on a coffee mug or other such surface instead of a flat plane. There is even enough additional freedom on the torus to solve a version of the puzzle with four houses and four utilities. Similarly, if the three utilities puzzle is presented on a sheet of a transparent material, it may be solved after twisting and gluing the sheet to form a
Möbius strip In mathematics, a Möbius strip, Möbius band, or Möbius loop is a Surface (topology), surface that can be formed by attaching the ends of a strip of paper together with a half-twist. As a mathematical object, it was discovered by Johann Bened ...
. Another way of changing the rules of the puzzle that would make it solvable, suggested by
Henry Dudeney Henry Ernest Dudeney (10 April 1857 – 23 April 1930) was an English author and mathematician who specialised in logic puzzles and mathematical games. He is known as one of the foremost creators of mathematical puzzles. Early life Dudene ...
, is to allow utility lines to pass through other houses or utilities than the ones they connect.


Properties of the utility graph

Beyond the utility puzzle, the same graph K_ comes up in several other mathematical contexts, including rigidity theory, the classification of cages and
well-covered graph In graph theory, a well-covered graph is an undirected graph in which the minimal vertex covers all have the same size. Here, a vertex cover is a set of vertices that touches all edges, and it is minimal element, minimal if removing any vertex fr ...
s, the study of graph crossing numbers, and the theory of
graph minor In graph theory, an undirected graph is called a minor of the graph if can be formed from by deleting edges, vertices and by contracting edges. The theory of graph minors began with Wagner's theorem that a graph is planar if and only if ...
s.


Rigidity

The utility graph K_ is a Laman graph, meaning that for
almost all In mathematics, the term "almost all" means "all but a negligible quantity". More precisely, if X is a set (mathematics), set, "almost all elements of X" means "all elements of X but those in a negligible set, negligible subset of X". The meaning o ...
placements of its vertices in the plane, there is no way to continuously move its vertices while preserving all edge lengths, other than by a
rigid motion In mathematics, a rigid transformation (also called Euclidean transformation or Euclidean isometry) is a geometric transformation of a Euclidean space that preserves the Euclidean distance between every pair of points. The rigid transformations ...
of the whole plane, and that none of its spanning subgraphs have the same rigidity property. It is the smallest example of a nonplanar Laman graph. Despite being a minimally rigid graph, it has non-rigid embeddings with special placements for its vertices. For general-position embeddings, a
polynomial equation In mathematics, an algebraic equation or polynomial equation is an equation of the form P = 0, where ''P'' is a polynomial with coefficients in some field (mathematics), field, often the field of the rational numbers. For example, x^5-3x+1=0 is a ...
describing all possible placements with the same edge lengths has degree 16, meaning that in general there can be at most 16 placements with the same lengths. It is possible to find systems of edge lengths for which up to eight of the solutions to this equation describe realizable placements.


Other graph-theoretic properties

K_ is a
triangle-free graph In the mathematical area of graph theory, a triangle-free graph is an undirected graph in which no three vertices form a triangle of edges. Triangle-free graphs may be equivalently defined as graphs with clique number ≤ 2, graphs with ...
, in which every vertex has exactly three neighbors (a
cubic graph In the mathematical field of graph theory, a cubic graph is a graph in which all vertices have degree three. In other words, a cubic graph is a 3-regular graph. Cubic graphs are also called trivalent graphs. A bicubic graph is a cubic bip ...
). Among all such graphs, it is the smallest. Therefore, it is the (3,4)-cage, the smallest graph that has three neighbors per vertex and in which the shortest cycle has length four. Like all other
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory ...
s, it is a
well-covered graph In graph theory, a well-covered graph is an undirected graph in which the minimal vertex covers all have the same size. Here, a vertex cover is a set of vertices that touches all edges, and it is minimal element, minimal if removing any vertex fr ...
, meaning that every
maximal independent set In graph theory, a maximal independent set (MIS) or maximal stable set is an Independent set (graph theory), independent set that is not a subset of any other independent set. In other words, there is no Vertex (graph theory), vertex outside th ...
has the same size. In this graph, the only two maximal independent sets are the two sides of the bipartition, and are of equal sizes. K_ is one of only seven 3-regular 3-connected well-covered graphs.


Generalizations

Two important characterizations of planar graphs,
Kuratowski's theorem In graph theory, Kuratowski's theorem is a mathematical forbidden graph characterization of planar graphs, named after Kazimierz Kuratowski. It states that a finite graph is planar if and only if it does not contain a Glossary of graph theory#Su ...
that the planar graphs are exactly the graphs that contain neither K_ nor the
complete graph In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices i ...
K_5 as a subdivision, and Wagner's theorem that the planar graphs are exactly the graphs that contain neither K_ nor K_5 as a minor, make use of and generalize the non-planarity of K_.
Pál Turán Pál Turán (; 18 August 1910 – 26 September 1976) also known as Paul Turán, was a Hungarian mathematician who worked primarily in extremal combinatorics. In 1940, because of his Jewish origins, he was arrested by History of the Jews in Hun ...
's " brick factory problem" asks more generally for a formula for the minimum number of crossings in a drawing of the
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory ...
K_ in terms of the numbers of vertices a and b on the two sides of the bipartition. The utility graph K_ may be drawn with only one crossing, but not with zero crossings, so its crossing number is one.


References


External links


3 Utilities Puzzle
at
Cut-the-knot Alexander Bogomolny (January 4, 1948 July 7, 2018) was a Soviet Union, Soviet-born Israeli Americans, Israeli-American mathematician. He was Professor Emeritus of Mathematics at the University of Iowa, and formerly research fellow at the Moscow ...

The Utilities Puzzle
explained and "solved" at Archimedes-lab.org * {{MathWorld, title=Utility graph, id=UtilityGraph, mode=cs2 Topological graph theory Mathematical puzzles Unsolvable puzzles