Five room puzzle

From Wikipedia, the free encyclopedia

This classical,[1] popular puzzle involves a large rectangle divided into five "rooms". The object of the puzzle is to cross each "wall" of the diagram with a continuous line only once.[2]

Solutions

As with the Seven Bridges of Königsberg, the puzzle may be represented in graphical form with each room corresponding to a vertex (including the outside area as a room) and two vertices joined by an edge if the rooms have a common wall. The resulting multigraph does not contain an Eulerian circuit, which means that this puzzle cannot be solved. Solutions missing one wall, however, are possible (see image).

By changing the rules, a related puzzle could be solved. For instance, by permitting passage through more than one wall at a time (that is, through a corner of a room), or by solving the puzzle on a torus (doughnut) instead of a flat plane.

(note the uncrossed wall – marked with circle)

References

  1. Gardner, Martin (1959), The Scientific American book of Mathematical Puzzles and Diversions, New York: Simon and Schuster, p. 112 . Gardner titles the problem (puzzle) as "Cross the Network" and refers to it as one of the oldest of topological puzzles.
  2. Norris, Fletcher R. (1985), Discrete structures: an introduction to mathematics for computer science, Prentice-Hall, p. 207, ISBN 9780132152600, "One often encounters Eulerian graphs as puzzles. Consider the famous floor plan that consists of five rooms interconnected with themselves and the outside by doors on every wall. The puzzle is to start in one room or the outside, walk through every doorway exactly once, and return to the starting point." 

External links

This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.