Lecture 10: Introduction To Algebraic Graph Theory: Example 1.1 (The Spectrum of The Complete Graph)
Lecture 10: Introduction To Algebraic Graph Theory: Example 1.1 (The Spectrum of The Complete Graph)
Ngo
SUNY at Buffalo, Fall 2003 Scribe: Hung Q. Ngo
Standard texts on linear algebra and algebra are [2,14]. Two standard texts on algebraic graph theory
are [3, 6]. The monograph by Fan Chung [5] and the book by Godsil [7] are also related references.
rank(A) = n − m[0],
We also use λmax (G) and λmin (G) to denote λ1 and λs , respectively.
p(Kn , λ) = λI − J
λ −1 −1 ... −1
(λ+1)(λ−1) −(λ+1) −(λ+1)
0 ...
λ λ λ
(λ+1)(λ−2) −(λ+1)
= det 0
0 (λ−1) ... λ
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
0 0 0 . . . (λ+1)(λ−(n−1))
(λ−(n−2))
= (λ + 1)n−1 (λ − n + 1)
So,
n − 1 −1
Spec(Kn ) =
1 n−1
Remark 1.2. Two graphs are co-spectral if they have the same spectrum. There are many examples of
co-spectral graphs which are not isomorphic. There are also examples all the graphs with a particular
spectral must be isomorphic. I don’t know of an intuitive example of co-spectral graphs (yet). Many
examples can be found in the “bible” of graph spectra [15].
1
A principal minor of a square matrix A is the determinant of a square submatrix of A obtained by
taking a subset of rows and the same subset of columns. The principal minor is of order k if it has k rows
and k columns.
(i) c1 = 0.
Proof. It is not difficult to see that (−1)i ci is the sum of the principal minors of A(G) of order i. Given
this observation, we can see that
(iii) Of all possible order-3 principal minors of A(G), the only non-zero minor is
0 1 1
det 1 0 1 = 2
1 1 0
Example 1.4. All principal minors of A(Km,n ) of order k 6= 2 are 0. Hence, p(Km,n , x) = xm+n +
c2 xm+n−2 . By previous proposition, c2 = −mn. Thus,
√ √
mn 0 − mn
Spec(Km,n ) =
1 m+n−2 1
Notice that Spec(Km,n ) is symmetric above the eigenvalue 0. This beautiful property turns out to be
true for all bipartite graphs, as the following lemma shows.
Lemma 1.5 (The Spectrum of a Bipartite Graph). The following are equivalent statements about a
graph G
(a) G is bipartite.
(b) The non-zero eigenvalues of G occurs in pairs λi , λj such that λi + λj = 0 (with the same multi-
plicity).
(c) p(G, x) is a polynomial in x2 after factoring out the largest common power of x.
Pn 2t+1
(d) i=1 λi = 0 for all t ∈ N.
Proof. (a ⇒ b). First of all, we could assume that the bipartitions of G have the same size, otherwise
adding more isolated vertices into one of the bipartitions
0 B
x us more 0 eigenvalues. We can
only give
permute the vertices of G so that A = A(G) = B T 0 . Let v = y be a λ-eigenvector. We have λv =
−By
Av = B0T B0 xy = BBy
T 0
x 0
x
T x . So, By = λx and B x = λy. Let v = −y then Av = B T x = −λ −y .
2
mapping v → v 0 just described is clearly an invertible linear transformation, so the λ-eigenspace and the
(−λ)-eigenspace have the same dimension.
(b ⇒ c). Easy as (x − λi )(x + λi ) = x2 − λ2i .
(c ⇒ d). When p(G, x) is a polynomial in x2 , its roots come in pairs λi + λj = 0, so that λ2t+1
i +
2t+1
λj = 0 for each pair.
(d ⇒ a). = ni=1 λ2t+1 = trA2t+1 by Proposition ??. Also, trA2t+1 is at least the total number of
P
i
closed walks of length 2t + 1 in G. So G does not have any cycle of odd length. It must be bipartite.
Proposition 1.6 (A Reduction Formula for p(G, x)). Suppose vi is a vertex of degree 1 of G, and vj is
v1 ’s neighbor. Let G1 = G − vi , and G2 = G − {vi , vj }, then
Proof. Expanding the determinant of (xI − A) along row i and then column j yields the result.
Example 1.7 (The Characteristic Polynomial of a Path). Let Pn be the path with n vertices {v1 , . . . , vn },
then
p(Pn , x) = xp(Pn−1 , x) − p(Pn−2 , x), n ≥ 3;
which is a straightforward application of the previous proposition. Note that this implies p(Pn , x) =
Un (x/2) where Un is the Chebyshev polynomial of the second kind.
For the sake of completeness, recall that the Chebyshev polynomial of the second kind has generating
function
∞
1 X
u(t, x) = = Un (x)tn ,
1 − 2xt + t2
n=0
for |x| < 1 and |t| < 1; which gives the three-term recurrence
Proposition 1.8 (The Derivative of p(G, x)). For i = 1, . . . , n, let Gi be G − vi where V (G) =
{v1 , . . . , vn }. Then, X
p0 (G, x) = p(Gi , x).
i
Proof. Write
Now, nxn−1 distributes to n leading terms of p(Gi , x). We show that the terms (n − j)cj xn−j−1 also
distribute to the corresponding terms of p(Gi , x).
We know cj is (−1)j times the sum of all order-j principle minors of A. We want to show that
(n − j)cj (−1)j is the sum of all order-j principle minors of all Ai = A(Gi ). An order-j principle minor
of any Ai is an order-j principle minor of A. An order-j principle minor of A is an order-j principle
minor of precisely (n − j) of the Ai . The j exceptions are the Ai obtained from A by removing one of
the j rows (and columns) corresponding to the minor under consideration.
3
Example 1.9. Suppose A(G) has r identical columns indexed {i1 , . . . , ir }, i.e. those r vertices share
the same set of neighbors. Let x be a vector all of whose components are 0 except at two components is
and it where xis = −xit 6= 0. Then x is a 0-eigenvector of A. The vector space spanned by all these x
has dimension r − 1 (why?), so the 0-eigenspace of A has dimension at least r − 1.
This fact could be obtained by seeing that rank(A) ≤ n − r + 1 due to the r identical columns, then
apply rank(A) = n − m[0].
λ21 = (λ2 + · · · + λn )2
≤ (n − 1)(2m − λ21 ).
So, r
2m 2m(n − 1)
≤ λ1 ≤ ,
n n
where the lower bound is shown in the next section.
Proof. Let x be a λ-eigenvector for some eigenvalue λ of G. Let |xj | = maxi |xi | be the largest absolute
coordinate value in x, then
X
|λ||xj | = |(Ax)j | = |xi | ≤ deg(j)|xj | ≤ ∆(G)|xj |
i | ij∈E(G)
For the lower bound, let 1 be the all-1 vector. Applying Rayleigh’s principle yields
1T A1 1X 2|E(G)|
λmax ≥ T
= aij =
1 1 n n
i,j
(i) k is an eigenvalue of G.
4
Proof. Let ~1 denote the all 1 vector, then A~1 = k~1, showing (i). Now, let x = [x1 , . . . , xn ]t be any
k-eigenvector of G, then (Ax)i is the sum of k of the xj for which j is a neighbor of i. Moreover, (kx)i
is kxi . If xi was the largest among all components of x, then it follows that all k neighboring xj must
have the same value as xi . Tracing this neighboring relation we conclude that all of x’s components are
the same. In fact, if G is a union of m k-regular graphs, then the multiplicity of the eigenvalue k of G is
m.
The fact that λ ≤ k can be shown by a similar argument, we just have to pick a component with
largest absolute value.
Theorem 2.4 (Alon, Milman (1985, [1])). Suppose G is a k-regular connected graph with diameter d,
then &r '
2k
d≤2 log2 n .
k − λ2
Proof.
Theorem 2.5 (Mohar (1991, [11])). Suppose G is a k-regular connected graph with diameter d, then
2k − λ2
d≤2 ln(n − 1) .
4(k − λ2 )
Proof.
Proof. We use det A = π∈Sn sgn(π) ni=1 aiπ(i) . A term corresponding to π of this product is not
P Q
zero iff aiπ(i) = 1 for all i, namely π is a permutation such that (i, π(i)) ∈ E(G). In other words, if H(π)
is the functional digraph of π with edges undirected, then H(π) ∈ H. Hence, there is a one-to-many
mapping between H and the set of π which contribute 1 to det A. We can group the indices of the sum
according to H instead, and count how many π with H(π) = H. Given H ∈ H, each cycle of length ≥ 3
has 2 choices of direction to construct the corresponding π, this gives the factor 2y(H) . The sign is readily
verified. As we have noticed in the proof of the Matrix Tree theorem, sgn(π) = (−1)n−c(π) where c(π)
is the number of cycles of π, which is the number of components of its functional digraph.
Corollary 3.2 (Sachs, 1967 [13]). Let Hi denotes collection of i-vertex subgraphs of G whose
P then−i
components are edges or cycles. If p(G, λ) = c
i i λ is the characteristic polynomial of G, then
c(H) y(H)
P
ci = H∈Hi (−1) 2 .
Proof. We already noticed that (−1)i ci is the sum of all order i principal minors of A(G). Each principal
minor correspond uniquely to an induced subgraph of G on some i vertices. Applying Harary’s theorem
completes our proof.
5
4 The Adjacency Algebra
Recall that an algebra is a vector space with an associative multiplication of vectors (thus also imposing
a ring structure on the space). The adjacency algebra A(G) of G is the algebra of all polynomials in
A(G). In other words, A(G) is the set of all linear combination of powers of A. A(G) is the basic tool
to study a class of graphs called distance-regular graphs (see, e.g. [4] for a comprehensive treatment).
The theory of distance-regular graphs, in turn, has deep relations to Coding Theory (see [10], [?]) and
Design Theory (see [?]). We found yet another great reason to study algebraic graph theory. Obviously,
it makes sense to first study powers of A.
Proposition 4.1. The number of walks of length l in G, from vi to vj , is the (i, j) entry of A(G)l .
Corollary 4.3. A graph with diameter d has at least d + 1 distinct eigenvalues. In other words, the
diameter of a graph is strictly less than the number of its distinct eigenvalues.
Proof. If A(G) has s distinct eigenvalues, then by Lemma ??, the minimum polynomial of A(G) has
degree s, making dim(A(G)) = s. So, s ≥ d + 1 by the previous lemma.
Theorem 5.1 (Wilf, 1967 [16]). For every graph G, χ(G) ≤ 1 + λmax (G), where χ(G) is the chromatic
number of G.
Proof. If χ(G) = k, successively delete vertices of G until we obtain a k-critical subgraph H of G, i.e.
χ(H − v) = k − 1, ∀v ∈ V (H). We claim δ(H) ≥ k − 1. Suppose δ(H) ≤ k − 2, let v be the vertex
in H with deg(v) ≤ k − 2. H − v is (k − 1)-colorable, so H is also k − 1 colorable since adding back
v wouldn’t require a new color. Consequently,
It must be noted that this bound is still a poor estimate for the chromatic number. A parallel result
concerning the lower bound is as follows.
Theorem 5.2 (Hoffman, 1970 [9]). For any graph G with non-empty edge set
λmax (G)
χ(G) ≥ 1 +
−λmin (G)
6
Lemma 5.3. Let X be a real symmetric matrix, partitioned in the form
P Q
X=
QT R
Proof. Let λ = λmin (X). Let X 0 = X − λI, P 0 = P − λI and R0 = R − λI, then clearly
0
P Q
X0 =
QT R0
Corollary 5.4. Let A be a real symmetric matrix, partitioned into t2 submatrices Aij in such a way that
the rows and columns are partitioned in the same way, i.e. the diagonal submatrices Aii are all square
matrices. Then
Xt
λmax (A) + (t − 1)λmin (A) ≤ λmax (Aii )
i=1
Proof of Theorem 5.2. Let c = χ(G) and partition V (G) into c color classes, inducing a partition of
A(G) into c2 submatrices where all diagonal submatrices Aii consist entirely of 0’s. Thus,
c
X
λmax (A) + (c − 1)λmin (A) ≤ λmax (Aii ) = 0
i=1
But if G has at least one edge, pA (λ) = λn + c1 λn−1 + · · · + cn 6= λn , because c2 = −|E(G)|. Hence,
λmin (A) < 0. This completes the proof.
7
6 The Laplacian
This section is built upon the first chapter’s outline of Fan Chung’s book [5]. See has an entirely different
system of notations and definitions (she normalized everything and defined the eigenvalues of a graph
to be the eigenvalues of the Laplacian). So, I’ll try my best of map them back to our, I believe, more
standard notations.
However, the mapping isn’t so simple. It will take me some time to link the two definitions. Thus,
courtesy Bill Gate : “the best is yet to come.”
Definition 6.2. Let N be the incident matrix of any orientation H of G(V, E). Let L2 (V ) (L2 (E))
p of real valued functions on V (E), with the usual inner product hf, gi and the usual norm
be the space
kf k = hf, f i.
Note that L2 (V ) is isomorphic to Rn and thus we can define the Rayleigh quotient for f similarly:
RA (f ) = hLf,f
kf k2
i
. Also note that
hLf, f i = hN T N f, f i = hN f, N f i
X
= (f (u) − f (v))2
(u,v)∈E(H)
X
= (f (u) − f (v))2
u∼v
So, L is non-negative definite, which implies L has non-negative eigenvalues. We’ve just proved the first
statement of the following proposition.
Proposition 6.3. We have µ1 ≥ · · · ≥ µn−1 ≥ µn = 0, ∀i. Moreover, µn−1 = 0 iff G is not connected;
and, when G is regular, m[0] is the number of connected components of G.
Proof. Firstly, µn = 0 because L1 = 0, i.e. 1 is a 0-eigenvalue of L. Secondly, notice that any function
y which is non-zero and constant on the connected components of G would make Ly = 0, and thus y is
a 0-eigenvector of G. Hence, the multiplicity of 0, being the dimension of the 0-eigenspace, is ≥ 2 when
G is disconnected. For the converse, we assume µn−1 = 0 so that the 0-eigenspace has dimension ≥ 2.
Let f be any µn−1 -eigenvector orthogonal to 1 then
X
(f (u) − f (v))2
u∼v
µn−1 = X
f 2 (v)
v
This means that f has to be constant on all connected components of G. If G has only 1 connected
component, f has to be identically 0 contradicting the fact that it is an eigenvector.
Lastly, also note that if each connected component of G is regular, then the multiplicity of 0 is equal
to the number of connected components.
8
Theorem 6.4. Let f ∈ L2 (V ) such that
P
f (v) = 0. Let µn−1 be the second smallest eigenvalue of L
v
then X
(f (u) − f (v))2
hLf, f i
µn−1 ≤ = u∼v X
kf k f 2 (v)
v
hLf, f i
µn−1 = min n RL (f ) = min n
06=f ∈C 06=f ∈C kf k
f ⊥un f ⊥1
P
The condition f ⊥ 1 is the same as u f (u) = 0.
Theorem 6.4 gives us a very useful upper bound for µn−1 . However, sometime we need also a lower
bound. The following Proposition fills our gap.
Proposition 6.5. Let G be a connected graph, µ = µn−1 (G) and f ∈ L2 (V ) be any µ-eigenvalue. Let
V + := {v ∈ V | f (v) > 0 and V − := V − V + , then define g ∈ L2 (V ) as follows.
(
f (v) if v ∈ V +
g(v) =
0 otherwise.
Then, we have X
(g(u) − g(v))2
u∼v
µ≥ X
g 2 (v)
v
But, X X
f 2 (v) = g 2 (v)
v∈V + v∈V
9
and,
X X X
(Lf )(v)f (v) = d(v)f 2 (v) − f (v)f (u)
v∈V + v∈V + u∈Γ(v)
X X
= (f (u) − f (v))2 + f (u)(f (u) − f (v))
uv∈E(V + ) uv∈E(V + ,V − )
X
≥ (g(u) − g(v))2
u∼v
10 Graph colorings
References
[1] N. A LON AND V. D. M ILMAN, λ1 , isoperimetric inequalities for graphs, and superconcentrators, J. Combin. Theory
Ser. B, 38 (1985), pp. 73–88.
[3] N. B IGGS, Algebraic graph theory, Cambridge University Press, Cambridge, second ed., 1993.
[4] A. E. B ROUWER , A. M. C OHEN , AND A. N EUMAIER, Distance-regular graphs, Springer-Verlag, Berlin, 1989.
[5] F. R. K. C HUNG, Spectral graph theory, Published for the Conference Board of the Mathematical Sciences, Washington,
DC, 1997.
[6] D. M. C VETKOVI Ć , M. D OOB , AND H. S ACHS, Spectra of graphs, Johann Ambrosius Barth, Heidelberg, third ed.,
1995. Theory and applications.
[7] C. D. G ODSIL, Algebraic combinatorics, Chapman & Hall, New York, 1993.
[8] F. H ARARY, The determinant of the adjacency matrix of a graph, SIAM Rev., 4 (1962), pp. 202–210.
[9] A. J. H OFFMAN, On eigenvalues and colorings of graphs, in Graph Theory and its Applications (Proc. Advanced Sem.,
Math. Research Center, Univ. of Wisconsin, Madison, Wis., 1969), Academic Press, New York, 1970, pp. 79–91.
[10] F. J. M AC W ILLIAMS AND N. J. A. S LOANE, The theory of error-correcting codes. II, North-Holland Publishing Co.,
Amsterdam, 1977. North-Holland Mathematical Library, Vol. 16.
10
[11] B. M OHAR, Eigenvalues, diameter, and mean distance in graphs, Graphs Combin., 7 (1991), pp. 53–64.
[12] B. M OHAR AND S. P OLJAK, Eigenvalues in combinatorial optimization, in Combinatorial and graph-theoretical prob-
lems in linear algebra (Minneapolis, MN, 1991), Springer, New York, 1993, pp. 107–151.
[13] H. S ACHS, Über Teiler, Faktoren und charakteristischePolynome vonGraphen. II, Wiss. Z. Techn. Hochsch. Ilmenau, 13
(1967), pp. 405–412.
[14] G. S TRANG, Linear algebra and its applications, Academic Press [Harcourt Brace Jovanovich Publishers], New York,
second ed., 1980.
[15] D. T SVETKOVICH , M. D UB , AND K. Z AKHS, Spektry grafov, “Naukova Dumka”, Kiev, 1984. Teoriya i primenenie.
[Theory and application], Translated from the English by V. V. Strok, Translation edited by V. S. Korolyuk, With a preface
by Strok and Korolyuk.
[16] H. S. W ILF, The eigenvalues of a graph and its chromatic number, J. London Math. Soc., 42 (1967), pp. 330–332.
11