プリンキピア

第12章グラフ理論

Origin of Euler Circuitsオイラー回路の起源

The city of Konigsberg, modern day Kaliningrad, Russia, has waterways that divide up the city. In the 1700s, the city had seven bridges over the various waterways. The map of those bridges is shown in Figure 12.110. The question as to whether it was possible to find a route that crossed each bridge exactly once and return to the starting point was known as the Konigsberg Bridge Problem. In 1735, one of the most influential mathematicians of all time, Leonard Euler, solved the problem using an area of mathematics that he created himself, graph theory!
英語のヒント
ケーニヒスベルク、現在のロシアのカリーニングラードには、市を分ける水路がある。1700年代、市にはさまざまな水路にかかる7つの橋があった。その橋の地図を図12.110に示す。各橋をちょうど1回渡って出発点に戻る経路を見つけられるかという問いは、ケーニヒスベルクの橋の問題として知られた。1735年、史上もっとも影響力のある数学者の1人レオンハルト・オイラーが、自ら生み出した数学の分野、グラフ理論を使ってこの問題を解いた!
A map shows the bridges of Konigsberg in the 1700s.
Figure 12.110図12.110
Map of the Bridges of Konigsberg in 1700s (credit: “Konigsberg Bridge” by Merian Erben/Wikimedia Commons, Public Domain)
英語のヒント
1700年代のケーニヒスベルクの橋の地図(出典:Merian Erben の “Konigsberg Bridge”/Wikimedia Commons、パブリックドメイン)
Euler drew a multigraph in which each vertex represented a land mass, and each edge represented a bridge connecting them, as shown in Figure 12.111. Remember from Navigating Graphs that a circuit is a trail, so it never repeats an edge, and it is closed, so it begins and ends at the same vertex. Euler pointed out that the Konigsberg Bridge Problem was the same as asking this graph theory question: Is it possible to find a circuit that crosses every edge? Since then, circuits (or closed trails) that visit every edge in a graph exactly once have come to be known as Euler circuits in honor of Leonard Euler.
英語のヒント
オイラーは、図12.111に示すように、各頂点が陸地を表し、各辺がそれらをつなぐ橋を表す多重グラフを描いた。グラフをたどるから、回路は小道なので辺を繰り返さず、閉じているので同じ頂点で始まり終わることを思い出そう。オイラーは、ケーニヒスベルクの橋の問題が、すべての辺を渡る回路を見つけられるかというグラフ理論の問いと同じであることを指摘した。それ以来、グラフのすべての辺をちょうど1回訪れる回路(閉じた小道)は、レオンハルト・オイラーにちなんでオイラー回路と呼ばれるようになった。
Euler was able to prove that, in order to have an Euler circuit, the degrees of all the vertices of a graph have to be even. He also proved that any graph with that characteristic must have an Euler circuit. So, saying that a connected graph is Eulerian is the same as saying it has vertices with all even degrees, known as the Eulerian circuit theorem.
英語のヒント
オイラーは、オイラー回路をもつには、グラフのすべての頂点の次数が偶数でなければならないことを証明できた。また、その特徴をもつどのグラフもオイラー回路をもつことも証明した。だから、連結グラフがオイラーグラフであるということは、頂点の次数がすべて偶数であるということと同じで、これをオイラー回路定理という。
A graph of Konigsberg Bridges has four vertices. The vertices are connected with edges forming two right cones.
Figure 12.111図12.111
Graph of Konigsberg Bridges
英語のヒント
ケーニヒスベルクの橋のグラフ
To understand why the Euler circuit theorem is true, think about a vertex of degree 3 on any graph, as shown in Figure 12.112.
英語のヒント
オイラー回路定理が正しい理由を理解するために、図12.112に示すように、どのグラフでもよいので次数3の頂点を考えよう。
Two illustrations. The first illustration shows a vertex, 3. Two arrows point to it and an arrow points away from it. The second illustration shows a vertex, 3. Two arrows point away from it and an arrow points to it.
Figure 12.112図12.112
A Vertex of Degree 3
英語のヒント
次数3の頂点
First imagine the vertex of degree 3 shown in Figure 12.112 is not the starting vertex. At some point, each edge must be traveled. The first time one of the three edges is traveled, the direction will be toward the vertex, and the second time it will be away from the vertex. Then, at some point, the third edge must be traveled coming in toward the vertex again. This is a problem, because the only way to get back to the starting vertex is to then visit one of the three edges a second time. So, this vertex cannot be part of an Euler circuit.
英語のヒント
まず、図12.112に示す次数3の頂点が出発の頂点でないと想像しよう。ある時点で、各辺を通らなければならない。3つの辺の1つを初めて通るときの方向は頂点に向かい、2回目は頂点から離れる。そしてある時点で、3つ目の辺を通ってまた頂点に向かって来なければならない。これは問題である。出発の頂点に戻るには、3つの辺の1つを2回目に訪れるしかないからである。だから、この頂点はオイラー回路の一部になれない。
Next imagine the vertex of degree 3 shown in Figure 12.112 is the starting vertex. The first time one of the edges is traveled, the direction is away from the vertex. At some point, the second edge will be traveled coming in toward the vertex, and the third edge will be the way back out, but the starting vertex is also the ending vertex in a circuit. The only way to return to the vertex is now to travel one of the edges a second time. So, again, this vertex cannot be part of an Euler circuit.
英語のヒント
次に、図12.112に示す次数3の頂点が出発の頂点だと想像しよう。辺の1つを初めて通るときの方向は頂点から離れる。ある時点で、2つ目の辺を通って頂点に向かって来て、3つ目の辺で出ていくが、回路では出発の頂点は終点の頂点でもある。頂点に戻るには、今度は辺の1つを2回目に通るしかない。だから、この場合も、この頂点はオイラー回路の一部になれない。
For the same reason that a vertex of degree 3 can never be part of an Euler circuit, a vertex of any odd degree cannot either. We can use this fact and the graph in Figure 12.113 to solve the Konigsberg Bridge Problem. Since the degrees of the vertices of the graph in Figure 12.112 are not even, the graph is not Eulerian and it cannot have an Euler circuit. This means it is not possible to travel through the city of Konigsberg, crossing every bridge exactly once, and returning to your starting position.
英語のヒント
次数3の頂点がオイラー回路の一部になれないのと同じ理由で、どの奇数の次数の頂点もなれない。この事実と図12.113のグラフを使って、ケーニヒスベルクの橋の問題を解ける。図12.112のグラフの頂点の次数は偶数でないので、グラフはオイラーグラフではなく、オイラー回路をもてない。つまり、ケーニヒスベルクの市を、すべての橋をちょうど1回渡って出発の位置に戻るように旅行することはできない。
A graph of Konigsberg Bridges has four vertices. The vertices are connected with edges forming two right cones. The degrees of the vertices are 3, 3, 5, and 3.
Figure 12.113図12.113
Degrees of Vertices in Konigsberg Bridge Multigraph
英語のヒント
ケーニヒスベルクの橋の多重グラフの頂点の次数