Ma/CS 6b Class 20: Spectral Graph Theory

Similar documents
Ma/CS 6b Class 20: Spectral Graph Theory

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

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

Math 315: Linear Algebra Solutions to Assignment 7

Massachusetts Institute of Technology Department of Economics Statistics. Lecture Notes on Matrix Algebra

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

235 Final exam review questions

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

1 Last time: least-squares problems

Ma/CS 6b Class 25: Error Correcting Codes 2

Foundations of Matrix Analysis

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

18.S34 linear algebra problems (2007)

Conceptual Questions for Review

4. Determinants.

and let s calculate the image of some vectors under the transformation T.

CS 143 Linear Algebra Review

Eigenvalues and Eigenvectors

THE EIGENVALUE PROBLEM

The Singular Value Decomposition

Lecture Notes: Eigenvalues and Eigenvectors. 1 Definitions. 2 Finding All Eigenvalues

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


A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Ma/CS 6b Class 12: Graphs and Matrices

3 (Maths) Linear Algebra

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

ELE/MCE 503 Linear Algebra Facts Fall 2018

Lecture 7: Positive Semidefinite Matrices

Lecture 15 Review of Matrix Theory III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Recall the convention that, for us, all vectors are column vectors.

HW2 - Due 01/30. Each answer must be mathematically justified. Don t forget your name.

Maths for Signals and Systems Linear Algebra in Engineering

Lec 2: Mathematical Economics

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

MAC Module 12 Eigenvalues and Eigenvectors

Econ Slides from Lecture 7

Linear Algebra Review. Vectors

Knowledge Discovery and Data Mining 1 (VO) ( )

Linear Algebra: Matrix Eigenvalue Problems

This section is an introduction to the basic themes of the course.

Quantum Computing Lecture 2. Review of Linear Algebra

Spectral radius, symmetric and positive matrices

Common-Knowledge / Cheat Sheet

Linear Algebra in Actuarial Science: Slides to the lecture

Properties of Linear Transformations from R n to R m

Chapter 6. Eigenvalues. Josef Leydold Mathematical Methods WS 2018/19 6 Eigenvalues 1 / 45

PROBLEMS ON LINEAR ALGEBRA

HOMEWORK 9 solutions

STAT200C: Review of Linear Algebra

Math 3191 Applied Linear Algebra

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

4. Linear transformations as a vector space 17

Matrices A brief introduction

CAAM 335 Matrix Analysis

1. General Vector Spaces

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

a 11 a 12 a 11 a 12 a 13 a 21 a 22 a 23 . a 31 a 32 a 33 a 12 a 21 a 23 a 31 a = = = = 12

Notes on Linear Algebra

CS 246 Review of Linear Algebra 01/17/19

Recall : Eigenvalues and Eigenvectors

Lecture 15, 16: Diagonalization

EE5120 Linear Algebra: Tutorial 6, July-Dec Covers sec 4.2, 5.1, 5.2 of GS

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Eigenvectors. Prop-Defn

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

Study Guide for Linear Algebra Exam 2

Matrices and Linear Algebra

ALGEBRA QUALIFYING EXAM PROBLEMS LINEAR ALGEBRA

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

1 Determinants. 1.1 Determinant

AN ELEMENTARY PROOF OF THE SPECTRAL RADIUS FORMULA FOR MATRICES

UNIT 6: The singular value decomposition.

Topic 1: Matrix diagonalization

Announcements Wednesday, November 01

Ir O D = D = ( ) Section 2.6 Example 1. (Bottom of page 119) dim(v ) = dim(l(v, W )) = dim(v ) dim(f ) = dim(v )

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.


Refined Inertia of Matrix Patterns

Linear algebra and applications to graphs Part 1

Math 2331 Linear Algebra

City Suburbs. : population distribution after m years

Math 240 Calculus III

Vectors To begin, let us describe an element of the state space as a point with numerical coordinates, that is x 1. x 2. x =

Lecture 1: Review of linear algebra

LINEAR ALGEBRA REVIEW

Math Matrix Algebra

Mathematical foundations - linear algebra

5 More on Linear Algebra

Computationally, diagonal matrices are the easiest to work with. With this idea in mind, we introduce similarity:

Eigenvalues and Eigenvectors A =

Notes on singular value decomposition for Math 54. Recall that if A is a symmetric n n matrix, then A has real eigenvalues A = P DP 1 A = P DP T.

JUST THE MATHS SLIDES NUMBER 9.6. MATRICES 6 (Eigenvalues and eigenvectors) A.J.Hobson

Definitions for Quizzes

Diagonalization of Matrix

Eigenvalues and Eigenvectors. Review: Invertibility. Eigenvalues and Eigenvectors. The Finite Dimensional Case. January 18, 2018

Symmetric and anti symmetric matrices

MATRICES. a m,1 a m,n A =

Math Linear Algebra Final Exam Review Sheet

Last Time. Social Network Graphs Betweenness. Graph Laplacian. Girvan-Newman Algorithm. Spectral Bisection

Transcription:

Ma/CS 6b Class 20: Spectral Graph Theory By Adam Sheffer Recall: Parity of a Permutation S n the set of permutations of 1,2,, n. A permutation σ S n is even if it can be written as a composition of an even number of transpositions. Otherwise, σ is odd. sgn σ = ቊ 1, σ is even 1, σ is odd 1

Determinants S n the set of permutations of 1,2,, n. M an n n matrix. m ij j th cell in i th row of M. The determinant of M is det M = M = σ S n m 1,σ(1) m n,σ n sgn σ Simple Example det M = M = σ S n m 1,σ(1) m n,σ n sgn σ a c b d = ad bc. 2

Eigenvalues and Eigenvectors A an n n matrix of real numbers. The eigenvalues of A are the numbers λ such that Ax = λx for some nonzero vector x R n. A vector x that satisfies Ax = λx for some eigenvalue λ is an eigenvector of A. Example. A = 2 1 1 2. Eigenvalue λ 1 = 3 with eigenvectors of the form a, a. Eigenvalue λ 2 = 1 with eigenvalues of the form a, a. Characteristic Polynomial A an n n matrix of real numbers. The characteristic polynomial of A is φ A; λ = det λi A. The roots of φ A; λ are exactly the eigenvalues of A. The algebraic multiplicity of an eigenvalue λ i is the multiplicity of λ i in φ A; λ. (Do not confuse with the geometric multiplicity, which is the dimension of the space of eigenvectors associated with λ). 3

Example: Multiplicities A = 2 0 0 0 1 2 0 0 0 1 3 0 0 0 1 3 λ 2 0 0 0 det λi A = det 1 λ 2 0 0 0 1 λ 3 0 0 0 1 λ 3 = λ 2 2 λ 3 2. So we have the eigenvalues λ 1 = 2 and λ 2 = 3, each with (algebraic) multiplicity 2. Recall: Adjacency Matrix A = Consider a graph G = V, E. We order the vertices as V = v 1, v 2,, v n. The adjacency matrix of G is a symmetric n n matrix A. The cell A ij contains the number of edges between v i and v j. v 1 0 1 0 1 0 1 0 0 1 1 0 1 0 1 0 0 0 1 0 1 1 1 0 1 0 v 5 v 4 v 2 v 3 4

The Spectrum of a Graph Consider a graph G = V, E and let A be the adjacency matrix of G. The eigenvalues of G are the eigenvalues of A. The characteristic polynomial φ G; λ is the characteristic polynomial of A. The spectrum of G is spec G = λ 1,, λ t, m 1,, m t where λ 1,, λ t are the distinct eigenvalues of A and m i is the multiplicity of λ i. Example: Spectrum A = det λi A = det 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 λ 1 0 1 1 λ 1 0 0 1 λ 1 1 0 1 λ = λ 2 λ 2 λ + 2. spec C 4 = 0 2 2 2 1 1 v 1 v 2 v 4 v 3 5

Spectral Graph Theory Spectral graph theory is the study of properties of a graph in relationship to the characteristic polynomial, eigenvalues, and eigenvectors of matrices associated with the graph, such as its adjacency matrix. Beyond being useful in graph theory, it is also used in research in quantum chemistry. Slight Change of Notation Instead of multiplicities, let λ 1,, λ n be the not necessarily distinct eigenvalues of G. 2 1 For example, if the spectrum is 2 2, we write λ 1 = λ 2 = 2 and λ 3 = λ 4 = 1 (instead of λ 1 = 2, m 1 = 2, λ 2 = 1, m 2 = 2). 6

The Spectral Theorem Every adjacency matrix A is symmetric and real. Theorem. Any real symmetric n n matrix has real eigenvalues and n orthonormal eigenvectors. The algebraic and geometric multiplicities are the same in this case. n We have φ A; λ = ς i=1 λ λ i. The multiplicity of an eigenvalue λ is n rank λi A. Changing the Diagonal A an n n real symmetric matrix. c a real constant. Adding c to each cell in the diagonal of A increases each of the eigenvalues of A by c. Since α + c is a root of det λi (ci + A) if and only if α is a root of det(λi A). 7

The Spectrum of a Complete Graph Problem. What is the spectrum of K n? 1 n n the all 1 s n n matrix. The adjacency matrix is A = 1 n n I. What is the spectrum of 1 n n? n 0 1 n 1. (Eigenvectors 1,1,, 1, 1, 1,0,, 0, etc.) Using the argument from the previous slide, we have n 1 1 spec K n = 1 n 1. Trace A n n adjacency matrix of a graph G. The trace of A is trace A = σ n i=1 A ii. In φ A; λ = det λi A, the coefficient of λ n 1 is trace A. n Since φ A; λ = ς i=1 λ λ i, we have trace A = σ n i=1 λ i Since G is simple, we get trace A = A ii = 0. n i=1 Thus, we have σ n i=1 λ i = 0. 8

Complete Bipartite Graphs Problem. What is the spectrum of K m,n? We have A = 0 m m 1 m n 1 n m 0 n n. We have rank A = 2 so the multiplicity of λ = 0 is m + n rank 0 I A = m + n 2. Denote the remaining eigenvalues as λ 2 and λ 3. We have 0 = trace A = λ 2 + λ 3. Searching for λ 2 We know that the spectrum of K m,n is 0 λ 2 λ 2. m + n 2 1 1 We thus have φ K m,n ; λ m+n = i=1 λ λ i = λ m+n 2 λ 2 λ 2 2 Recall that A = 0 m m 1 m n 1 n m 0 n n. Thus the coefficient of λ m+n 2 in det λi A is σ i j A ij A ji = mn. 9

Finding λ 2 m+n φ G; λ = i=1 λ λ i = λ m+n λ 2 2 λ m+n 2. The coefficient of λ m+n 2 in det λi A is σ i j A ij A ji = mn. So the spectrum of K m,n is 0 mn mn m + n 2 1 1. Which Famous American Serial Killer is Related to Mathematics Charles Manson The Unabomber Ted Bundy 10

Recall: Minors A minor of a matrix A is the determinant of a square sub-matrix, cut down from A by removing one or more of its rows or columns. A k k minor is the determinant of a k k submatrix of A. The Coefficient of λ n 2 A n n adjacency matrix of a (simple) graph G = (V, E). The leading coefficient of φ G; λ is 1. The coefficient of λ n 1 is trace A = 0. What is the coefficient of λ n 2? As in the example of K m,n, it is σ i j A ij A ji (sum of the 2 2 minors with the same row and column indices). Such a minor is -1 if v i, v j E, and 0 otherwise. Therefore, the coefficient of λ n 2 is E. 11

A n n adjacency matrix of a graph G. What is the coefficient of λ n 3 in φ G; λ? It is the sum of the 3 3 minors with the same row and column indices). Such a 3 3 minor is nonzero iff for the corresponding indices i, j, k we have that v i, v j, v k form a cycle of length three. Then det 0 e ij e ik e ij 0 e jk e ik e jk 0 = det 0 1 1 1 0 1 1 1 0 = 2. Thus, the coefficient of λ n 3 is 2 times the number of copies of K 3 in G. A Generalization A n n adjacency matrix of a graph G. The coefficient of λ n i in φ G; λ is the sum of the i i minors of A with the same row and column indices (times 1 i ). 12

Powers of A A n n adjacency matrix of a graph G. Recall that cell i, j of A k is the number of paths of length k between v i and v j. If λ is an eigenvalue of A, what do we know about A k? v an eigenvector of λ. A k v = λa k 1 v = λ 2 A k 2 v = = λ k v. So λ k is an eigenvalue of A k, with corresponding eigenvector v. Adding Isolated Vertices A n n adjacency matrix of a graph G. What happens to the spectrum of G when adding an isolated vertex? We add a row and a column of zeros to A. Recall that the multiplicity of an eigenvalue λ is n rank λi A. Specifically, the multiplicity of the eigenvalue 0 is n rank(a). Since adding the new row and column does not change rank(a), this increases the multiplicity of 0 by 1. 13

Eigenvalues of Bipartite Graphs Lemma. Let G be a bipartite graph and let λ be a nonzero eigenvalue of G with multiplicity m. Then λ is also an eigenvalue of G with multiplicity m. v 1 v 2 v 4 v 3 Example: Spectrum A = det λi A = det 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 λ 1 0 1 1 λ 1 0 0 1 λ 1 1 0 1 λ = λ 2 λ 2 λ + 2. spec G = 0 2 2 2 1 1 v 1 v 2 v 4 v 3 14

Eigenvalues of Bipartite Graphs Lemma. Let G be a bipartite graph and let λ be a nonzero eigenvalue of G with multiplicity m. Then λ is also an eigenvalue of G with multiplicity m. Proof. If the two sides of G have different sizes, we even them out by adding isolated vertices. These do not change the spectrum of G except for increasing the multiplicity of 0. n the number of vertices in each part. We can write the adjacency matrix of G as 0 n n B B T where B is an n n matrix. 0 n n v = x y an eigenvector of λ (where both x and y have n coordinates). Then λx 0 B x = λv = Av = λy B T 0 y = By B T x. Then for v = x y we have Av B y = B T = λx x λy. That is, v is an eigenvector of λ. Also, if λ has k independent eigenvectors, so does λ. 15

More Bipartite Graphs Theorem. Let G be a graph with n vertices. Then the following statements are equivalent: G is bipartite. The nonzero eigenvalues of G occur in pairs: λ i = λ j. σ n i=1 λ t i = 0 for any odd positive integer t. Proof. The previous lemma shows that the first statement implies the second. Proof Assume that the eigenvalues of G occur in pairs: λ i = λ j. For any positive odd integer t, we have λ i t = λ j t. Thus σ n i=1 λ t i = 0. 16

Proof (cont.) Assume that for any positive odd integer t, we have σ n i=1 λ t i = 0. Recall that the λ t i s are the eigenvalues of A t. Since trace A t = σ n i=1 λ t i = 0, and A t contains only non-negative elements, the main diagonal of A t is all zeros. That is, there are no odd-length cycles in G. Recall from 6a that a G is bipartite iff it contains no odd-length cycles. The End Before Ted Kaczynski was the Unabomber, he was a mathematics professor at Berkeley. At the time, he was the youngest professor ever to get hired by Berkeley. His specialty was complex analysis. 17