Lecture 2: Eigenvalues and their Uses

Similar documents
Lecture 19: The Determinant

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

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

Recitation 8: Graphs and Adjacency Matrices

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

Math Lecture 26 : The Properties of Determinants

Matrices and Linear Algebra

Calculating determinants for larger matrices

Therefore, A and B have the same characteristic polynomial and hence, the same eigenvalues.

Determinants. Beifang Chen

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

4. Determinants.

Chapter 5. Eigenvalues and Eigenvectors

Math 240 Calculus III

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

33AH, WINTER 2018: STUDY GUIDE FOR FINAL EXAM

Lecture 6: Lies, Inner Product Spaces, and Symmetric Matrices

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

Solution Set 7, Fall '12

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Linear Algebra Review

1 Last time: determinants

MTH 464: Computational Linear Algebra

Symmetric and anti symmetric matrices

235 Final exam review questions

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

Review problems for MA 54, Fall 2004.

Chapter 2 Notes, Linear Algebra 5e Lay

Math 416, Spring 2010 The algebra of determinants March 16, 2010 THE ALGEBRA OF DETERMINANTS. 1. Determinants

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?

Lecture 23: Trace and determinants! (1) (Final lecture)

Diagonalization. MATH 1502 Calculus II Notes. November 4, 2008

Lecture Summaries for Linear Algebra M51A

MATH 583A REVIEW SESSION #1

The determinant. Motivation: area of parallelograms, volume of parallepipeds. Two vectors in R 2 : oriented area of a parallelogram

4. Linear transformations as a vector space 17

Determinants Chapter 3 of Lay

Eigenvalues, Eigenvectors, and Diagonalization

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.

Linear Algebra Primer

Determinants An Introduction

PROBLEM SET. Problems on Eigenvalues and Diagonalization. Math 3351, Fall Oct. 20, 2010 ANSWERS

1 Last time: least-squares problems

Notes on the Matrix-Tree theorem and Cayley s tree enumerator

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Third Midterm Exam Name: Practice Problems November 11, Find a basis for the subspace spanned by the following vectors.

Lecture 1 and 2: Random Spanning Trees

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Chapter 5: Matrices. Daniel Chan. Semester UNSW. Daniel Chan (UNSW) Chapter 5: Matrices Semester / 33

LS.1 Review of Linear Algebra

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

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

Eigenvectors and Hermitian Operators

Linear algebra and applications to graphs Part 1

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Math Linear Algebra II. 1. Inner Products and Norms

A Brief Outline of Math 355

Applied Mathematics 205. Unit V: Eigenvalue Problems. Lecturer: Dr. David Knezevic

1 0 1, then use that decomposition to solve the least squares problem. 1 Ax = 2. q 1 = a 1 a 1 = 1. to find the intermediate result:

Lecture 4: Applications of Orthogonality: QR Decompositions

Math Linear Algebra Final Exam Review Sheet

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

det(ka) = k n det A.

Eigenvalues and Eigenvectors

Inverses and Determinants

ORIE 6334 Spectral Graph Theory September 8, Lecture 6. In order to do the first proof, we need to use the following fact.

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

Determinants: Uniqueness and more

1 Matrices and Systems of Linear Equations. a 1n a 2n

Linear Algebra - Part II

A = , A 32 = n ( 1) i +j a i j det(a i j). (1) j=1

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

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

Eigenspaces and Diagonalizable Transformations

MAT 1302B Mathematical Methods II

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

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

22m:033 Notes: 3.1 Introduction to Determinants

Quantum Computing Lecture 2. Review of Linear Algebra

MATRICES ARE SIMILAR TO TRIANGULAR MATRICES

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Math Matrix Algebra

Elementary maths for GMT

CS 143 Linear Algebra Review

Solutions Problem Set 8 Math 240, Fall

Numerical Linear Algebra Homework Assignment - Week 2

Chapter 3. Determinants and Eigenvalues

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

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

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

Linear Algebra II. Ulrike Tillmann. January 4, 2018

Math 215 HW #9 Solutions

Lecture 19: Isometries, Positive operators, Polar and singular value decompositions; Unitary matrices and classical groups; Previews (1)

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra- Final Exam Review

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

Math 205, Summer I, Week 4b:

MIT Final Exam Solutions, Spring 2017

Conceptual Questions for Review

Transcription:

Spectral Graph Theory Instructor: Padraic Bartlett Lecture 2: Eigenvalues and their Uses Week 3 Mathcamp 2011 As you probably noticed on yesterday s HW, we, um, don t really have any good tools for finding eigenvalues yet Let s fix that! 1 The Determinant Specifically, let s fix that by introducing the idea of the determinant The motivation for our definition of the determinant, specifically, is coming from the idea of n-dimensional signed volume: in other words, if I give you a list of n vectors in R n, I want the determinant to tell me the volume of the parallelotope spanned by these n vectors, multiplied by a factor of ±1 to record the orientation 1 of this paralleletope So: in two dimensions, what is this? Well: if I give you two vectors (a, b) and (c, d), the volume of the parallelogram spanned by these two vectors is just ad bc, something you can show fairly easily/is reserved for the HW More trickily, if I give you three vectors (a, b, c), (d, e, f), (x, y, z), if we re really clever, we can show that the area of the parallelepiped spanned by these three vectors is aez afy + bfx bdz + cdy cex = a (ez fy) b(dz cfx) + c(dy ex) = a area((e, f), (y, z)) b area((d, f), (x, z)) + c area((d, e), (x, y)) So: this suggests a recursive definition for our concept of the determinant! Specifically, it suggests the following definition: Definition For a n n matrix A, let A ij denote the matrix formed from A by deleting the i-th row and j-th column from A Then, we can define the determinant of A recursively 2 as follows: for 1 1 matrices, we define det(a) = a 11, and for larger n n matrices A, we define det(a) = n ( 1) i 1 a 1i det(a 1i ) i=1 1 By orientation, I am being deliberately vague here One good interpretation of this is that we want the sign of the determinant to change if we switch two of these vectors in our list (as visually this kind-of inverts our paralleletope,) and want the paralleletope spanned by all of the standard basis vectors in order to have positive volume 2 A recursive definition is one that is defined recursively! 1

The determinant has a ton of properties We list some of them here, and leave the rest for you to prove on the HW: 1 If I n is the n n identity matrix, then det(i n ) = 1 2 Suppose that A is a n n matrix If A is the matrix acquired by multiplying the k-th row of A by some constant λ, then det(a ) = λ det(a) 3 For any pair of n n matrices A, B, det(ab) = det(a) det(b) In particular, this tells us that det(a 1 ) = 1/ det(a), whenever A is an invertible matrix With these observations locked down, we move to our stated claim: Theorem 1 If v 1, v n are a list of vectors in R n, then the volume of the parallelotope spanned by these vectors is just the absolute value of the determinant of the following matrix: v 11 v 12 v 13 v 1n v 21 v 22 v 23 v 2n A = v 31 v 32 v 33 v 3n, v n1 v n2 v n3 v nn where v i = (v i,1, v i,n ) Proof First, recall that by the singular value decomposition theorem, we can write any matrix A as the product U D V T, where U and V are a pair of unitary matrices and D is a diagonal matrix Geometrically, this theorem tells us that we can write any linear transformation A as the product of three steps: a rotation/reflection map V T, a map which stretches all of the coördinate axes by constants d i, ie the map D, and another rotation/reflection map U So: because det(a) = det(udv T ) = det(u) det(d) det(v T ), and the determinant of any unitary matrix 3 is ±1, we have det(a) = det(u) det(d) det(v T ) = ± n d i, where the d i s are the entries on the diagonal of D But what is the volume of our paralleletope in the first place? Well: because A I = A, we can regard it as the volume of the unit cube [0, 1] n under the transformation given by A But what does A do to a unit cube? Well: 3 This is because unitary matrices have their inverses equal to their transposes, and thus we have det(i n) = det(uu 1 ) = det(uu T ) = det(u) det(u T ) = det(u) 2 2 i=1

First, it passes it through a rotation/reflection map V T, which does not change the volume Then, it passses it through a map which stretches all of the coördinate axes by constants d i This scales the volume by d i for each such stretching; so this changes the volume by a factor of n i=1 d i Finally, it passes it through another rotation/reflection map U, which does not change the volume Therefore, the volume of our paralleletope is n i=1 d i, as claimed One nice corollary of this proof is that the determinant of a matrix A is zero iff the rows of A are linearly dependent, as the volume of the paralellotope defined by these vectors is zero precisely when their span can be contained in some n k-dimensional space, for k 1 Why did we have this discussion? Well, primarily, because it gives us a really effective tool for finding eigenvalues! Why is this? Well: what does it mean to be an eigenvalue λ for some matrix A? It means that there is some vector v such that Av = λv Av λv = 0 (A λi)v = 0, which holds iff there is some nontrivial way to combine A λi s rows to get to zero, which holds iff the determinant of A λi is zero! In other words, we ve just proven the following: Proposition 2 For a matrix A, λ is an eigenvalue of A iff λ is a root of the polynomial det(a xi) We ve thus reduced our eigenvalue search to simply finding the roots of a polynomial, something we are generally pretty decent at! We calculate some actual eigenvalues in the next section: 2 Calculating Spectra Example The spectrum of K n : The adjacency matrix of K n is 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 = 1 1 1 1 I n 1 1 1 0 1 1 1 1 3

Consequently, its characteristic polynomial has roots wherever the rows of λ 1 1 1 1 λ 1 1 1 1 λ 1 1 1 1 λ are linearly dependent, with multiplicity equal to n (number of linearly independent rows) What are these roots and multiplicities? Well: when λ = 1, this matrix is the all-1 s matrix, and thus has only one linearly independent row: so the eigenvalue 1 occurs with multiplicity n 1 This leaves at most one root in the characteristic polynomial for us to find! So: when λ = n 1, we have that the sum of all of the rows in our matrix is 0; therefore, this is also an eigenvalue of our matrix As we ve found n eigenvalues, we know that we ve found them all, and can thus conclude that the spectrum of K n is {(n 1) 1, ( 1) n 1 } (where the superscripts here denote multiplicity, not being raised to a power,) and its characteristic polynomial is (x n + 1)(x + 1) n 1 Example Let S n denote the star graph, with one central vertex connected to n 1 outer leaves The adjacency matrix for this graph (if we suppose that the central vertex is numbered n) is of the form 0 0 0 1 0 0 0 1 A = 0 0 0 1 1 1 1 0 Consequently, its characteristic polynomial has roots wherever λ 0 0 1 0 λ 0 1 det 0 0 λ 1 1 1 1 λ is zero By applying the recursive definition of the determinant, we can expand along the top row of our matrix and see that 0 λ 0 0 det (A Sn λi) = λ det ( A Sn 1 λi ) 0 0 λ 0 + ( 1) n 1 det 0 0 0 λ 1 1 1 1 4

From here, we apply the permutation (1, 2, n 1) (n 1, 1, 2, ) to the right-side matrix, which changes its determinant by ( 1) n 2 : 1 1 1 λ = λ det ( A Sn 1 xi ) 0 λ 0 0 + ( 1) 2n 3 det 0 0 λ 0 0 0 0 λ Finally, we take the transpose of this matrix, which does not affect the determinant From there, applying the definition of the determinant makes it obvious that its determinant is the product of the diagonal entries in this matrix, as after one expansion the diagonal is the only thing left: = λ det ( A Sn 1 xi ) + ( 1) 2n 3 det = λ det ( A Sn 1 xi ) + ( 1) 2n 3 1 det = λ det ( A Sn 1 λi ) + ( 1) 3n 5 λ n 2 = λ det ( A Sn 1 λi ) + ( 1) n 1 λ n 2 1 0 0 0 1 λ 0 0 1 0 λ 0 λ 0 0 λ λ 0 0 0 λ 0 0 0 λ Plugging in the observation that det(a S2 λi) = λ 2 1, we recursively have that det(a S3 λi) = λ(λ 2 1) + λ 1 = λ 3 + 2λ det(a S4 λi) = λ( λ 3 + 2λ) λ 2 = λ 4 3λ 2, and in general det(a Sn λi) = ( 1) n λ n 2 (λ 2 (n 1)) Consequently, by solving for the roots of this polynomial, we can see that the spectrum of S n is {( n 1) 2, 0 n 2 } 5

Example The spectrum of C n : The adjacency matrix of C n is 0 1 0 0 1 1 0 1 0 0 0 1 0 1 0 A Cn 0 0 1 0 0 1 1 0 0 1 0 This is kinda awful So: let s be clever! Specifically, let s consider instead the directed cycle D n, formed by taking the cycle graph C n and orienting each edge {i, i + 1} so that it goes from i to i + 1 This graph has adjacency matrix given by the following: 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 A Dn = 0 0 0 0 0 1 1 0 0 0 0 What s the characteristic polynomial of this matrix? Well: it s what you get when you take the determinant λ 1 0 0 0 0 λ 1 0 0 0 0 λ 1 0 det(a Dn λi) = det 0 0 0 λ 0 1 1 0 0 0 λ If we apply the definition of the determinant, we can expand along the top row of this matrix and write det(a Dn λi) as λ det λ 1 0 0 0 λ 1 0 0 1 0 0 0 λ 1 0 0 0 λ 0 1 det 0 0 λ 0 1 1 0 0 0 λ 1 0 0 λ The left matrix has determinant equal to the product of its diagonal entries: this can be seen by taking its transpose and repeatedly applying the definition of the determinant The right matrix is a bit trickier: however, if we permute the columns of this matrix by sending 6

(1, 2, n 1) (n 1, 1, 2, ), we will change the determinant by ( 1) n 2, and have our sum of matrices in the following form: 1 0 0 0 λ 1 0 0 =( 1) n λ n ( 1) n 2 det 0 λ 0 0 1 0 0 λ 1 This right matrix now has determinant given by 1, which we can see by just repeatedly applying the definition of the determinant Therefore, we ve shown that det(a Dn λi) = (λ n 1) ( 1) n The roots of this are precisely the n-th roots of unity, ie the n distinct numbers 1, e (2πi)/n, e (2πi)2/n, e (2πi)(n 1)/n such that any of these numbers ζ, when raised to the n-th power, is 1 Furthermore, we can actually see that each of these eigenvalues ζ has corresponding eigenvector given by (1, ζ, ζ 2, ζ n 1 ), because 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 1 ζ ζ 2 ζ 3 ζ n 1 = ζ ζ 2 ζ 3 ζ 4 1 = ζ n = ζ 1 ζ ζ 2 ζ 3 ζ n 1 Turning this into information about C n is not a difficult thing to do: therefore, we leave it for the homework! With these examples worked, we can close with a question we placed on the last HW set, whose answer we should now be able to answer: Question 3 If G 1 and G 2 are a pair of graphs with the same spectrum, are G 1 and G 2 isomorphic? 7