Nonnegative and spectral matrix theory Lecture notes

Similar documents
Applications to network analysis: Eigenvector centrality indices Lecture notes

MATH36001 Perron Frobenius Theory 2015

Spectral radius, symmetric and positive matrices

THE PERTURBATION BOUND FOR THE SPECTRAL RADIUS OF A NON-NEGATIVE TENSOR

Majorizations for the Eigenvectors of Graph-Adjacency Matrices: A Tool for Complex Network Design

Perron Frobenius Theory

Invertibility and stability. Irreducibly diagonally dominant. Invertibility and stability, stronger result. Reducible matrices

Z-Pencils. November 20, Abstract

The Perron-Frobenius Theorem and its Application to Population Dynamics

642:550, Summer 2004, Supplement 6 The Perron-Frobenius Theorem. Summer 2004

Notes on Linear Algebra and Matrix Theory

Spectral Properties of Matrix Polynomials in the Max Algebra

Markov Chains, Random Walks on Graphs, and the Laplacian

In particular, if A is a square matrix and λ is one of its eigenvalues, then we can find a non-zero column vector X with

Eigenvectors Via Graph Theory

Markov Chains and Stochastic Sampling

Geometric Mapping Properties of Semipositive Matrices

AN ELEMENTARY PROOF OF THE SPECTRAL RADIUS FORMULA FOR MATRICES

6.207/14.15: Networks Lectures 4, 5 & 6: Linear Dynamics, Markov Chains, Centralities

Linear Algebra Methods for Data Mining

NOTES ON THE PERRON-FROBENIUS THEORY OF NONNEGATIVE MATRICES

OPTIMAL SCALING FOR P -NORMS AND COMPONENTWISE DISTANCE TO SINGULARITY

On the adjacency matrix of a block graph

Math 489AB Exercises for Chapter 2 Fall Section 2.3

Some bounds for the spectral radius of the Hadamard product of matrices

An estimation of the spectral radius of a product of block matrices

Review of Some Concepts from Linear Algebra: Part 2

Detailed Proof of The PerronFrobenius Theorem

Lecture 15 Perron-Frobenius Theory

SIGN PATTERNS THAT REQUIRE OR ALLOW POWER-POSITIVITY. February 16, 2010

Diagonalization of Matrix

Wavelets and Linear Algebra

Recall : Eigenvalues and Eigenvectors

UCSD ECE269 Handout #18 Prof. Young-Han Kim Monday, March 19, Final Examination (Total: 130 points)

The effect on the algebraic connectivity of a tree by grafting or collapsing of edges

T.8. Perron-Frobenius theory of positive matrices From: H.R. Thieme, Mathematics in Population Biology, Princeton University Press, Princeton 2003

On the spectra of striped sign patterns

MAA704, Perron-Frobenius theory and Markov chains.

The University of Texas at Austin Department of Electrical and Computer Engineering. EE381V: Large Scale Learning Spring 2013.

Componentwise perturbation analysis for matrix inversion or the solution of linear systems leads to the Bauer-Skeel condition number ([2], [13])

Elementary linear algebra

Scientific Computing WS 2018/2019. Lecture 9. Jürgen Fuhrmann Lecture 9 Slide 1

The minimal spectral radius of graphs with a given diameter

Abed Elhashash and Daniel B. Szyld. Report Revised November 2007

Notes on Eigenvalues, Singular Values and QR

Sign patterns that allow eventual positivity

We first repeat some well known facts about condition numbers for normwise and componentwise perturbations. Consider the matrix

Lecture 1: Review of linear algebra

Discrete Math Class 19 ( )

Math 3191 Applied Linear Algebra

Markov Chains and Spectral Clustering

A linear model for a ranking problem

QUALITATIVE CONTROLLABILITY AND UNCONTROLLABILITY BY A SINGLE ENTRY

Lecture 7. Econ August 18

A = 3 1. We conclude that the algebraic multiplicity of the eigenvalues are both one, that is,

1 Last time: least-squares problems

Spectral Theorem for Self-adjoint Linear Operators

Section 1.7: Properties of the Leslie Matrix

INTRODUCTION TO LIE ALGEBRAS. LECTURE 2.

SPECTRAL THEOREM FOR SYMMETRIC OPERATORS WITH COMPACT RESOLVENT

On the convergence of weighted-average consensus

On the mathematical background of Google PageRank algorithm

Eigenvalues and Eigenvectors

Characterization of half-radial matrices

On the simultaneous diagonal stability of a pair of positive linear systems

CONVERGENCE OF MULTISPLITTING METHOD FOR A SYMMETRIC POSITIVE DEFINITE MATRIX

Numerical Linear Algebra Homework Assignment - Week 2

Econ Slides from Lecture 7

av 1 x 2 + 4y 2 + xy + 4z 2 = 16.

Two Characterizations of Matrices with the Perron-Frobenius Property

The Eigenvalue Problem: Perturbation Theory

Linear algebra and applications to graphs Part 1

Eigenvalue and Eigenvector Homework

Linear Algebra: Matrix Eigenvalue Problems

On Distributed Coordination of Mobile Agents with Changing Nearest Neighbors

MATH SOLUTIONS TO PRACTICE MIDTERM LECTURE 1, SUMMER Given vector spaces V and W, V W is the vector space given by

Abed Elhashash and Daniel B. Szyld. Report August 2007

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

Lecture 3: graph theory

NONCOMMUTATIVE POLYNOMIAL EQUATIONS. Edward S. Letzter. Introduction

MATRIX SPLITTING PRINCIPLES

Introduction to Iterative Solvers of Linear Systems

LINEAR ALGEBRA BOOT CAMP WEEK 2: LINEAR OPERATORS

Krylov Subspace Methods to Calculate PageRank

Key words. Strongly eventually nonnegative matrix, eventually nonnegative matrix, eventually r-cyclic matrix, Perron-Frobenius.

For δa E, this motivates the definition of the Bauer-Skeel condition number ([2], [3], [14], [15])

EXAM. Exam 1. Math 5316, Fall December 2, 2012

Perron eigenvector of the Tsetlin matrix

Spectral inequalities and equalities involving products of matrices

Perron-Frobenius theorem for nonnegative multilinear forms and extensions

Eigenvalues and Eigenvectors

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

arxiv: v3 [math.ra] 10 Jun 2016

Jim Lambers MAT 610 Summer Session Lecture 2 Notes

On trees with smallest resolvent energies 1

MATH 5524 MATRIX THEORY Pledged Problem Set 2

Spectral Graph Theory for. Dynamic Processes on Networks

A NEW EFFECTIVE PRECONDITIONED METHOD FOR L-MATRICES

Homework 2 Foundations of Computational Math 2 Spring 2019

REU 2007 Apprentice Class Lecture 8

Transcription:

Nonnegative and spectral matrix theory Lecture notes Dario Fasino, University of Udine (Italy) Lecture notes for the first part of the course Nonnegative and spectral matrix theory with applications to network analysis, held within the Rome-Moscow school on Matrix Methods and Applied Linear Algebra, August 204. The author is partially supported by Istituto Nazionale di Alta Matematica. This document is intended for internal circulation only. Basic definitions A (directed) graph is a pair G = (V, E) where V is a finite set of nodes (or vertices) and V E E is a set of (oriented) edges. Nodes can be visualized as points in the plane, and edges as arrows oining nodes. Hereafter, I generally assume V = {,..., n} and write i to indicate that (i, ) E. Edges of the form (i, i) are called loops. The graph G = (V, E) can be completely described by its adacency matrix, which is the n n matrix A such that A i = if i and A i = 0 otherwise. The notation A = A G indicates that A is the adacency matrix of G. 0 0 0 0 G : 4 A G = 0 0 0 0 0. 3 0 0 0 2 A graph is undirected (or non-oriented) when i i, that is, when its adacency matrix is symmetric. In that case, edges are depicted as lines instead of arrows, and the notation i replaces both i and i. Let A = A G, and let v R n. If we consider v i as a score placed on node i, then it is useful to look at the matrix-vector product w = Av as propagating the scores along the edges of G. A more formal result is the following, whose simple proof proceeds by induction and is omitted for brevity: Lemma.. Let A = A G. For any k N and i, =,..., n the value of (A k ) i is equal to the number of different walks of length k starting from and ending in i. Hereafter, a walk of length k in G is any sequence of nodes i 0, i,..., i k such that i i (or i i in the undirected case) for =,..., k For any given matrix A R n n, the graph associated to A is the graph G A = (V, E) such that V = {,..., n} and i A i 0. Thus, if the entries of A belong to the set {0, } then A is the adacency matrix of G A. Other useful notations are the following: An all-zeros matrix is denoted by O. An all-ones vector is denoted by. Inequality operators like or > are extended to matrices and vectors in the componentwise sense; for example, A O means that all elements of A are nonnegative.. Irreducible matrices Definition.2. The matrix A R n n is reducible if there is a permutation matrix P such that the matrix B = P AP T is in (lower) block triangular form: ( ) B = P AP T B B = 2, O B 22 Various authors define the adacency matrix as A i = i. I prefer the other definition for simplicity of subsequent notations.

2 A glimpse to Perron Frobenius theory 2 where diagonal blocks B, B 22 are square matrices. An irreducible matrix is a matrix that is not reducible. Definition.3. A graph is strongly connected if any two nodes are connected by a walk. The two preceding definitions are connected by the following important result: Theorem.4. A matrix A R n n is irreducible if and only if G A is strongly connected. Proof. Suppose that A is reducible. Apart of a permutation (which corresponds to a renumbering of the nodes of G A ) we can assume that A is already in reduced block triangular form: ( ) A A A = 2, A O A R n n, A 22 R n2 n2, () 22 with n +n 2 = n. Hence, in G A there are no edges connecting nodes,..., n to nodes n +,..., n. As a consequence, there are no walks going from nodes n +,..., n to nodes,..., n, and the graph is not strongly connected. Conversely, if G A is not strongly connected then there are two distinct nodes, say i and, such that there is no walk from i to. Let J be the set of all nodes that cannot be reached by a walk starting from i, and let I be its complementary set. Without loss of generality, we can suppose that J = {,..., n } (note that it s not empty, since J ) and I = {n +,..., n}. Clearly, A has the form (), hence it is reducible. 2 A glimpse to Perron Frobenius theory Quoting from [2, p. 662]: The Perron Frobenius theory is elegant. It is a testament to the fact that beautiful mathematics eventually tends to be useful, and useful mathematics eventually tends to be beautiful. Theorem 2. (Perron Frobenius). Let A R n n be an irreducible, nonnegative matrix. Then,. A has a positive eigenvalue equal to ρ(a). 2. To ρ(a) corresponds a positive eigenvector x. 3. ρ(a) is a simple eigenvalue of A, that is, corresponds to a single Jordan block of order. 4. ρ(a) increases (or decreases) when any entry of A increases (or decreases, respectively). That is, if A and B are two nonnegative, irreducible matrices with O A B and A B then ρ(a) < ρ(b). It is usual to call ρ(a) the Perron eigenvalue of A. Any associated positive eigenvector is a Perron eigenvector. Before proceeding to the proof of Theorem 2., it is useful to collect hereafter some facts from matrix theory. Lemma 2.2. If A R n n is an irreducible, nonnegative matrix then (I + A) n > O. Hint: (I + A) n is a linear combination of I, A,..., A n with positive coefficients. Use Theorem.4 and the score propagation argument to show that any column of (I + A) n is positive. Lemma 2.3. For any square matrix M, if ρ(m) < then the matrix series k=0 M k converges, and k=0 M k = (I M). Lemma 2.4. Let Ax = λx. Then, λ is multiple if and only if there exists y such that A T y = λy and x T y = 0. Hint: The proof of the last two facts relies on the Jordan normal form of A. Actually, it is sufficient to consider ust two simple cases: () A is diagonalizable; (2) A consists of a single nontrivial Jordan block. In fact, complete proofs can be established on the basis of the discussion of these two cases.

2 A glimpse to Perron Frobenius theory 3 2. Proof of Theorem 2. The following proof is largely based on the unpublished technical report by G. W. Stewart [3]. Various details have been added or adusted after discussing with students of the Rome-Moscow school. First of all, observe that if A O is irreducible then ρ(a) > 0. In fact, if ρ(a) = 0 then A is nilpotent, that is, there exists a positive integer m such that A m = O. In particular, A m e = 0. According to the score propagation interpretation of matrix-vector products Ae, A 2 e,..., we must conclude that all walks in G A starting from node sooner or later arrive to nodes without outgoing edges. This fact contradicts the fact that, owing to Theorem.4, G A is strongly connected. By replacing A with A/ρ(A), we may assume that ρ(a) =. For any 0 < τ <, the matrix I τa is nonsingular (hint: its eigenvalues lie in the circle {z C : z τ}). Hence, let x τ = (I τa) = + τa + τ 2 A 2 +... The series converges (owing to Lemma 2.3) and all terms are 0. Hence x τ 0. Its -norm is x τ = T x τ = τ k T A k. k=0 We want to prove that x τ as τ. In fact, note that T A k max(a k ) i = A k ρ(a k ) = ρ(a) k =, i hence x τ k=0 τ k = /( τ). The normalized vectors x τ / x τ lie on a compact (= closed and bounded) set. Hence, we can choose a sequence τ i such that x τi / x τi x 0. Owing to continuity, 0 = lim = lim (I τ i A)x τi = (I A)x. i x τi i x τi Thus Ax = x, that is, x is an eigenvector of A corresponding to = ρ(a). To show that x > 0 it is sufficient to observe that, since (I + A)x = 2x and (I + A) n > O (Lemma 2.2), we have 0 < (I + A) n x = 2 n x. If ρ(a) is not a simple eigenvalue then by Lemma 2.4 there exists a vector y such that y T A = ρ(a)y T and y T x = 0. Since x is positive, y T must have both positive and negative entries (otherwise y T x > 0). Let P = {i : y i 0} and N = {i : y i < 0}. Both sets are not empty and, without loss in generality, we can assume that P = {,..., n } and N = {n +,..., n}. Let z be the vector defined as { y P z = 0 N. It is not difficult to see that ρ(a)z T z T A. Moreover, because of irreducibility, there exists i N and P such that A i > 0; otherwise, A is as in (). Consequently, ρ(a)z = ρ(a)y = i P A i y i + i N A i y i < i P A i y i = n A i z i = (z T A). Thus, the inequality ρ(a)z T z T A is strict in at least one entry in P. Oving to the positivity of x we deduce ρ(a)z T x = z T Ax < ρ(a)z T x, a contradiction. Before completing the proof of Theorem 2., let s prove a result of independent interest: Lemma 2.5. Let A O be irreducible. Suppose that for some vector w 0 and scalars α, β 0 we have αw Aw βw, with strict inequalities in at least one entry. Then α < ρ(a) < β. i=

3 Complements: Bounding perturbations on Perron vectors 4 Proof. Since A T is nonnegative and irreducible (why?), then there exists a vector y > 0 such that y T A = ρ(a)y T. We have y T w > 0 and moreover, αy T w < y T Aw < βy T w, and the claim follows from the identity y T Aw = ρ(a)y T w. Finally, let z be a Perroneigenvector of B. We have Az Bz = ρ(b)z, and the last part of Theorem 2. follows from the rightmost inequality of Lemma 2.5. Exercise 2.6. Let A O be irreducible. Let α = min i A i and β = max i A i. Prove that () if α = β then ρ(a) = α; (2) if α < β then α < ρ(a) < β. 2.2 Primitive matrices One more useful result belonging to the Perron Frobenius theory is the following: Theorem 2.7 (O. Perron). If A > O then there is only one eigenvalue with modulus ρ(a). Proof. For some sufficiently small ε > 0, the matrix A εi is still positive and, using Theorem 2., ρ(a εi) = ρ(a) ε. On the other hand, if λ ρ(a) is another eigenvalue of A such that λ = ρ(a), then λ ε is an eigenvalue of A εi with λ ε > ρ(a εi), a contradiction. It is possible to extend Theorem 2.7 to any matrix A O with the following property: There exists a positive integer m such that A m > O. (2) In fact, if λ ρ(a) is an eigenvalue on the spectral circle of A then λ m belongs to the spectral circle of A m, thus violating Theorem 2.7. Actually, Frobenius called primitive any matrix A O having ρ(a) as the sole eigenvalue on the spectral circle {λ C : λ = ρ(a)}, and proved that a matrix is primitive if and only if it fulfills the condition (2). Note that a primitive matrix is necessarily irreducible, but the converse is not true. Hence, a primitive, nonnegative matrix A has ρ(a) as unique eigenvalue with largest modulus. All other eigenvalues are smaller in modulus. Remark 2.8. Theorem 2.7 allows us to conclude that if we apply the (normalized version of the) power method to a nonnegative, primitive matrix (starting from a positive vector, e.g., ) then the method will converge to a Perron eigenpair. This fact is not true for a generic irreducible A O. For example, examine the behaviour of the power method applied to the matrix ( ) 0 2 A =, /2 0 which is nonnegative and irreducible but not primitive (why?). 3 Complements: Bounding perturbations on Perron vectors The forthcoming theorem provides a bound on the relative change in a Perron eigenvector when some matrix rows are changed. The result states that when a few rows of a nonnegative matrix are perturbed then the relative changes in the corresponding elements of the Perron vector bound the relative changes in the other elements: Theorem 3. ([]). Let A,  be irreducible, nonegative matrices, let Ax = ρx and  = ˆρ be corresponding Perron eigenpairs. Let I be the index set of unchanged rows: I = {i : A i,: = Âi,:}. Hence, i I, ρ ˆρ min i ρˆρ =...n x x i max. =...n x In particular, if ˆρ > ρ then max i i I x i < max / I x while if ˆρ < ρ then min i i I x i < min / I x.

4 Applications: Epidemics on graphs 5 Proof. Firstly, note that by hypotheses we have x, x > 0. For any i I we have i x i = ˆρ i ˆρx i = = Â i ˆρx i The opposite inequality is obtained analogously. max x, whence max x k A i x ˆρx i x k [ ] max ρx i = ρˆρ ˆρx i x [ max Furthermore, if ρ/ˆρ < then max i i I x i < = max / I x, and analogously for the other inequality when ρ/ˆρ >. Exercise 3.2. Prove the following result: 2 Let v be a nonnegative vector, let B = A + e i v T. If x, y are positive Perron vectors of A and B, respectively, then y i /x i > y /x for i. 4 Applications: Epidemics on graphs If the graph G represents a computer network, or a social network, and A = A G, then the number ρ(a) plays an important role in modelling (computer or biologic, respectively) virus propagation in G. The smaller ρ(a), the larger the robustness of the network against the spread of viruses. Hereafter, I present a simple virus propagation model which has been discussed e.g., in [5, 2.7] and [4]. 3 Consider a virus spreading on G, where at each time step, a contagious node may infect its susceptible neighbors with probability µ (virus birth rate). At each time step, an infected node may also be cured with probability β (virus curing rate). If the number p i (t) measures the amount of infection of node i at time t, then the model is p i (t) = ( β)p i (t ) + µ p (t ), : i where p(t) = (p (t),..., p n (t)) T and p(0) is the initial state of infection. In matrix form, p(t) = (( β)i + µa)p(t ). Exercise 4.. Prove that p(t) 0 as t for all initial states p(0) if and only if ρ(a) < β/µ. You can assume that A is irreducible, but the claim is true in the most general case. 5 Exercises and problems Exercises marked with a star ( ) are requested for the final evaluation.. Let A O be irreducible. Prove that if z 0 is an eigenvector of A then it is the Perron eigenvector of A. Hint: Let y : y T A = ρ(a)y T. Evaluate ρ(a)y T z. 2. Let A O. Suppose (λi A) exists and is nonnegative. Then λ > ρ(a). Hint: Let (µ, x) be a Perron eigenpair of (λi A). Deduce Ax = (λ /µ)x and prove that x is a Perron vector of A. 3. ( ) A graph G = (V, E) is called bipartite if V = V V 2, V V 2 =, and every edge belongs to either V V 2 or V 2 V. (a) Prove that A G is not primitive. 2 Found in L. Elsner, C. Johnson, M. Neumann; Czech. Math. J. 32 (982), 99 09. 3 Another model of virus propagation in computer networks, leading to the same conclusion concerning ρ(a), has been developed in Van Mieghem P., Omic J., Kooi R., Virus spread in networks, IEEE/ACM Trans. Netw. 7 (2009) 4. x ].

5 Exercises and problems 6 (b) Assume that G is undirected. Find all eigenpairs (λ, x) of A G with λ = ρ(a G ). 4. ( ) Let A O be irreducible. Prove that if there exists an index i such that A ii > 0 then A is primitive. 5. ( ) Let O A B and let B be irreducible. Prove that ρ(a) < ρ(b). References [] Erik Dietzenbacher. Perturbations of matrices: a theorem on the Perron vector and its applications to input-output models. J. of Economics, 48 (988), 389 42. [2] Karl Meyer. Matrix Analysis and Applied Linear Algebra. SIAM, 2000. [3] Gilbert W. Stewart. Perron Frobenius Theory: A New Proof of the Basics. Technical report TR-94-79, University of Maryland, 994. ftp://thales.cs.umd.edu/pub/reports/pftnpb.ps [4] Wang Y., Chakrabarti D., Wang C., Faloutsos C. Epidemic spreading in real networks. ACM Trans. Inf. System Security 0 (2008), no. 3. [5] D. Cvetković, S. Simić. Graph spectra in Computer Science. Lin. Algebra Appl., 434 (20), 545 562. Last update: August 29, 204