An Algorithmist s Toolkit September 10, Lecture 1

Similar documents
An Algorithmist s Toolkit September 15, Lecture 2

Specral Graph Theory and its Applications September 7, Lecture 2 L G1,2 = 1 1.

MATH 829: Introduction to Data Mining and Analysis Clustering II

Data Analysis and Manifold Learning Lecture 3: Graphs, Graph Matrices, and Graph Embeddings

Lecture 1. 1 if (i, j) E a i,j = 0 otherwise, l i,j = d i if i = j, and

Linear Algebra II Lecture 13

Lecture 13 Spectral Graph Algorithms

Physical Metaphors for Graphs

Lecture 15, 16: Diagonalization

1 Last time: least-squares problems

Lecture 12: Introduction to Spectral Graph Theory, Cheeger s inequality

18.312: Algebraic Combinatorics Lionel Levine. Lecture 19

Lecture 12 : Graph Laplacians and Cheeger s Inequality

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

Rings, Paths, and Paley Graphs

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

8.1 Concentration inequality for Gaussian random matrix (cont d)

MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2.

MATH 567: Mathematical Techniques in Data Science Clustering II

An Introduction to Spectral Graph Theory

Quadratic forms. Here. Thus symmetric matrices are diagonalizable, and the diagonalization can be performed by means of an orthogonal matrix.

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

Lecture 13: Spectral Graph Theory

Spectral Analysis of Random Walks

Math 3191 Applied Linear Algebra

1 Matrix notation and preliminaries from spectral graph theory

Math 2331 Linear Algebra

Diffusion and random walks on graphs

Data Analysis and Manifold Learning Lecture 7: Spectral Clustering

CS168: The Modern Algorithmic Toolbox Lectures #11 and #12: Spectral Graph Theory

22m:033 Notes: 7.1 Diagonalization of Symmetric Matrices

Ma/CS 6b Class 23: Eigenvalues in Regular Graphs

Rings, Paths, and Cayley Graphs

Spectral and Electrical Graph Theory. Daniel A. Spielman Dept. of Computer Science Program in Applied Mathematics Yale Unviersity

Exercise Set 7.2. Skills

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

MATH 567: Mathematical Techniques in Data Science Clustering II

An Algorithmist s Toolkit Nov. 10, Lecture 17

The Matrix-Tree Theorem

MATH 221, Spring Homework 10 Solutions

MATH 304 Linear Algebra Lecture 20: The Gram-Schmidt process (continued). Eigenvalues and eigenvectors.

An Algorithmist s Toolkit Lecture 18

MATH 1553-C MIDTERM EXAMINATION 3

Lecture 5: Random Walks and Markov Chain

Fiedler s Theorems on Nodal Domains

Econ Slides from Lecture 7

MATH 1553 PRACTICE MIDTERM 3 (VERSION B)

Diagonalization. Hung-yi Lee

Jordan Canonical Form Homework Solutions

An Algorithmist s Toolkit September 24, Lecture 5

Econ 204 Supplement to Section 3.6 Diagonalization and Quadratic Forms. 1 Diagonalization and Change of Basis

Spectral Graph Theory Lecture 3. Fundamental Graphs. Daniel A. Spielman September 5, 2018

MATH 423 Linear Algebra II Lecture 20: Geometry of linear transformations. Eigenvalues and eigenvectors. Characteristic polynomial.

1 Matrix notation and preliminaries from spectral graph theory

Eigenvalue and Eigenvector Homework

COMPSCI 514: Algorithms for Data Science

ORIE 4741: Learning with Big Messy Data. Spectral Graph Theory

Linear algebra and applications to graphs Part 1

Schur s Triangularization Theorem. Math 422

Math 205, Summer I, Week 4b:

Fiedler s Theorems on Nodal Domains

Ma/CS 6b Class 20: Spectral Graph Theory

17.1 Directed Graphs, Undirected Graphs, Incidence Matrices, Adjacency Matrices, Weighted Graphs

Diagonalization of Matrix

Introduction. Disclaimer. 1.1 First Things. 1.2 Introduction. Spectral Graph Theory Lecture 1. Daniel A. Spielman September 2, 2015

Recitation 9: Probability Matrices and Real Symmetric Matrices. 3 Probability Matrices: Definitions and Examples

Spectral Graph Theory and its Applications. Daniel A. Spielman Dept. of Computer Science Program in Applied Mathematics Yale Unviersity

Remark 1 By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

On the inverse matrix of the Laplacian and all ones matrix

Lecture 10 - Eigenvalues problem

CS 143 Linear Algebra Review

The Singular Value Decomposition

A lower bound for the Laplacian eigenvalues of a graph proof of a conjecture by Guo

Homework sheet 4: EIGENVALUES AND EIGENVECTORS. DIAGONALIZATION (with solutions) Year ? Why or why not? 6 9

Spectral Theory of Unsigned and Signed Graphs Applications to Graph Clustering. Some Slides

Lecture 7: Spectral Graph Theory II

Graph fundamentals. Matrices associated with a graph

Lecture 3 Eigenvalues and Eigenvectors

235 Final exam review questions

On common eigenbases of commuting operators

Laplacian Matrices of Graphs: Spectral and Electrical Theory

Generalized Eigenvectors and Jordan Form

MATH 304 Linear Algebra Lecture 33: Bases of eigenvectors. Diagonalization.

Fitting a Graph to Vector Data. Samuel I. Daitch (Yale) Jonathan A. Kelner (MIT) Daniel A. Spielman (Yale)

Linear Algebra II Lecture 22

Solutions to Final Exam

REU 2007 Apprentice Class Lecture 8

Laplacian Integral Graphs with Maximum Degree 3

Chapter 7: Symmetric Matrices and Quadratic Forms

Markov Chains and Spectral Clustering

Lecture 1: Graphs, Adjacency Matrices, Graph Laplacian

Ma/CS 6b Class 20: Spectral Graph Theory

Study Guide for Linear Algebra Exam 2

Course : Algebraic Combinatorics

Spectral Theorem for Self-adjoint Linear Operators

A New Spectral Technique Using Normalized Adjacency Matrices for Graph Matching 1

18.06 Quiz 2 April 7, 2010 Professor Strang

Section 7.3: SYMMETRIC MATRICES AND ORTHOGONAL DIAGONALIZATION

MAC Module 12 Eigenvalues and Eigenvectors. Learning Objectives. Upon completing this module, you should be able to:

Transcription:

18.409 An Algorithmist s Toolkit September 10, 2009 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. Everything in the overview should be in the course syllabus, so please consult that for a complete description. 2 Linear Algebra Review This course requires linear algebra, so here is a quick review of the facts we will use frequently. Definition 1 Let M by an n n matrix. Suppose that Mx = λx for x R n, x = 0, and λ R. Then we call x an eigenvector and λ an eigenvalue of M. Proposition 2 If M is a symmetric n n matrix, then If v and w are eigenvectors of M with different eigenvalues, then v and w are orthogonal (v w = 0). 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 v 1,..., v n. All eigenvalues and eigenvectors are real. M is diagonalizable: M = V ΛV T where V is orthogonal (V V T = I n ), with columns equal to v 1,..., v n, and Λ is diagonal, with the n corresponding eigenvalues of M as its diagonal entries. So M = i=1 λ iv i vi T. 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. 3 Matrices for Graphs During this course we will study the following matrices that are naturally associated with a graph: The Adjacency Matrix The Random Walk Matrix The Laplacian Matrix The Normalized Laplacian Matrix 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. Definition 4 For a graph G, the adjacency matrix A = A G is the n n matrix given by { 1 if (i, j) E A i,j = 0 otherwise For an unweighted graph G, A G is clearly symmetric. Definition 5 Given an unweighted graph G, the Laplacian matrix L = L G is the n n matrix given by 1 if (i, j) E L i,j = d i if i = j 0 otherwise where d i is the degree of the i th vertex. For unweighted G, the Laplacian matrix is clearly symmetric. An equivalent definition for the Laplacian matrix is L G = D G A G, where D G is the diagonal matrix with i th diagonal entry equal to the degree of v i, and A G is the adjacency matrix. 4 Example Laplacians Consider the graph H with adjacency matrix A H = 0 1 0 1 0 1 0 1 0 0 0 1 0 1 1 1 0 1 0 0 0 0 1 0 0 This graph has Laplacian L H = 2 1 0 1 0 1 2 1 0 0 0 1 3 1 1 1 0 1 2 0 0 0 1 0 1 Now consider the graph G with adjacency matrix 0 1 0 A G = 1 0 1 0 1 0 This graph has Laplacian 1 1 0 L G = 1 2 1 0 1 1 L G is a matrix, and thus a linear transformation. We would like to understand how L G acts on a vector v. To do this, it will help to think of a vector v R 3 as a map X : V R. We can thus write v as 1-2

X(1) v = X(2) X(3) The action of L G on v is then 1 1 0 X(1) X(1) X(2) ( X(1) X(2) ) L = = X(2) [ X(1)+X(3) G v = 1 2 1 X(2) 2X(2) X(1) X(3) 2 2 ] 0 1 1 X(3) X(3) X(2) X(3) X(2) For a general Laplacian, we will have [L G v] i = [d i (X(i) average of X on neighbors of i)] Remark For any G, 1 = (1,..., 1) is an eigenvector of L G 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 eigenvectors v i of L G : Order the eigenvalues so λ 1... λ n, with corresponding eigenvectors v 1,..., v n. Then v 1 = 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 R n may be construed as maps X v : 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 (X v2, X v3 ) : V R 2. The following examples generated in Matlab show that this embedding provides representations of some planar graphs. Image courtesy of Dan Spielman. Used with Permission. 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 Image courtesy of Dan Spielman. Used with Permission. Figure 3: Handmade graph embedding (left) and plot of first two nontrivial eigenvectors (right) for a graph used to model an airfoil 1-4

MIT OpenCourseWare http://ocw.mit.edu 18.409 Topics in Theoretical Computer Science: An Algorithmist's Toolkit Fall 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.