Lecture 1
Lecture 1
Lecture 1
Lecturer: David P. Williamson Scribe: Matthew Zalesak
• x is an eigenvector;
2 An Introductory Example
The diameter D of a graph is minimum length you would have to be able to travel to
guarantee that you could go from any node in the graph to any other node. Formally,
D = maxi,j∈V [length of shortest i-j path]. A graph is said to be d-regular if all nodes are
of degree d, where degree is defined as the number of edges incident on each vertex. The
below graph has diameter 2 but is not d-regular since some nodes are of degree 2 and some
are of degree 3.
For our introductory example1 , we will consider d-regular graphs of diameter 2 with as
many nodes as possible. By starting at any node i, the graph could look like
1
This material is taken from the article A.J. Hoffman, R.R. Singleton, “On Moore Graphs with Diameters
2 and 3,” IBM Journal, pp. 497–504, November 1960.
1-1
1
d(d-1)
In this graph, note that there are no connections between adjacent nodes in the first
layer since we want to maximize the number of nodes in the graph. Also, the connections
between the leaf nodes are omitted from the diagram. Based on the diagram, such a graph
would have n = 1 + d + d(d − 1) = d2 + 1 nodes.
Let A = (aij ) be the adjacency matrix of G, defined as
(
1 if (i, j) ∈ E
aij =
0 otherwise
If B = A2 , then
X
bij = aik akj = number of walks of 2 steps in graph G from i to j.
k
Since this is a d-regular graph, we have that bii = d since starting at i we can reach d
vertices in one step and then immediately return.
Starting at i we reach every other vertex in G in exactly 0 steps, exactly 1 step, or
exactly 2 steps (exclusive or). Thus,
I + A + A2 − dI = J,
1-2
We’ve discussed the notion of a d-regular graph with diameter two, but does such a
graph exist? To answer this problem we can use linear algebra to tell us what such a graph
would might look like.
First notice that Ae = de, where e = (1, . . . , 1)T is the vector of all ones. This is true
since A is d-regular. Thus, e is an eigenvector of A and d is the eigenvalue. Also notice that
Thus,
(I + A + A2 − dI)e = Je
e + de + d2 e − de = ne
(I + A + A2 − dI)v = Jv
v + λv + λ2 v − λv = 0
=⇒ 1 + λ + λ2 − d = 0
√
So for all eigenvalues not corresponding to e, we have λ = −1± 2 4d−3 .
Given what we now know about the eigenvalues, what can we tell? We can invoke the
trace! Notice that tr(A) = 0: aii = 0 for all i since there are no self-loops in the graph.
Now we consider two possible cases.
√
1. If 4d − 3 is irrational,
√ √
then in order for the trace to sum to zero, the eigenvalues −1+ 2 4d−3 and −1− 4d−3
2
must each have multiplicity n−1
2 . Plugging this in gives
√ √
n − 1 −1 + 4d − 3 −1 − 4d − 3
tr(A) = 0 = d + +
d 2 2
n−1
=d−
2
d2
=d−
2
=⇒ d = 0 or d = 2.
1-3
(b) d = 2 In this case n = 5, which gives the 5 cycle; the 5-cycle is a 2-regular graph
of diameter 2.
√
2. If 4d − 3 is rational,
−1+s
then let s2 = 4d − 3. Let m be the multiplicity of the eigenvalue 2 . Then
−1 + s −1 − s
tr(A) = d + m + (n − 1 − m)
2 2
=0
By the rational root theorem, we know that any solution to this polynomial must be
a factor of 15. Thus, we can enumerate all possible roots.
Possibilities
(a) s = 1, d = 1, n = 2
A 1-regular graph on 2 nodes is a single edge, but its diameter is not 2.
(b) s = 3, d = 3, n = 10
We can represent this graph in two ways:
1-4
This first representation shows what the graph would look like using the same
type of diagram we used earlier.
1-5
(Image source: Wikipedia)
This example is to give you a small taste of how eigenvectors can be useful in graph
theory. By looking at the spectrum of d-regular graphs of diameter 2 with as many nodes
as possible, we were able to come up with very strong restrictions on the possible values of
d.
1-6