プリンキピア

第12章グラフ理論

Creating Colorings to Solve Problems彩色を作って問題を解く

Let’s see how these facts can help us color the graph in Figure 12.90.
英語のヒント
これらの事実を使って図12.90のグラフを塗る方法を見よう。
  • Since the graph is planar, the chromatic number is no more than four.
    英語のヒント
    グラフは平面的なので、彩色数は4以下である。
  • The graph is not complete, but it has complete subgraphs of three vertices. In other words, it has triangles like the one shown with blue vertices in Figure 12.90. This means that the chromatic number is at least three.
    英語のヒント
    グラフは完全ではないが、頂点3つの完全部分グラフがある。言いかえると、図12.90の青い頂点で示すような三角形がある。つまり、彩色数は少なくとも3である。
A graph has nine vertices arranged in 3 rows and 3 columns. The outer vertices are connected to form a square. A vertical line and a horizontal line at the center connect the vertices along the lines. Diagonal lines from top-left to bottom-right connect the vertices along the lines. The vertices at the top-left, left-center, and center are highlighted in grey.
Figure 12.90図12.90
A Graph with Triangles
英語のヒント
三角形をもつグラフ
We know we can color this graph in three or four colors. It is usually best to start by coloring the vertex of highest degree as shown in Figure 12.91. In this case, we used red (R). The color is not important.
英語のヒント
このグラフは3色か4色で塗れることがわかっている。ふつうは、図12.91に示すように、次数のいちばん高い頂点から塗り始めるのがいちばんよい。この場合、赤(R)を使った。色は重要ではない。
Two graphs are labeled degrees of vertices and degree 6 vertex colored first. In the first graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, 4, and 2. Row 2: 4, 6, and 4. Row 3: 2, 4, and 3. In the second graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, 4, and 2. Row 3: 4, R, and 4. Row 3: 2, 4, and 3. In each graph, the outer vertices are connected to form a square. A vertical line and a horizontal line at the center connect the vertices along the lines. Diagonal lines from top-left to bottom-right connect the vertices along the lines. An arrow from the first graph points to the second graph.
Figure 12.91図12.91
Color Highest Degree Vertex First
英語のヒント
次数のいちばん高い頂点を最初に塗る
We want to color as many of the vertices the same color as possible; so, we look at all the vertices that are not adjacent to the red vertex and begin to color them, red starting with the one among them of highest degree. Since the only vertices that are not adjacent are both degree 2, choose either one and color it red as shown in Figure 12.92.
英語のヒント
できるだけ多くの頂点を同じ色で塗りたいので、赤い頂点に隣接しないすべての頂点を見て、そのなかで次数のいちばん高いものから赤で塗り始める。隣接しない頂点はどちらも次数2なので、図12.92に示すようにどちらかを選んで赤で塗る。
Two graphs. In the first graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, 4, and 2. Row 3: 4, R, and 4. Row 3: 2, 4, and 3. 2 in the top-right and bottom-left vertices are outlined. In the second graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, 4, and R. Row 2: 4, R, and 4. Row 3: 2, 4, and 3. In each graph, the outer vertices are connected to form a square. A vertical line and a horizontal line at the center connect the vertices along the lines. Diagonal lines from top-left to bottom-right connect the vertices along the lines. An arrow from the first graph points to the second graph.
Figure 12.92図12.92
Color More Red from Highest to Lowest Degree
英語のヒント
次数の高いものから低いものへさらに赤を塗る
Now, there is only one vertex left that is not adjacent to a red; so, color it red. Of the remaining vertices, the highest degree is four; so, color one of the vertices of degree four in a different color. These two steps are shown in Figure 12.93.
英語のヒント
これで赤に隣接しない頂点は1つだけ残るので、それを赤で塗る。残りの頂点のうち、いちばん高い次数は4なので、次数4の頂点の1つを別の色で塗る。この2つの手順を図12.93に示す。
Two graphs. In the first graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, 4, and R. Row 3: 4, R, and 4. Row 3: R, 4, and 3. In the second graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, B, and R. Row 2: 4, R, and 4. Row 3: R, 4, and 3. In each graph, the outer vertices are connected to form a square. A vertical line and a horizontal line at the center connect the vertices along the lines. Diagonal lines from top-left to bottom-right connect the vertices along the lines. An arrow from the first graph points to the second graph.
Figure 12.93図12.93
Complete the Reds and Start Another Color
英語のヒント
赤を完成させて別の色を始める
Repeat the same procedure. There are three remaining vertices that are not adjacent to a blue. Color as many blue as possible, with priority going to vertices of higher degree as shown in Figure 12.94.
英語のヒント
同じ手順を繰り返す。青に隣接しない頂点が3つ残っている。次数の高い頂点を優先して、図12.94に示すようにできるだけ多く青で塗る。
Three graphs. In the first graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, B, and R. Row 3: 4, R, and 4. Row 3: R, 4, and 3. 4 in the left-center and bottom-center vertices are outlined. 3 in the bottom-right vertex is outlined. In the second graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, B, and R. Row 2: B, R, and 4. Row 3: R, 4, and 3. 3 in the bottom-right vertex is outlined. In the third graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, B, and R. Row 2: B, R, and 4. Row 3: R, 4, and B. In each graph, the outer vertices are connected to form a square. A vertical line and a horizontal line at the center connect the vertices along the lines. Diagonal lines from top-left to bottom-right connect the vertices along the lines. An arrow from the first graph points to the second graph. An arrow from the second graph points to the third graph.
Figure 12.94図12.94
Repeat Procedure for Color Blue
英語のヒント
青で手順を繰り返す
All the remaining vertices are adjacent to blue. So, it is time to repeat the procedure with another color as shown in Figure 12.95.
英語のヒント
残りの頂点はすべて青に隣接している。だから、図12.95に示すように別の色で手順を繰り返すときである。
Three graphs. In the first graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, B, and R. Row 3: B, R, and P. Row 3: R, 4, and B. 3 in the top-left vertex is outlined. 4 in the bottom-center is outlined. In the second graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: 3, B, and R. Row 2: B, R, and P. Row 3: R, P, and B. 3 in the top-left vertex is outlined. In the third graph, nine vertices are present. The vertices are arranged in 3 rows and 3 columns. Row 1: P, B, and R. Row 2: B, R, and P. Row 3: R, P, and B. In each graph, the outer vertices are connected to form a square. A vertical line and a horizontal line at the center connect the vertices along the lines. Diagonal lines from top-left to bottom-right connect the vertices along the lines. An arrow from the first graph points to the second graph. An arrow from the second graph points to the third graph.
Figure 12.95図12.95
Repeat Procedure for Color Purple
英語のヒント
紫で手順を繰り返す
All the vertices are now colored with a three-coloring so we know the chromatic number is at most three, but we knew the chromatic number was at least three because the graph has a triangle. So, we are now certain it is exactly three.
英語のヒント
これですべての頂点が3彩色で塗られたので、彩色数は最大で3であることがわかるが、グラフに三角形があるので彩色数は少なくとも3であることがわかっていた。だから、ちょうど3であると確信できる。
Suppose the vertices of the graph in Figure 12.96 represented the nine events in the Camp Woebegone Olympics, and edges join any events that have campers in common, but nonadjacent vertices do not.
英語のヒント
図12.96のグラフの頂点がキャンプ・ウォービゴーンのオリンピックの9種目を表し、辺が共通の参加者がいる種目を結び、隣接しない頂点には共通の参加者がいないとする。
A graph has nine vertices. The vertices are arranged in 3 rows and 3 columns. Row 1: P, B, and R. Row 2: B, R, and P. Row 3: R, P, and B. In each graph, the outer vertices are connected to form a square. A vertical line and a horizontal line at the center connect the vertices along the lines. Diagonal lines from top-left to bottom-right connect the vertices along the lines.
Figure 12.96図12.96
Coloring for Nine Event Camp Woebegone Olympics
英語のヒント
9種目のキャンプ・ウォービゴーン・オリンピックの彩色
Any vertices of the same color are nonadjacent; so, they have no conflicts. Since this graph is a three-coloring, all nine events could be scheduled in just three timeslots!
英語のヒント
同じ色の頂点は隣接しないので、かち合いがない。このグラフは3彩色なので、9種目すべてをわずか3つの時間枠に組める!
Example 12.22例題 12.22

Understanding Chromatic Numbers彩色数を理解する

In Example 12.17, we discussed a high school, which holds end-of-course exams in (E3) English 3, (E4) English 4, (M) Advanced Math, (C) Calculus, (W) World History, (U) U.S. History, (B) Biology, and (P) Physics. We were given a list of courses that had no students in common. We used that information to find the graph in Figure 12.63, which shows edges between exams with students in common. Use the graph we found in Example 12.17 to answer each question.
英語のヒント
例題12.17で、(E3)英語3、(E4)英語4、(M)上級数学、(C)微積分、(W)世界史、(U)アメリカ史、(B)生物、(P)物理の期末試験を行う高校を論じた。共通の生徒がいない科目の一覧が与えられた。その情報を使って、共通の生徒がいる試験のあいだに辺を示す図12.63のグラフを求めた。例題12.17で求めたグラフを使って各問いに答えよ。
A graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E 4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3.
Figure 12.97図12.97
Graph of Exams with Students in Common
英語のヒント
共通の生徒がいる試験のグラフ
  1. The graph contains a clique of size 4 formed by the vertices P, E3, C, and U. What does this tell you about the chromatic number?
    英語のヒント
    グラフには、頂点P、E3、C、Uからなる大きさ4のクリークがある。これは彩色数について何を伝えるか。
  2. The graph is not planar, meaning that you cannot untangle it. What does this tell you about the chromatic number?
    英語のヒント
    グラフは平面的でない、つまりほどけない。これは彩色数について何を伝えるか。
  3. Create a coloring by coloring vertex of highest degree first, coloring as many other vertices as possible each color from highest to lowest degree, then repeating this process for the remaining vertices.
    英語のヒント
    次数のいちばん高い頂点を最初に塗り、次数の高いものから低いものへできるだけ多くのほかの頂点をその色で塗り、残りの頂点についてこの処理を繰り返して彩色を作れ。
  4. Do you know what the minimum number of timeslots is? If so, what is it and how do you know? If not, what are the possibilities?
    英語のヒント
    時間枠の最小の数はわかるか。わかるなら、いくらで、どうしてわかるか。わからないなら、どんな可能性があるか。
Solution解答
  1. We would need four different colors just for the clique with four vertices; so, the chromatic number is at least four.
    英語のヒント
    頂点4つのクリークだけで4つの異なる色が必要なので、彩色数は少なくとも4である。
  2. It is possible for the chromatic number to be greater than four.
    英語のヒント
    彩色数が4より大きいことはありうる。
  3. The process is shown in Table 12.6.
    英語のヒント
    手順を表12.6に示す。
    Table 12.6表12.6
    Coloring the Graph
    英語のヒント
    グラフを彩色する
    A graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E 4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3.
    A graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E 4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3. Vertex B is colored in red.
    A graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E 4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3. Vertices B and E 3 are colored in red.
    This is the original graph. Vertex B has highest degree.これがもとのグラフである。頂点Bの次数がいちばん高い。Color vertex B. Vertex E3 is the only remaining vertex that is NOT adjacent to B.頂点Bを塗る。頂点E3はBに隣接しない唯一の残りの頂点である。Color vertex E3 the same color. Vertices P, U, W, and C are the remaining vertices with highest degree. Pick one to color.頂点E3を同じ色で塗る。頂点P、U、W、Cは次数がいちばん高い残りの頂点である。1つ選んで塗る。
    A graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3. The vertices, B and E 3 are in red. The vertex, P is in blue.
    A graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3. The vertices, B and E 3 are in red. The vertices, P and B are in blue.
    A graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3. The vertices, B and E 3 are in red. The vertices, P, E 4, and M are in blue.
    Color vertex P a new color. Vertices E4 and M are NOT adjacent to P, and M has higher degree.頂点Pを新しい色で塗る。頂点E4とMはPに隣接せず、Mのほうが次数が高い。Color vertex M the same color. Vertex E4 is the only remaining vertex NOT adjacent to P or M.頂点Mを同じ色で塗る。頂点E4はPにもMにも隣接しない唯一の残りの頂点である。Color vertex E4 the same color. Vertices U, W, and C are the remaining vertices with highest degree. Pick one to color.頂点E4を同じ色で塗る。頂点U、W、Cは次数がいちばん高い残りの頂点である。1つ選んで塗る。
    A graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E 4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3. The vertices, B and E 3 are in red. The vertices, P, E 4, and M are in blue. The vertex, U is in purple.
    A graph has eight vertices. The first graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E 4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3. The vertices, B and E 3 are in red. The vertices, P, E 4, and M are in blue. The vertices, U and W are in purple.
    A graph has eight vertices. The first graph has eight vertices. The vertices are P, B, U, W, C, M, E 4, and E 3 and their corresponding degrees are 5, 6, 5, 5, 5, 4, 2, and 4. Edges from P lead to E 3, B, U, W, and C. Edges from B lead to U, W, C, M, and E 4. Edges from U lead to E 3, M, and C. Edges from W lead to E 4, M, and C. An edge from C leads to E 3. An edge from M leads to E 3. The vertices, B and E 3 are in red. The vertices, P, E 4, and M are in blue. The vertices, U and W are in purple. The vertex, C is in green.
    Color U a new color. Vertex W is the only remaining vertex NOT adjacent to U.Uを新しい色で塗る。頂点WはUに隣接しない唯一の残りの頂点である。Color vertex W the same color. Vertex C is the only remaining vertex that has NOT been colored.頂点Wを同じ色で塗る。頂点Cはまだ塗っていない唯一の残りの頂点である。Color vertex C a new color. The coloring is final. We used four colors.頂点Cを新しい色で塗る。彩色は完成である。4色を使った。
    The last graph in Table 12.6 is the final coloring.
    英語のヒント
    表12.6の最後のグラフが最終的な彩色である。
  4. Yes, the minimum number of times slots is the chromatic number. We knew the chromatic number had to be at least four because there was a clique with four vertices. Now we have found a four-coloring of the graph which tells us that the chromatic number is at most four. So, we know four must be the chromatic number.
    英語のヒント
    はい、時間枠の最小の数は彩色数である。頂点4つのクリークがあったので、彩色数は少なくとも4でなければならないことがわかっていた。これでグラフの4彩色を見つけたので、彩色数は最大で4であることがわかる。だから、4が彩色数でなければならないことがわかる。