Another algorithm for nonnegative matrices

Similar documents
The matrix approach for abstract argumentation frameworks

8. Prime Factorization and Primary Decompositions

Nonnegative Matrices I

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Detailed Proof of The PerronFrobenius Theorem

AUSLANDER-REITEN THEORY FOR FINITE DIMENSIONAL ALGEBRAS. Piotr Malicki

QUIVERS AND LATTICES.

Intrinsic products and factorizations of matrices

Vladimir Kirichenko and Makar Plakhotnyk

Classification of root systems

Spectral Properties of Matrix Polynomials in the Max Algebra

Topological automorphisms of modified Sierpiński gaskets realize arbitrary finite permutation groups

On the adjacency matrix of a block graph

A NOTE ON GENERALIZED PATH ALGEBRAS

Geometric Mapping Properties of Semipositive Matrices

THE CLOSED-POINT ZARISKI TOPOLOGY FOR IRREDUCIBLE REPRESENTATIONS. K. R. Goodearl and E. S. Letzter

A quasisymmetric function generalization of the chromatic symmetric function

9. Integral Ring Extensions

The Laplacian spectrum of a mixed graph

MAT 5330 Algebraic Geometry: Quiver Varieties

PERVERSE SHEAVES ON A TRIANGULATED SPACE

SELF-DUAL HOPF QUIVERS

Factorization in Polynomial Rings

UNIVERSAL DERIVED EQUIVALENCES OF POSETS

Journal Algebra Discrete Math.

The number of simple modules of a cellular algebra

3. Categories and Functors We recall the definition of a category: Definition 3.1. A category C is the data of two collections. The first collection

Representations of quivers

Generalized Pigeonhole Properties of Graphs and Oriented Graphs

Category Theory. Categories. Definition.

Pyramids and monomial blowing-ups

Hierarchical open Leontief models

Algebraic Varieties. Notes by Mateusz Micha lek for the lecture on April 17, 2018, in the IMPRS Ringvorlesung Introduction to Nonlinear Algebra

Z-Pencils. November 20, Abstract

Self-dual interval orders and row-fishburn matrices

MATH 8253 ALGEBRAIC GEOMETRY WEEK 12

32 Divisibility Theory in Integral Domains

Polynomials, Ideals, and Gröbner Bases

L(C G (x) 0 ) c g (x). Proof. Recall C G (x) = {g G xgx 1 = g} and c g (x) = {X g Ad xx = X}. In general, it is obvious that

Estimates for probabilities of independent events and infinite series

Introduction to finite fields

Physical justification for using the tensor product to describe two quantum systems as one joint system

SECTION 2: THE COMPACT-OPEN TOPOLOGY AND LOOP SPACES

Paths and cycles in extended and decomposable digraphs

Lecture 6. s S} is a ring.

Injective semigroup-algebras

CHAPTER 0 PRELIMINARY MATERIAL. Paul Vojta. University of California, Berkeley. 18 February 1998

Kernels of Directed Graph Laplacians. J. S. Caughman and J.J.P. Veerman

5 Quiver Representations

Tree sets. Reinhard Diestel

Monomial subdigraphs of reachable and controllable positive discrete-time systems

Citation Osaka Journal of Mathematics. 43(2)

Chapter 0. Introduction: Prerequisites and Preliminaries

Quadratic and Copositive Lyapunov Functions and the Stability of Positive Switched Linear Systems

Modified Gauss Seidel type methods and Jacobi type methods for Z-matrices

Topological properties

Positive entries of stable matrices

Lecture Notes Introduction to Cluster Algebra

arxiv: v3 [math.ds] 21 Jan 2018

Tutorials in Optimization. Richard Socher

CHEVALLEY S THEOREM AND COMPLETE VARIETIES

The cocycle lattice of binary matroids

RESEARCH ARTICLE. An extension of the polytope of doubly stochastic matrices

We describe the generalization of Hazan s algorithm for symmetric programming

arxiv:math/ v1 [math.oa] 9 May 2005

Section III.6. Factorization in Polynomial Rings

FUNCTORS AND ADJUNCTIONS. 1. Functors

MAT 445/ INTRODUCTION TO REPRESENTATION THEORY

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

The Perron eigenspace of nonnegative almost skew-symmetric matrices and Levinger s transformation

2. Prime and Maximal Ideals

Strongly Regular Decompositions of the Complete Graph

An Alternative Proof of Primitivity of Indecomposable Nonnegative Matrices with a Positive Trace

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

Exercises on chapter 0

Two Characterizations of Matrices with the Perron-Frobenius Property

LECTURE 3: RELATIVE SINGULAR HOMOLOGY

Eigenvectors Via Graph Theory

RANK AND PERIMETER PRESERVER OF RANK-1 MATRICES OVER MAX ALGEBRA

Support weight enumerators and coset weight distributions of isodual codes

121B: ALGEBRAIC TOPOLOGY. Contents. 6. Poincaré Duality

MATH 223A NOTES 2011 LIE ALGEBRAS 35

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

Quivers of Period 2. Mariya Sardarli Max Wimberley Heyi Zhu. November 26, 2014

Root systems and optimal block designs

Boolean Inner-Product Spaces and Boolean Matrices

Orientations of Simplices Determined by Orderings on the Coordinates of their Vertices. September 30, 2018

Normal Fans of Polyhedral Convex Sets

LECTURE 16: REPRESENTATIONS OF QUIVERS

ALGEBRAIC GROUPS J. WARNER

Journal of Pure and Applied Algebra

Automata on linear orderings

On certain family of B-modules

TEST GROUPS FOR WHITEHEAD GROUPS

On Linear Copositive Lyapunov Functions and the Stability of Switched Positive Linear Systems

2. Intersection Multiplicities

Solutions of exercise sheet 8

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

On the spectral radius of graphs with cut edges

Parity Versions of 2-Connectedness

Transcription:

Linear Algebra and its Applications 365 (2003) 3 12 www.elsevier.com/locate/laa Another algorithm for nonnegative matrices Manfred J. Bauch University of Bayreuth, Institute of Mathematics, D-95440 Bayreuth, Germany Received 12 June 2001; accepted 9 April 2002 Dedicated to Professor Manfred Krämer on the occasion of his 60th birthday Abstract We present an algorithm for nonnegative matrices that decides about the primitivity and the reducibility of a given matrix. The proof is based on considerations on the level of the quiver of a nonnegative matrix and its corresponding path category. 2002 Elsevier Science Inc. All rights reserved. Keywords: Nonnegative matrix; Primitive matrix; Quiver; Path category; Quotient category 1. Introduction The classical theory of nonnegative matrices has a wide range of applications. A large part of it deals with spectral theory. In particular the notion of a primitive matrix is correlated to statements concerning the simplicity of the spectral radius as an eigenvalue with important consequences in bifurcation theory, for example. (More details, applications and further references may be found e.g. in [1,3 6].) In the representation theory of algebras, a younger discipline in mathematics, nonnegative matrices occur as well e.g. as Cartan matrices. From there, we are given hints to the fact that primitivity in the first place is not so much a characteristic connected to the entries resp. the field they are from but rather the decisive fact is whether an entry is equal to zero or not. Furthermore, from representation theory we lend the tools used in this article. So we work on the level of the quiver of a nonnegative matrix and its corresponding path category structures both of which are independent from any field. In order to obtain the algorithm presented we introduce suitable equivalence relations for quivers and for path categories which lead to the construction of quotients. 0024-3795/03/$ - see front matter 2002 Elsevier Science Inc. All rights reserved. doi:10.1016/s0024-3795(02)00403-2

4 M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 Our paper is organized as follows. We recall some concepts from matrix theory which allow us to present our algorithm (Section 3). Then we gather the tools needed from representation theory. Section 5 introduces the equivalence relations that are essential. Their study is related to properties of a nonnegative matrix (Section 6) which in the end yields our algorithm (Section 7). Finally, we discuss several aspects in view of additional statements about a matrix that may be derived from the result of the algorithm. 2. Some concepts for nonnegative matrices In this paper, we will only consider square nonnegative matrices. So matrix will always mean an n n-matrix (for some natural number n) with nonnegative real entries. As a prominent example let us mention permutation matrices, i.e. those matrices which in each row and in each column possess precisely one entry equal to one and with zeros in all the other positions. Recall that a matrix A is called reducible if there is some simultaneous permutation of row and column indices such that A is of the form ( A1 A 2 0 A 3 ) with square matrices A 1 and A 3. (Of course, such a permutation of indices can be performed by conjugation with a permutation matrix.) And A is called completely reducible provided it is (again, up to some simultaneous permutation of row and column indices) of the form ( ) A1 0. 0 A 3 Otherwise the matrix will be called irreducible resp. completely irreducible. For later use, let us write down the characterization in a more formal way. Lemma 1. Let A = (a ij ) be a square matrix. Then: (a) A is reducible if and only if the set of indices can be written as a disjoint union n = I J with I,J /= such that a ij = 0 for all i I, j J. (b) A is completely reducible if and only if the set of indices can be written as a disjoint union n = I J with I,J /= such that a ij = 0 and a ji = 0 for all i I, j J. In this situation, we say that A is (completely) reducible with corresponding decomposition (I,J). The other notion we will deal with is the one of a primitive matrix. A matrix A is called imprimitive provided it is (up to some simultaneous permutation of row and column indices) of the following form:

M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 5 0 A m 1 A 0 0 A 1 0....... A m 2 0 Here, m 2, the m zero matrices on the diagonal are square matrices and the matrices A 0,...,A m 1 are of appropriate shape. A primitive matrix is not of the form just described for any ordering of the indices. There is an obvious characterization of this situation. Lemma 2. A nonnegative n n-matrix A is imprimitive if and only if there exists a family (J 0,...,J m 1 ) of nonempty sets with m 2 and n = J 0 J m 1 such that the following holds: a ij /= 0 implies that there is an s {0,...,m 1} such that i J s and j J s 1 modm. Notation. In this situation we say that A is imprimitive with corresponding cyclic partition (J 0,...,J m 1 ) of length m. Note that there is a natural concept of refinement for such partitions. Finally, there exists a maximal possible length for a partition corresponding to a given matrix A. This maximal length is called the index of primitivity of A. (In case of an irreducible matrix the partition of maximal length is unique up to cyclic permutation of the sets J i. These well-known facts may easily be proved with the means which will be developed in the following sections.) 3. The algorithm Let M be a quadratic nonnegative matrix over the real numbers. Consider the following algorithm: (1) While there is a row i in the matrix that contains more than one nonzero element (i is called an admissible index): Let j 0 <j 1 < <j r denote the indices of all the columns in which row i contains nonzero elements. Then: add the columns j 1,...,j r to column j 0 ; add the rows j 1,...,j r to row j 0 ; delete the columns j 1,...,j r ; delete the rows j 1,...,j r. The result is a matrix M 1 which in general is smaller than M and which in each row contains at most one nonzero entry. We continue: (2) Proceed with the transposed matrix (M 1 ) t as described in (1). The result is a matrix M 2.

6 M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 (3) While there is an index i such that column i and row i are not both nonzero, delete column i and row i. Theorem 3. Let M be a quadratic nonnegative matrix. Then: (a) The algorithm described above delivers a matrix M 3 which is a monomial matrix or the empty matrix. (b) If M 3 is nonempty then it has the same index of primitivity as M. In particular, M is primitive if and only if M 3 is so. (c) If M 3 is empty then the index of primitivity for M is the number of rows of M 2. 4. Quivers and path categories The proof of Theorem 3 will be done on the level of quivers and their corresponding path categories. So let us now establish the framework in which we are going to work and finally prove the theorem. As pointed out in the beginning, we will do so in the notation as it is used in representation theory (see e.g. [7]). The corresponding notation in graph theory possibly more familiar to some of the readers is easily recovered from the definitions. First of all, a quiver Q = (Q 0,Q 1 ) is given by the following data: Q 0 is a set consisting of the vertices or points of the quiver. For all x,y Q 0 there is a (possibly empty) subset Q(x,y) Q 1,andtheset of arrows Q 1 is the disjoint union of all these Q(x,y). Anelementα Q(x,y) Q 1,i.e.anarrow (pointing) from x to y is sometimes denoted by α : x y or x α y. Given a quiver Q = (Q 0,Q 1 ), it is sometimes useful to introduce maps s, e: Q 1 Q 0 defines as follows. If α : x y is an arrow then s(α) := x is its starting point and e(α) := y is its end point. Furthermore, note that we mainly deal with quivers that contain at most countably many vertices. A quiver does not contain multiple arrows if for all vertices x,y there is at most one arrow from x to y. Given a quiver Q = (Q 0,Q 1 ), we have the following notation: A path of length l(w) = l 1 from x to y is of the form w = (x α 1,...,α l y) with arrows α 1,...,α l satisfying s(α 1 ) = x, e(α l ) = y and e(α i ) = s(α i+1 ) for all i = 1,...,l 1. Then x is a predecessor of y and y is a successor of x. Furthermore, for each vertex x of the quiver we define a path of length zero, denoted by (x x).a cyclic path (or cycle) is a path of length 1 from x to x. Finally, a component of a quiver is a minimal full subquiver that is closed under predecessors and successors, hence with a point x it contains all the vertices such that there is a path from x to y or vice versa together with all the arrows that belong to any such path. The opposite (or dual) quiver Q op has the same set of vertices as Q, and Q op (x, y) = Q(y,x) for all x,y Q op 0 = Q 0. Of course, s op = e and e op = s.

M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 7 The path category of a quiver Let us now define the path category W = W(Q) corresponding to a quiver Q. The objects of this category are the vertices of the quiver, i.e. ObW = Q 0.Theset W(x, y) of morphisms between two objects x,y Q 0 consists of all the paths from x to y. The composition of two paths is given by concatenation (where possible). (Note that this definition differs slightly from the one given in [7]. However, the reason for this lies in the fact that we do not need any additive structures and can do very well without too much involvement of any field.) Remark 4. Let W = W(Q) be the path category of some quiver Q. (a) The path category of the dual quiver Q op is just the dual (or opposite) category of W (in the usual sense): W(Q op ) = (W(Q)) op. (b) The path category is N 0 -graded w.r.t. the length of paths: W (ortobemore precisely, its set of morphisms) is a direct sum W = l 0 (x,y) Q 2 0 W l (x, y). Here, W l (x, y) is the set of all paths of length l from x to y. (Recall that direct sums in the category of sets is given by disjoint unions.) In this notation, the underlying quiver of the path category is given by the morphisms of degree 0 and 1. (For this we identify the paths of length 0 with the corresponding objects; and the arrows are precisely the paths of length 1.) 5. Equivalence relations Given the path category W = W(Q) of a quiver Q, let us recall the construction of a quotient category: Suppose is an equivalence relation on each of the sets W(x, y) of morphisms such that is compatible with the composition of morphisms (i.e. if f,g are two morphisms for which the composition fg is defined, then for any morphisms f,g in W with f f and g g the composition f g is defined as well and fg f g ). Then there exists a category Q with the same objects as W, and for any objects x,y the set Q(x, y) of morphisms is the set of equivalence classes in W(x, y) w.r.t.. The category Q is called quotient of W. Furthermore, in this situation there exists the projection p, i.e. the functor p : W Q which is the identity on the objects and maps each morphism to its corresponding equivalence class. If this construction for W is restricted to the components of degree 0 and 1, we obtain the construction of the quotient of the underlying quiver Q. The projection p is then a quiver morphism from Q to its quotient.

8 M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 As an easy example, consider the equivalence relation that is induced by the identification of any two arrows that have the same starting point and the same end point. Clearly, this definition is compatible with the composition of paths. Restricting it to the quiver, note that the quotient has no multiple arrows. In a more general situation, the construction of a quotient category involves identifications of objects as well: Let be an equivalence relation on the set of objects of W, and denote the corresponding equivalence classes for an object x by [x]. Suppose that there is an equivalence relation, denoted by as well, on each set of morphisms W([x], [y]) = u x,v y W(u, v). Provided some compatibility conditions are satisfied (in a sense similarly to the one above), we can define the quotient Q in this situation again. The objects of Q are the equivalence classes [x] wherex is an object in W, andthe morphisms are induced by the equivalence relation on the morphisms of W. (Note that of course unit morphisms of equivalent objects have to be identified as well.) And again, there is a projection p : W Q, where this time objects are mapped to the corresponding equivalence class. The description of the quotient category which we will study in the following needs some more preparation. Let Q be a quiver and Q op its dual, hence all the arrows in Q op are of the form α op for some arrow α in Q. In order to unify notation we write α + := α and α := α op. This yields a quiver Q ± with the same set of vertices as Q, soq ± 0 = Q 0.However, its set of arrows is given by the union of all the arrows in Q and in Q op,i.e.q ± 1 = {α + : α Q 1 } {α : α Q 1 }.Now,ageneralized path (or: conjunction)inqis a path ω = (x β 1,...,β l y) in Q ±. Let l + (ω) := {i : β i = α + for some α Q 1 } and l (ω) := {i : β i = α for some α Q 1 }. Then the length l(ω) of the conjunction ω computes as l(ω) := l + (ω) l (ω). Proposition 5. Let W = W(Q) be the path category of a quiver Q. (a) The following two conditions induce an equivalence relation w both on the objects and on the morphisms of W: (i) Identify any two objects x and y for which there exists a generalized path of length 0 from x to y. (ii) Identify multiple arrows. (b) The quotient category Q ( ) of W w.r.t. w does exist. The straightforward proof is left to the reader. Lemma 6. Let Q be a quiver. For arrows α, β in Q, consider the following conditions: (S) s(α) = s(β), (E) e(α) = e(β), (SE) s(α) = s(β) or e(α) = e(β).

M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 9 Each of these conditions induce an equivalence relation on the set of arrows and on the set of points. We denote these corresponding equivalence relations by s resp. e resp. se. The proof is straightforward again. Theorem 7. Let Q be a quiver, W its corresponding path category, Q ( ) the quotient of W w.r.t. w (as in Proposition 5) and Q ( ) the quiver corresponding to Q ( ), i.e. given by the objects and paths of length 1 in Q ( ). Furthermore, consider the sequence (0) p(1) (1) p(2) (2) p(3) Q Q Q, where Q (0) := Q and for all i 1 we have the canonical projection p (i) : Q (i 1) Q (i) from Q (i 1) to its quotient Q (i) w.r.t. the equivalence relation es from Lemma 6. Then Q ( ) is the limit of this sequence. Proof. For each i, we have to construct a quiver morphism m (i) : Q (i) Q ( ). This, however, is just the canonical one if we slightly modify the notation for the morphisms p (i) : In order to do so, we relabel the points of the quivers Q (i). In case of Q (0) := Q, the points are labelled by {x} instead of x for each x Q 0.Fori 1, recall that the points of Q (i) are given by equivalence classes w.r.t. the equivalence relation es of the form [x]. We now replace this by y [x] y. (Note that this is well-defined, and that the disjoint union of (the labels of) the points of Q (i) yields Q 0.) Then the projection p (i) = (p (i) ) is given by the inclusion p(i) 0,p(i) 1 Q (i) 0,p(i) 0 (x) = y [x] y,andp(i) 1 : Q (i 1) 1 Q (i) 1 representative p (i) 1 (α) of the equivalence class [α]. 0 : Q (i 1) 0 maps each arrow α to the unique An alternative description for p (i) 0 reads as follows: p (i) 0 is the inclusion of x in Q (i 1) into the unique y in Q (i) with x y. Now it suffices to remark that equivalence w.r.t. the relation se implies equivalence w.r.t. w. Hence we may indeed choose m (i) in a canonical way which coincides with the alternative description just given for p (i) (after relabelling Q ( ) in the same manner). It is left to check that for each i we have m (i 1) = p (i) m (i).this follows directly from the construction as well as the fact that Q ( ) is minimal with this condition. 6. Primitivity of a matrix In this section, we are going to connect the considerations of the previous sections with properties of a matrix.

10 M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 Let A be a nonnegative n n-matrix. Then the quiver Q = Q(A) of A has vertices labeled with the numbers 1,...,n, and there is an arrow i j in Q if and only if a ij /= 0. The criteria from Section 2 may obviously be rewritten as follows. Lemma 8. Let A be a nonnegative n n-matrix and Q = Q(A) its corresponding quiver. Then: (a) A is completely reducible if and only if Q has at least two components (i.e. Q is not connected). (b) A is irreducible if and only if any two points of Q lie on a common cycle. Lemma 9. Let A be a nonnegative n n-matrix and Q = Q(A) its corresponding quiver. Then: (a) A is imprimitive if and only if there exists a family (J 0,...,J m 1 ) of nonempty sets with m 2 and n = J 0 J m 1 such that the following holds: If W 1 (i, j) /= then there is an s {0,...,m 1} such that i J s and j J s+1 modm. (b) A is imprimitive if and only if there exists a family (J 0,...,J m 1 ) of nonempty sets with m 2 and n = J 0 J m 1 such that the following holds: Let i J s and j J s for some s, s {0,...,m 1}. Furthermore, suppose that W r (i, j) /= for some r 0. Thens s + r mod m. From this we immediately obtain: Corollary 10. Suppose A is an imprimitive nonnegative matrix with corresponding cyclic partition (J 0,...,J m 1 ).LetQ = Q(A) be the corresponding quiver and W its path category. If x and y are two points of Q that are equivalent w.r.t. the equivalence relation w then x and y belong to the same set J i for some i. Vice versa, we have: Proposition 11. Let A be an irreducible imprimitive matrix with corresponding cyclic partition (J 0,...,J m 1 ) of maximal length m, i.e. m is the index of primitivity for A. Let Q = Q(A) be the corresponding quiver and W its path category. If x and y are two points of Q that belong to the same set J i for some i then they are equivalent w.r.t. the equivalence relation w. Proof. Since A is irreducible, every point of Q lies on a cycle. In view of Lemma 9, the length of every cyclic partition has to be a divisor of the length of any cycle in Q.

M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 11 On the other hand, given any common divisor t of all the numbers that occur as the length of a cycle in Q, we can construct a cyclic partition of length t. This shows that the index m of primitivity for the matrix A is the greatest common divisor of all the numbers that occur as the length of a cycle in Q. Furthermore, note that m does occur as the length of a conjunction w 0 in Q. (This means to realize a constructive variant of the Euclidean algorithm; for details see [2].) Hence, for any conjunction w from x to y with x and y from the same set J i for some i, its length l(w) is a multiple of m. Choose w such that it has a common point with w 0. Then we may easily construct a conjunction from x to y which has length 0, i.e. x and y are equivalent w.r.t. the equivalence relation w. 7. Proof of Theorem 3 We have now prepared all the tools we need for the proof of Theorem 3. The basis of our algorithm is the sequence of quivers from Theorem 7. Note the following remarks (for details cf. [2]). Remark 12 (i) The sequence in Theorem 7 may be refined in such a way that we factor out in a single step only the equivalence relation s or only the equivalence relation e. (ii) It does not matter in which order the factoring is done. (iii) If the chain becomes stationary after finitely many steps it will do so when Q ( ) is reached. This happens in particular if Q is the quiver of a matrix (since it is finite then, i.e. there are only finitely many vertices and arrows). (iv) Each component of Q ( ) is a chain or a cycle. In particular, as stated in Remark 12(ii) we may at first perform only factoring out the equivalence relation s. But that is precisely what is done in step 1 of the algorithm on the level of the underlying matrix. Then in step 2 we factor out equivalence relation e. Hence the matrix M 2 corresponds to the quiver Q ( ). Finally, step 3 eliminates all the components of Q ( ) whicharechains.soifthe quiver Q ( ) consists of chains only then the matrix M 3 is empty. Otherwise, M 3 comprises all the components of Q ( ) which are cycles. Hence in this case, M 3 is a permutation matrix. This shows claim (a) of Theorem 3. Parts (b) and (c) follow immediately if we recall from Corollary 10 and Proposition 11 that for the components of a quiver the sets of a cyclic partition of maximal length are precisely the equivalence classes w.r.t. the equivalence relation w.these however are the points of the quiver Q ( ).

12 M.J. Bauch / Linear Algebra and its Applications 365 (2003) 3 12 8. Modifications of the algorithm Let us finally point out some remarks and modifications of the algorithm which arise from the proof and considerations therein. (i) Let us stress again that the algorithm does respect components of the quiver in steps 1 and 2; hence complete reducibility is preserved up to that stage and may easily be read off from the matrix M 2. However, reducibility in general may already be lost at this point of the algorithm. (ii) If it is of interest only whether the original matrix M is primitive or not then the following stop condition may be used: As soon as any matrix occurring in the course of the algorithm has a nonzero diagonal entry then this matrix and with it matrix M is primitive. (iii) The steps in 1 and 2 commute. (iv) This algorithm may be used to obtain a cyclic partition of maximal period. In order to do so it is enough to remember the indices j 0,...,j r which are identified (or, formally, proceed as in the proof of Theorem 7). (v) Numerically, the procedure may be simplified by passing over to a Boolean 0 1-matrix at the beginning (with the corresponding rules for addition). This again is a sign for the fact that primitivity of an matrix only depends on the information whether an entry is zero or not. Acknowledgement The author thanks the referee for his useful remarks that helped to improve the first version of this paper. References [1] R.B. Bapat, T.E.S. Raghavan, Nonnegative Matrices and Applications, Cambridge University Press, Cambridge, 1997. [2] M.J. Bauch, Matrizen und Wegekategorien, Bayreuth. Math. Schr. (to appear). [3] A. Berman, M. Neumann, R.J. Stern, Nonnegative Matrices in Dynamic Systems, Wiley, New York, 1989. [4] A. Berman, R.J. Plemmons, Nonnegative Matrices in the Mathematical Sciences, SIAM, Philadelphia, 1994. [5] H. Minc, Nonnegative Matrices, Wiley, New York, 1988. [6] H. Nikaido, Convex Structures and Economic Theory, Academic Press, New York, 1968. [7] C.M. Ringel, Tame Algebras and Integral Quadratic Forms, Springer, Berlin, 1984.