Docsity

Test 2 Solutions - Combinatorial Analysis | MATH 4032, Exams of Mathematics

Toggle sidebar
bg1
MATH 4032 Test 2 Solutions, April 11, 2008, WTT
Problem 1. Let n≥3 and let Sndenote the shift graph with index set {1,2, . . . , n}. Show that
if kis a positive intger and n≤2k, then χ(Sn)≤k.
Proof. We show that the shift graph Snhas a k-coloring φwhen n≤2k. We begin by remarking
that there are 2ksubsets of {1,2, . . . , k}. We label them as A1, A2, . . . , A2kfrom smallest to largest.
Since n≤2k, it follows that for each vertex {a, b}in the shift graph Snwith 1 ≤a<b≤n, we
may choose an element φ({a, b}) = α∈Aj−Ai. Such a choice is possible since |Aj|≥|Ai|and
they are distinct subsets of {1,2, . . . , k}.
We claim that φis a proper coloring of Sn. To see that this statement is true, let xand ybe adjacent
vertices in Sn. Then, we may assume that there are integers a,band cwith 1 ≤a<b<c≤nso
that x={a, b}and y={b, c}. Then φassigns xa color that belongs to Ab−Aawhile it assigns y
a color from Ac−Ab. It follows that φ(x)6=φ(y).
Problem 2. Bob says that he has a secret method that will color on-line any graph with maximum
clique size 2 using at most 857 colors. Alice says that Bob is out to lunch. State and prove a theorem
that explains why Alice is right.
Solution 1. We prove the following theorem: For every t≥3, there exists a graph Gtwith
ω(Gt) = 2 and χ(Gt) = t. Note that this theorem allows the graph builder to present the entire
graph at one moment. The graph colorer is helpless when t≥858.
Proof. Let n= 2tand let Gtbe the shift graph Sn. Then ω(Gt) = 2, i.e., Gtis triangle-free. We
know from Problem 1 that χ(Gt) = χ(Sn)≤t. We now show that χ(Gt) = χ(Sn)≥t. Let χ(Sn) = s
and let φbe a proper coloring of Snusing colors from {1,2, . . . , s}. For each b= 1,2, . . . , n, let
Ab={φ({a, b}) : 1 ≤a < b ≤n}. We claim that the sets A1, A2, . . . , Anare distinct and thus
n≤2s, i.e., 2t≤2sand t≤χ(Sn). In fact, we make the even stronger claim that Ac*Abwhen
1≤b < c ≤n. To the contrary suppose that there is some pair b, c with 1 ≤b<c≤nfor which
Ac⊆Ab. Let α=φ({b, c}). Then α∈Acwhich implies α∈Ab. It follows that there is some
integer awith 1 ≤a < b for which φ({a, b}) = α. But this implies that φassigns color αto the
adjacent vertices {a, b}and {b, c}. The contradiction completes the proof.
Solution 2. We prove the following theorem: For every n≥1, there is a strategy Snfor con-
structing a tree Tnthat will force any on-line coloring algorithm to use at least ndifferent colors.
Note that Alice can simply follow strategy S859 to destroy Bob.
Proof. Strategy S1is simply to present a single vertex. Clearly, this requires any on-line algorithm
to use at least one color. Now suppose that for some integer kwith 1 ≤k, we have strategies S1,
S2, . . . , Skso that for each i= 1,2, . . . , k, strategy Siwill build a tree Tithat will force any on-line
coloring algorithm to use at least icolors.
Strategy Sk+1 unfolds as follows. First, follow strategies S1,S2, . . . , Skindependently, i.e., build a
tree T1requiring the colorer to use 1 color. Then start over and build a tree T2requiring the colorer
to use at least 2 colors. Start over and build T3requiring the colorer to use at least three colors,
etc. Furthermore, there are no edges between vertices in Tiand Tjwhen 1 ≤i<j≤k. Then for
each i= 1,2, . . . , k, choose a vertex xi∈Tiso that colorer has assigned distint colors to the vertices
in {x1, x2, . . . , xk}. The fact that such a choice can be made can easily be established by a second
induction, i.e., x1is the single vertex in T1and if x1, x2, . . . , xihave been chosen and i<k, then
there are at least i+ 1 different colors used on the tree Ti+1 so there is some vertex xi+1 ∈Ti+1 for
which the colorer has used a color distinct from the colors used on x1, x2, . . . , xi.
Finally, the builder adds a new vertex and makes it adjacent to x1, x2, . . . , xk. Clearly this vertex
forces the on-line colorer to use (at least) k+ 1 colors.
pf3

Partial preview of the text

Download Test 2 Solutions - Combinatorial Analysis | MATH 4032 and more Exams Mathematics in PDF only on Docsity!

MATH 4032 Test 2 Solutions, April 11, 2008, WTT

Problem 1. Let n ≥ 3 and let Sn denote the shift graph with index set { 1 , 2 ,... , n}. Show that if k is a positive intger and n ≤ 2 k, then χ(Sn) ≤ k.

Proof. We show that the shift graph Sn has a k-coloring φ when n ≤ 2 k. We begin by remarking that there are 2k^ subsets of { 1 , 2 ,... , k}. We label them as A 1 , A 2 ,... , A 2 k from smallest to largest. Since n ≤ 2 k, it follows that for each vertex {a, b} in the shift graph Sn with 1 ≤ a < b ≤ n, we may choose an element φ({a, b}) = α ∈ Aj − Ai. Such a choice is possible since |Aj | ≥ |Ai| and they are distinct subsets of { 1 , 2 ,... , k}. We claim that φ is a proper coloring of Sn. To see that this statement is true, let x and y be adjacent vertices in Sn. Then, we may assume that there are integers a, b and c with 1 ≤ a < b < c ≤ n so that x = {a, b} and y = {b, c}. Then φ assigns x a color that belongs to Ab − Aa while it assigns y a color from Ac − Ab. It follows that φ(x) 6 = φ(y).

Problem 2. Bob says that he has a secret method that will color on-line any graph with maximum clique size 2 using at most 857 colors. Alice says that Bob is out to lunch. State and prove a theorem that explains why Alice is right.

Solution 1. We prove the following theorem: For every t ≥ 3, there exists a graph Gt with ω(Gt) = 2 and χ(Gt) = t. Note that this theorem allows the graph builder to present the entire graph at one moment. The graph colorer is helpless when t ≥ 858.

Proof. Let n = 2t^ and let Gt be the shift graph Sn. Then ω(Gt) = 2, i.e., Gt is triangle-free. We know from Problem 1 that χ(Gt) = χ(Sn) ≤ t. We now show that χ(Gt) = χ(Sn) ≥ t. Let χ(Sn) = s and let φ be a proper coloring of Sn using colors from { 1 , 2 ,... , s}. For each b = 1, 2 ,... , n, let Ab = {φ({a, b}) : 1 ≤ a < b ≤ n}. We claim that the sets A 1 , A 2 ,... , An are distinct and thus n ≤ 2 s, i.e., 2t^ ≤ 2 s^ and t ≤ χ(Sn). In fact, we make the even stronger claim that Ac * Ab when 1 ≤ b < c ≤ n. To the contrary suppose that there is some pair b, c with 1 ≤ b < c ≤ n for which Ac ⊆ Ab. Let α = φ({b, c}). Then α ∈ Ac which implies α ∈ Ab. It follows that there is some integer a with 1 ≤ a < b for which φ({a, b}) = α. But this implies that φ assigns color α to the adjacent vertices {a, b} and {b, c}. The contradiction completes the proof.

Solution 2. We prove the following theorem: For every n ≥ 1, there is a strategy Sn for con- structing a tree Tn that will force any on-line coloring algorithm to use at least n different colors. Note that Alice can simply follow strategy S 859 to destroy Bob.

Proof. Strategy S 1 is simply to present a single vertex. Clearly, this requires any on-line algorithm to use at least one color. Now suppose that for some integer k with 1 ≤ k, we have strategies S 1 , S 2 ,... , Sk so that for each i = 1, 2 ,... , k, strategy Si will build a tree Ti that will force any on-line coloring algorithm to use at least i colors. Strategy Sk+1 unfolds as follows. First, follow strategies S 1 , S 2 ,... , Sk independently, i.e., build a tree T 1 requiring the colorer to use 1 color. Then start over and build a tree T 2 requiring the colorer to use at least 2 colors. Start over and build T 3 requiring the colorer to use at least three colors, etc. Furthermore, there are no edges between vertices in Ti and Tj when 1 ≤ i < j ≤ k. Then for each i = 1, 2 ,... , k, choose a vertex xi ∈ Ti so that colorer has assigned distint colors to the vertices in {x 1 , x 2 ,... , xk}. The fact that such a choice can be made can easily be established by a second induction, i.e., x 1 is the single vertex in T 1 and if x 1 , x 2 ,... , xi have been chosen and i < k, then there are at least i + 1 different colors used on the tree Ti+1 so there is some vertex xi+1 ∈ Ti+1 for which the colorer has used a color distinct from the colors used on x 1 , x 2 ,... , xi. Finally, the builder adds a new vertex and makes it adjacent to x 1 , x 2 ,... , xk. Clearly this vertex forces the on-line colorer to use (at least) k + 1 colors.

Problem 3. Explain why the intervals shown below do not form a wall. Nevertheless they form an interval representation of an interval graph G. Using the First Fit Algorithm, find the maximum clique size ω(G) and chromatic number χ(G) of this graph.

x

The intervals do not form a wall since the interval x which occurs at level 3 does not overlap an interval at level 1 (there are other intervals that have a problem too). The output of applying First Fit—using the ordering by left end points is shown. Note that the largest color used is 3 and that when color 3 is used, the intervals overlapping the left end point of the interval form a clique of size 3. Thus, ω(G) = χ(G) = 3.

Problem 4. Shown below is a wall with a set of vertical lines forming a transversal. Carry out the Academic Labeling Algorithm for the first five levels.

A B^ C

D

A

B C

D

C A A B

B

A D B

D

A

A A A A

A A A A

A

A

A

C A

C B

C B C

D D D D

D

D

D D D D

D D

D D

Note: In the interests of clarity, in carrying out the Academic Labeling Algorithm, we have written the letters just below and to the right of the grid point where they would normally be written.

Problem 5. State Kierstead and Trotter’s theorem concerning on-line coloring of interval graphs.

Theorem. There is an on-line algorithm for coloring interval graphs such that for each k ≥ 1, if the maximum clique size of the graph presented thus far is k, then at most 3k − 2 colors have been used. This result is best possible.