An Algorithmists Toolkit Lecture 1
An Algorithmists Toolkit Lecture 1
Lecture 1
Lecturer: Jonathan Kelner Scribe: Jesse Geneson (2009)
1 Overview
The class’s goals, requirements, and policies were introduced, and topics in the class were described. Every
thing in the overview should be in the course syllabus, so please consult that for a complete description.
M x = λx
for x ∈ Rn , x =
� 0, and λ ∈ R. Then we call x an eigenvector and λ an eigenvalue of M .
• If v and w are eigenvectors of M with the same eigenvalue, then so is q = av + bw, so eigenvectors
with the same eigenvalue need not be orthogonal.
• M has a full orthonormal basis of eigenvectors v1 , . . . , vn . All eigenvalues and eigenvectors are real.
• M is diagonalizable:
M = V ΛV T
where V is orthogonal (V V T = In ), with columns equal to v1 , �
. . . , vn , and Λ is diagonal, with the
n
corresponding eigenvalues of M as its diagonal entries. So M = i=1 λi vi viT .
In Proposition 2, it was important that M was symmetric. No results stated there are necessarily true
in the case that M is not symmetric.
Definition 3 We call the span of the eigenvectors with the same eigenvalue an eigenspace.
1-1
Let G = (V, E) be a graph, where |V | = n and |E| = m. We will for this lecture assume that G is
unweighted, undirected, and has no multiple edges or self loops.
4 Example Laplacians
Consider the graph H with adjacency matrix
⎛ ⎞
0 1 0 1 0
⎜
⎜ 1 0 1 0 0 ⎟
⎟
AH = ⎜
⎜ 0 1 0 1 1 ⎟
⎟
⎝ 1 0 1 0 0 ⎠
0 0 1 0 0
1-2
⎛ ⎞
X(1)
v = ⎝ X(2) ⎠
X(3)
Remark For any G, 1 = (1, . . . , 1) is an eigenvector of LG with eigenvalue 0, since for this vector X(i)
always equals the average of its neighbors’ values.
Proposition 6 We will see later the following results about the eigenvalues λi and corresponding eigenvec
tors vi of LG :
• Order the eigenvalues so λ1 ≤ . . . ≤ λn , with corresponding eigenvectors v1 , . . . , vn . Then v1 = 1 and
λ1 = 0. So for all i λi ≥ 0.
• One can get much information about the graph G from just the first few nontrivial eigenvectors.
5 Matlab Demonstration
As remarked before, vectors v ∈ Rn may be construed as maps Xv : V → R. Thus each eigenvector assigns a
real number to each vertex in G. A point in the plane is a pair of real numbers, so we can embed a connected
graph into the plane using (Xv2 , Xv3 ) : V → R2 . The following examples generated in Matlab show that
this embedding provides representations of some planar graphs.
Figure 1: Plots of the first two nontrivial eigenvectors for a ring graph and a grid graph
1-3
Image courtesy of Dan Spielman. Used with Permission.
Figure 2: Handmade graph embedding (left) and plot of the first two nontrivial eigenvectors (right) for an
interesting graph due to Spielman
1-4
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.