Controlling Graphs
Transcript of Controlling Graphs
-
7/28/2019 Controlling Graphs
1/54
Control Theory Graph Theory Physics
Controlling Graphs
Chris Godsil
Tilburg, October 8, 2009
Chris Godsil Controlling Graphs
-
7/28/2019 Controlling Graphs
2/54
Control Theory Graph Theory Physics
1 Control Theory
Linear SystemsControllability and Observability
2 Graph TheoryWalk Matrices
Generating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
-
7/28/2019 Controlling Graphs
3/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
Outline
1 Control TheoryLinear SystemsControllability and Observability
2 Graph Theory
Walk MatricesGenerating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
-
7/28/2019 Controlling Graphs
4/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
Getting Started
We consider a system whose state at time n is a vector xn in Fv,
and which evolves under the constraint
xn+1 = Axn + Bun
yn = Cxn
Here A is d d, while B is d e and C is f d. Usually e and fwill be 0 or 1. The sequence (un)n0 is chosen by us, it is ourcontrol of the system. The vectors yn allow for the fact that we
may not have explicit knowledge of the state, just some kind ofsummary of it.
Chris Godsil Controlling Graphs
-
7/28/2019 Controlling Graphs
5/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
An Example
We consider a crude model of a rod, heated at one end. Ascombinatorialists, we use a discrete model. The rod consists of fivepieces, the temperature of the i-th piece at time n is xi(n) and the
evolution is governed by the recurrence
xi(n+ 1) =1
3(xi+1(n) + xi(n) + xi1n). (n = 1, 2, 3)
and x4(n+ 1) =1
2(x3(n) + x4(n). We control the temperature of
the zeroth piece, so x0(n) = u(n).
Chris Godsil Controlling Graphs
C l Th G h Th Ph i Li S C ll bili d Ob bili
-
7/28/2019 Controlling Graphs
6/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
...ctd.
We thus have
x1(n+ 1)x2(n+ 1)
x3(n+ 1)x4(n+ 1)
=
1
3
1
30 0
1
3
1
3
1
30
01
3
1
3
1
3
0 0 12
1
2
x1(n)x2(n)
x3(n)x4(n)
+ u(n)
1
3
0
00
and it would reasonable to suppose that
c = 0 0 0 1
Chris Godsil Controlling Graphs
C t l Th G h Th Ph i Li S t C t ll bilit d Ob bilit
-
7/28/2019 Controlling Graphs
7/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
Outline
1 Control TheoryLinear SystemsControllability and Observability
2 Graph Theory
Walk MatricesGenerating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
-
7/28/2019 Controlling Graphs
8/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
Controllability
The first question we ask is: which temperature distributions canwe obtain?
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
-
7/28/2019 Controlling Graphs
9/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
Solving the Recurrence
In general:
x1 = Ax0 + u0b
x2 = A2x0 + u0Ab + u1b
x3 = A3x0 + u0A
2b + u1Ab + u2b
From this we see that xn is the sum of Anx0 and a linear
combination of the vectors Arb for r = 0, . . . , n 1. Using theCayley-Hamilton theorem we see that if n d then our linearcombination lies in the row space of
b Ab . . .Ad1b
.
Hence the state at time n is the sum of Anx0 and a vector in thecolumn space of this matrix.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
-
7/28/2019 Controlling Graphs
10/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
The Controllability Matrix
Definition
The matrix
B AB . . . Ad1Bis the controllability matrix of our system. The system iscontrollable if its rows are linearly independent.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
-
7/28/2019 Controlling Graphs
11/54
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
Observability
A second question we can ask is whether, from the sequence (yn),we can determine the state vector.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Linear Systems Controllability and Observability
-
7/28/2019 Controlling Graphs
12/54
y p y y y y y
The Observability Matrix
Definition
The observability matrix is
C
CA...CAd1
;
the system is observable if its columns are linearly independent.
If the system is observable, then we can compute the state fromthe outputs (as you might have expected).
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
13/54
y p y y g
Outline
1 Control TheoryLinear SystemsControllability and Observability
2 Graph Theory
Walk MatricesGenerating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
14/54
Subsets
Definition
Suppose S V(X) and the characteristic vector of S is b. Ifv = |V(X)| then the walk matrix of the pair (X,S) is the matrix
WS :=
b Ab . . . Av1b.
We say (X,S) is controllable if its walk matrix is invertible.
We will that X itself is controllable if the pair (X,V(X)) iscontrollable.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
15/54
The Control Theory Analog
The linear system that best corresponds to our graph theory wouldbe
xn+1 = Axn
yn = bTxn
Questions about observability will translate to combinatoriallysignificant questions; controllability questions tend not to.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
16/54
Automorphisms
Theorem
If (X,S) is controllable, then any automorphism of X that fixes Sas a set is the identity.
Proof.
Automorphisms are the permutation matrices P that commutewith the adjacency matrix A. An automorphism fixes S as a set ifand only if Pb = b. So
PWS =
Pb PAb . . . PAv1b
= Pb APb . . . Av1Pb= WS.
If WS is invertible, it follows that P = I.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
17/54
Equitable Partitions
Theorem
If (X,S) is controllable and is an equitable partition such that Sis a union of the cells of, then is the discrete partition (with allcells of size one).
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
18/54
Simple Eigenvalues
Theorem
If there is a subset S of V(X) such that (X,S) is controllable,then all eigenvalues of X are simple.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
19/54
Proof of Simplicity
Proof.
Assume (X,S) is controllable and suppose that E1, . . . ,Er are theorthogonal projections onto the distinct eigenspaces of A. (Sor v, and we want to show that r = v.)
Now if the r is the eigenvalue associated with Er, we have
Amb =r
mr Erb
and the vectors Erb are orthogonal. Hence rk(WS) is equal to thenumber of non-zero vectors of the form Eb.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
20/54
A Conjecture
Conjecture
Almost all graphs are controllable.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
21/54
A Conjecture
Conjecture
Almost all graphs are controllable.
The evidence in support is strong:
Up to 9 vertices, the proportion of controllable graphs isincreasing.
We can randomly sample graphs on n when n is large.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
22/54
Outline
1 Control TheoryLinear SystemsControllability and Observability
2 Graph Theory
Walk MatricesGenerating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
-
7/28/2019 Controlling Graphs
23/54
Walks
The walk matrix WS is invertible if and only if WTS WS isinvertible. Each entry of the latter matrix has the form
bTArb
which is equal to the number of walks of length r in X that startand finish at a vertex in S. We naturally encode the sequence(bTArb)r0 as a generating function
r0 bTArb tr = bT(I tA)1b.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
Th T f M i
-
7/28/2019 Controlling Graphs
24/54
The Transfer Matrix
IfX(t) :=
r
trxr, U(t) :=r
trur
then we find that
X(t) = C(I tA)1x0 + tC(I tA)1BU(t).
In control theory, the matrix of rational functions
C(zI A)1B
is the transfer matrix of the system.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
I hi
-
7/28/2019 Controlling Graphs
25/54
Isomorphism
DefinitionLet b1 and b2 be vectors. Two pairs (X1, b1) and (X2, b2) areisomorphic if there is an orthogonal matrix L such that
LA1LT = A2, Lb1 = b2
SoLW1 = W2
which ensures that controllability is an invariant. Further
WT2 W2 = WT1 L
TLW1 = WT1 W1
which provides a second invariant.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
I hi d G ti F ti
-
7/28/2019 Controlling Graphs
26/54
Isomorphism and Generating Functions
Theorem (Godsil)
Two pairs (X1, b1) and (X2, b2) are isomorphic if and only if A1and A2 are similar and
bT1 (
I
tA1)
1b1=
bT2 (
I
tA)
1b2.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
I hi d G ti F ti
-
7/28/2019 Controlling Graphs
27/54
Isomorphism and Generating Functions
Theorem (Godsil)
Two pairs (X1, b1) and (X2, b2) are isomorphic if and only if A1and A2 are similar and
bT1 (
I
tA1)
1b1=
bT2 (
I
tA)
1b2.
This implies an old result of Johnson and Newman: if X and Yare cospectral with cospectral complements, there is an orthogonalmatrix L such that
LTA(X)L = A(Y), LTA(X)L = A(Y)
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
A C ll
-
7/28/2019 Controlling Graphs
28/54
A Corollary
Corollary
If (X1, b1) and (X2, b2) are controllable and
bT1 (I tA1)
1b1 = bT2 (I tA)
1b2
then (X1, b1) and (X2, b2) are isomorphic.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
A Corollary
-
7/28/2019 Controlling Graphs
29/54
A Corollary
Corollary
If (X1, b1) and (X2, b2) are controllable and
bT1 (I tA1)
1b1 = bT2 (I tA)
1b2
then (X1, b1) and (X2, b2) are isomorphic.
Thus if X and Y are controllable graphs and
1TA(X)r1 = 1TA(Y)r1
for all r, then X and Y are cospectral with cospectralcomplements.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
Near Automorphisms
-
7/28/2019 Controlling Graphs
30/54
Near Automorphisms
Theorem
Let S1 and S2 be subsets of V(X) with characteristic vectors b1and b2. Then (X,S1) and (X,S2) are isomorphic if and only thereis a rational symmetric orthogonal matrix Q such that:
QA = AQ.
Qb1 = b2.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
Near Automorphisms
-
7/28/2019 Controlling Graphs
31/54
Near Automorphisms
Theorem
Let S1 and S2 be subsets of V(X) with characteristic vectors b1and b2. Then (X,S1) and (X,S2) are isomorphic if and only thereis a rational symmetric orthogonal matrix Q such that:
QA = AQ.
Qb1 = b2.
It is comparatively easy to show that the condition of the theorem
is sufficient, the surprise is that it is necessary. For the latter, agenerous hint is that Q = W2W
11
.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
Cones
-
7/28/2019 Controlling Graphs
32/54
Cones
Definition
If S V(X), then the cone X of X relative to S is the graph weget by adding a new vertex and declaring it to be adjacent to each
vertex in S.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
Cones
-
7/28/2019 Controlling Graphs
33/54
Cones
Definition
If S V(X), then the cone X of X relative to S is the graph weget by adding a new vertex and declaring it to be adjacent to each
vertex in S.
Theorem
The pairs (X,S) and (Y,T) are isomorphic if and only if X iscospectral to Y and the cone of X relative to S is cospectral with
the cone of Y relative to T.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
Outline
-
7/28/2019 Controlling Graphs
34/54
Outline
1
Control TheoryLinear SystemsControllability and Observability
2 Graph Theory
Walk MatricesGenerating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
An Example
-
7/28/2019 Controlling Graphs
35/54
An Example
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
More Examples
-
7/28/2019 Controlling Graphs
36/54
More Examples
0
1 n2 3 4 5 6 7 8
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
A Sequence
-
7/28/2019 Controlling Graphs
37/54
A Sequence
6 7 9 10 15 19 21 22 25 27 30 3134 37 39 42 45 46 49 51 54 55 57 61
66 67 69 70 75 79 81 82 85 87 90 9194 97 99 102 105 106 109 111 114 115 117 121
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
Vertices and Cones
-
7/28/2019 Controlling Graphs
38/54
C
Theorem
The pair (X,S) is controllable if and only if (X, {0}) iscontrollable.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Walk Matrices Generating Functions Controllable Pairs
Vertices and Cones
-
7/28/2019 Controlling Graphs
39/54
Theorem
The pair (X,S) is controllable if and only if (X, {0}) iscontrollable.If X is a path and u is an end-vertex, then (X, u) is controllable.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Outline
-
7/28/2019 Controlling Graphs
40/54
1 Control TheoryLinear SystemsControllability and Observability
2 Graph Theory
Walk MatricesGenerating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Adding Edges
-
7/28/2019 Controlling Graphs
41/54
g g
Suppose L = DA is the Laplacian of X and i,j V(X) are notadjacent. If we set
Hi,j := (ei ej)(ei ej)T
then L + Hi,j is the Laplacian of the graph we get by adding theedge ij to X. If we denote this graph by Y and set h = ei ej,then
(L(Y), t)
(L(X), t)= 1 +
hTFh
t
where the Fs are the projections onto the eigenspaces of L(X).
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Controllable Laplacians
-
7/28/2019 Controlling Graphs
42/54
DefinitionWe define the pair (X, {i,j}) to be Laplacian controllable if therows of the controllability matrix of L and
1 ei ejare linearly independent.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Controllable Laplacians
-
7/28/2019 Controlling Graphs
43/54
DefinitionWe define the pair (X, {i,j}) to be Laplacian controllable if therows of the controllability matrix of L and
1 ei ejare linearly independent.
Lemma
If (X, {i,j}) is Laplacian controllable, then the only automorphismof X that fixes the set{i,j} is the identity.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Outline
-
7/28/2019 Controlling Graphs
44/54
1 Control TheoryLinear SystemsControllability and Observability
2 Graph Theory
Walk MatricesGenerating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Generating Matrices
-
7/28/2019 Controlling Graphs
45/54
Theorem (Godsil)
Let X be a graph with adjacency matrix A and let S be a subsetof V(X) with characteristic vector b. The following claims areequivalent:
(X, S) is controllable.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Generating Matrices
-
7/28/2019 Controlling Graphs
46/54
Theorem (Godsil)
Let X be a graph with adjacency matrix A and let S be a subsetof V(X) with characteristic vector b. The following claims areequivalent:
(X, S) is controllable.
The matrices A and bbT
generate the algebra of all n nmatrices.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Generating Matrices
-
7/28/2019 Controlling Graphs
47/54
Theorem (Godsil)
Let X be a graph with adjacency matrix A and let S be a subsetof V(X) with characteristic vector b. The following claims areequivalent:
(X, S) is controllable.
The matrices A and bbT
generate the algebra of all n nmatrices.
The matrices AibbTAj (0 i,j< n) are a basis for the spaceof n n matrices.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
A Conjecture
-
7/28/2019 Controlling Graphs
48/54
Conjecture
Almost all graphs are controllable.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Irreducibility
-
7/28/2019 Controlling Graphs
49/54
Lemma
If(X, t) is irreducible overQ, then X is controllable.
Lemma
If u V(X) and(X, t) and(X\u, t) are coprime, then (X, u)is controllable.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Outline
-
7/28/2019 Controlling Graphs
50/54
1 Control TheoryLinear SystemsControllability and Observability
2 Graph Theory
Walk MatricesGenerating FunctionsControllable Pairs
3 Physics
LaplaciansAlgebraThe Unitary Group
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Quantum Walks
-
7/28/2019 Controlling Graphs
51/54
If A is the adjacency matrix of X, then
HX(t) = exp(iAt)
is the transition matrix of a quantum walk on X.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Unitary Generators
-
7/28/2019 Controlling Graphs
52/54
Theorem
If (X,S) is controllable and b is the characteristic vector os S, the
matricesexp(iAt), exp(ibbTt)
generate a dense subgroup of the group of all unitary matrices.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Extensions
-
7/28/2019 Controlling Graphs
53/54
The key to the proof of the previous theorem is that if (X,S) iscontrollable, then A and bbT together generate the algebra of allmatrices.If X itself is controllable, then A and J generate all matrices. If X
is connected and D is its matrix of degrees, then J lies in thematrix algebra generated by A and D. Hence A and D generate allmatrices.
Chris Godsil Controlling Graphs
Control Theory Graph Theory Physics Laplacians Algebra The Unitary Group
Extensions
-
7/28/2019 Controlling Graphs
54/54
The key to the proof of the previous theorem is that if (X,S) iscontrollable, then A and bbT together generate the algebra of allmatrices.If X itself is controllable, then A and J generate all matrices. If X
is connected and D is its matrix of degrees, then J lies in thematrix algebra generated by A and D. Hence A and D generate allmatrices.
Does it follow that exp(iAt) and exp(iDt) generate a densesubgroup of the unitary group? (The difficulty is to determine theLie algebra generated by A and D.)
Chris Godsil Controlling Graphs