Spectral graph theory 2

2/26/2015
Ma/CS 6b
Class 22: Spectral Graph Theory 2
𝑣1
𝑣2
𝑣4
𝑣3
Eigenvalues: -2,0,0,2.
𝑣1
𝑣2
𝑣3
Eigenvalues: βˆ’ 2, 0, 2.
By Adam Sheffer
Chromatic number
ο‚—
Given a graph 𝐺, the chromatic number
πœ’(𝐺) is the minimum number of colors
required to color the vertices of 𝐺.
πœ’ 𝐺 =3
1
2/26/2015
Coloring Graphs with Bounded
Degrees
ο‚—
Claim. Let 𝐺 = (𝑉, 𝐸) be a graph with
maximum degree π‘˜, then πœ’ 𝐺 ≀ π‘˜ + 1.
ο‚—
Proof.
β—¦ At each step choose an arbitrary uncolored
vertex 𝑣.
β—¦ Since 𝑣 has at most π‘˜ neighbors, one of the
π‘˜ + 1 colors must be OK for 𝑣.
Example: π‘˜ + 1-coloring
1
2
3
4
5
6
2
2/26/2015
Sometimes We Cannot Do Better
ο‚—
ο‚—
ο‚—
𝐾𝑛 - complete graph
with 𝑛 vertices.
Max degree: 𝑛 βˆ’ 1.
πœ’ 𝐾𝑛 = 𝑛.
ο‚—
ο‚—
ο‚—
𝐢𝑛 - cycle of odd
length 𝑛.
Max degree: 2.
πœ’ 𝐾𝑛 = 3.
Today’s Goal
ο‚—
The naïve coloring bound implies that the
simple graph below requires three colors.
β—¦ Using eigenvalues of graph, we can obtain a
better bound.
𝑣1
𝑣2
𝑣3
3
2/26/2015
Recall: The Spectrum of a Graph
ο‚—
Consider a graph 𝐺 = 𝑉, 𝐸 and let 𝐴 be
the adjacency matrix of 𝐺.
β—¦ The eigenvalues of 𝐺 are the eigenvalues of 𝐴.
β—¦ The characteristic polynomial πœ™ 𝐺; πœ† is the
characteristic polynomial of 𝐴.
β—¦ The spectrum of 𝐺 is
πœ†1 , … , πœ†π‘‘
𝑠𝑝𝑒𝑐 𝐺 =
,
π‘š1 , … , π‘šπ‘‘
where πœ†1 , … , πœ†π‘‘ are the distinct eigenvalues of
𝐴 and π‘šπ‘– is the multiplicity of πœ†π‘– .
Example: Spectrum
𝐴=
0
1
0
1
1
0
1
0
0
1
0
1
1
0
1
0
𝑣1
𝑣2
𝑣4
𝑣3
πœ† βˆ’1 0 βˆ’1
βˆ’1 0
det πœ†πΌ βˆ’ 𝐴 = det βˆ’1 πœ†
0 βˆ’1 πœ† βˆ’1
βˆ’1 0 βˆ’1 πœ†
= πœ†2 πœ† βˆ’ 2 πœ† + 2 .
𝑠𝑝𝑒𝑐 𝐢4 =
0 2 βˆ’2
2 1 1
4
2/26/2015
Slight Change of Notation
Instead of multiplicities, let πœ†1 , … , πœ†π‘› be
the not necessarily distinct eigenvalues of
𝐺.
2 βˆ’1
ο‚— For example, if the spectrum is
,
2 2
we write πœ†1 = πœ†2 = 2 and πœ†3 = πœ†4 = βˆ’1
(instead of πœ†1 = 2, π‘š1 = 2, πœ†2 = βˆ’1, π‘š2
= 2).
ο‚—
The Spectral Theorem
ο‚—
Theorem. Any real symmetric 𝑛 × π‘›
matrix has real eigenvalues and 𝑛
orthonormal eigenvectors.
β—¦ By definition, any adjacency matrix 𝐴 is
symmetric and real.
β—¦ The algebraic and geometric multiplicities are
the same in this case.
β—¦ We have πœ™ 𝐴; πœ† = 𝑛𝑖=1 πœ† βˆ’ πœ†π‘– .
β—¦ The multiplicity of an
eigenvalue πœ† is
𝑛 βˆ’ π‘Ÿπ‘Žπ‘›π‘˜ πœ†πΌ βˆ’ 𝐴 .
5
2/26/2015
Matrix Polynomials
ο‚—
𝐴 – 𝑛 × π‘› adjacency matrix of a graph 𝐺.
ο‚—
Consider the matrices 𝐼, 𝐴, 𝐴2 , … , 𝐴𝑛 .
Since each matrix has 𝑛2 coordinates, we can
2
consider each matrix as a point in ℝ𝑛 .
Since this is a space of dimension 𝑛2 and we
have 𝑛2 + 1 matrices, they cannot be
independent.
That is, there exist constants 𝑐0 , … , 𝑐𝑛2 such
2
that not all are zero and 𝑐0 𝐼 + 𝑛𝑖=1 𝑐𝑖 𝐴𝑖 = 0.
In other words, the polynomial
2
𝑓 𝑀 = 𝑐0 𝐼 + 𝑛𝑖=1 𝑐𝑖 𝑀𝑖 vanishes on 𝐴.
ο‚—
ο‚—
ο‚—
ο‚—
2
Minimum Polynomials
ο‚—
ο‚—
ο‚—
𝐴 – 𝑛 × π‘› adjacency matrix of a graph 𝐺.
The minimum polynomial of 𝐴 (or of 𝐺) is the
smallest degree polynomial with leading
coefficient 1 that vanishes on 𝐴.
Is the minimum polynomial always unique?
β—¦ Yes. If there are two polynomials of the
minimum degree, by subtracting them we
obtain a smaller degree polynomial.
6
2/26/2015
Minimum Polynomial Property
ο‚—
Claim. The minimum polynomial 𝑓 of 𝐴
must divide every other polynomial that
vanishes on 𝐴.
β—¦ Assume, for contradiction, that there exists a
polynomial 𝑔 that vanishes on 𝐴 such that 𝑓
does not divide 𝑔.
β—¦ The remainder of dividing 𝑔 by 𝑓 is a smaller
degree polynomial that vanishes on 𝐴,
contradicting the minimality of 𝑓.
β—¦ (𝑔 = π‘“π‘ž + π‘Ÿ)
The Minimum Polynomial
Theorem (without proof). The minimum
𝑑
polynomial of 𝐴 is Π𝑖=1
𝑀 βˆ’ πœ†π‘– β‹… 𝐼 , where
πœ†1 , … , πœ†π‘‘ are the distinct eigenvalues of 𝐴.
0 1 0 1
1 0 1 0 .
ο‚— Example. 𝐴 =
0 1 0 1
1 0 1 0 𝑣1
𝑣2
0 2 βˆ’2
𝑠𝑝𝑒𝑐 𝐢4 =
.
2 1 1
ο‚—
The minimum polynomial is
𝑀 𝑀 βˆ’ 2𝐼 𝑀 + 2𝐼 .
𝑣4
𝑣3
7
2/26/2015
Recall: Diameter
ο‚—
The diameter of 𝐺 is the maximum
distance between two vertices of 𝐺
β—¦ That is, max 𝑑 𝑒, 𝑣 .
𝑒,𝑣
ο‚—
What is the diameter of the Petersen
graph? 2
Diameter and Eigenvalues
ο‚—
ο‚—
Theorem. The diameter of a connected graph 𝐺
is less than the number of distinct eigenvalues
of 𝐺.
Proof.
β—¦ 𝐴 – the adjacency matrix of 𝐺.
β—¦ π‘˜ – diameter of 𝐺.
β—¦ To prove the theorem, it suffices to prove that
𝐴0 , 𝐴1 , … , π΄π‘˜ are linearly independent.
β—¦ The degree of the minimum polynomial 𝑓 of
𝐴 is the number of distinct eigenvalues.
β—¦ If 𝑓 is of degree π‘Ÿ, then 𝐴0 , 𝐴1 , … , π΄π‘Ÿ must
satisfy a linear relation.
8
2/26/2015
Linear Independence
ο‚—
ο‚—
ο‚—
ο‚—
ο‚—
ο‚—
𝐴 – the adjacency matrix of 𝐺.
π‘˜ – diameter of 𝐺.
It remains to prove that 𝐴0 , 𝐴1 , … , π΄π‘˜ are
linearly independent.
For that, we show that 𝐴𝑖 is not a linear
combination of 𝐴0 , 𝐴1 , … , π΄π‘–βˆ’1 , for any 𝑖 ≀ π‘˜.
Recall that 𝐴𝑖 contains the number of paths of
length 𝑖 between any two vertices of 𝐺.
Since 𝑖 ≀ π‘˜, there exist vertices 𝑣π‘₯ , 𝑣𝑦 such that
𝑑 𝑣π‘₯ , 𝑣𝑦 = 𝑖. The claim holds since 𝐴𝑖 π‘₯𝑦 > 0
and 𝐴 𝑗
π‘₯𝑦
= 0, for every 0 ≀ 𝑗 < 𝑖.
The Rayleigh Quotient
ο‚—
The Rayleigh quotient is 𝑅 𝐴, π‘₯ = 𝑅(π‘₯)
=
ο‚—
π‘₯ 𝑇 𝐴π‘₯
π‘₯𝑇π‘₯
for 𝑛 × π‘› matrix 𝐴 and π‘₯ ∈ ℝ𝑛 .
Lemma. Let 𝐴 be a real symmetric 𝑛 × π‘›
matrix. Then 𝑅 π‘₯ attains its maximum
and minimum at eigenvectors of 𝐴. (We do
not prove the lemma.)
ο‚—
Question. What is 𝑅 π‘₯ when π‘₯ is an
eigenvector of eigenvalue πœ†?
β—¦
π‘₯ 𝑇 𝐴π‘₯
π‘₯𝑇π‘₯
=
π‘₯ 𝑇 πœ†π‘₯
π‘₯𝑇π‘₯
= πœ†.
β—¦ Thus, the min and max values of 𝑅 π‘₯ are the
min and max eigenvalues of 𝐴.
9
2/26/2015
Eigenvalues and Induced Subgraphs
ο‚—
Theorem.
β—¦ Let 𝐺 be a graph with eigenvalues πœ†min = πœ†1
≀ πœ†2 ≀ β‹― ≀ πœ†π‘› = πœ†max .
β—¦ Let 𝐺 β€² be an induced subgraph of 𝐺 with
eigenvalues πœ†β€²min = πœ†1β€² ≀ πœ†β€²2 ≀ β‹― ≀ πœ†β€²π‘‘
= πœ†β€²max .
β—¦ Then πœ†min ≀ πœ†β€²min ≀ πœ†β€²max ≀ πœ†max .
ο‚—
We now prove πœ†β€²max ≀ πœ†max . The min part is
proved symmetrically.
ο‚—
𝐴, 𝐴′ – the adjacency matrices of 𝐺, 𝐺 β€² .
We reorder the vertices of 𝐺 such that we first
have the vertices that are also in 𝐺 β€² (this does
not change the eigenvalues of 𝐴).
β—¦ 𝐴′ is obtained by removing the 𝑛 βˆ’ 𝑑 last rows
and columns from 𝐴.
𝑧 β€² – an eigenvector such that 𝐴′ 𝑧 β€² = πœ†β€²max .
𝑧 – the vector obtained by appending 𝑑 zeros at
the end of 𝑧 β€² .
By the previous lemma, for every vector π‘₯ ∈ ℝ𝑛
we have πœ†min ≀ 𝑅 𝐴, π‘₯ ≀ πœ†max .
𝑇
𝑧 β€² 𝐴′ 𝑧 β€² 𝑧 𝑇 𝐴𝑧
β€²
β€² β€²
πœ†max = 𝑅 𝐴 , 𝑧 = β€² 𝑇 β€² = 𝑇 ≀ πœ†max .
𝑧 𝑧
𝑧 𝑧
ο‚—
ο‚—
ο‚—
ο‚—
10
2/26/2015
ο‚—
ο‚—
0 1 0 1
𝐴= 1 0 1 0 .
0 1 0 1
1 0 1 0
β—¦ Eigenvalues: -2,0,0,2.
0 1 0
𝐴′ = 1 0 1
0 1 0
β—¦ Eigenvalues: βˆ’ 2, 0, 2.
β€²
𝑇
𝑧 β€² 𝐴′ 𝑧 β€²
ο‚—
𝑧 = 1, 2, 1 ,
ο‚—
𝑧 = 1, 2, 1,0 ,
𝑇
𝑧′ 𝑧′
𝑧 𝑇 𝐴𝑧
𝑧𝑇𝑧
=
𝑧′
𝑇
2𝑧 β€²
𝑇
𝑧′ 𝑧′
𝑣1
𝑣2
𝑣4
𝑣3
𝑣1
𝑣2
= 2.
𝑣3
= 2.
Degrees and πœ†max
ο‚—
Lemma. Let 𝐺 = 𝑉, 𝐸 be a graph. Than
𝐺’s maximum eigenvalue πœ†max is
β—¦ at least the average degree
2𝐸
𝑉
, and
β—¦ at most the maximum degree of 𝐺.
0 1
ο‚— Example. 𝐴′ = 1 0
0 1
β—¦ Eigenvalues: βˆ’ 2, 0,
0
1
0
2.
𝑣1
𝑣2
𝑣3
11
2/26/2015
Proof
𝐴 – the adjacency matrix of 𝐺.
ο‚— πœ† – an eigenvalue of 𝐴 with eigenvector
π‘₯ = π‘₯1 , … , π‘₯𝑛 . π‘₯𝑗 = max π‘₯𝑖 .
ο‚—
𝑖
𝑁 𝑣𝑗 – the set of neighbors of 𝑣𝑗 .
ο‚— We have
ο‚—
πœ†π‘₯𝑗 = 𝐴π‘₯
𝑗
=
π‘₯𝑖 ≀ deg 𝑣𝑗 π‘₯𝑗 ,
𝑣𝑖 βˆˆπ‘ 𝑣𝑗
so πœ† is at most the max degree of 𝐺.
Proof (cont.)
𝐴 – the adjacency matrix of 𝐺 = 𝑉, 𝐸 .
ο‚— πœ†max – the max eigenvalue of 𝐴.
ο‚—
π‘₯ 𝑇 𝐴π‘₯
We have πœ†max β‰₯ 𝑅 π‘₯ = 𝑇 for every
π‘₯ π‘₯
𝑛
π‘₯βˆˆβ„ .
ο‚— By taking π‘₯ = 1𝑛 = 1,1, … , 1 , we have
ο‚—
πœ†max
1𝑇𝑛 𝐴1𝑛 1
β‰₯ 𝑇
=
𝑛
1𝑛 1𝑛
𝐴𝑖𝑗 =
𝑖,𝑗
2𝐸
.
𝑉
12
2/26/2015
Back to Graph Coloring
ο‚—
Theorem. Let 𝐺 = 𝑉, 𝐸 be a graph with
maximum eigenvalue πœ†max . Then
πœ’ 𝐺 ≀ 1 + πœ†max .
0 1 0
ο‚— Example. 𝐴 = 1 0 1
0 1 0
𝑣1
β—¦ Eigenvalues: βˆ’ 2, 0, 2.
ο‚— Coloring by max degree implies 3 colors.
ο‚— Coloring by πœ†max implies 2 colors.
𝑣2
𝑣3
Proof
ο‚—
𝐺 = 𝑉, 𝐸 – a graph with πœ’ 𝐺 = π‘˜.
β—¦ We repeatedly remove vertices from 𝐺, if the
removal does not decrease πœ’ 𝐺 .
β—¦ We obtain an induced subgraph 𝐺 β€² = 𝑉 β€² , 𝐸′
such that πœ’ 𝐺 β€² = π‘˜, and for every 𝑣 ∈ 𝑉 β€² ,
we have πœ’ 𝐺 β€² βˆ’ 𝑣 < π‘˜.
13
2/26/2015
The Minimum Degree of 𝐺 β€²
ο‚—
We obtain an induced subgraph 𝐺 β€² = 𝑉 β€² , 𝐸′
such that πœ’ 𝐺 β€² = π‘˜, and for every 𝑣 ∈ 𝑉 β€² , we
have πœ’ 𝐺 β€² βˆ’ 𝑣 < π‘˜.
𝛿(𝐺 β€² ) – the minimum degree of 𝐺 β€² .
ο‚—
Claim. 𝛿 𝐺 β€² β‰₯ π‘˜ βˆ’ 1.
ο‚—
β—¦ Assume, for contradiction, that there exists
𝑣 ∈ 𝑉 β€² such that deg 𝑣 < π‘˜ βˆ’ 1.
β—¦ We color 𝐺 β€² βˆ’ 𝑣 using at most π‘˜ βˆ’ 1 colors.
We can then use one of these π‘˜ βˆ’ 1 colors to
also color 𝑣, contradicting πœ’ 𝐺 β€² = π‘˜.
Completing the Proof
ο‚—
𝐺 = 𝑉, 𝐸 – a graph with πœ’ 𝐺 = π‘˜.
β—¦ We repeatedly remove vertices from 𝑣, if the
removal does not decrease πœ’ 𝐺 .
β—¦ We obtain an induced subgraph 𝐺 β€² = 𝑉 β€² , 𝐸′
such that πœ’ 𝐺 β€² = π‘˜, and for every 𝑣 ∈ 𝑉 β€² ,
we have πœ’ 𝐺 β€² βˆ’ 𝑣 < π‘˜.
2𝑉
π‘˜ βˆ’ 1 ≀ 𝛿 𝐺′ ≀
≀ πœ†max .
𝐸
β—¦ Equivalently,
πœ’ 𝐺 β€² = π‘˜ ≀ 1 + πœ†max .
14
2/26/2015
The End
15