51
An Introduction to Spectral Graph Theory Mackenzie Wheeler Supervisor: Dr. Gary MacGillivray University of Victoria [email protected]

An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

An Introduction to Spectral Graph Theory

Mackenzie WheelerSupervisor: Dr. Gary MacGillivray

University of [email protected]

Page 2: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Outline

1. How many walks are there from vertices vi to vj oflength d?

2. How many labelled spanning trees of G exist?

I Graph Theory Review

I Define the Adjacency matrix A(G )

I Answer Question 1

I Linear Algebra Review

I Define the Laplacian matrix L(G )

I Answer Question 2

Page 3: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Outline

1. How many walks are there from vertices vi to vj oflength d?

2. How many labelled spanning trees of G exist?

I Graph Theory Review

I Define the Adjacency matrix A(G )

I Answer Question 1

I Linear Algebra Review

I Define the Laplacian matrix L(G )

I Answer Question 2

Page 4: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Outline

1. How many walks are there from vertices vi to vj oflength d?

2. How many labelled spanning trees of G exist?

I Graph Theory Review

I Define the Adjacency matrix A(G )

I Answer Question 1

I Linear Algebra Review

I Define the Laplacian matrix L(G )

I Answer Question 2

Page 5: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Outline

1. How many walks are there from vertices vi to vj oflength d?

2. How many labelled spanning trees of G exist?

I Graph Theory Review

I Define the Adjacency matrix A(G )

I Answer Question 1

I Linear Algebra Review

I Define the Laplacian matrix L(G )

I Answer Question 2

Page 6: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Graph Theory Review

DefinitionTwo vertices vi and vj ∈ V (G ) are said to be adjacent if{vi , vj} ∈ E (G ).

v5

v3

v2

v1

v4

DefinitionA walk in a graph G is a sequence of vertices {v1, v2, . . . , vk} suchthat vi is adjacent to vi+1 for all 1 ≤ i ≤ k − 1. The length of thewalk is k − 1.

Page 7: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Graph Theory Review

DefinitionTwo vertices vi and vj ∈ V (G ) are said to be adjacent if{vi , vj} ∈ E (G ).

v5

v3

v2

v1

v4

DefinitionA walk in a graph G is a sequence of vertices {v1, v2, . . . , vk} suchthat vi is adjacent to vi+1 for all 1 ≤ i ≤ k − 1. The length of thewalk is k − 1.

Page 8: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Graph Theory Review

DefinitionTwo vertices vi and vj ∈ V (G ) are said to be adjacent if{vi , vj} ∈ E (G ).

v5

v3

v2

v1

v4

DefinitionA walk in a graph G is a sequence of vertices {v1, v2, . . . , vk} suchthat vi is adjacent to vi+1 for all 1 ≤ i ≤ k − 1. The length of thewalk is k − 1.

Page 9: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

DefinitionThe adjacency matrix A(G ) of a graph G is defined by

(A(G ))ij =

{1 vivj ∈ E (G )

0 vivj /∈ E (G )

Example

Let G = C5, then we have that

A(C5) =

0 1 0 0 11 0 1 0 00 1 0 1 00 0 1 0 11 0 0 1 0

Page 10: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

DefinitionThe adjacency matrix A(G ) of a graph G is defined by

(A(G ))ij =

{1 vivj ∈ E (G )

0 vivj /∈ E (G )

Example

Let G = C5, then we have that

A(C5) =

0 1 0 0 11 0 1 0 00 1 0 1 00 0 1 0 11 0 0 1 0

Page 11: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting walks

QuestionGiven a graph G , how many walks are there from vi to vj of lengthd?

Proposition

Let G be a graph with n vertices and adjacency matrix A(G ), thenthe number of walks from vi to vj of length d in G is given by(A(G ))dij .

Page 12: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting walks

QuestionGiven a graph G , how many walks are there from vi to vj of lengthd?

Proposition

Let G be a graph with n vertices and adjacency matrix A(G ), thenthe number of walks from vi to vj of length d in G is given by(A(G ))dij .

Page 13: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

Proof.

I For d = 1, Ad is A.

I Consider Ad+1 = AdA

I Then ad+1ij =

∑nk=1 a

dikakj .

I adikakj is the number of walks from vi to vj which are walksfrom vi to vk of length d , followed by a walk of length 1 fromfrom vk to vj .

I Therefore an+1ij =

∑nk=1 a

dikakj is to total number of walks

from vi to vj of length d + 1.

Page 14: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

Proof.

I For d = 1, Ad is A.

I Consider Ad+1 = AdA

I Then ad+1ij =

∑nk=1 a

dikakj .

I adikakj is the number of walks from vi to vj which are walksfrom vi to vk of length d , followed by a walk of length 1 fromfrom vk to vj .

I Therefore an+1ij =

∑nk=1 a

dikakj is to total number of walks

from vi to vj of length d + 1.

Page 15: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

Proof.

I For d = 1, Ad is A.

I Consider Ad+1 = AdA

I Then ad+1ij =

∑nk=1 a

dikakj .

I adikakj is the number of walks from vi to vj which are walksfrom vi to vk of length d , followed by a walk of length 1 fromfrom vk to vj .

I Therefore an+1ij =

∑nk=1 a

dikakj is to total number of walks

from vi to vj of length d + 1.

Page 16: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

Proof.

I For d = 1, Ad is A.

I Consider Ad+1 = AdA

I Then ad+1ij =

∑nk=1 a

dikakj .

I adikakj is the number of walks from vi to vj which are walksfrom vi to vk of length d , followed by a walk of length 1 fromfrom vk to vj .

I Therefore an+1ij =

∑nk=1 a

dikakj is to total number of walks

from vi to vj of length d + 1.

Page 17: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

Proof.

I For d = 1, Ad is A.

I Consider Ad+1 = AdA

I Then ad+1ij =

∑nk=1 a

dikakj .

I adikakj is the number of walks from vi to vj which are walksfrom vi to vk of length d , followed by a walk of length 1 fromfrom vk to vj .

I Therefore an+1ij =

∑nk=1 a

dikakj is to total number of walks

from vi to vj of length d + 1.

Page 18: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

Proof.

I For d = 1, Ad is A.

I Consider Ad+1 = AdA

I Then ad+1ij =

∑nk=1 a

dikakj .

I adikakj is the number of walks from vi to vj which are walksfrom vi to vk of length d , followed by a walk of length 1 fromfrom vk to vj .

I Therefore an+1ij =

∑nk=1 a

dikakj is to total number of walks

from vi to vj of length d + 1.

Page 19: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Adjacency Matrix

Corollary

Let G be a graph with e edges and t triangles, then

1. tr(A(G )2) = 2e

2. tr(A(G )3) = 6t

Page 20: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Laplacian Matrix

DefinitionThe Laplacian matrix L(G ) of a graph G is defined by

(L(G ))ij =

deg(vi ) i = j

−1 i 6= j and vivj ∈ E (G )

0 otherwise

Example

Let G = C5, then we have that

L(C5) =

2 −1 0 0 −1−1 2 −1 0 00 −1 2 −1 00 0 −1 2 −1−1 0 0 −1 2

Page 21: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Laplacian Matrix

DefinitionThe Laplacian matrix L(G ) of a graph G is defined by

(L(G ))ij =

deg(vi ) i = j

−1 i 6= j and vivj ∈ E (G )

0 otherwise

Example

Let G = C5, then we have that

L(C5) =

2 −1 0 0 −1−1 2 −1 0 00 −1 2 −1 00 0 −1 2 −1−1 0 0 −1 2

Page 22: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Linear Algebra Review

DefinitionLet A ∈ Mn×n(R) and let v ∈ Rn be a nonzero vector. Then v isan eigenvector of A if there exists a scalar λ ∈ R, such thatAv = λv . We say that λ is an eigenvalue of A with correspondingeigenvector v .

Proposition

Let A ∈ Mn×n(R) be a symmetric matrix, then the eigenvalues ofA are all real numbers.

Page 23: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Linear Algebra Review

DefinitionLet A ∈ Mn×n(R) and let v ∈ Rn be a nonzero vector. Then v isan eigenvector of A if there exists a scalar λ ∈ R, such thatAv = λv . We say that λ is an eigenvalue of A with correspondingeigenvector v .

Proposition

Let A ∈ Mn×n(R) be a symmetric matrix, then the eigenvalues ofA are all real numbers.

Page 24: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Linear Algebra Review

DefinitionLet A ∈ Mn×n(R), and let aij denote the entry in the i th row andj th column. A is diagonally dominant if

|aii | ≥∑j 6=i

|aij |

for all 1 ≤ i ≤ n.

Example

A =

7 1 0 2 −1−1 6 −1 0 00 −1 3 1 00 0 −1 2 −12 0 0 −1 4

Page 25: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Linear Algebra Review

DefinitionLet A ∈ Mn×n(R), and let aij denote the entry in the i th row andj th column. A is diagonally dominant if

|aii | ≥∑j 6=i

|aij |

for all 1 ≤ i ≤ n.

Example

A =

7 1 0 2 −1−1 6 −1 0 00 −1 3 1 00 0 −1 2 −12 0 0 −1 4

Page 26: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Linear Algebra Review

Proposition

Let A be a symmetric, diagonally dominant n × n matrix such thataii > 0 for all a ≤ i ≤ n. Then all the eigenvalues of A arenon-negative.

Corollary

Let G be a graph with Laplacian L(G ). The eigenvalues of L(G )are all nonnegative real numbers. Therefore, we may list theeigenvalues of L(G ) as 0 = λ0 ≤ λ1 ≤ λ2 ≤ · · · ≤ λn−1.

Page 27: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Linear Algebra Review

Proposition

Let A be a symmetric, diagonally dominant n × n matrix such thataii > 0 for all a ≤ i ≤ n. Then all the eigenvalues of A arenon-negative.

Corollary

Let G be a graph with Laplacian L(G ). The eigenvalues of L(G )are all nonnegative real numbers. Therefore, we may list theeigenvalues of L(G ) as 0 = λ0 ≤ λ1 ≤ λ2 ≤ · · · ≤ λn−1.

Page 28: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Laplacian Matrix

Proposition

Let G be a graph with Laplacian matrix L(G ). Then λ = 0 is aneigenvalue of L(G ) with v = (1, 1, . . . , 1) as a correspondingeigenvector.

Proposition

Let G be a connected graph with Laplacian L(G ). Then λ = 0 isan eigenvalue of L(G ) with multiplicity one.

Page 29: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Laplacian Matrix

Proposition

Let G be a graph with Laplacian matrix L(G ). Then λ = 0 is aneigenvalue of L(G ) with v = (1, 1, . . . , 1) as a correspondingeigenvector.

Proposition

Let G be a connected graph with Laplacian L(G ). Then λ = 0 isan eigenvalue of L(G ) with multiplicity one.

Page 30: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

The Laplacian Matrix

Proposition

Let G be a graph with Laplacian matrix L(G ). Then λ = 0 is aneigenvalue of L(G ) with v = (1, 1, . . . , 1) as a correspondingeigenvector.

Proposition

Let G be a connected graph with Laplacian L(G ). Then λ = 0 isan eigenvalue of L(G ) with multiplicity one.

Page 31: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

DefinitionA graph G is a tree if G is connected and contains no cycles.

DefinitionLet G be a graph with a subgraph T . T is a spanning tree of G ifV (T ) = V (G ) and T is a tree.

Example

Page 32: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

DefinitionA graph G is a tree if G is connected and contains no cycles.

DefinitionLet G be a graph with a subgraph T . T is a spanning tree of G ifV (T ) = V (G ) and T is a tree.

Example

Page 33: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

DefinitionA graph G is a tree if G is connected and contains no cycles.

DefinitionLet G be a graph with a subgraph T . T is a spanning tree of G ifV (T ) = V (G ) and T is a tree.

Example

Page 34: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

DefinitionA graph G is a tree if G is connected and contains no cycles.

DefinitionLet G be a graph with a subgraph T . T is a spanning tree of G ifV (T ) = V (G ) and T is a tree.

Example

The Petersen Graph

Page 35: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

DefinitionA graph G is a tree if G is connected and contains no cycles.

DefinitionLet G be a graph with a subgraph T . T is a spanning tree of G ifV (T ) = V (G ) and T is a tree.

Example

A spanning tree of the Petersen graph

Page 36: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

QuestionGiven a graph G with vertices labelled {v1, v2, . . . , vn} how manylabelled spanning trees of G exist?

Theorem (Kirchoff’s Theorem)

Let G be a connected graph with n ≥ 2 labelled vertices, and let0 = λ0 < λ1 ≤ λ2 ≤ · · · ≤ λn−1 be the eigenvalues of L(G ). Thenthe number of spanning trees on G , t(G ), is given by

t(G ) = det(L(G )[i ]) =1

n

n−1∏k=1

λk

.Where L(G )[i ] denotes the matrix obtained from L(G ) by deleteingthe i th row and i th column.

Page 37: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

QuestionGiven a graph G with vertices labelled {v1, v2, . . . , vn} how manylabelled spanning trees of G exist?

Theorem (Kirchoff’s Theorem)

Let G be a connected graph with n ≥ 2 labelled vertices, and let0 = λ0 < λ1 ≤ λ2 ≤ · · · ≤ λn−1 be the eigenvalues of L(G ). Thenthe number of spanning trees on G , t(G ), is given by

t(G ) = det(L(G )[i ]) =1

n

n−1∏k=1

λk

.Where L(G )[i ] denotes the matrix obtained from L(G ) by deleteingthe i th row and i th column.

Page 38: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I We preceed by induction on |V (G )|+ |E (G )| = n + m

I When n + m = 3, the only connected graph is P2

P2

L(P2) =

[1 −1−1 1

]

Page 39: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I We preceed by induction on |V (G )|+ |E (G )| = n + m

I When n + m = 3, the only connected graph is P2

P2

L(P2) =

[1 −1−1 1

]

Page 40: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I We preceed by induction on |V (G )|+ |E (G )| = n + m

I When n + m = 3, the only connected graph is P2

P2

L(P2) =

[1 −1−1 1

]

Page 41: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I We preceed by induction on |V (G )|+ |E (G )| = n + m

I When n + m = 3, the only connected graph is P2

P2

L(P2) =

[1 −1−1 1

]

Page 42: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I Consider a graph |V (G )|+ |E (G )| = n + m + 1

I Let e = vivj be an edge incident with the vertex viI Notice that t(G ) = t(G − e) + t(G \ e)

v4

v1 v2

v3 (v1, v4)

v2

v3

L(G \ e) =

2 −2 0−2 3 −10 −1 1

Page 43: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I Consider a graph |V (G )|+ |E (G )| = n + m + 1

I Let e = vivj be an edge incident with the vertex viI Notice that t(G ) = t(G − e) + t(G \ e)

v4

v1 v2

v3 (v1, v4)

v2

v3

L(G \ e) =

2 −2 0−2 3 −10 −1 1

Page 44: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I Consider a graph |V (G )|+ |E (G )| = n + m + 1

I Let e = vivj be an edge incident with the vertex vi

I Notice that t(G ) = t(G − e) + t(G \ e)

v4

v1 v2

v3 (v1, v4)

v2

v3

L(G \ e) =

2 −2 0−2 3 −10 −1 1

Page 45: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I Consider a graph |V (G )|+ |E (G )| = n + m + 1

I Let e = vivj be an edge incident with the vertex viI Notice that t(G ) = t(G − e) + t(G \ e)

v4

v1 v2

v3 (v1, v4)

v2

v3

L(G \ e) =

2 −2 0−2 3 −10 −1 1

Page 46: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I Consider a graph |V (G )|+ |E (G )| = n + m + 1

I Let e = vivj be an edge incident with the vertex viI Notice that t(G ) = t(G − e) + t(G \ e)

v4

v1 v2

v3 (v1, v4)

v2

v3

L(G \ e) =

2 −2 0−2 3 −10 −1 1

Page 47: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

I Consider a graph |V (G )|+ |E (G )| = n + m + 1

I Let e = vivj be an edge incident with the vertex viI Notice that t(G ) = t(G − e) + t(G \ e)

v4

v1 v2

v3 (v1, v4)

v2

v3

L(G \ e) =

2 −2 0−2 3 −10 −1 1

Page 48: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Proof Outline:

By standard manipulation of the determinant we get

det(L(G )[i ]) = det(L(G − e)[i ]) + det(L(G \ e)[j ])

= t(G − e) + t(G \ e), by induction hypothesis

= t(G ).

Page 49: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Corollary (Cayley’s Formula)

The number of labelled spanning trees on the complete graph Kn

is nn−2.

Proof.The eigenvalues of L(Kn) are 0 and n with multiplicity 1 and n− 1,respectively. Therefore, by Kirchoff’s Theorem the number ofspanning trees on Kn is nn−1

n = nn−2.

Page 50: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

Counting Labelled Spanning Trees

Corollary (Cayley’s Formula)

The number of labelled spanning trees on the complete graph Kn

is nn−2.

Proof.The eigenvalues of L(Kn) are 0 and n with multiplicity 1 and n− 1,respectively. Therefore, by Kirchoff’s Theorem the number ofspanning trees on Kn is nn−1

n = nn−2.

Page 51: An Introduction to Spectral Graph Theory - Web hostingweb.uvic.ca/~wheelerm/FPslides.pdf · Graph Theory Review De nition Two vertices v i and v j 2V(G) are said to be adjacent if

References

C. Godsil and G. Royle, Algebraic Graph Theory, GraduateTexts in Mathematics, 2001.

A. E. Brouwer and W..H Haemers, Spectra of Graphs,Springer, 2011.