CONTENTS 1 A MOTIVATING EXAMPLE: FLOCKING
Lecture: linear algebra
Sonia Mart´ınez
April 12, 2018
Abstract The treatment corresponds to selected parts from Chapter 1 in [1] and from Chapter 2 in [2].
Contents
1 A motivating example: flocking 1
2 Matrix concepts 2 2.1 Basic notation ...... 2 2.2 Discrete-time linear systems and (semi-)convergent matrices ...... 3 2.3 Special matrix sets ...... 3 2.4 Eigenvalues, singular values, and induced norms ...... 5 2.5 Spectral radius and general criterion for convergent matrices ...... 5
3 Birkho↵–von Neumann theorem 6
4 Perron-Frobenius theory 7 4.1 Positive matrices ...... 8 4.2 Nonnegative matrices ...... 9 4.3 Application to dynamical systems ...... 11
1 A motivating example: flocking
Consider n agents all moving in the plane with the same speed but with di↵erent headings. Each agent’s heading is updated using a simple local rule based on the average of its own heading plus the headings of its neighbors. For our purposes here, let us assume that the interaction topology is fixed, i.e., the set of neighbors of each agent remains the same throughout the evolution.
The heading of agent i 1,...,n ,written✓i, evolves in discrete time in accordance with a model of the form 2{ } 1 ✓i(t + 1) = ✓i(t)+ ✓j(t) . (1) 1+di 0 1 j X2Ni @ A 1
MAE247 – Cooperative Control of Multi-Agent Systems Based on the class lecture notes of J. Cort´es,and F. Bullo. 2 MATRIX CONCEPTS
Here, i denotes the set of neighbors of agent i, and di is the cardinality of this set. Headings are represented as realN numbers in the interval [0, 2⇡). If we think of this model as an algorithm, then certainly this algorithm is distributed, in the sense that each agent only needs to interact with its neighbors in the graph to execute it.
Exercise 1.1 Ponder a bit about the advantages and disadvantages of interpreting a heading as a number in [0, 2⇡). • As long as the interaction graph is connected, it turns out that the algorithm (1) will make all agents agree on the same heading and “flock” in one direction. Even more, even if the interaction topology is changing between timesteps (say, at time t, agents i and j are neighbors, but they are not at time t + 1), one can show that, as long as it remains connected, the same flocking behavior emerges. Even more, for dynamic interaction topologies, they might not be connected ever, but as long as they are not “too disconnected” (and we will make this very loose statement fully precise in the future), flocking will be achieved. This example will serve us as a guide in the introduction of several important concepts in this lecture. It is instructive to write the heading update equations (1) in compact form, ✓(t + 1) = F✓(t), (2) where F is the matrix with elements 1 Fii = , 1+di 1 1+d j is a neighbor of i, Fij = i (0 j is not a neighbor of i. Several properties of F are worth noticing. First, the matrix is square and nonnegative (i.e., all its elements are greater than or equal to zero). Second, the rows of F all sum up to one. These properties play a critical role in explaining the convergence properties of the algorithm (1).
2 Matrix concepts
2.1 Basic notation
We let C, R, N, and Z denote the set of complex, real, natural and integer numbers, respectively; also R 0 and Z 0 are the set of non-negative real numbers and non-negative integer numbers. For a