Mathematical Recreations and Essays
It remains to show that we can arrange our route so as to make it cover all the branches. Suppose each branch of the network to be represented by a string with a hook at each end, and that at each node all the hooks there are fastened together. The number of hooks at each node is even, and if they are unfastened they can be re-coupled together in pairs, the arrangement of the pairs being immaterial. The whole network will then form one or more closed curves, since now each node consists merely of two ends hooked together.
If this random coupling gives us one single curve then the proposition is proved; for starting at any point we shall go along every branch and come back to the initial point. But if this random coupling produces anywhere an isolated loop, , then where it touches some other loop, , say at the node , unfasten the four hooks there (viz. two of the loop and two of the loop ) and re-couple them in any other order: then the loop will become a part of the loop . In this way, by altering the couplings, we can transform gradually all the separate loops into parts of only one loop.
For example, take the case of three isles, , , , each connected with both the others by two bridges. The most unfavourable way of re-coupling the ends at , , would be to make , , and separate loops. The loops and are separate and touch at ; hence we should re-couple the hooks at so as to combine and into one loop . Similarly, by re-arranging the couplings of the four hooks at , we can combine the loop with and thus make only one loop.
I infer from Euler’s language that he had attempted to solve the problem of giving a practical rule which would enable one to describe such a figure unicursally without knowledge of its form, but that in this
he was unsuccessful. He however added that any geometrical figure can be described completely in a single route provided each part of it is described twice and only twice, for, if we suppose that every branch is duplicated, there will be no odd nodes and the figure is unicursal. In this case any figure can be described completely without knowing its form: rules to effect this are given below.
This at once reduces to the second theorem. Let and be the two odd nodes. First, suppose that is not a free end. We can, of course, take a route from to ; if we imagine the branches in this route to be eliminated, it will remove one hook from and make it even, will remove two hooks from every node intermediate between and and therefore leave each of them even, and will remove one hook from and therefore will make it even. All the remaining network is now even: hence, by Euler’s second proposition, it can be described unicursally, and, if the route begins at , it will end at . Hence, if these two routes are taken in succession, the whole figure will be described unicursally, beginning at and ending at . Second, if is a free end, then we must travel from to some node, , at which more than two branches meet. Then a route from to which covers the whole figure exclusive of the path from to can be determined as before and must be finished by travelling from to .
Fourth. A figure having odd nodes, and no more, can be described completely in separate routes.
If any route starts at an odd node, and if it is continued until it reaches a node where no fresh path is open to it, this latter node must be an odd one. For every time we enter an even node there is necessarily
a way out of it; and similarly every time we go through an odd node we use up one hook in entering and one hook in leaving, but whenever we reach it as the end of our route we use only one hook. If this route is suppressed there will remain a figure with odd nodes. Hence such routes will leave one or more networks with only even nodes. But each of these must have some node common to one of the routes already taken and therefore can be described as a part of that route. Hence the complete passage will require n and not more than routes. It follows, as stated by Euler, that, if there are more than two odd nodes, the figure cannot be traversed completely in one route.
The Königsberg bridges lead to a network with four odd nodes; hence, by Euler’s fourth proposition, it cannot be described unicur- sally in a single journey, though it can be traversed completely in two separate routes.
As other examples I may note that the geometrical figure formed by taking a gon and joining every angular point with every other angular point is unicursal. On the other hand a chess-board, divided as usual by straight lines into 64 cells, has 28 odd nodes and
53 even nodes: hence it would require 14 separate pen-strokes to trace out all the boundaries without going over any more than once. Again, the diagram on page 102 has 20 odd nodes and therefore would require 10 separate pen-strokes to trace it out.
It is well known that a curve which has as many nodes as is consistent with its degree is unicursal.
MAZES. Everyone has read of the labyrinth of Minos in Crete and of Rosamund’s Bower. A few modern mazes exist here and there—notably one, which is a very poor specimen of its kind, at Hampton Court—and in one of these, or at any rate on a drawing of one, most of us have threaded our way to the interior. I proceed now to consider the manner in which any such construction may be completely traversed even by one who is ignorant of its plan.
The theory of the description of mazes is included in Euler’s theorems given above. The paths in the maze are what previously we have termed branches, and the places where two or more paths meet are nodes. The entrance to the maze, the end of a blind alley, and the centre of the maze are free ends and therefore odd nodes.
If the only odd nodes are the entrance to the maze and the centre of it—which will necessitate the absence of all blind alleys—the maze can be described unicursally. This follows from Euler’s third proposition. Again, no matter how many odd nodes there may be in a maze, we can always find a route which will take us from the entrance to the centre without retracing our steps, though such a route will take us through only a part of the maze. But in neither of the cases mentioned in this paragraph can the route be determined without a plan of the maze.
A plan is not necessary, however, if we make use of Euler’s suggestion, and suppose that every path in the maze is duplicated. In this case we can give definite rules for the complete description of the whole of any maze, even if we are entirely ignorant of its plan. Of course to walk twice over every path in a labyrinth is not the shortest way of arriving at the centre, but, if it is performed correctly, the whole maze is traversed, the arrival at the centre at some point in the course of the route is certain, and it is impossible to lose one’s way.
I need hardly explain why the complete description of such a duplicated maze is possible, for now every node is even, and hence, by Euler’s second proposition, if we begin at the entrance we can traverse
the whole maze; in so doing we shall at some point arrive at the centre, and finally shall emerge at the point from which we started. This description will require us to go over every path in the maze twice, and as a matter of fact the two passages along any path will be always made in opposite directions.
If a maze is traced on paper, the way to the centre is generally obvious, but in an actual labyrinth it is not so easy to find the correct route unless the plan is known. In order to make sure of describing a maze without knowing its plan it is necessary to have some means of marking the paths which we traverse and the direction in which we have traversed them—for example, by drawing an arrow at the entrance and end of every path traversed, or better perhaps by marking the wall on the right-hand side, in which case a path may not be entered when there is a mark on each side of it. If we can do this, and if when a node is reached, we take, if it be possible, some path not previously used, or, if no other path is available, we enter on a path already traversed once only, we shall completely traverse any maze in two dimensions*. Of course a path must not be traversed twice in the same direction, a path already traversed twice (namely, once in each direction) must not be entered, and at the end of a blind alley it is necessary to turn back along the path by which it was reached.
I think most people would understand by a maze a series of interlacing paths through which some route can be obtained leading to a space or building at the centre of the maze. I believe that few, if any, mazes of this type existed in classical or medieval times.
One class of what the ancients called mazes or labyrinths seems to have comprised any complicated building with numerous vaults and passages†. Such a building might be termed a labyrinth, but it is not what is usually understood by the word. The above rules would enable anyone to traverse the whole of any structure of this kind. I do not know if there are any accounts or descriptions of Rosamund’s Bower