generated from vagdur/LaTeX-Paper-Template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexercise_session9.tex
171 lines (119 loc) · 12.6 KB
/
exercise_session9.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
\documentclass[nobib]{tufte-handout}
\title{Exercise session 9: Connectivity, planarity, colourings $\cdot$ 1MA170}
\author[Vilhelm Agdur]{Vilhelm Agdur\thanks{\href{mailto:vilhelm.agdur@math.uu.se}{\nolinkurl{vilhelm.agdur@math.uu.se}}}}
\date{6 November 2023}
%\geometry{showframe} % display margins for debugging page layout
\usepackage{graphicx} % allow embedded images
\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio}
\graphicspath{{graphics/}} % set of paths to search for images
\usepackage{amsmath} % extended mathematics
\usepackage{booktabs} % book-quality tables
\usepackage{units} % non-stacked fractions and better unit spacing
\usepackage{multicol} % multiple column layout facilities
\usepackage{lipsum} % filler text
\usepackage{fancyvrb} % extended verbatim environments
\fvset{fontsize=\normalsize}% default font size for fancy-verbatim environments
\usepackage{color,soul} % Highlights for text
% Standardize command font styles and environments
\newcommand{\doccmd}[1]{\texttt{\textbackslash#1}}% command name -- adds backslash automatically
\newcommand{\docopt}[1]{\ensuremath{\langle}\textrm{\textit{#1}}\ensuremath{\rangle}}% optional command argument
\newcommand{\docarg}[1]{\textrm{\textit{#1}}}% (required) command argument
\newcommand{\docenv}[1]{\textsf{#1}}% environment name
\newcommand{\docpkg}[1]{\texttt{#1}}% package name
\newcommand{\doccls}[1]{\texttt{#1}}% document class name
\newcommand{\docclsopt}[1]{\texttt{#1}}% document class option name
\newenvironment{docspec}{\begin{quote}\noindent}{\end{quote}}% command specification environment
\include{mathcommands.extratex}
\begin{document}
\maketitle% this prints the handout title, author, and date
\begin{abstract}
\noindent
We consider the notion of $k$-connectivity, which is a more robust version of the normal notion of connectedness. Then, we investigate how one may draw a graph on paper, and learn about planarity. Finally, we think about colourings of graphs, both the vertices and the edges.
\end{abstract}
\section{Connectivity}
Imagine you are tasked with designing the Swedish electricity network. One of your interns comes to you with a terrible proposal which isn't even connected. You yell at them a bit, and they add a single edge to make it connected.
You yell at them again, telling them it needs to be \emph{more} connected than that. What if a Russian operative or an explosive moose destroys that single edge? Exasperated, your intern asks you what you mean by ``more connected'' than just being connected.
\begin{xca}
What \emph{do} you mean?\sidenote[][-1cm]{There are many possible things you could mean by this, and there are many many papers about different versions. Try to think about what you are trying to defend against.
Are you worried about trees falling in storms and severing the electricity mains, or are you worried about Russians sneaking in and attempting to sabotage our infrastructure? Do these threats give you different notions of connectivity to strive for?}
\end{xca}
After much debating on this issue, considering storms and explosive meese and Russians, you get a call from Regeringskansliet. This is 2023: Russia is the only relevant threat, worrying about storms and climate change is for the future. You have intel that the Russian approach will be to blow up substations, not the wires themselves,\sidenote[][]{That is, they're destroying vertices, not edges.} and your goal is to maximize the number of substations they have to blow up in order to disconnect the entire network.
After some work, your team has come up with three candidate definitions of the \emph{connectivity} $\kappa(G)$ of a graph:
\begin{enumerate}
\item A graph $G$ is $k$-connected if it has more than $k$ vertices, and for any set of less than $k$ vertices, removing those vertices does not disconnect $G$. The \emph{connectivity} $\kappa(G)$ is the greatest $k$ for which $G$ is $k$-connected.
\item For any two vertices $v, w \in G$, we say that a set $X$ \emph{separates} $v$ from $w$ if $v, w \not\in X$ and every path from $v$ to $w$ contains at least one vertex from $X$. Let the minimum size of a set that separates $v$ from $w$ be denoted $\kappa(v,w)$, and then define the \emph{connectivity} of $G$ to be
$$\kappa(G) = \min_{\substack{v, w \in V\\v\sim w \not\in E}} \kappa(v,w).$$
\item For any two vertices $v, w \in G$, define $\kappa(v,w)$ to be the maximum size of a set of disjoint paths from $v$ to $w$.\sidenote[][]{That is, a set $W$ of paths from $v$ to $w$, such that for any two paths $P, P' \in W$, $V(P) \cap V(P') = \{v,w\}$.} Define the \emph{connectivity} of $G$ to be
$$\kappa(G) = \min_{\substack{v, w \in V\\v\sim w \not\in E}} \kappa(v,w).$$
\end{enumerate}
\begin{xca}
Prove that these definitions are in fact all equivalent.\sidenote[][]{The trickiest part of this is to show that the two different definitions of $\kappa(v,w)$ are equivalent. There is a clever quick proof of this using another flow graph construction (and perhaps a clever construction using duality for linear programming, of which max-flow min-cut is a special case), but it can also be done with a more hands-on approach. Make an attempt at it, but if you get stuck completely, move on to the other exercises.}
\end{xca}
After doing all this work, you get another call from Regeringskansliet. It turns out that the Russians have spent all their military resources on their invasion of Ukraine, so there's only one special ops team left to assault the Swedish electricity network. Thus, you only need to make sure the network is $2$-connected in order to thwart Putin.
\begin{xca}
What can you say about the structure of a $2$-connected graph?\sidenote[][]{This exercise is intentionally very vague. We will be proving some structure theorems about $2$- and $3$-connected graphs in the next lecture, so this exercise is intended for you to get a feel for what they look like. Work on it until you run out of ideas, and then move on. Or look in last year's lecture notes for the theorem statements and try to prove them for yourselves, without looking at the proofs from last year.}
\end{xca}
\section{Planarity}
Consider the map of England and Wales given in Figure \ref{fig:england_wales_map}.
\begin{figure}
\centering
\includegraphics[width=0.8\textwidth]{graphics/L9_connectivity_planarity_colouring/england_wales_map.png}
\caption[][1.5cm]{A map of England, divided into various areas of land. For the purposes of this exercise, ignore the existence of Anglesey, Isle of Man, Isle of Wight, and all other smaller islands, and pretend like the four-way meeting of Northampton, Westminster, Arundel \& Brighton, and Portsmouth doesn't exist -- let us say that Northampton and Arundel \& Brighton have a stretch of border, instead.}
\label{fig:england_wales_map}
\end{figure}
There are two ways to turn this map into a graph. One way is to consider the vertices to be wherever three areas meet (considering the ocean/Scotland to be one area), and the edges to be the border lines between the areas. The other way is to consider the vertices to be the little cross icons (including an imaginary one in the ocean, or in Scotland), and draw an edge between two of them if their areas share a border.
\begin{xca}
Draw both of these graphs.\sidenote[][]{Or, if you quite reasonably don't want to do this much drawing, pretend like a terrible flood has drowned all of the South, Midlands, and Wales, and just draw the two graphs for the northern parts of the map.}
\end{xca}
\begin{xca}
We could of course have done this for any map. The crucial property of the graph we got by taking borders as edges is that no edges ever cross in our drawing of the graph. An embedding of a graph with this property is called \emph{planar}, and a graph which can be embedded in such a way is also called planar. A graph with a particular embedding fixed is called a \emph{plane} graph.
Given any planar embedding of a graph, we can in fact derive another graph like the one we got by having the crosses be vertices and drawing edges between adjacent regions. Can you give a mathematical definition of this \emph{planar dual} of an embedding of a planar graph?\sidenote[][]{Consider in particular the fact that a planar embedding of a graph can have things happen that cannot happen if we got it from a map. In particular, what happens if the graph we are embedding has vertices of degree one or two? The map will, as you can convince yourself, always have minimum degree three.
Another thing that can happen in general, but does not in the example we gave, is the situation at the France-Spain-Andorra borders.}
\end{xca}
\begin{xca}
What happens if you repeat the process of taking the planar dual, taking the dual of the dual?
\end{xca}
\begin{xca}
Given a planar graph, there can be more than one way of embedding it in the plane to get a plane graph. Do these different ways always give rise to the same planar dual?
\end{xca}
Finally, notice how we can in fact consider the plane graph $G$ and its planar dual $G^*$ to have the \emph{same} edge set, by identifying an edge in $G$ with the edge in $G^*$ which crosses it. So the following statement actually makes sense:
\begin{lemma}
Suppose $G = (V,E)$ is some plane graph, and $G^* = (F, E)$ its planar dual. For any set of edges $S$, $(V, S)$ is a spanning tree if and only if $(F, E \setminus S)$ is a spanning tree of $G^*$.
\end{lemma}
\begin{xca}
Prove this.\sidenote[][]{If you're feeling ambitious, you could also show that, if we attach weights to the edges, the minimum spanning tree of $G$ corresponds to a maximum spanning tree of $G^*$. If you're feeling less ambitious, skip this exercise -- we will give a proof in the lecture on this stuff.}
\end{xca}
\section{Vertex colourings}
We already gave a definition of a vertex colouring in our last lecture, but let us restate it here as well:
\begin{definition}
A \emph{$k$-colouring} of a graph $G = (V,E)$ is a function $c: V \to [k]$, where we think of the numbers $1,2,\ldots,k$ as colours, such that no two adjacent vertices are sent to the same colour.\sidenote[][]{On rare occasions, we will want to think about colourings that do not necessarily fulfill this condition. Then we will call those colourings \emph{improper}, and the ones with the property will be \emph{proper colourings}.} The \emph{chromatic number} of a graph $G$, denoted $\chi(G)$, is the least integer $k$ such that $G$ has a $k$-colouring.
\end{definition}
Let us also give an exercise here that we gave in the lecture where we stated this definition:
\begin{xca}
For a graph $G = (V,E)$, let $\Delta = \max_{v \in V} d_v$ be the maximum degree of $G$. Show that\sidenote[][]{How would you colour a graph with a greedy algorithm?}
$$\chi(G) \leq \Delta + 1.$$
\end{xca}
Next, let us look at a definition:
\begin{definition}
Let $G = (V,E)$ be some graph with a $k$-colouring $c: V \to [k]$. Let $a, b \in [k]$ and let $G(a,b) = G[c^{-1}(\{a,b\})]$ be the induced subgraph of just vertices coloured $a$ or $b$. An \emph{$(a,b)$-component}, also known as a \emph{Kempe chain}, of $G$ is a connected component of $G(a,b)$. The operation of swapping the two colours in a Kempe chain is called a \emph{Kempe change}.
\end{definition}
\begin{xca}
Convince yourselves that what you get after a Kempe change is still a valid $k$-colouring.
\end{xca}
Let us finish off with a few exercises that aren't about the exact theorems we will be proving in the lecture, but are still useful for learning to think about colourings.
First, a fairly easy one, once you see the argument:
\begin{xca}
Show that, for any graph $G = (V,E)$, it holds that
$$\abs{E} \geq \binom{\chi(G)}{2}.$$
\end{xca}
Then, a slightly trickier one:
\begin{xca}
Let $G$ be the infinite graph whose vertices are the points of $\R^2$, and where there is an edge $x \sim y$ whenever $\norm{x - y} = 1$. What bounds can you find for the chromatic number of $G$?\sidenote[][-1cm]{It should be possible for you to find both a lower bound and an upper bound -- the best you can reasonably find limits it to a range of four integers. Up until 2018, these were the best known bounds -- then the range was shrunk to just three integers. The exact value is still unknown.}
\end{xca}
Finally, one of somewhat unknown difficulty:\sidenote[][]{I stole it from an exercise sheet for a graph theory course at Oxford. It looks fun, but I haven't actually solved it myself.}
\begin{xca}
Find two graphs $G_1 = (V_1, E_1)$, $G_2 = (V_2, E_2)$, such that $V_1 \cap V_2 = \{u, v\}$, $u \sim v \not\in E_1 \cup E_2$, and $\chi(G_1 \cup G_2) > \max(\chi(G_1), \chi(G_2))$, where by $G_1 \cup G_2$ we mean the graph $(V_1\cup V_2, E_1 \cup E_2)$. How big can the difference be?
\end{xca}
%\bibliography{references}
%\bibliographystyle{plainnat}
\end{document}