generated from vagdur/LaTeX-Paper-Template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
lecture12_solutions.tex
120 lines (101 loc) · 3.66 KB
/
lecture12_solutions.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{amssymb, amsmath}
\usepackage{amsthm}
\usepackage[margin = 4cm]{geometry}
\setlength{\parindent}{0pt}
\newtheorem{exercise}{Exercise}
\newenvironment{solution}{\begin{proof}[Solution]\renewcommand{\qedsymbol}{}\ignorespaces}{\end{proof}}
\title{Solutions to Exercises in Lecture 12}
\author{Jón Hákon Garðarsson}
\date{\today}
\begin{document}
\maketitle
\begin{exercise}
Prove the second half of lemma 6.
\end{exercise}
\begin{solution}
If \(G\) has no two-connected blocks, then all of its blocks must be \(K_2\) or an isolated vertex.
These blocks are clearly all two-colourable.
Now use the algorithm in exercise 2 to complete the colouring.
If there are no edges, then we can clearly colour the graph with only one colour.
\end{solution}
\begin{exercise}
Give an algorithm that permutes the colours of the blocks.
\end{exercise}
\begin{solution}
The block graph forms a tree.
Pick a block as a root and keep its colouring.
Now until we hit the leaves, do the following.
\begin{enumerate}
\item Permute the colours of each of the root's children to match the cut vertices of the root.
\item Remove the root from the tree.
\item Each of the children is a root of their own tree, repeat step 1 through 3 on all of them.
\end{enumerate}
This will never run into a conflict because the block graph has no cycles.
\end{solution}
\begin{exercise}
This bound is sometimes sharp.
Try to think of a planar graph that is not three-colourable.
Can you think of two examples, neither of which contains the other?
\end{exercise}
\begin{solution}
The graph \(K_4\) is an example.
Another one is the wheel with five spokes, \(W_5\).
Neither of these is contained in the other; there are no four vertices in \(W_5\) pairwise adjacent, and \(K_4\) cannot contain \(W_5\) because it has fewer vertices.
\end{solution}
\begin{exercise}
Prove that every tree is two-colourable.
\end{exercise}
\begin{solution}
Pick a vertex as the root and colour it.
Now until we hit the leaves, do the following.
\begin{enumerate}
\item Colour all of the root's children the other colour.
\item Remove the root from the tree.
\item Each of the children is a root of their own tree, repeat step 1 through 3 on all of them.
\end{enumerate}
This will never run into a conflict because trees have no cycles.
\end{solution}
\begin{exercise}
What is the chromatic number of the hypercube graph in \(n\) dimensions?
\end{exercise}
\begin{solution}
The chromatic number is two for \(n \geq 1\).
We prove this by induction.
The base case is trivial.
Now remember that a \((n + 1)\)-cube is made out of two \(n\)-cubes by adding an edge between the corresponding vertices.
With our induction hypothesis, we can colour one of the copies with two colours.
Now colour the other one with the opposite colouring.
Then when we join the two \(n\)-cubes, we get a proper colouring.
This also shows that a hypercube is bipartite.
\end{solution}
\begin{exercise}
For any graph \(G\) with adjacency matrix \(A_G\), we have
\[
\chi(G) \leq \lambda_\text{max}(A_G) + 1.
\]
\end{exercise}
\begin{solution}
Consider a minimal induced subgraph \(H\) with \(\chi(H) = \chi(G)\).
Let \(v\) be a vertex of \(H\) of minimal degree \(\delta(H)\), in \(H\).
Since \(H\) is minimal, we have that \(H \setminus \{v\}\) is \(\chi(G) - 1\) colourable.
Therefore, we must have
\[
\delta(H) \geq \chi(G) - 1
\]
that is
\[
\chi(G) \leq \delta(H) + 1
\]
because otherwise we could add \(v\) back in and get a \(\chi(G) - 1\) colouring of \(H\).
By lemma 12 we get
\[
\chi(G)
\leq \delta(H) + 1
\leq \lambda_\text{max}(H) + 1
\leq \lambda_\text{max}(G) + 1.
\]
\end{solution}
\end{document}