CommonSpace

This is the lecture note for a micro-seminar of ChatGPT.

Graphs and Matrices

Introduction

We start with a lovely algebra problem.

Problem. Let n>1 be a positive integer. Consider the polynomial defined by

Fn(x)=i=1nxgcd(i,n)

Prove that Fn(x)+1 is irreducible over Z.

The last time you've seen this polynomial might be in a number theory problem that says n divides Fn(x) for every positive integer x. (The standard solution is to use induction on n.) Actually this problem has a combinatorial solution: Fn(x)n is the number of distinct necklaces made up of n balls in x distinct colors up to a rotation, hence an integer.

Back to this problem. Let's first try some standard methods. Eisenstein's criterion seems not to work. Perron's criterion could solve some cases, by considering the reciprocal polynomial of Fpk(x)+1, where p is a prime. General irreducibility criterions cannot bring us further.

We turn to find some special properties of the polynomial Fn. As we said before, Fn has the special property that nFn(x) for every integer x. In particular, if there is a linear factor of Fn(x)+1, let α be its root, then we have 0=Fn(α)+11(modn), which can only happen when n=1.

We can rule out other factors by exactly the same way:

Lemma. For every monic polynomial P with integer coefficients, if α1,α2,,αd are all its (complex) roots, then we have the property

ni=1dFn(αi).

While it is not so difficult for one to come up with an algebraic or number theoretic proof of this lemma, the truly interesting thing is, there is a combinatorial proof of it.

Proof, but combinatorial. We still use the idea of counting necklaces, but this time, we cannot choose colors at our will. Let G(V,E) be a directed multigraph. This time, we use E as our set of colors. A necklace is called valid, if it is made up of balls of color e1,e2,,en in this order, such that e1,e2,,en generates a directed closed walk in G in the same order. We count the number of valid necklaces up to rotation. By Burnside's lemma the number is

1ni=1n(number of directed closed walk in G with length gcd(i,n)).

So we need to count the number of closed walks in a directed graph. This is where matrices shows up. Let A be the adjacency matrix of G, then the number of directed closed walk in G with length is exactly trA. Therefore,

ni=1ntrAgcd(i,n).

Let the eigenvalues of A be λ1,λ2,,λd. Then

trA=i=1dλi.

Therefore

ni=1nj=1dλjgcd(i,n)=j=1dFn(λj).

To complete the proof, let P be an arbitrary monic polynomial with integer coefficients. Let A be its companion matrix, i.e. a matrix that has P as its characteristic polynomial. Since we're doing things modulo n, we can add some n's to every entry of A, making it a matrix with non-negative integer entries. Thus A can be seen as the adjacency matrix of some directed multigraph G, and the lemma follows.

We will see that this lemma easily implies the irreducibility of Fn(x)+1. If P(x) is a factor of Fn(x)+1, let α1,,αd be all its complex roots, and we have

0=i=1d(Fn(αi)+1)=i=1dFn(αi)+dd(modn)

This can only happen if d=0 or d=n, which means P1 or P=Fn+1, hence the irreducibility.


I really like this problem because it perfectly combines different aspects of combinatorics, algebra and number theory. It also shows the marvellous relation between graph theory and matrices, specifically eigenvalues of the adjacency matrix, a.k.a. the spectrum of a graph. This lecture will show some of my favourite topics in spectral graph theory.

Calculation of Spectra

Before studying spectra, we first discuss how to calculate spectra.

Proposition. The spectrum of the cycle Cn is

{2cos2πkn:k=1,2,,n}.

Discussion. Give a combinatorial interpretation of spectra.

Discussion. Calculate the spectrum of a path, Pn. Observe that the spectrum of Pn is contained in the spectrum of C2n+2. Can you prove this observation combinatorially? Give a sequence of graphs G1G2 such that the spectrum of Gi+1 contains the spectrum of Gi.

Discussion. Prove that the eigenvalues of G×H are given by λ+μ, where λ runs over the eigenvalues of G and μ runs over the eigenvalues of H, multiplicities counted.

Bounds Related to the Spectrum

Subgraphs

The first question we might want to ask is: how does the spectrum of a subgraph relate to that of the original graph? This is equivalent as asking, how does the eigenvalues of a principal submatrix relate to those of the original matrix?

The following theorem gives a nice inequality about these:

Cauchy's Interlace Theorem. If λ1λn are eigenvalues of a symmetric real matrix A and μ1μn1 are eigenvalues of B, a principal minor of A. Then

λ1μ1μn1λ1.

This theorem gives us bounds on the spectra of subgraphs.

We now see how the spectrum can give us bounds of graphic properties.

Degree

We often denote the largest eigenvalue and the smallest eigenvalue of G by λ1(G) and λn(G), respectively.

Discussion. Prove that

Δ(G)λ1(G).

Hint. Use the combinatorial interpretation.

In the above theorem, we can actually replace the adjacency matrix A by any matrix that is obtained by replacing some 1's in A by 1.

As an interesting application, let's prove a theorem, which appeared as a lemma used to prove the sensitivity conjecture:

Theorem. (Hao Huang) Let H be an arbitrary induced graph of the hupercube Qn with 2n1+1 vertices. Then

Δ(H)n.

Hint. Don't use the ordinary adjacency matrix; use

A1=(0110), An=(An1IIAn1).

There is also a trivial upper bound on the minimal degree:

Proposition. δ(G)λ1(G).