graph-theory
graph-theory
Graph theory is an area of combinatorics which has lots of fun problems and plenty of
interesting theorems.
This article constitutes my notes for the ‘Graph Theory’ course, held in Lent 2021 at
Cambridge. These notes are not a transcription of the lectures, and differ significantly
in quite a few areas. Still, all lectured material should be covered.
Contents
1 Introduction 2
1.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.1 Common Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.2 Subgraphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1.3 Graph Isomorphism . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1.4 Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1.5 Edges and Distance . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 Trees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3 Bipartite Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2 Hall’s Theorem 13
2.1 Matchings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.2 Matching in Bipartite Graphs . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3 Hall’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.4 Corollaries of Hall’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . 16
3 Connectivity 19
3.1 Measuring Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Preparing for Menger’s Theorem . . . . . . . . . . . . . . . . . . . . . . . 21
3.3 Actually Menger’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.4 Edge Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4 Planar Graphs 25
4.1 Defining Planar Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.2 Which Graphs are Planar? . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5 Graph Colouring 29
5.1 Basic Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.2 Brooks’ Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.3 Colouring Planar Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.4 Colouring Graphs on (Other) Surfaces . . . . . . . . . . . . . . . . . . . . 33
1
Adam Kelly (November 6, 2021) Graph Theory
7 Ramsey Theory 43
7.1 Ramsey Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.2 Infinite Ramsey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.3 Ramsey Numbers for Hypergraphs . . . . . . . . . . . . . . . . . . . . . . 46
7.4 Lower Bounds for Ramsey Numbers . . . . . . . . . . . . . . . . . . . . . 46
§1 Introduction
For many people, ‘Graph Theory’ is a first course in combinatorics. It’s an area with
a big focus on problem solving, and it can give a perspective on many other areas of
mathematics.
§1.1 Definitions
We will begin this handout on graph theory naturally by defining what a graph is.
We have a natural way of drawing a graph. For each vertex we have a point in the plane,
and for each edge we draw a line between the corresponding pair of vertices.
1 2 3 4 5 6
This graph is known as P6 , a path on 6 vertices.
2
Adam Kelly (November 6, 2021) Graph Theory
3
...
7 4
6 5
We call this the cycle on n vertices.
Remark. In our definition of a graph, we don’t allow1 loops, and there cannot be
1
These limitations are inherent in our definition, where we use sets rather than multisets.
3
Adam Kelly (November 6, 2021) Graph Theory
You can define graphs where such things are allowed, but for now we will outlaw them.
We also note that edges are unordered pairs, so for now edges have no direction.
To be slightly more succinct, we will use some shorthand notation.
Notation. If G = (V, E) is a graph, and we have some edge {x, y} ∈ E, we will denote
it by xy. We will also define |G| = |V |, and e(G) = |E|.
§1.1.2 Subgraphs
Now we will define the notion of a subgraph, in the natural way.
We are also going to use some notation for removing an edge or a vertex from a graph.
Of course, when removing a vertex you also have to remove the edges connecting to it.
Notation (Adding/Removing Vertices & Edges). For an edge xy or a vertex x, we
define G − xy to be the graph G with the edge xy removed, and G − x to be G with
vertex x removed, along with all edges incident to x. We will also define G + xy to be
G with the edge xy, and G + x to be G with the vertex x.
An easy way to get a subgraph is by taking a subset of the vertices and seeing what
edges you get from the original graph.
4
Adam Kelly (November 6, 2021) Graph Theory
Now for the following discussion, fix some graph G = (V, E), and let x ∈ V .
x
N (x)
§1.1.4 Connectivity
We now want to define some notion of connectivity, where a vertex u is connected to
vertex v if you can follow some path in the graph to get from u to v.
5
Adam Kelly (November 6, 2021) Graph Theory
x1
x2 v
u
v0
For example, in the graph above we want to say somehow that u and v are connected,
but u and v 0 are not. To do this, we will introduce some more definitions.
w1 . . . wa zwa+2 . . . wb zwb+2 wr ,
Proposition 1.18
∼ is an equivalence relation.
6
Adam Kelly (November 6, 2021) Graph Theory
Proof. Note that ∼ is reflexive and symmetric, and we get transitivity from our
previous proposition.
Example 1.19
In the graph below, the vertices that are the same colour are in the same equivalence
class under ∼.
Proof Sketch. We have d(x, y) = 0, and d(x, y) = d(y, x) (taking the shortest path
7
Adam Kelly (November 6, 2021) Graph Theory
in the opposite direction), and d(x, z) ≤ d(x, y) + d(y, z) as we can find path from
x to z by taking paths from x to y and y to z and adjoining them, and this puts an
upper bound on d(x, z).
§1.2 Trees
We will now discuss a special class of graph called trees. This class is quite restrictive
(yet is quite useful), and they have some nice properties.
To define what a tree is, we first need a notion of when a graph is acyclic.
Two non-acyclic graphs are shown below. The subgraphs isomorphic to C4 and C3
are highlighted.
8
Adam Kelly (November 6, 2021) Graph Theory
9
Adam Kelly (November 6, 2021) Graph Theory
Remark. This proof gives us two leaves in T , which is the best we can hope for consid-
ering Pn is a tree with exactly two leaves.
Tree
Spanning trees are useful in a number of contexts, one of which is giving a sensible
ordering to the vertices of a graph. They are particularly useful because of the following
result.
10
Adam Kelly (November 6, 2021) Graph Theory
Proof. A tree is a minimal connected graph. So take the connected graph and
remove edges until it becomes a minimal connected graph. Then this will be a
subgraph of the original graph, and will thus be a spanning tree.
Bipartite
V =A∪B
An example of a non-bipartite graph is C5 . To see this, we can start by choosing a
vertex to be in A (without loss of generality), then the adjacent vertices must be in
B, but then their adjacent vertices must be in A, but then there is an edge between
two vertices in A. This is shown below.
C5 can’t be bipartite
Proof. Assume that C2k+1 is bipartite. Then there must be disjoint sets A and B,
and as 2k + 1 is odd, we must have (without loss of generality), |A| > |B|. Now
let’s count the edges between A and B. This must be 2|A| and also 2|B|, as every
vertex has degree 2. But then |A| = |B|, which is a contradiction.
11
Adam Kelly (November 6, 2021) Graph Theory
For C2n , we can let vi ∈ A if i is even and vi ∈ B if i is odd. Then a vertex i only
has edges to vertices i − 1 and i + 1 (mod 2), which have opposite parity. Thus all
edges are between A and B, as required.
There is then a natural question: given some arbitrary graph G, how do we determine
if a given graph is bipartite? It turns out that there is a nice check for ‘bipartness’. We
will state the result and then do some setup before we prove it.
We need to first develop some theory regarding circuits. Informally, a circuit is like a
cycle where we can revisit vertices.
Proposition 1.41
An odd circuit contains an odd cycle.
Proof. We will prove this by induction on the length of the circuit. For a circuit of
length 3, the circuit must be a cycle. In general, let C = x1 . . . xl be our circuit. If
x1 , . . . , xl−1 are distinct, then C is a cycle and we are done.
Otherwise, there exists some z ∈ C that is repeated. We write
C = x1 . . . xa zxa+2 . . . xb zxb+2 . . . xl .
We can now prove our original bipartness criterion, that a graph is bipartite if and only
if it contains no odd cycles.
Proof (Bipartite Criterion). If G was bipartite and contained an odd cycle, then
there exists an odd cycle that is bipartite. But this is a contradiction.
Now if G is not bipartite, we can induct on the number of vertices. For |G| = 1,
this holds. Now if G is not connected, let C1 , . . . , Ck be the components of G.
We may now apply our induction to each component of G to obtain a bipartition
V (Ci ) = Ai ∪ Bi for each i ∈ 1, . . . , k. Then A = A1 ∪ . . . Ak and B = B1 ∪ Bk is a
bipartition for the whole graph.
12
Adam Kelly (November 6, 2021) Graph Theory
We may now assume without loss of generality that G is connected. Fix some vertex
v ∈ V , and define
A = {u ∈ V | d(u, v) is odd}
B = {u ∈ V | d(u, v) is even}
§2 Hall’s Theorem
In this section, we will build up our knowledge of matchings so that we can prove the
first theorem of the course – Hall’s theorem.
§2.1 Matchings
An appropriate place to start is probably by defining what a matching is.
M ⊆E
A matching where every vertex is saturated (such as the above) is known as a per-
13
Adam Kelly (November 6, 2021) Graph Theory
fect matching. However, there is no restriction in general on how many vertices are
saturated by a matching.
A B
A is saturated by M ⊆ E
This question is the same as asking when is there a function f : A → B where xf (x) ∈ E
that is an injection.
In trying to answer this question, we might try and think about why it may not be
possible. The simplest reason is when B isn’t large enough to have an injection, when
|B| ≤ |A|. In a similar way, we might have a graph is big enough, but that isn’t true for
a small part of the graph, like below.
B0
A0
What Hall’s theorem says is that this issue is the only obstruction to creating such a
matching.
With the notion of the neighborhood of a set of vertices, we can rephrase the issue
mentioned about as |N (A0 )| < |A0 | for some subset A0 ⊆ A. We will use this notation in
our statement for Hall’s theorem.
Before we prove the theorem, we will need to prepare a little bit.
14
Adam Kelly (November 6, 2021) Graph Theory
In M
Some path P in G
If we saw the path above in the graph, and we knew that the end vertices was not
saturated, then we could change the edges that are in M , so we would still have a
matching. This move will be key in our proof of Hall’s theorem.
Proposition 2.6
If M is a matching in G of maximum size, then there are no M -augmenting paths.
15
Adam Kelly (November 6, 2021) Graph Theory
Proof. First we prove the forward (and easy) direction. Let A0 = {x1 , . . . , xt } ⊆ A.
We have matching edges x1 y1 , . . . , xt yt ∈ M ⊆ E, and thus {y1 , . . . , yt } ⊆ N (A0 ),
and thus |N (A0 )| ≥ |A0 |.
Now for the other (harder) direction, which is that this condition implies the exis-
tence of such a matching. Choose a matching M in G with |M | maximized. For a
contradiction, assume there is some vertex a0 ∈ A that is not saturated by M .
We inductively define sets Ai ⊆ A, Bt ⊆ B by setting A0 = {a0 }, B0 = ∅. We will
maintain, for all t, that
1. |At | = t + 1, |Bt | = t.
2. Every vertex in At ∪ Bt is the endpoint of an alternating path that started at
a0 .
3. At \{a0 } is matched to Bt .
So given At , Bt , we need to define At+1 , Bt+1 .
First consider N (At ). We have |N (At )| ≥ |At | = t + 1 > |Bt |. So N (At )\Bt is
non-empty. So let bt+1 ∈ N (At )\Bt . Observe that bt+1 can be reached along an
alternating path which started at a0 . Call y ∈ At such that ybt+1 ∈ E. Then y can
be reached along an alternating path starting at a0 . Let P = a0 x1 . . . xl y be such
an alternating path. Since a0 x1 6∈ M , xl y ∈ M . Hence P bt+1 is a alternating path.
Now, bt+1 is saturated by M , as otherwise P bt+1 would be an M -augmenting path,
which is a contradiction. So let at+1 bt+1 ∈ M . We claim at+1 6∈ At , since At
is matched to Bt , and bt+1 6∈ Bt . So we may define At+1 = At ∪ {at+1 } and
Bt+1 = Bt ∪ {bt+1 }. We can check that what we claimed before holds.
Since at+1 6∈ At , and bt+1 6∈ Bt , we have |At+1 | = |At | + 1 and |Bt+1 | = |Bt | + 1.
Also every vertex is the endpoint of an alternating path starting at a0 by construc-
tion. Also At+1 \{a0 } is matched to Bt+1 since At \{a0 } is matched to Bt , and by
construction.
This completes the construction of At , Bt for all t. Then if t > |A|, then |At | > |A|,
but At ⊆ A, which is a contradiction.
Corollary 2.8
A k-regular bipartite graph contains a perfect matching.
Proof. Let G = (A ∪ B, E), and let A0 ⊆ A. We want to show that |N (A0 )| ≥ |A0 |
so that we may apply Hall’s theorem.
We will count the number of edges between A0 and N (A0 ) in two different ways.
We know that each vertex in A0 has degree k, so there is k|A| edges. But on the
16
Adam Kelly (November 6, 2021) Graph Theory
other hand, the number of edges in N (A0 ) is |N (A0 )k|. Thus |N (A0 )k| ≥ |A0 |k, so
|N (A0 )| ≥ |A0 |, and by Hall’s theorem there exists a matching saturating A.
We claim that |B| = |A|. Indeed, the number of edges between A and B is k|A| and
is also k|B|, and thus |A| = |B|. So a matching saturating A also saturates B. So
there exists a perfect matching.
We can also consider an extension of Hall’s theorem. Hall’s theorem tells us when, in a
bipartite graph G = (A ∪ B, E), there is a matching saturating A, but what if we only
wanted a matching of size k?
Let’s say that a matching in G has deficiency d if it saturates |A| − d vertices.
Corollary 2.9
Let G be a bipartite graph. Then G contains a matching saturating |A| − d vertices
in A if and only if for all A0 ⊆ A, we have |N (A0 )| ≥ |A0 | − d.
The question is, for what set systems does there exist a system of distinct representatives?
The answer is if they satisfy some Hall-like condition.
17
Adam Kelly (November 6, 2021) Graph Theory
that saturates A.
We check Hall’s condition. Given A0 ⊆ A, then N (A0 ) =
S
Si ∈A0 Si . Thus
[
N (A0 ) = Si ≥ |A0 |,
Si ∈A0
gk H Hgk0
If we had a perfect matching in this graph, then we could pick an element hi in the
(non-empty) intersection of the matched left and right cosets, and then h1 , . . . , hk
would be a set of coset representatives for all of the k left and right cosets.
So we want to show that Hall’s theorem is satisfied. S Given I ⊆ {1, . . . , k}, we want
to show that the number of right cosets intersecting i∈I gi H is at least |I|.
S
Observe that i∈I gi H = |H||I|. Since the right cosets S partition G, and each coset
has size |H|, so the number of right cosets intersecting gi H is at least |I|. Thus
|N ({gi H | i ∈ I})| ≥ |I|, and thus Hall’s theorem is satisfied, and we have a perfect
matching in the graph.
18
Adam Kelly (November 6, 2021) Graph Theory
§3 Connectivity
We have already defined what it means for a graph to be connected, but consider the
following connected graphs:
Clearly these are connected, but they are all ‘connected to different extents’. For exam-
ple, in the first graph, removing any vertex disconnects the graph. In the second graph,
any vertex could be removed and the graph would stay connected. We can also see that
in the first graph, there’s only one path from one vertex to another, whereas in the third
graph there is many. This also seems to correlate with ‘how connected’ a graph is.
19
Adam Kelly (November 6, 2021) Graph Theory
Cut Vertices
With these concepts defined, we can define our ‘deletion’ notion of connectivity.
S
1
n 2
4 =⇒ κ(Cn ) = 2
7
6 5
We can see that the connectivity is at most 3, since that is the degree of each vertex,
and also removing two vertices won’t disconnect the graph. Thus the connectivity
of the Petersen graph is exactly 3.
20
Adam Kelly (November 6, 2021) Graph Theory
We note this immediately implies that G is 1-connected if and only if it’s connected, and
it is 2-connected if and only if it has no cut vertex.
We can note some basic properties of connnectivity.
a
Removing S
S
a
We then have a number of useful lemmas, that we will employ later on.
Notation. We let κa,b (G) be the minimum size of an ab separator.
Lemma 3.10
Let G = (V, E) be a graph. Then κa,b (G) ≥ κa,b (G − v), where v ∈ V and v 6= a, b.
21
Adam Kelly (November 6, 2021) Graph Theory
Lemma 3.11
For a graph G = (V, E), κa,b (G − e) ≥ κa,b (G) = 1, for e ∈ E and a ∼ b.
Lemma 3.12
Let G = (V, E) be a graph with distinct non-adjacent vertices a, b ∈ V . Also let
κa,b (G) ≥ k. Let S be an ab separator in G, and say G − S = A ∪ C, where A is the
connected component containing a. Then define G̃ as the induced graph G[A ∪ S]
with a vertex x joined to all of S. Then κa,x (G̃) ≥ k.
Proof. Suppose for a contradiction, assume this is false and let G be the counterex-
ample that
(1) Minimizes κa,b (G)
(2) Subject to (1), minimizes the number of edges in the graph.
Then we observe that κa,b (G − e) = κa,b (G) − 1 for any edge e ∈ E. We will let
k = κa,b (G).
Claim. There exists an ab separator S with |S| = k so that S 6⊆ N (a) and S 6⊆ N (b).
We first observe that N (a) ∩ N (b) is empty. To see this, let x ∈ N (a) ∩ N (b) and
G0 = G − x. Then κa,b (G0 ) ≥ κa,b (G) − 1, thus there are k − 1 independent paths
P1 , . . . , Pk−1 in G0 , then P1 , . . . , Pk−1 , axb are k independent paths in G, and our
graph would then not be a counterexample.
22
Adam Kelly (November 6, 2021) Graph Theory
We also have κa,x (G̃a ) = k = κb,x (G̃b ). Thus G̃a and G̃b satisfy the theorem, by
minimality.
So we can find independent ax paths P1 , . . . , Pk ∈ G̃a and yb paths Q1 , . . . , Qk ∈ G̃b .
Thus we can find k independent ab paths by concatenation and reordering in G, as
desired.
Remark. It should be noted that we need the non-adjacent condition, otherwise there
is no ab separator. Before we write down the proof, we will isolate some notable facts
about connectivity. Also, this result implies Hall’s theorem.
Another form of Menger’s theorem is more common.
Proof. If u is not adjacent fo v, then apply Menger’s theorem (first form) to find
k-independent uv paths. If they are adjacent, then G0 = G − uv is k − 1 connected,
thus Menger’s theorem (first form) tells us that there are uv independent paths
P1 , . . . , Pk−1 in G − uv. Thus P1 , . . . , Pk−1 , uv are k independent paths. The other
direction is straightforward.
23
Adam Kelly (November 6, 2021) Graph Theory
F is an edge cut
Cut Edge
Now similarly to how we had independent paths before (that didn’t share vertices), we
can define a notion of edge independent paths.
24
Adam Kelly (November 6, 2021) Graph Theory
We are going to prove this by constructing a graph that we can then get the required
result from my applying vertex Menger. The construction will be based on the idea of
a line graph.
e6 e5
e6 e5
G L(G)
§4 Planar Graphs
Informally, a graph is planar if it can be drawn in the plane without any pair of edges
crossing.
For example the cube graph we mentioned earlier is planar, as we can draw it as below.
25
Adam Kelly (November 6, 2021) Graph Theory
No edges cross
in the drawing
Of course, a graph is planar only if there is some drawing where the edges don’t intersect.
For example, we could draw the cube graph as below (where edges intersect), and the
graph would still be planar.
Edges in the
drawing cross
And again, informally this says that a graph is planar if there is some way to draw it in
the plane so that edges don’t intersect.
We can also define the notion of ‘faces’ of a plane graph, by looking at the components.
With this we get a nice relation between the vertices, edges and faces of a plane graph.
26
Adam Kelly (November 6, 2021) Graph Theory
Let G be a connected plane graph with V vertices, E edges and F faces. Then
V − E + F = 2.
Proof. We may assume without loss of generality that G is connected (if not, then
we can add edges until it is connected). Also draw G in the plane so that there is
no edge crossings. Then by Euler’s formula we have V − E + F = 2.
Now since ever face has at least three edges on its boundary and every edge on the
boundary is incident to at most two faces, we obtain
27
Adam Kelly (November 6, 2021) Graph Theory
K2,3
If you play around a bit, you can see that K3,2 is planar, but we get a problem if we try
use K3,3 .
Now these two examples were interesting, but of course we care about whether any graph
is planar. It turns out though that these are (in some sense) the only fundamentally
non-planar graphs, in that any non planar graph will have one of these graphs ‘behind
it’.
To look at this formally, we need to look at the idea of a subdivision.
Lemma 4.10
If G is non-planar, then a subdivision of G is non-planar also.
Proof. Given a plane drawing of the subdivided graph, then by disregarding the
vertices on the subdivided paths, we obtain a plane drawing of G (which is a con-
tradiction).
Corollary 4.11
Subdivisions of K3,3 and K5 are non-planar.
What ties all of this together is Kuratowski’s theorem, which gives us a nice necessary
and sufficient condition for a graph to be planar.
28
Adam Kelly (November 6, 2021) Graph Theory
Proof. Omitted.
We will leave the topic of planar graphs here (for now), but we note that there are some
other interesting notions that are related to planarity. For example, for what graphs is
it possible to draw on a torus with no edge crossings?
§5 Graph Colouring
Informally, a graph colouring is just a way of colouring in different vertices of a graph,
so that adjacent vertices are different colours. An example of a graph colouring is shown
below.
An r-colouring divides up a graph into r different colour classes, where there is only
edges between the different colour classes.
29
Adam Kelly (November 6, 2021) Graph Theory
The case for C2n follows from a more general fact about bipartite graphs.
Proof of Proposition 5.5. Apply the greedy colouring to G with an arbitrary vertex
ordering v1 , . . . , vn . Then we note that
The ‘greedy’ approach need not give you any colouring that’s in any way optimal. For
example, if we have the graph P4 with vertices labelled as below, we get the following
colouring from our greedy approach.
30
Adam Kelly (November 6, 2021) Graph Theory
v3 v2 v3 v2
v1 v4 v1 v4
Proposition 5.7
Let G be a connected graph for which δ(G) < ∆(G). Then χ(G) ≤ ∆(G).
Proof. We find a better ordering to apply the greedy colouring to. First define
vn = v, where d(v) ≤ ∆(G) − 1. Now choose an ordering of v1 , . . . , vn−1 so that
31
Adam Kelly (November 6, 2021) Graph Theory
Or informally: any map can be coloured with only four colours, where neighboring
regions have different colours. Note that this is the duel form of the theorem above.
This theorem was proved in 1976 by Appel & Haken and centers around reducing the
theorem to a large number of cases, that were checked by computer.
We are going to prove two slightly weaker versions, that are still quite interesting.
Proof. We will use induction on n = |G|. For n = 1, this is trivial. Now inductively,
we claim that there is a vertex v with deg(v) ≤ 5. We note
" #
1 X 2E 12
d(x) = ≤6− < 6.
n n n
x∈V
Now we are going to kick it up a notch shortly, by introducing one more ingredient.
Definition 5.11
Given a graph G and an r-colouring of G, let v ∈ V (G), and define the {i, j}-
32
Adam Kelly (November 6, 2021) Graph Theory
We make the following observation, which gives us an extra ‘move’ to use in the stronger
proof
Proposition 5.12
Given a graph G with an r-colouring c, and for i, j ∈ [v] with i, j, we can swap the
colour on an {i, j}-component to obtain a new colouring.
Proof Sketch. This works because of the ‘being reached’ condition in the {i, j}-
component definition.
Now we can prove the five colour theorem, using a lot of the ideas from the proof of the
six colour theorem.
33
Adam Kelly (November 6, 2021) Graph Theory
We may wonder if there is an Euler’s formula for surfaces, and indeed there is, but
instead of equality, we get a bound.
Proposition 5.15
If G = (V, E) is a graph drawn on a surface of genus g, then |E| ≤ 3(|G| − (2 − 2g)).
Proof Sketch. We have 3F ≤ 2E, then apply Euler’s formula for surfaces.
We can now get a bound (similarly to the planar case) on the chromatic number of a
graph drawn on a surface.
34
Adam Kelly (November 6, 2021) Graph Theory
Proof. Let G = (V, E) be a given graph with χ(G) = k. We may assume that G has
the minimum number of edges, subject to χ(G) = k. Observe that δ(G) ≥ k − 1, as
otherwise there would be a vertex v with d(v) = k − 1, and thus χ(G − v) = k − 1,
and thus χ(G) = k − 1. Also k ≤ n, where n = |V |. Now the average degree of each
vertex is " #
1 X 2e E
d(v) = ≤6 1− ,
n n n
v∈V
35
Adam Kelly (November 6, 2021) Graph Theory
In contrast to the chromatic number, it is much easier to get a handle on the edge
chromatic number, as we will see in the following theorem.
Proof. We proceed by induction on e(G). The basis step is trivial, then for the
inductive step we are given a graph G, and let’s assume for a contradiction that
χ0 (G) > ∆ + 1.
By induction, G − e has a ∆ + 1 colouring, so let’s write e = xy with x 6= y ∈ G.
We define vertices y1 , . . . , yk inductively by setting y1 = y. Now assume y1 , . . . , yt
are defined, and the colours missing from y1 , . . . , yt are c1 , . . . , ct respectively. Then
if ct 6∈ {c1 , . . . , ct−1 }, then let yt+1 be so that xyy+1 receives colour ct . Note that
such a vertex exists as otherwise we could recolour xy1 with c1 , xy2 with c2 , and so
on until xyt is with ct , to obtain a ∆ + 1 colouring, which is a contradiction.
Now if ct ∈ {c1 , . . . , ct−1 }, then stop. Say we stop after k steps, so I have defined
y1 , . . . , yk with missing colours c1 , . . . , ck and ck = ci for some i < k. We may
assume that i = 1 (otherwise uncolour the edge xyi and recolour xy1 with c1 , and
so on until xyi−1 with ci−1 ).
Let’s call the colour missing at x, c0 . Consider the {c0 , c1 } component C, containing
y1 . If x 6∈ C, then we can flip colours on C so that c0 is missing at y1 , then colour
xy1 with c0 . Likewise, the {c0 , c1 }-component containing yk must contain x, as
otherwise we flip colours on this component so that the colour c0 is missing at yk .
Then recolour xyk to c0 and xyi to ci for i < k.
Thus x, y1 , yk ∈ C, the {c0 , c1 }-component. But this is impossible since x, y1 , yk all
have one of the colours {c0 , c1 } missing, thus dC (x), dC (y1 ), dC (yk ) ≤ 1. But this is
is impossible for a path or cycle.
Remark. This theorem is not true if we generalize to multigraphs, which are graphs
that have multiple edges between vertices.
36
Adam Kelly (November 6, 2021) Graph Theory
Start here
Proof. If a graph G has an Eulerian circuit, then the degree of each vertex must be
even. This is because a fixed vertex x is entered and exited a fixed number of times.
Now if each vertex of a graph G has even degree, we will apply induction on e(G).
If e(G) = 0, then we are done. Now if d(x) ≥ 1 for all vertices x, then d(x) ≥ 2, and
G contains a cycle C. Define G0 = G − E(C). Let G1 , . . . , Gk be the components
of G0 . The degree of each Gi has all degrees even. Thus by induction, there is an
Eulerian circuit W1 , . . . , Wk for each G1 , . . . , Gk respectively. Thus we can combine
C with W1 , . . . , Wk to obtain an Eulerian circuit for all of G.
Now we are going to define a similar looking notion, but it will not end up being so well
behaved as Eulerian circuits.
Our first question might be ‘is there an iff type condition for Hamiltonian cycles’, and
so far there is no such property known. However there are some results that give us
information about whether a graph is Hamiltonian.
37
Adam Kelly (November 6, 2021) Graph Theory
Let x1 , . . . , x` be the longest path in G. Note that x1 , . . . , x` does not form a cycle,
as otherwise if ` = n, then we have a contradiction, and if ` < n then there exists
y 6∈ {x1 , . . . , x` } that is y ∼ xi . Thus we can find a longer path (which is also a
contradiction).
Now if there exists i ∈ {1, . . . , `−1} so that xi ∼ x` and xi+1 ∼ x1 , then the vertices
x1 , . . . , x` form a cycle. This contradicts the above.
Define
N + (x` ) = {xi | xi−1 ∈ N (Xl ), 2 ≤ i ≤ `}.
We have N + (x` ) ∩ N (x1 ) =, but this is impossible since |N + (x` )| ≥ n/2, |N (x1 )| ≥
n/2, and N + (x` ), N (x1 ) ⊆ {x2 , . . . , x` }. Thus we have a contradiction.
Remark. We never really used this δ(G) ≥ n/2 condition fully. It suffices to have
d(x) + d(y) ≥ n for x 6∼ y.
We can use this same argument to prove a more general result about paths.
Proposition 6.5
Let G be a connected graph. Let k < n and assume δ(G) ≥ k/2. Then G ≥ Pk+1 .
We may wonder in the above if it’s possible to replace ‘path’ with ‘cycle’ in the above.
The answer is, sadly, no.
A natural question is to wonder how many edges are needed to ‘force’ a (for example)
triangle. For a Hamilton cycle, this sort of question would have been a bit strange, and
a more natural question would be what is the minimum value of δ(G) to ensure that
G contains a Hamilton cycle. In the next theorem, we will give a result that answers a
simpler sort of question.
Theorem 6.6
Let G be a graph. If e(G) > n2 (k − 1), then G contains a path of length k.
Proof. We will prove the contrapositive: If G is Pk+1 free, then e(G) ≤ n2 (k − 1).
We will apply induction on n. This is true for n = 2. Then given a graph G on
|G| = n ≥ 3 vertices, if G is disconnected let G1 , . . . , Gk be the components of G.
Then each of these has Gi 6⊇ Pk+1 . Then by induction we have e(Gi ) ≤ n(Gi )(k−1)
2 .
Thus
Xk X n(Gi )(k − 1) k − 1
e(G) = e(Gi ) ≤ = n,
2 2
i=1
38
Adam Kelly (November 6, 2021) Graph Theory
n−1
e(G) − d(v), and also G − v does not contain Pk+1 . Thus e(G − v) ≤ 2 (k − 1). So
n−1 k−1 n
e(G) = e(G − v) + d(v) ≤ (k − 1) + ≤ (k − 1).
2 2 2
Thus we can assume G is connected and d(v) ≥ k2 . We we can apply Proposition 6.5
to find a path of length k, that is, Pk+1 ⊆ G, which is a contradiction.
k
k < n for if k = n then e(G) ≤
[We may also assume 2 (n − 1), which reduces to
showing e(G) ≤ n2 , which is trivial].
Proof. Given a K3 -free graph G and x, y ∈ V such that x ∼ y and d(x) + d(y) ≤ n,
and let m = e(G). Then summing we get
X
d(x) + d(y) ≤ mn.
xy∈E
We have that this is x y d(x)1(xy ∈ E) = x∈V (d(x))2 . Now x∈V d(x) = 2m,
P P P P
n2
mn2 ≥ (2m)2 =⇒ = e(G).
4
To see that this is sharp, consider the complete bipartite graph with n vertices.
Then this has n2 /4 edges, but no triangle. Thus this is sharp.
The next question we are going to answer is how many edges are needed to guarantee
the existence of a Kn subgraph. In the previous theorem, to see that our result was
sharp, we considered the complete bipartite graph on n vertices. To discuss this more
general question, a natural thing to look at is a generalisation of bipartite graphs.
39
Adam Kelly (November 6, 2021) Graph Theory
It’s worth noting that saying a graph is r-partite is the same as saying the graph has
chromatic number of at most r. We care particularly about the case of an r-partite
graph where all possible edges are included.
Now if we consider a complete r-partite graph G on n vertices, with all parts of size n/r,
then we would have n 2 r 1 n2
e(G) = = 1− .
r 2 r 2
The graph G can also have no Kr+1 subgraph, since that would imply there’s an edge
between two vertices in the same part. This gives us a lower bound on the number of
edges needed to have a Kr+1 subgraph, and it turns out that bound is sharp.
Proof. Suppose we have some graph G on n vertices that had no Kr+1 subgraph,
and also that the result holds up to n, r. If r ≥ n then we are clearly done, so we
may suppose that n > r. Let A be a Kr subgraph in G, which must exist by our
assumption. Let B = V − A. Then we have e(G) = e(A) + e(B) + e(A, B), where
e(A, B) denotes the number of edges between vertices in A and B. We have an
upper bound of
1 (n − r)2
r
e(G) ≤ + 1− + (n − r)(r − 1),
2 r 2
as required.
40
Adam Kelly (November 6, 2021) Graph Theory
Definition 6.11
We define Z(n, t) to be the maximum number of edges in a bipartite graph with n
vertices in each part and no Kt,t subgraph.
We really care about Z(n, t) where t is fixed and n is large. We will prove the following
theorem.
Theorem 6.12
We have Z(n, t) ≤ t1/t n2−1/t + tn for all n.
\
N (x) ≤ t − 1,
x∈S
as otherwise we would have a Kt,t subgraph. Then averaging over such subsets S,
we have −1 X \
n
N (x) ≤ t − 1.
t
S⊆A, x∈S
|S|=t
1(y ∼ x1 , y ∼ x2 , . . . , y ∼ xt )
X \ X X
N (x) =
S⊆A, x∈S S={x1 ,...,xt }, y
|S|=t S⊆A
1(y ∼ x1 , y ∼ x2 , . . . , y ∼ xt )
X X
=
y S={x1 ,...,xt },
S⊆A
X d(y)
= .
y
t
We may assume that d(y) ≥ t − 1 for all y, as otherwise we can add an edge incident
with y and not create a Kt,t subgraph. Then by convexity and since d(y) ≥ t − 1,
we have
X d(y) X d
d
≥ =n ,
y
t t t
y∈B
41
Adam Kelly (November 6, 2021) Graph Theory
where d = n1 y∈B d(y) = m/n. Combining this inequality with what we obtained
P
previously, we get the bound
n dt
d(d − 1) · · · (d − t + 1) (d − t + 1)t
t − 1 ≥ n = n ≥ ,
t
(n − 1) · · · (n − t + 1) nt−1
While we do have this upper bound, we don’t know Z(n, t) for most values of n. We do
know, for example, that
for all large n, and some constants c, c0 . Still we don’t even know t = 4. The constructions
are based on finite geometry. As an example, we will sketch the construction that shows
the bound cn3/2 ≤ Z(n, 2).
Theorem 6.13
For infinitely many n we have Z(n, 2) ≥ cn3/2 for c > 0.
Proof Sketch. Let p be a prime, and considera (Z/pZ)2 . Define a line L = {(x, ax +
b) | x ∈ Z/pZ}, for some a, b ∈ Z/pZ with a 6= 0.
We need the following straightforward facts:
1. Two distinct lines intersect in at most one point.
2. Each line contains p points.
3. There are p2 points, p(p − 1) ≈ p2 linesb .
We are going to construct a graph bipartite graph G = (A∪B, E) where every vertex
in A corresponds to a line and every vertex in B corresponds to a point. There’s
approximately p2 vertices in each of these parts, so we will take n to be about p2 .
Then for ` ∈ A and x ∈ B, we define ` ∼ x if x ∈ `. Then e(G) ≈ p2 · p = p3 = n3/2 .
To see this graph works, if G contained a K2,2 then there would exist two lines `1 ,
`2 with |`1 ∩ `2 | ≥ 2, which is a contradiction.
a
You can consider this to be like a torus.
b
To make this a propper proof, we would have to fix all of the approximations
42
Adam Kelly (November 6, 2021) Graph Theory
Using this function we can restate some of the results we previously obtained, such as Ma-
tel’s theorem giving us ex(n, K3 ) ≤ n2 /4, and Turan’s theorem giving us ex(n, Kr+1 ) ≤
(1 − 1/r)n2 /2.
Looking a bit more at Turan’s theorem, if we consider things asymptotically on the scale
of n2 , we get a weaker version of Turan that looks like
ex(n, Kr+1 ) 1
lim n
= 1− .
n→∞
2
r
The Erdős-Stone Theorem allows us to get these types of results generally, using just
the chromatic number of the graph.
Proof. Omitted
§7 Ramsey Theory
We are going to jump into Ramsey theory, an area of graph theory that has a similar
flavour to previous section. Ramsey theory is often described as the collection of results
showing ‘complete disorder is impossible’, but its easiest to see what we study with an
example.
a
Note that we don’t have any restrictions on the colouring.
43
Adam Kelly (November 6, 2021) Graph Theory
Proof. Consider some vertex v in the graph. We know that at least three incident
edges must be the same colour, so suppose (without loss of generality) that they are
red, with endpoints v1 , v2 , v3 . Then either v1 v2 v3 is a monochromatic blue triangle,
or some vi vj is red, in which case vvi vj is a monochromatic red triangle.
Straight away we might wonder about K4 . Does there exist some large enough n such
that every 2−colouring of Kn contains a monochromatic K4 ? This is the type of problem
we will consider in Ramsey theory.
Proof. We will begin by proving a small lemma. For s, t ≥ 2, we define the Ramsey
number R(s, t) to be the smallest n such that every red/blue colouring of Kn either
contains a red Ks or a blue Kt .
We will prove that for all s, t ≥ 2,
s+t−2
R(s, t) ≤ . (†)
s−1
Claim. Assume that R(s − 1, t) and R(s, t − 1) exist. Then R(s, t) exists and
R(s, t) ≤ R(s − 1, t) + R(s, t − 1).
Let a = R(s − 1, t) and b = R(s, t − 1) and let c be a red/blue colouring of Ka+b .
Let x be a vertex in this graph, and we note d(x) = a + b − 1. Then x has either
(i) a red neighbors
(ii) b blue neighbors.
In case (i), let Nr be the red neighbors of x, and note |Nr | ≥ a. Then the colouring
induced on Nr contains either a Ks−1 in red or a Kt in blue. In the latter case
we are done, and in the former case we can add x to Ks−1 to finish. Case (ii) is
symmetric, and thus our claim is true.
Now we can return to showing (†). We are going to induct on s + t. Note that
R(s, 2) = s and R(2, t) = t. Inductively assume that R(s − 1, t), R(s, t − 1) exist
44
Adam Kelly (November 6, 2021) Graph Theory
Ramsey numbers are generally quite mysterious. We know for example that R(3, 3) = 6,
R(4, 4) = 18, and R(3, 7) = 23, but even something like R(5, 5) is unknown, and our
best bounds are 43 ≤ R(5, 5) ≤ 48. The numbers R(3, t) are quite well understood, and
for > 0 we have (for sufficiently large t)
2
t2
1 t
+ε 6 R(3, t) 6 (1 + ε) .
4 log t log t
A big question though is getting a lower bound on R(t), which is currently nowhere as
close as our upper bound.
Notation. For a set X, we let X (r) = {A ⊆ X | |A| = r}, the set of r element subsets
of X.
Our motivating question will be the following: given a 2-colouring of the complete count-
able graph, what can we say about the monochromatic structures that appear in the
colouring? Obviously by Ramsey’s theorem we can find arbitrarily large monochro-
matic complete graphs, but is it possible to find a monochromatic complete countable
subgraph?
It turns out that by another theorem of Ramsey, it is always possible to find such a
subgraph.
45
Adam Kelly (November 6, 2021) Graph Theory
This then gives us an infinite collection x1 , x2 , . . . so that xi xj with i < j are given
colour ci . Then since both
Remark. By keeping track of the sizes of sets at each step, we can adapt this proof to
give us a different proof of the finite case.
And of course, it’s not guaranteed that these exist, but it is possible to show that they
do.
Proof. Omitted.
46
Adam Kelly (November 6, 2021) Graph Theory
t − 1 vertices
t − 1 blobs
This clearly doesn’t have a monochromatic Kt subgraph, and we can compute the num-
ber of vertices is (t − 1)2 , giving
R(t) ≥ (t − 1)2 .
However, it turns out that this quadratic bound is, quite frankly, awful. To show some-
thing better, we are going to need a new idea – considering random graphs and using
probability.
Once we have shown this, we will then note for n = 2t/2 that the RHS of this
inequality is strictly less than 1, which implies that is some colouring of Kn with
no monochromatic Kt .
To prove this inequality, we first fix some A ⊆ Kn with |A| = t, and note that
t
P(A(2) is monochromatic) = 2 · 2−(2) .
Then to show that this is less than 1 for n = 2t/2 , we can take
!t
nt t(t−1) 21/t
n −( t ) t−1
2 2 2 ≤2 2 2 = · n2− 2 ,
t t! t!1/t
The proof idea we employed is known as the probabilistic method, and is an immensely
powerful technique that can be used to show all kinds of interesting results.
Getting much better bounds on R(t) is still a major open problem, and surprisingly
the bounds we have proved so far aren’t far from state of the art – the base of the
47
Adam Kelly (November 6, 2021) Graph Theory
exponential term is still the same in best known results. Also, there’s currently no
known construction that gives an exponential lower bound directly.
Remark. For our ‘R(t) ≥ 2t/2 ’ result, we were working with G(n, 1/2), which is the
same as sampling uniformly on a graph on {1, . . . , n}.
Another use of random graphs is in the Zarankiewicz problem. Recall our definition of
Z(n, t). We proved already that Z(n, t) ≤ 2n2−1/t , and we hadn’t yet proved a lower
bound. We are able to come up with one using the probabilistic method.
Theorem 8.2
2
We have Z(n, t) ≥ 14 n2− t+1 .
Proof. Let G be a random bipartite graph with parts A, B and |A| = |B| = n.
Then, define G
e to be G with an edge removed from each Kt,t in G. Then
e ≥ e(G) − # (Kt,t ’s in G) ,
e(G)
We have E[e(G)] = pn2 , and also E [#(Kt,t ’s in G)] can be written using indicator
functions as
2
n
1 A , B induce a Kt,t =
2
X
0 0
pt ,
E
0 0
t
A ,B
48
Adam Kelly (November 6, 2021) Graph Theory
We can prove that graphs with large girth can also have arbitrarily large chromatic
number. We will first need to note that if G is a graph, then
n
χ(G) ≥ .
α(G)
Theorem 8.5
For every k, G ∈ N, there exists a graph G with girth(G) ≥ g and χ(G) ≥ k.
1
−1
Proof. Let G be a random graph sampled from G(n, p) where p = n g . We form
the new graph G
e be the graph where we remove a vertex from each cycle of length
g − 1.
We are going to do a few steps.
e ≥ n/2) → 1 as n → ∞.
1. We want to show that P(|G|
e ≥ |G|/α(
2. We want to use χ(G) e G),
e noting that α(G) e ≤ α(G). To do this, we
will prove P(α(G) ≤ n/2k) → 1 as n → ∞.
Step 1. Let Xi be the number of cycles of length i in G, and let X = g−1
P
i=1 Xi . We
can write
49
Adam Kelly (November 6, 2021) Graph Theory
Taking expectations,
X
E[Xi ] = P (x1 . . . xi are a cycle in G) ≤ ni pi .
x1 ,...,xi ∈[n]
E[X]
P(X > n/2) ≤ →0 as n → ∞,
n/2
e ≥ n/2) → 1, as we needed.
thus P(|G|
Step 2. Let Yt be the number of independent sets of size t = n/2k. Then
1 (I is independent) ,
X
Yt =
I∈[n](t)
and with p = n1/g−1 and t = n/2k, so the RHS tends to 0 as n tends to infinity.
Then
P(Yt ≥ 1) ≤ E[Yt ] → 0,
and P(Yt ≥ 1) = P(α(G) ≥ t) = P(α(G) ≥ n/2k). Putting that together, χ(G)
e ≥
|G| |G| n/2
≥ α(G) ≥ n/2k ≥ k holds with probability tending to 1 as n tends to infinity,
e e
α(G)
e
finishing our proof.
Theorem 8.6
Let G be sampled from G(n, p(n)), and let t ∈ N. Then limn→∞ P(G contains a Kt ) →
2 2
1 if p(n)n t−1 → ∞. Moreover, limn→∞ P(G contains Kt ) → 0 if p(n)n t−1 → 0.
50
Adam Kelly (November 6, 2021) Graph Theory
1 (G[A] is complete) ,
X
Xt =
A∈[n](t)
and
X n (t)
E[Xt ] = P (G[A] is complete) = p2 .
(t)
t
A∈[n]
(t) t
2 ( t ) 2
We note that n
p 2 ≤ npt (2 ) = n t−1 p
2
, and this tends to 0 or ∞ if n t−1 p
t
tends to 0 or ∞ respectively. So
2
P(G contains a Kt ) = P(Xt ≥ 1) ≤ E[Xt ] → 0 if n t−1 p → 0.
2
We now need to show that P(G ⊇ Kt ) → 1 if pn t−1 → ∞. We will use P(G 6⊇ Kt ) =
P(Xt = 0) ≤ P(|Xt − E[Xt ]| ≥ E[Xt ]). By Chebyshev, we have
Var(Xt )
P(|Xt − E[Xt ]| ≥ E[Xt ]) ≤ ,
E[Xt ]2
n−t n
≤ t!/ns for n large, we have
and noting that t−s / t
h 2( t )−(s) t
i
n
p 2 2 − p2(2)
t n−t
t
Var(Xt ) X t s t−s
= ,
(E[X])2 n 2(2t )
s=1 t p
t
X 1 1
≤ 2t+1 t! ·
ns p(2s)
s=1
t ( s )
2
X 1 2
≤ (t!) 2 p .
s=1 n s−1
2 2
Since n t−1 p → ∞, then n s−1 p → ∞ for each s ≤ t, this goes to zero as required.
This is an example of a threshold result, where almost suddenly when p goes to a certain
value, we start to see some consistent structure in the random graphs. Another somewhat
similar question is:
51
Adam Kelly (November 6, 2021) Graph Theory
Theorem 8.7
Let G be sampled from G(n, p(n)), then limn→∞ P(G is connected) = 1 if p > (1 +
) logn n and limn→∞ P(G is disconnected) = 0 if p < (1 − ) logn n .
Proof. For the ‘first direction’ we will show that there is an isolated vertex with
probability going to 1 if p < (1 − ) logn n . Let I be the number of isolated vertices.
We are going to use a similar strategy to before, where we calculate the variance
and apply Chebyshev.
We have
X
E[I] = n(1 − p)n−1 and E[I 2 ] = P(u, v are isolated),
u,v∈[n]
Var(I)
P(I = 0) ≤ P(|I − E[I]| ≥ E[I]) ≤
E[I]2
n(1 − p)n−1 + n(n − 1)(1 − p)2(n−1)−1
=
n2 (1 − p)2(n−1)
1
= + p −→ 0,
(1 − p)n−1 n
as required.
Now for the ‘other direction’, we want to show that the P(G is disconnected) → 0.
We can write
[
P(G is disconnected) = P {no edges between A and A0
A⊆[n],0<|A|≤n/2
X
≤ P(no edges between A and A0 )
A⊆[n],0<|A|≤n/2
52
Adam Kelly (November 6, 2021) Graph Theory
n/2
X n
= (1 − p)s(n−s) ,
s
s=1
so we want to show that this tends to zero. We can break up this sum as
n/2 n/2
X n s(n−s)
X
−p(n−s)
s X n −ps(n−s)
(1 − p) ≤ ne + e
s s
s=1 s=1 n/2≤s≤n/2
n/2 s
X 1 X n −n log n/8
≤ /4
+ e
n s
s=1 n/2≤s≤n/2
n/2 s
X 1 n
≤ + 2e− log n/8 −→ 0,
s=1
n/4
n ≤ 1 + ∆ + (∆ − 1)∆ = 1 + ∆2 ,
but is it possible to have a graph that attains this bound? We are going to call such
graphs Moore graphs.
53
Adam Kelly (November 6, 2021) Graph Theory
k=2 k=3
Note that the graph for k = 3 is the Petersen graph. Playing around a bit, you
might find that such a graph for k = 4 does not exist, so it seems that Moore graphs
are somewhat special.
Remark. A Moore graph is a k-regular graph for which any x 6= y with x, y ∈ V (G)
has exactly one path of length ≤ 2 between x and y.
So Moore graphs don’t always exist, leading to a natural question – does there exist
infinitely many of them?
Now while this is just a straightforward representation of a graph, the fact that it’s a
matrix means that we can start asking questions about it, even if it’s not immediately
obvious that they have any meaning. For example, what do the eigenvalues of this
matrix look like? What about the eigenvectors?
We can observe that the adjacency matrix is symmetric, which we know implies that
it has real eigenvalues λ1 ≥ · · · ≥ λn , and an associated eigenbasis v1 , . . . , vn which is
orthonormal.
We can also observe that for a graph G with adjacency matrix A, since there’s no edge
54
Adam Kelly (November 6, 2021) Graph Theory
between a vertex and itself, that there is only zeros along the diagonal of A, so it has
zero trace and
Xn
λi = tr(A) = 0.
i=1
Somewhat surprisingly, we are going to be able to connect all of these algebraic facts
back to our original graph.
Proposition 9.5
Let G = (V, E) be a graph with adjacency matrix A. Then
(i) n1 x∈V d(x) ≤ λmax (G) ≤ ∆(G).
P
Proof. Part (i). For the lower bound, let w = √1n (1, . . . , 1). Then we observe by
interpreting the adjacency matrix in a graph theoretic sense that
1X
λmax = max xT Ax ≥ wT Aw = d(x).
x:|x|2 =1 n
x∈V
which gives us X
|λmax x1 | ≤ |xi | ≤ |x1 |∆,
i:vi ∼v1
therefore xi = x for all i where vi ∼ v1 . So now we repeat the argument for all
vi ∈ N (v1 ) to learn that all xj with d(vj , v1 ) ≤ 2 has xj = x1 and so on, until we
55
Adam Kelly (November 6, 2021) Graph Theory
get x1 = xi for all vj in the component of vi . We then repeat for each component,
to see that x is constant on each component, and thus G must be a regular graph.
Part (iii). Omitted.
Another fact that will bring us closer to Moore graphs concerns the interpretation of the
square of an adjacency matrix.
Proposition 9.6
Let G be a graph and let A be its adjacency matrix. Then (A2 )ij is the number of
walks of length 2 between i, j.
k 2 − 2k
1
k2 ± √ are integers.
2 4k − 3
Proof. Let G be a Moore graph of degree k on n vertices, and let A be the adjacency
matrix of G. Then we have
k if i = j,
2
(A )ij = 1 if i 6= j and ij 6∈ E,
0 if ij ∈ E.
A2 + A − (k − 1)I = J.
56
Adam Kelly (November 6, 2021) Graph Theory
So A has eigenvalues k with multiplicity 1, λmax with multiplicity say r, and µ with
multiplicity s, with r + s = n − 1. We also know that
n
X
λi = 0 = k + rλ + sµ,
i=1
and solving this for integers r and s and using n = k 2 +1 gives the desired result.
With this lemma, we can heavily restrict the possible Moore graphs.
k 2 − 2k
1 2
k ±√
2 4k − 3
Remark. For k = 2, 3 and 7, the graphs are known to exist, but a graph for k = 57 is
has not yet been found.
57