プリンキピア

第12章グラフ理論

When Are Two Graphs Really Different?2つのグラフが本当に異なるのはいつか

Verifying that two graphs are isomorphic can be a challenging process, especially for larger graphs. It makes sense to check for any obvious ways in which the graphs might differ so that we don’t spend time trying to verify that graphs are isomorphic when they are not. If two graphs have any of the differences shown in Table 12.3, then they cannot be isomorphic.
英語のヒント
2つのグラフが同型であることを確かめるのは、とくに大きいグラフでは難しい作業になることがある。同型でないグラフが同型であることを確かめようとして時間を費やさないように、グラフが異なりそうな明らかな点を確認するのは理にかなっている。2つのグラフに表12.3に示す違いのどれかがあるなら、同型ではありえない。
Table 12.3表12.3
Characteristics of Graphs That Are Not Isomorphic
英語のヒント
同型でないグラフの特徴
Unequal number of vertices頂点の数が等しくない
Two graphs. The first graph has 3 vertices and 3 edges. The second graph has 4 vertices and 3 edges.
Unequal number of edges辺の数が等しくない
Two graphs. The first graph has 4 vertices and 4 edges. The second graph has 4 vertices and 5 edges.
Unequal number of vertices of a particular degreeある次数の頂点の数が等しくない
Two graphs. The first graph has 4 vertices and 3 edges. The second graph has 4 vertices and 3 edges.
Different cyclic subgraphs閉路部分グラフが異なる
Two graphs. The first graph has 4 vertices and 4 edges. The second graph has 4 vertices and 4 edges.

Recognizing Isomorphic Graphs同型なグラフを見分ける

Isomorphic graphs that represent the same pattern of connections can look very different despite having the same underlying structure. The edges can be stretched and twisted. The graph can be rotated or flipped. For example, in Figure 12.41, each of the diagrams represents the same pattern of connections.
英語のヒント
同じつながりの型を表す同型なグラフは、もとの構造が同じでもとても違って見えることがある。辺は伸ばしたりねじったりできる。グラフは回転させたり裏返したりできる。たとえば、図12.41の各図は同じつながりの型を表している。
Four representations of the same graph are displayed. The graphs are labeled graph A 1, graph A 2, graph A 3, and graph A 4. In the first graph, the four vertices are connected by edges to resemble a square. The bottom-left and top-right vertices are connected using an edge. The other graph represents the same in different forms.
Figure 12.41図12.41
Four Representations of the Same Graph
英語のヒント
同じグラフの4つの表現
Looking at Figure 12.41, how can we know that these graphs are isomorphic? We will start by checking for any obvious differences. Each of the graphs in Figure 12.41 has four vertices and five edges; so, there are no differences there. Next, we will focus on the degrees of the vertices, which have been labeled in Figure 12.42.
英語のヒント
図12.41を見て、これらのグラフが同型であることをどう知ることができるか。まず明らかな違いを確認する。図12.41の各グラフには頂点が4つ、辺が5つあるので、そこに違いはない。次に、図12.42にラベルで示した頂点の次数に注目する。
Four representations of the same graph are displayed. The graphs are labeled graph A 1, graph A 2, graph A 3, and graph A 4. In the first graph, the four vertices are connected by edges to resemble a square. The bottom-left and top-right vertices are connected using an edge. The top-left, top-right, bottom-right, and bottom-left vertices are 2, 3, 2, and 3. The other graph represents the same in different forms.
Figure 12.42図12.42
Graphs with Vertices of the Same Degrees
英語のヒント
同じ次数の頂点をもつグラフ
As shown in Figure 12.42, each graph has two vertices of degree 2 and two vertices of degree 3; so, there are no differences there. Now, let’s check for cyclic subgraphs. These are highlighted in Figure 12.43.
英語のヒント
図12.42に示すように、各グラフには次数2の頂点が2つ、次数3の頂点が2つあるので、そこに違いはない。次に、閉路部分グラフを確認しよう。これらを図12.43で強調している。
Four representations of the same graph are displayed three times. In the first row, two squares, a quadrilateral, and a pentagon are highlighted. In the second row, a triangle and three other shapes are highlighted. In the third row, a triangle and three other shapes are highlighted.
Figure 12.43図12.43
Graphs with the Same Cyclic Subgraphs
英語のヒント
同じ閉路部分グラフをもつグラフ
As shown in Figure 12.43, each graph has two triangles and one quadrilateral; so, no differences there either. It is beginning to look likely that these graphs are isomorphic, but we will have to look further to be sure.
英語のヒント
図12.43に示すように、各グラフには三角形が2つ、四角形が1つあるので、そこにも違いはない。これらのグラフは同型であるように見え始めているが、確かめるにはさらに見る必要がある。
To know with certainty that these graphs are isomorphic, we need to confirm one of the two conditions from the definition of isomorphic graphs. With smaller graphs, you may be able to visualize how to stretch and twist one graph to get the other to see if condition 1 holds. Imagine the edges are stretchy and picture how to pull and twist one graph to form the other. If you can do this without breaking or adding any connections, then the graphs are really the same. Figure 12.44 demonstrates how to change graph A4 to get A3, graph A3 to get A2, and graph A2 to get A1.
英語のヒント
これらのグラフが同型であることを確実に知るには、同型なグラフの定義の2つの条件の1つを確かめる必要がある。小さいグラフでは、一方のグラフをどう伸ばしてねじるともう一方になるかを思い描いて、条件1が成り立つかを見られるかもしれない。辺が伸縮すると想像し、一方のグラフをどう引いてねじるともう一方になるかを思い描こう。つながりを切ったり足したりせずにこれができれば、グラフは本当に同じである。図12.44は、グラフA4を変えてA3を、グラフA3を変えてA2を、グラフA2を変えてA1を得る方法を示している。
Transformation of Graph A 4 to graph A 1 through graph A 3 and graph A 2. Graph A 4 has four vertices. It resembles a pentagon with a curved edge from the top-left vertex to the bottom-left vertex. The top-right vertex is moved to the center to obtain graph A 3. In graph A 3, the center vertex is moved to the top-left to obtain graph A 2. In graph A 2, the curved edge from the bottom-left vertex to the top-right vertex is shifted inside the graph to obtain graph A 1. In graph A 1, the four vertices are in four corners and they are connected using edges to resemble a square. A diagonal edge from the bottom-left vertex connects to the top-right vertex.
Figure 12.44図12.44
Transforming Graphs
英語のヒント
グラフを変形する
Now that we have used visual analysis to see that condition 1 holds for graphs A1, A2, A3, and A4 in Figure 12.43, we know that they are isomorphic. In Figure 12.44, one of the edges of graph A4 crossed another edge of the graph. By transforming it into graph A3, we have “untangled” it. Graphs that can be untangled are called planar graphs. The complete graph with five vertices is an example of a nonplanar graph-that means that, no matter how hard you try, you can’t untangle it. But, when you try to figure out if two graphs are the same, it can be helpful to untangle them as much as possible to make the similarities and differences more obvious.
英語のヒント
目で見る分析を使って図12.43のグラフA1、A2、A3、A4で条件1が成り立つことを見たので、それらが同型であることがわかる。図12.44で、グラフA4の辺の1つはグラフの別の辺と交差していた。それをグラフA3に変形して「ほどいた」。ほどけるグラフを平面グラフという。頂点5つの完全グラフは非平面グラフの例である。つまり、どんなに頑張ってもほどけない。しかし、2つのグラフが同じかどうかを調べるときは、できるだけほどくと、共通点と違いがより明らかになって役に立つことがある。
Example 12.13例題 12.13

Identifying Isomorphic Graphs同型なグラフを見きわめる

Which of the three graphs in Figure 12.45 are isomorphic, if any? Justify your answer.
英語のヒント
図12.45の3つのグラフのうち、同型なものはどれか。あれば答えよ。答えの根拠を示せ。
Three graphs are labeled graph B 1, graph B 2, and graph B 3. Graph B 1 has four vertices. Edges connect the top-left and bottom-left vertices, bottom-left and bottom-right vertices, top-left and bottom-right vertices, and bottom-left and top-right vertices. Graph B 2 has four vertices. Edges connect the bottom-center and bottom-right vertices, bottom-center and bottom-left vertices, bottom-center and top vertices, and bottom-left and top vertices. Graph B 3 has four vertices. Edges connect the top vertex with the bottom-left and bottom-right vertices. Edges connect the bottom-center and bottom-right vertices and bottom-center and bottom-left vertices.
Figure 12.45図12.45
Three Similar Graphs
英語のヒント
3つの似たグラフ
Solution解答
Step 1: Check for differences in number of vertices, number of edges, degrees of vertices, and types of cycles to see if an isomorphism is possible.
英語のヒント
手順1:頂点の数、辺の数、頂点の次数、閉路の種類の違いを確認して、同型写像がありうるかどうかを見る。
  • Vertices: They all have the same number of vertices, 4.
    英語のヒント
    頂点:どれも頂点の数が同じで、4である。
  • Edges: They all have the same number of edges, 4.
    英語のヒント
    辺:どれも辺の数が同じで、4である。
  • Degrees: Graph B1 and Graph B2 each have a vertex of degree 3, while Graph B3 does not. So, Graph B3 is not isomorphic to either of the other two graphs, but Graph B1 and Graph B2 could possibly be isomorphic.
    英語のヒント
    次数:グラフB1とグラフB2にはそれぞれ次数3の頂点があるが、グラフB3にはない。だから、グラフB3はほかの2つのグラフのどちらとも同型ではないが、グラフB1とグラフB2は同型かもしれない。
  • Cycles: Focus on any cycles in Graph B1 and Graph B2. Each graph has a triangle as shown in Figure 12.46.
    英語のヒント
    閉路:グラフB1とグラフB2の閉路に注目する。図12.46に示すように、各グラフには三角形がある。
Two graphs are labeled graph B 1 and graph B 2. Graph B 1 has four vertices. Edges connect the top-left and bottom-left vertices, bottom-left and bottom-right vertices, top-left and bottom-right vertices, and bottom-left and top-right vertices. Graph B 2 has four vertices. Edges connect the bottom-center and bottom-right vertices, bottom-center and bottom-left vertices, bottom-center and top vertices, and bottom-left and top vertices. Three edges are highlighted in both graphs.
Figure 12.46図12.46
Cycles of Graph B1 and Graph B2
英語のヒント
グラフB1とグラフB2の閉路
Step 2: If no differences were found and an isomorphism is possible, verify one of the conditions in the definition of isomorphic.
英語のヒント
手順2:違いが見つからず同型写像がありうるなら、同型の定義の条件の1つを確かめる。
Since we were able to determine that Graph B1 and Graph B2 have no obvious differences, and they are relatively small graphs, we will attempt to transform one graph into the other, which would verify condition 1. Graph B1 can be transformed into Graph B2 without breaking or adding connections as shown in Figure 12.47. Begin by untangling graph B1. Then rotate or flip as needed to see that the graphs match.
英語のヒント
グラフB1とグラフB2に明らかな違いがないことがわかり、比較的小さいグラフなので、一方のグラフをもう一方に変形してみる。これで条件1を確かめられる。図12.47に示すように、グラフB1はつながりを切ったり足したりせずにグラフB2に変形できる。まずグラフB1をほどく。次に必要に応じて回転させたり裏返したりして、グラフが一致することを見る。
Graph B 1 is converted into graph B 2. Graph B 1 has four vertices. Edges connect the top-left and bottom-left vertices, bottom-left and bottom-right vertices, top-left and bottom-right vertices, and bottom-left and top-right vertices. The last edge is highlighted. It is rotated 90 degrees counterclockwise. Then the graph is rotated 180 degrees clockwise to obtain graph B 2.
Figure 12.47図12.47
Transformation of Graph B1
英語のヒント
グラフB1の変形
So, Graph B1 and Graph B2 have the same structure and are isomorphic.
英語のヒント
だから、グラフB1とグラフB2は同じ構造をもち、同型である。
Have you ever noticed that many popular board games may look different but are really the same game? A good example is the many variations of the board game Monopoly®, which was submitted to the U.S. Patent Office in 1935. Although the rules have been revised a bit, a very similar game board is still in use today. There have been many versions of Monopoly over the years. Many have been stylized to reflect a popular theme, such as a show or sports team, while retaining the same game board structure. If we were to represent these different versions of the game using a graph, we would find that the graphs are isomorphic. . Let's analyze some game boards using graph theory to determine if they have the same structure despite having different appearances.
英語のヒント
人気のボードゲームの多くが、見かけは違っても本当は同じゲームであることに気づいたことがあるだろうか。よい例は、1935年にアメリカ特許庁に提出されたボードゲーム、モノポリー®の多くの変種である。規則は少し改訂されたが、とても似たゲームボードが今日も使われている。長年のあいだにモノポリーの多くの版が出た。多くは、番組やスポーツチームのような人気のテーマを反映するようにデザインされつつ、同じゲームボードの構造を保っている。これらの異なる版のゲームをグラフで表すと、グラフが同型であることがわかるだろう。グラフ理論を使っていくつかのゲームボードを分析し、見かけが異なっても同じ構造をもつかどうかを決めよう。
Two game boards and a spinner. The first game board is titled, Colors Game Figure A. It has 12 spaces arranged in a square. The spaces are as follows: A (yellow), B (red), C (green), D (yellow), E (blue), F (blue), G (green), H (purple), I (red), J (purple), K (white), L (white). Arrows show a path starting in space L and moving counterclockwise around the board to end in space L. The second game board is titled, Clock Game Figure B. It has 12 spaces arranged in a circle. The spaces are as follows: I (plus 3), II (plus 7), III (plus 4), IV (minus 3), V (plus 1), VI (minus 1), VII (minus 4), VIII (plus 2), IX (minus 7), X (minus 2), XI (plus 0), XII (minus 0). The space XII is indicated as the start and end space. A spinner has 2 sections labeled 1 and 2.
Figure 12.48図12.48
Two Game Boards
英語のヒント
2つのゲームボード
Example 12.14例題 12.14

Deciding If Graphs are Isomorphicグラフが同型かどうかを判断する

A teacher uses games to teach her students about colors and numbers as shown in Figure 12.48.
英語のヒント
図12.48に示すように、先生がゲームを使って生徒に色と数を教える。
In the Colors Game, shown in Figure A, each player begins in the space marked START and proceeds in a counterclockwise direction. On each turn, the player spins a spinner marked 1 and 2 and moves forward the number of spaces shown on the spinner. If the player lands on a space marked with any color other than white, the player must move forward or back to the other space of the same color. The first player to land in or pass the space marked END wins.
英語のヒント
図Aに示す色ゲームでは、各プレイヤーはSTARTと書かれたマスから始め、反時計回りに進む。各ターンで、プレイヤーは1と2と書かれたスピナーを回し、スピナーが示す数だけマスを進む。白以外の色のマスに止まったら、同じ色のもう1つのマスへ進むか戻るかしなければならない。ENDと書かれたマスに最初に止まるか通過したプレイヤーが勝つ。
In the Clock Game, shown in Figure B, each player begins in the space marked START and proceeds in a clockwise direction. On each turn, the player spins a spinner marked 1 and 2 and moves forward the number of spaces shown on the spinner. In the same turn, the player must read the number in the space and move forward the number of spaces indicated by a positive value or backward the number of spaces indicated by a negative value. Then the turn ends. The first player to land in or pass the space marked END wins.
英語のヒント
図Bに示す時計ゲームでは、各プレイヤーはSTARTと書かれたマスから始め、時計回りに進む。各ターンで、プレイヤーは1と2と書かれたスピナーを回し、スピナーが示す数だけマスを進む。同じターンで、プレイヤーはマスの数を読み、正の値が示す数だけマスを進むか、負の値が示す数だけマスを戻らなければならない。それでターンは終わる。ENDと書かれたマスに最初に止まるか通過したプレイヤーが勝つ。
Draw a graph or multigraph to represent each game in which the vertices are the spaces and the edges represent the ability of a player to move between the spaces either by a spin or as dictated by a marked color or number. (We will ignore the direction of motion for simplicity.) Transform one of the graphs to show that it is isomorphic to the other and explain what this tells you about the games.
英語のヒント
頂点がマスで、辺がスピンまたは色や数の指示によってプレイヤーがマスのあいだを動けることを表す、各ゲームのグラフまたは多重グラフを描け。(簡単にするために動きの方向は無視する。)一方のグラフを変形してもう一方と同型であることを示し、これがゲームについて何を伝えるかを説明せよ。
Solution解答
The graph representing the Clock Game can be transformed as shown in Figure 12.49 so that we can see that the graphs are isomorphic. There is a correspondence between their vertices in such a way that any adjacent pair in one graph corresponds to an adjacent pair in the other graph.
英語のヒント
図12.49に示すように時計ゲームを表すグラフを変形すると、グラフが同型であることがわかる。一方のグラフの隣接する組がもう一方のグラフの隣接する組に対応するような、頂点のあいだの対応がある。
Six graphs. The first graph is labeled Colors Game Graph. It has 12 vertices arranged in a square, with 3 vertices on each side. A purple line connects the first and third vertices on the top. A red line connects the second vertex on the top with the first vertex on the bottom. A dark green line connects the first vertex on the right side with the second vertex on the bottom. A blue line connects the second and third vertices on the right side. A light green line connects the third vertex on the bottom and the third vertex on the left side. Lines connect each vertex with the vertices two spots to the right and two spots to the left of it. The second graph is labeled Clock Game Graph. It has 12 vertices arranged in a circle. A light green line connects the first and fourth vertices. A red line connects the second and ninth vertices. A dark green line connects the third and seventh vertices. A blue line connects the fifth and sixth vertices. A purple line connects the eighth and tenth vertices. Lines connect each vertex with the vertices two spots to the right and two spots to the left of it. The third graph is the same as the Clock Game Graph. An arrow points to the fourth graph, which shows the Clock Game Graph rotated clockwise so the lines appear three vertices to the right of their original location. An arrow points to the fifth graph, which shows the rotated Clock Game Graph flipped horizontally so it is a mirror image of the previous graph. A double-sided arrow connects the fifth graph and the sixth graph, which is the Colors Game Graph, to show the two graphs now match.
Figure 12.49図12.49
Graphs for Clock Game and Colors Game
英語のヒント
時計ゲームと色ゲームのグラフ
This tells us that the games are essentially the same game with the same moves even though the games appear to be different.
英語のヒント
これは、ゲームが違って見えても、同じ動きをもつ本質的に同じゲームであることを伝えている。