ΘρϵηΠατπ

Essay 1

In this essay we will talk about graphs and a way to represent them via matrices, we will then study some elementary properties of these matrices. We start our discussion off with some fundamental definitions for graph theory.

Graph
A graph is an ordered pair G=(V,E) of sets where E{{x,y}:x,yV,xy}

We call E the set of edges and V the vertices, also note that edges don't have an order to them, as we know that {x,y}={y,x}, sometimes we want them to have a direction, and in that case we have this definition:

Directed Graph
A directed graph is an ordered pair G=(V,E) of sets where E{(x,y):x,yV,xy}

Throughout this entire discussion we will assume our graphs to be finite, unless otherwise stated.

When working graphs it's useful to talk about the way vertices are related to eachother, the first one we'll look at is when two vertices have an edge between them:

Neighboring Vertices
Given a graph G=(V,E) and x,yV then we say that x,y are neighbors if {x,y}G
Set of Neighbors of a Vertex
Given a graph G=(V,E) and xV then we denote the set of neighbors of x as nbs(x)
Degree of a Vertex
Given a graph G=(V,E) and xV then we denote degree of x as deg(x)=|nbs(x)|

With these defintions in place we can define matrices that encode a graph entirely:

Adjacency Matrix
Given a graph G=(V,E) then we denote the adjacency matrix of the graph G by AG where ai,j={1 if {i,j}E0 otherwise 
Laplacian Matrix
Given a graph G=(V,E) then we denote the Laplacian matrix of the graph G by LG where li,j={1 if {i,j}Edeg(i) if i=j0 otherwise 

Note that both the adjacency matrix and laplacian iterate through all possible pairs of vertices, that is to say that the shape of both these matrices is |V|×|V|

Note that if we focus on a row we are looking at elements of the form li, where i is fixed, and therefore for the diagonal element of that row we store the degree of i and for each other element in that row we cout each neighbor with a 1 and therefore the sum of each row is zero.

A Vertex Incident to an Edge
Given a graph G=(V,E) and some vV then we say it is incident to an edge {x,y} if v{x,y}
Walk
A walk on a graph is an alternating series of vertices and edges beginning and ending with a vertex such that each edge is incident with the vertex directly before it and and directly after it.

Note that when we have a walk between two vertices u,v we call it it a uv walk, moreover a walk from vu is different . Now we can connect a few of the above ideas together

The Entries of the Power of an Adjacency Matrix Represent Walks
Given a graph G=({1,,m},E) where m1 then given an entry ai,j of the matrix AGn equals the number of ij walks of length n

We go by induction, so for n=1 then the n-th power is just the regular adjacency matrix, additionally each ai,j represents if there is an edge between the two vertices, which is the same as the number of walks from i to j of length 1.

Now suppose that the statement holds true for any n1 then let's prove that it holds true for n+1. Since it holds true on n then we know that AGn has the desired property, but note that AGn+1=AGnAG.

If we denote the elements of AGn+1 by ai,j, those of AGn by bi,j and those of AG by ci,j then by the definition of matrix multiplication ai,j=k=1mbi,kck,j by our induction hypothesis we know that bi,k are the number of ik walks of length n and by the regular definition of AG we know that ck,j represents whether or not there is a edge connecting k,j, that is, the value is either 0 or 1.

If ck,j=1 then we can take each possible path of length n from ik and then extend the path to j via the edge {k,j}, note that all path from ij are of this form for some k therfore k=1mbi,kck,j represents the total number of ij walks of length n+1 as needed. Therefore the statement holds true by induction.

Laplacian of an Edge
Suppose G=({1,2,,m},E) and {u,v}E then we define the Laplacian for the edge {u,v} as LG{u,v} as li,j={1 if i=ji{u,v}1 if {i,j}={u,v}0 otherwise 

The above matrix is mostly zeros, but along a diagonal element of the matrix lk,k if k is part of the edge, then it is a 1 and there will be exactly two cases where li,j=1 based on the definition.

The Laplacian Is the Sum of Edge Laplacians
LG={u,v}ELG{u,v}
TODO: Add the proof here.
Quadratic Form of the Edge Laplacian Is a Squared Difference
For any xn we have xTLG{u,v}x=(xuxv)2
TODO: Add the proof here.
Positive Semi-definite
Given an n×n matrix M then it is positive-semidefinite if for any xn we have xTMx0
The Laplacian Is Positive-semidefinite
As per title.
TODO: Add the proof here.
Every Eigenvalue of the Laplacian Is Non-negative
As per title.

Suppose that λ is an eigen value, and xn an eigenvector for λ (non-zero). We already know that xTLGx0, but also note xTLGx=xT(λx)=λxTx

Since x0 then we have xTx>0, therefore we must have that γ0, as needed.

By the real spectral theorem we deduce now that LG has an orthonormal basis consisting of eigen vectors of LG, in that case denote them as 0λ1λ2λn

Path
A path is a non-empty graph P=(V,E) of the form V={v0,v1,,vn} and E={{v0,v1},{v1,v2},,{vn1,vn}} where the vertices vi are distinct.

In other-words a path is just a walk such that you don't go over the same vertex.

Connected
Given a non-empty graph G we say that it is connected if given any two vertices in G there is a path between them.

We'll now start our exploration of eigenvalues of the laplacian and what they tell us about the original graph.

0 Is an Eigenvalue for the Laplacian
Let G be a graph then 0 is an eigenvalue of LG
Consider x=(1,1,,1) then note that the column matrix c=LGx has ci=k=1nli,k equivalently this is the sum of a row of the laplacian and we've already mentioned that this value is 0, showing that c=0 and therefore 0 is an eigenvalue of LG

Here we have the first connection with the connectivity of a graph, note that this is quite an interesting property to have, as we can compute eigenvalues quickly and computers operate quickly on matrices, this can provide a speedup

There Is Only One Zero Eigen Value for the Laplacian of a Connected Graph
Let G be a connected graph then 0 is an eigenvalue and all other eigenvalues of LG are positive

Let zn be a non-zero eigenvector, then note that zTLGz=zT0=0 and also that zTLGz={u,v}E(zuzv)2=0, in otherwords for each {u,v}E we have zu=zv.

Now since G is connected, we know that given any i,jV there is a path connecting zi to zj this means that for each edge in this path the two incident vertices are equal by what was just discussed, and therefore by transitivity of equality we see that zi=zj, therefore we conclude that z=α(1,1,,1), therefore the eigen space associated with the eigenvalue of 0 is span((1,1,,1)).

From there we deduce that the multiplicity of the eigenvalue 0 is equal to 1 thus we must have that λ20 for if it was equal to zero, then since as before the 0=λ1λ2λn were the eigenvalues for an orthonormal basis then if λ2=0 we would get that the multiplicity would be 2, a contradiction, therefore λ20, that is λ2>0 as needed.

Subgraph
Suppose G=(V,E) is a graph, then a subgraph S of G is a graph S=(E,V) such that VV and E={{x,y}:x,yV{x,y}E}

In other words a subgraph is a graph that's already a part of the original graph.

Connected Component
A connected component of a graph G is a subgraph G=(V,E) such that i,jV are connected, but also that for any kVV we have that i,k are not connected.

A connected component is a component such that it itself is connected, but for any vertex outside of it, there is no way to get there, so a graph with 3 connected components would look like a graph with three parts to it, but no way to get from one part to another.

The Geometric Multiplicity of the Eigenvalue Zero of the Laplacian Is the Number of Connected Components
Let G=(V,E) be a graph, then the geometric multiplicity of 0 for LG is equal to the number of connected components in G.
Suppose that Gi=(Vi,Ei) for i[k] for some k1 are the connected components of a graph G then if we construct k vectors of the form w _ i \in \mathbb{ R } ^ \left\lvert V \right\rvert ParseError: Got function '\left' with no arguments as superscript at position 26: …\mathbb{ R } ^ \̲l̲e̲f̲t̲\lvert V \right… holding information about which vertices from the original graph exist in the component, that is: (wi)j={1 if jVi0 otherwise  Now given an non-zero eigenvector x of LG then we know that xi=xj whenever i,jV are in the same connected component from the last proposition, therefore we deduce that the eigenspace for 0 is span(w1,w2,,wk), by construction, the collection {w1,w2,,wk} are linearly indpendent so the dimension of the eigenspace is k, that is to say that the geometric multiplicity of the eigenspace of 0 for LG is the number of connected components.

Now we explore the eigenvalues and eigenvectors of some known graphs.

Complete
We say that a graph G=(V,E) is complete whenever V={1,2,,m} and E={{i,j}:ijV}. In that case we refer to G as Km
The Eigenvalues of the Laplacian of a Connected Graph
The laplcian of Km has 0 as an eigenvalue with geometric multiplicity 1 and m as an eigenvalue with geometric multiplicity m1

We already know that since there is one connected component, then we should have that the geometric multiplicity of 0 is 1.

Now since each vertex Kn is connected to n1 other vertices, then we know that the laplacian of Kn is such that ki,j={1 if ijn1 if i=j therefore LKnnI is a matrix of all -1's which has rank one and is not invertible, thus n is an eigenvalue of the laplacian of Kn, finally by the rank nullity theorem we conclude that null(LKnnI)=n1 so then the eigenvalue n has multiplicity n1

Cycle Graph
The cycle graph on n vertices is denoted by Cn is a graph G=(V,E) where V=[n] and E={{i,i+1}:i[n]}{{1,n}}
Laplacian of the Cycle Graph
LCn=(2101121001211012)
TODO: Add the proof here.
An Eigenvector of the Laplacian of the Cycle Graph Yields More Eigenvectors by Its Cyclic Permutations
Suppose that xn is an eigenvector of LCn, then for any x which is a cyclic permutation of x, then it is also an eigenvector of LCn

If LCnx=λx then we have a series of equations, let us label these equations:

  • (Equation 1): 2x1x2xn=λx1 also and
  • (Equation n ): x1xn1+2xn=λxn
  • For each 1<k<n we have (Equation k): xk1+2xkxk+1=λxm

Now suppose that x is a cyclic permutation of x, ie, there is a bijection f:[n][n] such that xf(i)=xi.

We want to prove that x is an eigen vector for λ, thus we must verify that LCnx=λx, but that generates another n equations similar to those above, but note that given the i-th equation generated by this situation of the form xi1+2xixi+1=λxi is equivalent to this equation xf(i1)+2xf(i)xf(i+1)=λxf(i) which holds true due to our original equations from LCnx=λx, thus since all equations hold true then x is an eigenvector.

Laplacian of the Cycle Graph Has Trigonometric Eigenvalues
The Laplacian of Cn has eigenvalues given by 22cos(2πkn) for k and associated eigenvectors of the form:

Suppose that λ is an eigenvector of LCn and x an eigenvector for that eigenvalue,then recall from the previous proof we have:

  • (Equation 1): 2x1x2xn=λx1 also and
  • (Equation n ): x1xn1+2xn=λxn
  • For each 1<k<n we have (Equation k): xk1+2xkxk+1=λxm

We know that if P is a cyclic permutation, then Px is also an eigenvector for λ. This means that x,Px,,Pn1x are all eigenvectors of λ. However, the maximum dimension of any eigenspace is n1 because we already knew that 0 was an eigenvalue of multiplicity 1. So there must be some j such that: Pjxspan({x,Px,,Pj1x}) If j happened to be one, then we would be saying that Px=αx for some α, meaning that we are able to multiply all the numbers in this vector by a constant, and it will "loop" them around, so we will assume that xi=ai for some constant a, and see if we get any progress. That is if we plug in a potential solution of this form into the equations we have: 2aan1=λ2a1na1=λ and 2a1a=λ for all 1<i<n

If we add the third equation to the first we obtain that an1+a1=0 so that a1=an1 therefore 1=an which would imply that for each ak=e2πkin (where i the imaginary number i), we see that ak is a solution to the above equations, in other words x1=ak for each k[n] with xi=(x1)i (as assumed earlier) will produce a valid eigen vector.

For each of the n eigen vectors, we can explicitly determine their eigenvalue, based on (Equation 1) we note that their associated eigenvalues are given by λk=22cos(2πkn), we note that these values are real, but x may consist of complex coefficients. Writing our vector x using Euler's formula it is of the form: zm(k)=cos(2πkmn)+isin(2πkmn) Since LCnz(k)=λkz(k) and both LCn and λk are real, this means that both the real part and the imaginary part of z(k) are invariant under LCn because LCn consists of real entries. Thus we can conclude that xm(k)=cos(2πkmn) and ym(k)=sin(2πkmn) are both eigenvectors for λk=22cos(2πkn). Then, for k>n2, x(k)Span({x(1),x(2),,x(j)})(jn2), and y(k)Span({y(1),y(2),,y(j)})(jn2) So the eigenvalues are 22cos(2πkn) with kn2. The list above is exhaustive since we have formed n independent eigenvectors correspondingly to these eigenvalues: When n is odd, we have one eigenvector x(0) for λ0=0(y(0)=0), and two eigenvectors x(k) and y(k) for all 0<k<n2. When n is even, we have one eigenvector x(0) for λ0=0(y(0)=0) and two eigenvectors x(k) and y(k) for all 0<k<n2 and one eigenvector x(n2) for λn2=4 ( y(n2)=0 ).

Essay 2

Continuing on with what I learned in my first essay I decided to look at these eigenvalues in more detail, making a detour on the proof of Courant-Fischer which helps us obtain some bounds on these eigenvalues. Knowing this is important because the smallest non-zero eigenvalue of the Laplacian of a graph tells us how connected a graph is. We start with some preliminaries:

Rayleigh Quotient
Given a vector x0 and M a compatible matrix, then we define the Rayleigh quotient as xTMxxTx
The Rayleigh Quotient of an Eigenvector Is Its Eigenvalue
As per title.
if Mx=μx, then xTMxxTx=xTμxxTx=μ
Quadradic Form as a Summation of Eigenvalues
Let M be a symmetric matrix with eigenvalues μ1,,μn and a corresponding orthonormal basis of eigenvectors ψ1,,ψn. Let x be a vector whose expansion in the eigenbasis is x=i=1nciψi Then, xTMx=i=1nci2μi
Note the following algebra, where αi and βi are temporary vector valued variables to help ease you into the next line: xTMx=(i=1nciψi)TM(j=1ncjψj)=(i=1nciψi)T(j=1ncjμjψj)=(i=1nαi)T(j=1nβj)=i,j[n]αiTβj=i,j[n]cicjμjψiTψj But we know that ψiTψj={0 for ij1 for i=j therefore xTMx=ici2μi

The Courant-Fischer Theorem tells us that the vectors x that maximize the Rayleigh quotient are exactly the eigenvectors of the largest eigenvalue of the given matrix.

Courant Fischer
Let M be a symmetric matrix with eigenvalues μ1μ2μn. Then, μk=maxS𝐑ndim(S)=kminxSx0xTMxxTx=minT𝐑ndim(T)=nk+1maxxTx𝟎xTMxxTx where the maximization and minimization are over subspaces S and T of n.

Let ψ1,,ψn be an orthonormal set of eigenvectors of M corresponding to μ1,,μn. We will only prove that μk=maxS𝐑ndim(S)=kminxSx0xTMxxTx Only because the other is symetrically similar.

In order to prove that μk is achievable. Let S be the span of ψ1,,ψk. We can expand every xS as x=i=1kciψi Now since μiμk for i[k] we have that xTMxxTx=i=1kμici2i=1kci2i=1kμkci2i=1kci2=μk And thus a lower bound on the minimum value, that is: minxSxTMxxTxμk

To show that this is in fact the maximum, we will prove that for all subspaces S of dimension k, minxSxTMxxTxμk

Let T be the span of ψk,,ψm. As T has dimension nk+1, every S of dimension k has an intersection with T of dimension at least 1 because (nk+1)+k=n+1, therefore: minxSxTMxxTxminxSTxTMxxTxmaxxTxTMxxTx

Now recall x in T may be expressed as x=i=knciψi and so for x in T since μkμi where kin, we get: xTMxxTx=iknμici2i=knci2iknμkci2i=knci2=μk which shows that minxSxTMxxTxμk so we conclude : μk=maxS𝐑ndim(S)=kminxSx0xTMxxTx

For our purposes we will use a more speicific version of the theorem:

Courant Fischer Specific
Let A be an n×n symmetric matrix and let 1kn. Let λ1λ2λn be the eigenvalues of A and v1,v2,,vn be the corresponding eigenvectors. Then, λ1=minx0xTAxxTxλ2=minx0 and xv1xTAxxTxλn=maxx0xTAxxTx
TODO: Add the proof here.

With this new version of the theorem we can get a lower bound on the largest eigenvalue of the Laplacian of a graph. For the next theorem we will denote the k-th eigen value of of the laplacian of a graph G by λk(G), note that in the context of having n eigenvalues since they were ordered in an non-decreasing way then λn(G) is the largest eigenvalue.

The Largest Eigenvalue of the Laplacian of a Graph Is at Least as Large as the Degree of Any Vertex
Let G=(V,E) be a graph with V={1,2,,n} and uV. If u has degree d, then λn(G)d

By Courant-Fischer Theorem, λn(G)=maxx0xTLGxxTx By the combination of this corollary and this proposition we have xTLGx={u,v}E(xuxv)2

Note that {u,v}E((ej)u(ej)v)2=d because for each edge {u,v}E such that j is incident to that edge, ie j{u,v} then we know that {(ej)u,(ej)v}={0,1} and thus ((ej)u(ej)v)2=1, on the other hand the number of edges such that j is incident to is simply the degree of j thus said equation holds true.

Now using the information gathered in the last paragraph recall the standard basis: e1,e2,,en and consider x=ej for some j[n], we have: ejTLGejeuTeu={u,v}E((ej)u(ej)v)2(ej)u2=d1=d So λn(G)xTLGxxTx=d.

Now we focus on the second smallest eigenvalue, whose importance we learned of in the first essay.

The Second Smallest Eigenvalue of the Laplacian of the Path Graph on N Vertices Is in the Big O of One Over N Squared
Let Pn be the path graph, then λ2(Pn)𝒪(1n2).
We start by considering the vector u such that ui=(n+1)2i, the reason why is so that it becomes perpendicular with 1, the vector of all ones: u1=i=1n((n+1)2i)=supi=1n(n+1)+2i=1ni=0 As seen earlier on 1 spans the eigenspace for the eigenvalue λ1=0. Then by Courant-Fischer we get an upperbound: λ2(Pn)=minx1xTLPnxxTxuTLPnuuTu We have also shown that: xTLGx={u,v}E(xuxv)2 By the nature of u we have that uiui+1=(n+1)2i((n+1)2(i+1))=2 So therefore: uTLPnuuTu=i=1n1(uiui+1)2i(ui)2<n22i=1n1(n+12i)2 The denominator (n+12i)2𝒪(n3), so we can conclude that λ2𝒪(1n2)

This concludes my exploration of spectral graphs for the moment.