Professional Documents
Culture Documents
oa 2004/4/14 page i i
A.C. Antoulas
Department of Electrical and Computer Engineering Rice University Houston, Texas 77251-1892, USA
e-mail: aca@rice.edu
URL: http://www.ece.rice.edu/aca
i i i
i i ii
oa 2004/4/14 page ii i
i i
ACA :
i i
i i iii
i oa
Dedicated to my parents
Thanos C. Antoulas
ACA
i i i
i i iv
i oa
2004/4/14 page iv
i i
ACA :
i i
i i
i oa
2004/4/14 page v
Contents
Preface 0.1 0.2 xv Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii How to use this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
I
1
Introduction
Introduction 1.1 Problem set-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.1 Approximation by projection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Summary of contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motivating examples 2.1 Passive devices . . . . . . . . . . . . . . . 2.2 Weather prediction - Data assimilation . . . 2.2.1 North sea wave surge forecast 2.2.2 Pacic storm tracking . . . . . 2.2.3 Americas Cup . . . . . . . . 2.3 Air quality simulations - Data assimilation . 2.4 Biological systems: Honeycomb vibrations 2.5 Molecular dynamics . . . . . . . . . . . . 2.6 ISS - International Space Station . . . . . . 2.7 Vibration/Acoustic systems . . . . . . . . 2.8 CVD reactors . . . . . . . . . . . . . . . . 2.9 MEMS devices . . . . . . . . . . . . . . . 2.9.1 Micromirrors . . . . . . . . . 2.9.2 Elk sensor . . . . . . . . . . . 2.10 Optimal cooling of steel prole . . . . . .
1
3 6 8 9 13 14 15 15 17 17 17 19 19 20 21 21 22 22 22 23
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
II
3
Preliminaries
Tools from matrix theory 3.1 Norms of nite-dimensional vectors and matrices . . . . . . 3.2 The singular value decomposition . . . . . . . . . . . . . . 3.2.1 Three proofs . . . . . . . . . . . . . . . . . . 3.2.2 Properties of the SVD . . . . . . . . . . . . . . 3.2.3 Comparison with the eigenvalue decomposition 3.2.4 Optimal approximation in the 2-induced norm . 3.2.5 Further applications of the SVD . . . . . . . . 3.2.6 SDD: The semi-discrete decomposition* . . . . 3.3 Basic numerical analysis . . . . . . . . . . . . . . . . . . . 3.3.1 Condition numbers . . . . . . . . . . . . . . . 3.3.2 Stability of solution algorithms . . . . . . . . . 3.3.3 Two consequences . . . . . . . . . . . . . . . 3.3.4 Distance to singularity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
27 28 30 32 33 34 35 37 38 39 39 41 44 45
v i i i i
i i vi
3.3.5 LAPACK Software . . . . . . . General rank additive matrix decompositions* Majorization and interlacing* . . . . . . . . Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i oa
2004/4/14 page vi
i Contents
. . . . . . . . . . . . . . . . 46 47 48 50
Linear dynamical systems: Part I 4.1 External description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 Internal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.1 The concept of reachability . . . . . . . . . . . . . . . . . . . 4.2.2 The state observation problem . . . . . . . . . . . . . . . . . 4.2.3 The duality principle in linear systems . . . . . . . . . . . . . 4.3 The innite gramians . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.1 The energy associated with reaching/observing a state . . . . . 4.3.2 The cross-gramian . . . . . . . . . . . . . . . . . . . . . . . 4.3.3 A transformation between continuous and discrete time systems 4.4 The realization problem . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4.1 The solution of the realization problem . . . . . . . . . . . . . 4.4.2 Realization of proper rational matrix functions . . . . . . . . . 4.4.3 Symmetric systems and symmetric realizations . . . . . . . . 4.4.4 The partial realization problem . . . . . . . . . . . . . . . . . 4.5 The rational interpolation problem* . . . . . . . . . . . . . . . . . . . . . 4.5.1 Problem formulation* . . . . . . . . . . . . . . . . . . . . . . 4.5.2 The L owner matrix approach to rational interpolation* . . . . 4.5.3 Generating system approach to rational interpolation* . . . . . 4.6 Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Linear dynamical systems: Part II 5.1 Time and frequency domain spaces and norms . . . . . . . . . . 5.1.1 Banach and Hilbert spaces . . . . . . . . . . . . . 5.1.2 The Lebesgue spaces p and Lp . . . . . . . . . . 5.1.3 The Hardy spaces h p and Hp . . . . . . . . . . . . 5.1.4 The Hilbert spaces 2 and L2 . . . . . . . . . . . . 5.2 The spectrum and singular values of the convolution operator . . 5.3 Computation of the 2-induced or H norm . . . . . . . . . . . 5.4 The Hankel operator and its spectra . . . . . . . . . . . . . . . 5.4.1 Computation of the eigenvalues of H . . . . . . . . 5.4.2 Computation of the singular values of H . . . . . . 5.4.3 The Hilbert-Schmidt norm . . . . . . . . . . . . . 5.4.4 The Hankel singular values of two related operators 5.5 The H2 norm . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5.1 A formula based on the gramians . . . . . . . . . . 5.5.2 A formula based on the EVD of A . . . . . . . . . 5.6 Further induced norms of S and H* . . . . . . . . . . . . . . . 5.7 Summary of norms . . . . . . . . . . . . . . . . . . . . . . . . 5.8 System stability . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8.1 Review of system stability . . . . . . . . . . . . . 5.8.2 Lyapunov stability . . . . . . . . . . . . . . . . . 5.8.3 L2 Systems and norms of unstable systems . . . . 5.9 System dissipativity* . . . . . . . . . . . . . . . . . . . . . . . 5.9.1 Passivity and the positive real lemma* . . . . . . . 5.9.2 Contractivity and the bounded real lemma* . . . . 5.10 Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . Sylvester and Lyapunov equations 6.1 The Sylvester equation . . . . . . . . . . . . . . . . . . 6.1.1 The Kronecker product method . . . . . . . 6.1.2 The eigenvalue/complex integration method 6.1.3 The eigenvalue/eigenvector method . . . . 6.1.4 Characteristic polynomial methods . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
53 . 53 . 56 . 59 . 65 . 67 . 68 . 70 . 74 . 75 . 76 . 79 . 81 . 83 . 83 . 84 . 85 . 86 . 91 . 102 105 105 105 106 106 108 108 112 113 115 116 118 119 121 121 121 123 125 126 126 128 129 133 137 141 143 145 145 146 147 148 150
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
i i
ACA :
i i
i i Contents
6.1.5 The invariant subspace method . . . . . . . . . . . 6.1.6 The sign function method . . . . . . . . . . . . . . 6.1.7 Solution as an innite sum . . . . . . . . . . . . . The Lyapunov equation and inertia . . . . . . . . . . . . . . . . Sylvester and Lyapunov equations with triangular coefcients . . 6.3.1 The Bartels-Stewart algorithm . . . . . . . . . . . 6.3.2 The Lyapunov equation in the Schur basis . . . . . 6.3.3 The square root method for the Lyapunov equation 6.3.4 Algorithms for Sylvester and Lyapunov equations . Numerical issues: forward and backward stability . . . . . . . . Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i oa
i vii
153 154 156 157 159 159 160 162 165 167 169
6.2 6.3
6.4 6.5
III
7
171
173 174 176 178 181 183 186 190 190 190 192 193 195 197 199 200 200 201 203 205 205 206 207 207 209 209 210 211 212 212 213 215 220 220 223 225 226 226
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
Hankel-norm approximation 8.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1.1 Main ingredients . . . . . . . . . . . . . . . . . . . . . . . . 8.2 The AAK theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3 The main result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.4 Construction of approximants . . . . . . . . . . . . . . . . . . . . . . . . 8.4.1 A simple input-output construction method . . . . . . . . . . 8.4.2 An analogue of Schmidt-Eckart-Young-Mirsky . . . . . . . . 8.4.3 Unitary dilation of constant matrices . . . . . . . . . . . . . . 8.4.4 Unitary system dilation: sub-optimal case . . . . . . . . . . . 8.4.5 Unitary system dilation: optimal case . . . . . . . . . . . . . 8.4.6 All sub-optimal solutions . . . . . . . . . . . . . . . . . . . . 8.5 Error bounds for optimal approximants . . . . . . . . . . . . . . . . . . . 8.6 Balanced and Hankel-norm approximation: a polynomial approach* . . . . 8.6.1 The Hankel operator and its SVD* . . . . . . . . . . . . . . . 8.6.2 The Nehari problem and Hankel-norm approximants* . . . . . 8.6.3 Balanced canonical form* . . . . . . . . . . . . . . . . . . . 8.6.4 Error formulae for balanced and Hankel-norm approximations* 8.7 Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
Special topics in SVD-based approximation methods 227 9.1 Proper Orthogonal Decomposition (POD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 9.1.1 POD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
April 14, 2004
ACA
i i i
i i viii
9.1.2 Galerkin and PetrovGalerkin projections . . 9.1.3 POD and Balancing . . . . . . . . . . . . . . Modal approximation . . . . . . . . . . . . . . . . . . . . Truncation and residualization . . . . . . . . . . . . . . . A study of the decay rates of the Hankel singular values* . 9.4.1 Preliminary remarks on decay rates* . . . . . 9.4.2 Cauchy matrices* . . . . . . . . . . . . . . . 9.4.3 Eigenvalue decay rates for system gramians* . 9.4.4 Decay rate of the Hankel singular values* . . 9.4.5 Numerical examples and discussion* . . . . . Assignment of eigenvalues and Hankel singular values* . . Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i oa
i Contents
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 229 231 233 233 234 235 235 239 243 250 251
9.5 9.6
IV
10
253
255 256 257 259 261 261 261 262 262 262 263 263 264 265 266 266 269 270 270 271 272 273 277 279 280 281 282 283 287 289 290 291 293
11
Model reduction using Krylov methods 11.1 The moments of a function . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Approximation by moment matching . . . . . . . . . . . . . . . . . . 11.2.1 Two-sided Lanczos and moment matching . . . . . . . . . 11.2.2 Arnoldi and moment matching . . . . . . . . . . . . . . . 11.3 Partial realization and rational interpolation by projection . . . . . . . . 11.3.1 Two-sided projections . . . . . . . . . . . . . . . . . . . 11.3.2 How general is model reduction by rational Krylov? . . . . 11.3.3 Model reduction with preservation of stability and passivity 11.4 Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
V
12
295
SVDKrylov methods 297 12.1 Connection between SVD and Krylov methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 12.1.1 Krylov methods and the Sylvester equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 12.1.2 From weighted balancing to Krylov . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
i i
ACA :
i i
i i Contents
12.1.3 Approximation by least squares . . . . . . . . . . . . . . . . . . . . . . . . Introduction to iterative methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . An iterative method for approximate balanced reduction . . . . . . . . . . . . . . . . . . . 12.3.1 Approximate balancing through low rank approximation of the cross gramian . Iterative Smith-type methods for model reduction . . . . . . . . . . . . . . . . . . . . . . 12.4.1 ADI, Smith, and cyclic Smith(l) iterations . . . . . . . . . . . . . . . . . . . 12.4.2 LR-ADI and LR-Smith(l) iterations . . . . . . . . . . . . . . . . . . . . . . 12.4.3 The modied LR-Smith(l) iteration . . . . . . . . . . . . . . . . . . . . . . . 12.4.4 A discussion on the approximately balanced reduced system . . . . . . . . . . 12.4.5 Relation of the Smith method to the trapezoidal rule . . . . . . . . . . . . . . Chapter summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i oa
2004/4/14 page ix
i ix
299 301 302 303 308 309 310 311 314 314 315 317 317 317 319 321 321 323 324 325 326 328 330 330 331 333 335
12.5 13
Case studies 13.1 Approximation of images . . . . . . . . . . . . . . . . 13.2 Model reduction algorithms applied to low order systems 13.2.1 Building Model . . . . . . . . . . . . . . . 13.2.2 Heat diffusion model . . . . . . . . . . . . 13.2.3 The CD player . . . . . . . . . . . . . . . 13.2.4 Clamped beam model . . . . . . . . . . . . 13.2.5 Low-pass Butterworth lter . . . . . . . . . 13.3 Approximation of the ISS 1R and 12A ex models . . . 13.3.1 Stage 1R . . . . . . . . . . . . . . . . . . 13.3.2 Stage 12A . . . . . . . . . . . . . . . . . . 13.4 Iterative Smith-type methods . . . . . . . . . . . . . . . 13.4.1 The CD player . . . . . . . . . . . . . . . 13.4.2 A system of order n = 1006 . . . . . . . . 13.4.3 Aluminum plate n = 3468 . . . . . . . . . 13.4.4 Heat distribution on a plate n = 20736 . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
14
Epilogue 337 14.1 Projectors, computational complexity and software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 14.2 Open problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 Problems 343 359 379
15
Bibliography Index
ACA
i i i
i i x Contents
i oa
2004/4/14 page x
i i
ACA :
i i
i i
i oa
2004/4/14 page xi
List of Figures
1.1 1.2 1.3 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 2.14 The broad set-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explicit nite-dimensional dynamical system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Flowchart of approximation methods and their interconnections. . . . . . . . . . . . . . . . . . . . . . . . . . . Applications leading to large-scale dynamical systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Evolution of IC design [330] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wave surge prediction problem: depth of the north sea. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wave surge prediction problem: discretization grid close to the coast. . . . . . . . . . . . . . . . . . . . . . . . Wave surge prediction problem: measurement locations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wave surge prediction problem: error covariance of the estimated water level without measurements (above) and with assimilation of 8 water level measurements (below). The bar on the right shows the color-coding of the error. Ozone concentrations in Texas and vicinity on 8 September 1993 . . . . . . . . . . . . . . . . . . . . . . . . . Honeybee Waggle dance. Left: Figure eight dances. Right: Dancer and followers. . . . . . . . . . . . . . . . Molecular dynamics: Myoglobin (protein); Heme: active site; Histidine: part that opens and closes catching oxygen molecules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Frequency response of the ISS as complexity increases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The CVD reactor and the required discretization grid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MEMS roll-over sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Optimal cooling: discretization grid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Progression of the cooling of a steel prole (from left-to-right and from top-to-bottom); the bars are cooled from 1000o C to 500o C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unit balls in R2 : 1-norm (inner square), 2-norm (circle), -norm (outer square) . . . . . . . . . . . . . . . . . Quantities describing the singular value decomposition in R2 . . . . . . . . . . . . . . . . . . . . . . . . . . . Approximation of an image using the SVD. Left: original, middle: rank 2, right: rank 1 approximants. . . . . . An RLC circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parallel connection of a capacitor and an inductor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electric circuit example: Minimum energy inputs steering the system to x1 = [1 0] , for T = 1, 2, 10. Left plot: time axis running backward; right plot: time axis running forward. . . . . . . . . . . . . . . . . . . . . . . Feedback interpretation of the parametrization of all solutions of the rational interpolation problem . . . . . . . Feedback interpretation of recursive rational interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A general cascade decomposition of systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cascade (feedback) decomposition of scalar systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Spectrum of the convolution operator S compared with the eigenvalues of the nite approximants SN , N = 4 (circles), N = 6 (crossed circles), N = 10 (dots). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locus of the eigenvalues of the Hamiltonian as a function of . . . . . . . . . . . . . . . . . . . . . . . . . . . The action of the Hankel operator: past inputs are mapped into future outputs. Top pane: Square pulse input applied between t = 1 and t = 0. Lower pane: Resulting output considered for t > 0. . . . . . . . . . . . . . The rst 6 Hankel singular values (left). Plot of the determinant versus 0 1 (right). The zero crossings are the Hankel singular values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16th order Butterworth lter. Upper left frame: Hankel singular values. Upper right frame: Nyquist plot. Lower left frame: impulse response and step response. Lower right frame: total variation of step response. . . . . . . . 6 7 9 13 14 15 15 16 16 18 19 20 21 22 23 23 24 29 31 37 57 72 73 94 96 97 98
3.1 3.2 3.3 4.1 4.2 4.3 4.4 4.5 4.6 4.7 5.1 5.2 5.3 5.4 5.5
xi i i i i
i i xii
7.1 7.2 7.3 8.1 8.2 8.3 8.4
i oa
i List of Figures
Balancing transformations for Butterworth lters of order 1-30. Left gure: errors of three balancing transformations. Right gure: errors of three observability Lyapunov equations. . . . . . . . . . . . . . . . . . . . . . 187 Approximation of the unstable system in example 7.6.1 by balanced truncation . . . . . . . . . . . . . . . . . . 203 Approximation of the unstable system in example 7.6.2 by balanced truncation . . . . . . . . . . . . . . . . . . 204 Construction of approximants which are optimal and suboptimal in the Hankel norm . . . . . . . . . . . . . . . Hankel norm approximation: dimension , + of all-pass dilation systems, stable part of all-pass dilation systems; the system to be approximated has dimension n = 4. The abscissa is . . . . . . . . . . . . . . . . . . . . . . A NALOG F ILTER A PPROXIMATION: Hankel singular values . . . . . . . . . . . . . . . . . . . . . . . . . . . A NALOG F ILTER A PPROXIMATION: Bode plots of the error systems for model reduction by optimal Hankelnorm approximation (continuous curves), balanced truncation (dash-dot curves), and the upper bound (8.21) (dash-dash curves). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Left pane: Absolute value of the rst 100 coefcients of the expansion of H (log scale). Right pane: Bode plots of the original system and three approximants. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P Pk Left pane: k i=1 log |i | (upper curve) and i=1 log i (lower curve), versus k = 1, , 5. Right pane: ve pairs of / curves for all-pole systems of order 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Left pane: Comparison of estimates for the discrete Laplacian. Right pane: Comparison of estimates for a nonsymmetric A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Eigen-decay rate vs Cholesky estimates for some real LTI systems . . . . . . . . . . . . . . . . . . . . . . . . Fast eigen-decay rate for large cond(A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Left pane: Decay rates for Penzls example. Right pane: Fast eigen-decay rate for A with clustered eigenvalues having dominant imaginary parts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Eigen-decay rate and Cholesky estimates for the slow-decay cases . . . . . . . . . . . . . . . . . . . . . . . . . MIMO cases: the effect of different p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Eigenvalue decay for the discrete Laplacian . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Eigenvalue decay for shifted random matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Eigenvalue decay for V-shaped spectrum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Eigenvalue decay for a spectrum included in a pentagon-shaped region . . . . . . . . . . . . . . . . . . . . . . 103 and 102 pseudospectra of the 2 2 matrix of example 3.2.2. . . . . . . . . . . . . . . . . . . . . . . . . Left-most pane: -pseudospectra of a 10 10 companion matrix for = 109 , 108 , , 102 ; second pane from left: pseudospectra of a 50 50 upper triangular matrix for = 1014 , 1012 , , 102 ; second pane from right: complex pseudospectrum of the 3 3 matrix above for = 0.025; right most pane: real pseudospectrum of the same matrix for the same . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Perturbation of the eigenvalues of a 12 12 Jordan block (left) and its pseudospectra for real perturbations with = 109 , 106 (right). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The rst 10 Chebyshev polynomials. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Plot of the eigenvalues of a symmetric 20 20 matrix using the symmetric Lanczos procedure. . . . . . . . . . The Arnoldi process: given A Rnn , construct V Rnk with orthonormal columns, such that H Rkk is an upper Hessenberg matrix, and only the last column of the residual R Rnk is non-zero. . . . . . . . . . The Arnoldi and the two-sided Lanczos algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Implicitly Restarted Arnoldi algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 213 219
219
9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 9.10 9.11 9.12 10.1 10.2
232 241 244 245 246 246 248 248 249 249 249 250 259
10.3 10.4 10.5 10.6 10.7 10.8 12.1 13.1 13.2 13.3 13.4 13.5 13.6 13.7 13.8 13.9 13.10 13.11
An implicitly restarted method for the cross gramian. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 The normalized singular values of the clown and galaxies NGC6822 and NGC6782 . . . . . . . . . . . . . . . The original images together with the 10% and 5% approximants . . . . . . . . . . . . . . . . . . . . . . . . . Left pane: normalized Hankel singular values of the heat model, the Butterworth lter, the clamped beam model, k k . . . . the building example, the CD player model. Right pane: relative degree reduction n vs error tolerance 1 Building model. Upper panes: Bode plot of original and reduced systems. Lower panes: error Bode plots. . . . . Left pane: Bode plot of original and reduced systems for the heat diffusion model. Right pane: error Bode plots. Upper panes: Bode plot of original and reduced models for the CD player model. Lower panes: error Bode plots. max of the frequency response of the reduced systems (upper plot) and of the error systems of the clamped beam Upper panes: Bode plot of original and reduced systems for the Butterworth lter. Lower panes: error Bode plots. Hankel singular values and poles of the 1R ISS model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Model reduction plots of the 1R ISS model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The leading Hankel singular values (top) and the poles (bottom) of the 12A ISS model . . . . . . . . . . . . . . 318 318 319 320 321 322 323 324 326 327 329
i i
ACA :
i i
i i List of Figures
13.12 13.13 Model reduction plots of the 12A ISS model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Plots for the CD player. Upper left pane: the normalized Hankel singular values i , i , and i . Upper right pane: amplitude Bode plot of error system Sl k k . Lower left pane: amplitude Bode plots of the FOM and the reduced systems k , Sl k and k . Lower right pane: amplitude Bode plots of the error systems k , Sl and . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . k k Top left pane: the normalized Hankel singular values i s, i s, and i s. Top right pane: the amplitude Bode plot of error system Sl k k for the 1006 example. Bottom left pane: the amplitude Bode plots of the FOM and the reduced systems k , Sl k and k . Bottom right pane: the amplitude Bode plots of error systems k , Sl and for the n=1006 example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . k k Frequency response of FOM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rational Krylov method: expansion point s = 0 (left pane); expansion point s = 100 (right pane). . . . . . . . . (a) Amplitude Bode plots of the FOM and ROM. (b) Amplitude Bode plots of the error systems for heat example
xiii
330
332
13.14
Heat-conducting rod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350 = 100, L = 10pH . . . . . . . . . . . . . . . . 354 A section of an RLC cascade circuit: R = .1, C = 1pF , R The kth section of an RLC circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
ACA
i i i
i i
ACA :
i i
i i
oa 2004/4/14 page xv i
Preface
Lectori Salutem. This book deals with important problems and results on the interface between three central areas of (applied) mathematics: linear algebra, numerical analysis, and system theory. Whereas the rst two of these elds have had a very fruitful symbiosis since a long time in the form of numerical linear algebra, the third area has remained somewhat distant from all this, until recently. The book in front of you is an example of this rapprochement. In central stage in this book, we nd the problem of model reduction. This problem can be formulated as follows. Given a linear time-invariant input/output system dened by the convolution integral, a transfer function, a state space representation, or their discrete-time counterparts, approximate it by a simpler one. As all approximation questions, this problem can be viewed as a trade-off between complexity and mist. We are looking for a system of minimal complexity that approximates the original one (optimally) with a maximal allowed mist, or, conversely, we are looking for a system that approximates the original one with minimal mist within the class of systems with maximal admissible complexity. Three key questions arise: 1. What is meant by the complexity of a linear time-invariant system? How is the complexity computed from the impulse response matrix, the transfer function, or from another system representation. 2. What is meant by the mist between two systems? How is this mist computed? 3. Give algorithms that compute optimal approximants. The complexity issue leads to theory of state space representations, commonly called realization theory. This theory, originally championed in the work of Kalman, is one of the most beautiful and useful parts of system theory. The mist issue leads to an in-depth discussion of matrix, operator, and system norms. Two important system norms emerge: the L2 -induced, or H -norm, and the Hankel norm. There are numerous inequalities relating matrix norms, and some of these extend to system norms. Perhaps the most remarkable of these relations is the inequality that bounds the H -norm of a system by twice the sum (without repetition) of its Hankel singular values. The issue of system approximation centers around the singular values of the associated Hankel operator. Two effective approximation algorithms, both related to these Hankel singular values are: (i) Approximation by balancing, (ii) AAK model reduction. Model reduction by balancing is based an a very elegant method of nding a state space representation of a system with state components that are, so to speak, equally controllable as observable. This reduction method is heuristic, but it is shown that the resulting reduced system has very good properties. AAK model reduction is based on a remarkable result of Arov, Adamjan, and Krein, three Russian mathematicians who proved that a Hankel operator can be approximated equally well within the class of Hankel operators than in the class of general linear operators. While neither balancing, nor AAK, are optimal reductions in the all-important H -norm, very nice inequalities bounding the H approximation error can be derived. Unfortunately, these singular value oriented methods are computationally rather complex, requiring of the order of n3 operations, where n denotes the dimension of the state space of the system to be approximated. Together with accuracy considerations, this makes these methods applicable to systems of only modest dimension (a few hundred variables). The book also introduces a second set of approximation methods based on moment matching. In system xv i i i i
i i xvi Preface
theory language, this moment matching is a generalization of the well-known partial realization problem. These methods can be iteratively implemented using standard algorithms from numerical linear algebra, namely, the Krylov iterative methods. These schemes were originally developed for computing eigenvalues and eigenvectors, but can be applied to model reduction via moment matching. Typically, these methods require only of the order of n2 operations. The down-side, however, is that stability of the reduced model is not guaranteed, nor is there a known global error bound. This brings us to the last part of the book which aims at combining the SVD based methods and the Krylov methods in what are called SVD-Krylov methods. The SVD based approach can be extended to non-linear systems. The resulting method is known as POD (Proper Orthogonal Decomposition) and is widely used by the PDE community. The scope of this book is the complete theory of mostly linear system approximation. Special attention is paid to numerical aspects, simulation questions, and practical applications. It is hard to over-estimate the importance of the theory presented in this book. I believe that its impact (for example, for numerical simulation of PDEs) has not yet been fully achieved. The mathematical ideas underlying the interplay of the singular value decomposition and linear system theory are of the most rened mathematical ideas in the eld of system theory. The book in front of you is unique in its coverage, and promises to be a stimulating experience to everyone interested in mathematics and its relevance to practical problems. Jan C. Willems Leuven, 03-03-03
i i
ACA :
i i
0.1 Acknowledgements
There are numerous individuals without whose help this book will not have been completed. First, I would like to thank Jan Willems for his friendship and inspiration for over a quarter century and for writing the Preface of this book. I would also like to thank Paul van Dooren for his advice on the book while I was visiting Louvain-la-Neuve. But I am even more thankful to him for introducing me to Dan Sorensen. Dan took it upon himself to teach me numerical linear algebra, and not some watered-down version, but the real deal. Meeting Dan was an event which added a new dimension to my research. Dan is also acknowledged for contributing part of the section on the decay rates. Many thanks go furthermore to Mark Embree for numerous discussions on pseudo-spectra and for his very careful reading and substantial comments on several chapters. The next recipient of my gratitude is Paolo Rapisarda who was always willing to read critically and provide invaluable advice over extensive portions of the book. I would also like to thank Angelika Bunse-Gerstner, Peter Benner, and Caroline Boss, for their comments. Next, my acknowledgements go to Yutaka Yamamoto, long-time friend and colleague from our years as graduate students under R.E. Kalman. Thanks go also to Brian Anderson, Alessandro Astol, Siep Weiland, Roberto Tempo, Matthias Heinkenschloss, Yunkai Zhou, Michael Hinze and Stefan Volkwein for reading and commenting on various parts of the book. I would also like to thank the anonymous referees and several students who commented on the book at various stages. Finally, special thanks go to Serkan Gugercin, who contributed in many ways over the last three years, and to whom most numerical experiments and gures, as well as part of the last two chapters, are due. Finally I would like to thank the editors at SIAM for their professional and efcient handling of this project.
i i i
i i xviii Preface
R (R+ , R ) C (C+ , C ) Z (Z+ , Z ) max (M) max (M) adj M M (s) rank M i (M ) (M) M M(:,j ) M(i,:) spec (M) spec (M) in (A) U, X, Y = = = = + = A C B D A C A C A A C B D B B
real numbers (positive, negative) complex numbers (with positive, negative real part) integers (positive, negative) largest (in magnitude) eigenvalue of M Rnn largest (in magnitude) diagonal entry of M Rnn adjoint (matrix of cofactors) of M Rnn characteristic polynomial of M Rnn rank of M Rnm ith singular value of M Rnm condition number of M Rnm transpose if M Rnm complex conjugate transpose if M Cnm j th column of M Rnm ith row of M Rnm spectrum (set of eigenvalues) of M Rnn -pseudo-spectrum of M Rnn inertia of A Rnn general dynamical system input, state, output spaces linear system matrices linear system with missing D linear system with missing C and D linear system with missing B and D stable subsystem of dual or adjoint of projection reduced order dynamical system system matrices of linear reduced order system convolution operator (discrete and continuous time) adjoint of convolution operator Markov parameters impulse response discrete-time impulse response continuous-time systems transfer function discrete- and continuous-time transfer function of stable subsystem of p-norm of x Rn (p, q )-induced norm of A oating point representation of x R matrix exponential
(6.11) (1.1) (1.2) (1.4), (4.13) (4.15) section 4.2.1 section 4.2.2 section 5.8.3, chapter 8 section 4.2.3, (5.15) (1.6) (1.7) (1.8) (5.14) (4.7), (4.23) (4.3) and (4.21) (4.5) and (4.20) (4.8), (4.22) section 5.8.3, 8 (3.2) (3.4) (3.21) (4.16)
i i
ACA :
i i
i i 0.2. How to use this book R(A, B) Rn (A, B) P (t) O(C, A) On (C, A) Q(t) P Q X H P L (s) Rr Op D s ,
n n p (I ), Lp (I ) q r q r hp , Hp
xix (4.25) (4.26) (4.28), (4.29) (4.25) (4.26) (4.40), (4.41) (4.43), (4.47) (4.51) (4.44), (4.48) (4.52) (4.60) (4.63) (4.79), (4.80) (4.84) (4.81) (4.85) (4.86) (4.93), (4.97) (4.101)/sec. 5.8.2/sec. 5.9 section 5.9 (5.1) section 5.1.2 section 5.1.3 (5.5), (5.7) (5.10) (5.16) (5.16) (5.16) (5.19), (5.20) (5.23) (5.22), (5.24) H = 1 () H 2ind = 1 () (5.27), (5.28), (5.29) (5.30) (5.32) (7.34) (7.35) (7.38) (7.39) (7.41) (7.42) (7.42) (9.2) (9.3) (9.10) 10.4.1 (11.2), (11.4)
reachability matrix nite reachability matrix (nite) reachability gramian continuous-, discrete-time observability matrix nite observability matrix (nite) observability gramian continuous-, discrete-time innite reachability gramian continuous-, discrete-time in the frequency domain innite reachability gramian continuous-, discrete-time in the frequency domain cross gramian, continuous-time case Hankel matrix array of pairs of points for rational interpolation L owner matrix Lagrange interpolating polynomial generalized reachability matrix generalized observability matrix time-series associated with an array generating system/Lyapunov function/storage function supply function inner product Lebesgue spaces of functions Hardy spaces of functions h -norm, H -norm -, L -norm 2-norm of the system 2-induced norm of the convolution operator S H norm of the transfer function Hankel operator of : discrete-, continous-time adjoint of continuous-time Hankel operator Hankel singular values Hankel norm of 2-induced norm of Hankel operator H2 norm of mixed norm of vector-valued function of time mixed induced operator norm reachability input-weighted gramian observability output-weighted gramian frequency-limited reachability gramian frequency-limited observability gramian integral of log of resolvent (sI A)1 time-limited reachability gramian time-limited observability gramian Cauchy matrix diagonal of Cauchy matrix multiplicative majorization gradient section moments, generalized moments of h
F h , F F , F 2 S 2ind H H H H i () H H 2ind H2 ||| f |||(p,q) (r,s) ||| T |||(p,q) Pi Qo P ( ) Q( ) S( ) P (T ) Q(T ) C (x, y) d(x, y) | | k , k (s0 )
H L
ACA
i i i
i i xx Preface
oa 2004/4/14 page xx i
i i
ACA :
i i
i i
oa 2004/4/14 page 1 i
Part I
Introduction
1 i i i i
i i
oa 2004/4/14 page 2 i
i i i
i i
oa 2004/4/14 page 3 i
Chapter 1
Introduction
In todays technological world, physical as well as articial processes are described mainly by mathematical models. These can be used to simulate the behavior of the processes in question. Sometimes, they are also used to modify or control their behavior. The weather on the one hand and Very Large Scale Integration (VLSI) circuits on the other, constitute examples of such processes, the former physical, the latter articial. Furthermore these are dynamical systems, as their future behavior depends on the past evolution. In this framework of mathematical models, there is an ever increasing need for improved accuracy which leads to models of high complexity. The basic motivation for system approximation is the need for simplied models of dynamical systems, which capture the main features of the original complex model. This need arises from limited computational, accuracy, and storage capabilities. The simplied model is then used in place of the original complex model, either for simulation, or for control. In the former case (simulation) one seeks to predict the system behavior. However, often simulation of the full model is not feasible. Consequently, an appropriate simplication of this model is necessary, resulting in simulation with reduced computational complexity. Prominent examples include weather prediction and air quality simulations. The complexity of models, measured in terms of the number of coupled rst order differential or difference equations, may reach the tens or hundred of thousands. In particular, discretization in problems which arise from dynamical PDEs (Partial Differential Equations) which evolve in three spatial dimensions, can easily lead to one million equations. In such cases reduced simulation models are essential for the quality and timeliness of the prediction. Other methods for accelerating the simulation time exist, like parallelization of the corresponding algorithm. (These aspects however are not be addressed here.) In the latter case (control) we seek to modify the system behavior to conform with certain desired performance specications (e.g., we seek to control a CD (Compact Disk) player in order to decrease its sensitivity to disturbances (outside shocks). Such modications are achieved in the vast majority of cases by interconnecting the original system with a second dynamical system, called the controller. Generically, the complexity of the controller (the number of rst-order differential or difference equations describing its behavior) is approximately the same as that of the system to be controlled. Hence if the latter has high complexity, so will the controller. This however has three potential problems. Storage: it may be hard to implement a high order controller on a chip. Accuracy: due to computational considerations (ill-conditioning) it may be impossible to compute such a high order controller with any degree of accuracy. Computational speed: due to limited computational speed the time needed to compute the parameters of such a controller may be prohibitively large. The design of reduced-order controllers is a challenging problem aspects of which have been investigated at least for systems of not-too-high complexity (see [252]). It will not be addressed in the sequel (see section 14.2 on open problems, page 341). In a broader context, this book deals with what is called the curse of dimensionality or, paraphrasing, the curse of complexity. In the computer science community, efcient algorithms are those which can be executed in polynomial time, that is, algorithms whose execution time grows polynomially with the size of the problem. Here are examples of problems which can be solved in polynomial time; the complexity of a generic problem is of the order n , where n is the size of the problem. Set of linear equations: = 3 Eigenvalue problem: = 3 3 i i i i
i i 4 Chapter 1. Introduction
oa 2004/4/14 page 4 i
LMI (Linear Matrix Inequalities): 4 6 On the other hand the following problems Factorization of an integer into prime factors Stabilization of a linear system with constant output feedback can be solved in exponential, but not polynomial time. In our framework there are two additional constraints. First, the algorithm, besides being efcient in the sense mentioned above, must produce an answer in a given amount of time. This becomes problematic for sufciently large complexities even if the underlying algorithm is polynomial in time. Second, the solution must be accurate enough, which is a problem given that numbers can be represented in a computer only with nite precision. We will see later on, that a popular method for model reduction of dynamical systems, balanced truncation, requires of the order n3 operations where n is the complexity of the system to be approximated. It will also follow that methods which reduce the number of operations to k n2 or k 2 n, where k is the complexity of the reduced model, represent considerable improvements. The reason is that with order n3 operations one can deal with system complexities of a few hundred states, while with k 2 n, the complexity of the systems that can be dealt with, climbs into the millions. It should be mentioned at this point that, while the available computing power increases, this turns out to be a mixed blessing, since with increased computing power, the numerical errors increase as well. There are numerous remedies against the curse of dimensionality. Randomized algorithms are one instance; the solution obtained however may fail to satisfy all constraints for some specied percentage of the cases. Other kinds of remedies mostly applicable to problems with polynomial time solution algorithms but very large complexity, are parallelization methods, mentioned earlier. This book addresses the approximation of dynamical systems that are described by a nite set of differential or difference equations, together with a nite set of algebraic equations. Our goal is to present approximation methods related to the SVD (singular value decomposition) on one hand, and approximation methods related to Krylov or moment matching concepts, on the other. Roughly speaking the former family preserves important properties of the original system, like stability, and in addition provides an explicit quantization of the approximation error. The latter family lacks these properties but leads to methods which can be implemented in a numerically much more efcient way. Thus, while the former family of methods can be applied to relatively low dimensional systems (a few hundred states), the latter methods are applicable to problems whose complexity can be several orders of magnitude higher. The combination of these two basic approximation methods leads to a third one which aims at merging their salient features and will be referred to as SVD-Krylov based approximation. Finally some thoughts which have guided our choice of topics concerning the dilemma Linear vs. Nonlinear. The basic argument used is that real systems are nonlinear, therefore methods addressing nonlinear system approximation should be primarily considered. However, we espouse the following arguments. All physical systems are locally linear; in applications typically one linearizes around an operating point of interest. If the operating point cannot be xed, linear time-varying models or piecewise linear models can be considered. Many physical laws, e.g., Newtons second law, Maxwells equations, Kirchhoffs Voltage Laws (KVL) and Kirchhoffs Current Laws (KCL), the diffusion equation, the wave equation, Schr odingers equation, probability laws (Markov equations), are linear, and this linearity holds for large ranges of the operating conditions. Linear theory is rich, extensive, and offers a coherent picture. Articial systems are sometimes designed to be linear. There are attempts in developing a nonlinear approximation theory, but they remain mostly ad-hoc. This book is dedicated to the presentation of mostly linear theory. We conclude this introduction by pointing to several books in the areas of interest: Obinata and Anderson [252] (model reduction for control system design, in particular controller reduction), Gawronski [135] (model reduction of exible structures), Fortuna, Nunnari, and Gallo [114] (model reduction with applications in electrical engineering), Datta [90] (comprehensive treatment of numerical issues in systems and control), Berkooz, Holmes, and Lumley [62] (dynamical systems described by partial differential equations), Banks [42] (control and estimation for distributed
i i
ACA :
i i
i i 5 parameter systems), Zhou et al. [370], [371] (comprehensive treatment of systems and control with emphasis on robustness issues). See also the special issue of the Control Systems Magazine [347] on numerical awareness in control, as well the collection of reprints [262] on numerical linear algebra and control. Insights into aspects mentioned earlier but not discussed further in this book can be found in the book by Skelton, Grigoriadis and Iwasaki [299] (controller complexity), and in the surveys by Tempo and Dabbene [323] (randomized algorithms), and by Blondel and Tsitsiklis [65] (complexity of algorithms in system theory).
oa 2004/4/14 page 5 i
ACA
i i i
i i 6 Chapter 1. Introduction
oa 2004/4/14 page 6 i
Modeling
: ODEs
d d d
PDEs
' d d
discretization
Model reduction
d d
: reduced # of ODEs
B Simulation rr r r j Control
Figure 1.1. The broad set-up The broader framework of the problems to be investigated is shown in gure 1.1. The starting point is a physical or articial system together with measured data. The modeling phase consists in deriving a set of ordinary differential equations (ODEs) or partial differential equations (PDEs). In the latter case the equations are typically discretized in the space variables leading to a system of ODEs. This system will be denoted by . The model reduction step consists by appropriately reducing the number of ODEs describing the system. is in coming up with a dynamical system now used in order to simulate and possibly control . It should be mentioned that sometimes the ODEs are discretized in time as well, yielding discrete-time dynamical systems. Next, we will formalize the notion of a dynamical system . First the time axis T is needed; we will assume for simplicity that T = R, the real numbers; other choices are R+ (R ), the positive (negative) real numbers, or Z+ , Z , Z, the positive, negative, all integers. In the sequel we will assume that consists of rst order ODEs together with a set of algebraic equations:
d dt x
= f (x, u) = g(x, u)
(1.1)
where u U = {u : T Rm }, x X = {x : T Rn }, y Y = {y : T Rp }, (1.2)
are the input (excitation), an internal variable (usually the state), and the output (observation), respectively, while f , g are vector-valued maps of appropriate dimensions. The complexity n of such systems is measured by the number of internal variables involved (assumed nite); that is, n is the size of x = (x1 xn ) .1 Thus we will be dealing with dynamical systems that are nite-dimensional and described by a set of explicit rst-order differential equations; the description is completed with a set of measurement or observation variables y. It should also be mentioned that
1
Given a vector or matrix with real entries, the superscript denotes its transpose. If the entries are complex the same superscript denotes complex conjugation with transposition.
i i
ACA :
i i
oa 2004/4/14 page 7 i
u1 u2 . . . um
d x dt
= f (x, u)
y = g(x, u)
y1 y2 . . . yp
within the same framework, systems whose behavior is discrete in time can be treated equally well. In this case T = Z (or Z+ , or Z ), and the rst equation in (1.1) is replaced by the difference equation x(t + 1) = f (x(t), u(t)). In the sequel however, we concentrate mostly on continuous-time systems. Often in practice, this explicit non-linear system is linearized around some equilibrium trajectory (xed point), the resulting system being linear, parameter time-varying, denoted by LPTV . Finally, if this trajectory happens to be stationary (independent of time), we obtain a linear, time-invariant, system, denoted by LTI : LPTV : (t) = A(t)x(t) + B(t)u(t) x , LTI : y(t) = C(t)x(t) + D(t)u(t) (t) = Ax(t) + Bu(t) x y(t) = Cx(t) + Du(t) (1.3)
A more general class of systems is obtained if we assume that the rst equation in (1.1) is implicit in the derivative of d x, that is F( dt x, x, u) = 0, for an appropriate vector valued function F. Such systems are known as DAE differential algebraic equations systems. Besides an occasional mention (see e.g. the remark on page 289) this more general class of systems will not be addressed in the sequel. We refer to the book by Brenan, Campbell, and Petzold [73] for an account on this class of systems. Problem statement. Given = (f , g) with: u U, x X, y Y, nd = {x = ( ), u U, y Y, and X : T Rk }, where k < n, f, g such that (some or all of) the following conditions are satised:
(1) Approximation error small - existance of global error bound (2) Preservation of stability, passivity (3) Procedure computationally stable and efcient
(COND)
Special case: linear dynamical systems. If we consider linear, time-invariant dynamical systems LTI as in (1.3), denoted by = the problem consists in approximating with: = A C B D R(k+p)(k+m) , k < n, (1.5) A C B D R(n+p)(n+m) (1.4)
so that the above conditions are satised. Pictorially, we have the following:
ACA
i i i
i i 8 Chapter 1. Introduction
oa 2004/4/14 page 8 i
A : C
B D
B : A D C
That is, only the size of A is reduced, while the number of columns of B and the number of rows of C remain unchanged. approximates , consists in comparing the outputs y and y One possible measure for judging how well , respectively. We require namely, that the size (norm) of obtained by using the same excitation function u on and , be kept small or even minimized, for all normalized inputs u. Assuming that is stable the worst output error y y (that is, all eigenvalues of A are in the left-half of the complex plane) this measure of t is known as the H norm of the error. In the sequel we will also make use of another norm for measuring approximation errors, the so-called H2 -norm. This turns out to be the norm of the impulse response of the error system. For details on norms of linear systems we refer to Chapter 5.
is a oblique projection onto the k -dimensional subspace spanned by the columns V, along the kernel of W . d = Tf (T1 x , u) and y = g(T1 x , u). Retaining the rst k differential Substituting for x in (1.1) we obtain dt x equations leads to d = W f (V x + T1 x , u), y = g(Vx + T1 x , u). x dt in terms of x ; notice that they are exact. The These equations describe the evolution of the k -dimensional trajectory x . What results is a dynamical system which evolves in a k -dimensional approximation occurs by neglecting the term Zx of is: = W x. The resulting approximant subspace obtained by restricting the full state as follows: x
d dt x(t)
y(t)
(1.7)
is to be a good approximation of , the neglected term T1 x must be small in some appropriate Consequently if sense. In the linear time-invariant case the resulting approximant is
A C
B D
W AV CV
W B D
(1.8)
i i
ACA :
i i
oa 2004/4/14 page 9 i
A owchart of the contents of this book is shown in gure 1.3; SVD stands for Singular Value Decomposition and POD for Proper Orthogonal Decomposition (concepts to be explained later).
The purpose of this book is to describe certain families of approximation methods by projection. Three different methods are discussed, for choosing the projection (that is the matrices V and W) so that some or all conditions (COND) are satised. (I) SVD-based methods, which are well known to in the systems and control community, and have good system theoretic properties. (II) Krylov-based methods which are well known in the numerical analysis community and to a lesser degree to the system theory community, and have good numerical properties. (III) SVD-Krylov based methods, which seek to merge the best attributes of (I) and (II). Furthermore, the class of weighted SVD methods, which establishes a link between (I) and (II), will also be discussed.
C SVD methods d d d
E Krylov methods
Realization
d d
SVD-Krylov methods
i i i
i i 10 Chapter 1. Introduction
oa 2004/4/14 page 10 i
discussion of the Singular Value Decomposition (SVD) of matrices. The approximation problem in the induced 2norm and its solution given by the Schmidt-Eckart-Young-Mirsky theorem are tackled next. This result is generalized to linear dynamical systems in chapter 8, on Hankel-norm approximation. Elements of numerical linear algebra are also presented in chapter 3. Chapter 4 presents some basic concepts from linear system theory. The rst section discusses the external description of linear systems in terms of convolution integrals or convolution sums. The following section treats the internal description of linear systems. This is a representation in terms of rst order ordinary differential or difference equations, depending on whether we are dealing with continuous- or discrete-time systems. The associated structural concepts of reachability and observability are analyzed. The gramians are important tools for system approximation. They are introduced in this chapter and their properties are explored. The last part is concerned with the relationship between internal and external descriptions, which is known as the realization problem. Finally, aspects of the more general problem of rational interpolation are displayed. Chapter 5 introduces various norms of linear systems which are essential for system approximation and for the quantication of approximation errors. The Hankel operator H is introduced and its eigenvalues and singular values, together with that of the convolution operator S , are computed. This leads to the concept of Hankel singular values and of the H norm of a system. After a more general discussion on induced norms of linear systems, we turn our attention to a brief review of system stability, followed by a discussion of L2 -systems and all-pass L2 -systems, which play an important role in Hankel norm system approximation. The concept of dissipativity which generalizes that of stability from autonomous systems to systems with external inuences, is introduced; the special cases of bounded real and positive real systems are briey explored. Chapter 6 is devoted to the study of two linear matrix equations, the Sylvester equation and the closely related Lyapunov equation. These equations are central to SVD based methods and various solution methods (from complex integration to the Cayley Hamilton theorem to the sign function method) are discussed. Next the inertia theorem for the Lyapunov equation is investigated. The chapter concludes with numerically reliable algorithms for the solution of these equations. Having completed the presentation of the preparatory material, Part II commences with the exposition of the rst class of approximation methods, namely SVD-based approximation methods. Chapter 7 is devoted to approximation by balanced truncation. The ingredients are Lyapunov equations and the Hankel singular values. The main result is followed by a canonical form which can be applied to balanced systems. The last part of the chapter is involved with special types of balancing, including bounded real, positive real, frequency weighted balancing, which lead to methods for approximating unstable systems. Chapter 8 presents the theory of optimal and suboptimal approximation in the induced 2-norm of the Hankel operator H, which can be viewed as a renement of approximation by balanced truncation. The nal section of this chapter is devoted to the exposition of a polynomial approach that offers new insights and connections between balancing and Hankel norm approximation. Part III of the book concludes with a chapter dedicated to special topics in SVD-based approximation methods. In this context a brief description of the POD (Proper Orthogonal Decomposition) method is given in section 9.1; its relation with balanced truncation is also mentioned. Approximation by modal truncation is discussed next. The latter part of the chapter is dedicated to a study of the decay rates of the Hankel singular values which is of importance in predicting how well a given system can be approximated by a low order system. The next part of the book (Part IV) is concerned with Krylov-based approximation methods. These methods have their roots in numerical linear algebra and address the problem of providing good estimates for a few eigenvalues of a big matrix. Consequently chapter 10 gives an account of Lanczos and Arnoldi methods as they apply to eigenvalue problems. The following chapter 11, discusses the application of these methods to system approximation. Krylov methods lead to approximants by matching moments. These methods turn out to be numerically efcient, although they lack other important properties, such as quantication of the approximation error. The connection with rational interpolation is discussed in some detail. The nal part of the book (Part V) is concerned with the connections between SVD-based and Krylov-based approximation methods. In particular a method which involves least squares combines attributes of both approaches. Furthermore two iterative methods are presented which provide approximate solutions to Lyapunov equations and therefore can be used to obtain reduced order systems which are approximately balanced. In chapter 13 aspects of the approximation methods presented earlier are illustrated by means of numerical experiments, by applying them to
i i
ACA :
i i
oa 2004/4/14 page 11 i
various systems. Algorithms are compared in terms of both approximation error and computational effort. The book concludes with a chapter on projections, computational complexity, software and open problems, followed by a collection of exercises (chapter 15) appropriate for classroom use.
ACA
i i i
i i 12 Chapter 1. Introduction
oa 2004/4/14 page 12 i
i i
ACA :
i i
i i
oa 2004/4/14 page 13 i
Chapter 2
Motivating examples
In this section we describe various applications where large-scale dynamical systems arise. There are two categories of examples, namely, those where simulation and/or prediction of future behavior is of interest (cases 1, 2, 3, 4, 5, 6 in gure 2.1), and those where simulation and control are of primary interest (cases 7, 8, 9, 10 of the same table).
1. Passive devices
VLSI circuits EIP Electrical Interconnect and Packaging North sea wave surge forecast Pacic storm forecast Americas Cup Ozone propagation Honeycomb vibrations Dynamics simulations Heat capacity Windscreen vibrations Stabilization Bifurcations Micromirrors Elk sensor Steel prole
6. Vibration/Acoustic problems 7. ISS: International Space Station 8. CVD reactor 9. MEMS: Micro Electro-Mechanical Systems 10. Optimal cooling
Figure 2.1. Applications leading to large-scale dynamical systems In the sequel the examples listed in gure 2.1 are described briey. 13 i i i i
oa 2004/4/14 page 14 i
1960s: IC
2001: Intel Pentium IV 0.18 details 42M components 2GHz speed 2km interconnect 7 layers
Figure 2.2. Evolution of IC design [330] The design phase of a VLSI circuit is followed by the physical verication phase where design aws are to be discovered. Simulations are thus required to verify that internal electromagnetic elds do not signicantly delay or distort circuit signals. This requires the solution of Maxwells equations for 3-dimensional circuits with interconnections of the order of several kilometers, and sub-micron scale geometric resolution. One method for deriving a model in this case is known as PEEC (Partial Element Equivalent Circuit), which works by spatial discretization of Maxwells equations for 3D geometries. The complexity of the resulting model reaches unmanageable proportions, and can be anywhere from n 105 to 106 . Therefore reduced order modeling is of great importance. We thus seek to generate models which are as simple as possible but are nevertheless capable of generating the actual chip behavior. For details see van der Meijs [330]. See also [279] and [202]. There is a general-purpose simulation program for electric circuits which is known as SPICE (Simulation Program with Integrated Circuit Emphasis), which was originally developed in the 1970s at the University of California, Berkeley. This allows the following components: resistors, capacitors, inductors, independent sources, dependent sources, transmission lines, diodes, and transistors. SPICE can handle complexities of a few hundred such elements. It thus becomes inadequate for complexities of the order mentioned above. The rst attempts to use model reduction to simplify such circuits was made by Pillage and Rohrer [269], who proposed the method of asymptotic waveform evaluation (AWE). This consists in computing some of the moments of the corresponding circuits (see section 11.1 for the denition of moments and details on moment matching methods); the AWE method is described in [86]. It turns out however, that computing moments is numerically ill-conditioned and the fact that such problems can be solved efciently using Krylov methods was soon proposed for solving AWE problems [124]. The next step along this line of approach to circuit simulation came with the work of Feldmann and Freund who proposed the Pad e via Lanczos approach. There are numerous references on this topic; we give just a few: [89], [194], [113], [33, 34], [31], [116]. A more general problem is the electromagnetic modeling of packages and interconnects; we refer to [316], for an overview. Again, the starting point is Maxwells equations and the PEEC method is used to obtain a nite dimensional approximation. A related problem was described in [79].
i i
ACA :
i i
oa 2004/4/14 page 15 i
3000
120 100
2500
2000
North Shields
80 60
Lowestoft
1500
40 20 0 20 40 60
1000
Sheerness Dover
Vlissingen
500
80
100
120
140
160
180
200
Figure 2.3. Wave surge prediction problem: depth of the north sea. tion points, while the color bar on the right-hand side indicates the depth of the sea at various locations of interest (justifying the use of shallow water equations). The discretization grid used in this case is shown in gure 2.4. The
510 500 490 480 y [km] 470 460 450 440 430 420 0 20 40 x [km] 60 80 100
Figure 2.4. Wave surge prediction problem: discretization grid close to the coast. problem in this case is not just prediction of the wave surge based on initial conditions. There are several locations
ACA
i i i
oa 2004/4/14 page 16 i
where the wave surge is measured. There are also locations where the movement of the sea currents is measured. The
510 500 490 480 470 460 450 Hook of Holland 440 430 420 0 20 40 60 80 100 Noordwijk Scheveningen waterlevel current HFradar station
problem thus becomes data assimilation, as one wishes to predict the wave surge based both on the model and the provided measurements. This is achieved by means of a Kalman Filter. The FE (Finite Element) discretization of the shallow water equations yields approximately 60, 000 equations, and the resulting computational time is several times the allowed limit of 6 hours. Therefore reduced order models are necessary. Figure 2.6 shows the error covariance of water level prediction in two cases: rst, with wind disturbance and no additional measurements, and second assimilating the measurements from the 8 locations. This problem has
stdv waterlevels
0.4
160 140
0.5
160 140
0.35
0.3
0.25
0.3
100 0.2 80
0.2
60 40
0.15
0.1
0.05
Figure 2.6. Wave surge prediction problem: error covariance of the estimated water level without measurements (above) and with assimilation of 8 water level measurements (below). The bar on the right shows the color-coding of the error.
been studied by Verlaan and Heemink at Delft University of Technology in the Netherlands; for details see [348], [168].
i i
ACA :
i i
oa 2004/4/14 page 17 i
Such models are used for storm tracking in mid-latitude Pacic. For data assimilation in this context see [109].
The Americas Cup is a race of sailing boats which takes place every 4 years. The 31st competition since 1848 took place in 2003 in New Zealand between the Team NZ and the Swiss Team Alinghi. There is a lot of technological knowhow which goes into the construction of the boats. A fact however which is less well known, is that the contestants invest effort in setting up weather teams. These are meant to advise on the weather (in particular, the wind direction and speed) which will prevail during the approximately 8 hours of the race. Important is to be able to predict wind shifts. The goal is to choose the right sails and develop appropriate strategies for the race. The 2003 winner, the Alinghi team, set up a strong weather forecasting group, lead by Dr. J. Katzfey, an expert in weather forecasting at the CSIRO (Commonwealth Scientic and Industrial Research Organization), Australia. Furthermore the Alinghi team set up 8 weather stations which provided data for the data assimilation part of the model. At 7:00am before each race, the weather team was presenting the weather prediction for next 6-8 hours of sailing. This strategy turned out to be an important factor for the Alinghi; in the 3rd regatta for instance, last minute updates brought the Alinghi 200m ahead of the New Zealand boat which proved decisive for the winners.
i i i
oa 2004/4/14 page 18 i
A current challenge to the atmospheric science community is to quantify the impact of human activities on global atmospheric photochemistry. This is achieved by means of air quality models (AQMs) which provide a mechanism for elucidating the underlying physical and chemical processes responsible for the formation, accumulation, transport, and removal of air pollutants. Air quality models are designed to calculate concentrations of ozone and other pollutants and their variations in space and time in response to particular emission inputs and for specied meteorological scenarios. The air quality model is the only prognostic tool available to the policy-making community; i.e., a tool capable of quantitatively estimating future air quality outcomes for conditions and/or emissions different from those that have existed in the past. Because of this unique capability, air quality models have come to play a central role in the process of determining how pollutant emissions should be managed to achieve air quality goals. There are, at present, a variety of air quality models being applied on the urban, regional and global scales. Many models share common features. In particular, air quality models are based on solving the same species conservation equations describing the formation, transport and fate of air pollutants: ci + (uci ) (Kci ) = Ri (c1 , c2 , , cs ) + Si , t i = 1, , s.
Here, ci is the (averaged) concentration of species i; u(x, t) is the wind velocity vector at location x and time t; K(x, t) is the turbulence diffusivity tensor; Ri is the rate of concentration change of species i by chemical reactions; Si (x, t) is the source/sink of species i, and s is the number of predicted species. Ri can also be a function of meteorological variables (e.g., temperature). The source/sink term Si can include emissions of a species, as well as its loss due to various processes such as dry deposition and rainout. Ensemble averaging is used to dispense with the need to capture the extremely small-scale uctuations due to turbulence. With appropriate initial and boundary conditions, the system described by the above equation represents the continuum chemistry-transport model (CTM). A chemistry-transport modeling system is composed of four basic components: a chemical kinetic mechanism, a source emissions inventory, a description of pollutant transport and removal, and a set of numerical algorithms for integrating the governing equations. Differences between various air quality models stem from alternative choices made by their developers in characterizing these physical and chemical processes, procedures for their numerical solution, and the approach taken to adapt the model to the computational domain of interest.
Figure 2.7. Ozone concentrations in Texas and vicinity on 8 September 1993 After spatial discretization of the CTM (Chemistry Transport Model) we obtain: dc = f (c) = fa (c) + fd (c) + fr (c) + u, c(t0 ) = c0 , c = [c1 , , cs ]. dt The grid in the x and y directions is 1km = 100 points; in the z direction 10km = 30 points. This results in 300, 000 equations. It should be mentioned that many measurements of pollutants exist. These are mainly satellite images like Figure 2.7; the color bar on the left-hand side of this gure indicates the concentration of pollutants in parts per billion (PPB), ranging from zero (blue) to 92 (green) to 184 (red). In the past few years the MOPITT satellite was launched by NASA for monitoring purposes. Thus the problem becomes, once more, one of data assimilation.
i i
ACA :
i i
oa 2004/4/14 page 19 i
For details we refer to [102], [235], [246], [292], [293]. An important recent development in three-dimensional chemistry transport modeling is called MOZART (Model of Ozone and Related Tracers); it has been developed in the framework of NCAR (National Center for Atmospheric Research) Community Climate Model (CCM) [179].
Figure 2.8. Honeybee Waggle dance. Left: Figure eight dances. Right: Dancer and followers. The honeybee dance language, in which foragers perform dances containing information about the distance and direction to a food source, is an example of symbolic communication in non-primates. Honeybees together with human beings, possess an abstract system of communication. It was already noted by Aristotle that honeybees recruit nestmates to a food source. In the 1960s K. von Frisch (1973 Nobel Prize Winner in Physiology and Medicine) postulated that this recruitment takes place by means of the so-called waggle dance performed on the honeycomb. This dance consists of a looping gure eight movement with a central straight waggle run (see left pane in gure 2.8). During this dance distance and direction information about the food source are transmitted. The possible mechanisms involved in this unique communication are (i) mechanical and (ii) chemical; there are no optical signals involved given the darkness of the hive. The mechanical mechanism results from the vibration of the honeycomb, while the chemical one results by transmission of pollen and/or nectar. During the waggle dance (see right pane in gure 2.8), the dancer bee waggles her body at 15Hz and vibrates her wings intermittently at 200-300Hz . It should be mentioned that the transmitted vibrations have an amplitude of about 1.4m. The question thus arises as to the ability of the bees to detect weak vibrations in a noisy environment (hive). Experimental measurements have shown that the vibrations occur only in the horizontal direction to the plane of the combs; furthermore the comb seems to amplify vibrations in frequencies around 250Hz . It has also been experimentally observed that the combs exhibit an impedance minimum to horizontal vibrations at 230-270Hz . Most of the experimental investigations in this problem have been performed by Dr. J. Tautz at the Universit at W urzburg. The goal is therefore to nd a model of the honeycomb which explains the phenomena observed and measured and provides new insights into these phenomena. In particular we would like to know to what extent a honeycomb is appropriate as a medium for the transmission of information through vibrations. For more details see [101] and the more recent article [321].
i i i
oa 2004/4/1 page 20 i
Figure 2.9. Molecular dynamics: Myoglobin (protein); Heme: active site; Histidine: part that opens and closes catching oxygen molecules. a molecular dynamics trajectory into fundamental modes of atomic motion. The left singular vectors describe the direction each atom prefers to move in. The right singular vectors provide temporal information; they are projections of the protein conformations onto these modes showing the protein motion in a generalized low-dimensional basis. If an atom were constrained to move only along one of the left singular vectors, then its motion in cartesian space can be projected onto this vector, giving a curve. The elements of the right singular vector can be thought of as scaling the size of the left singular vector to describe where the atom is at each time-point or in each conformation. In Figure 2.9 a protein called myoglobin (more precisely: F46V mutant bioglobin) is depicted. The active site which catches oxygen molecules is called the heme (this is shown in yellow - closing - and white - closed - state); nally oxygen molecules (shown in green) are captured by means of the active site which is called histidine. The rst left singular vector of the (distal) histidine in this F46V mutant bioglobin describes more than 90% of the total motion of the histidine. This histidine also ranked second on the list of residues. Thus: (1) incorporating conformational substate information improves the renement model; (2) multi-conformer renement appears to be the better method for overall improvement of the model; (3) the SVD provides a powerful tool for visualizing complex high-dimensional systems in a low-dimensional space. Heat capacity of molecular systems The next application is concerned with the determination of the heat capacity of a molecular system. This involves the calculation of the following integral:
Cv =
0
f ( )g ( )d,
where g ( )d gives the number of vibrational frequencies in the interval (, + d ). Since the molecular system is n discrete we have: ( ) = 0 g ( )d = i=1 I( i ), where n is the number of particles in the molecular system, and I is the Heaviside step function. This requires all the fundamental frequencies of the system to be computed in advance. Instead, Gauss quadrature is used; this involves the Lanczos algorithm where A is the Hessian of , and b is arbitrary. For details see [364].
ACA :
i i i
oa 2004/4/14 page 21 i
21
Stage 1R - Dec 99
Stage 4A - Mar 00
http://spaceflight.nasa.gov/station/
d where x is position, dt x velocity of the windscreen at the grid points chosen and M, C, K are the mass, damping, stiffness matrices. Since this is a second order system its complexity is twice as high (45, 384 states). For details on eigenvalue problems for second order systems see [325]. This problem was provided by Karl Meerbergen, Free Field Technologies, Leuven, Belgium. See also [236].
i i i
oa 2004/4/14 page 22 i
performance of the eigenvalue algorithm. The description of this system requires a full 3D Navier-Stokes model. The calculation of leading eigenvalues for matrix systems of order 4-16 million is required. These calculations lead to the critical Grashof, Rayleigh, and Reynolds numbers for a Hopf bifurcation. For details, see [226].
W W R
Inlet R
(a)
Outlet
(b)
Outlet
Figure 2.11. The CVD reactor and the required discretization grid
2.9.1 Micromirrors
One such MEMS device is the micromirror and the micromirror array. They are used for precision light manipulation, e.g., as an optical switch in beroptics. A mirror tilts to reect light from one ber to another ber. Large arrays, up to 1,000x1,000 mirrors will be needed for telecommunication applications. As the ber-to-mirror distance increases, strict precision of mirror tilt control is necessary. For a distance of 500 microns, at least 0.10 degree precision is required. A second application of micromirros are maskless lithography (virtual masks). Feedback control is needed to achieve precision positioning of a two degree of freedom micromirror. Its advantages as an optical switch are that it is faster, smaller, cheaper as compared to electrical switches.
ACA :
oa 2004/4/14 page 23 i
Figure 2.12. MEMS roll-over sensor Once such a device has been designed, the next issue consists in testing its performance by simulation. One method is physically oriented modeling, see e.g. Schwarz [290], Teegarden et al. [322], using appropriate simulation packages as described in [291]. The more detailed the modeling the higher the complexity (i.e. the number of differential equations) of the resulting model. And as the available simulation packages are built to handle low complexities, there is a need for simplication of the model through model reduction.
Figure 2.13. Optimal cooling: discretization grid The heat equation is used to model the cooling process. The steel bar is assumed to have innite length thus reducing the problem to a 2-dimensional one. The domain is obtained by cutting the steel bar vertically; this domain can further be halved due to symmetry. It is assumed that there are 8 nozzles spraying cooling liquid uniformly on the boundary of the bar. Thus a 2D boundary control problem results.
ACA
i i i
oa 2004/4/14 page 24 i
The heat-diffusion equation with Neumann boundary conditions is discretized in the spatial variables using the nite element method (FEM) described in the package ALBERT. The initial mesh leads to a system of order n = 106. Subsequently the mesh is rened leading to systems of order n = 371, 1357, and 5177. The resulting mass and stiffness matrices are sparse (with approximately 3 105 and 3 104 non-zero elements, respectively). The control law is obtained by means of LQR (linear quadratic regulator) design. Finally, the model uses water whose temperature is 20o C , and has the spraying intensity as control parameter.
1.000
0.500
1.000
0.500
1.000
0.500
Figure 2.14. Progression of the cooling of a steel prole (from left-to-right and from top-to-bottom); the bars are cooled from 1000o C to 500o C.
i i
ACA :
i i
i i
oa 2004/4/14 page 25 i
Part II
Preliminaries
25 i i i i
i i
oa 2004/4/14 page 26 i
i i i
i i
oa 2004/4/14 page 27 i
Chapter 3
The broad topic of this book is approximation. In order to be able to discuss approximation problems we need to be able to measure the sizes of various objects, like the size of the elements belonging to certain linear function spaces, as well as the size of operators acting between these spaces. The most commonly used norm for this purpose is the 2-norm for elements of function spaces and the associated 2-induced norm for measuring the size of operators between these spaces. 2 The 2-norm of the n-vector x = (x1 xn ) Rn , is the usual Euclidean norm: x 2 = x2 1 + + xn . n n The 2-induced norm of A : R R is dened as A
2=
sup
x=0
Ax x
2 2
Furthermore, the complexity of A is dened as its rank. In this simple case one approximation problem is as follows. Given a matrix (operator) A of complexity n, nd a matrix (operator) Xk of lower complexity (say, k < n) so that the 2-induced norm of the error is minimized: Xk = arg
rank Xk
min
AX
2ind
The problem just dened is a non-convex optimization problem. Despite the lack of convexity however, it can be solved explicitly by means of the singular value decomposition (SVD); this is a decomposition of A in terms of two unitary matrices U, V and a diagonal matrix with non-negative entries 1 , , n on the diagonal, such that A = UV , where = diag (1 , , n ). The i are the singular values of A, which are the square roots of the largest n eigenvalues of A A or AA . Furthermore 1 = A 2ind . This decomposition is one of the most useful tools in applied linear algebra. It can be efciently computed and is an important tool both for theoretical and computational considerations. For an overview of the role of matrix decompositions in computing, we refer to [315], which lists the big six matrix decompositions, that form the foundations of matrix computations: (i) the Cholesky decomposition, (ii) the pivoted LU decomposition, (iii) the QR algorithm, (iv) the spectral decomposition, (v) the Schur decomposition, and nally (vi) the SVD. The solution of the approximation problem introduced above can now be obtained as follows. First, one notices that the minimum value of the error is
X,rankXk
min
AX
2ind =
k+1 (A).
Next, it is easy to convince ones self that this lower bound is achieved by simple truncation of the SVD of A, and that Xk = Uk V where k = diag (1 , , k , 0, , 0) is an optimal solution. This is a powerful result relating the complexity k of the approximant with the (k + 1)st largest eigenvalue of AA (or A A). Details will be discussed in the sequel. 27 i i i i
oa 2004/4/14 page 28 i
This chapter contains some fundamental results from linear algebra and numerical linear algebra. The rst section lists various norms of vectors and matrices. The second presents a discussion of an important decomposition of matrices and operators, the SVD Singular Value Decomposition. Then we briey review two concepts from numerical analysis, which are essential in assessing the accuracy of computations. These are, the condition number of a given problem and the stability of an algorithm to solve the problem. More material from linear algebra is presented in chapter 10. It has to do with the Krylov Iteration, which turns out to be important both in linear algebra and in approximation of linear dynamical systems. In the same chapter, related issues dealing with eigenvalue computations and pseudospectra are also briey discussed. Most of the material presented in this chapter is standard and can be found in many textbooks. For the material of the rst three sections see, for example, Golub and Van Loan [143], Horn and Johnson [181], Stewart and Sun [314], Higham [171], Trefethen and Bau [328], Meyer [239], Thompson [324]. For a treatment with more functional analytic avor, see Bhatia [64], Lax [225]. For the material in section 3.3 we also refer to the notes by Sorensen [308].
(3.1)
| xi |p ) p , 1 p <
maxi{1n} | xi |, p =
x1 . , x= . . xn
(3.2)
for
1 1 + = 1. p q
(3.3)
y 2,
with equality holding iff y = cx, c C. An important property of the 2-norm is that it is invariant under unitary (orthogonal) transformations. Let U be n n and U U = In , where In is the n n identity matrix. It follows that 2 Ux 2 2 = x U Ux = x x = x 2 . This holds also if U has size n m, where m n; in this case U is sometimes called sub-orthogonal (sub-unitary). The following relationship between the H older norms for p = 1, 2, holds: x x 2 x 1 n x 2, x 2 n x The unit balls in the 1-,2-, and -norms are shown in gure 3.1 (diamond, circle, and outer square). Notice that the unit ball for the p-norm, 1 < p < 2, is a circular gure lying between the diamond and the circle, and for p > 2 is also a circular gure lying between the circle and the outer square. An important class of matrix norms are those which are induced by the vector p-norms dened above. More precisely, for A = (Aij ) Cnm Ax q (3.4) A p,q = sup x p x=0
i i
ACA :
i i
oa 2004/4/14 page 29 i
x2 1
x1
Figure 3.1. Unit balls in R2 : 1-norm (inner square), 2-norm (circle), -norm (outer square)
is the induced p, q -norm of A. In particular, for equi-induced norms, i.e. p = q = 1, 2, the following expressions hold
m
A A A
j {1n}
max
|Aij |,
i=1 n
i{1m}
max
|Aij |,
j =1
1 1
More generally, the following expressions hold for mixed induced norms [85]: A A
1,p p,
= max A:,j
j i
p p ,
= max Ai,:
p =
p p1
for p [1, ], where A:,j , Ai,: , denote the j th column, ith row of A, respectively. In particular the following special cases hold 1 1 A 1,2 = max (AA ) 2 , A 2, = max (A A) 2 , A 1, = max |Ai,j |
i,j
where max (M) denotes the largest diagonal entry of the matrix M. There exist other norms besides the induced matrix norms. One such class is the Schatten p-norms. These non-induced norms are unitarily invariant. To dene them, we introduce the singular values of A, denoted by i (A), i = 1, , min(n, m). In the next section we describe the singular values in greater detail, but for now, it sufces to say that i (A) is the square root of the ith largest eigenvalue of AA . Then for m n
m
1 p
S,p
=
i=1
p i ( A)
, 1p<
(3.5)
S,
= max (A)
(3.6)
April 14, 2004
i i i
oa 2004/4/14 page 30 i
which is the same as the 2-induced norm of A. For p = 1 we obtain the trace norm
m
S,1
=
i=1
i (A)
For p = 2 the resulting norm is also known as the Frobenius norm, the Schatten 2-norm, or the Hilbert-Schmidt norm of A:
m
1 2
=
i=1
2 i (A)
= [tr (A A)] 2 ,
(3.7)
where tr () denotes the trace of a matrix. All of the matrix norms discussed above satisfy the sub-multiplicativity property: AB A B . (3.8)
It should be noticed that there exist matrix norms which do not satisfy this relationship. As an example, consider the matrix norm A = max |Aij |.
where is an n m matrix with ii = i , i = 1, , n, and zero elsewhere. Thus if n = m, is a square diagonal matrix with the ordered i on the diagonal. The decomposition (3.9) is called the singular value decomposition (SVD) of the matrix A; i are the singular values of A while the columns of U and V U = (u1 u2 un ), V = (v1 v2 vm ) are called the left and right singular vectors of A, respectively. These singular vectors are the eigenvectors of AA and A A, respectively. It readily follows that Avi = i ui , i = 1, , n
i i
ACA :
i i
oa 2004/4/14 page 31 i
1 1 Example 3.2.1. Consider the matrix A = . It readily follows that the eigenvalue decomposition of the 0 2 2 2 1 1 matrices AA = and A A = are: 1 3 2 2 AA = U2 U and A A = V2 V , where 1 U= 2 1 = 2+ 1 1 1 1 2, 2 = , = 1 0 2. 0 2
, V=
1 2 1 1+ 2 2 1
1 2 2 1 2 2 2
, it follows from + 2 u2 v2 Notice that A maps v1 1 u1 and v2 2 u2 (see gure 3.2). Since A = 1 u1 v1 theorem 3.4 discussed on page 35, that X = 2 u2 v2 is a perturbation of smallest 2-norm (equal to 2 ) such that A X is singular: 1 1 1 1 2 1 1 + 2 X= AX= . 1 21 1 1+ 2 2 2
In other words the distance of A to singularity is 2 . The singular values of A are unique. The left-, right-singular vectors corresponding to singular values of multiplicity one are also uniquely determined up to simultaneous sign change. Thus the SVD is unique in case the matrix A is square and the singular values have multiplicity one. Lemma 3.1. The largest singular value of a matrix A is equal to its induced 2-norm: 1 = A 2 . Proof. By denition A
ACA
2 2
= sup
x=0
Ax 2 x A Ax 2 = sup . x 2 x x x=0 2
April 14, 2004
i i i
oa 2004/4/14 page 32 i
Let y be dened as y = V x where V is the matrix containing the eigenvectors of A A, i.e. A A = V V . Substituting in the above expression we obtain
2 n 2 2 2 2 x A Ax 1 y1 + + n yn 2 = 1 . 2 2 x x y1 + + yn
2 This latter expression is maximized and equals 1 for y = e1 (the rst canonical unit vector [1 0 0] ), that is x = v1 , where v1 is the rst column of V.
We are now ready to state the existence of the SVD for all matrices. Theorem 3.2. Every matrix A with entries in C has a singular value decomposition.
w B BB
Bw
Since the 2-norm of every matrix is greater than or equal to the norm of any of its submatrices, we conclude that
2 1 + w w
AA
2 = 1 .
1 0
0 B
The procedure is now repeated for B, which has size (n 1) (m 1). Again, since the norm of any submatrix is no greater than the norm of the whole matrix, 2 = B 1 . Second proof. This is based on the eigenvalue decomposition of the positive semi-denite Hermitian matrix AA : 1 2 AA = UU , UU = In , = Rnn . .. n where i i+1 . Set = 2 . Since n m, for the rest of the proof we assume for simplicity that n = 0. If n > m, follow the same procedure with A A. The above relationship implies
2 K1 K U A Cnm . 1 = In where K1 =
1 1
i i
ACA :
i i
oa 2004/4/14 page 33 i
33
U[ 2 0]V = A, which completes the proof. Third proof. [357]. First recall that the SVD of A Rnm corresponds to the existence of orthonormal bases (u1 , u2 , , un ) of Rn , and (v1 , v2 , , vm ) of Rm , such that Avk = k uk , k = 1, 2, , n, assuming n m, where k are nonnegative real numbers. (i) If A = 0, take for U and V any orthogonal (unitary) matrices, and put = 0. (ii) Assume that A = 0 and n m (otherwise consider A ). The proof goes by induction on n. (ii.1) For n = 1, A = a is a row vector; take U = 1, V any orthogonal matrix with rst column a a , and = ( a 0 0). (ii.2) Assume that the result holds for matrices having k 1 rows. We show that it holds for matrices having k rows. Let w = 0 be an eigenvector of A A corresponding to the eigenvalue > 0. Dene the spaces
Vw = {x Rm : x w = 0}, VAw = {y Rn : y Aw = 0}. Since x Vw implies Ax, Aw = x, A Aw = x, w = 0, we conclude that AVw VAw . By the induc tion hypothesis, there are orthonormal bases u2 , u3 , , un and v2 , v3 , , vn for (a subspace of) Vw and VAw , respectively, such that Auk = k vk , k = 2, , n. Now dene
u1 =
w Aw Aw , v1 = , 1 = . w Aw w
Aw Aw Aw Since A w w = w Aw , we have Au1 = w v1 = 1 v1 . Therefore, uk , vk , for k = 1, 2, , n, satisfy the desired requirements. (ii.3) If the resulting 1 , , n are not ordered in decreasing order, apply a suitable permutation to the bases to achieve this, and the third proof is complete.
(3.11)
April 14, 2004
ACA
i i i
oa 2004/4/14 page 34 i
2 + + 2 . 1 n
where r is the rank of A. It follows that the outer products in (3.11) are unique, and thus, given a pair of left, right singular vectors (ui , vi ), i = 1, , r, the only other option for this pair is (ui , vi ). On the other hand, the columns of U2 are arbitrary subject to the constraint that they be linearly independent, normalized, and orthogonal to the columns of U1 . Similarly the columns of V2 are arbitrary, subject to linear independence, normalization, and orthogonality with the columns of V1 . Thus U2 , V2 are not necessary for the computation of the SVD of A. In MATLAB the command svd(A) computes the full SVD of A, while the command svds(A,k) computes a short SVD containing k terms, that is the rst k singular values and singular vectors. The use of the short SVD is recommended for min(n, m) 1.
i i
ACA :
i i
oa 2004/4/14 page 35 i
By forcing Y = Z = X, it sometimes happens that is not diagonal and X not orthogonal. In the SVD the constraint Y = Z is relaxed and replaced by the requirement that Y and Z be unitary. This leads to a = matrix which is always diagonal and furthermore its elements are non-negative. By not requiring that Y = Z, the condition that A be square is also relaxed. Hence, in contrast to the EVD, even rectangular matrices have an SVD. In the Schur decomposition the unitarity of X forces the matrix U AU to be upper triangular with the eigenvalues on the diagonal. A further difference between the EVD and the SVD is illustrated by the following Example 3.2.2. Consider the 2 2 matrix A= 1 0 0
The eigenvalues of this matrix are 1 and 0 irrespective of the value of . The SVD of A is 1 cos sin 1+ 2 0 and sin = A = I2 , cos = sin cos 0 0 1+ 2 1+ 2 Hence the largest singular value, i.e., the 2-norm of A, is equal to 1 + 2 , and depends on the value of . This example shows that big changes in the entries of a matrix may have no effect on the eigenvalues. This however is not true with the singular values. This matrix is revisited in section 10.2, page 259 from the point of view of pseudospectra.
SVD for symmetric matrices For symmetric matrices the SVD can be directly obtained from the EVD. Let the EVD of a given A Rnn be: A = A = VV Dene by S = diag (sgn1 , , sgnn ), where sgn is the signum function; it equals +1 if 0, 1 if < 0. Then the SVD of A is A = UV where U = VS and = diag (|1 |, , |n |).
Theorem 3.4. Schmidt, Eckart, Young, Mirsky. With the notation introduced above
X, rankX=k
min
AX
= k+1 (A)
(3.13)
provided that k > k+1 . A (non-unique) minimizer X is obtained by truncating the dyadic decomposition (3.11) to contain the rst k terms:
X = 1 u1 v1 + 2 u2 v2 + + k uk vk
(3.14)
ACA
i i i
i i 36 The proof of this result is based on the next lemma. Lemma 3.5. Given A of rank r, for all X of rank less than or equal to k , there holds AX
2
oa 2004/4/14 page 36 i
k+1 (A).
(3.15)
Proof of lemma. Let yi Cm , i = 1, , n k , be a basis for the kernel of X ker X = span {y1 , , ynk } From a dimension argument follows that the intersection of the two spans is non-trivial, span {y1 , , ynk } span {v1 , , vk+1 } = {0}. Let z Cm , z z = 1, belong to this intersection. It follows that (A X)z = Az; thus
k+1
2 2
(A X)z
2 2
Az
2 2
=
i=1
2 2 2 (vi z) k i +1 .
Proof of theorem. There remains to show that the lower bound obtained in the above lemma is attained. The minimizer (3.14) does precisely this. Remark 3.2.2. (a) Optimal approximation in the Frobenius norm. As it turns out, the Schmidt-Mirsky, EckartYoung theorem provides the solution to the optimal approximation problem in the Frobenius norm. The minimum value of the error (3.13) becomes in this case:
m X, rank X=k
1 2
min
AX
=
i=k+1
2 i (A)
Furthermore, provided that k > k+1 , there is a unique minimizer given by (3.14). (b) The importance of the Schmidt-Mirsky result is the relationship between the rank k of the approximant and the (k + 1)st singular value of A. (c) The minimizer (3.14) given in the Schmidt, Eckart, Young, Mirsky theorem, is not unique in the 2-induced norm. A class of minimizers is given as follows
k
X(1 , , k ) =
i=1
(3.16)
This property is important in the Hankel norm approximation problem. See, e.g., formula (8.23) in example 8.5.1. (d) It is easy to see that the rank of the sum (or the linear combination) of two matrices is in general not equal to the sum of their ranks. This is also true if the linear combination is convex, that is the coefcients are nonnegative and their sum is equal to one. As a consequence, the problem of minimizing the 2-induced norm of A X over all matrices X of rank (at most) k is a non-convex problem, and there is little hope of solving it by applying general optimization algorithms. (e) In order to obtain a larger set of solutions to the problem of optimal approximation in the 2-induced norm, one may relax the optimality condition (3.13). Instead one may wish to obtain all matrices X of rank k satisfying k+1 (A) < A X where k+1 (A) < solved in [331].
2
< ,
< k (A). This is the sub-optimal approximation problem in the 2-induced norm, which was
i i
ACA :
i i
i i 3.2. The singular value decomposition Example 3.2.3. Here we consider the following 4 3 matrix 1 1 0 1 T= 0 1 1 1 37
oa 2004/4/14 page 37 i
0 0 . 0 1
which has rank 3. We will compute optimal approximations of rank 1 and 2. The singular values of T are 1 = 3 + 7 = 2.38, 2 = 1, 3 = 3 7 = 0.59. The approximants T1 , T2 , of rank 1, 2, respectively, obtained by means of the dyadic decomposition turn out to be: 0.69 1.07 0.38 0.69 1.07 0.38 0.08 0.98 0.10 0.42 0.65 0.23 T1 = 0.42 0.65 0.23 , T2 = 0.08 0.98 0.10 1.17 0.96 0.79 0.84 1.30 0.46 The approximants shown in gure 3.3 should be interpreted as follows. A pixel with value 0/1 represents black/white; in-between values represent levels of gray. All pixels with value bigger than 1 and smaller than 0 are approximated by 1 (white) and 0 (black), respectively.
Original: rank 3 0.5 1 1.5 2 2.5 3 3.5 4 4.5 1 2 3 0.5 1 1.5 2 2.5 3 3.5 4 4.5 1 2 3 Approximant: rank 2 0.5 1 1.5 2 2.5 3 3.5 4 4.5 1 2 3 Approximant: rank 1
Figure 3.3. Approximation of an image using the SVD. Left: original, middle: rank 2, right: rank 1 approximants. Notice that the norm of the errors, i.e. the largest singular value of E2 = T T2 is 2 = 1, and that of E1 = T T1 is 3 = .59. It also follows that no entry of E2 can exceed 3 , while no entry of E1 can exceed 2 + 2 = 1.16. 2 3 In order to be able to represent the results graphically, we notice that T can be considered as a 12 pixel image of the number one. In MATLAB each pixel is depicted as a gray square; there are 128 levels of gray, with 1 being white 1 and 0 being black; numbers which are not integer multiples of 128 are approximated by the nearest integer multiple of 1 ; nally numbers less than zero are depicted by black pixels while numbers bigger than one are depicted by white 128 pixels. Figure 3.3, shows a pictorial representation in MATLAB of the original gure and its approximants.
i i i
oa 2004/4/14 page 38 i
The second application of the SVD is the calculation of the Moore-Penrose pseudoinverse. Given a not necessarily invertible or even square matrix A Cnm , a pseudoinverse or generalized inverse is dened as a matrix X Cmn that satises the relationships AXA = A, XAX = X, (AX) = AX, (XA) = XA. The problem can also be formulated equivalently as follows. Given A as above, nd X that solves min AX In
X F
= diag (1 , 0), where 1 > 0. It follows that The solution can now be given using the SVD of A. Let X=V
1 1 0
0 0
U .
(3.17)
Often the pseudoinverse of A is denoted by A+ . The least squares (LS) problem is closely related to the pseudoinverse of a matrix. Given is A Cnm , n m, and a vector b Cn . We wish to nd x Cm which solves: min Ax b
x 2
xLS = Xb =
i=1
u ib 2 vi , 2 (u LS = i b) . i i=m+1
The nal problem discussed here is that of the stability radius in robust control. Given M, the complex stability radius is the inverse of the smallest 2-norm of a complex such that In M, Cmn , M Cnm , is singular. Applying the Schmidt-Eckart-Young-Mirsky theorem, it can be shown that the (complex) stability radius is equal to 1 (M). It was recently shown that the real stability radius (i.e. Rnn ) can be computed as the second singular value of a real matrix derived from the complex matrix M.
In this expression the entries of the vectors xi and yi are restricted to belong to the set {1, 0, 1}, while i R are real numbers. The rst remark is that this decomposition does not reproduce A even for k = n or k = m. The advantage obtained comes from the fact that the rank k approximation requires storage of only 2k (n + m) bits plus k scalars as opposed to (n + m + 1)k scalars for the rank k approximation of A using the SVD. The computation of this decomposition proceeds iteratively. Given Ak1 we seek x, y, such that the Frobenius norm of the error matrix Ek1 is minimized: Ek1 xy
F,
Ek1 = A Ak1 .
This problem is solved iteratively by xing y and solving for x {1, 0, 1}n and R, and subsequently, by xing x and solving for y {1, 0, 1}m and R. The iteration is stopped when the difference in two successive iterates of drops below a specied tolerance.
i i
ACA :
i i
oa 2004/4/14 page 39 i
1 and T 2 of Example 3.2.4. Applying the iterative SDD approximation to example 3.2.3, we obtain approximants T rank one and two respectively: 1 1 0 3 3 0 0 0 0 1 = 3 1 1 0 , T 2 = T 1 1 0 0 = 1 1 3 0 T 1 0 0 4 1 1 0 4 1 3 0 1 1 0 0 0 0 3 3 0 1, T T 2 is 1.188, 1.0877. The corresponding largest singular value of the error matrices T T
i i i
oa 2004/4/14 page 40 i
singular values of the Jacobian J(x0 ). The absolute condition number is dened as the largest singular value, i.e. the (2-induced) norm of the Jacobian J(x0 ) 2 ; more generally, it is the norm J(x0 ) induced by the vector norms in the domain and the range of f . The relative condition number is dened as f (x0 ) = J(x0 ) x0 f (x0 )
where the matrix norm in the above expression is induced by the vector norm used. Again, given a relative error in x0 , the largest resulting relative error in f (x0 ) will be amplied by f (x0 ). In the next section we will make use of the condition number of the inner product. For a, x Rn , we wish to compute the condition number of the inner product a x at x = x0 . Since the Jacobian in this case is J = a Rn , the earlier formula yields a x0 = (3.18) |a x0 | The condition number of a matrix-vector product Ab, can be determined as follows. Starting from the equality b = AA1 b, we derive the inequality b A1 Ab and hence Ab Ab . Using this last inequality 1 together with the relative error we obtain the following upper bound Ab Ab A bb = A 1 Ab b 1
A
A 1
bb b
Thus the condition number, i.e. the largest amplication of perturbations in b is = A A1 . This is called the condition number of the matrix A. This formula implies that the condition number of A is the same as that of its inverse A1 ; therefore the condition number of solving the set of linear equation Ax = b, x = A1 b, due to perturbations in b, is the same as that of Ab. Finally we turn our attention to the condition number of the linear system of equations Ax = b, where both b , where the norms of A A are small. It can x and b b =b and A are perturbed. The system actually solved is A be shown, see e.g., [171], page 145, that the relative error in the solution has the upper bound xx x bb AA + A b where = A A 1
Hence the relative error in the solution can be amplied up to times with respect to the relative error in the data. Again, if the 2-induced norm is used, it follows from the SVD of A that A 2 = 1 , A1 2 = 1 , and thus the n condition number 1 (A) = (3.19) n (A) is the ratio of the largest to the smallest singular values of A. Condition number of EVD and SVD A problem of considerable importance is that of computing the eigenvalue or the singular value decomposition of a given matrix. The sensitivity of these calculations to uncertainty in the data must therefore be studied. Given the square matrix A, let x, y be the right/left eigenvector of A corresponding to the eigenvalue : Ax = x, y A = y . If A is a perturbed to A + A, where A is small, the other quantities in the above equation will be perturbed too: (A + A)(x + x) = ( + )(x + x) Our goal is to describe the change for innitesimal perturbations in A. Expanding and neglecting second order || Ax . This implies that terms in the perturbations, followed by left multiplication by y we obtain: = y y x A
i i
ACA :
i i
oa 2004/4/14 page 41 i
41
is called the absolute condition number of the eigenvalue . For details see chapter 2 of the book by Wilkinson [355]. In case there is a non-trivial Jordan block associated with then x y, so their inner product is zero and hence the conditioning is the worst possible. For this reason, the numerical computation of the Jordan canonical form is an ill-posed problem. In this case, the linearization is invalid, and the eigenvalues associated with the Jordan block split like A 1/i , where i is the index of . In the special case where the matrix is Hermitian, A = A , we have that x = y and therefore the condition number of computing eigenvalues of symmetric matrices is perfect = 1. Consequently, since the singular values of a matrix are the square roots of the eigenvalues of symmetric (and positive semi-denite) matrices, namely AA and A A, the conditioning of the singular values is also perfect: = 1. In order to study the condition number of the eigenvectors we need to study the sensitivity of the corresponding eigenspaces. These results will not be discussed here; we refer to the literature, e.g. Golub, Van Loan [143], for details. We just quote one simple case which gives the type of results obtained. Suppose that is an eigenvalue of denote the eigenvalue of the matrix under consideration which is closest to . Then a algebraic multiplicity one. Let small perturbation in A will result in a perturbation of the eigenvector which is inversely proportional to the difference |. Thus the smaller the gap between the eigenvalue of interest and the remaining ones, the more sensitive the | calculation of the corresponding eigenvector becomes. A similar result holds for eigenvectors of symmetric matrices and hence of singular vectors of matrices.
which is also referred to as machine precision. Moreover, only real numbers x in the interval between [Nmax , Nmax ], can be represented, where for double precision arithmetic Nmax = 21024 1.79 10308 . Given a real number x in the above interval, we will denote by f l(x) its representation in oating point, where |x f l(x)| |x|, that is: f l(x) = x (1 + ) where | | (3.21)
The operations of oating point addition and multiplication in IEEE arithmetic yield a result which is up to close to the true result, namely: f l(x y ) = (x y ) (1 + ), f l(x y ) = (x y ) (1 + ) and f l(x/y ) = (x/y ) (1 + ). There are two ways of interpreting the error due to oating point arithmetic. Let our goal be to compute f (x), i.e. evaluate the function f at the point x. Using our favorite algorithm denoted by A, due to oating point errors during its execution, the result obtained will be fA (x) = f (x). It is now assumed that there is a point xA such that f (xA ) = fA (x); this means that there exists a point which is mapped to the actual result under the function f . In the
ACA
i i i
oa 2004/4/14 page 42 i
evaluation of the function above at the given point, there are four quantities involved, namely: f , fA , x, xA . Forward stability is dened using the rst two, while backward stability is dened using the latter two. Forward error is dened as fA (x) f (x) . In other words, the forward error aims at estimating how close the nal result is to the exact result. Backward error is dened as xA x , that is, it interprets this same result as an exact calculation on perturbed data xA , and seeks to determine how close xA is to x. x x xA f (x) exact arithmetic on given input data fA (x) = f l(f (x)) oating point arithmetic on given input data f (xA ) = f (f l(x)) exact arithmetic on dierent input data fA (x) f (xA ) : forward error xA x : backward error We are now ready to dene stability of an algorithm.
The algorithm fA (x) for computing f (x) is forward stable if fA (x) = f (x) + ef where ef = O( ) f (x) The same algorithm is called backward stable if fA (x) = f (x + ex ) where ex = O ( ) x (3.23) (3.22)
where O( ) is interpreted as a polynomial of modest degree in the size n of the problem times . The two types of error introduced above are related through a Taylor series expansion fA (x) = f (xA ) = f (x) + J (x) (xA x) + O( xA x 2 ). Thus if the norm of the difference xA x is small (say, on the order of machine precision), the forward error can be upper bounded as follows fA (x) f (xA ) f (x) xA x Therefore if the backward error is small, the forward error is bounded from above by the product of the backward error and the condition number (see page 10 of Highams book [171]). Condition Number Backward Error
Rule of Thumb:
Forward Error
The inner product in oating point arithmetic As an illustration of numerical stability, we will now compute the oating point inner product of two vectors x = (xi ), y = (yi ) Rn ; with si = xi yi , the desired inner product is obtained by summing these quantities x y = n i=1 xi yi . In oating point arithmetic the order of summation plays a role. Here is a simple example.
1 1 Example 3.3.1. The following experiment is conducted in MATLAB. Let a = 1 2 , b = 3 , c = 6 . In exact arithmetic the sum of these three fractions is zero, and that holds for summation in any order. However, in oating point arithmetic we get (a + c)+ b = (c + a)+ b = 5.55 1017 , (a + b)+ c = (b + a)+ c = 2.77 1017 , (b + c)+ a = (c + b)+ a = 0. The above differences are due to the fact that f l(a) = 5.000000000000000 101 , f l(b) = 3.333333333333333 101 , f l(c) = 1.666666666666667 101 ; thus a is represented without error, while the sum b + c happens to be exactly representable in oating point arithmetic, as well.
i i
ACA :
i i
oa 2004/4/14 page 43 i
Therefore our algorithm for computing the inner product will consist of choosing a particular order of summation, namely: Sk = sk + Sk1 , 2 k n, S1 = s1 , which implies that Sn is the desired result (or more precisely, an approximation thereof). In oating point the following sums and products are computed f l(si ) = f l(xi yi ) = xi yi (1 + i ), i = 1, , n, | i | f l(S2 ) = f l(f l(s2 ) + f l(s1 )) = [s1 (1 + 1 ) + s2 (1 + 2 )] (1 + 2 ), |2 | f l(S3 ) = f l(f l(s3 ) + f l(S2 )) = [s3 (1 + 3 ) + f l(S2 )] (1 + 3 ) f l(Sn ) = f l(f l(sn ) + f l(Sn1 )) = [sn (1 + n ) + f l(Sn1 )] (1 + n ) n n = i=1 xi yi i where k = (1 + k ) i=k (1 + i ), k = 1, , n, 1 = 0. Let k = k 1. Then we can write
n n n
f l(Sn ) =
i=1
xi yi (1 + i ) =
ex i=1
xi yi +
i=1
xi yi i .
ef
where ex is the backward and ef is the forward error. We will now estimate k ; since i and i are bounded in absolute 2 value by machine precision; thus |k | (1 + )n = 1 + n + n(n 1) 2 + . Assuming that n < 1, it can be shown that the largest k , denoted by , is: n k = n 1 + 2 The assumption n < 1, implies that the number of terms in the inner product cannot be too big. As indicated in the previous section, the error can be interpreted in two different ways. First as resulting from perturbation of the data, and second, as resulting from perturbation of the nal result. We will estimate both of these = (i yi ) errors. In the former case, we assume that there is no perturbation in x, while there is perturbation in y: y y y , and the relative error in y has the upper bound : and y = (yi ). Thus y y y . y This is the backward error. Since n , the algorithm used is backward stable. The forward error n n be bounded as | i=1 xi yi i | i=1 |xi ||yi |, and thus the relative error has the upper bound where = |
n i=1 |xi ||yi | . n i=1 xi yi | n i=1
xi yi i can
Recall from the previous section that is the condition number of the inner product. Thus as expected, the forward error is bounded from above by the product of the backward error times the condition number of the problem at hand. Example 3.3.2. Backward and forward stable inner product calculation. A simple example in MATLAB illustrates the issues discussed above. Consider the column vector of length one million: b=ones(1000000,1); let a be the row vector of the same length: a=exp(1)*b. We compute the inner product a*b. The exact result gives a b = e 106 . The result in MATLAB gives 2.718281828476833 106 while exp(1) = 2.718281828459054. Therefore we have lost 5 signicant digits of accuracy. This can be explained as follows. According to the considerations above the backward error is of the order n 106 1016 = 1010 . The condition number for this problem, given by (3.18), is 1. Therefore according to the Rule of Thumb given above, the forward error is at most equal to the backward error. Indeed the backward error implies a loss of precision of 6 digits, while the actual forward error shows a loss of precision of 5 digits. Example 3.3.3. Ill-conditioned inner product gives large forward error. We will investigate the computation of the exponentials E = exp(t), for t > 0, and = 1, using the truncated power series expansion: exp(t) = 1 +
ACA
n1 tn1 t 2 t2 + + + = x y 1! 2! (n 1)!
April 14, 2004
i i i
i i 44
i1
oa 2004/4/14 page 44 i
t where the ith entries of these vectors are: (x)i = i1 and (y)i = (i 1)! , i = 1, , n. As shown earlier in this section, the inner product is backward stable since ex n ; to determine forward stability we need the condition y number of the inner product which was computed in (3.18), namely, = |x x y| . Thus for = 1, it follows that n. For = 1 however, this is approximately n e2t . Thus while for positive exponent, the 3 computation is forward stable (i.e. the result will be accurate to within n 2 , for negative exponent, the forward 3 error is n 2 exp(2t), which for t > 1, will loose exp(2t) digits of precision, and may thus become unstable. For example, with n = 100, exp(20) 2.0 109 , the forward error is of the same order of magnitude, namely 2.1 109 . Conclusion. Taken as an algorithm for computing ez , z > 0, this series expansion is an unstable algorithm. z On the other hand, computing ez and inverting e1 , which is both forward and z , gives an algorithm for computing e backward stable.
Remark 3.3.1. When is a numerical result accurate? The answer to this question depends on two issues: the problem has to have a good condition number (i.e. not be too sensitive to perturbations in the data) and in addition the algorithm used must be backward stable; this means that the errors due to oating point arithmetic (round-off errors) must be attributable to execution of the algorithm chosen on data which are close to the initial data. Thus: Backward stability by itself, does not imply accurate answers.
We conclude this section with the forward error for a collection of important expressions. For this purpose we need to introduce the notation: given the matrix A = (aij ), its absolute value is equal to the matrix of absolute values | A |= (|aij |). Furthermore given a second matrix B, the notation | A || B | means |aij | |bij |, for all i, j . Finally, note that | AB || A || B |. Forward errors for various vector-matrix operations. f l(Ax) = Ax + z, where | z | |A||x|, A Rmn , x Rn , n . f l(AB) = AB + Z, where | Z | |A||B|, A Rmn , B Rnk , n . f l( x 2 ) = x 2 (1 + ), where |1 + | 1 + (1 + ), x Rn , n .
As before O( ) is a polynomial of modest degree in the size of the problem, times machine precision . In other words, (3.24) says that the SVD can be computed using a backward stable algorithm. Furthermore it follows from the Fan inequalities (3.27), that given any E: |i (A + E) i (A)| = | i i | 1 (E) = E 2 , i Thus | i i | E = O( ) A , which implies that the computation of the singular values can be accomplished in a forward stable manner as well. The above discussion is summarized in the following result. Lemma 3.6. The SVD of a matrix is well-conditioned with respect to perturbations of its entries.
i i
ACA :
i i
oa 2004/4/14 page 45 i
This property does not hold for the EVD. There exist matrices where a small change in the parameters causes a large change in the eigenvalues. Consider for instance a 10 10 matrix A in companion form with all 10 eigenvalues equal to 1. A small change of the order of 103 in one of the entries of A, causes the eigenvalues to change drastically. The reason is that the condition number of the eigenvalues of this matrix is of the order of 1013 . Furthermore, the condition number of A (which is the distance to singularity) is of the order of 105 . Such phenomena motivate the use of pseudospectra (see chapter 10.2 on page 259). Ill-posedness of rank computation The rank of a matrix A Rnm , n m, can be considered as a map between the space of all n m matrices and the set of natural numbers I = {0, 1, , n} : Rnm I We will show that for rank decient matrices, this map is not differentiable. The Fr echet derivative of denoted by D is dened by means of the equation |(A + H) (A) D (H)| = O( H ) where D (H) is linear in H. We distinguish two cases. If A has full rank, (A) = n, for H of sufciently small norm (less than the smallest singular value of A) (A + H) = (A). Thus D can be chosen as the zero function. If (A) = k < n, for almost all H of innitesimally small norm, the rank of the perturbed matrix becomes full (A + H) = n. Therefore there exists no Fr echet derivative D (the dening equation cannot be satised). Therefore
The numerical rank According to corollary 3.3 the rank of a matrix is equal to the number of non-zero singular values. To dene the numerical rank we need to dene a tolerance > 0 (e.g. = A 2 = 1 , where is machine precision). The numerical rank of a matrix is now dened as the number of singular values which are bigger that : rank A = {k : k (A) > , k+1 (A) }. Although this is still an ill-posed problem, the tolerance is user specied. Therefore, it can be adapted to the problem at hand so that the determination of the numerical rank becomes well posed. For instance if there is a sufcient gap k+1 between say, k and k+1 , the tolerance may be set as = k +2 , in which case the numerical rank will be k , and this remains constant for sufciently small perturbations. Remark 3.3.2. A basic problem in numerical analysis is trying to decide when a small oating point number should be considered as zero. Or, trying to decide when a cluster of eigenvalues should be regarded as one multiple eigenvalue or nearby but distinct eigenvalues. In terms of backward error analysis, the computed singular values of A are the exact singular values of the perturbed matrix A + E.
i i i
oa 2004/4/14 page 46 i
Lemma 3.8. . Let A Rnm , n m, have singular values i (A), i = 1, , n. The distance of A to the set of rank k matrices in the 2-norm is k+1 (A), the (k + 1)st singular value of A. Therefore the distance to singularity is n (A), the smallest singular value of A. Often, the relative distance to singularity is of importance. It is the distance to singularity scaled by the norm of A. Thus this distance in the two norm is the quotient of the smallest to the largest singular values, which according to (3.19) is the inverse of the 2-condition number relative distance to singularity = n (A) 1 = 1 ( A) (A)
We can say in general that the reciprocal of the relative distance to ill-posed problems is equal to the 2-condition number; see Demmel [93] an analysis of this issue. Example 3.3.4. The SVD of A = U= It follows that
H2 = 2 u2 v2 =
1 1 0 1
5+1 2
= 1.618, 2 =
51 2
= .618, while
cos sin
sin cos
, V=
2 2 1 + 2
.276 .447
.171 .276
is a matrix of least 2-norm (i.e. 2 ) such that the perturbed A H is singular. For an account of other matrix distances to singularity we refer to Rump [282] and references therein. For matrix nearness problems, see also Higham [169]. It should be mentioned that this issue can be understood in terms of pseudospectra. Example 3.3.5. Consider the square matrix of size n, with ones on the diagonal, minus ones in all entries above the diagonal and zeros elsewhere. The absolute and the relative distance to singularity decreases with increasing n: n n= 5 n = 10 n = 15 n = 20 n = 50 n 9.29 102 2.92 103 9.15 105 2.86 106 2.65 1015 n1 1.5094 1.5021 1.5009 1.5005 1.5001 3.40 102 5.12 104 1.05 105 2.41 107 8.60 1017
n 1
Thus for n = 50 the matrix is singular, for machine precision tolerance. We also notice that the distance of the above matrix to matrices of rank n 2 is practically, independent of n. Such phenomena (small n but bounded n1 ) are typical of Toeplitz matrices. For details we refer to the book of B ottcher and Silbermann [69].
i i
i i
i i 3.4. General rank additive matrix decompositions* Linear Algebra PACKage for high-performance computers Dense and banded linear algebra for Shared Memory It should be mentioned that starting with Version 6, MATLAB has incorporated LAPACK. Therefore calls to dense linear algebra algorithms (e.g. LU, QR, SVD, EVD) use LAPACK. 47
oa 2004/4/14 page 47 i
A B = rank (A BD1 C) + rank D; A BD1 C is called the Schur complement of C D the block matrix in question. If conditions (3.26) hold, then A B C D = A AX YA YAX = I Y A I X
Therefore the rank of this matrix is equal to the rank of A; this implies rank A = rank (A BD1 C) + rank D, and since rank D = rank (BD1 C), this proves the sufciency of (3.26). Conversely, let (3.25) be satised. From the above analysis it follows that rank A B C D = rank A.
Then the fact that the rank of the rst block row and the rst block column of this matrix both equal the rank of A implies the existence of X, Y, such that the rst two conditions in (3.26) are satised; the third condition follows then from the fact that the whole matrix should have rank equal to that of A. The following result for the rank-one case was discovered by Wedderburn in the early 1930s [353].
1 Corollary 3.10. Rank-one reduction. The rank of the difference A vw , v, w Rn , is one less than the rank of nn AR , if, and only if, v = Ax, w = y A, and = y Ax, for some vectors x, y of appropriate dimension.
ACA
i i i
i i 48 Least squares Given is the set of data (measurements) xk = This data is arranged in matrix form: X = [ x1 xN ] = Y Z RnN where Y = [y1 yN ] Rn1 N , Z = [z1 zN ] R(nn1 )N . yk zk Rn , k = 1, 2, , N n, where yk Rn1 , zk Rnn1 . Chapter 3. Tools from matrix theory
oa 2004/4/14 page 48 i
The least squares problem consists in nding A R(nn1 )n1 such that AY Z 2 F , is minimized, where the subscript F denotes the Frobenius norm dened in (3.7). This latter expression can also be written in the more N familiar form i=1 Ayi zi 2 2 . The LS solution leads to the following rank additive decomposition of the data matrix X = X + X, where: = X Y YY+ Z = and X 0 [Inn1 YY+ ] Z ,
where Y+ denotes a generalized inverse of Y (see (3.17)). Notice also that the decomposition is orthogonal since ,X =X X = 0. It follows from the above considerations that in LS the rst n1 components of each measurement X vector are assumed error-free an assumption which may not always be justied.
k i=1 n i=1
xi xi =
k i=1 k i=1
yi yi
We say that y weakly majorizes x and write x ,w y, x ,w y, if the last relationship above, is an inequality: n n n n i=1 xi < i=1 yi , i=1 xi < i=1 yi , respectively. Given the above denitions, the following holds. Proposition 3.12. Given two real vectors x, y Rn with ordered entries as above, let x = Sy, for some S Rnn . Then y majorizes x additively if, and only if, S is a doubly stochastic matrix, i.e., it has nonnegative entries and the sum of its rows and columns are equal to one. Next, consider matrices A and B such that B = UAV (all matrices are square); let = [B11 Bnn ] , = [A11 Ann ] , denote the vectors containing the diagonal entries of each matrix. A straightforward computation shows that u11 v11 u1n v1n 1 u21 v21 u2n v2n 2 = (U V ) = . . . . . . .. . . . . . un1 vn1 unn vnn n
i i
ACA :
i i
oa 2004/4/14 page 49 i
The matrix U V is the Hadamard product of U and V, and is dened as the elementwise multiplication of these two matrices: (U V)ij = Uij Vij . Consider the symmetric matrix A = A Rnn . Let its eigenvalue decomposition be A = UU ; nally, let denote the vector of diagonal entries of A, and = (1 n ) , the vector composed of the eigenvalues of A. We assume without loss of generality that the entries of and are ordered in decreasing order. Simple algebra reveals that = (U U) and since U is unitary, U U is doubly stochastic (actually it is called ortho-stochastic), and therefore .
Proposition 3.13. The ordered vector of eigenvalues of a symmetric matrix majorizes the ordered vector of diagonal entries . Conversely, given any set of vectors satisfying this majorization relationship, there exists a symmetric matrix with the prescribed diagonal entries and eigenvalues. A similar result holds for the singular values and the absolute values of the diagonal entries of an arbitrary matrix A Rnn . Proposition 3.14. Let Rn be such that i = Aii , and |i | |i+1 |. Furthermore, let Rn , be such that 2 i = (AA ), is the ith singular value of A. Then weakly majorizes || and in addition satises the inequality |1 | + + |n1 | |n | 1 + + n1 n . These conditions are also sufcient. In other words, given vectors and satisfying the above inequalities, there exists a matrix A with the prescribed diagonal entries and singular values. We now turn our attention to the relationship between eigenvalues and singular values. For a symmetric (Hermitian) matrix, i = |i |, i.e., the singular values are equal to the absolute values of the eigenvalues. For arbitrary matrices both additive and multiplicative versions of the majorization inequalities hold. Proposition 3.15. Given a matrix A Rnn , let i , i , denote the ith eigenvalue, singular value, respectively. Let A , i = 1, , n. These quantities are ordered as follows: |i | |i+1 |, |i | |i+1 |, and also i = i A+ 2 i i+1 . The following majorizations hold. n (a) |1 k1 k | 1 k1 k , k = 1, , n 1, and n i=1 |i | = i=1 i ; (b) (|1 |, , |n |) ,w (1 , , n ); 2 2 , , n ); (c) (|1 |2 , , |n |2 ) (1 (d) (Re(1 ), , Re(n )) (1 , , n ); (e) |i | i . The next result is concerned with sums of matrices. Proposition 3.16. Consider the matrices A, B Rnn . Let ( ) denote the vector of ordered singular values. Then (A + B) ,w (A) + (B). Furthermore, in the opposite direction, we have i=1 i (A + B) i=1 [i (A) + ni+1 (B)], k = 1, , n. For Hermitian matrices, let ( ) denote the vector of ordered eigenvalues. Then the symmetry A = A , B = B implies (A + B) (A) + (B) Finally, the following inequality is due to Fan: r+s+1 (A + B) r+1 (A) + s+1 (B) where r, s 0, r + s + 1 n.
ACA
(3.27)
i i i
oa 2004/4/14 page 50 i
Remark 3.5.1. Inequality (3.27) can be used to derive the lower bound given by (3.15). For r = 0 and s = k , we obtain k+1 (A + B) 1 (A) + k+1 (B). Thus by relabeling the quantities involved, we get k+1 (A) 1 (A X) + k+1 (X), where X is a rank-k approximation of A. Since the rank of X is at most k , k+1 (X) = 0 and the desired inequality (3.15), k+1 (A) 1 (A X) follows; namely, provided that the approximant has rank at most k , the norm of the error is lower-bounded by the (k + 1)st singular value of A. We conclude with a discussion of the relationship between the spectral properties of matrices and some submatrices. The classical result in this area is known as the Cauchy interlacing property. It states that if i , i = 1, , n, i , i = 1, , n 1, are the are the eigenvalues of a given symmetric matrix A, arranged in decreasing order, and eigenvalues of the principal submatrix A[k] of A obtained by deleting column k and row k from A, then 1 2 2 n1 n1 n . 1 A more general result states the following. Proposition 3.17. Given A = A Rnn , and U Rnk such that U U = Ik , let B = U AU Rkk . Denote the ordered eigenvalues of A, B, by i , i . The following interlacing inequalities hold: i i i+nk , i = 1, , k. Conversely, given A and k real numbers i satisfying the above inequalities, there exists a matrix U composed of k orthonormal columns such that the eigenvalues of B = U AU are precisely the desired i . The above result has an analog for arbitrary matrices where the singular values take the place of the eigenvalues. However, no interlacing holds. Proposition 3.18. Given A Rnn , let B be obtained by deleting column k and row k from A. The singular values i and i of A, B, respectively, satisfy the inequalities i i i+2 , i = 1, , n 2, and n1 n1 . Combining the above results, we obtain a result concerning the singular values of the product of two matrices. Corollary 3.19. Given two matrices A Rnk and B Rkm , k n, m, there hold (AB) ,w (A) together with a multiplicative majorization:
r r r
(B) ,w
(AA ) + (BB ) , 2
i (AB)
i=1 i=1
i (A)i (B)
i=1
1 2 2 (A) + i (B) , r = 1, , k, 2 i
k n n k i=1 i (AB) i=1 i (A)i (B), k = 1, , n 1, and i=1 i (AB) = i=1 i (A)i (B).
i i
ACA :
i i
oa 2004/4/14 page 51 i
of the kind of approximation result one would like to obtain, with the singular values of the original matrix providing a trade-off between achievable accuracy and desired complexity. The third sections goal is to briey discuss the issue of accuracy of computations, by providing an analysis of the various sources of error. Backward stability and forward stability are important concepts in this regard. The dyadic decomposition (3.11) leads to rank additive decompositions of matrices. The fourth section which can be omitted on a rst reading, gives a general account of rank additive matrix decompositions; it is also shown that the popular least squares data tting method induces a rank additive decomposition of the data matrix. The nal section (which can also be omitted at rst reading) lists a collection of results on majorization inequalities.
ACA
i i i
oa 2004/4/14 page 52 i
i i
ACA :
i i
i i
oa 2004/4/14 page 53 i
Chapter 4
In this chapter we review some basic results concerning linear dynamical systems, which are geared towards the main topic of this book, namely, approximation of large-scale systems. General references for the material in this chapter are [280], [304], [370], [371], [75]. For an introduction to linear systems from basic principles the reader may consult the book by Willems and Polderman [270]. Here it is assumed that the external variables have been partitioned into input variables u and output variables y, and we consider convolution systems, i.e., systems where the relation between u and y is given by a convolution sum or integral y = h u, (4.1)
where h is an appropriate weighting pattern. This is called the external description. We are also concerned with systems where besides the input and output variables, the state x has been dened as well. Furthermore, the relationship between x and u is given by means of a set of rst order difference or differential equations with constant coefcients, while that of y with x and u is given by a set of linear algebraic equations. It is assumed that x lives in a nite-dimensional space: x = Ax + Bu, y = Cx + Du, (4.2)
where is the derivative operator or shift operator and A, B, C, D are linear constant maps. This is called the internal description. The rst section is devoted to the discussion of systems governed by (4.1) while the next section investigates some structural properties of systems described by (4.2), namely reachability and observability. Closely related is the concept of gramians for linear systems which is central in subsequent developments. The third section discusses the equivalence of the external and internal descriptions. As it turns out, going from the latter to the former involves the elimination of x and is thus straightforward. The converse however is far from trivial as it involves the construction of state. It is called the realization problem.
h(i, j )u(j ), i Z.
53 i i i i
oa 2004/4/14 page 54 i
The system described by S is called causal if h(i, j ) = 0, i j and time-invariant if h(i, j ) = hij Rpm . For a time invariant system we can dene the sequence of p m constant matrices h = ( , h2 , h1 , h0 , h1 , h2 , ). This sequence is called the impulse response of . In the single-input, single-output (SISO) case m = p = 1, it is the output obtained in response to a unit pulse u(t) = (t) = 1, t = 0; 0, t = 0.
In the multi-input, multi-output (MIMO) case, the subsequence of h composed of the k th column of each entry hi , is produced by applying the input ek (t), where ek is the k th canonical unit vector (all entries zero except the k th which is 1). The operation of S can now be represented as a convolution sum:
htk u(k ), t Z.
(4.3)
The convolution sum is also known as a Laurent operator in the theory of Toeplitz matrices (see e.g. [69]). Moreover, the matrix representation of S in this case is a (doubly innite) block Toeplitz matrix . . . y(2) y(1) y(0) y(1) . . . = . . .. .. . . . h0 h1 h2 h3 . . . . . . h1 h0 h1 h2 . . . . . . h2 h1 h0 h1 . . . . . . h3 h2 h1 h0 . . . . .. .. . . . . u(2) u(1) u(0) u(1) . . . .
(4.4)
In the sequel we will restrict our attention to causal and time-invariant linear systems. The matrix representation of S in this case is lower triangular and Toeplitz. In this case : y(t) = h0 u(t) + h1 u(t 1) + + hk u(t k ) + , t Z.
The rst term h0 u(t), denotes the instantaneous action of the system. The remaining terms denote the delayed or dynamic action of . In analogy to the discrete-time case, let U = {u : R Rm }, Y = {y : R Rp }. A continuous-time linear system with m input and p output channels can be viewed as an operator S mapping the input space U to the output
i i
ACA :
i i
oa 2004/4/14 page 55 i
space Y, which is linear. In particular we will be concerned with systems for which S can be expressed by means of an integral
S : u y, y(t) =
h(t, )u( ) d, t R,
where h(t, ), is a matrix-valued function called the kernel or weighting pattern of . The system just dened is causal if h(t, ) = 0, t , and time invariant if h depends on the difference of the two arguments, h(t, ) = h(t ). In this case S is a convolution operator
h(t )u( ) d, t R
(4.5)
It is assumed from now on that S is both causal and time-invariant which means that the upper limit of integration can be replaced by t. In addition, as in the discrete-time case, we will distinguish between instantaneous, and purely dynamic action, that is, we will express the output as a sum of two terms, the rst being the instantaneous and the second the dynamic action:
t
y(t) = h0 u(t) +
ha (t )u( ) d,
where h0 Rpm , and ha is a smooth kernel. In particular this requirement implies that h can be expressed as h(t) = h0 (t) + ha (t), t 0, (4.6)
where denotes the -distribution. It readily follows that h is the response of the system to the impulse , and is termed therefore the impulse response of . In the sequel we will assume that ha is an analytic function. This assumption implies that ha is uniquely determined by the coefcients of its Taylor series expansion at t = 0+ : ha (t) = h1 + h2 t t2 tk+1 + h3 + + hk + , hk Rpm . 1! 2! (k + 1)!
It follows that if (4.6) is satised, the output y is at least as smooth as the input u, and is consequently called a smooth system. Hence just like in the case of discrete-time systems, smooth continuous-time linear systems can be described by means of the innite sequence of p m matrices hi , i 0. We formalize this conclusion next. Denition 4.1. The external description of a time-invariant, causal and smooth continues-time system and that of a time-invariant, causal discrete-time linear system with m inputs and p outputs is given by an innite sequence of p m matrices = (h0 , h1 , h2 , , hk , ), hk Rpm . (4.7) The matrices hk are often referred to as the Markov parameters of the system . Notice that by abuse of notation, we use to denote both the system operator and the underlying sequence of Markov parameters. It should be clear from the context which of the two cases applies. The (continuous- or discrete-time) Laplace transform of the impulse response yields the transfer function of the system (4.8) H( ) = (Lh)( ). The Laplace variable is denoted by for both the continuous- and discrete-time systems. It readily follows that H can be expanded in a formal power series in : H( ) = h0 + h1 1 + h2 2 + + hk k + .
ACA
i i i
oa 2004/4/14 page 56 i
This can also be regarded as a Laurent expansion of H around innity. Consequently, (4.3) and (4.5) can be written as Y( ) = H( )U( ). Remark 4.1.1. The behavioral framework In the classical framework, see e.g. Kalman, Falb, and Arbib [192], Chapter 1, a dynamical system is viewed as a mapping which transforms inputs u into outputs y. Two basic considerations express the need for a framework at a more fundamental level. First, in many cases (think, for example, of electrical circuits) the distinction between inputs and outputs is not a priori clear; instead, it should follow as a consequence of the modeling. Second, it is desirable to be able to treat the different representations of a given system (for example: input-output and state-space representations) in a unied way. In the behavioral setting, the basic variables considered are the external or manifest variables w, which consist of u and y, without distinguishing between them. The collection of trajectories describing the evolution of w over time denes a dynamical system. It turns out that this denition provides the right level of abstraction, necessary for accommodating the two considerations laid out above. This establishes the foundations of a parameter-free theory of dynamical systems, the advantages of representation-independent results - or vice versa, the disadvantages of representation-dependent results - being well recognized. The resulting central object is the most powerful unfalsied model (MPUM) derived from the data, which, again, is a space of trajectories. Subsequently, inputs and outputs can be introduced and the corresponding I/O operator recovered. For details on the behavioral framework we refer to the book by Polderman and Willems [270]. See also the paper by Rapisarda and Willems [272].
(4.11)
where denotes the derivative operator for continuous-time systems, and the (backwards) shift operator for discretetime systems. The output equations, for both discrete- and continuous-time linear systems, are composed of a set of linear algebraic equations y = Cx + Du, (4.12) where y is the output function (response), and C : Rn Rp , D : Rm Rp , are (constant) linear maps; C is called the output map. It describes how the system interacts with the outside world. In the sequel the term linear system in the internal description is used to denote a linear, time-invariant, continuousor discrete-time system which is nite-dimensional. Linear means: U, X, Y are linear spaces, and A, B, C, D are
i i
ACA :
i i
oa 2004/4/14 page 57 i
linear maps; nite-dimensional means: m, n, p are all nite positive integers; time-invariant means: A, B, C, D do not depend on time; their matrix representations are constant n n, n m, p n, p m matrices. In the sequel (by slight abuse of notation) the linear maps A, B, C, D as well as their matrix representations (in some appropriate basis) are denoted with the same symbols. We are now ready to give the Denition 4.2. (a) A linear system in internal or state space description is a quadruple of linear maps (matrices) = A C B D , A Rnn , B Rnm , C Rpn , D Rpm . (4.13)
The dimension of the system is dened as the dimension of the associated state space: dim = n. (4.14)
(b) is called stable if the eigenvalues of A have negative real parts (for continuous-time systems) or lie inside the unit disk (for discrete-time systems). The concept of stability is introduced formally in the above denition. For a more detailed discussion, see section 5.8 on page 126. In the sequel we will also use the notation = A C B A Rnn , B Rnm , C Rpn . (4.15)
It denotes a linear system were either D = 0, or D is irrelevant for the argument pursued. Example 4.2.1. We consider the dynamical system shown in gure 4.1. The external variables are: the voltage applied at the terminals denoted by u, and the voltage across the resistor denoted by y. The former is the input or excitation function and the latter the output or measured variable of . One choice for the internal or state variables is to pick the current through the inductor, denoted by x1 and the voltage across the capacitor, denoted by x2 . The 1 + x2 and C x 2 = x1 , while the output equation is y = Rx1 . Consequently state equations are thus u = Rx1 + Lx in (4.9), x = (x 1 , x2 ) , b u c b Figure 4.1. An RLC circuit R L
1 C 1 L 0 1 L
Ey R
E x2 L C
x1 c
A=
, B=
, C=
, D = 0.
The system has dimension n = 2, and assuming that R, L, C are positive, it is stable since the characteristic polynomial 1 A (s) = s2 + R L s + CL , of A has roots with negative real parts. Solution of the state equations We will now give the solution of (4.11). For this we will need the matrix exponential; given M Rnn , and t R, we dene the matrix exponential by means of the same series representation as the scalar exponential, namely eMt = In +
ACA
t2 tk t M + M2 + + Mk + . 1! 2! k!
(4.16)
April 14, 2004
i i i
oa 2004/4/14 page 58 i
Let (u; x0 ; t) denote the solution of the state equations (4.11), i.e., the state of the system at time t attained from the initial state x0 at time t0 , under the inuence of the input u. In particular, for the continuous-time state equations (4.9) (u; x0 ; t) = eA(tt0 ) x0 + while for the discrete-time state equations (4.10)
t1 t t0
eA(t ) Bu( ) d, t t0 ,
(4.17)
(u; x0 ; t) = Att0 x0 +
j =t0
At1j Bu(j ), t t0 .
(4.18)
For both discrete- and continuous-time systems, it follows that the output is given by: y(t) = C(u; x(0); t) + Du(t) = C(0; x(0); t) + C(u; 0; t) + Du(t). (4.19)
If we compare the above expressions for t0 = and x0 = 0 with (4.3) and (4.5), it follows that the impulse response h has the form below. For continuous-time systems: h(t) = CeAt B + (t)D, 0, t0 t<0 (4.20)
(4.21)
Finally, by (4.8) the Laplace transform of the impulse response, which is called the transfer function of , is H ( ) = D + C( I A)1 B (4.22)
where = s (continuous-time Laplace transform) and = z (discrete-time Laplace or Z -transform). Expanding the transfer function in a Laurent series for large , i.e., in the neighborhood of innity, we get H ( ) = D + CB 1 + CAB 2 + + CAk1 B k + , and the corresponding external description given by the Markov parameters (4.7), is: = (D, CB, CAB, CA2 B, , CAk1 B, ). (4.23)
Sometimes it is advantageous to describe the system from a different point of view than the original one. In our case since the external variables (i.e. the input and the output) are xed, only the state variables could be transformed. In particular, if the new state is x = Tx, det T = 0, the corresponding matrices describing the system will change. More precisely given the state transformation T (4.11) and (4.12) become x = TAT1 x + TB u, y = CT1 x + D u,
e A e B e C e D
where D remains unchanged. The corresponding system triples are called equivalent. Put differently, and are equivalent if A B A B T T = (4.24) Ip Im C D C D
i i
ACA :
i i
i i 4.2. Internal description for some invertible matrix T. If and are equivalent with equivalence transformation T, it readily follows that H ( ) = D + C( I A)1 B = D + CT1 T( I A)1 T1 TB = D + CT1 ( I TAT1 )1 TB = D + C( I A)1 B = H e ( ). This immediately implies that hk = hk , k N. We have thus proved Proposition 4.3. Equivalent triples have the same transfer function and consequently the same Markov parameters. Example 4.2.2. Continuation of example 4.2.1. The rst ve Markov parameters of are 0, R R2 R R2 2 , 2 , (CR2 L) , ( CR . 2 L ) L L CL3 C 2 L5 59
oa 2004/4/14 page 59 i
t 3 2
1 0
0 1
t
1 t t 3 + e 2 sin 3 2
t 3 2 2 1 sin 3e
t
1 2
t 3 2
2 1
Thus, the impulse response is h(t) = CeAt B = e 2 cos (in terms of R, L, C ) is H (s) = = Tx, where T = Finally, if the state is changed to x = TAT1 = 1 A 2LC RC L + C RC + L + C RC L C RC + L C
s2 + 1 1
R L s 1 R L s + RC
1 1
= TB = 1 , B L
reachability and observability (which is introduced later) see [16]. Denition 4.4. Given is =
A B
< , such that (t), of nite energy, and a time T there exist an input function u ) = ( x u; 0; T The reachable subspace Xreach X of is the set containing all reachable states of . The system is (completely) reachable if Xreach = X. Furthermore R(A, B) = [B AB A2 B An1 B ] is the reachability matrix of .
ACA
(4.25)
i i i
oa 2004/4/14 page 60 i
By the CayleyHamilton theorem, the rank of the reachability matrix and the span of its columns are determined (at most) by the rst n terms, i.e., At B, t = 0, 1, , n 1. Thus for computational purposes the following (nite) reachability matrix is be of importance: Rn (A, B) = [B AB A2 B An1 B]. (4.26)
The image of a linear map L, is denoted by im L. The fundamental result concerning reachability is the following Theorem 4.5. Given = of X, given by the formula
A B
, for both the continuous- and discrete-time case, Xreach is a linear subspace Xreach = im R(A, B) (4.27)
As mentioned in section 10.4, expression (10.7) on page 264, is referred to as the Krylov subspace in the numerical linear algebra community, while it is known as the reachability space in the systems community. Corollary 4.6. (a) AXreach Xreach . (b) is (completely) reachable if, and only if, rankR(A, B) = n. (c) Reachability is basis independent. Proof. We will rst prove corollary 4.6. (a) A Xreach = A im R(A, B) = im AR(A, B) = im (AB A2 B ) im (B AB ) = Xreach . (b) The result follows by noticing that is (completely) reachable if, and only if, im R(A, B) = Rn . (c) Let T be a nonsingular transformation in X, i.e. det T = 0. It follows from (4.24) that the pair A, B is transformed to the pair TAT1 , TB. It is readily checked that R(TAT1 , TB) = TR(A, B), which shows that the rank of the original and the transformed reachability matrices is the same. Before proceeding with the proof of the theorem some remarks are in order. In general, reachability is an analytic concept. The above theorem, however, shows that for linear, nite-dimensional, time-invariant systems, reachability reduces to an algebraic concept depending only on properties of A and B and, in particular, on the rank of the reachability matrix R(A, B), but independent of time and the input function. It is also worthwhile to notice that formula (4.27) is valid for both continuous- and discrete-time systems. This, together with a similar result on observability (4.39), has as a consequence the fact that many tools for studying linear systems are algebraic. It should be noticed however that the physical signicance of A and B is different for the discrete- and continuous (t) = Acont x(t) + Bcont u(t), to x(t + 1) = time cases; if we discretize for instance the continuous-time system x Adiscr x(t) + Bdiscr u(t), then Adiscr = eAcont . A very useful concept is that of the reachability gramian. It is used in the proof of the theorem above and extensively in later chapters. Denition 4.7. The nite reachability gramians at time t < are dened for continuous-time systems as
t
P (t) =
0
eA BB eA d, t R+ ,
(4.28)
Ak BB (A )k , t Z+ .
(4.29)
A hermitian matrix X = X is called positive semi-denite (positive denite), if its eigenvalues are non-negative (positive). The difference of two Hermitian matrices X, Y satises X Y, (X > Y) if the eigenvalues of the difference X Y are non-negative (positive).
i i
ACA :
i i
oa 2004/4/14 page 61 i
Proposition 4.8. The reachability gramians have the following properties: (a) P (t) = P (t) 0, and (b) their columns span the reachability subspace, i.e., im P (t) = im R(A, B). This relationship holds for continuous-time systems for all t > 0, and for discrete-time systems (at least) for t n. Corollary 4.9. =
A B
is reachable if, and only if, P (t) is positive denite for some t > 0.
Proof. Next we will prove proposition 4.8. (a) The symmetry of the reachability gramian follows by denition. (b) To prove the second property, it is enough to show that q P (t) if, and only if, q R(A, B). Since P (t) is symmetric q P (t) if, and only if, q P (t)q = 0. Moreover q P (t)q =
0
B eA
(t )
d = 0,
is equivalent to B eA t q = 0, for all t 0. Since the exponential is an analytic function, this condition is equivalent to the function and all its derivatives being zero at t = 0, i.e., B (A )i1 q = 0, i > 0. This in turn is equivalent to qAi1 B, i > 0, i.e., qR(A, B). The proof for discrete-time systems is similar. Proof. We now turn out attention to theorem 4.5. First we show that Xreach is a linear space, i.e., if xi = (ui ; 0; Ti ) Xreach , i = 1, 2 then 1 x1 + 2 x2 Xreach for all 1 , 2 R. Let T1 T2 . Dene the input function 2 (t) = u 0, u2 (t T1 + T2 ), t [0, T1 T2 ]; t [T1 T2 , T1 ].
It is readily checked that for both continuous- and discrete-time systems 2 ; 0; T1 ). 1 x1 + 2 x2 = (1 u1 + 2 u Next we prove (4.27) for discrete-time systems. Consider
1 T
) = = ( x u; 0; T
j =0
(j ). AT 1j Bu
im RT im R(A, B). By the Cayley Clearly, x (A, B) im R(A, B). Conversely, consider an element x im Rn (A, B); thus, there exist elements u (j ) Rm , j = 0, 1, , n 1, Hamilton theorem, this implies x = ( such that x u; 0; n 1). To prove (4.27) for continuous-time systems, we make use of the expansion (4.16), i.e. ti1 At we have Xreach . Then, for some u , T e = i>0 (i1)! Ai1 . Let x ) = = ( x u; 0; T
i>0
Ai1 B
0
(t )i1 u( ) d, (i 1)!
im R(A, B). which shows that x im R(A, B), For the converse inclusion, we use the proposition given above which asserts that for every x such that there exists ), = P (T (4.30) x
ACA
i i i
oa 2004/4/14 page 62 i
is any positive real number for the continuous-time case and at least n for where P is the reachability gramian and T the discrete-time case. Choose (t) = B eA (T t) (4.31) u for the continuous-time case and (t) = B (A )(T t) u
(4.32)
for the discrete-time case. (Recall that denotes transposition if the matrix or vector is real and complex conjugation ) Xreach . This concludes the = ( and transposition if the matrix or vector is complex). It follows that x u; 0; T proof of the theorem. Remark 4.2.1. A formula for the matrix exponential. Consider the square matrix A R , with eigenvalues i , i = 1, , . One way to compute the matrix exponential of A given by (4.16) is eAt = f (t)A 1 + f 1 (t)A 2 + + f2 (t)A + f1 (t)I , where [f1 (t) f (t)] = [1 (t) (t)] V(1 , , )1 If the eigenvalues of A are distinct, the functions i are i (t) = ei t , i = 1, , , and V is the Vandermonde matrix V ( 1 , , ) = 1 1 . . . 1 2 . . . 1 n . . .
1 n
1 1
1 2
If the eigenvalues are not distinct, the functions i are a fundamental set of solutions of the autonomous differential d equation q (D)f = 0, where D = dt , and q is the characteristic polynomial of A. In this case the Vandermonde matrix has to be modied accordingly. From a numerical viewpoint the computation of the matrix exponential is a challenging proposition. A method known as scaling and squaring yields the best results for a wide variety of matrices A. A survey on this topic can be found in Moler and Van Loan [242]. The denition of the inner product for vector-valued sequences and functions is given in (5.12), (5.12). The energy or norm of the sequence or function f denoted by f , is thus dened as its 2-norm, i.e., f
2 T
= f, f =
0
dened by (4.30) and (4.31) is a minimal energy input which steers the system to the desired The input function u state at a given time. dened by (4.30) and (4.31), and let u be any input function which reaches the state x Proposition 4.10. Consider u , i.e., ( ) = x . Then at time T u ; 0; T u . u (4.33) , is equal to the energy of the input function at time T Furthermore, the minimal energy required to reach the state x , which is equal to P (T ) ; if the system is reachable, this formula becomes u u
2
)1 x P (T . =x
(4.34)
with u u is zero. Proof. The proof is based on the fact that the inner product of u From the above considerations, we can quantify the time needed to arrive at a given reachable state.
i i
ACA :
i i
oa 2004/4/14 page 63 i
at most n time steps. (b) For continuous-time systems, every reachable state can be reached arbitrarily fast. The second part of the proposition implies that the delay in reaching a given state can be attributed to the nonlinearities present in the system. Proof. Part (a) follows immediately from the CayleyHamilton theorem together with (4.27). In the latter part of the ) where u Xreach , we have x = ( is dened by (4.30) and proof of theorem 4.5, we showed that for any x u ; 0; T is an arbitrary positive real number. This establishes claim (b). (4.31), while T Next we show that a non-reachable system can be decomposed in a canonical way into two subsystems: one whose states are all reachable, and a second whose states are all unreachable. Lemma 4.12. Reachable canonical decomposition. Given is = A, B have the following matrix representations:
A B
Ar = 0
Ar r Ar
Br 0 ,
(4.35)
Ar
Br
is reachable.
Proof. Let X X be such that X = Xreach + X . Choose a basis x1 , , xn of X so that x1 , , xq is a basis of Xreach and xq+1 , , xn is a basis for X . Since Xreach is A-invariant, the matrix representation of A in the above basis has the form given by formula (4.35). Moreover, since im B Xreach , the matrix representation of B in the above basis has the form given by the same formula. Finally, to prove that Ar Rqq , Br Rqm , is a reachable pair, it sufces to notice that
Ar
Br
which is
outside forces. The interaction between r and r is given by Ar r . Since Ar r = 0, it follows that the unreachable subsystem r inuences the reachable subsystem r but not vice versa. It should be noticed that although X in the proof above, is not unique, the form (block structure) of the reachable decomposition (4.35) is unique.
We conclude this sub-section by stating a result stating various equivalent conditions for reachability.
ACA
i i i
oa 2004/4/14 page 64 i
Theorem 4.13. Reachability conditions. The following are equivalent: 1. The pair (A, B), A Rnn , B Rnm , is reachable. 2. The rank of the reachability matrix is full: rank R(A, B) = n. 3. The reachability gramian is positive denite P (t) > 0, for some t > 0. 4. No left eigenvector v of A is in the left kernel of B: v A = v v B = 0. 5. rank (In A, B) = n, for all C 6. The polynomial matrices sI A and B are left coprime.
The fourth and fth conditions in the theorem above are known as the PBH or Popov-Belevich-Hautus tests for reachability. The last condition of the theorem is given for completeness; the concept of left coprimeness of polynomial matrices, is not used further in this book; for a denition we refer for instance, to [122]. Proof. The equivalence of the rst three statements has already been proved. The equivalence between conditions 4 and 5 is straightforward, and 6 can be considered as a different way of stating 5. We will prove the equivalence between conditions 1 and 4. If there exists some nonzero v for which v A = v and v B = 0, clearly v R(A, B) = 0; this implies the lack of reachability of (A, B). Conversely, let (A, B) be unreachable; there exists a basis in the state space such that A and B have the form given by (4.35). Let v2 = 0, be a left eigenvector of Ar . Then v = (0 v2 ) (where 0 is the zero vector of appropriate dimension) is a left eigenvector of A that is also in the left kernel of B. This concludes the proof. After introducing the reachability property, we introduce a weaker concept which is sufcient for many problems of interest. Recall the canonical decomposition (4.35) of a pair (A, B). Denition 4.14. The pair =
A B
real parts or are inside the unit disk, depending on whether we are dealing with continuous- or discrete-time systems. Remark 4.2.2. Reachability is a generic property. This means, intuitively, that almost every n n, n m pair of matrices A, B satises rank Rn (A, B) = n. Put differently, in the space of all n n, n m pairs of matrices, the unreachable pairs form a hypersurface (of measure zero). A concept which is closely related to reachability is that of controllability. Here, instead of driving the zero state to a desired state, a given non-zero state is steered to the zero state. More precisely we have: Denition 4.15. Given =
A B
< , such that (t) and a time T input function u ) = 0. ; T ( u; x The controllable subspace Xcontr of is the set of all controllable states. The system is (completely) controllable if Xcontr = X. The next theorem shows that for continuous-time systems the concepts of reachability and controllability are
i i
ACA :
i i
oa 2004/4/14 page 65 i
equivalent, while for discrete-time systems the latter is weaker. For this reason in the sequel, only the notion of reachability is used. Theorem 4.16. Given is =
A B
systems Xreach Xcontr ; in particular Xcontr = Xreach + ker An . Proof. (a) By denition, x Xcontr implies (u; x; T ) = 0 for some u; this implies eAT x =
0 T
Thus, x eAT Xreach Xreach ; the latter inclusion follows because by corollary 4.6, Xreach is A-invariant. Thus, Xcontr Xreach . Conversely, let x Xreach ; there exist u and T such that x = (u; 0; T ). It follows that eAT x Xreach , which in turn implies (u; x; T ) = 0. Thus, x Xcontr , i.e., Xreach Xcontr . This completes the proof of (a). (b) Let x Xreach . Then, x = (u; 0; T ). Since Xreach is A-invariant, AT x Xreach . But x satises (u, x, T ) = 0. Thus, x Xcontr . The converse does not hold true in general, as A may be singular. Remark 4.2.3. From the above results it follows that for any two states x1 , x2 Xreach there exist u12 , T12 such that x1 = (u12 ; x2 ; T12 ). To see this note that since x2 is reachable it is also controllable; thus there exist u2 , T2 such that (u2 ; x2 ; T2 ) = 0. Finally, the reachability of x1 implies the existence of u1 , T1 such that x1 = (u1 ; 0; T1 ). The function u12 is then the concatenation of u2 with u1 , while T12 = T1 + T2 . In general, if x1 , x2 , are not reachable, there is a trajectory passing through the two points if, and only if, x2 f (A, T )x1 Xreach for some T, where f (A, T ) = eAT for continuous-time systems and f (A, T ) = AT for discrete-time systems. This shows that if we start from a reachable state x1 = 0, the states that can be attained are also within the reachable subspace. Distance to reachability/controllability Following the considerations in section 3.3.3, the numerical computation of rank is an ill-posed problem. Therefore the same holds for the numerical determination of reachability (controllability) of a given pair (A, B). One could consider instead the numerical rank of the reachability matrix R(A, B) or of the reachability gramian P (T ) or in case the system is stable of the innite gramian P . A measure of reachability which is well-posed is the distance of the pair to the set of unreachable/uncontrollable ones, denoted by r (A, B). Following part 5. of theorem 4.13, this distance is dened as follows r (A, B) = inf min [In A, B]. C In words, this is the inmum over all complex of the smallest singular value of [In A, B]. (4.36)
i i i
oa 2004/4/14 page 66 i
determining x(0) we may assume without loss of generality that u() = 0. Thus, the observation problem reduces to the following: given C(0; x(0); t) for t 0, nd x(0). Since B and D are irrelevant, for this subsection = A C , A Rnn , C Rpn
; t) = 0, for all t 0, i.e., if x is indistinguishable Denition 4.17. A state x X is unobservable if y(t) = C(0; x from the zero state for all t 0. The unobservable subspace Xunobs of X is the set of all unobservable states of . is (completely) observable if Xunobs = {0}. The observability matrix of is O(C, A) = (C A C (A )2 C ) . (4.37)
Again by the CayleyHamilton theorem, the kernel of O(C, A) is determined by the rst n terms, i.e., CAi1 , i = 1, , n. Therefore for computational purposes, the nite version On (C, A) = (C A C (A )n1 C ) of the observability matrix is used. We are now ready to state the main Theorem 4.18. Given =
A C
(4.38)
An immediate consequence of the above formula is Corollary 4.19. (a) The unobservable subspace Xunobs is A-invariant. (b) is observable if, and only if, rank O(C, A) = n. (c) Observability is basis independent. Remark 4.2.4. Given y(t), t 0, let Y0 denote the following np 1 vector: Y0 = (y (0) Dy (0) Dn1 y (0)) for continuous time systems, Y0 = (y (0) y (1) y (n 1)) for discrete time systems, where D =
d dt .
The observation problem reduces to the solution of the linear set of equations On (C, A)x(0) = Y0
This set of equations is solvable for all initial conditions x(0), i.e., it has a unique solution if and only if is observable. Otherwise x(0) can only be determined modulo Xunobs , i.e., up to an arbitrary linear combination of unobservable states. Proof. Next, we will give the proof of theorem 4.18. Let x1 , x2 be unobservable states. Then C(0; 1 x1 + 2 x2 ; t) = 1 C(0; x1 ; t) + 2 C(0; x2 ; t) = 1 y1 (t) + 2 y2 (t) = 0 for all constants 1 , 2 and t 0. This proves the linearity of the unobservable subspace. For continuous-time systems, by denition, x is unobservable if y(t) = CeAt x = 0, t 0. Since CeAt is analytic, it is completely determined by all its derivatives at t = 0. This implies (4.39). For discrete-time systems, formula (4.39) follows from the fact that the unobservability of x is equivalent to y(i) = CAi x = 0, i 0.
i i
ACA :
i i
oa 2004/4/14 page 67 i
Q(t) =
0
eA
(t )
C CeA(t ) d, t R+ ,
(4.40) (4.41)
It readily follows that ker Q(t) = ker O(C, A). As in the case of reachability, this relationship holds for continuous-time systems for t > 0 and for discrete-time systems, at least for t n. The energy of the output function y at time T caused by the initial state x is denoted by y . In terms of the observability gramian, this energy can be expressed as y 2 = x Q(T )x. (4.42) X Remark 4.2.5. For completeness, we now briey turn our attention to the reconstructibility problem. A state x ; t) = 0, for all t 0, i.e., if x is indistinguishable from the zero state for all is unreconstructible if y(t) = C(0; x t 0. The unreconstructible subspace Xunrecon of X is the set of all unreconstructible states of . is (completely) reconstructible if Xunrec = {0}. Given is the pair (C, A). For continuous-time systems Xunrec = Xunobs . For discrete-time systems Xunrec unobs X , in particular, Xunobs = Xunrec im An . This shows that while for continuous-time systems the concepts of observability and reconstructibility are equivalent, for discrete-time systems the latter is weaker. For this reason, only the concept of observability is used in the sequel.
, is
i.e., the input map is given by C , the output map by B , and the dynamics are given by A . The matrix representations of A , C , B , D are the complex conjugate transposes of A, C, B, D respectively, computed in appropriate dual bases. One may think of the dual system as the system but with the role of the inputs and outputs interchanged, or with the ow of causality reversed and time running backwards. In section 5.2 on page 108, it is shown that the dual system is also the adjoint system dened by (5.15), with respect to the standard inner product. The main result is the duality principle. Theorem 4.21. The orthogonal complement of the reachable subspace of is equal to the unobservable subspace of its dual : (Xreach ) = Xunobs . The system is reachable if and only if its dual is observable. Proof. The result follows immediately from formulae (4.25) and (4.37), upon recalling that for a linear map M there holds (im M) = ker M . In a similar way, one can prove that controllability and reconstructibility are dual concepts. Since (A, B) is reachable if, and only if, (B , A ) is observable, we obtain the following results. Their proof follows by duality from the corresponding results for reachability and is omitted. Lemma 4.22. Observable canonical decomposition. Given is = A, C have the following matrix representations A C
ACA
A C
Ao = 0 0
Ao o Ao Co
i i i
i i 68 where o =
Ao Co
oa 2004/4/14 page 68 i
The reachable and observable canonical decompositions given in lemmata 4.12 and 4.22 can be combined to obtain the following decomposition of the triple (A, B, C): Lemma 4.23. Reachable-observable canonical decomposition. Given is = X such that A, B, and C have the following matrix representations = A C B = Ar o 0 0 0 0 A12 Aro 0 0 Cro A13 0 Ar o 0 0 A14 A24 A34 Ar o Cr o Bro Bro 0 0 , A C B . There exists a basis in
Aro Cro
Bro
composition is stable, i.e., has eigenvalues either in the left-half of the complex plane or inside the unit disk, depending on whether we are dealing with a continuous- or discrete-time system. We conclude this subsection by stating the dual to theorem 4.13.
Theorem 4.24. Observability conditions. The following are equivalent: 1. The pair (C, A), C Rpn , A Rnn , is observable. 2. The rank of the observability matrix is full: rank O(C, A) = n. 3. The observability gramian is positive denite: Q(t) > 0, for some t > 0. 4. No right eigenvector v of A is in the right kernel of C: Av = v Cv = 0. 5. rank (In A , C ) = n, for all C. 6. The polynomial matrices sI A and C are right coprime.
Again, by section 3.3.3, the numerical determination of the observability of a given pair (C, A), is an ill-posed problem. Therefore as in the reachability case the distance of the pair to the set of unobservable, denoted by o (C, A) will be used instead. This distance is dened by means of the distance to reachability of the dual pair (A , C ), which from (4.36) is: o (C, A) = r (A , C ) = inf min [In A , C ] = inf min C C In A C
real part. In this case both (4.28) and (4.40) are dened for t = :
i i
ACA :
i i
oa 2004/4/14 page 69 i
P=
0
eA BB eA
d,
(4.43)
Q=
0
eA C CeA d.
(4.44)
P and Q are the innite reachability and innite observability gramians associated with c . These gramians satisfy the following linear matrix equations, called Lyapunov equations. Proposition 4.25. Given the stable, continuous-time system c as above, the associated innite reachability gramian P satises the continuous-time Lyapunov equation AP + P A + BB = 0, while the associated innite observability gramian satises A Q + QA + C C = 0. (4.46) (4.45)
AeA BB eA
+ eA BB eA A d
=
0
d(eA BB eA ) = BB .
This proves (4.45); (4.46) is proved similarly. The matrices P and Q are indeed gramians in the following sense: Recall that the impulse response of a continuous-time system is: h(t) = CeAt B, t > 0. Now, consider the following two maps: the input-to-state map: (t) = eAt B and the state-to-output map: (t) = CeAt . If the input to the system is the impulse (t), the resulting state is (t); moreover, if the initial condition of the system is x(0), in the absence of a forcing function u, the resulting output is y(t) = (t)x(0). The gramians corresponding to (t) and (t), for time running from 0 to T are:
T
P=
0
(t) (t) dt =
0
eAt BB eA t dt,
and Q=
0
(t) (t) dt =
0
eA t C CeAt dt.
These are the expressions that we have encountered earlier as (nite) gramians. Similarly, if the discrete-time system d =
A C B D
Ak BB (A )k ,
(4.47)
i i i
i i 70
oa 2004/4/14 page 70 i
(4.48)
Notice that P can be written as P = BB + AP A ; moreover Q = C C + A QA. These are the so-called discrete-time Lyapunov or Stein equations. Proposition 4.26. Given the stable, discrete-time system d as above, the associated innite reachability gramian P satises the discrete-time Lyapunov equation AP A + BB = P , while the associated innite observability gramian Q satises A QA + C C = Q. (4.50) (4.49)
The innite gramians in the frequency domain The innite gramians can also be expressed in the frequency domain. In particular, applying Plancherels theorem1 to (4.43) we obtain
1 2
(i I A)1 BB (i I A )1 d ;
(4.51)
Q=
1 2
(i I A )1 C C(i I A)1 d.
(4.52)
In the discrete-time case the innite gramians dened by (4.47), (4.48), can also be expressed as P= 1 2 1 2
2 0 2 0
(4.53)
Q=
(4.54)
These expressions will be useful in model reduction methods involving frequency weighting.
In the theory of Fourier transform, Plancherels theorem states that the inner product R of two (matrix-valued)R functions in the time domain and in the frequency domain is (up to a constant) the same. In continuous time we have: 2 g (t)f (t) dt = F (i )G(i ) d , while in R 2 i P i discrete-time there holds: 2 )G(e ) d . g (t)f (t) = 0 F (e
i i
ACA :
i i
oa 2004/4/14 page 71 i
irrespective of whether we are dealing with discrete- or continuous-time systems. Hence from (4.34) follows that the ; hence assuming stability and (complete) minimal energy for the transfer from state 0 to xr is obtained as T reachability, the gramian is positive denite, and this minimal energy is
1 x xr . rP
(4.55)
Similarly, the largest observation energy produced by the state xo is also obtained for an innite observation interval, and is equal to: (4.56) x o Qxo . We summarize these results as follows. Lemma 4.27. Let P and Q denote the innite gramians of a stable linear system . (a) The minimal energy required to steer the state of the system from 0 to xr is given by (4.55). (b) The maximal energy produced by observing the output of the system whose initial state is xo is given by (4.56). This lemma provides a way to determine the degree of reachability or the degree of observability of the states of . The states namely, which are the most difcult, i.e., require the most energy to reach, are (have a signicant component) in the span of those eigenvectors of P that correspond to small eigenvalues. Furthermore, the states that are difcult to observe, i.e., produce small observation energy, are (have a signicant component) in the span of those eigenvectors of Q which correspond to small eigenvalues. The above conclusion is at the heart of the concept of balancing discussed in chapter 7. Recall the denition of equivalent systems (4.24). Under equivalence, the gramians are transformed as follows P = TP T , Q = T QT1 P Q = T (PQ) T1 . (4.57)
Therefore, the product of the two gramians of equivalent systems is related by similarity transformation, and hence has the same eigenvalues. Quantities which are invariant under state space transformation are called input-output invariants of the associated system . Proposition 4.28. The eigenvalues of the product of the reachability and of the observability gramians are input-output invariants. Remark 4.3.1. As discussed in lemma 5.6 and (5.24), the eigenvalues of PQ are important invariants called Hankel singular values of the system. They turn out to be equal to the singular values of the Hankel operator introduced in section 5.1. Remark 4.3.2. A formula for the reachability gramian. Given a continuous-time system described by the pair A Rnn , B Rnm , the reachability gramian is dened by (4.28). If the eigenvalues of A are assumed to be distinct, A is diagonalizable. Let the EVD be A = VV1 where V = [v1 v2 vn ], = diag (1 , , n ); vi denotes the eigenvector corresponding to the eigenvalue i . Notice that if the ith eigenvalue is complex, the corresponding eigenvector is also complex. Let W = V1 B Cnm , and denote by Wi C1m the ith row of W. With the notation introduced above the following formula holds: P (T ) = VR(T )V , where [R(T )]ij =
Wi Wj 1 exp [(i + j )T ] C i + j
Furthermore, if i + j = 0, [R(T )]ij = (Wi Wj ) T . If in addition A is stable, the innite gramian (4.43) is given
by P = VRV , where Rij = i + j . This formula accomplishes both the computation of the exponential and the j integration implicitly, in terms of the EVD of A.
ACA
Wi W
i i i
oa 2004/4/14 page 72 i
Example 4.3.1. Consider the electric circuit consisting of the parallel connection of two branches as shown in gure 4.2. The input is the voltage u applied to this parallel connection, while the output is the current y; we choose as states the current through the inductor x1 , and the voltage across the capacitor x2 . y E RL u c cx1 L C c x2 RC
Figure 4.2. Parallel connection of a capacitor and an inductor 1 = RL x1 + u, CR Rx 2 = x2 + u, while the output equation is RC y = The state equations are Lx RC x1 x2 + u. Thus 1 L 0 RL L A B R 1 C C where L = L , C = = = 0 , (4.58) L RC C C D 1 1 1 R RC C are the time constants of the two branches of the circuit. Therefore the impulse response is h(t) = C C t 1 L L t e e + (t), t 0. RL RC RC
It readily follows that this system is reachable and observable if the two time constants are different (L = C ). 1 Assuming that the values of these elements are L = 1, RL = 1, C = 1, RC = 2 : A= 1 0 0 2 , B= 1 2 e
At
B=
et 2e2t
Reachability in this case inquires about the existence of an input voltage u which will steer the state of the system , at a given time T > 0. In this case, since the system is always reachable (for positive values of to some desired x the parameters) any state can be reached. We choose x1 = [1 0] , x2 = [0 1] . The gramian P (T ) and the innite gramian P are: P (T ) =
1 2T e + 2 3T + 2 3e 1 2 2 3 3T 2 + 3e 2 3
e4T + 1
, P = lim P (T ) =
T
1 2 2 3
2 3
u1 T (t) =
2T 6e 2e3T 2 3et + 3et , e6T 9e2T 9e4T + 1 + 16e3T t u2 + 18e2t . (t) = lim u2,T (t) = 12e
u2 T (t) =
T t
= T t, where t is the time; in the left plot of gure 4.3 below, the time axis is t , i.e., In the above expressions, t time runs backwards from T to 0; in the plot on the right the time axis is t, running from 0 to T . Both plots show the
i i
ACA :
i i
oa 2004/4/14 page 73 i
73
10
10
10
10
Figure 4.3. Electric circuit example: Minimum energy inputs steering the system to x1 = [1 0] , for T = 1, 2, 10. Left plot: time axis running backward; right plot: time axis running forward. minimum energy inputs required to steer the system to x1 for T = 1, 2, 10 units of time. Notice that for T = 10 the input function is zero for most of the interval, starting with t = 0; consequently, for T , the activity occurs close axis. If the system is stable, i.e., Re(i (A)) < 0, to T = and the input function can thus be plotted only in the t the reachability gramian is dened for T = , and it satises (4.45). Hence, the innite gramian can be computed as the solution to the above linear matrix equation; no explicit calculation of the matrix exponentials, multiplication and subsequent integration is required. In MATLAB, if in addition the pair (A, B) is reachable, we have: P = lyap (A, B B ) For the matrices dened earlier, using the lyap command in the format short e, we get: P= 0.50000 0.66666 0.66666 1.00000 .
We conclude this example with the computation of the reachability gramian in the frequency domain: P= 1 2 1 2
(i I2 A)1 BB (i I2 A )1 d =
4 3
1 2
1 2 +1 1 2 i +2
1 2 +i +2 4 2 +4
d =
1 2 2 3 2 3
=
=
1 2
4 3
4 3
0 2
1 3
, B=
0 1
eAt =
et e2t 2e2t et
1 6
1 12
0
1 6
.
April 14, 2004
i i i
oa 2004/4/14 page 74 i
(i I2 A)1 BB (i I2 A )1 d = arctan 0
1 3
1 2
1 4 +5 2 +4 i 4 +5 2 +4
i 4 +5 2 +4 2 4 +5 2 +4 6
d =
1 12
arctan 2
4 3
arctan
2 3
arctan
=
=
1 2
0
3
0
1 6
Example 4.3.3. We will now compute the gramian of a simple discrete-time, second order system A= 0 0 1
1 2
, B=
0 1
To compute the reachability gramian in the time domain we make use of (4.47):
P = RR =
k=0
Ak BB (A )k =
1+
1 2
1 4 1 8
+ +
1 16 1 32
+ +
1 2
1+
1 8 1 4
+ +
1 32 1 16
+ +
2 3
2 1 1 2
d =
=2
=
=0
2 3
2 1 1 2
(4.25), and the observability matrix O(C, A) (4.37), the cross gramian is the n n matrix dened by X = RO. Thus, summarizing, the three (innite) gramians of are P = RR , Q = O O, X = RO Rnn . Notice that these gramians are the three nite matrices which can be formed from the reachability matrix (which has innitely many columns) and the observability matrix (which has innitely many rows). These rst two gramians satisfy the Stein equations (4.49) and (4.50). The cross-gramian satises a Stein equation as well, but its form depends on the number of inputs and outputs m, p of . If m = p, a moments reection shows that X satises the following Sylvester equation AX A + BC = X . If m = 2p, let B = [B1 B2 ], Bi Rnp , i = 1, 2; it can be veried that X = X1 + X2 where X1 = R(B1 , A)O(C, A2 ) and X2 = R(B2 , A)O(CA, A2 ).
i i
ACA :
i i
i i 4.3. The innite gramians Combining these expressions we obtain the Stein equation satised by X : AX A2 + B C CA = X. 75
oa 2004/4/14 page 75 i
For general m and p, the Stein equation involves Ar , where r is the least common multiple of m, p. As in the discrete-time case, if the number of inputs of the stable continuous-time system is equal to the number of outputs m = p, the cross-gramian X is dened as the solution to the Sylvester equation AX + X A + BC = 0. Similarly to (4.43) and (4.44) in proposition 4.25, it can readily be shown that X can be expressed as
(4.59)
X =
0
(4.60)
All three gramians are related to the eigenvalues and singular values of the Hankel operator which will be introduced later. Under a state space transformation T, the three gramians are transformed to TP T , T QT1 , TX T1 , respectively. Therefore, while the eigenvalues of the reachability and observability gramians are not inputoutput invariants, both the product PQ and X are transformed by similarity. Their eigenvalues are input-output invariants for the associated , both for discrete- and continuous-time systems. As will be shown in section 5.4, page 113, the eigenvalues and the singular values of the Hankel operator H associated with , are given by these eigenvalues, namely i (H) = i (X ), i (H) = The cross-gramian for SISO systems was introduced in [112]. Example 4.3.4. Consider the circuit shown in gure 4.2. The system matrices are given by (4.58). Thus the reachability, observability, and cross gramians are: P= L C
1 1 2 2 RL C 1 1 RL L +C 1 1 RL L +C 1 2L 1 2 L 1 R C 1 L +C
i (PQ) .
Q=
1 1 R C L +C 1 1 2 2 RC C 1 2RL C L +C
X = RL1 RC
L L +C 1 2R C
Notice that P and Q become semi-denite if the two time constants are equal L = R ; if in addition RL = RC , the product PQ = 0, which is reected in the fact that X in this case has two zero eigenvalues.
1+s 1s
April 14, 2004
i i i
oa 2004/4/14 page 76 i
Continuous time
Discrete time F=( I + A)(I A)1 G = 2(I A)1 B H = 2C(I A)1 J = D + C(I A)1 B
A, B, C, D
z=
1+s 1 s
s=
z 1 z +1
F, G, H, J
A C
B D
, with innite gramians Pd , Qd , be the stable discrete-time system obtained by means of the
bilinear transformation given above. It follows that this bilinear transformation preserves the gramians: Pc = Pd and Qc = Qd . Consequently, the Hankel norm of c and d , dened by 5.5, is the same. Furthermore, the transformation preserves the innity norms as dened by (5.8) and (5.9). The above result implies that the bilinear transformation between discrete- and continuous-time systems preserves balancing; this concept is discussed in section 7.
description is readily derived. As shown on page 58, the transfer function of the system is given by (4.22) H (s) = D + C(sI A)1 B while from (4.23), the Markov parameters are given by h0 = D, hk = CAk1 B Rpm , k = 1, 2, , . (4.61)
The converse problem, i.e., given the external description, derive the internal one, is far from trivial. This is the realization problem: given the external description of a linear system construct an internal or state variable description. In other words, given the impulse response h, or equivalently, the transfer function H, or the Markov
i i
ACA :
i i
oa 2004/4/14 page 77 i
D = h0 . Hence the following problem results: Denition 4.30. Given the sequence of p m matrices hk , k > 0, the realization problem consists of nding a positive integer n and constant matrices (C, A, B) such that hk = CAk1 B, C Rpn , A Rnn , B Rnm , k = 1, 2, . (4.62)
The triple (C, A, B) is then called a realization of the sequence hk , and the latter is called a realizable sequence. (C, A, B) is a minimal realization if among all realizations of the sequence, its dimension is the smallest possible. The realization problem is sometimes referred to as the problem of construction of state for linear systems described by convolution relationships. Remark 4.4.1. Realization was formally introduced in the 60s (see Kalman, Falb, and Arbib [192]) and eventually two approaches crystallized: the state space and the polynomial (see Fuhrmann [120] for an overview of the interplay between these two approaches in linear system theory). The state space method uses the Hankel matrix as main tool, and will be presented next. The polynomial approach has the Euclidean division algorithm as focal point; see, e.g., Kalman [193], Fuhrmann [122], Antoulas [9], van Barel and Bultheel [329]. Actually, Antoulas [9] presents the complete theory of recursive realization for multi-input, multi-output systems. Example 4.4.1. Consider the following (scalar) sequences: = {1, 1, 1, 1, 1, 1, 1, 1, 1, } = {1, 2, 3, 4, 5, 6, 7, 8, 9, } natural numbers = {1, 2, 3, 5, 8, 13, 21, 34, 55, } Fibonacci numbers = {1, 2, 3, 5, 7, 11, 13, 17, 19, } primes 1 1 1 1 1 1 5 = { , , , , , , } inverse factorials 1! 2! 3! 4! 5! 6! It is assumed that for all sequences h0 = D = 0. Which sequences are realizable? This question will be answered in the example of section 4.4.2. Problems. The following problems arise: (a) Existence: given a sequence hk , k > 0, determine whether there exist a positive integer n and a triple of matrices C, A, B such that (4.62) holds. (b) Uniqueness: in case such an integer and triple exist, are they unique in some sense? (c) Construction: in case of existence, nd n and give an algorithm to construct such a triple. The main tool for answering the above questions is the matrix H of Markov parameters: h1 h2 hk hk+1 h2 h3 hk+1 hk+2 . . . . . .. . . .. . . . . . . . . H= hk h h h k+1 2k1 2k hk+1 hk+2 h h 2 k 2 k +1 . . . . . . . . . . . . . . . 1 2 3 4
(4.63)
This is the Hankel matrix; it has innitely many rows, innitely many columns, and block Hankel structure, i.e., (H)i,j = hi+j 1 , for i, j > 0. We start by listing conditions related to the realization problem. Lemma 4.31. Each statement below implies the one that follows: (a) The sequence hk , k > 0, is realizable.
ACA
i i i
oa 2004/4/14 page 78 i
(b) The formal power series k>0 hk sk is rational. (c) The sequence hk , k > 0, satises a recursion with constant coefcients, i.e., there exist a positive integer r and constants i , 0 i < r, such that hr+k = 0 hk 1 hk+1 2 hk+2 r2 hr+k2 r1 hr+k1 , k > 0 (d) The rank of H is nite. Proof. (a) (b) Realizability implies (4.62). Hence hk sk =
k>0 k>0
(4.64)
CAk1 Bsk = C
k>0
Ak1 sk
B = C(sI A)1 B.
This proves (b). Notice that the quantity in parentheses is a formal power series and convergence is not an issue. (b) (c) Let det(sI A) = 0 + 1 s + + r1 sr1 + sr = A (s). The previous relationship implies A (s)
k>0
hk sk
where adj (M) denotes the matrix adjoint of the M, i.e., the matrix of cofactors (for the denition and properties of the cofactors and of the adjoint, see chapter 6 of Meyers book [239]). On the left-hand side there are terms having both positive and negative powers of s, while on the right-hand side there are only terms having positive powers of s. Hence the coefcients of the negative powers of s on the left-hand side must be identically zero; this implies precisely (4.64). (c) (d) Relationships (4.64) imply that the (r + 1)st block column of H is a linear combination of the previous r block columns. Furthermore, because of the block Hankel structure, every block column of H is a sub-column of the previous one; this implies that all block columns after the rth are linearly dependent on the rst r, which in turn implies the niteness of the rank of H. The following lemma describes a fundamental property of H; it also provides a direct proof of the implication (a) (d). Lemma 4.32. Factorization of H. If the sequence of Markov parameters is realizable by means of the triple (C, A, B), H can be factored, H = O(C, A)R(A, B). Consequently, if the sequence of Markov parameters is realizable, the rank of H is nite. Proof. If the sequence {hn , n = 1, 2, }, is realizable, the relationships hn = CAn1 B, hold. Hence: H= CB CAB CAB CA2 B . . . . . . = O(C, A)R(A, B) (4.65)
It follows that rank H max{rank O, rank R} dim (A). In order to discuss the uniqueness issue of realizations, we need to recall the concept of equivalent systems dened by (4.24). In particular, proposition 4.3 asserts that equivalent triples (C, A, B) have the same Markov parameters. Hence the best one can hope for the uniqueness question is that realizations be equivalent. Indeed, as shown in the next section, this holds for realizations with the smallest possible dimension.
i i
ACA :
i i
oa 2004/4/14 page 79 i
For this proof (M)k , k > 0, denote the k th block row of the matrix M. Recall that the rst block element of is h1 , i.e., using our notation ( )1 = h1 . Thus (4.67), together with (4.68) implies h1 = ( )1 = ( B)1 = ( )1 B = CB. For the next Markov parameter, notice that h2 = ( )1 = ( )2 . Thus making use of (4.66) h2 = ( )1 = ( B)1 = ( AB)1 = ( )1 AB = CAB
ACA
i i i
oa 2004/4/14 page 80 i
For the k th Markov parameter, combining (4.67), (4.66) and (4.68), we obtain hk = ( k1 )1 = ( k1 B)1 = ( Ak1 B)1 = ( )1 Ak1 B = CAk1 B. Thus (C, A, B) is indeed a realization of dimension n. The state dimension of a realization cannot be less than n; indeed, if such a realization exists, the rank of H will be less than n, which is a contradiction to the assumption that the rank of H is equal to n. Thus a realization of whose dimension equals rank H is called minimal realization; notice that the Silverman algorithm constructs minimal realizations. In this context the following holds true. Lemma 4.35. A realization of is minimal if, and only if, it is reachable and observable. Proof. Let (C, A, B) be some realization of hn , n > 0. Since H = OR, rankH min{rankO, rankR} dim(A) ,A ,B ) be a reachable and observable realization. Since H = O R , and each of the matrices O , R contains a Let (C , we conclude that dim(A ) rankH, which concludes the proof. nonsingular matrix of size A We are now left with the proof of part (3) of the main theorem, namely that minimal realizations are equivalent. We only provide the proof for a special case; the proof of the general case follows along similar lines. Outline of proof. Single-input, single-output case (i.e., p = m = 1). Let (Ci , Ai , Bi ), i = 1, 2, be minimal realizations of . We will show the existence of a transformation T, det T = 0, such that (4.24) holds. From lemma 4.32 we conclude that 1 1 2 2 Hn,n = On Rn = On Rn , (4.69) where the superscript is used to distinguish between the two different realizations. Furthermore, the same lemma also implies 1 2 2 Hn,n+1 = On [B1 A1 R1 n ] = On [B2 A2 Rn ], which in turn yields
1 2 2 On A1 R1 n = On A2 Rn . i det On
2 1 1 1 2 . ) On = R1 T = ( On n (Rn )
Equation (4.69) implies C1 = C2 T1 and B1 = TB2 , while (4.70) implies A1 = TA2 T1 . Example 4.4.2. We now investigate the realization problem for the Fibonacci sequence given in example 4.4.1 3 = {1, 2, 3, 5, 8, 13, 21, 34, 55, } which is constructed according to the rule h1 = 1, h2 = 2, and hk+2 = hk+1 + hk , k > 0 The Hankel matrix (4.63) becomes H= 1 2 3 5 2 3 5 8 3 5 8 13 5 8 13 21 8 13 21 34 13 21 34 55 . . . . . . . . . . . . 8 13 13 21 21 34 34 55 55 89 89 144 . . . . . . .. . .
i i
ACA :
i i
oa 2004/4/14 page 81 i
It readily follows from the law of construction of the sequence that the rank of the Hankel matrix is two. is chosen so that it contains rows 2, 4 and columns 2, 5 of H: = The remaining matrices are now = It follows that A = 1 = Furthermore H3 (s) =
k>0
3 8
13 34
1 =
17 4
13 2 3 2
5 21 13 55
, =
2 5
and = (2 8).
, B = 1 =
3/2 1/2
and C = (2 8).
hk sk =
s+1 . s2 s 1 are realizable while the last two, namely, 4 1 2 1 0 s 1 , H2 (s) = . (s 1)2 0
Concerning the remaining four sequences of example 4.4.1, 1 and 2 and 5 are not realizable. In particular, 0 1 1 1 1 1 = , H1 (s) = and 2 = s1 1 0 0
1
In the last case H5 (s) = es 1, which is not rational and hence has no nite-dimensional realization. The fact that 1 5 is not realizable follows also from the fact that the determinant of the associated Hankel matrix Hi,j = i+j 1 , of size n, also known as the Hankel determinant, is nonzero; it has been shown in [5] namely, that det Hn = (j 1)2 , (2j 1)(2j 2)2 (2j 3) i=2 j =2
n i
which implies that the Hankel determinant for n = 4, 5, 6 is of the order 107 , 1017 , and 1043 respectively.
p(s) , q(s)
H =
A C
B D
0 0 . . . 0 q0 p0
1 0 . . . 0 q1 p1
0 1 . . . 0 q2 p2
..
0 0 . . . 1 q 1 p 1
0 0 . . . 0 1 D
(4.71)
ACA
i i i
i i 82 It can be shown that H is indeed a realization of H, i.e., H(s) = D + C(sI A)1 B. This realization is reachable but not necessarily observable; this means that the rank of the associated Hankel matrix is at most . The realization is in addition, observable if the polynomials p and q are coprime. Thus (4.71) is minimal if p and q are coprime. In this case the rank of the associated Hankel matrix H is precisely . In the general case, we can write H(s) = D + 1 P(s), q(s) Chapter 4. Linear dynamical systems: Part I
oa 2004/4/14 page 82 i
where q is a scalar polynomial that is the least common multiple of the denominators of the entries of H, and P is a polynomial matrix of size p m: P(s) = P0 + P1 s + + P 1 s 1 , Pi Rpm , q(s) = q0 + q1 s + + q 1 s 1 + s , qi R. The construction given above provides a realization: 0m Im 0m 0 m . . . . A B . . H = = C D 0m 0 m q0 Im q1 Im P0 P1 ,
0m Im . . . 0m q2 Im P2
.. .
0m 0m . . .
0m 0m . . . 0m Im D
Im q 1 Im P 1
where 0m is a square zero matrix of size m, Im is the identity matrix of the same size, and consequently, the state of this realization has size m. Unlike the scalar case however, the realization H need not be minimal. One way to obtain a minimal realization is by applying the reachable observable-canonical decomposition given in lemma 4.23. An alternative way is to apply the Silverman algorithm; in this case H has to be expanded into a formal power series H(s) = h0 + h1 s1 + h2 s2 + + ht st + . The Markov parameters can be computed using the following relationship. Given the polynomial q as above, let q (k) (s) = s k + qn1 s k1 + + qk+1 s + qk , k = 1, , (4.72)
denote its pseudo-derivative polynomials. It follows that the numerator polynomial P(s) is related to the Markov parameters hk and the denominator polynomial q , as follows: P(s) = h1 q (1) (s) + h2 q (2) (s) + + h 1 q ( 1) (s) + h q ( ) (s). (4.73)
This can be veried by direct calculation. Alternatively, assume that H(s) = C(sI A)1 B, and let q (s) denote the characteristic polynomial of A. Then adj (sI A) = q ( ) (s)A 1 + q ( 1) (s)A 2 + q (2) (s)A1 + q (1) (s)I. The result (4.73) follows by noting that P(s) = C adj (sI A) B. Since H is rational, the rank of the ensuing Hankel matrix associated with the sequence of Markov parameters hk , k > 0, is guaranteed to have nite rank. In particular the following upper bound holds: rankH min{m, p}. An important attribute of a rational matrix function is its McMillan degree. For proper rational matrix functions H, the McMillan degree turns out to equal the rank of the associated Hankel matrix H; in other words the McMillan degree in this case is equal to the dimension of any minimal realization of H. (4.74)
i i
ACA :
i i
oa 2004/4/14 page 83 i
Denition 4.36. A realization is called symmetric if D = D , and there exists a symmetric matrix = such that A = A , B = C . (4.75)
It follows that every symmetric system has a symmetric realization. Lemma 4.37. A reachable and controllable system is symmetric if, and only if, it possesses a symmetric realization. Proof. A moments reection shows that if has a symmetric realization, it is symmetric. Conversely, let the system be symmetric; this together with the factorization (4.65), implies H = O(C, A)R(A, B) = R (B , A )O (A , C ) = H . Thus, since the column span of H and H are the same, there exists a matrix Rnn such that O(C, A) = R (B , A ); hence C = B . Furthermore O(C, A)A = R (B , A )A = O(C, A)A . Since O has full column rank, the equality A = A follows. It remains to show that is symmetric. Notice that O(C, A)O (A , C ) = R (B , A )O (A , C ) = H, is symmetric. Again, since O has full column rank, it has an n n nonsingular submatrix, composed of the rows with index I = {i1 , , in }, which we denote by OI ; thus OI OI = HI,I , where the latter is the submatrix of the Hankel matrix composed of those rows and columns indexed by I . Thus 1 1 = [OI ] HI,I [OI ] . Since HI,I is symmetric, this proves the symmetry of . The proof is thus complete.
Because of lemma 4.31, a nite sequence of matrices is always realizable. As a consequence the set of problems arising are: (a) minimality: given the sequence hk , k = 1, , r, nd the smallest positive integer n for which the partial realization problem is solvable. (b) parametrization of solutions: parametrize all minimal and other solutions. (c) recursive construction: recursive construction of solutions. Similarly to the realization problem, the partial realization problem can be studied by means of the partially
2
i i i
oa 2004/4/14 page 84 i
h1 h2 . Hr = . . hr
h2 . . . hr ?
hr . . .
? ?
where ? denote unknown matrices dening the continuation of the given nite sequence hk , k = 1, , N . The rank of the partially dened Hankel matrix Hk is dened as the size of the largest non-singular submatrix of Hk , independently of the unknown parameters ?. It then follows that the dimension of any partial realization satises dim rank Hk = n Furthermore, there always exists a partial realization of dimension n, which is a minimal partial realization. Once the rank of Hk is determined, Silvermans algorithm (see lemma 4.34) can be used to construct such a realization. We illustrate this procedure by means of a simple example. Example 4.4.3. Consider the scalar (i.e., m = p = 1) sequence = (1, 1, 1, 2); the corresponding Hankel matrix H4 together with its rst 3 submatrices are: 1 1 H4 = 1 2 1 1 2 a 1 2 1 2 a , H3 = 1 a b 1 b c 1 1 2 1 2 , H2 = a 1 1 1 1
, H1 = (1)
where a, b, c denote the unknown continuation of the original sequence. The determinants of these matrices are: det H4 = a3 + 4a2 8a + 8 + 2ab 3b c, det H3 = 1, det H2 = 0, det H1 = 1. It follows that rank H4 = 3 By lemma 4.34, we choose: = H3 , = = (1 1 1) , which implies 0 0 a2 4a + 8 b 1 A = 1 0 a2 + 3a 4 + b , B = 0 , C = (1 1 1) 0 1 a2 0 Hence, there are multiple minimal partial realizations of ; as a matter of fact the above expressions provide a parametrization of all minimal solutions; the parameters are a, b R. Finally, we note that the value of c is uniquely determined by a, b. In this case, for realizations of minimal degree 3, we must have: c = a3 +5a2 12a+2ab4b+16.
i i
ACA :
i i
oa 2004/4/14 page 85 i
The rst approach presented in subsection 4.5.2, has as main tool the so-called L owner matrix. The L owner matrix encodes the information about the admissible complexity of the solutions, as a simple function of its rank. The computation of the solutions can be carried out both in the external (transfer function) and in the internal (state space) frameworks. This approach to rational interpolation leads to a generalization of the classical, system theoretic, concept of realization of linear dynamical systems. The second approach presented in subsection 4.5.3, is known as the generating system approach and involves the construction of a polynomial or rational matrix, such that any polynomial or rational combination of its rows yields a solution of the problem at hand. This construction has a system theoretic interpretation as a cascade interconnection of two systems, one of can be chosen freely. This method leads to recursive solutions in a natural way, by expanding namely, the cascade interconnection just mentioned. The solutions can be classied according to properties like complexity, norm boundedness or positive realness.
1; i = 1, , k, si = sj , i = j },
k i
(4.76)
where we will assume that there are N given pieces of data, that is: i=1 functions n(s) (s) = , gcd (n, d) = 1 d(s)
where n(s), d(s) are coprime polynomials, that is, their greatest common divisor is a (nonzero) constant, which interpolate the points of the array P, i.e. dj (s) dsj = ij , j = 0, 1, ,
s= si i
1, i = 1 , , k
(4.78)
In other words, the j th derivative of (s) evaluated at s = si is equal to ij . We distinguish two special cases. (a) The distinct point interpolation problem: P = {(si ; i ) : i = 1, , N, si = sj , i = j } and (b) the single multiple point interpolation problem: P = {(s0 ; 0j ) : j = 0, 1, , N 1} where the value of the function and derivatives thereof are provided only at s = s0 . Solution of the unconstrained problem The Lagrange interpolating polynomial associated with P is the unique polynomial of degree less than N which interpolates the points of this array. In the distinct point case (4.79), it is
N
(4.79)
(4.80)
( s) =
j =1
j
i= j
s si sj si
(4.81)
A similar formula holds for the general case. A parametrization of all solutions to (4.77), (4.78) can be given in terms of (s) as follows: (s) = (s) + r(s)N (4.82) i=1 (s si ), where the parameter r(s) is an arbitrary rational function with no poles at the si . Most often however, one is interested in parametrizing all solutions to the interpolation problem (4.78) which satisfy additional constraints. In such cases, this formula although general, provides little insight.
ACA
i i i
i i 86 Constrained interpolation problems The rst parameter of interest is the complexity or degree of rational interpolants (4.77). It is dened as: deg = max{deg n, deg d}, and is sometimes referred to as the McMillan degree of the rational function . The following problems arise: Problem (A): Parametrization of interpolants by complexity. (a) Find the admissible degrees of complexity, i.e. those positive integers for which there exist solutions (s) to the interpolation problem (4.77), (4.78), with deg = . (b) Given an admissible degree , construct all corresponding solutions. Another constraint of interest is bounded realness, that is nding interpolants which have poles in the left-half of the complex plane (called stable) and whose magnitude on the imaginary axis is less than some given positive number . Problem (B): Nevanlinna-Pick. Parametrization of interpolants by norm. (a) Do there exist bounded real interpolating functions? (b) If so, what is the minimum norm and how can such interpolating functions be constructed? A third constraint of interest is positive realness of interpolants. A function : C C is positive real (p.r.) if it maps the closed right-half of the complex plane onto itself: s C : Re(s) 0 (s) : Re((s)) 0 for s not a pole of . Thus given the array of points P, the following problems arise. Problem (C): Parametrization of positive real interpolants. (a) Does there exist a p.r. interpolating function? (b) If so, give a procedure to construct such interpolating functions. In sections 4.5.2 and 4.5.3 we will investigate the constrained interpolation problem (A) for the special case of distinct interpolating points. At the end of section 4.5.3 a short summary of the solution of the other two, that is problems (B) and (C), will be provided. Chapter 4. Linear dynamical systems: Part I
oa 2004/4/14 page 86 i
i
i=1
(s) i = 0, i = 0, i = 1, , r, r N. s si
r j =1 j j i=j (s si ) , r j =1 j i=j (s si )
j = 0.
(4.83)
i i
ACA :
i i
oa 2004/4/14 page 87 i
Clearly, the above formula, which can be regarded as the rational equivalent of the Lagrange formula, interpolates the rst r points of the array P, i.e. the points of the array J. In order for (s) to interpolate the points of the array I, the coefcients i have to satisfy the following equation: L = 0, where L=
1 1 s 1 s1
. . .
1 r s 1 sr
. . .
p 1 s p s1
p r s p sr
1 . Rr Rpr , = . . r
(4.84)
L is called the L owner matrix dened by means of the row array I and the column array J. As it turns out L is the main tool of this approach to the rational interpolation problem. Remark 4.5.1. As shown in Antoulas and Anderson [25], the (generalized) L owner matrix associated with the array P consisting of one multiple point (4.80) has Hankel structure. In particular (1) (s ) (k) (s0 ) (2) (s0 ) (3) (s0 ) 0 1! 2! 3! k! (2) (s0 ) (3) (s0 ) (4) (s0 ) (k+1) (s0 ) 2! 3! 4! (k+1)! (3) (k+2) (4) (5) (s0 ) (s0 ) ( s0 ) ( s0 ) L= . 3! 4! 5! (k+2)! . . . . . . . . . . . . . . . (k ) (k+1) (k+2) (2k) (s0 ) ( s0 ) (s0 ) (s0 ) k! (k+1)! (k+2)! (2k)! This shows that the L owner matrix is the right tool for generalizing realization theory to rational interpolation. From rational function to Lowner matrix The key result in connection with the L owner matrix is the following. Lemma 4.39. Consider the array of points P dened by (4.76), consisting of samples taken from a given rational function (s), together with a partition into subarrays J, I as dened in the beginning of the subsection. Let L be any p r L owner matrix with p, r deg . It follows that rank L = deg . Corollary 4.40. Under the assumptions of the lemma, any square L owner submatrix of L of size deg is non-singular. In the sequel, given A R , b, c R , the following matrices will be of interest. Rr = [(s1 I A)1 b (sr I A)1 b] Rr Op = [( s1 I A )1 c ( sp I A )1 c ] Rp (4.85) (4.86)
As will be shown subsequently in (4.87), the L owner matrix factors in a product of Op times Rr . Therefore, in analogy with the realization problem (where the Hankel matrix factors in a product of an observability times a reachability matrix) we will call Op the generalized observability matrix and Rr the generalized reachability matrix associated with the underlying interpolation problem. Proposition 4.41. Let (A, b) be a reachable pair where A is a square matrix and b is a vector; in addition, let si , i = 1, , r, be scalars which are not eigenvalues of A. It follows that the generalized reachability matrix dened by (4.85) has rank equal to the size of A, provided that r size (A). For a proof of this proposition see Anderson and Antoulas [24]. Based on it, we can now provide a proof of lemma 4.39.
ACA
i i i
oa 2004/4/14 page 88 i
Proof. We distinguish two cases. (a) (s) is proper rational. According to the results in section 4.4.2, there exists a minimal quadruple (A, b, c, d) of dimension such that (s) = d + c(sI A)1 b. This expression implies i j = c( si I A)1 [(sj I A) ( si I A)](sj I A)1 b = c( si I A)1 [sj s i ](sj I A)1 b, and hence [L]i,j = i j = c( si I A)1 (sj I A)1 b. s i sj L = Op Rr (4.87)
Consequently, L can be factorized as follows: where Rr and Op are the generalized reachability, observability matrices dened by (4.85), (4.86) respectively. Because of the proposition given above, the rank of both Op and Rr is . This implies that the rank of their product L is also . This completes the proof when (s) is proper. (b) (s) is not proper rational. In this case, by means of a bilinear transformation s for almost all , , , the rational function (s) = s + s+ s + , = 0, s+
respectively, are related as follows: attached to , will be proper. The L owner matrices L, L = diag ( s ( )L i ) L diag ( si ) The parameter can be chosen so that diag( s i ) and diag( sj ) are non-singular, which implies the desired result. This concludes the proof of the lemma.
From Lowner matrix to rational function Given the array of points P dened by (4.76), we are now ready to tackle the interpolation problem (4.77), (4.78), and in particular, solve the two problems (a) and (b), of problem (A). The following denition is needed rst. Denition 4.42. (a) The rank of the array P is rank P = max {rank L} = q, L where the maximum is taken over all possible L owner matrices which can be formed from P. (b) We will call a L owner matrix almost square, if it has at most one more row than column or vice versa, the sum of the number of rows and columns being equal to N . The following is a consequence of lemma 4.39. Proposition 4.43. The rank of all L owner matrices having at least q rows and q columns is equal to q . Consequently almost square L owner matrices have rank q . Let q = rank P, and assume that 2q < N . For any L owner matrix with rank L = q , there exists a column vector = 0 of appropriate dimension, say r + 1, satisfying L = 0 or L = 0 (4.88)
i i
ACA :
i i
i i 4.5. The rational interpolation problem* In this case we can attach to L a rational function denoted by n ( s) L (s) = L , dL (s) using formula (4.83), i.e.
r +1 r +1
oa 2004/4/14 page 89 i
89
(4.89)
nL (s) =
j =1
j j
i=j
(s si ), dL (s) =
j =1
j
i= j
( s si )
(4.90)
The rational function L (s) just dened, has the following properties. Lemma 4.44. (a) deg L r q < N . (b) There is a unique L attached to all L and satisfying (4.88), as long as rank L = q . (c) The numerator, denominator polynomials nL , dL have q deg L common factors of the form (s si ). (d) L interpolates exactly N q + deg L points of the array P. The proof of this result can be found in Antoulas and Anderson [25]. As a consequence of the above lemma and lemma 4.39 we obtain the Corollary 4.45. L interpolates all given points if, and only if, deg L = q if, and only if, all q q L owner matrices which can be formed from the data array P are non-singular. We are now ready to state, from Antoulas and Anderson [25], the main result. Theorem 4.46. Given the array of N points P, let rank P = q . (a) If 2q < N , and all square L owner matrices of size q which can be formed from P are non-singular, there is a unique interpolating function of minimal degree denoted by min (s), and deg min = q . (b) Otherwise, min (s) is not unique and deg min = N q . The rst part of the theorem follows from the previous corollary. The second part can be justied as follows. Part (b) of the proposition above says that as long as L has rank q there is a unique rational function L attached to it. Consequently in order for L to yield a different rational function L dened by (4.89), (4.90), it will have to lose rank. This occurs when L has at most q 1 rows. In this case its rank is q 1 and there exists a column vector such that L = 0. Since L has N q + 1 columns, the degree of the attached L will generically (i.e. for almost all ) be N q . It readily follows that for almost all , L will interpolate all the points of the array P. This argument shows that there can never exist interpolating functions of degree between q and N q . The admissible degree problem can now be solved in terms of the rank of the array P. Corollary 4.47. Under the assumptions of the main theorem, if deg min = q , the admissible degrees are q , and all integers bigger than or equal to N q , while if deg min = N q , the admissible degrees are all integers bigger than or equal to N q . Remark 4.5.2. (i) If 2q = N , the only solution of (4.88) is = 0. Hence, L , dened by (4.89), (4.90), does not exist, and part (b) of the above theorem applies. (ii) In order to distinguish between case (a) and case (b) of this theorem, we only need to check the nonsingularity of 2q + 1 L owner matrices. Construct from P any L owner matrix of size q (q + 1), with row, column sets denoted by Iq , Jq , and call it Lq . The L owner matrix L q of size (q + 1) q is now constructed; its row set Iq contains the points of the row set Iq together with the last point of the column set Jq ; moreover, its column set J q contains the points of the column set Jq with the exception of the last one. The 2q + 1 L owner matrices which need to be checked are the q q submatrices of Lq and L q. The construction of interpolating functions Given an admissible degree, we will discuss in this section the construction of all corresponding interpolating functions. Two construction methods will be presented: the rst is based on an external (input-output) framework, while
ACA
i i i
oa 2004/4/14 page 90 i
the second is based on a state-space framework. Given the array P, let be an admissible degree. For the polynomial construction we need to form from P any L owner matrix having + 1 columns: L R(N 1)(+1) , and determine a parametrization of all such that L = 0. A parametrization of all interpolating functions of degree is then n ( s) L (s) = L , dL (s) where the numerator and denominator polynomials are dened by (4.90). If N q , we have to make sure that there are no common factors between numerator and denominator of L ; this is the case for almost all . More precisely, the 2 + 1 N (scalar) parameters which parametrize all , have to avoid the hypersurfaces dened by the equations dL (si ) = 0, i = 1, , N. Since we can always make sure that depends afnely on these parameters, we are actually dealing with hyperplanes. For details and examples, see Antoulas and Anderson [25]. For use below, notice that L will be proper rational if, and only if, the leading coefcient of dL is different from zero, i.e., from the second formula (4.90), we must have 1 + + +1 = 0 For the state-space construction of interpolating functions of admissible degree , we need a L owner matrix of size ( + 1): R(+1) L which contains besides the original N points of the array P, another Thus, in case N q , we need an array P 2 + 1 N points, chosen arbitrarily but subject to the non-singularity condition given in part (a) of the main theorem (see also the remark at the end of the previous section). Let R+1 be such that L = 0. If 1 + + +1 = 0, the underlying interpolating function is proper. Otherwise, we need to perform a bilinear transformation which will assure the properness of the function under construction (see the proof of lemma 4.39). Once the properness condition is guaranteed, the state-space construction proceeds by dening the following two matrices: 1 s1 1 s2 . . .. .. Q=L , Q = L R(+1) 1 s 1 1 1 s+1 s+1 s+1 . Let the quadruple of constant matrices where si , i = 1, , + 1, are the points which dene the column array of L (A, b, c, d) be dened as follows: A = ( Q)Q1 ](:,1) b = (s1 I A)[L (4.91) , c = [(s1 I A)](1,:) d = yi c(si I A)1 b
i i
ACA :
i i
oa 2004/4/14 page 91 i
for any si , where [M](:,1) , denotes the rst column of M, while [M](1,:) , denotes the rst row. It can be shown that the above quadruple is a minimal realization of the desired interpolating function (s) of degree : (s) = d + c(sI A)1 b (4.92)
The steps involved in proving the above result are as follows. First, because of the properness of the underlying function, the matrix Q is non-singular. Next we need to show that none of the si s is an eigenvalue of A, that is, (si I A) is invertible. Finally, we need to show that the rational function given by (4.92) is indeed an interpolating function of the prescribed degree . These steps can be found in Anderson and Antoulas [24]. Remark 4.5.3. (i) In the realization problem the shift is dened in terms of the associated Hankel matrix, as the operation which assigns to the ith column the (i + 1)st column. It follows that A is determined by this shift. For the more general interpolation problem, formula (4.91) shows that AQ = Q If we dene the shift operation in this case as assigning to the ith column of the L owner matrix, to si times itself, then Q is indeed the shifted version of Q, and consequently, A is again determined by the shift. (ii) The theory, presented above, has been worked out for the multiple-point as well as for more general interpolation problems; the reader is referred to Antoulas and Anderson [25], Anderson and Antoulas [24]. (iii) It is readily checked that the classical system-theoretic problem of realization can be interpreted as a rational interpolation problem where all the data are provided at a single point. Our theory has generalized the theory of realization to the theory of interpolation. All missing proofs, as well as other details and examples, can be found in the references: Antoulas and Anderson [25] as well as Anderson and Antoulas [24]. Some of the results discussed can also be found in Belevitch [49].
We will also consider the (unilateral) Laplace transform of these time series; in particular we will consider the 2 N matrix of rational entries whose k th column is the transform of wk (t): W(s) = [W1 (s) WN (s)] where Wk (s) =
ACA
1 s sk
1 k
, k = 1, , N
(4.94)
April 14, 2004
i i i
i i 92 It is easy to see that W(s) has a realization W(s) = C(sIN A)1 where C= 1 1 1 2 1 N C2N , A = s1 s2 .. . sN Since the interpolation points are distinct, i.e. si = sj , i = j , the pair (C, A) is observable. For the single multiple point interpolation array P dened by (4.80), a similar construction holds. Let pk be the vector-valued polynomial function pk (t) = 1 0 tk1 + + (k 1)! 0
j0!j
oa 2004/4/14 page 92 i
(4.95) CN N . (4.96)
tkj 1 + + (k j 1)!
0
0,k1 (k 1)!
, k = 1, , N.
The time series in this case are polynomial-exponential D = {wk (t) = uk (t) yk (t) = es0 t pk (t), t 0, k = 1, , N } (4.97)
A straightforward calculation yields the following realization for the (unilateral) Laplace transform of this set of time series W(s) = [W1 (s) WN (s)] = C(sIN A)1 where C= 1 0 0
01 1!
0
02 2!
0
0,N 1 (N 1)!
2N
, A=
s0
1 s0
1 .. . .. CN N . 1 s0
. s0
Again by construction, the pair (C, A) is observable. The realization problem discussed in section 4.4, can be expressed in terms of the rational interpolation problem. Given the scalar Markov parameters h0 , h1 , , hN 1 , we seek to determine all rational functions (s) whose behavior at innity (i.e. formal power series) is: (s) = h0 + h1 s1 + + hN 1 sN +1 + ; By introducing s1 as the new variable, the behavior at innity is transformed into the behavior at zero and the Markov parameters become moments: (s) = (s1 ) = h0 + h1 s + + hN 1 sN 1 + ;
1 d Consequently hk = k ! dtk |s=0 , i.e. the realization problem is equivalent to a rational interpolation problem where all the data are provided at zero. From the above considerations the corresponding time series W = [W1 WN ] can be expressed in terms of (4.95) where
k
C= 1 h0 0 h1 0 h2 0 hN 1 R
2N
, A=
1 0
1 .. . .. RN N . 1 0
. 0
(4.98)
i i
ACA :
i i
i i 4.5. The rational interpolation problem* Interpolation in terms of the time series data Given the polynomial r(s) =
k i i=0 ri s , ri d R, we will denote by r( dt ) the constant coefcient differential operator
oa 2004/4/14 page 93 i
93
r(
d d d2 dn ) = r0 + r1 + r2 2 + + rn n dt dt dt dt
The following is a characterization of rational interpolants in terms of the time series both in the time and the frequency domains.
n(s) Proposition 4.48. With the notation introduced above, consider the rational function (s) = d (s) , where n, d are coprime. This rational function interpolates the points of the array P dened by (4.79) if, and only if, one of the following equivalent conditions holds:
[n(
d d ) d( )]wk (t) = 0, t 0, dt dt
(4.99) (4.100)
Equation (4.99) provides a time domain characterization, while equation (4.100) a frequency domain characterization of rational interpolants. Proof. We will give the proof only for the distinct point interpolation problem. From (4.99), given the denition of the time series wk , follows (n(sk ) k d(sk )) esk t = 0; since this must hold for all t 0, the necessity and sufciency n(sk ) of the interpolation conditions d (sk ) = k , follows for all k . If we take the unilateral Laplace transform of (4.99) we
k d(s) obtain (4.100), and in particular n(s)s = rk (s), where rk (s) is a polynomial resulting from initial conditions of sk yk at t = 0 . Thus the expression on the left-hand side is a polynomial if, and only if, (sk ) = k for all k .
The solution of problem (A) From the frequency domain representation (4.95) of the data, we construct the pair of polynomial matrices (s), (s) of size 2 N , 2 2 respectively, such that det (s) = 0, and W(s) = (s)1 (s) = C(sI A)1 . (4.101)
The above operation consists in computing a left polynomial denominator (s) for the data W(s). Moreover the polynomial matrices (s), (s) must be left coprime, that is, every nonsingular polynomial matrix L(s) such that and Q = LQ , for appropriate polynomial matrices P , Q , is unimodular, that is its determinant is a non-zero P = LP constant. A consequence of left coprimeness is the existence of polynomial matrices P(s), Q(s) of size 2 2, N 2 respectively, such that the so-called Bezout equation is satised (s)P(s) + (s)Q(s) = I2 . A constructed this way has the following properties. Proposition 4.49. The matrix (s) constructed above satises: (a) its invariant factors are 1 and (s) = i (s si ); (b) its (1,2), (2,2) entries 12 (s), 22 (s) are coprime. Proof. Because of the observability of the pair C, A and the coprimeness of , , the polynomial matrices sI A and (s) have both a single non-unity invariant factor which is the same, namely the characteristic polynomial of A: (s) = N i=1 (s si ) (see e.g. [8] or chapter 6 of [191]). Therefore, after a possible normalization by a (nonzero) constant, (4.102) det (s) = (s).
ACA
i i i
oa 2004/4/14 page 94 i
Let ij denote the (i, j )th entry of . The ith column of (4.101) yields the equation (s si )[(s)](:,i) = 11 (s) 21 (s) 12 (s) 22 (s) 1 i = 11 (s) i 12 (s) 21 (s) i 22 (s) , i = 1, , N.
Evaluating this expression at s = si we obtain 11 (si ) = i 12 (si ), 21 (si ) = i 22 (si ), i = 1, , N . Because of (4.102), if 12 , 22 were not coprime, their greatest common divisor would have to be a product of terms (s si ), where the si are the interpolation points. Therefore, by the latter equation, all four entries of would have the same common factor. This however is a contradiction to the fact that one of the two invariant factors of is equal to 1. The desired coprimeness is thus established.
(s) Lemma 4.50. The rational function (s) = n d(s) , with n, d coprime, is an interpolant for the array P, if, and only if, there exist coprime polynomials a(s), b(s) such that
[n(s) d(s)] = [a(s) b(s)] (s) and a(si )12 (si ) + b(si )22 (si ) = 0, i = 1, , N. Proof. If the numerator and the denominator of satisfy (4.103), there holds [n(s) d(s)]W(s) = [a(s) b(s)](s).
(4.103)
(4.104)
The latter expression is polynomial and hence by proposition 4.48 is an interpolant. Also, a, b are coprime, because otherwise n, d would not be coprime, which is a contradiction. Finally, we notice that d = a12 + b22 , which implies that conditions (4.104) must be satised. This is possible due to part (b) of the proposition above. Conversely, let be an interpolant. According to proposition 4.48 [n(s) d(s)]W(s) is polynomial row vector. From the Bezout equation follows that P(s) + W(s)Q(s) = [(s)]1 . Multiplying this relationship on the left by the row vector [n(s) d(s)] we conclude that [n(s) d(s)][(s)]1 must be a polynomial row vector, i.e. there exist polynomials a, b such that (4.103) holds. Furthermore, the coprimeness of n, d implies the coprimeness of a, b.
a As shown above all interpolants = n d can be parametrized by means of (4.103) where the parameter = b , and is an arbitrary rational function subject to constraints (4.104). We can interpret as a two-port with inputs u, u (see gure 4.4): outputs y, y y 11 12 u = u 21 22 y d d and y in the following manner: b( dt can be seen as relating u ) u = a( dt ) y. Then the parametrization of all solutions can be interpreted as a linear system described by the linear, constant coefcient, differential equation d d d( dt )y = n( dt )u. This system in turn, can be represented by means of a feedback interconnection between and , where is xed and is arbitrary, subject to (4.104). As a consequence of the above interpretation is called the
u E y ' '
E y u
Figure 4.4. Feedback interpretation of the parametrization of all solutions of the rational interpolation problem generating system or generating matrix of the rational interpolation problem at hand. Furthermore (4.103) shows
i i
ACA :
i i
i i 4.5. The rational interpolation problem* that every interpolant can be expressed in terms of the linear fractional representation (s) = a(s)11 (s) + b(s)21 (s) . a(s)12 (s) + b(s)22 (s) 95
oa 2004/4/14 page 95 i
Remark 4.5.4. The coprimeness constraint on n, d has been expressed equivalently as a coprimeness constraint on the parameter polynomials a, b together with constraints (4.104). The former is a non-linear constraint in the space of coefcients of a, b; it is automatically satised in the case of minimal interpolants discussed below. Constraints (4.104) are linear in the coefcients of a, b. Examples will be worked out later. In order to tackle problem (A) the concept of row reduced generating matrix is needed. Let i be the degree of the ith row of . The row-wise highest coefcient matrix []hr , is a 2 2 constant matrix, whose (i, j )th entry is the coefcient of the term si of the polynomial i,j (s). We will call row reduced if []hr is non-singular. Notice that the row degrees of and the degree of its determinant, which by (4.102) is N , satisfy 1 + 2 N , in general. An equivalent characterization of row reducedness is that the row degrees of satisfy 1 + 2 = N . The matrix in equation (4.101) is unique, up to left multiplication with a unimodular matrix (which is a polynomial matrix with constant nonzero determinant). We use this freedom to transform into row reduced form. For simplicity we will use the same symbol, namely , to denote the row reduced version of this matrix. Let the corresponding row degrees be 1 = deg (11 (s) 12 (s)) 2 = deg (21 (s) 22 (s)) , 1 + 2 = N. The row degrees of row reduced polynomial matrices have two important properties. (a) Although the row reduced version of any polynomial matrix is non-unique, the corresponding row degrees are unique. (b) Because of the socalled predictable-degree property of row reduced polynomial matrices (see e.g. chapter 6 of [191]), the degree of r(s)(s), with row reduced and r some polynomial row vector with coprime entries, can be either 1 or greater than or equal to 2 . Construction of a row reduced using O(C, A). We will now show how a row reduced generating matrix can be constructed directly from the observability matrix O(C, A). The procedure involves the determination of two linear dependencies among the rows of this observability matrix, which leads to the two observability indices i , i = 1, 2, of the pair (C, A) (for details see [8] or [191]). Let ci denote the ith row of C, i = 1, 2. For simplicity we will assume that working from top to bottom of the observability matrix, c2 A1 is the rst row of O which is linearly dependent on the preceding ones, i.e. ci Aj , i = 1, 2, j 1 . Then, because of observability, the next row to be linearly dependent on the previous ones will be c1 A2 , where 1 < 2 , and 1 + 2 = N : c2 A1 c1 A2 = =
1 i=0
i c1 Ai i c1 Ai
+ +
1 1 j =0
j c2 Aj ,
2 1 i=0
1 j j =0 j c2 A .
(s) =
i si i si
s 1
1 1 i=0
j sj
2 1 i=0
1 j i=0 j s
(4.105)
Clearly, det []hr = 1, which implies that is row reduced. Combining the preceding lemma with the above considerations we obtain the main result which provides the solution of problem (A). This result was proved in Antoulas and Willems [15] as well as Antoulas, Ball, Kang, and Willems [22].
ACA
i i i
oa 2004/4/14 page 96 i
Theorem 4.51. Consider dened by (4.101), which is row reduced, with row degrees 1 2 . (i) If 1 < 2 and 11 , 21 are coprime, min (s) = 11 (s) , (min ) = 1 , 12 (s)
is the unique minimal interpolant. Furthermore, there are no interpolants of complexity between 1 and 2 . (ii) Otherwise, there is a family of interpolating functions of minimal complexity which can be parametrized as follows: min (s) = 21 (s) + a(s)11 (s) , (min ) = 2 = N 1 , 22 (s) + a(x)12 (s)
where the polynomial a(s) satises deg a = 2 1 , 22 (si ) + a(si )12 (si ) = 0, i = 1, , N.
n (iii) In both cases (i) and (ii), there are families of interpolants = d of every degree 2 , satisfying (4.103), where deg a = 1 , deg b = 2 and a, b are coprime.
Corollary 4.52. Proper rational and polynomial interpolants. The interpolants above are proper rational provided that a, b satisfy [b(s)22 (s) + a(s)12 (s)]h = 0, where [r]h is used to denote the coefcient of the highest power of the polynomial r. All polynomial interpolants (s) = n(s), are given by n(s) = b(s)21 (s) + a(s)11 (s), where the polynomials a, b satisfy the Bezout equation b(s)22 (s) + a(s)12 (s) = 1. One polynomial interpolant is the Lagrange interpolating polynomial (s) given in the distinct point case by (4.81). It is also worth mentioning that a generating matrix (which is not row reduced) can be written down in terms of (s) and (s) given by (4.102): (s) 0 (s) = . (s) 1 The solution of the unconstrained interpolation problem (4.82) can be obtained in this framework by means of polynomial linear combinations of the rows of this particular generating matrix. Recursive interpolation The fact that in the parametrization of all interpolants by means of the generating system, is arbitrary except for the avoidance conditions (4.104) yields, at least conceptually, the solution to the recursive interpolation problem for free. In particular, if D = D1 D2 we dene 1 as a generating system for the data set D1 and 2 as a generating system d for the modied data set 1 ( dt )D2 . The the cascade = 2 1 of the two generating systems 1 and 2 , provides a generating system for D. More generally, we have the following pictorial representation of the solution to the yE 1 1 ' 2 u1 ' yE 2 2 u2
u E y '
Figure 4.5. Feedback interpretation of recursive rational interpolation recursive interpolation problem. The cascade interconnection is associated with: the Euclidean algorithm, the Schur
i i
ACA :
i i
oa 2004/4/14 page 97 i
u E y ' 1 '
E 2 '
E k '
E k
Figure 4.6. A general cascade decomposition of systems algorithm, the Nevanlinna algorithm, the Berlekamp-Massey algorithm, Darlington synthesis, continued fractions, and Hankel norm approximation. Problem (A) was solved recursively in [12]. Earlier, the recursive realization problem with a degree constraint was solved in [9]. The main result of these two papers which is shown pictorially in gures 4.6 and 4.7, is that recursive update of the solution of the realization or interpolation problems, corresponds to attaching an appropriately dened component to a cascade interconnection of systems. The scalar case. We conclude this account on recursiveness by making this cascade interconnection explicit, for (s) single-input single-output systems. Let the transfer function be H(s) = n d(s) , assumed for simplicity, strictly proper. As shown in Kalman [193], recursive realization corresponds to the decomposition of H(s) is a continued fraction: H(s) = d1 (s) + d 2 ( s) + d3 (s) + 1 1 1 1 .. . + where the di are polynomials of degree i , and
N i
(4.106)
dN (s)
=
i=1
i where i =
This cascade decomposition can be simplied in this case as shown in gure 4.7. Furthermore, there is a state space realization which follows from this decomposition. For details we refer to [145] and [10]. Here we will illustrate the generic case only, that is the case where i = 1, for all i, and hence N = n. By appropriate scaling, we will assume that the polynomials are monic (coefcient of highest degree is one); (4.106) becomes 1 H(s) = (4.107) 2 s + 1 + 3 s + 2 + .. .
n + s+ n The following triple is a minimal realization of H(s), whenever it has a generic decomposition of the form (4.107): 1 1 2 0 0 0 1 2 3 0 0 0 . . . . . A B .. .. . . . . . . = (4.108) C 0 0 1 n1 n 0 0 0 0 1 n 0 1 0 0 0 0
ACA
i i i
oa 2004/4/14 page 98 i
Notice that A is in tridiagonal form, while B and C are multiples of the rst canonical unit vector in Rn . To E e E -T
1 d1
1 d2
'
c e T
c e E -T . . . T
1 d3
c . . .
1 dk
'
Figure 4.7. Cascade (feedback) decomposition of scalar systems summarize, we have seen important connections between the following topics: (a) Realization/Interpolation (b) Cascade/ feedback interconnection, (c) Linear fractions, (d) Continued fractions, (e) Tridiagonal state space realizations. Thus partial realization consists in truncating the tail of the continued fraction or equivalently of the cascade decomposition of the system or of the tridiagonal state space realization. These issues will be play a role in chapter 10 where an iterative method, the so-called Lanczos procedure, of constructing this tridiagonal realization will be of central importance. The solution of problems (B) and (C) Given the array P dened by (4.79) again we restrict attention to the distinct point case together with > 0, we wish to nd out whether there exist interpolants which are stable (poles in the left-half of the complex plane) with magnitude bounded by on the imaginary axis. The tool for investigating the existence issue is the Nevanlinna-Pick matrix 2 1 N 1 1 2 1 +s1 s 1 +sN s . . .. , . . = . . . 2 2 N 1 N N s N +s1 s N +sN where ( ) denotes complex conjugation. A solution exists if, and only if, this matrix is positive (semi) denite 0. 1 2 Write = 2 1 2 , where 1 > 0, 2 > 0. Let 2 i be the eigenvalues of 1 2 , with 1 the largest. As long as > 1 , > 0, for = 1 it becomes semi-denite and for < 1 it is indenite. Thus the smallest norm for 1 which there exist solutions to problem (B) is the square root of the largest eigenvalue of 1 2 .
i i
ACA :
i i
oa 2004/4/14 page 99 i
In Antoulas and Anderson [26] it was shown that the Nevanlinna-Pick interpolation problem can be transformed into an interpolation problem without norm constraint. This is achieved by adding the so-called mirror image interpo of D, dened by (4.93), is lation points to the original data. In terms of trajectories, the mirror image set D D={ 1 i ={ esi t , i = 1, , N } and D i 1
i t es , i = 1 , , N }.
, and the corresponding pair of matrices is The augmented data set is thus Daug = D D ), Aaug = Caug = (C JC A 0 0 A , where J = 0 1 1 0 ,
and ( ) applied to a matrix denotes complex conjugation (without transposition). We now construct left coprime polynomial matrices aug , aug such that Caug (sI Aaug )1 = [aug (s)]1 aug (s). The main result is that the generating system for the data set Daug is the generating system which solves problem (B), provided that the parameters a, b are appropriately restricted. For simplicity of notation let the entries of aug be denoted by ij . The following result can be proved using the results in Antoulas and Anderson [26].
n Theorem 4.53. Classication by norm. Let aug be as dened above. The interpolants = d of D with norm of a11 +b21 a less than or equal to on the imaginary axis, are given, if they exist, by = a12 +b22 , where the magnitude of b on the imaginary axis, must be at most .
The above result achieves an algebraization of the Nevanlinna-Pick interpolation problem. For related treatments of problem (B) we refer to [271] and [195]. See also the book by Ball, Gohberg, and Rodman [38]. We conclude this part by mentioning that problem (C), that is the problem of positive real interpolation, can also be turned into an unconstrained interpolation problem by adding an appropriately dened mirror-image set of points. For details we refer to [27], [234], [309]. Concluding remarks and generalizations The problem of rational interpolation has a long history. It was only recently recognized however, as a problem which generalizes the realization problem. One can distinguish two approaches: state space and polynomial. The generalization of the state space framework from the realization to the rational interpolation problem is due to Antoulas and Anderson [25], [23], [26] and Anderson and Antoulas [24]. Therein, the L owner matrix replaces and generalizes the Hankel matrix as the main tool. The generating system or polynomial approach to rational interpolation with the complexity (McMillan degree) as constraint, was put forward in Antoulas and Willems [15] and Antoulas, Ball, Kang, and Willems [22]. The above results can be generalized considerably. Consider the array consisting of the distinct interpolation data si , Vi , Yi , of size 1 1, ri p, ri m respectively, satisfying si = sj , i = j , and rank Vi = ri p, i = 1, , N . The left tangential or left directional interpolation problem consists in nding all p m rational matrices (s) satisfying Vi (si ) = Yi , i = 1, , N , keeping track of their complexity, norm boundedness or positive realness at the same time. In this case the generating matrix is square of size p + m, and there are p + m (observability) indices which enter the picture. The right tangential or right directional interpolation problem, as well as the bi-tangential or bidirectional interpolation problem, can be dened similarly. The solution of problem (A) in all its matrix and tangential versions, has been given in the generating system framework in Antoulas, Ball, Kang, and Willems [22]. For a general account on the generating system approach to rational interpolation, see Ball, Gohberg, and Rodman [38]. Examples Example 4.5.1. Consider the data array containing 4 pairs: P = {(0, 0), (1, 3), (2, 4), (1/2, 2)}.
ACA
i i i
Following the construction leading to (4.105) we need the observability matrix of the (C, A) pair 1 1 1 1 0 3 4 2 1 1 2 0 2 0 3 8 1 O4 = . 1 0 1 4 4 0 3 16 1 2 1 1 8 0 8 0 3 32 1 4 Examining the rows from top to bottom, the rst linear dependence occurring in O4 is that of the fourth row on the previous ones: c2 A + 6c1 A + c2 = 0. It follows that 1 = 1. Therefore 2 = N 1 = 3. This means that the next linear dependence is that of the 7th row on the previous ones: 2c1 A3 9c1 A2 + 4c1 A 2c2 A + c2 = 0. According to formula (4.105) a row reduced generating matrix is therefore (s) = 6s s+1 s(s 4)(2s 1) (2s 1) .
By (i) of the theorem, since 6s and s +1 are coprime polynomials, there is a unique minimal interpolant with McMillan degree 1, namely 6s min (s) = . s+1 Furthermore, there are no interpolants of degree 2. The next family of interpolants has McMillan degree 3. It can be parametrized in terms of the second degree polynomial p(s) = p0 + p1 s + p2 s2 , as follows: (s) = s(s 4)(2s 1) + (p2 s2 + p1 s + p0 )6s . (2s 1) + (p2 s2 + p1 s + p0 )(s + 1)
The coefcients of p must satisfy the constraints (4.104) in R3 , which in this case turn out to be p0 + 1 = 0 2p2 + 2p1 + 2p0 1 = 0 4p2 + 2p1 + p0 1 = 0 p2 + 2p1 + 4p0 = 0 By letting p2 = p1 = 0 and p0 = 2 in the above family of interpolants, we obtain the Lagrange interpolating polynomial for the data array P: s (s) = (2s2 9s + 16). 3 The next family of interpolants has McMillan degree 4. It can be parametrized in terms of a third degree polynomial p and a rst degree polynomial q, as follows: (s) = (p3 s3 + p2 s2 + p1 s + p0 )6s + (q1 s + q0 )s(s 4)(2s 1) . (p3 s3 + p2 s2 + p1 s + p0 )(s + 1) (q1 s + q0 )(2s 1)
ACA :
i i
i i
101
Then, constraints (4.104) must also be satised, that is the free parameters must avoid the following hyperplanes in R6 : p0 + q0 = 0 2p3 + 2p2 + 2p1 + 2p0 q1 q0 = 0 8p3 + 4p2 + 2p1 + p0 2q1 q0 = 0 p3 + 2p2 + 4p1 + 8p0 = 0
Example 4.5.2. Continuation of example 4.5.1: Recursive construction of interpolants. The time series associated with P are t 1 1 1 1 w1 = , w2 = et , w3 = e 2t , w 4 = e2 0 3 4 2 Following gure 4.6, we will now construct the generating systems i , i = 1, 2, 3, 4, satisfying = 4 3 2 1 ; 4 according to (4.102), since det 4 i=1 (s) = i=1 (s si ), there must hold det i = s si , i = 1, 2, 3, 4. The generating system which annihilates w1 is thus 1 (s) = s 0 0 1 ,
d since the rst error time series, dened as e1 = 1 ( dt )w1 , is zero: e1 = 0; the second error time series is dened d similarly e2 = 1 ( dt )w2 , and we have e2 = w2 ; thus
2 (s) =
3 0
1 s1
d d d The rst error time series remains zero 2 1 ( dt )w1 = 0, and 2 ( dt )e2 = 2 1 ( dt )w2 = 0; the third error time 2 d e2t , which implies series is 2 1 ( dt )w3 = 4
s2 0 2 1
3 2 1 (
3 4
e2
2s 1 0 0 1
3s(s 2)(2s 1) 6s
(s 2)(2s 1) s+1
Although this generating matrix is not the same as the one obtained in the previous example, it differs only by left 0 1 multiplication with a unimodular matrix. In particular U4 3 2 1 , where U(s) = , is equal to the 1 1 2s generating matrix obtained in the previous example.
3 3
Example 4.5.3. Realization example 4.4.3 revisited. Following the construction leading to (4.105) we need the observability matrix of the (C, A) pair dened by (4.98): C= 1 0 0 1 0 0 1 1 0 2 , A= 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0
ACA
i i i
i i 102 The associated observability matrix is O5 : O5 (C, A) = 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0 1 0 1 1 0 0 0 0 2 0 1 0 1 0 1 1 0 Chapter 4. Linear dynamical systems: Part I
The rst row which is linearly dependent on the preceding ones is the 6th ; the next one is the 7th : c1 A2 c2 A2 + c2 A = 0, c1 A3 + c1 A2 c1 A + 2c2 A c2 = 0 The corresponding generating system is (s) = s2 s + s2 s
3
s2 + s 2s 1
According to the theory, the minimal interpolant has degree 3 and all minimal interpolants form a two parameter family obtained by multiplying on the left by [s + 1]:
2 3 2 min (s) = (s + )s + (s + s s) , , R 2 (s + )(s s) (2s 1)
According to (4.104) the parameters , must be such that the denominator of the above expression is non-zero for s = 0; therefore since the value of the denominator for s = 0 is 1, these two parameters are free. And in order to obtain matching of the Markov parameters we replace s by s1 : min (s1 ) = min (s) = ( + s) + (1 + s s2 ) s2 ( + 1)s ( + 1) = 3 2 3 ( + s)(1 s) 2s + s s ( + 2)s2 + ( )s +
It is readily checked that the power series expansion of around innity is: min (s) = s1 + s2 + s3 + 2s4 + ( + 4)s5 + ( 2 + 4 + + 8)s6 +
i i
ACA :
i i
differential or difference equations, which are rst order in the state (only the rst derivative/shift of the state is involved) and it describes the dynamics of the system. The latter set contains algebraic equations (no derivatives/shifts of the state are allowed). The internal description is thus completely determined by means of the quadruple of matrices
A C B D
, dened by (4.13).
To get a better understanding of a dynamical system, two structural concepts are introduced, namely, those of reachability and observability. The former is used to investigate the extent to which the states can be inuenced my manipulating the input. The latter is used to assess the inuence of the state on the output. The reachability and observability matrices are used to quantitatively answer these questions. Besides these matrices, the so-called gramians can be used as well. Their advantage lies in the fact that they are square symmetric and semi-denite. Furthermore, if the assumption of stability is made, the innite gramians arise, which can be computed by solving appropriately dened linear matrix equations, the so-called Lyapunov equations. These equations play a fundamental role in the computation of approximants to a given system. They will be the subject of detailed study in chapter 6. Eliminating the state from the internal description is straightforward and leads to the external description. The converse however, that is deducing an internal description from the external description, is non-trivial. It involves the construction of state and if the data consist of all Markov parameters, it is known as the realization problem. Conditions for solvability and ways of constructing solutions (if they exist) are discussed in section 4.4. If the data consist of a partial set of Markov parameters, the existence of solutions being no longer an issue, the parametrization of all (minimal complexity) solutions becomes important; this is discussed briey. The nal section on rational interpolation provides a generalization of the realization results in several ways. First, the input-output data need not be conned to Markov parameters; instead samples of the transfer function at arbitrary points in the complex plane are allowed. Secondly both state-space and polynomial ways of constructing all solutions of a given complexity are discussed. Finally it is pointed out that the machinery set up (generating system method) can be used to solve the problems of constructing systems with special properties, like bounded real or positive real transfer function, for instance.
ACA
i i i
i i
ACA :
i i
i i
Chapter 5
To assess the quality of a given approximation, we must be able to measure sizes of dynamical systems as well as the distance between two of them. In the rst part of this chapter we discuss various notions of norms of linear dynamical systems. The second part offers a brief review of system stability and an introduction to the related concept of system dissipativity. The chapter concludes with the discussion of L2 systems which plays a role in Hankel norm approximation. For the material in the sections that follow, see [95], [115], [70], [148], [370], [360], [361], [288] and in addition [118], [177], and [197].
= y, x .
Linear spaces X which are endowed with an inner product and are complete are called Hilbert spaces. We close this introductory section by dening the space Y of a subspace Y X: Y = {x X : x, y = 0, y Y}. The space Y is always closed; if Y is also closed, then Y is called its orthogonal complement; in this case X can be decomposed in a direct sum X = Y Y .
and Lp
In this section we dene the p-norms of innite sequences and functions. Consider the vector-valued sequences f : I Rn , where I = Z, I = Z+ or I = Z . The H older p-norms of these sequences are dened as: 1 p , 1p< f (t) p p tI f p= (5.2) suptI f (t) p , p = The corresponding
p
spaces are:
n p (I )
= {f : I Rn ,
p<
}, 1 p ,
where for instance, I = Z, I = Z+ or I = Z . Consider now continuous-time vector-valued functions f : I Rn , where I = R, I = R+ , I = R , or I = [a, b]; the p-norms are dened as: 1 p tI f (t) p , 1p< p dt f p= (5.3) . suptI f (t) p , p = The corresponding Lp spaces are:
n Ln p (I ) = {f : I R ,
p<
}, 1 p ,
where for instance, I = R, I = R+ , I = R , or the nite interval I = [a, b]. The spaces dened above are sometimes referred to as time-domain p , Lp , spaces since their elements are functions of a real variable, which is mostly time. In the sequel frequency domain p , Lp , spaces will also be introduced.
1 sup 2 |r|>1
2 0
1 p
F(rei )
p p
h =
z D
sup
F(z )
for p = .
We choose F(z0 ) p to be the Schatten p-norm of F evaluated at z = z0 ; the Schatten norms are dened in (3.5), page 29; however, there are other possible choices (see section 5.6). The resulting hp spaces are dened as follows:
q r q r hp = hp (D) = {F : C Cqr :
hp <
}.
i i
ACA :
i i
107
h2 =
1 sup 2 |r|>1
2 0
1 2
trace F (re
)F(re ) d
(5.4)
where () denotes complex conjugation and transposition; furthermore F Hp spaces Let C+ C denote the (open) right-half of the complex plane: s = x + iy C, x > 0. Consider the q r complex-valued functions F, which are analytic in C+ . Then
h = z D
(5.5)
Hp =
sup
x>0
F(x + iy )
p p
1 p
dy
H =
sup
z C+
F(z )
for p = .
Again F(s0 ) p is chosen to be the Schatten p-norm ((3.5), page 29), of F evaluated at s = s0 . The resulting Hp spaces are dened analogously to the hp spaces:
q r q r Hp = Hp (C+ ) = {F : C Cqr :
Hp <
}.
q r The Hardy spaces Hp (C ) can be dened in a similar way. Two special cases are worth noting:
H2 =
sup
x>0
trace [F (x iy )F(x + iy )] dy
1 2
(5.6)
(5.7)
The search for the suprema in the formulae above can be simplied by making use of the maximum modulus theorem, which states that a function f continuous inside a domain D C as well as on its boundary D and analytic inside D, attains its maximum on the boundary D of D. Thus (5.4), (5.5), (5.6), (5.7) become: F and F
H2 = h2 =
1 2
2 0
trace F (e
)F(e ) d
1 2
1 2
h =
(5.8)
H =
y R
(5.9)
Frequency domain Lp spaces If the function F : C Cqr , has no singularities (poles) on the imaginary axis, but is not necessarily analytic in either the left- or right-half of the complex plane, Hp norms are not dened. Instead the frequency domain Lp norms of F are dened as follows:
1 p
Lp =
sup
y R
F(iy )
p p
dy
L =
y R
(5.10)
The corresponding frequency domain Lp spaces are Lp (iR) = {F : C Cqr : In a similar way one may dene the frequency domain
ACA
Lp <
}.
(5.11)
spaces.
April 14, 2004
i i i
and L2
2 (I )
The (real) spaces p (I ) and Lp (I ) are Banach spaces; spaces, where the inner product is dened as follows: x, y
2
=
tI
x (t)y(t),
x, y
L2
x (t)y(t)dt.
I
(5.12)
For I = Z and I = R respectively, elements (vectors or matrices) with entries in 2 (Z) and L2 (R) have a transform dened as follows: t for discrete time functions f (t) , f F( ) = f (t)et dt, for continuous time functions Thus if the domain of f is discrete, F(ei ) = F (f )() is the Fourier transform of f and belongs to L2 [0, 2 ]; analogously, if the domain of f is continuous, F(i ) = F (f )( ) is the Fourier transform of f belonging to the space L2 (iR) dened by (5.11). Furthermore the following bijective correspondences hold:
2 (Z)
2 (Z )
2 (Z+ )
L2 (R) = L2 (R ) L2 (R+ )
For simplicity the above relationships are shown for spaces containing scalar-valued functions. They are however equally valid for the corresponding spaces containing matrix-valued functions. There are two results connecting the spaces introduced above. We only state the continuous-time versions. The rst has the names of Parseval, Plancherel and Paley-Wiener attached to it. Proposition 5.1. The Fourier transform F is a Hilbert space isomorphism between L2 (R) and L2 (iR). In addition it is an isometry, that is, it preserves distances. The Fourier transform maps L2 (R+ ), L2 (R ) onto H2 (C+ ), H2 (C ) respectively. The second one asserts that the product of an L function and a frequency domain L2 function, is a frequency domain L2 function. It also asserts that the L and H norms can be viewed as induced norms. Recall that if (X, ) and (Y, ) are two normed spaces with norms , , respectively, just as in the nite-dimensional case, the , -induced norm of an operator T with domain X and codomain Y is: T , = supx=0 Tx / x . Proposition 5.2. Let F L and G L2 (iR). The product FG L2 (iR). In addition, the L norm can be viewed as an induced norm in the frequency domain space L2 (iR): F
L =
L2 ind =
sup
X=0
FX X
L2 L2
If F H and G H2 (C+ ) then FG H2 (C+ ). Furthermore, the H norm can be viewed as an induced norm in the frequency domain space H2 , as well as in the time domain space L2 : F where x L2 (R+ ).
H =
H2 ind =
sup
X=0
FX X
H2 H2
= sup
x=0
f x L2 = f x L2
L2 ind
i i
ACA :
i i
i i 5.2. The spectrum and singular values of the convolution operator Spectrum and singular values of S Consider rst the case of single-input single-output (m = p = 1) discrete-time systems. The convolution operator S is also known as the Laurent operator. To this operator we associate the transfer function H(z ) = t= ht z t , also known as the symbol of S . A classical result which can be found, e.g., in [69], asserts that S is a bounded operator in 2 (Z) if, and only if, H belongs to the (frequency domain) space ( D ), that is, H < . The spectrum of this operator is composed of all complex numbers such that the resolvent S I is not invertible; furthermore, if there exists v 2 (Z) such that (S I)v = 0, (, v) is an eigenvalue, eigenvector pair of S . Denoting the convolution operator by S (H), to stress the connection with H, we have in this case S (H)
2
109
= H
Furthermore it follows that [S (H)] = S (H ) and S (H1 )S (H2 ) = S (H1 H2 ). Thus S (H)[S (H)] = S (HH ) = S (H H) = [S (H)] S (H), which shows that S is a normal operator. This implies that if belongs to the spectrum of S , || is a singular value of S . Otto Toeplitz in 1911 showed that the spectrum of S is (S ) = { H(z ) : | z |= 1 }. If we plot the elements of this set in the complex plane we obtain a closed curve, which is sometimes referred to as the Nyquist plot of the underlying system. Due to the normality of S , the set of singular values of S is given by absolute values of the elements of its spectrum: (S ) = { | H(z ) |: | z |= 1 }. Therefore the largest entry of this set is the norm of H. Notice that S is not invertible whenever 0 (S ); if H is rational this means that S is not invertible whenever H has a zero on the unit circle. Closely related to S is the Toeplitz operator T : 2 (Z+ ) 2 (Z+ ), y = T (u), where y(t) = k=0 htk u(k ), t 0. It can be shown (see [69]) that T 2 = H h and that the spectrum (T ) contains (S ), together with all points enclosed by this curve which have nonzero winding number. The spectrum (S ) can be approximated by considering a nite portion of the impulse response, namely hk , where k runs over any consecutive set of N integers. For simplicity, let k = 0, 1, , N 1. The corresponding input and output sequences are nite: uk , yk , k = 0, 1, , N 1. In this case y = h u, where denotes periodic convolution, which is the usual convolution but the sum is taken over N consecutive values of u and outside the N 1 interval [0, N 1], the functions are assumed to be periodic: y(t) = k=0 htk u(k ), t = 0, 1, , N 1. In matrix form we have h0 hN1 h2 h1 y(0) u(0) .. y(1) h1 . h0 h2 u(1) . . . . . . . . . .. .. .. . = . yN = SN uN . . . . . y(N 2) .. u(N 2) hN2 . h0 hN1 y(N 1) u(N 1) hN1 hN2 h1 h0
SN
The N N matrix SN is called a circulant; it is a special Toeplitz matrix which is constructed by means of cyclic permutation of its rst column or row. Circulant matrices are normal; they are diagonalized by means of the DFT 2 (k1)( 1) wN (Discrete Fourier Transform) matrix (N )k,l=1,,N = 1 , where wN = ei N is the principal N th N N 1 k (wk ), k = 0, 1, , N 1, where H (z ) = root of unity. The eigenvalues of SN are H , can be k=0 hk z considered an approximant of H. Some examples will illustrate these issues. Example 5.2.1. We will rst compute the singular values of the convolution operator S associated with the discretetime system: y (k + 1) ay (k ) = bu(k )
ACA
i i i
The impulse response of this system is: h0 = 0, hk = bak1 , k > 0. Hence from the above discussion it follows that: S = b . .. . . . 0 1 a a2 . . . . . . 0 0 1 a . . . . . . 0 0 0 1 . . . . . . 0 0 0 0 . . . .. . 0 1 . , SN = b . . N 3 a aN 2 aN 2 0 . . . aN 4 aN 3 .. . a a2 . . . 0 1 1 a . . . aN 2 0 RN N
The error between the eigenvalues of SN and the corresponding elements of the spectrum of S are of the order of 102 , 103 for N = 6, N = 10, respectively; a similar property holds for the singular values of S and SN . The spectrum ab| |b| (Nyquist plot) of this system consists of a circle centered at ( 1| a2 , 0) of radius 1a2 . Thus the largest singular value of S is
|b| 1|a|
|b| 1+|a| ,
As a second example we consider a discrete-time third order system which is known under the name Butterworth lter. Its transfer function is 1 (z + 1)3 H(z ) = . 6 z (z 2 + 1 3)
1 4 4 4 The rst few Markov parameters are h0 = 6 , h1 = 1 2 , h2 = 9 , h3 = 0, h4 = 27 , h5 = 0, h6 = 81 , h7 = 0, 4 h8 = 243 . The Nyquist plot (i.e. the spectrum of S ) is shown in gure 5.1, together with the eigenvalues of SN , for N = 4 (circles) N = 6 (crossed circles), and N = 10 (dots); the error in the latter case is of the order 103 .
Nyquist diagram for 3rd order discretetime Butterworth filter 1
0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1 0.8
0.6
0.4
0.2
0.2
0.4
0.6
0.8
1.2
Figure 5.1. Spectrum of the convolution operator S compared with the eigenvalues of the nite approximants SN , N = 4 (circles), N = 6 (crossed circles), N = 10 (dots). The singular values of S are (S ) = [0, 1], which implies that S is not invertible. Finally the spectrum of the associated Toeplitz operator (T ) is composed of (S ) and all points in the interior of this curve. Generalization to continuous-time systems For SISO continuous-time systems similar results hold. Without proof we state the following facts. The convolution operator dened by (4.5) is bounded in L2 (R), provided that the associated transfer function H(s) belongs to (the frequency domain space) L (iR), that is, H is bounded on the imaginary axis. Again, the spectrum of S is composed of all complex numbers such that the resolvent S I is not invertible. If the associated H is rational, this condition is equivalent to the absence of zeros of H on the imaginary axis. Just as in the discrete-time case, denoting the convolution operator by S (H), to stress its connection with H, we have S (H) 2 = H L . Furthermore similar arguments show that S is normal. The parallel of the Otto Toeplitz
i i
ACA :
i i
i i 5.2. The spectrum and singular values of the convolution operator result in the continuous-time case is that the spectrum of S is (S ) = { H(i ) : R }. This set in the complex plane yields a closed curve known as the Nyquist plot. Therefore, the set of singular values of S is given by (S ) = { | H(i ) |: R }. The largest entry of this set is the L norm of H. Generalization to MIMO systems The spectrum of the convolution operator associated with a MIMO (multi-input multi-output) system is dened for m = p (same number of input and output channels). In this case it is composed of the union of the m curves which constitute the m eigenvalues of the transfer function H(i ). For continuous-time systems for instance, this gives (S ) = { k (H(i )) : R, k = 1, , m }. The convolution operator for MIMO systems is in general not normal. Its singular values (which are dened even if m = p) are those of H(i ): (S ) = { k (H(i )) : R, k = 1, , min(m, p) }. Therefore, = sup 1 (H(i )), R where as before 1 denotes the largest singular value. Similar statements can be made for discrete-time MIMO systems.
2
111
The adjoint of the convolution operator A detailed study of the singular values of the convolution operator S requires the use of the adjoint operator. For completeness, this issue is briey addressed next, although it will not be used in the sequel. By denition, given the inner product , , the adjoint of S , denoted by S , is the unique operator satisfying y, S u = S y, u (5.13)
for all y, u in the appropriate spaces. By (4.5), page 55, S is an integral operator with kernel h() which by means of state space data can be expressed as follows h() = D () + CeA() B, t 0. The former part, namely D, is an instantaneous and not dynamical action; therefore its adjoint is given by D . The adjoint due to the latter part ha () = CeA() B, t > 0, which denotes dynamical action, can be computed as follows:
y, S u =
y (t)
CeA(t ) Bu( ) d dt =
u ( )
B e A
(t )
C y(t) dt d = u, S y
Thus from (5.13) follows that S : Lp (R) Lm (R), y u = S (y) where u(t) =
+
B eA
(t )
C y( )d,
B D
(5.14)
with time t running backwards, that is from + to . It follows that given = respect to the usual inner product in L2 (R), can be dened as = A B C D
A C
(5.15)
April 14, 2004
ACA
i i i
Furthermore, if H (s) = D + C(sI A)1 B, the transfer function of the adjoint system is H (s) = H (s) = D B (sI + A )1 C . Remark 5.2.1. (a) According to the computations above, the adjoint can also be dened by replacing C , B with C , B , respectively. = Ax + Bu, y = Cu + Du and one for the adjoint (b) Given the state space representation of the original system x = A p C y , u = B y + D y , notice that u, u and y, y , are respectively elements of the same space. A p straightforward calculation shows that the following relationship holds: d (t)u(t) y (t)y(t). p (t)x(t) = u dt In other words for xed t, the derivative of the usual inner product of the state of the original system and that of the and y, y . The following general result adjoint system is equal to the difference of the inner products between u, u and output y, u , respectively, are adjoints of eachother if, and only if, can be shown. Two systems with input u, y they admit minimal state space representations such that the states x, p satisfy the above instantaneous condition. For details see [287], [119]. d d (c) According to the above considerations, the adjoint of the autonomous system dt x(t) = Ax(t) is dt p(t) = d A p(t). It follows that dt [p (t)x(t)] = 0 which means that p (t)x(t) = p (t0 )x(t0 ), for all t t0 . (d) Discrete-time systems. One way to dene the adjoint of a discrete-time system is by means of the transfer function. Given H(z ) = D + C(z I A)1 B, the transfer function of the adjoint system is H (z ) = H (z 1 ) = D + B (z 1 I A )1 C . A simple calculation shows that if A is invertible, the adjoint system has the following realization: = (A )1 B (A )1 (A )1 C D B C .
= S
2ind
= H
(5.16)
The last equality follows from proposition 5.2 which asserts that the 2-induced norm and the H norm of a stable are the same. Consider the rational function (s) = Im 1 H (s)H (s). 2
If the H norm of is less than > 0, there is no real , such that (i ) is zero. Thus the H norm of is less 1 than if, and only if, (s) has no pure imaginary poles. Proposition 5.3. Given =
A C B D
, let =
( ) A ( ) C
( ) B ( ) D
( ) has no eigenvalues on the imaginary axis. If D = 0 is less than if, and only if, A ( ) = A A
1 C C 1 BB
R2n2n
(5.17)
i i
ACA :
i i
i i 5.4. The Hankel operator and its spectra If D = 0 and 2 I DD is non-singular ( ) = A F H G F R2n2n (5.18) 113
where F = A + BD ( 2 I DD )1 C, G = B( 2 I D D)1 B , H = C ( 2 I DD )1 C. satises The proof of this proposition is left as an exercise (see Problem [30]). Notice that A AJ
, where J = = AJ
0 I
I 0
Such matrices are called Hamiltonian matrices. Therefore the computation of the H norm requires the (repeated) computation of the eigenvalues of structured in this case Hamiltonian matrices. Using proposition 5.3 to compute the H norm The above fact can be used to compute the H norm of to any given accuracy by means of the bisection algorithm. . . We proceed as follows. For a sufciently large , the Hamiltonian dened by (5.17) or (5.18), has no pure imaginary eigenvalues, while for a sufciently small , it does. The algorithm used to nd an approximation of the H norm ( consists in bisecting the interval [, ]: let = ( + )/2. If A ) has imaginary eigenvalues then the interval above is substituted by the interval where = , otherwise by = ; both of these intervals have now half the length of the previous interval. The procedure continues until the difference is sufciently small. Example 5.3.1. Consider the continuous-time third order Butterworth lter. The state space matrices are 1 0 0 1 A = 1 1 1 , B 0 , C = [0 0 1] , D = 0, 0 1 0 0 which implies that (s) = 1 +
1 1 2 s6 1 ,
A( ) =
0 0 1 0 0
0 0 0 1 1 1
0 0 0 0 1 0
The locus of the eigenvalues of the Hamiltonian as a function of the parameter 0, is shown in gure 5.2. For = , The 6 eigenvalues lie on unit circle at the locations indicated by circles. As decreases the eigenvalues move in straight lines towards the origin; they meet at the origin for = 1. For smaller values of the eigenvalues move again in straight lines away from the origin, with two of them traversing the imaginary axis in the positive, negative direction, respectively. As approaches 0, the six eigenvalues go to innity. Therefore the H norm (which is the 2-norm of the associated convolution operator S ) is equal to 1. It is worth examining the sensitivity of the eigenvalues (1) has six zero eigenvalues while as a function of , especially close to the H norm. For = 1 the Hamiltonian A (1) is similar to a Jordan block of size six. Therefore as detailed the dimension of its null space is one. Therefore A in example 10.2.1, a perturbation in of the order 108 will result in a perturbation of the eigenvalues of the order 103 . Thus at the bifurcation point of the locus, we have very high sensitivity. To remedy this situation a procedure for computing the innity norm which bypasses this problem has been proposed in [74].
i i i
i i 114
3
Imag Axes
3 3
0 Real Axis
Given a linear, time invariant, not necessarily causal system, the convolution operator S induces an operator which is of interest in the theory of linear systems: the Hankel operator H dened as follows:
1
H:
m 2 (Z )
p 2 (Z+ ),
htk u (k ), t 0
(5.19)
The matrix representation of H is given by the lower-left block of the matrix representation (4.4) of S : y(0) h1 h2 h3 u(1) y(1) h2 h3 h4 u(2) y(2) = h3 h4 h5 u(3) . . . . . .. . . . . . . . . . . .
H
Thus H turns out to be the same matrix as the Hankel matrix dened by (4.63) on page 77. Since the Hankel operator of maps past inputs into future outputs, we have
0 j =
y (k ) =
j =
Aj Bu(j )
Aj Bu(j )
0
Briey, the properties of this operator are that because of (4.65), page 78, it has nite rank (at most n), and that the rank equals n if and only if is reachable and observable. Finally, as shown in the next section, H has a nite set of non-zero singular values. Thus due to the fact that H has nite rank, its eigenvalues and singular values can be computed by means of nite-dimensional quantities, namely the three gramians. p If H has domain m 2 (Z ) and codomain 2 (Z+ ), its 2 -induced norm is H
2 ind
= max (H) =
The quantity H is called the Hankel norm of the system . If in addition the system is stable, by combining the discrete-time versions of propositions 5.1 and 5.2, it follows that the 2 -induced norm of S is equal to the h -Schatten norm (3.6), page 29, of its transform which is the transfer function H . In this case above, can be replaced by h and we often refer to this quantity as the h -norm of .
i i
ACA :
i i
Given a linear, time invariant, continuous-time not necessarily causal system, similarly to the discrete-time case, the convolution operator S induces a Hankel operator H dened as follows:
p H : Lm 2 (R ) L2 (R+ ), u y+ where y+ (t) = H(u )(t) = 0
h(t )u ( ) d, t 0
(5.20)
Sometimes this integral is written in the form y+ (t) = codomain Lp 2 (R+ ), its L2 -induced norm is H
L2 ind =
max (H) = S
(5.21)
The quantity H is called the Hankel norm of the system . As in the discrete-time case, if the system is stable, by combining propositions 5.1 and 5.2 follows that the L2 -induced norm of the system dened by the kernel h is equal to the H -Schatten norm of its transform, which is the transfer function H , and we often refer to this quantity as the H -norm of . Figure 5.3 illustrates the action of the Hankel operator. A square pulse of unit amplitude is applied from t = 1 until t = 0 (upper plot), to the second order system with transfer function H(s) = s2 +1 s+1 ; the resulting response for t > 0 is depicted (lower plot).
Input: square pulse applied between t = 1 and t = 0 1 0.8 0.6 0.4 0.2 0 2 1 0 2 4 6 8 10 12
Output for positive time due to square pulse 0.3 0.2 0.1 0 0.1 2
10
12
Figure 5.3. The action of the Hankel operator: past inputs are mapped into future outputs. Top pane: Square pulse input applied between t = 1 and t = 0. Lower pane: Resulting output considered for t > 0.
Remark 5.4.1. The Hankel operator and the Hankel matrix. We have dened three objects which carry the name Hankel and are denoted, by abuse of notation, with the same symbol H. The rst is the Hankel matrix dened by (4.63), page 77 for both discrete- and continuous-time systems; the second is the Hankel operator (5.19), page 114, dened for discrete-time systems, and the third object is the Hankel operator for continuous-time systems dened by (5.20) above. It turns out that the Hankel matrix is the matrix representation (in the canonical basis) of the Hankel operator for discrete-time systems. Furthermore the Hankel matrix and the continuous-time Hankel operator are not related; for instance, whenever dened, the eigenvalues of the former are not the same as those of the latter.
i i i
equal to the eigenvalues of the cross gramian. Recall that this concept was dened in section 4.3.2 for discrete-time systems, in which case the statement about the equality of eigenvalues follows in a straightforward way. Here we prove this result for continuous-time systems. The cross gramian X for continuous-time square systems (m = p), is dened as the solution X of the Sylvester equation AX + X A + BC = 0. If A is stable, it is well known that the solution of this equation can be written as
(4.59)
X =
0
(4.60)
The next lemma states the desired property of the cross gramian. Lemma 5.4. For square minimal systems the non-zero eigenvalues of the Hankel operator H are equal to the eigenvalues of the cross gramian X . Proof. Recall that the Hankel operator maps past inputs into future outputs, namely
0
where h(t) = CeAt B, t 0 is the impulse response of . The eigenvalue problem of H for square systems is H(u ) = y+ , where y+ (t) = u (t). Let the function u be an eigenfunction of H. Then
0 0
eA Bu ( )d = u (t)
0
eA Bu ( )d =
eAt Bu (t)dt
The rst integral is equal to the cross gramian X , the second and the third are equal to the same constant vector, say, v Rn . We thus have X v = v, which shows that if is a non-zero eigenvalue of H it is also an eigenvalue of X . Conversely, let (, v) be an eigenpair of X , i.e. X v = v:
0 0
eA BCeA d v = v CeAt
eA BCeA v d = CeAt v
mi = n,
(5.22)
are the singular values of H dened by (5.19), (5.20). The Hankel norm of is the largest Hankel singular value:
H
= 1 ()
The Hankel operator of a not necessarily stable system , is dened as the Hankel operator of its stable and causal part + : H = H+ .
i i
ACA :
i i
i i 5.4. The Hankel operator and its spectra The discrete-time case We start by computing the singular values of the Hankel operator H dened by (5.19), page 114. Because of the factorization of H given in lemma 4.32, page 78 we have H = OR, where O, R are the innite observability, reachability matrices, respectively. Thus H H = R O OR. Let v be an eigenvector of H H corresponding to the eigenvalue 2 ; then R O ORv = 2 v RR O O Rv = 2 Rv
P Q
117
Recall that by (4.47), (4.48) on page 69, RR = P is the reachability and O O = Q is the observability gramian of the system. This implies that if v is an eigenvector of H H then Rv is an eigenvector of the product of the two gramians PQ. Conversely, let PQw = 2 w; this implies PQw = 2 w OPQw = 2 Ow OR R O Ow = 2 Ow
H H
and therefore 2 is an eigenvalue of HH with corresponding eigenvector Ow. We conclude that is a singular value of the Hankel operator H, if, and only if, 2 is an eigenvalue of the product of gramians PQ. The continuous-time case In order to compute the singular values of H we need its adjoint H . Recall (5.20). For continuous-time systems the adjoint is dened as follows: H : Lp (R+ ) Lm (R ), y+ u = H (y+ ) where u (t) =
0
h (t + )y( )d, t 0
(5.23)
In the sequel it is assumed that the underlying system is nite dimensional, i.e. the rank of the Hankel matrix derived from the corresponding Markov parameters ht of is nite. Consequently, by subsection 4.4, there exists a triple (C, A, B) such that (4.20) holds: h(t) = CeAt B, t > 0 It follows that
0 0 = xi
(Hu)(t) =
eA Bu( )d = CeAt xi , xi Rn
Moreover (H Hu)(t) = B eA
t 0
eA C CeA d xi = B eA t Qxi
where the expression in parenthesis is Q, the innite observability gramian dened by (4.44). The requirement for u 2 to be an eigenfunction of H H, is that this last expression be equal to i u(t). This implies: u(t) = Substituting u in the expression for xi we obtain 1 2 i
0
1 A t Qxi , t 0 2B e i
eA BB eA d
Qxi = xi
Recall the denition (4.43) of the innite reachability gramian; this equation becomes
2 PQxi = i xi .
We conclude that the (non-zero) singular values of the Hankel operator H are the eigenvalues of the product of the innite gramians P and Q of the system. Therefore H, in contrast to S , has a discrete set of singular values. It can be shown that (4.43) holds for discrete-time systems where P , Q are the innite gramians obtained by solving the discrete Lyapunov equations (4.49), (4.50) respectively. In summary we have:
ACA
i i i
Lemma 5.6. Given a reachable, observable and stable discrete- or continuous-time system of dimension n, the Hankel singular values of are equal to the positive square roots of the eigenvalues of the product of gramians PQ k () = k (PQ) , k = 1, , n. (5.24)
Remark 5.4.2. (a) For discrete-time systems: k () = k (H), i.e. the singular values of the system are the singular values of the (block) Hankel matrix dened by (4.63). For continuous-time systems however k () are the singular values of a continuous-time Hankel operator. They are not equal to the singular values of the associated matrix of Markov parameters. (b) It should be noticed that following proposition 4.29 presented in subsection 4.3.3 the Hankel singular values of a continuous-time stable system and those of a discrete-time stable system related by means of the bilinear 1 transformation s = z z +1 are the same. (c) If the system is not symmetric, the Hankel singular values i and the singular values i of X satisfy the k k k k following majorization inequalities: i=1 i i=1 i and i=1 ni+1 i=1 ni+1 , i = 1, , n. If the k k k i (P )+i (Q) Hankel operator is symmetric the following majorization inequalities hold: i=1 i , . i=1 i i=1 2 k k Thus in the balanced basis (see chapter 7) i=1 i i=1 i . The Hankel singular values and the cross-gramian If we are dealing with a symmetric and stable system , its Hankel singular values can be computed using only one gramian, namely the cross gramian X dened in (4.59), (4.60). Recall that according to lemma 4.37, a symmetric system always possesses a realization which satises (4.75). Substituting these relations in equation (4.59), we obtain: AX + X A + BC = 0 AX + X A + BC = 0 A [X ] + [X ] A + BB = 0 Since the Lyapunov equation (4.45) has a unique solution, this implies that the reachability and the cross gramians are related in this case: P = X . Using a similar argument involving (4.46) we obtain Q = 1 X ; we conclude that P = X , Q = 1 X X 2 = PQ We have thus proved the following result which also follows as a corollary of lemma 5.4. Proposition 5.7. Given a symmetric minimal system =
A C B
(5.25)
gramians satisfy (5.25). It follows that the eigenvalues of X are the eigenvalues of the associated Hankel operator H, and the absolute values of these eigenvalues are the Hankel singular values of H.
A C
the eigenvalues of X are the same as the eigenvalues of the Hankel operator H, it follows that trace H = trace X . Furthermore according to [250] there holds: 2 trace H = trace CA1 B . We conclude therefore that twice the trace of the cross-gramian is equal to minus the trace of the transfer function of evaluated as s = 0. This fact can be seen directly by taking the trace of X + A1 X A = A1 BC; the trace of the left-hand side is namely equal to 2 trace X while that of the right-hand side is equal to the desired trace CA1 B .
i i
ACA :
i i
i i 5.4. The Hankel operator and its spectra operators T . The integral operator
b
119
T (w)(x) =
a
is nite. In this case is the Hilbert-Schmidt norm of I . Following [365], such operators are compact and hence have a discrete spectrum, where each eigenvalue has nite multiplicity, and the only possible accumulation point is zero. It readily follows that the convolution operator S dened above is not Hilbert-Schmidt, while the Hankel operator H is. In particular: 2 = trace
0 0
h (t )h(t ) d dt
B e A
(t )
C CeA(t ) B d dt
= trace
0
B eA B eA
eA B BeA d eAt B dt
0
= trace
0
Q eAt B dt = trace
eAt BB eA
2 2 Q dt = trace [PQ] = 1 + + n .
where i are the Hankel singular values of the system . The Hilbert-Schmidt norm for SISO linear systems was given an interpretation in [165]. The result asserts the following. Proposition 5.8. Given a single-input, single-output stable system, 2 is equal to the area of the Nyquist plot of the associated transfer function, multiplicities included. An illustration of this result is given in example 5.5.2. See also problem 58, page 357. Example 5.4.1. For the discrete-time system y (k + 1) operator is: 1 a H = b a2 . . . ay (k ) = bu(k ), |a| < 1, discussed earlier, the Hankel a a2 a3 . . . a2 a3 a4 . . . .. . .
This operator has a single non-zero singular value, which turns out to be 1 (H) = |b | . 1 a2
In this case, since H is symmetric 1 (H) = 1 (H). Furthermore, the Hilbert-Schmidt norm (which is equal to the |b| trace of H) is 1 a2 .
h(t )u( )d
April 14, 2004
i i i
( ) The singular values of this operator can be determined as follows. Recall the denition of the Hamiltonian A dened by (5.17). It is known (e.g., [368, 363]) that > 0 is a singular value of K if, and only if, the determinant of ( )T is zero: the (2, 2) block of the matrix exponential of A ( )T )]22 = 0 det[exp(A This problem arises as the computation of the optimal sensitivity for a pure delay: max = inf
qH
(5.26)
e T s q h
This was rst solved in the above form in [368], with conjecture for the general case max = inf
qH
m(s)q h
( )T ) by m(A ( )). The where m is a general (real) inner function. The conjecture amounts to replacing exp(A conjecture was resolved rst by [232] and later streamlined by [302, 121, 363] in a more generalized context; in particular, [363] gave a completely basis-free proof. For the generalization to the case D = 0, see [302]. We also note that the result played a crucial role in the solution of the sampled-data H control problem [39]. A second instance of the existence of an exact formula for the Hankel singular values is given in [253]. This paper shows that the Hankel singular values of a system whose transfer function is given by the product of a scalar inner (stable and all-pass) function and of a rational MIMO function can be determined using an appropriately dened Hamiltonian. Here are some details. Let =
A C B 0
is scalar and inner. The Hankel singular values of the system whose transfer function is (s)H (s) are the solutions of the following transcendental equation ( ) = 0 in , where ( ) = det I 0
1 P 0
0 0 1 Q I
( )) (A
( ) is the associated Hamiltonian dened by (5.17). P , Q are the gramians of , and A Example 5.4.2. [254] The transfer function from u to y for the delay differential equation y (t) = y (t) + cy (t 1) + cy (t 1) cu(t) + u(t 1), is (s) = (s)H(s), where (s) = |c| < 1
e s c 1 , H(s) = . 1 ces s+1 The singular values of the associated Hankel operator are characterized by the above ( ) = 0, where F= 1 1
1
P=
1 , 2
Q=
1 2
For this example (F) = eF cI I ceF . The bisection search on the interval (0.07, 1) is employed for c = 0.75, which yields the Hankel singular values shown below. Figure 5.4 shows the determinant as a function of . ( ) is 2 2, it is possible to compute the determinant in terms of . By straightforward calculation, Since A ( )) is equal to (A 1
1 1 + c2 cos 1 c2 sin 2c 1 1 c2 sin
1+c
1 2 ;
thus
(1 + c2 ) 2 c (1 c2 ) (1 3 2 ) sin + 3 cos 3 2 4 4 2
The Newton iteration can be applied, which conrms the singular values in the table above.
i i
ACA :
i i
121
1 2 3 4 5 6 . . . 0.9228 0.4465 0.1615 0.1470 0.0807 0.0771 . . .
2 determinant
-2
-4
-6
-8
-10 0 0.1 0.2 0.3 0.4 0.5 sigma 0.6 0.7 0.8 0.9 1
Figure 5.4. The rst 6 Hankel singular values (left). Plot of the determinant versus 0 1 (right). The zero crossings are the Hankel singular values.
A C
B D
(5.27)
Similarly for discrete-time systems. Therefore this norm is bounded only if D = 0 and is stable, i.e. the eigenvalues of A are in the open left-half of the complex plane; in this case there holds (5.9):
2 H2 = 0
trace [h (t)h(t)] dt =
1 2
trace [H (i )H(i )] d
where the second equality is a consequence of Parsevals theorem. Thus using (4.44) we obtain
2 H2 = 0
Furthermore since trace [h (t)h(t)] = trace [h(t)h (t)], using (4.43), this last expression is also equal to trace [CP C ]; therefore
H2 =
trace [B QB] =
trace [CP C ] .
(5.28)
A question which arises is whether the H2 norm is induced. The question reduces to whether the Frobenius norm is induced. In [84] it is shown that the Frobenius norm is not induced (see also [98]). Furthermore in [85] it is shown that the largest eigenvalue max (CP C ) is an induced norm. For details on the denition of this (non-equi) induced norm see section 5.6. Consequently, the H2 norm is an induced norm, only in the single-input or single-output (m = 1 or p = 1) case. This norm can be interpreted as the maximum amplitude of the output which results from nite energy input signals.
i i i
2 H2
=
i=1
ci H(s) |s= =
i
ci H( i ).
i=1
(5.29)
Proof. The following realization for H holds A = diag [1 , , n ], B = [1 1] , C = [c1 cn ] Therefore the reachability gramian is Pi,j = 1 , i, j = 1, , n i + j
Thus the square of the H2 norm is CP C and the desired result follows. We now consider the case where H has a single real pole of multiplicity n: H(s) = cn c1 + + (s )n ( s )
In this case a minimal realization of H is given by A = In + Jn , where In is the n n identity matrix and Jn is the matrix with 1s on the super-diagonal and zeros elsewhere, B = [0 0 1] and C = [cn c1 ]. Then
n
2 H2
=
k=1
ck
=
s= k=1
s=
Continuous-time MIMO Assume that the matrix A is diagonalizable (i.e. multiplicities are allowed but the algebraic and geometric multiplicity of eigenvalues is the same). Thus let in the eigenvector basis:
A = diag (1 I1 , , k Ik ), B = [B 1 B2 Bk ] , C = [C1 C2 Ck ],
where Ij is the identity matrix, and H(s) = C(sI A)1 B. Then the H2 norm is given by the expression
k
2 H2
=
i=1
trace [H ( i )Bi Ci ]
Discrete-time SISO In this case we will consider systems whose transfer function is strictly proper. The constant or non-proper part can n ci be easily taken care of. Thus, let H(z ) = C(z I A)1 B = i=1 z i . The H2 norm of this system is
n
2 H2
=
i=1
ci
1 H z
1 z
z = i
We now consider the case where H has a single real pole of multiplicity n: H(z ) = c1 cn + + n (z ) ( z )
In this case (as before) a minimal realization of G is A = In + Jn , where In is the n n identity matrix and Jn is the matrix with 1s on the super-diagonal and zeros elsewhere, B = [0 0 1] and C = [cn c1 ]. Then
n
2 H2
=
k=1
dk 1 ck (k 1)! dsk1
1 H z
1 z
s=
i i
ACA :
i i
i i 5.6. Further induced norms of S and H* An example We consider a 16th order, continuous-time lowpass Butterworth lter. This is a linear dynamical system with low pass frequency characteristics; in MATLAB it can be generated by using the command butter(16,1,s), where 16 is the order, 1 is the cutoff frequency and s indicates that it is a continuous time lter. Figure 5.5 shows the Hankel singular values, the impulse response, the step response, and the Nyquist diagram of this system.
Nyquist diagram: 16th order Butterworth filter 1
123
2 6 6 6 6 6 6 6 6 6 6 4
3 2 7 6 7 6 7 6 7 6 7 6 7,6 7 6 7 6 7 6 7 6 5 4
3 7 7 7 7 7 7 7 7 7 7 5
Imaginary Axis
0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 (HS norm)2 = 4
Real Axis
The step response and its total variation (sum of vertical lines)
0.8
0.8
0.6
0.6
0.4
0.4
0.2
0.2
0.2
10
15
20
25
30
35
40
45
50
0.2
10
15
20
25
30
35
40
45
50
Figure 5.5. 16th order Butterworth lter. Upper left frame: Hankel singular values. Upper right frame: Nyquist plot. Lower left frame: impulse response and step response. Lower right frame: total variation of step response.
The various norms are as follows: the H norm is equal to 1; the H2 norm is 0.5646; since the system is SISO, this norm is equal to the 2, induced norm of the convolution operator, in other words it is the maximum amplitude obtained by using unit energy (2-norm) input signals. The , induced norm, also known as the peak-to-peak gain is 2.1314; this is equal to the peak amplitude of the output obtained for some input signal of unit largest amplitude. This number is also equal to the total variation of the step response, i.e. the sum of all peak-to-valley variations of the step response. In this case the 2-induced norm of the convolution and the Hankel operators is the same. The Frobenius norm of the Hankel operator (also known as the Hilbert-Schmidt norm) is equal to 4. Notice that the Nyquist diagram winds 3 times around 0 drawing almost perfect circles; this gives an area of 3 for the Nyquist diagram. The remaining area is actually equal to one circle; thus the total area is estimated to 4 , which veries the result mentioned earlier.
i i i
in turn is a scalar (and non-negative) function of time t and we can dene its p norm as follows
b
1 p
=
a
[(t)] dt
Combining these two formulae we get the (p, q ) norm of f , where p is the temporal norm while q is the spatial norm. To distinguish this from the cases discussed we will use a different notation:
b
1 p
||| f |||(p,q) =
f (t)
a
p q
dt
(5.30)
Recall the H older inequality (3.3) on page 28, valid for constant vectors. The generalized H older inequality valid for vector-valued time signals becomes:
1 | f , g | ||| f |||(p,q) ||| g |||(p, +p 1 = 1, q 1 + q 1 = 1 q ) , p
For a proof see [85]. The (p, q ) norm of a discrete-time vector valued function can be dened similarly; if namely, I Z, the time integrals in the above expressions are replaced by (discrete) time sums. With these generalized denitions, (5.2) and (5.3) are (p, p) norms, that is, the spatial and temporal norms are taken to be p-norms. We can now dene the corresponding (p, q ) Lebesgue spaces: L(p,q) (I , Rn ) = {f : I Rn , ||| f |||(p,q) < } Consider the map T : L(p,q) L(r,s) ; the associated induced operator norm is ||| T |||(p,q) = sup
(r,s)
(5.31)
(5.32)
These induced operator norms are called equi-induced if p = q = r = s. Otherwise they are called mixed-induced norms. Such norms are used extensively in control theory. Roughly speaking, given a system with control and disturbance inputs v, u, to-be-controlled and measured outputs w, y, the problem consists in nding a feedback control law mapping y to u, such that the (convolution operator of the) closed-loop system Scl from v to w, is minimized in some appropriate sense. In the H control problem p = q = r = s = 2, and the largest system energy gain from the disturbance to the to-be-controlled outputs is minimized. If instead of energy one is interested in maximum amplitude minimization, p = q = r = s = , and the resulting problem is the L1 optimal control problem. If p = q = 2 and r = 2, and s = , we obtain the generalized H2 control problem. We refer to [85] for a more complete description of such problems and appropriate references. We will now conclude this section by quoting some results from [85] on induced norms of the convolution operator. The following notation will be used: given a matrix M 0, max (M) denotes the largest eigenvalue of M, while max (M) denotes the largest diagonal entry of M. Proposition 5.9. Let S : L(p,q) (R+ , Rm ) L(r,s) (R+ , Rp ), and H : L(p,q) (R , Rm ) L(r,s) (R+ , Rp ). The following are equi-induced norms in time and in space, in the domain and the range: p = q = r = s
2
(2,2)
1 2
R ( y+ R0
0
= [max (PQ)] 2
j
(,)
= maxi
ij , where ij =
i
|hij (t)| dt
0
R (|y1 |++|yp |) dt R 0
= maxj
ij , where ij =
|hij (t)| dt
i i
ACA :
i i
The following are mixed-induced norms; they are equi-induced in time and in space, in the domain p = q , and separately in time and in space in the range: r = s
1, 2
(2,2)
2,
R
0
R
0
R0
R
0
supu=0
supt0
2 (t)++y2 (t) y1 p
(,2)
supt0
R
0
More generally, ||| S |||(,q) , for q, s [1, ], are L1 operator norms. Finally, the induced norms ||| |||(1,q) , ||| |||(2,2) , ||| |||(1,q) , q, s [1, ], of the convolution operator S and of the Hankel operator H, are equal. Notice that for SISO systems the L1 -induced and the L -induced norms of the convolution operator S are the same, and equal to 0 | h | dt.
(,s) (,s)
= =
L2
w(t)
dt , where w(t)
||| w |||(,) = w
Frequency-domain Lebesgue norms. Consider a matrix valued function of s = i : H : iR Cpm , with p m. The L1 , L2 , and L norms of H are dened as above. Notice that the spatial and the frequency norms are the same: H H H
L1
= =
L2
H(i )
d , where H(i )
Frequency-domain Hardy norms. Consider a matrix valued function H : C Cpm , with p m, of the complex variable s = + i C, that is, of the two real variables and . We assume that H is analytic in the closed RHP (i.e. analytic for Re(s) 0). The H1 , H2 , and H norms of H are dened as follows:
ACA
H H H
H1
= sup>0 =
H2
sup>0
H( + i )
d , where H(s)
2 2 = 1 (H(s)) + + p (H(s)).
i i i
As a consequence of the maximum modulus theorem, the Hardy norms are equal to the corresponding frequency domain Lebesgue norms: H
H1
= H
L1
H2
= H
L2
= H
Induced and non-induced norms of . The expressions for the most common induced and non-induced norms of are summarized. They involve the norms of the convolution operator S : u y = S (u) = h u, and of the Hankel operator H: u y+ = H(u ). We note that in case of induced norms, the spatial and the temporal norms are taken to be the same.
= = =
S H S S
p
2ind
L2 -norm of S : sup of freq. resp. L2 -norm of H: Hankel norm L1 -norm of S : peak row gain L -norm of S : peak column gain RMS gain
2,2ind
= 1 (H) =
P
j
max (PQ)
R
0
,ind
= maxi
ij , ij =
|hij (t)| dt
= =
1,1ind
= maxj
P
i
ij , ij =
R
0
|hij (t)| dt
H2
trace [C P C] =
trace [BQB ]
Let i , i = 1, , q be the distinct Hankel singular values of (see (5.22)). The various induced norms of S and the Hankel singular values satisfy the following relationships.
H
2(1 + + q )
2(1 + + q ) 2n
2
This system is called stable if all solution trajectories x are bounded for positive time: x(t) for t > 0 are bounded. The system is called asymptotically stable if all solution trajectories go to zero as time tends to innity: x(t) 0 for t . Furthermore the matrix A is called Hurwitz if its eigenvalues have negative real parts (belong to the LHP left-half of the complex plane). The following holds. Theorem 5.10. The autonomous system (5.33) is Asymptotically stable if, and only if, all eigenvalues of A have negative real parts, that is A is Hurwitz. Stable if, and only if, all eigenvalues of A have non-positive real parts and in addition, all pure imaginary eigenvalues have multiplicity one.
i i
ACA :
i i
i i 5.8. System stability In the sequel we identify stability with asymptotic stability. The discrete-time analogue of (5.33) is x(t + 1) = Ax(t), A Rnn (5.34) 127
This system is (asymptotically) stable if the eigenvalues of A have norm at most one: (|(A)| < 1) |(A)| 1; in the latter case any eigenvalues on the unit circle must have multiplicity one. Here A is called a Schur matrix. The eigenvalues of A are often referred to as the poles of (5.33), (5.34) respectively. Thus we have the well known statement: stability poles in LHP/unit disc We now turn our attention to forced systems = :
A C B D
where A Rnn , B Rnm , C Rpn , D Rpm . This system is called internally stable if u(t) = 0, for t > 0, implies x(t) 0, for t . In other words, internal stability of a forced system, is equivalent to zero-input stability. Let us now consider the input-output (i.e. the convolution) representation of forced systems: y = h u, where h is the impulse response of the system, assumed causal (h(t) = 0, t < 0). We want to address the question of what is meant by stability of such a system, in particular what properties of h guarantee stability of the system; moreover, we also want to ask the question: if the system with impulse response h is realizable, what is the relation between the stability of the external representation and that of the realization. The system described by the convolution integral y(t) = h(t )u( )d , is BIBO stable (i.e. boundedinput, bounded-output stable), if any bounded input u results in a bounded output y:
p u Lm (R) y L (R).
To avoid ambiguity we stress that both the spatial and the temporal norms are the innity norms (in the domain and the co-domain). The following result holds. Theorem 5.11. The system described by the convolution integral given above is BIBO stable if, and only if, the L -induced norm of the convolution operator is nite. According the previous section, this means that the (i, j )th entry hij of the p m impulse response h, must be absolutely integrable
Closely related to BIBO stability is L2 stability. The convolution system mentioned above, is said to be L2 inputp output stable if all square integrable inputs u Lm 2 (R) produce square integrable outputs y L2 (R). Theorem 5.12. The convolution system is L2 input-output stable if, and only if, the L2 induced norm of is nite, which is in turn, equivalent to the niteness of the H norm of the associated transfer function H. In a similar way, one can dene Lp input-output stability. In this respect there holds Proposition 5.13. The niteness of the L1 norm of the impulse response h implies the Lp I/O stability of for 1 p . We conclude this section with a result which relates internal and I/O stability. For this it is assumed that h is realizable, that is, there exist A Rnn , B Rnm , C Rpn , with n nite, such that h(t) = CeAt B. The following holds.
ACA
i i i
Theorem 5.14. Given a system and a nite dimensional realization are equivalent. 1. 2.
1 2
< . < .
3. There exists a realization of , with A Hurwitz. 4. Every minimal realization of has A Hurwitz. This theorem asserts that internal stability implies external stability and that conversely, external stability together with minimality implies internal stability. For instance, the system d x(t) = dt 1 1 0 1 x(t) + 0
1 2
u(t), y(t) =
x(t),
with impulse response h(t) = et , t 0, while BIBO stable, is not asymptotically stable.
d dt (x(t))
Usually Q = Q is given. Thus the problem of constructing a Lyapunov function amounts to solving for P the Lyapunov equation: A P + PA = Q (5.36) The discrete-time analogue of this equation is A PA + P = Q (5.37)
known as the discrete-time Lyapunov or Stein equation. The next result summarizes some properties which are discussed in section 6. Theorem 5.15. If A is Hurwitz, then for all Q Rnn , there exists a unique P Rnn which satises (5.36). Moreover if Q = Q then P = P ; and if Q = Q 0 and (A, Q) is observable, then P = P > 0. Conversely, if
i i
ACA :
i i
Q = Q 0 and P = P > 0 satisfy (5.36), then (5.33) is stable. If in addition the pair (A, Q) is observable, then (5.33) is asymptotically stable. be the position and velocity Example 5.8.1. (a) Consider a mass-spring-damper system attached to a wall. Let x, x + cx + k x = 0. This can be written as a rst order system of the mass; the following equation holds: mx = Aw where A = w 0 k m 1 c m and w =
1 2 w Pw,
x x
k 0 ; that is V = 0 m 1 1 2 2 2 k x + 2 mx , is the sum of the potential energy stored in the spring plus the kinetic energy of the mass, and hence always positive, whenever the system is not at rest. According to the above considerations, in order to prove stability 0 0 we have to compute A P + PA = Q. It turns out that Q = 0; the negative semi-deniteness of Q 0 c proves stability; asymptotic stability follows from the additional fact that the pair (A, Q) is observable. (b) We now consider the system in example 4.2.1 with u = 0 (i.e. the input terminal is short-circuited). The = Ax, where x = [x1 , x2 ], x1 is the current through the inductor differential equation describing this system is x 1 1 + Rx 1 + C and x2 is the voltage across the capacitor. Eliminating x2 , we get Lx x1 = 0. As Lyapunov function 1 2 2 we will take the energy stored in this circuit, namely in the inductor and the capacitor V = 1 2 Lx1 + 2 C x2 , that is L 0 1 = x Qx, where Q = A P + PA = R 0 0. Stability follows V = x Px, P = 2 . Thus V 0 C 0 0 from the negative semi-deniteness of Q and asymptotic stability from the additional fact that (A, Q) is an observable pair. We postulate the following quadratic Lyapunov function V = where P =
5.8.3
We conclude this section with a brief account on L2 systems dened on the whole real line R. These are systems which produce L2 trajectories on R, when fed with trajectories which are L2 on R. When all poles of the system are in the left-half of the complex plane, this property is automatic. However, if the poles are both in the left as well as in the righthalf of the complex plane, but not on the imaginary axis, by giving up causality we can dene an L2 system. Then, all pass L2 systems are dened and characterized in terms of the transfer function and a state representation. Here are the details. Given is the linear, continuous-time system =
A C B D
at rest in the distant past: x() = 0. Its impulse response and transfer function are h (t) = CeAt B + D (t), t 0 h = 0, t < 0, H (s) = D + C(sI A)1 B. The impulse response h as dened above, is not square integrable on R unless the eigenvalues of A lie in the lefthalf of the complex plane. Therefore the associated convolution operator S dened by (4.5) with h as dened above does not map L2 inputs u into L2 outputs y unless A is stable. The system can nevertheless be interpreted as an L2 system on the whole real line. The formulae below hold for continuous-time systems; the corresponding ones for discrete-time systems follow in a similar way and are omitted. Let A have no eigenvalues on the imaginary axis, that is Rei (A) = 0. After basis change, A can be written in block diagonal form: A+ B+ A= , B= , C = (C+ C ) A B where Rei (A+ ) < 0 and Rei (A ) > 0. We now re-dene the impulse response h as follows: hL2 (t) = h+ (t) = C+ eA+ t B+ , t > 0 h (t) = C eA t B , t 0
p The associated system operator SL2 denes a map from Lm 2 (R) to L2 (R), and associated Hankel operator HL2 denes p a map from Lm 2 (R ) to L2 (R+ ); they are dened as follows:
hL2 (t )u( )d
April 14, 2004
i i i
h+ (t )u( )d
An important property of the L2 system is that it has the same transfer function as the original system: HL2 (s) = H(s). The above considerations allow the denition of the 2norm and of the Hankel norm of unstable systems. The former is done by means of hL2 and the latter by means of h+ . Norms of unstable systems play an important role in the theory of Hankel norm approximation presented in chapter 8 on page 205. Here is the precise statement. Norms of unstable systems. Given an unstable system with no poles on the imaginary axis (unit circle), its 2norm is dened as the 2-induced norm of the convolution operator of the associated L2 ( 2 ) system. This is equal to the supremum of the largest singular value of the transfer function on the imaginary axis (the unit circle) and is know as its L ( ) norm.
2
= S L2
2ind
L .
(5.38)
The Hankel norm of an unstable is equal to the Hankel norm of its stable subsystem + and there holds
2 H
= +
H,
(5.39)
H.
Remark 5.8.1. The steps presented in proposition 5.3 for the computation of the H norm of a stable system by ( ), can also be applied if the eigenvalues of A are not necessarily in the left-half means of the Hamiltonian matrix A of the complex plane. In this case the result of the computation provides the L norm of the transfer function H, i.e. according to (5.38) the 2norm of the unstable system . Example 5.8.2. We will consider a simple second order discrete-time system with one stable and one unstable pole: : y(k + 2) (a + b)y(k + 1) + aby(k ) = (a b)u(k + 1), |a| < 1, |b| > 1. The transfer function of is H(z ) = (a b)z a b = (z a)(z b) z+a z+b
The impulse response of this system is h(0) = 0, h(k ) = ak bk , k > 0. The H2 norm of the system is the 2 -norm of h, which since |b| > 1, is innite. The 2-induced norm of the convolution operator is the largest singular value of S= . .. . . . 0 ab a2 b2 a3 b3 . . . . . . 0 0 ab a2 b2 . . . . . . . . . 0 0 0 0 0 0 ab 0 . . . . . . .. . ,
which is also innite. As indicated above, these norms are dened as the corresponding norms of the associated 2 -system
2
+ b2j ) =
b 2 a2 (1a2 )(b2 1) .
i i
ACA :
i i
i i 5.8. System stability matrix associated with the convolution operator, dened on page 109, be: bn bn+1 . . . = 1 . . . an1 an an bn . . . b1 . . . a an1
n2
131
.. .
a a2 bn
bn+2 bn+3 . . . a2 . . . bn b
n+1
bn+1 bn+2 . . . a . . . an bn
R(2n+1)(2n+1) .
S2n+1
b 1
..
As n , its eigenvalues approach those of the convolution operator S . Moreover the singular values of S2n+1 lie between |a b| |a b| i (S2n+1 ) , i = 1, 2, , 2n + 1. (1 + |a|)(1 + |b|) (1 |a|)(|b| 1)
ab| Thus the 2 -induced norm of 2 is (1|| a|)(|b|1) . This is also the maximum of the transfer function on the unit circle, that is the norm of H. Finally, by denition, the Hankel norm of is the Hankel norm of its stable part + , i.e., y(k + 1) ay(k ) = au(k + 1), which is readily computed to be a/(1 a2 ).
All-pass L2 -systems We are now ready to characterize (square) L2 -systems (i.e. L2 -systems having the same number of inputs and outputs) which are all-pass, i.e. their transfer functions are unitary on the i -axis. The results are presented only for continuoustime systems which need not be stable. Denition 5.16. An L2 -system is all-pass or uniraty if u
2=
2,
As before, the transfer function of is denoted by H(s) = D + C(sI A)1 B. The basic statement given below is that a system is all-pass if, and only if, all its Hankel singular values are equal to one for some appropriate D. Theorem 5.17. The following statements are equivalent: 1. The L2 system is square p = m, and all-pass. 2. H (i )H(i ) = Im . 3. Q : A Q + QA + C C = 0, QB + C D = 0, D D = Im . 4. The solutions P , Q of the Lyapunov equations (4.45) and (4.46), page 69, satisfy PQ = In and D D = Im . Remark 5.8.2. The third condition of the above theorem can be expressed by means of the following single equation: A B Q 0 + Q 0 A B + C D 0 Im C 0 D Im =0
which is a structured Sylvester equation. Corollary 5.18. (a) The transfer function of an all-pass system can be written as follows: H(s) = (I C(sI A)1 Q1 C )D. (b) Given A, B, C, there exists D such that the system is all-pass if, and only if, the solutions P , Q of the Lyapunov equations (4.45), and (4.46) satisfy PQ = I . (c) The 2 norm of the system, which is the L norm of H, is 1.
ACA
i i i
Example 5.8.3. Consider the second order all-pass system described by the transfer function: H(s) = (s + a)(s + b) , a+b=0 (s a)(s b)
We rst assume that a > 0 and b < 0. In this case a minimal realization of H is given as follows: a 0 c a+b a+b A B = 0 b d , c 2 = 2a > 0, d2 = 2b >0 C D ab ab c d 1 It follows that the solutions of the two Lyapunov equations are equal 2 P = Q =
c 2a cd a+ b d2 2b cd a+ b
a+b a b 2 ab a b
2 ab ab a+ b a b
PQ = I
Notice that the eigenvalues of P are 1 = 1, 2 = 1, irrespective of the parameters a and b. Next, we assume that a > b > 0. In this case a minimal realization of H differs from the one above by a sign: a 0 c a+b a+b A B b d , c 2 = 2a = 0 > 0, d2 = 2b >0 C D ab ab c d 1 In this case P and Q are no longer equal: 2 P =
c 2a cd a+ b d2 2b cd a+b
a+b a b 2 ab a b
2 ab a b a+b a b
, Q =
c2 2a
acd +b
d2 2b
acd +b
a+b a b ab 2a b
ab 2a b a+ b ab
Clearly, the product of P and Q is the identity matrix. Furthermore these two matrices have the same set of eigenvalues, 2 ( a+ b) 1 namely 1 = , 2 = , whose product is equal to one. ab 1 Proof. [1] [2] First we notice that y = S (u) is equivalent to Y = HU, in the frequency domain. Thus, the following string of equivalences holds: Y
2=
HU
Y, Y
= HU, HU
= U, H HU
= U, U H H = I
[2] [3] for m = p. We make use of the following auxiliary result (D + C(sI A)1 B)1 = D1 (I C(sI A )1 BD1 ) where A = A BD1 C. Hence, from [H(s)]1 = H (s), s = i , we obtain that D1 (I C(sI A )1 BD1 ) = D + B (sI + A )1 (C ) D1 = D and there exists Q, det Q = 0, such that (a) B Q = D1 C, (b) Q1 C = BD1 , and (c) Q1 A Q = A = A BD1 C. Thus (a) and (b) imply QB + C D = 0, while (c) implies A Q + QA QBD1 C = 0. Combining the last two equations we obtain A Q + QA + C C = 0. Since Re i (A) = 0, the above equation has a unique solution Q, which is symmetric since it also satises A Q + Q A + C C = 0. [3] [2] By direct computation we obtain H (v )H(w) = I (v + w)C(v I A)1 Q1 (wI A )1 C which implies the desired result for w = i = v .
i i
ACA :
i i
[3] [4] Let P satisfy AP + P A + BB = 0. It follows that Q(AP + P A + BB )Q = 0, and hence QA(PQ) + (QP )A Q + QBB Q = 0. Substituting QB = CD and subtracting from AQ + A Q + C C = 0, we obtain QA (I PQ) + (I QP ) A Q = 0 RX + X R = 0
R X X R
Since Re i (A) = 0, the unique solution is X = 0 which implies the desired PQ = I. [4] [3] Follows similarly.
(x(t1 )) (x(t0 ))
t0
(5.40)
holds, for all t0 t1 and all trajectories (u, x, y) which satisfy the system equations. Therefore if t01 s dt > 0, we will say that work is done on the system, while if this integral is negative we will say that work is done by the system. The non-negative function is called a storage function. It is a generalized energy function for the dissipative system in question. Thus the above denition says that the change in internal storage, namely, (x(t1 )) (x(t0 )), can never exceed what is supplied to the system. Finally, if (x) is differentiable with respect to time, along trajectories x of the system, the dissipation inequality can be written as d (x(t)) s(u(t), y(t)). dt (5.41)
Thus the storage function generalizes the concept of Lyapunov function given in (5.35), from autonomous or closed systems to open systems, that is, systems with inputs and outputs. Consequently the concept of dissipativity generalizes to open systems the concept of stability. There are two universal storage functions which can be constructed, namely, the available storage and the required supply. The former is dened as follows:
s(u(t), y(t)) dt ,
(5.42)
where (u, x, y) satisfy the system equations, and in addition x(0) = x0 , x() = 0. Therefore avail (x0 ) is obtained by seeking to maximize the supply extracted from the system starting at a xed initial condition. The latter is
0
ACA
s(u(t), y(t)) dt ,
(5.43)
April 14, 2004
i i i
where (u, x, y) satisfy the system equations, and in addition x() = 0, x(0) = x0 . In this case, req (x0 ) is obtained by seeking to minimize the supply needed to achieve a xed initial state. A result due to Willems [360], [361], states that a system is dissipative if and only if req (x0 ) is nite, for all x0 ; in this case storage functions form a convex set and in addition the following inequality holds: 0 avail (x0 ) (x0 ) req (x0 ) Thus the available storage and the required supply are extremal storage functions. Some commonly used supply functions are s(u, y) = u
2 2
(5.44)
y 2 2,
Q= Q= Q=
I 0
0 I
(5.45) (5.46)
s(u, y) = u y + y u, s(u, y) = u
2 2
0 I I 0 I 0 0 I
+ y 2 2,
Notice that if s = 0, the storage function becomes a Lyapunov function and dissipativity is equivalent to stability. Remark 5.9.1. Electrical and mechanical systems. For electrical circuits consisting of passive components, that is resistors, capacitors, inductors and ideal transformers, the sum of the product of the voltage and current at the external ports, which is the power supplied, constitutes a supply function: k Vk Ik electrical power. In mechanical systems, the sum of the product of the force and velocity as well as angle and torque of the various particles is a possible supply d d function: k (( dt xk ) Fk + ( dt k ) Tk ) mechanical power. Linear systems and quadratic supply functions Consider the linear system =
A C B D
, with the supply rate s. The central issue now is, given s, to determine
whether is dissipative with respect to s. This amounts to the construction of a storage function such that the dissipation inequality holds. Consider the general quadratic supply function which is a function of the external variables, namely, the input u and the output y: s(u, y) = y u Qyy Quy
Q
Qyu Quu
y u
, Q = Q R(p+m)(p+m) ,
(5.47)
where no deniteness assumptions on Q are necessary at this stage. Given that y = Cx + Du, the supply function can also be expressed in terms of the state x and the input u: s = x Q11 x + x Q12 u + u Q21 x + u Q22 u, where = Q Q11 Q21 Q12 Q22 = C D 0 Im Qyy Quy Qyu Quu C D 0 Im ,
inherits the symmetry property from Q. We are now ready to state the following theorem due to Willems. Theorem 5.19. Consider the system =
A C B D
the quadratic supply function s. The following statements are equivalent. (1) is dissipative with respect to s. (2) admits a quadratic storage function = x Xx, with X = X 0.
i i
ACA :
i i
i i 5.9. System dissipativity* (3) There exists a positive semi-denite solution X to the following set of LMIs (Linear Matrix Inequalities): A X + XA B X XB 0 + C D 0 Im Qyy Quy Qyu Quu C D 0 Im 0 135
(X)
(5.48)
(7) The transfer function H(s) = D + C(sI A)1 B satises H (i ) I Qyy Quy Qyu Quu H(i ) I 0,
for all R, such that i is not a eigenvalue of A. Corollary 5.20. Let Q22 be non-singular and dene the quantities
1 1 1 F = A BQ 22 Q21 , G = BQ22 B , J = Q12 Q22 Q21 Q11 .
There are two further conditions which are equivalent to the seven listed in the theorem. (8) There exists a solution X = X 0 to the Riccati equation F X + XF + XGX + J = 0, (ARE)
(9) There exists a solution X = X 0 to the Riccati inequality F X + XF + XGX + J 0. In case of dissipativity, the quadratic form d= x u (X) x u = Kx + Lu
2
0,
is positive semi-denite, where the second equality follows from part (3) of the theorem. Thus d=s d , = x Xx dt Kx + Lu
2
= s
d x Xx 0. dt
d is a dissipativity function for the system with the supply rate s. This relationship says that what gets dissipated at time t, which is always non-negative, is equal to the supply at time t minus the rate of change of the storage function. Remark 5.9.2. Two renements. (a) If the dissipation inequality (5.40) (and consequently (5.41)) is satised with equality, the system is called conservative with respect to s. In this case, the inequality in part (3) of theorem 5.19 is
ACA
i i i
satised with equality: (X) = 0. Consequently in part (4) of the same theorem K = 0 and L = 0. Thus conditions (5.48) become (5.49) A X + XA = Q11 , XB = Q12 , Q22 = 0. It readily follows that a stable system is unitary or all-pass if it is conservative with respect to the supply function (5.45). In particular the conditions in part 3. of theorem 5.17 coincide with (5.49), where Q11 = C C, Q12 = C D, and Q22 = I D D. Furthermore the inequality in part (6) of theorem 5.19 becomes an equality and in the all-pass case becomes identical with part 3. of theorem 5.17. As a consequence, the Riccati equation is replaced by a Lyapunov equation which has a unique solution. Therefore in the case of conservative systems, there is a unique storage function avail = = req . (b) If the dissipation inequality (5.40) (and consequently (5.41)) is strict, the system is called strictly dissipative with respect to s; as a consequence, all inequalities in theorem 5.19 are strict. Example 5.9.1. m2 b2 k2 m1 q1 T b1 k1 3 3 3road prole T q2 We consider a simplied model of a car suspension. It is composed of a mass m1 which models the wheel, together with a spring with constant k1 and a damper with constant b1 which model the interaction of the wheel and the road. The car chassis has a mass m2 and its connection with the wheel is modeled by means of a second spring and damper with constants k2 , b2 , respectively. There is a (control) force f applied to the axle (i.e. to the wheel) which acts on m1 vertically. The wheel follows the road which has a prole described by its distance q0 from a xed position. Furthermore, the distance of the masses m1 , m2 from the same xed position are q1 , q2 , respectively. The equations of motion are as follows. For simplicity time derivatives are denoted by dots.
3 33 3 T 3 q0
m2 q 2 + b2 (q 2 q 1 ) + k2 (q2 q1 ) = 0 m1 q 1 b2 (q 2 q 1 ) k2 (q2 q1 ) + b1 (q 1 q 0 ) + k1 (q1 q0 ) = f Notice that b1 (q 1 q 0 ) + k1 (q1 q0 ), is the force exerted by the road on the wheel. The inputs to this system are therefore the road prole q0 and the control force f . The output may be chosen as q2 . This is a dissipative system as there are no active components. To formalize this we introduce the supply function which consists of the sum of products of force times velocity s = fq 1 [b1 (q 1 q 0 ) + k1 (q1 q0 )] q 0 . From physical considerations if follows that a storage function is = 1 1 1 1 2 2 + m2 q + k1 (q1 q0 )2 + k2 (q2 q1 )2 , m1 q 1 2 2 2 2 2
which is the sum of the kinetic energies of the two masses and the sum of the energy stored in the two springs. The dissipation function d = b2 (q 2 q 1 )2 + b1 (q 1 q 0 )2 , . Notice is the energy dissipated in the two dashpots. Indeed a straightforward computation shows that d = s that if the dashpots are absent, i.e. b1 = b2 = 0, the system is conservative, which means that the energy supplied is stored and no part of it is dissipated as heat. The above storage function is not unique. To characterize all of them we can apply theorem 5.19. This is left as an exercise for the reader (see problem 31). We will not provide a proof of the above theorem and corollary. We refer instead to the original source, namely the work of Willems [360], [361]. See also the lecture notes of Weiland and Scherer [288].
i i
ACA :
i i
Instead in the sections that follow, we will attempt to clarify two special cases. The rst uses the supply function(5.46) and is used to discuss issues related to passivity of a given system. The equalities (5.48) provide in this case a state space characterization of passivity and are known as the positive real lemma, or as the KYP lemma, where the abbreviation stands for Kalman-Yakubovich-Popov. The second case makes use of the supply function (5.45), and is used to investigate contractivity of the system, that is whether the system has H norm less than unity. Equations (5.48) provide a characterization of contractivity and are known as the bounded real lemma.
H(s) = a0 +
i=1 =1
ai (s i )
where ai and ai are complex numbers that are uniquely determined by H, aini = 0, for i = 1, 2, . . . , k . If a pole, k is simple, that is nk = 1, ai1 is the residue of H at the pole i ; in fact, ak1 = (s k )H(s)|s=k . The following result follows from the denition. Proposition 5.21. H(s) = 0 is p.r. if, and only if, H(s1 ) is p.r. if, and only if, H1 (s) is p.r. Proof. Observe (using continuity) the obvious fact that H is p.r. iff Re(H(s)) 0 for all but a nite number of points s in the right-half plane Re(s) > 0. The map s 1/s is a bijection for s = 0, Re(s) 0. Hence Re H(s) 0, for all but a nite number of points in Re(s) 0 iff Re(H(s1 )) 0, for all but a nite number of points in Re(s) 0. Hence the rst equivalence is proved. For the second one we notice that = 0 satises Re() 0 iff Re(1 ) 0. Hence Re H(s) 0 for all but a nite number of points s with Re(s) 0 iff Re H1 (s) 0 for all but a nite number of points s, Re(s) 0, and the proof is complete. The next result provides the characterization of positive realness in terms of the external representation of . Theorem 5.22. The following statements are equivalent. (a) H is p.r. (b) H satises the following conditions: (i) Re H(i ) 0 for all R, such that i is not a pole of H, (ii) the system is stable, that is, all poles of H lie in the left-half of the complex plane: Re() 0, (iii) the poles of H on the imaginary axis are simple, and the associated residues are real and positive. (iv) The difference between the degree of the numerator and that of the denominator is at most one: deg (n) deg (d) 1. Furthermore if there is a pole at innity, it is, as those on the imaginary axis, simple, and the (s) 0. associated residue is positive: lim|s| Hs
ACA
i i i
(c) All inputoutput pairs (u, y) of compact support, which are compatible with the system equations d( satisfy the dissipation inequality d d )y = n( )u dt dt (5.50)
u(t) y(t) dt 0.
(5.51)
Proof. (a) (b): (b)(i) is trivial. To prove (b)(ii) and (iii), examine the partial fraction expansion of H in a small circle around a right half plane or an imaginary axis pole. To prove (b)(iv), examine the real part of H(s) in a large circle, centered at 0, where the polynomial part of H dominates. (b) (c): Consider the partial fraction expansion of H. Part (b) shows that H may be written as b0 H(s) = a0 s + + s
r k=1
ak s 2 + H0 (s), s2 + k
with a0 0, b0 0, ak > 0, 0 = k R, H0 is proper and all its poles are in the open lefthalf of the complex plane. Note that Re H0 (i ) = Re H(i ) for all R, and i not a pole of H. Let H0 = n0 /d0 , with n0 , d0 co-prime polynomials. Note that d0 is Hurwitz. Now consider the systems 0 : 1 : 2,i : 3 : :
2
y0
d dt y1 d 2 dt2 y2i + i y2i d d0 ( dt )y3
= = = = =
d u a0 dt
b0 u
d ai dt u, d n0 ( dt )u,
i = 1, 2, . . . , k
k i=1
y1 + y2 +
y2i + y3
Clearly the pair of input/output functions (u, y) satises (5.50) iff y0 , y1 , y2i , i = 1, 2, . . . , k , y3 satisfy the above equations. k It is easy to see (using observability) that, if (u, y) have compact support, where y = y1 + y2 + i=1 y2i + y3 , the summands y0 , y1 , y2i , y3 must have compact support. Hence in order to prove that (5.51) holds for , it sufces to prove it for 0 , 1 , 2,i , i = 1, 2, . . . , k , and 3 . We now prove that for each of these systems the inequality analogous to (5.51) holds. Consider compact support trajectories satisfying the equations of each of these systems. For 0 ,
0 0
u(t)y0 (t) dt = a0
u(t)
d 1 u(t) dt = a0 u2 (0) 0. dt 2
u(t)y1 (t) dt =
1 b0
u(t)y2i (t) dt = ai
2 i +
d2 dt2
d 1 1 d 2 2 dt = ai i (0) + ai (0) dt 2 2 dt
Finally, consider 3 . Using Parsevals theorem, it follows that for L2 signals, there holds:
u(t)y3 (t) dt =
(i )H0 (i ) u u(i ) dt =
i i
ACA :
i i
is the Fourier transform of u, This shows the inequality for integrals over the real line R, but we need it for where u 0 integrals on the negative real line R only. To show that u(t)y3 (t) dt 0, consider the input u which is dened as u (t) = u(t), t 0, u (t) = 0, t > 0. Let the corresponding output be y3 . Since u L2 (R, R), and since d0 is Hurwitz, it follows that y3 L2 (R, R). Hence
0
u (t)y3 (t) dt =
u(t)y3 (t) dt 0.
Note that u may not be in C , and therefore a smoothness argument is strictly speaking required to complete the proof of non-negativity. 0 k The desired inequality thus follows u(t)y(t) dt 0, where y = y0 + y1 + i=1 y2i + y3 , for all (u, y) of compact support. (c) (a): We show that by considering exponential trajectories, (c) implies Re H(s) > 0, for all s with Re(s) > 0, and s not a pole of H. Consider u(t) = est and y(t) = H(s)est . Obviously, (u, y) is an admissible inputoutput pair for the system. Now by (c),
0
0 Re
u (t)y(t) dt
= Re H(s)
eRe(s)t dt
Hence Re H(s) 0. Note that such inputoutput pairs do not have compact support and therefore an approximation argument is strictly speaking required, to deduce the non-negativity of Re Assume, without loss of generality that H = the output, and consider H1 ). Let =
n n d 0
is proper (otherwise, exchange the roles of the input and be a minimal (i.e., reachable and observable) state space
A C
B D
representation system of H, with state space R . We now discuss what constraints are imposed by positive realness on state representations. Theorem 5.23. The following conditions are equivalent. 1. H is p.r., 2. is dissipative with respect to the supply rate s = u y + y u. 3. There exists X Rnn , X = X > 0, such that the Linear Matrix Inequality (LMI) A X + XA B X C holds. Proof. (1) (2). From the previous result, it follows that Dene req : Rn R by (5.43), namely req (x0 ) = inf
0
XB C D D
u(t)y(t) dt
where the inmum is taken over all (u, x, y) of compact support that satisfy the system equations and in addition x(0) = x0 . Further, for all such (u, x, y), there holds
t1 t1 t0 t1
u (t)y (t)dt
t0
u(t)y(t)dt + inf
u (t)y (t)dt =
t0
where the inma are taken over all elements (u , x , y ) of compact support, constrained by x (t1 ) = x(t1 ), for the rst, x (t0 ) = x(t0 ) for the second inmum. This proves that since the dissipation inequality (5.40) is satised, denes a dissipative system with storage function req .
ACA
i i i
i i 140
0
(2) (3). We rst prove that (2) implies u(t)y(t) dt 0, for all (u, y) of compact support. Let be the storage function. Then for all (u, x, y) of compact support, there holds
0
Since is bounded from below, this implies that u(t)y(t) dt is bounded from below for all (u, y). We claim that 0 is a lower bound. This is easily proven by contradiction: assume that there exists (u, y) of compact support, 0 such that u(t)y(t) dt < 0. Now use the input u and let to obtain a contradiction. We now prove that
0
u(t)y(t) dt 0 for all (u, y) of compact support implies (3). Note that the LMI implies d x Xx u y dt
for all (u, x, y), equivalently that x Xx is a storage function. It hence sufces to prove that req (x) is a quadratic function of x. Here is the idea. We will need the convolution operator S which maps the space of C (R , Rm ) functions of compact support into itself by S (u)(t) = Du(t) + t CeA(t ) Bu( )d . We will also need the operator T which maps the space of C (R , Rm ) functions of compact support into Rn by T (u) =
0 eAt Bu(t)dt.
where the inmum is taken over all u C (R , Rm ) of compact support subject to the constraint T (u) = x0 . By assumption, u, S u L2 (R ,Rm ) 0. The fact that the inmum is hence a quadratic function of x0 readily follows from rst principles: req (x0 ) is the inmum of a quadratic functional with a linear constraint. (3) (1) is trivial. From theorem 5.19, and in particular (5.48) and (ARE) we obtain the following result. Corollary 5.24. (a) Positive Real Lemma. The minimal system =
A C B D
supply rate s = y u + u y, if, and only if, there exist X = X 0, K and L such that A X + XA + K K = 0 XB + K L = C D + D = L L
(5.52)
(b) Let D + D be non-singular, and = (D + D )1 . The system is positive real if, and only if, there exists a positive semi-denite solution X = X 0 to the Riccati equation (A C B )X + X(A BC) + XBB X + C C = 0. (PRARE)
We conclude this section with a result concerning p.r. rational functions with real or pure imaginary poles. Corollary 5.25. Assume that all the roots of both d and n are real. Then H is p.r. if the roots of d and n are nonpositive and interlacing, and the leading coefcients of d and n have the same sign. If all the roots of both d and n are purely imaginary, H is p.r. if, and only if, the roots of d and n interlace, and the leading coefcients of d and n have the same sign. Proof. Assume, without loss of generality, that H is proper (otherwise, consider H1 ). The rst assumption on the n ai poles and zeros implies that H can be written as H(s) = a0 + i=1 s+ bi , with 0 b0 < b1 < < bn . The assumptions of the zeros (examine the behavior of H on the real axis) and on the leading coefcients imply further
i i
ACA :
i i
that a0 0, and ai > 0, for i = 1, 2, . . . , n. Obviously now, H is p.r., since each term of the sum is. This can also been seen from the state representation with A = diag (b1 , b2 , . . . , bn ), B = C = [ a1 a2 an ], D = a0 . The LMI is satised with X = In . Using part (b) of theorem 5.22, we conclude that H p.r. implies that its partial fraction expansion looks like H(s) = ai s a0 , + 2 + 2 s s i i=1
n
with a0 0, ai > 0, for i = 1, 2, . . . , n, and 0 1 < 2 < < n . By investigating the behavior of the imaginary part of H on the imaginary axis, we conclude that between any two poles there must be at least one zero. Since H is strictly proper it follows that there is exactly one zero between any two poles. To prove the converse, use the interlacing property to conclude that H admits a partial fraction expansion as above. This implies that H is p.r., since it is the sum of p.r. functions. This can also be seen from the state representation with A = diag 0, 0 1 1 0 ,, 0 n n 0 , B = C = [ a0 a1 0 a2 0 an 0], D = 0.
If a0 = 0, delete the rst element. Observe that the LMI is satised with X = In .
Some remarks on network synthesis Theorem 5.26. H is the driving point impedance of an electric circuit that consists of an interconnection of a nite number of positive Rs, positive Ls, positive C s, and transformers if and only if H is p.r. The only if part of the above theorem is analysis. The if part, is synthesis. This result, undoubtedly the most spectacular in electric circuit theory, was proved by Otto Brune in his M.I.T. Ph.D. dissertation [76]. It turns out that the required number of reactances (that is, the number of Ls and C s combined) is equal to max{deg(d), deg(n)}, (the McMillan degree of H). Brunes synthesis however requires ideal transformers. In 1949, Bott and Dufn proved in a half-page (!) paper which appeared in the Letters to the Editor section of the Journal of Applied Physics [68], that transformers are not needed. This problem was a well-known open problem at that time, and Raoul Bott solved it as a graduate student working under the direction of Richard Dufn at Carnegie Institute of Technology. Transformerless synthesis requires a number of reactances that is larger than max{deg(d), deg(n)}. In terms of state representations , this means that we will end up with a state dimension that is larger than the McMillan degree of H. The Bott-Dufn synthesis is a strong case for the importance of non-minimal state representations. However, the price one has to pay to avoid transformers is the exponential increase in the number of reactances.
d d Problem. When does d( dt )V = n( dt )I, describe an electric circuit that consists of an interconnection of a nite number of positive Rs, positive Ls, positive C s, and transformers?
The above is an open problem. The answer is more involved than: iff the transfer function is p.r. and the common factors are stable. An important advance came in the 1960s with the Positive Real Lemma, which introduced the state description in network analysis and synthesis. A detailed treatment of these issues can be found in the book by Anderson and Vongpanitlerd [6].
i i i
the H norm of being no greater than one. Systems satisfying this relationship are for instance, passive electric 1 circuits with input a voltage V and output some current I, where u = 1 2 (V + I) and y = 2 (V I). The following is a special case of theorem 5.19. Lemma 5.27. Given is a stable and reachable system = following statements are equivalent. [1] The 2-induced norm of is at most equal to one:
2
A C
B 0
1.
[2] There exists a positive semi-denite X Rnn , and a matrix K Rmn such that d x Xx = u u y y u + Kx 2 . dt [3] There exists a positive semi-denite solution X 0 of the Riccati equation A X + XA + C C + XBB X = 0 The solution is positive denite X > 0, if the pair (C, A) is observable. [4] Bounded Real Lemma. There exists X 0, such that A X + XA + C C + K K = 0 XB + K = 0 (5.55) (5.54) (5.53)
Proof. [2] [1]. Integrating equation (5.53) from t = 0 to t = T , and keeping in mind that x(0) = 0, we obtain u
2
L2 (0,T )
2
L2 (0,T )
x (T )Xx(T ) 0, T > 0
(5.56)
where the last inequality follows from the fact that X is positive semi-denite. Therefore y u
2
L2 (0,T )
2
L2 (0,T )
1, T > 0
(5.57)
Therefore this property holds as T , in other words the L2 (0, ) norm of y is always less than that of u and hence the 2-induced norm of the convolution operator is less than or equal to 1. [1] [2]. The proof of this part requires the construction of a positive semi-denite X satisfying (5.53). This is done as follows. Consider the available storage,
( u
y 2 )dt } ,
subject to the system equations and x(0) = 0. We will show that it is a quadratic storage function. First notice that avail (x(0)) 0 (take u = 0 and y(t) = CeAt x(0), t 0). Now with t1 0, we have
t1
avail (x(0))
0
s dt
t1
s dt
Taking the supremum over all trajectories with x(t1 ) xed, the second term on the right hand-side of the above t inequality becomes avail (x(t1 )). Therefore avail is a storage function since it satises avail (x(t0 )) 0 1 s dt+ avail (x(t1 )). Furthermore, since the supply function is quadratic, by optimal control the storage function avail (which is the optimal cost) is also quadratic: = x Xx, where X 0. [2] states furthermore that if a storage
i i
ACA :
i i
i i 5.10. Chapter summary function exists, there exists K such that (5.53) is satised. Computing and collecting terms we obtain the expression 143
d dt (x Xx) u u + y y +(u + x K )(u + Kx)
e = x (A X + XA + C C + K K)x + u (B X + K)x + x (XB + K)u By requiring that e = 0 for all x, u we obtain K = XB, where X satises the Riccati equation (5.54). d d [2] [3]. The left-hand side of (5.53) can be rewritten as: ( dt x )Xx + x X( dt x) = (Ax + Bu) Xx + x X(Ax + Bu). Thus expanding the right-hand side of this equation and collecting terms on the left-hand side we obtain e = 0. As above, this implies K = B X and substituting in the term which is quadratic in x we obtain (5.54). The implication [3] [2] follows by reversing the above steps. Finally, the equivalence [3] [4] is straightforward.
Remark 5.9.3. If D = 0, the Bounded Real Lemma states that the H norm of is at most one, if, and only if, there exists X 0, K, L such that A X + XA + C C + K K = 0 XB + C D + K L = 0 I D D = L L This follows from (5.48) with Q11 = C C, Q12 = C D and Q22 = I D D.
(5.58)
ACA
i i i
i i
ACA :
i i
i i
Chapter 6
This chapter is dedicated to the investigation of the Sylvester equation, which is a linear matrix equation. A special case is the Lyapunov equation. These equations underly many of the considerations for model reduction. In particular, the Lyapunov equation has a remarkable property, called the inertia theorem, which is a powerful way of checking stability of approximants. Lyapunov was interested in studying the distribution of the roots of a polynomial equation with respect to the imaginary axis in the complex plane. Of course one can do this by dening a matrix whose characteristic polynomial is equal to the given one. But Lyapunov wanted to accomplish this using quadratic forms. He observed that under mild assumptions, the solution to an appropriate Lyapunov equation, is symmetric - and thus denes a quadratic form - and its eigenvalues are distributed in the same way as the roots of the original polynomial. The distribution of the eigenvalues of a symmetric matrix can be determined using a classical result of Jacobi, by checking the signs of the principal minors of the matrix; for details, see e.g., chapter X of Gantmacher [133]. We begin by listing several ways for solving the Sylvester and Lyapunov equations (section 6.1). In the following section 6.2, the inertia result is stated and proved using two different methods. Next various algorithms for the numerical solution of such equations are presented. For the semi-denite Lyapunov equation, the most reliable is the square root method, which computes a Cholesky factor of the solution directly, without computing the solution rst. The chapter cocludes with remarks on the numerical stability of solution algorithms for the Sylvester and Lyapunov equations.
in the unknown X Rnk , is the Sylvester equation. In case that B = A and C = Q = Q , the resulting equation AP + P A = Q in the unknown P Rnn , is referred to as the Lyapunov equation. Before discussing methods for solving this equation, we state a condition for the existence of a solution. First we need to dene the following matrices M1 = A 0 C B , M2 = A 0 0 B , (6.3) (6.2)
both being square with size (n + k ). Roth [276] proved the following result. 145 i i i i
Proposition 6.1. Equation (6.1) has a solution if, and only if, the matrices M1 and M2 are similar. Proof. Let X be a solution of (6.1). Then M3 = I X 0 I , is non-singular and satises M1 M3 = M3 M2 . X11 0 X12 X22 such that M1 M3 =
Several methods for solving this equation have been developed and will be discussed in the sequel. We will also derive conditions (6.7) and (6.8), which guarantee the existence of a unique solution. 1. The Kronecker product method 2. The eigenvalue/complex integration method 3. The eigenvalue/eigenvector method 4. The characteristic polynomial method 5. The invariant subspace method 6. The sign function method 7. The innite sum method 8. The square root method (Section 6.3.3) It should be remarked that reachability and observability are intimately related with properties of the Sylvester equation, see, e.g., [96].
pp1 R
We can also write P R = [p1 R pp R] = [p1 r1 p1 rm | |pp r1 pp rm ], where pi , ri , denotes the ith column of P, R, respectively. The vector associated to a matrix T Rqr is vec (T) = (t11 tq1 t12 tq2 t1r tqr ) Rqr It follows that vec (xy ) = [yi x] = y x vec x x y y
x . =yx+y
vec C = e1 c1 + + ek ck Rnk . Using the Kronecker product, the left-hand side of equation (6.1) can be rewritten as vec (AX + XB) = AB vec (X), and thus AB vec (X) = vec (C) where AB = Ik A + B In (6.4)
i i
ACA :
i i
i i 6.1. The Sylvester equation Let the EVD (eigenvalue decomposition) of A and B be: AV = V, W B = MW , respectively. We assume for simplicity that these matrices are diagonalizable: = diag (i ), M = diag (j ), V = [v1 vn ], W = [w1 wk ]. Given the eigenvectors of A and B, the eigenvectors of AB are
[vec (w1 v1 ) vec (wn vk )] = [w1 v1 w1 vk wn v1 wn vk ] = [w1 V wn V] = W V
147
(6.5)
(6.6)
It can be shown (see Horn and Johnson [181], page 268]) that the eigenvalues of AB are (AB ) = i (A) + j (B), i, j As a consequence we obtain Proposition 6.2. The Sylvester equation (6.1) has a unique solution X if, and only if, i (A) + j (B) = 0, i, j. In this case (6.4) yields
1 vec (X) = A B vec (C).
(6.7)
Corollary 6.3. The Lyapunov equation (6.2) has a unique solution P if, and only if, i (A) + j (A) = 0, i, j Furthermore if the solution is unique, it is hermitian P = P . (6.8)
(A z I)1 dz = 2i In
The earlier expression together with these integrals yield the solution of the Lyapunov equation as a complex integral: X= 1 2i (A z I)1 C(B + z I)1 dz
(6.9)
Remark 6.1.1. This method can also be used to obtain a solution of the equation A1 XA2 + B1 XB2 = C. Provided that the spectra of the associated pencils z B1 A1 and z A2 + B2 are disjoint the solution can be expressed as follows X= 1 2i (z B1 A1 )1 C(z A2 + B2 )1 dz
where is a Cauchy contour which includes the spectrum of the pencil z B1 A1 , and excludes that of the pencil z A2 + B 2 .
1
The reader may consult (almost) any book on complex analysis for details on complex integration and Cauchy contours.
ACA
i i i
(i I A)1 Q(i I A )1 d
(6.10)
It readily follows by Parsevals theorem of Fourier transforms, that P can be expressed in the time domain as
P=
0
eAt QeA t dt
which is the same as (4.43) with Q in place of BB . We now examine the case where A has eigenvalues both in C and in C+ , but not on the imaginary axis. Furthermore we assume that the contour is the imaginary axis. The question we wish to address is: what equation satisfy? does the quantity P = 1 P 2
(6.11)
First notice that under the assumptions above, this expression is well dened. The question posed is of interest when dealing with Lyapunov equations where A is neither stable (eigenvalues in C ) not anti-stable (eigenvalues in C+ ), but has eigenvalues in both half planes, except on the imaginary axis. In such a case the solution of the Lyapunov equation does not admit an integral representation in the time-domain (such as eAt QeA t dt). In order to address this issue, we dene the projection onto the stable eigenspace of A in Rn ; then I is the projection onto the anti-stable eigenspace of A in Rn . This projection can be computed as follows. Let T be a transformation such that T1 AT = diag { , + }, where all the eigenvalues of are in C and all the I 0 T1 . Notice that eigenvalues of + in C+ . Then = T 0 0 A = (I )A(I ) + A = A + A+ The main result of this section is due to Godunov [141], chapter 10. dened by (6.11) solves the following Lyapunov equation Lemma 6.4. P +P A = Q (I )Q(I ) AP (6.12)
With the notation Q = Q and Q+ = (I )Q(I ), this Lyapunov equation can be considered as the sum of the Lyapunov equations
+ P A A P = Q , A+ P+ + P+ A+ = Q+
eA t Q eA t dt
eA+ t Q+ eA+ t dt
+ P
i i
ACA :
i i
i i 6.1. The Sylvester equation One way to analyze the operator L is using the eigenvalue decomposition (EVD) of A and B.
Recall the EVDs given in (6.5) and (6.6); it follows that vi , wj are right, left eigenvectors of A, B, corresponding to the eigenvalues i , j , respectively. Then, since L(vi wj ) = Avi wj + vi w j B = (i + j )vi wj we conclude that vi wj is an eigenvector of L corresponding to the eigenvalue i + j . Let also the left eigenvectors 1 v . 1 1 w k ]; it readily follows of A be V = V = . . , and the right eigenvectors of B be W = W = [w n v k n i wi i = Ik . Given these eigenvalue decompositions, the solution of the Sylvester = In , and i=1 w that i=1 vi v equation can be explicitly written down.
149
Theorem 6.5. With the notation established above, the solution of the Sylvester equation (6.1) can be expressed as a sum of rank-one matrices:
n k i vi v C (i Ik + B)1 = i=1 j =1 j wj (j In + A)1 C w
X=
(6.14)
k W (k In + A)1 C w
(6.15)
Proof. From (6.1) follows (A i In )X + X(B + i Ik ) = C, where i is an eigenvalue of A, with corresponding i , vi ; hence v i i i i left/right eigenvectors v (A i In ) = 0, which leads to v X=v C(i Ik + B)1 ; hence vi v X= n n 1 i X = X. The rst formula follows; the second i = In we have i=1 vi v i C(i Ik + B) . Due to i=1 vi v vi v can be shown similarly. It should be mentioned that the formulae above contain a number of ingredients which are the same as those in [150]. Remark 6.1.2. The Sylvester equation and the L owner matrix. We will now present a connection between the solution of the Sylvester equation and the L owner matrix; consequently a connection is established between the Sylvester equation and rational interpolation. Let us assume for arguments sake that C is rank one; it can then be written as C = c1 c2 , c1 Rn , c2 Rk . Then (6.15) can be written as follows: 1 c1 v c2 (1 I + B)1 . .. . X = V . .
n v c1 V 1 c 2 (n I + B) O (c 2 ,B)
(1 I + A)1 c1 (k I + A)1 c1
R(A,c1 )
1 c 2w .. . n c 2w
W
is the matrix of scaled right eigenvectors of A while W is the matrix of scaled left eigenvectors of B. It is Thus V interesting to notice that the remaining matrices O and R are directly related with rational interpolation. In order to
ACA
i i i
establish recall (4.85) and (4.86) as well as (4.87), which shows that the L owner matrix can be factorized as a product of generalized reachability and observability matrices. The matrices dened above, namely R(A, c1 ) and O(c 2 , B) O(c , B) = R(A, c1 )W , and if B = A, X2 = V LW . Thus are precisely these generalized matrices: X = V 2 X2 and L are the same up to congruence.
Therefore if the coefcients of the characteristic polynomial of are known an expression for the solution of x = b, can be written down, involving powers of . Next we will apply this method to the Sylvester equation (6.1). Recall the Sylvester operator L dened by (6.13). Its characteristic polynomial L has degree nk , and its roots are i + j , i = 1, , n, j = 1, , k , where i , j are the eigenvalues of A, B, respectively. Therefore the characteristic polynomial of L is the same as that of AB dened in (6.4). Let L (s) = snk + cnk1 snk1 + cnk2 snk2 + + c2 s2 + c1 s + c0 . Notice that the Sylvester equation can be written as L(X) = C; therefore X = L1 (C) (provided that the inverse exists). Cayley Hamilton implies L (L(C)) = 0 L1 (C) L (L(C)) = 0. In analogy to (6.16), this yields an expression for the solution of the Sylvester equation (6.1), of the following form X= 1 nk1 L (C) + cnk1 Lnk2 (C) + + c3 L2 (C) + c2 L1 (C) + c1 L0 (C) . c0 (6.17)
The quantities Lj (C) can be obtained recursively as follows: L0 (C) = C, Lj (C) = ALj 1 (C) + Lj 1 (C)B, j = 1, , nk. (6.18)
This procedure has been adapted from Peeters and Rapisarda [264], who using (6.17) and (6.18) as a basis, propose a general recursive method for solving polynomial Lyapunov equations. A similar method for solving Sylvester and Lyapunov equations was proposed by Hanzon and Peeters [166]. The second method which falls under the characteristic polynomial approach makes use of the characteristic polynomial of either A or B. Let these be (s) = sn + n1 sn1 + + 1 s + 0 , (s) = sk + k1 sk1 + + 1 s + 0 . We also consider the pseudo-derivative polynomials (i) , i = 1, , n, and (j ) , j = 1, , k , dened as in (4.72). Then from AX + XB = C follow the relationships
XX AX + XB A2 X XB2 A3 X + XB3 A4 X XB4 . . . = = = = = 0 C AC CB A2 C ACB + CB2 A3 C A2 CB + ACB2 CB3 . . .
i i
ACA :
i i
We now form a linear combination of the above equations; this linear combination is given by the coefcients of the characteristic polynomial of A. We thus obtain (A)X X(B) = (1) (A)C (2) (A)CB + (3) (A)CB2 (4) (A)CB3 + . By Cayley-Hamilton, the rst term is zero, and therefore we obtain the following solution
n
X=
i=1
(6.19)
where (B) is invertible because A and B are assumed to have no common eigenvalues. In a similar way, making use of the characteristic polynomial of B, we obtain the dual formula to (6.19)
k
X = [ (A)]
j =1
Aj 1 C (j ) (B) .
(6.20)
We can go one step further and compute the inverse of the quantity in the second bracket. For this purpose, we need to solve the following polynomial Bezout equation for the coefcients of polynomials p(s) and q(s): (s)p(s) + (s)q(s) = 1 Then, since (B)p(B) = Ik and (A)q(A) = In , we obtain the formulas
n k
X=
i=1
Aj 1 C (j ) (B)
Example 6.1.1. We now consider the above methods for solving the Sylvester equation (6.1). It is assumed that 0 1 0 0 1 1/2 1/2 0 0 1 0 1 1 3/2 , B = A= , C = 3/2 0 0 0 1 1 1/2 0 24 50 35 10 3/2 2 (a) The rst method uses the Kronecker product: AB = (I2 A) + (B I4 ) = 1 0 0 0 1 1 0 0 2 0 1 1 0 0 1 0 0 2 1 0 0 1 1 0 0 2 0 24 50 35 11 0 0 0 1 2 = , 3 0 0 0 0 1 0 0 2 3 0 2 0 0 0 0 1 0 3 0 0 2 0 0 0 0 1 3 0 0 0 2 24 50 35 10 1 1 1 2 3 0 2 0 1 3 2 2 1 0 vec (C) = 1 vec (X) = AB vec (C) = 0 X = 0 2 1 2 1 1 1 1 2
ACA
0 1 1 1
i i i
(b) We will now use the Cayley Hamilton method applied to the characteristic polynomial of L. We have L (s) = s8 + 24s7 + 243s6 + 1350s5 +
35787 4 8 s
17937 3 2 s
167387 2 16 s
50505 8 s
363825 256 .
Using formulae (6.18), we successively apply the Sylvester operator dened by (6.13) to C, for j = 1, , 7. Then 256 X = 363825 X , is equal to the expression obtained above, where
17937 2 167387 1 50505 0 3 X = L7 (C)+24L6 (C)+243L5 (C)+1350L4 (C)+ 35787 8 L (C)+ 2 L (C)+ 16 L (C)+ 8 L (C).
(c) The next method uses complex integration. The expression F(s) = (A sI4 )1 C(B + sI2 )1 , is F(s)=
(43s3 + 4s4 + 178s2 + 393s + 144) (153s2 + 28s3 + 423s + 216 + 2s4 )
3 4 2 1 2(s + 14s + s + 79s 12) 2 3 d(s) 2(86s 86s + 34s + 3s4 24)
(96 + 183s2 + 43s3 32s + 4s4 ) (142s + 24 197s2 + 53s3 + 4s4 ) (517s2 + 322s + 120 + 387s3 8s4 )
where d(s) = (s + 4)(s + 3)(s + 2)(s + 1)(2s + 1)(2s 3). A partial fraction expansion can be obtained in MATLAB by using the command diff(int(F)): F(s) =
8 1 3 32 s + 4 3 128 3 11 3 11 3 11 3 11 3
2 3
+ 1 s+1
3 3 5 5 8 10 1 1 9 9 10 3 + + s + 3 s + 2 27 27 20 20 32 3 128 81 81 40 40 3 1 3 8 3 3 2 2 2 3 2 3 1 1 8 1 1 2 1 2 3 2 2 + + 8 3 1 1 2s + 1 1 2s 3 2 3 2 2 2 8 1 3 7 7 3 2 2 2 2 2 3
To evaluate the integral (6.9), we need the residues of F(s) at s = 4, s = 3, s = 2, and s = 1; these are:
11 1 11 = 11 3 11 3 9 = 27 81
X1 = (s + 1)F(s)|s=1
8 5 8 10 , X2 = (s + 2)F(s)|s=2 = 8 20 8 40
5 10 20 40 2 8 32 128
X3 = (s + 3)F(s)|s=3
3 2 1 9 8 , X4 = (s + 4)F(s)|s=4 = 27 3 32 81 128
It follows that X = X1 + X2 + X3 + X4 . We can obtain this solution by using the dual expression of (6.9). This involves the complex integration of G(s) = (A + sI4 )1 C(B sI2 )1 . In this case the Cauchy contour must contain 1 the eigenvalues of B but not those of A. Therefore the residues of G(s) at s = 2 and s = 3 2 are needed: 11 3 1 11 3 s 1 11 3 + 1 s4
11 3 2 3 8 3 32 3 128 3
8 3
G(s) =
5 8 1 10 3 + s 2 20 8 3 8 40 3 2
3 8 3 32 3 128 3
5 3 10 1 9 + 20 s 3 27 40
3 2 1 2 1 2 7 2
3 9 27 81 3 2
1 2s + 3
3 2 1 2 1 2 7 2
81 + 1 2s 1
1 2 1 2 1 2 1 2
3 2 3 2 3 2
i i
ACA :
i i
s= 1 2
1 1 1 = 1 4 1
3 3 , Y2 = 3 3
s+
3 G(s) 2
s= 3 2
3 1 1 = 4 1 7
3 1 1 7
0 3 2
1 0 = 0 3 2
5
Therefore, according to the right-hand side formula (6.14), the solution is: X = [((1, 1)I4 + A)1 CV(:, 1) | ((2, 2)I4 + A)1 CV(:, 2)]
|
2
1 V |{z}
{z
6 6 1 6 6 1 4
3 1 1 7
3 7 7 7 7 5
}2
4
1 4
1 4
3 4 1 4
0 1 1 1
(e) Finally, the characteristic polynomial method, and in particular formula (6.20) yields: 1 0 1 0 3 1 2 X = A A I4 (AC + CB + C) = 0 1 4 2 1
Using the Bezout equation we can express the inverse in the above expression as a polynomial in A. This is done as follows: we solve the polynomial equation which is always possible, since p(s), q(s) are coprime. It turns out that p(s)a(s) + q(s)b(s) = 1 p(A)a(A) + q(A)b(A) = I4 q(A)b(A) = I This implies that b(A) is the inverse of q(A); the 4 polynomials are p(s) = s4 + 10s3 + 35s2 + 50s + 24 q(s) = s2 s 3/4 4 a(s) = 3465 (64s + 100) 4 b(s) = 3465 (64s3 + 604s2 + 1892s + 2045) Thus X= 4 (64A3 + 604A2 + 1892A + 2045I4 )(AC + CB + C) 3465
V1 V2
V
V1 V2
(6.21)
1 has been obtained. If V2 is nonsingular, the solution of the Sylvester equation can be obtained as X = V1 V2 . Indeed, we obtain from (6.21) 1 1 1 C = V1 V2 V2 RV2 = XB. A V1 V2 X
ACA
i i i
Moreover, it turns out that V2 is nonsingular if and only if R and B are similar (see exercise 7). In this case the columns of V form a basis for the eigenspace of M1 , which corresponds to the eigenvalues of B. We summarize this discussion in
Lemma 6.6. Let (6.21) hold where V = [V1 , V2 ] is the eigenspace of M1 corresponding to the eigenvalues of B. 1 The solution of the Sylvester equation (6.1) is given by X = V1 V2 .
The desired invariant subspace can be obtained by computing a real partial Schur decomposition of M1 , where R is quasi-upper triangular with the eigenvalues of B appearing on the diagonal.
1 Proposition 6.9. The iteration Zn+1 = (Zn + Z n )/2, Z0 = Z, dened above, converges to
lim Zj =
In 0
2X Ik
i i
ACA :
i i
i i 6.1. The Sylvester equation where AX + XB = C. Proof. Let ZV = V, with = diag(1 , 2 ), be the eigenvalue decomposition of Z. V is upper block triangular A 0 C B V11 0 V12 V22 = V11 0 V12 V22 1 0 0 2 155
1 . The block triangular structure of Z is This readily implies that the solution of the Sylvester equation is V12 V22 preserved during the iterations, i.e. Zj is also block upper triangular. Furthermore, by the proposition above, the limits of the (1, 1) and (2, 2) blocks are In , Ik , respectively. Thus Zj as j has the form claimed. There remains to show that X satises the Sylvester equation as stated. This follows since limj Zj V = V limj j , and therefore In 2X V11 V12 V11 V12 In 0 = 0 Ik 0 V22 0 V22 0 Ik 1 This implies X = V12 V22 which is indeed the solution to the Sylvester equation, as claimed.
Remark 6.1.3. (a) The above result shows that the solution of the Sylvester equation where A, and B have eigenvalues either in the left or the right half planes, can be solved by means of the sign iteration. (b) The above result also shows that given a matrix Z = VV1 Cnn , with k eigenvalues in the left-half 1 plane, the sign iteration yields the matrix Z = Vdiag(Ik , Ink )V1 . Therefore = 2 (In Z ) yields the spectral projectors Z onto its unstable/stable eigenspaces, respectively. (c) For Lyapunov equations AP + P A = Q, the starting matrix is Z= A 0 Q A , A Rnn , Rei (A) < 0 Zj = Aj 0 Qj A j
The limits of these iterations are A = In and Q = 2P , where P is the solution of the Lyapunov equation. (d) The convergence of the sign iteration is ultimately quadratic. To accelerate convergence in the beginning, 1 2 1 one can introduce a scaling constant as follows: Zn+1 = 2 ( Zn + n Zn ). It has been proposed in [63] that for the n solution of the Lyapunov equation this constant be chosen as n = 1/ n |detAn |. (e) Often, in the solution of the Lyapunov equation the constant term is provided in factored form Q = RR . As a consequence we can obtain the (j + 1)st iterate in factored form 1 1 Qj +1 = Rj +1 R Rj , A j +1 where Rj +1 = j Rj 2 Q = R R = 2P
Thus the solution is obtained in factored form. However, R has innitely many columns, although its rank cannot exceed n. In order to avoid this, we need to perform at each step a rank revealing RQ factorization Rj = Tj Uj , th where Tj = [ step Rj can be replaced by Tj j , 0] , where j is upper triangular and Uj Uj = Ij . Thus at the j which has exactly as many columns as the rank of Rj . (f) The sign function was rst used for solving the Lyapunov equation by Roberts [274]. For a recent overview of the sign function see Kenney and Laub [198]. Benner and co-workers have contributed to the solution of Lyapunov equations by computing full-rank (triangular) factors [51], as well as by computing low rank factors of rank k , by means of an O(k 3 ) SVD (k is the maximum numerical rank of the solution) [54]. The use of the sign function in Newtons method for AREs (Algebraic Riccati Equations) and its application to stochastic truncation is described in [53]. In [51], the sign function is used for the rst time to solve Lyapunov equations arising in generalized linear systems (i.e. systems containing both differential and algebraic equations). The computation of (triangular) Cholesky factors with the sign function was also introduced
ACA
i i i
independently in [223]. In [55], [56] the sign function method is used for solving discrete Lyapunov equations; balancing related model reduction techniques for discrete-time systems are also developed. [57] gives a survey of all model reduction algorithms together with detailed performance studies. Portable software for large-scale model reduction on parallel computers based on the sign function has been developed in the references cited above.
1 ), z0 = 2. The iterates Example 6.1.2. Consider the number z=2. We perform the iteration zn+1 = 2 (zn + z1 n 1 converge to 1. The error en = zn 1 is as follows: e1 = 2.5000 10 , e2 = 2.5000 102 , e3 = 3.0488 104 , e4 = 3.6461 108 , e5 = 1.0793 1015 , e6 = 5.8246 1031 , e7 = 1.6963 1061 , e8 = 1.4388 10122 . This shows that convergence is fast (the exponent of the error doubles at each iteration).
C B
Since both A and B are composed of one Jordan block with eigenvalues 1, the iteration many steps. Indeed, in two iterations we get 3 3 2 3/2 1 1/2 1 0 0 1/2 0 1 0 1 / 2 1 1 0 2 , Z2 = 0 1 / 2 1 3 / 2 0 1 1 3 2 Z1 = 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 Therefore the solution of the Sylvester equation AX + XB + C = 0 is 1 1 X = 1 0 . 1 1
X =
0
eKt MeLt dt =
k0
kM L k. K
i i
ACA :
i i
Thus, according to the above formula, provided that K and L have eigenvalues in the left-half plane, the solution of the Sylvester equation can be expressed as an innite sum.
P=
eA QeA d
which exists because of the anti-stability of A. Furthermore it is positive denite P > 0. Finally it is a solution of 0 0 (6.2) since AP + P A = [AeA QeA + eA QeA A ]d = d[eA QeA ] = Q. The following generalization holds [257]. Theorem 6.14. Let A, P , Q satisfy (6.2) with Q > 0. It follows that in (A) = in (P ). Proof. Assume that (A) = 0; this implies the existence of x = 0 such that x A = i x . Multiplying both sides of (6.2) by x , x respectively, we obtain x Qx = 0, which is a contradiction to the positive deniteness of Q. It follows that (A) = 0, i.e. in(A) = (k, 0, r) for r + k = n and k 0. We may thus assume without loss of generality that A has the form A1 0 A= where in (A1 ) = (0, 0, r) and in (A2 ) = (k, 0, 0). 0 A2 If we partition P conformaly to A, (6.2) implies
A1 P11 + P11 A 1 = Q11 > 0 and A2 P22 + P22 A2 = Q22 > 0.
ACA
i i i
Using the previous lemma we conclude that P11 > 0 while P22 < 0. There remains to show that the matrix P has the same number of positive eigenvalues as P11 and the same number of negative eigenvalues as P22 , i.e. that in(P ) = (k, 0, r). Towards this goal, notice that we can write
P11 = V11 V11 Rrr , P22 = V22 V22 Rkk , det Vii = 0, i = 1, 2
Hence
P = diag(V11 , V22 )Ydiag(V11 , V22 ) where Y =
Ir Y12
Y12 Ik
0) where 0 is the zero Finally, assuming that r k , let Y12 = UW where UU = I, WW = I and = ( = diag{1 , , r }, i i+1 0. Then matrix with r rows and k columns, and Ir 0 U 0 U 0 Ir . 0 where = Y= 0 W 0 W 0 0 Ikr
2 , i = 1, , r and 1 with multiplicity k r , i.e. has r positive Clearly the matrix has eigenvalues 1 + i and k negative eigenvalues. Hence by the Sylvester law of inertia both Y and P have the same number of positive and negative eigenvalues as . This completes the proof.
If we relax the positive deniteness of Q we obtain the following result. Lemma 6.15. Let A, P , Q satisfy (6.2) with Q 0. Then (A) = 0 implies (A) (P ) and (A) (P ). Furthermore, (P ) = 0 implies (P ) (A) and (P ) (A). Proof. The proof goes by using continuity arguments as follows. First, assume that the quantities A, P , Q satisfy (6.2) with Q 0 and (A) = 0. Let P be the solution of AP + P A = I; thus in(P ) = in(A). Dene P =P+ P , the solution of AP + P A = Q + I. This implies that in (P ) = in (A), > 0. > 0,
Since the above holds for all > 0 and due to the continuity of eigenvalues as a function of , the result follows by letting 0. Similarly, if (P ) = 0, dene A = A + P 1 , Substituting this into (6.2) we obtain A P + P A = Q + 2 In > 0, > 0. > 0.
This implies in(P ) = in(A ) for > 0. Since this expression is positive denite for all > 0, and again due to the continuity of the eigenvalues as a function of the desired result follows by letting 0.
Theorem 6.16. Let A, P , Q satisfy (6.2) with Q 0. If the pair (A, Q) is reachable then in (A) = in (P ).
Proof. We will show that reachability implies (a) (A) = 0, and (b) (P ) = 0. Hence the result follows by applying the lemma above. There remains to show (a) and (b).
i i
ACA :
i i
Assume that (A) = 0; there exists and v such that A v = i v. Thus v (AP + P A )v = v Qv. The left-hand side is equal to (i + i )v Qv = 0. Hence the right-hand side is zero; we conclude that v Q = 0. This is a contradiction to the fourth condition of lemma 4.13, that is, if (A) = 0 the pair (A, Q) is not reachable. This proves (a). If we assume now that (P ) = 0, there exists a vector v = 0 such that P v = 0. Hence v (AP + P A )v = v Qv. The left-hand side is zero and therefore v Qv = 0 which implies v Q = 0. This in turn implies v (AP + P A ) = v AP = v Q = 0, i.e. v AP = 0. Repeating the above procedure to the equation A(AP + P A )A = AQA we conclude that v AQ = 0. Consequently (P ) = 0 implies v Ak1 Q = 0 for k > 0 which means that the pair (A, Q) is not reachable. This proves (b).
Remark 6.2.1. An inertia result with respect to the unit circle can also be formulated. Consider the discrete-time Lyapunov or Stein equation FXF + R = X. (6.22) If the inertia of F with respect to the unit circle D is dened as the number of eigenvalues which are outside, on, or inside the unit circle, and denoted by in D , and the inertia of X = X is dened as before, we conclude from proposition 6.10 that if the pair (F, R) is reachable in D (F) = in (X).
(A + b I)x = c
j =1
bj xj x = (A + b I)1 c
j =1
bj xj ,
= 1, , k.
(6.23)
Thus the fact that B is in Schur form allows the calculation of the columns of the solution recursively. In addition, the fact that A is in Schur form implies that A + b I is also in Schur form and therefore the inverse is also in Schur form and can be computed explicitly. Remark 6.3.1. Recall that given the upper triangular M = (ij ), ij = 0, for i > j , i, j = 1, , n, its inverse N = (ij ) is also upper triangular, that is ij = 0, i > j , i, j = 1, , n, and its non-zero elements are dened 1 , and having computed the entries of all rows from i = k + 1, , n, the entries of recursively as follows: nn = nn th the k row are kk = 1 1 , k = kk kk kj j ,
j =k+1
= k + 1, , n and k = n, n 1, , 2, 1.
ACA
i i i
The above procedure is the Bartels-Stewart algorithm [43] in complex arithmetic, because if A or B have complex eigenvalues, the solution of the Sylvester equation X in the (complex) Schur basis will be complex. On the other hand, for the Lyapunov equation, even if A has complex eigenvalues X will be real. The Bartels-Stewart algorithm in real arithmetic In order to avoid complex arithmetic, the real Schur form can be used. In this case if A or B have complex eigenvalues they can be transformed by (real) orthogonal transformation to quasi upper triangular form, where the blocks on the diagonal are 1 1 for real and 2 2 for complex eigenvalues. In the latter case let b +1, = 0, that is, there is a 2 2 block on the diagonal between rows/columns and + 1. In this case we must solve simultaneously for x and x +1 ; equation (6.23) becomes A[x , x
+1 ] + [x , x +1 ]
b b
, +1,
b b
1 , +1 +1, +1
= [c
j =1 = c
bj xj , c
+1 j =1 = c
bj,
+1
+1 xj ],
(6.24)
,c +1 , respectively, for simplicity. The where the entries of the right-hand side of this expression are denoted by c above system of equations can be solved using different methods. Following [311], the above system of equations is equivalent to A2 + ( b
,
+b
+1, +1 )A
+ (b , b
+1, +1
, +1 b +1,
) I [x , x
+1 ]
= [ c, c
+1 ]
= Ac + b +1, +1 c b +1, c +1 , and c +1 = Ac +1 + b , c +1 b , +1 c . This can be solved using where c the block version system solve routine in LAPACK [7]. We refer to [311] for a comparison between different methods of solving (6.24). Recursive algorithms for the solution of linear matrix equations with triangular coefcients is also treated in [189].
Recall the PBH condition for reachability stated in part 3. of theorem 4.13. As a consequence both (A) = 0 and (P ) = 0, i.e. A has no eigenvalues on the imaginary axis and both matrices are non-singular. To continue our discussion it will be convenient to assume that A is in Schur form, i.e. A is upper triangular. As shown earlier, there is no loss in generality with this assumption as it amounts to a transformation of the Lyapunov equation to an equivalent system using the Schur form basis vectors. Once the system is in Schur form, partition A, B, and P compatibly as follows: A= A11 0 A12 A22 , B= B1 B2 , P= P11 P12 P12 P22 (6.26)
where A11 and A22 are upper triangular. Proposition 6.17. Assume A, B, P satisfy the Lyapunov equation, with (A, B) reachable, and partitioning (6.26) holds. The following statements hold: (a) The pair A22 , B2 , is reachable. (b) (P22 ) = 0, i.e. P22 is non-singular. 1 ) is reachable, where B 1 = B1 P12 P 1 B2 . (c) The pair (A11 , B 22
i i
ACA :
i i
Proof. (a) Let z2 be any left eigenvector of A22 . Then z = [0, z 2 ] is a left eigenvector of A and the PBH condition implies 0 = z B = z2 B2 . This is true for any left eigenvector of A22 , and therefore the PBH condition also implies the reachability of (A22 , B2 ). (b) Since A22 P22 + P22 A 22 + B2 B2 = 0, part (b) follows from the fact that (A) = (P ) = 0, stated earlier. (c) As a consequence of (b), the Lyapunov equation can be transformed to
(6.27)
= , A
A11 0
12 A A22
= , B
1 B B2
= , P
11 P 0
0 P22
(6.28)
Suppose that there is a left eigenvector z1 of A11 such that z 1 B1 = 0. Then z1 A12 = 0 and it follows that z = [z1 , 0] such that z B =z B is a left eigenvector of A 1 1 = 0 in contradiction of the PBH condition.
Now, we are ready to prove the main theorem 6.20, of this section. It is based on lemma 6.19. Denition 6.18. A diagonal matrix is called a signature if its diagonal entries consist only of 1 or 1. Lemma 6.19. Let A, B and P satisfy the Lyapunov equation, with (A, B) reachable. If A is in Schur form, then P can be expressed in factored form: P = USU , where U is upper triangular and S is a signature matrix. Proof. The proof is given by induction on n, the order of A. The required property clearly holds for n = 1. Assume that it holds for Lyapunov equations of order k < n, where (6.25) is satised. We show that the same property must also hold for Lyapunov equations of order n, satisfying (6.25). To prove this, we can assume without loss of generality that the matrices A, B, P (where A has dimension n) are partitioned as in (6.26), where the (1, 1) block has dimension k < n and the (2, 2) block has dimension n k < n. Due to reachability, we may also assume that these matrices are in the form (6.28) and satisfy the transformed Lyapunov 1 ) and (A22 , B2 ) are reachable and the induction equation (6.27). By Proposition 6.17, both of the pairs (A11 , B 11 = U11 S1 U and hypothesis can be applied to each of the two reduced order Lyapunov equations giving: P 11 P22 = U22 S2 U22 . Transforming back from equation (6.27) gives P = USU with U= and S = S1 0 0 S2 U11 0 U12 U22 = I 0
1 P12 P22 I
U11 0
0 U22
An iterative proof of the inertia result A consequence of the above lemma is a self-contained proof by induction, of the inertia result associated with the Lyapunov equation. It rst appeared in [19]. Theorem 6.20. Assume that A, B and P satisfy the Lyapunov equation (4.45) with (A, B) reachable. Then (A) = (P ) and (A) = (P ).
ACA
i i i
Proof. Again, the proof is given by induction on n, the order of A. First, assume that A is in Schur form. The properties stated in the above theorem clearly hold for n = 1. Assume they hold for Lyapunov equations of order k < n, satisfying (6.25). We show as a consequence that these properties must also hold for Lyapunov equations of order n, satisfying (6.25). If we partition the matrices as in the proof of Lemma 6.19, it follows that the Lyapunov equations (6.29) are satised. Each one of these has size less than n and hence the induction hypothesis applies: 11 ), (P 11 ) = (A11 ) and (A22 ) = (P22 ), (P22 ) = (A22 ). (A11 ) = (P Since A is in Schur form, there holds (A) = (A11 ) + (A22 ), and (A) = (A11 ) + (A22 ); due to the structure 11 ) + (P22 ), and (P ) = (P11 ) + (P22 ), completing the induction. of P we have (P ) = (P If A is not in Schur form, the upper triangular U in the considerations above, is replaced by QU, where = Q AQ is the original matrix (not in Schur form). The solution of the corresponding Lyapunov equation is A = (QU)S(QU) . P
Remark 6.3.2. The considerations laid out in the proof of the theorem above lead to a UL factorization of the solution P to the Lyapunov equation. If A is in Schur form, the factorization P = USU holds, where U is upper triangular in the original coordinate system, possess such and S is a signature matrix. The question is, when does the solution P a factorization? (k : n, k : n), k = 1, , n, are different from zero, the UL factorization of If the principal minors det P exists; let P L , where the diagonal entries of U can be chosen to be positive and those of L can be chosen =U P . Since P is symmetric there exists a signature matrix to have the same magnitude as the corresponding entries of U such that (S )1 L =U , and the required factorization follows. It should be noted that the non-singularity of the S minors dened above is basis dependent, and cannot always be satised. This is the case whenever A has eigenvalues with both positive and negative real parts. Actually it is easy to show in this case, that there always exists a basis such does not have an LU factorization. For example if n = 2, let the solution P1 be diagonal; by basis change the that P transformed solution P2 , 0 0 P1 = , , > 0 P2 = , 0 does not have an LU factorization. Of course, if P is positive or negative denite, the result is the Cholesky factorization which always exists. The theorem we have just established determines the inertia of A, if a symmetric solution to a Lyapunov equation is available (as it is in our special case). No apriori assumptions on the spectrum of A are required. Remark 6.3.3. (a) Consider the Lyapunov equation (6.2). If the condition A + A < 0 is satised, the following relationship holds trace P = trace B (A + A )1 B .
This follows from the fact that if P xi = i xi , then i x i (A + A )xi = xi B Bxi . By assumption we can write nn (A + A ) = R R, for some R R . Thus with yi = Rxi we have i yi yi = yi R B BR1 yi , and thus i trace [yi yi ] = i trace [yi yi ] = trace yi R B BR1 yi = trace BR1 yi yi R B The desired result follows by summing the above equations for i = 1, , n and using the fact that i yi yi = In and trace P = i i . +A < 0 can always be satised for some A which is similar to A. By (b) If A is stable, the condition A assumption, there exists Q > 0 such that AQ + QA < 0; then A + A < 0, where A = Q1/2 AQ1/2 .
i i
ACA :
i i
where U is upper triangular. It was observed by Hammarling [164] that this square root factor U can be computed without explicitly computing P rst. This is a consequence of the discussion of the preceding section. Let us assume that A is in Schur form, that is (quasi) upper triangular, and partition A, B, P as in (6.26). The Lyapunov equation can be further transformed to (6.27) using the transformation T given in (6.28). Thus (assuming stability of A) P can be expressed in factored form: P= 1 /2 P 11 0 P12 P22 1 /2 P22
U 1/2
0 1 /2 P22
= UU
(6.30)
The problem is now to successively compute the smaller pieces of P , namely: P22 R(nk)(nk) , P12 Rk(nk) , 11 Rkk , where k < n. To that effect, we have the three equations (6.29) which we re-write as follows: and nally P A22 P22 + P22 A 22 + B2 B2 = 0, 1 1 A11 P12 P12 P22 A22 P22 + P22 B2 B + A P + B B = 0 , 12 22 1 2 2 1B = 0. 11 + P 11 A + B A11 P 11 1
(6.31)
We can thus solve the rst (Lyapunov) equation for P22 ; this is an equation of small or at least smaller size, than the original one. Then, we solve the second equation which is a Sylvester equation for P12 . Then, given the fact that the 1 ) is according to proposition 6.17 reachable, the problem of solving a Lyapunov equation of size n is pair (A11 , B reduced to that of solving a Lyapunov equation of smaller size k < n. At the same time, we have computed the last n k rows and columns of the factor U and because of triangularity, of the solution P . If we wish to apply this method in practice, we choose k = n 1; in other words we compute successively the last row/column of the square root factors. From the rst equation (6.31) we obtain P22 = B2 B 2 R A22 + A 22
B B
(6.32)
2 2 Then, from the middle equation follows [A11 + A 22 In1 ] P12 = A12 A22 +A B1 B2 , which implies 22
B2 n1 A12 B1 B 2 R A22 + A 22
(6.33)
Thus, we have determined the last column of the upper triangular square root factor U in (6.30). There remains 1/2 which satises the Lyapunov equation given by the third to determine the upper triangular square root factor P 11 1 1 = B1 P12 P B2 and by proposition 6.17, the pair (A11 , B 1 ) is reachable. equation (6.31). Recall that B 22 Consequently, the problem is reduced to one of dimension one less. Example 6.3.1. Let 0 0 , B = 1 10 0 0 0 1
0 1 0 35
11 7 1 17
i i i
3 0
1 2520
10 773 2231 49 5 23
460 194
0 0
1 2520
4 0 0
1 504
0 P= 1 2520 0 14 0 L= 14 210 0
168
0
1 504
1 504 = LL = UU where 0
151 2520
0 0 0
6 60
0
70 420
0
70 84
5 10
0 0 , U = 0 0 0
6 120
0
755 1510
14 420
0
10570 12684
0
14 84
0 0
0
10570 420
First, F is transformed into Schur form; the orthogonal matrix which achieves this is: 1 1 0 1 1 1 0 1 2 2 1 1 W= . 1 0 1 1 diag 2 2 2 2 1 0 1 1 Thus 1 0 A = WFW = 0 0 2 1 0 0 3 2 1 0 4 3 , B = WG = 2 1 1 1 , 1 1
Step 1: A A, B B, n n, k n 1. Equation (6.32) is solved for P22 ; then equation (6.33) is solved for the n 1 vector P12 . We get: P22 = 1/2, P12 = [21/4 9/4 1] . According to (6.30) the last column (4,1) of U is U(1 : 3, 4) = 2[21/4 9/4 1] , U(4, 4) = 2/2. We also have B3 = B(1 : 3, 1) P12 BP = 22 [19/2 7/2 1] . Step 2: A A(1 : 3, 1 : 3), B B3 , n n 1, k n 1. Equation (6.32) is solved for P22 ; then equation (6.33) is solved for the n 2 vector P12 . P22 = 1/2, P12 = [31/4 9/4] . According to (6.30) the third (3,1) column of U is U(1 : 2, 3) = 2[31/4 9/4] , U(3, 3) = 2/2. We also have B2 = B3 (1 : 2, 1) P12 B3 = P22 [6 1] . Step 3: A A(1 : 2, 1 : 2), B B2 , n n 1, k n 1. Equation (6.32) is solved for P22 ; then equation (6.33) is solved for the n 3 vector P12 . P22 = 1/2, P12 = [7/2] . According to (6.30) the second column (2,1) of U is U(1 : 1, 2) = 2[7/2] , U(2, 2) = 2/2. We also have B3 = B2 (1 : 1, 1) P12 B2 = [1] . P22
ACA :
i i
i i
Step 4: A A(1 : 1, 1 : 1), B B3 , n n 1, k n 1. Equation (6.32) is solved for P22 ; there is no equation (6.33) in this case: P22 = 1/2, and hence U(1, 1) = 2/2. Putting together the columns computed above we obtain the upper triangular factor of the solution to the Lyapunov equation in the Schur basis: 1 2 0 U= 2 0 0 7 1 0 0
31 2 9 2 21 2 9 2
1 0
1 1
To obtain the square root factor in the original coordinates we have to multiply by W : 7 15 3 5
U W U = diag
2 1 1 , , , 4 2 2
1 2 1 0 4 1
6 8 0 6
12 20 1 10
115 4 197 2 4 33 2 8
24
81 2 2 25 2 8 81 4
24
i i i
i i 166 Chapter 6. Sylvester and Lyapunov equations Algorithm: Solution of the Sylvester equation AX + XB = C in real arithmetic. Input data: A Rnn , B Rkk , C Rnk . Output data: X Rnn . 1. Compute the real Schur decomposition A = QRQ , with R: quasi upper triangular. 2. If B = A, set U = Q, T = R; else if A = A , get U, T from Q, R as follows: idx = [size(A, 1) : 1 : 1]; U = Q(:, idx); T = R(idx, idx) ; else compute the real Schur decomposition B = UTU , with T quasi upper triangular. 3. C Q CQ, R2 R R, I eye(n), j 1. 4. While (j < k + 1) if j < n and T(j + 1, j ) < 10 max(| T(j, j ) |, | T(j + 1, j + 1) |) (a) b C(:, j ) X(:, 1 : j 1) T(1 : j 1, j ); (b) solve (R + T(j, j )I)x = b, and set X(:, j ) x; (c) j j + 1. else (a) t11 T(j, j ), t12 T(j, j +1), t21 T(j +1, j ), t22 T(j +1, j +1); (b) b C(:, j : j + 1) X(:, 1 : j 1) T(1 : j 1, j : j + 1); b [Rb(:, 1) + t22 b(:, 1) t21 b(:, 2), Rb(:, 2) + t11 b(:, 2) t12 b(:, 1)] (c) block solve the linear equations [R2 + (t11 + t22 )R + (t11 t22 t12 t21 )I]x = b, and set X(:, j : j + 1) x; (d) j j + 2 end if 5. The solution X in the original basis is X QXQ .
The above algorithm, up to part (c) of the else part, is the Bartels-Stewart algorithm, which is coded in MATLAB as lyap.m. Thereby, all quantities obtained are real. If A or B has complex eigenvalues, this is achieved at the expense of introducing 2 2 blocks on the diagonal in the Schur form which makes a step like the block solve necessary.
The following is essentially Hammarlings algorithm for computation of the square root factor of the solution to the Lyapunov equation (in case the latter is positive denite). It is implemented in complex arithmetic. In other words, if A has complex eigenvalues and R is the complex Schur form, the resulting square root factor in the Schur basis will in general be complex. Of course, in the original basis it will be real. A version of this algorithm in real arithmetic can be derived in a way similar to that employed for the Bartels-Stewart algorithm. For details we refer to [311]. This algorithm is also implemented in SLICOT.
i i
ACA :
i i
i i 6.4. Numerical issues: forward and backward stability Algorithm: Computation of the square root factor of the solution to the Lyapunov equation AP + P A + BB = 0, in complex arithmetic. A = URU Rnn , R Cnn upper triangular, Rej (A) < 0, B Rnm , (A, B) reachable. Output data: square root factor T Rnn of solution P = TT > 0. T zeros(n, n) for j = n : 1 : 2 do 1. b B(j, :); b 2 ; 1 2. if = 0 b b/; I eye(j 1) temp B(1 : j 1, :) b 1 + R(1 : j 1, j ) /1 solve for u: (R(1 : j 1, 1 : j 1) + R(j, j ) I)u = temp B(1 : j 1, :) B(1 : j 1, :) u b 1 else u zeros(j 1, 1) end if 3. T(j, j ) /1 4. T(1 : j 1, j ) u T(1, 1) B(1, :) 2 / 2 real(R(1, 1)) 2 real(R(j, j )) 167
Input data:
O( )( A
+ B
F)
where O( ) is a polynomial in (machine precision) of modest degree. Therefore the solution of the Sylvester equation is forward stable. In order to address the issue of backward stability, we need to dene the backward error of an approximate . Following [170] the normwise backward error is solution X ) = min{ : (A + E)X +X (B + F) = C + G, E (X
ACA
, F
, G
}.
April 14, 2004
i i i
The positive constants , , provide freedom in measuring the perturbations. A frequent choice is = A
F,
= B
F,
= G
F.
Before stating a general result, we discuss an example. Example 6.4.1. Given the positive numbers 1 , 2 , let A=
1 2 1 1 1 +2 1 1 +2 1 2 2
= B, C =
1 1
1 1
The exact solution of the Sylvester equation (6.1) is X = diag(1 , 2 ). Assume now that the following approximate = diag(1 , solution has been obtained instead: X 2 ), where 2 2 is small. The residual in this case is + XA C= R = AX 0
2 2 1 +2 2 2 1 +2 2 2 2
+ XF = R, Assuming that C is known exactly (i.e. G = 0) to determine the backward error we need to solve EX a b for the perturbations E and F. To preserve the structure, we will assume that E = F = . It turns out c d 2 2 2 2 that a = 0 and d = 2 d = 2 2 2 . Furthermore, the least squares (smallest norm) solution of 1 c + 1 +2 is 1 ( 2 2 ) 2 ( 2 2 ) 2 2, d = 2 2 . Thus assuming that 1 = 1 c= 2 , 2 , the 2-norm of the relative residual
(1 +2 ) 1 + 2
of the perturbation E is approximately equal to is approximately = 2 . This shows that the backward error in this case is equal to the forward error divided by the smallest singular value of the approximate solution. Depending on the value of 2 , the backward error can therefore be big. The fact that the conclusion reached in the example holds in general, was shown by Higham in [170]. We will give the formula here assuming that the right-hand side of the equation is known exactly (i.e. G = 0), n = k , and the has full rank n. Let the smallest singular value of X be n . The following upper bound holds approximate solution X for the backward error ) (X R F ( + ) X where =
F
(1 +2 ) 1 + 2 | 2 2 | , while that 2
( + ) 2 + 2
F X . ) n (X
Here, is an amplication factor which indicates by how much the backward error can exceed the relative residual. Indeed, if the approximate solution is badly conditioned (near rank-decient) the backward error may become arbitrarily large. Remark 6.4.1. To put the issue of backward error in perspective, we mention that the solution of the linear set of equations Ax = b is backward stable. In fact the following can be proved min{ : (A + E) x = b + f, E
2
, f
} =
r x
2
r In this case the backward error is directly linked to the relative residual, namely x . In contrast the solution of the system of equations AX = B where B is a matrix and not just a vector, is not backward stable. If we choose B = I, this amounts to the computation of the inverse of the matrix A, which in turn, is the special case of the Sylvester equation where B = 0. Thus even without knowledge of the above formula, we would not expect the solution of the Sylvester equation to be backward stable.
The condition number of the solutions Another question which comes up when solving Sylvester or Lyapunov equations concerns the properties that the coefcient matrices must satisfy so that the solution is well conditioned.
i i
ACA :
i i
Before addressing this question we dene the condition number of the Sylvester equation around a solution X. Consider (A + A)(X + X) + (X + X)(B + B) = C where again we assume for simplicity that the right hand side is known exactly. After retaining only rst order terms we get vec( A) A( X) + ( X)B = ( A)X + X( B) Lvec( X) = [X In , Ik X] vec( B) where L = Ik A + B In is the Lyapunov operator. Following [170], we will call the quantity = 1 X
F
(6.34)
the condition number of the Sylvester equation. Again, we shall attempt to clarify this formula by considering an example. 1 0 . The solution of the Sylvester equation 0 0 1 0 (6.1) which is a Lyapunov equation is the identity matrix X = , which is perfectly conditioned. We 0 1 will show that depending on b, the associated condition number (6.34) can be arbitrarily large. In fact for b = 101 , = 27.8, b = 102 , = 2.5 103 , b = 103 , = 2.5 105 , b = 108 , = 2.5 1015 . Example 6.4.2. Let A = b 0 = B , b > 0, and C = The conclusion from this example is that there does not seem to be any connection between the condition number of the Sylvester or the Lyapunov equation and their solutions. In other words, the derivative of the Lyapunov function can be big even around solutions which are perfectly conditioned. 1 2 b
i i i
i i
ACA :
i i
i i
Part III
171 i i i i
i i
i i i
i i
Chapter 7
A central concept in system theory with application to model reduction is that of balanced representation of a system . Roughly speaking, the states in such a representation are such that the degree of reachability and the degree of observability of each state are the same. Model reduction requires the elimination of some of the state variables from the original or a transformed system representation, which can be accomplished easily. Difculties however arise when one wishes (i) to determine whether the reduced system has inherited properties from the original one, for instance stability, and (ii) to have some idea of what has been eliminated, that is, when one seeks an estimate of the norm of the error system. Indeed, if we rst transform the system to a balanced representation and then eliminate (truncate) some of the state variables, stability is preserved and there is an a priori computable error bound for the error system. From a mathematical viewpoint the balancing methods consist in the simultaneous diagonalization of appropriate reachability and observability gramians, which are positive denite matrices. In system theory however there are other instances of positive denite matrices attached to a linear system, notably, solutions to various Riccati equations. Correspondingly, there exist several other types of balancing. Section 7.5 lists some of these methods and examines in some detail weighted balancing which provides a link with moment matching reduction methods. The concept of balancing is rst encountered in the work of Mullis and Roberts [245] on the design of digital lters. The system theoretic signicance of this concept was recognized a few years later by Moore [243]. Technical description Given a stable linear system with impulse response h(t) = CeAt B, t > 0 (D is irrelevant in this case and is omitted), let hr (t) = eAt B, ho (t) = CeAt be the input-to-state and the state-to-output responses of the system, respectively; clearly h(t) = Chr (t) = ho (t)B. The reachability gramian is then dened as P = 0 hr (t)h r (t)dt, while the observability gramian is dened as Q = 0 ho (t)ho (t)dt. The signicance of these quantities stems from the fact that given a state x, the smallest amount of energy needed to steer the system from 0 to x is given by the square root of 2 Er = x P 1 x, while the energy obtained by observing the output of the system with initial condition x and no excitation function is given by the square root of 2 Eo = x Qx. Thus, one way to reduce the number of states is to eliminate those which require a large amount of energy Er to be reached and/or yield small amounts of observation energy Eo . However these concepts are basis dependent, and therefore in order for such a scheme to work, one would have to look for a basis in which these two concepts are equivalent. Such a basis actually exists. It is called a balanced basis, and in this basis there holds P = Q = = diag (1 , , n ), 173 i i i i
where the i are the Hankel singular values of . Approximation in this basis takes place by truncating the state = (x1 xk ) , k < n. Although balanced truncation does not seem to be optimal in x = (x1 xn ) to x any norm, it has nevertheless a variational interpretation. The balanced basis is determined namely, by a non-singular transformation T which solves the following minimization problem min trace TP T + T QT1 .
T
The minimum of this expression is twice the sum of the Hankel singular values: 2 i=1 i , and minimizing T are balancing transformations (see proposition 7.5). Approximation by balanced truncation preserves stability and the H -norm (the maximum of the frequency response) of the error system is bounded above by twice the sum of the neglected singular values 2(k+1 + + n ). This chapter is concerned with balancing and approximation by balanced truncation. After an introduction, approximation by truncation is dened and the two main properties (preservation of stability and error bound) are discussed in detail. Subsequently, a canonical form for continuous-time balanced systems is derived followed by numerical considerations in computing balanced representations. The latter part of the chapter, which can be omitted on rst reading, discusses various generalizations of the concept of balancing. In particular stochastic, bounded real and positive real balancing are presented, followed by frequency selective balancing. This leads to balancing and balanced truncation for unstable systems.
The reachability gramian P and the observability gramian Q can be obtained by solving the Lyapunov equations (4.45) and (4.46), respectively: 1 1 5 1 2 2 2 , Q = P= 1 1 1 1 2 2 The set of eigenvalues and the corresponding eigenvectors V are P = Q = 2.91421 0 0 0.08578 1.30901 0 0 0.19098 , , VP = VQ = 0.92388 0.38268 0.38268 0.92388 0.52573 0.85865 0.85865 0.52573 , .
i i
ACA :
i i
where = 0.16018, and = 0.98709. This means that the eigenvector of P which corresponds to the smallest eigenvalue, i.e. the state which is the most difcult state to reach, gives almost maximum observation energy; viceversa, the eigenvector of P which corresponds to the largest eigenvalue, i.e. the state which is the easiest state to reach, gives almost minimum observation energy. The above example suggests that if we wish to base a model reduction procedure to the degree to which states are difcult to reach, or difcult to observe, we need to search for a basis in which states which are difcult to reach are simultaneously difcult to observe, and vice-versa. From these considerations, the question arises: Question: Given a continuous- or discrete-time, stable system =
A C B
in the state space in which states which are difcult to reach are also difcult to observe? The answer to this question is afrmative. The transformation which achieves this goal is called a balancing transformation. Recall that under an equivalence transformation the gramians are transformed as shown in (4.57): = TP T , Q = T QT1 P Q = T (PQ) T1 . P , Q are equal: The problem is to nd T, det T = 0, such that the transformed Gramians P =Q . P This ensures that the states which are difcult to reach are precisely those which are difcult to observe. Denition 7.1. The reachable, observable and stable system is balanced if P = Q. is principal-axis balanced if P = Q = = diag (1 , , n ). Furthermore lemma 5.6 on page 118, implies that the quantities i , i = 1, , n, are the Hankel singular values of the system .
Remark 7.1.1. From a linear algebraic point of view the concept of balancing consists in the simultaneous diagonalization of two positive (semi-) denite matrices.
We can now state the main lemma of this section. For this we need the Cholesky factor U of P and the eigenvalue decomposition of UQU : P = UU , U QU = K2 K . (7.1) Lemma 7.2. Balancing transformation. Given the reachable, observable and stable system corresponding gramians P and Q, a (principal axis) balancing transformation is given as follows:
A C B
and the
T = 1/2 K U1
and
T1 = UK1/2
(7.2)
Proof. It is readily veried that TP T = and T QT1 = . are uniquely deterIf the Hankel singular values are distinct (i.e. have multiplicity one) balancing transformations T mined from T given above, up to multiplication by a sign matrix S, i.e. a diagonal matrix with 1 on the diagonal: = ST. In the general case we have T
ACA
i i i
Corollary 7.3. Let there be k distinct singular values i , with multiplicities mi , respectively. Every principal axis has the form T = ST, where T is dened by (7.2), and S is a block diagonal unitary balancing transformation T matrix with an arbitrary mi mi unitary matrix as ith block, i = 1, , k . Proposition 7.4. Balanced systems have the following property. In continuous-time eAt time A 2 1, with strict inequality holding if the Hankel singular values are distinct.
2
Example 7.1.2. (Continuation) Using (5.24) we obtain the Hankel singular values 1 = 0.8090, 2 = 0.3090. Dene the quantity: = 0.6687. Using (7.2) we obtain the (principal axis) balancing transformation: T= Thus we have bal = TAT CT1
1
1 1
1 2 4 1 1 2 4 2
TB
2 1
2 2 1
2 1 2
2 2
Finally notice that the above form matches the canonical form (7.25) with , 1 , 2 as above, and s1 = 1, s2 = 1.
Variational interpretation Balancing transformations can be obtained by minimization of an appropriate expression. First recall that the product of the gramians is similar to a positive denite matrix: PQ P 1/2 QP 1/2 = U2 U . The following holds true. Proposition 7.5. Given that trace PQ = trace 2 , we have trace (P + Q) 2 trace . Therefore the lower bound is attained in the balanced case: P = Q = . Proof. The following equalities hold: P + Q = P + P 1/2 U2 U P 1/2 = = (P 1/2 U P 1/2 U)(U P 1/2 U P 1/2 ) + P 1/2 UU P 1/2 + P 1/2 UU P 1/2 . Notice that M = (P 1/2 U P 1/2 U)(U P 1/2 U P 1/2 ), is a positive (semi-) denite expression and hence its trace is positive. Thus we obtain trace (P + Q) = trace M + 2 trace trace (P + Q) 2 trace It readily follows that the lower bound is attained in the balanced case.
be balanced with gramians equal to ; partition the corresponding matrices as follows: A11 A21 A12 A22 1 0 0 2 B1 B2
A=
, =
, B=
, C = (C1 C2 )
(7.3)
i i
ACA :
i i
i i 7.2. Model Reduction by balanced truncation Denition 7.6. The systems i = Aii Ci Bi , i = 1, 2 (7.4) 177
are reduced order systems obtained form by balanced truncation. Reduced order models obtained by balanced truncation have certain guaranteed properties. However these properties are slightly different for discrete- and continuous-time systems, and hence we state two theorems. Recall denition 5.5 of the Hankel singular values, page 116, and notation (5.22). Theorem 7.7. Balanced truncation: continuous-time systems. Given the reachable, observable and stable (poles in the open left-half plane) continuous-time system , the reduced order system i , i = 1, 2, obtained by balanced truncation have the following properties: 1. i is balanced and has no poles in the open right-half plane. 2. If p (1 ) = q (2 ), p, q , i for both i = 1 and i = 2 are in addition reachable, observable, with no poles on the imaginary axis. 3. Let the distinct singular values of be i , with multiplicities mi , i = 1, , q . Let 1 have singular values i , i = 1, , k , with the multiplicity mi , i = 1, , k , k < q . The H norm of the difference between the full order system and the reduced order system 1 is upper-bounded by twice the sum of the neglected Hankel singular values: 1 H 2 (k+1 + + q ). (7.5) Furthermore, equality holds if 2 = q Imq , i.e. 2 is equal to the smallest Hankel singular value of . Theorem 7.8. Balanced truncation: discrete-time systems. Given the reachable, observable and stable (poles in open unit disc) discrete-time system , the reduced order system i obtained by balanced truncation has the following properties: 1. i , i = 1, 2, have poles in the closed unit disc; these systems are in general not balanced. 2. If min (1 ) > max (2 ), 1 is in addition reachable and observable. 3. If 1 has singular values i , i = 1, , k , with the multiplicity mi , i = 1, , k , k < q , the h norm of the difference between full and reduced order models is upper-bounded by twice the sum of the neglected Hankel singular values multiplicities not included: 1
h
2 (k+1 + + q ).
The last part of the above theorems says that if the neglected singular values are small, the amplitude Bode plots of and 1 are guaranteed to be close. Below is an outline of the proof of parts [1] and [2]. Notice that in part [3] for both continuous- and discrete-time systems, the multiplicities of the neglected singular values do not enter in the upper bound. These error bounds are due to Glover [138] and Enns [106]. Remark 7.2.1. L1 error bound. In addition to (7.5) for the H norm of the error system, bounds for the L1 norm of the impulse response of the error system can be derived. One such bound was obtained in [140]. It is valid for innite dimensional systems and involves a minimization. An a priori computable bound involving the Hankel singular values and their multiplicities was derived in [218]. When the Hankel singular values have multiplicity one, this bound is as follows:
n n
h hk
L1
2 4
=k+1
3
=k+1
ACA
i i i
where h is the impulse response of the original system and hk is the impulse response of the k th order approximant obtained by balanced truncation. Example 7.2.1. (Continuation) If we reduce the system discussed earlier by balanced truncation, the H norm of the error between and 1 is equal to the theoretical upper bound, namely, 22 = 0.6180. Furthermore, the H norm of the error between and 2 is also equal to the theoretical upper bound, which in this case is 21 = 1.618033.
Clearly, the system 1 is balanced. To prove stability, since 1 is positive denite, by lemma 6.15 we conclude that the eigenvalues of A11 are in the left-half plane or on the imaginary axis. Part 2. There remains to show that if 1 and 2 have no diagonal entries in common, then A11 has no eigenvalues on the imaginary axis. Assume on the contrary, that A11 has eigenvalues on the imaginary axis. For simplicity we assume that A11 has only one complex eigenvalue on the imaginary axis; we also assume that 1 = 1 with multiplicity one. Let A11 v = v for = j ; it follows that v A 11 = v . Multiplying the second equation above on the left, right by v , v respectively, we obtain C1 v = 0. By multiplying the same equation only on the right by v we obtain (A 11 + I)1 v = 0. Similarly by multiplying the rst equation on the left, right by v 1 , 1 v respectively, we conclude that B1 1 v = 0; upon multiplication of the same equation on the right by 1 v we obtain the relationship 2 (A11 I)2 1 v = 0. The consequence of this is that 1 v must be a multiple of v. Due to the assumptions above we can take v to be equal to the rst unit vector v = e1 . Next we need to consider the equations
A21 1 + 2 A 12 + B2 B1 = 0, 2 A21 + A12 1 + C2 C1 = 0.
Denote the rst column of A21 , A 12 by a, b respectively. Multiplying these latter equations on the right by v we have a + 2 b = 0, and 2 a + b = 0. Since the eigenvalues of 2 are different from those of 1 , and hence different from 1. Therefore the rst column of A21 is zero: a = 0. Therefore the column vector (v , 0) is an eigenvector of the whole matrix A corresponding to the eigenvalue . This however is a contradiction to the reachability of the pair (A, B). The conclusion is that A11 cannot have eigenvalues on the imaginary axis, which completes the proof. Alternative proof of part 2. It is assumed that A11 has eigenvalues both on the imaginary axis and in the LHP. Thus, there exists a block-diagonal transformation T =
T11 0 0 I
1 such that T11 A11 T 11 =
F11 0
0 F22
where all eigenvalues of F11 are (strictly) in the LHP (i.e. have negative real parts) and the eigenvalues of F22 are on the imaginary axis. Let the quantities B, C and be transformed as follows: F11 0 F13 G1 = 0 F22 F23 , B = G2 , C = H1 H2 H3 A F31 F32 F33 G3 P11 = P P 12 0 P12 P22 0 0 Q11 = Q 0 , Q 12 P33 0 Q12 Q22 0 0 0 Q33
where F22 has eigenvalues on the imaginary axis, F33 = A22 , G3 = B2 , H3 = C2 , P33 = Q33 = 2 . The proof now proceeds in three steps. (a) First, we show that G2 = 0 and H2 = 0.
ACA :
i i
i i
(b) Next, we show that P12 = 0, Q12 = 0, that is, in the above basis, the gramians are block diagonal. (c) Finally, provided that k = k+1 , or equivalently i (P22 Q22 ) = j (P33 Q33 ), for all i, j , it follows that F23 = 0 and F32 = 0. ,B ) is not reachable; this implication however contradicts the The consequence of these three relationships is that (A original assumption of reachability. Q + The proof of the above three facts is based on the Lyapunov equations of the transformed triple, namely A QA + C C = 0 and AP + PA + BB = 0:
F11 0 F13 0 F22 F23 F31 F32 F33 P11 P12 0 P 0 12 P22 0 0 P33
G1 G G1 G G1 G 1 2 3 G G G G2 G 2 G3 2 2 1 G3 G G3 G G3 G 3 2 1
=0
and the associated observability Lyapunov equation. The (2,2) equation is F22 P22 + P22 F 22 + G2 G2 = 0. Due to the fact that F22 has imaginary eigenvalues exclusively, it follows that G2 = 0 (this is left as an exercise; see Problem [5], on page 344). Similarly H2 = 0. This proves (a). The (1,2) equation is F11 P12 + P12 F 22 = 0. Since F11 and F22 have disjoint sets of eigenvalues, we conclude that P12 = 0; similarly Q12 = 0 which proves (b). Finally, the (2,3) equation is F23 P33 + P22 F 32 = 0; the observability Lyapunov equation yields F 32 Q33 + Q22 F23 = 0. These two equations yield F23 P33 Q33 + P22 Q22 F23 = 0 Recall that P33 = Q33 = 2 and the eigenvalues of P22 Q22 are a subset of the eigenvalues of 2 1 . Due to the fact that the singular values are ordered in decreasing order and because of the assumption k = k+1 , the spectra of P33 Q33 and P22 Q22 are disjoint. Therefore F23 = 0; consequently F32 = 0. This proves part (c) As noted earlier, these three parts imply the lack of reachability and observability of the original triple which is a contradiction to the assumption of minimality. Hence the reduced system is asymptotically stable. Balanced truncation: discrete-time Proof. From the Lyapunov equations follows
A11 1 A 11 + A12 2 A12 + B1 B1 = 1 This shows that the truncated subsystem need not be balanced. Let A 11 v = v. Multiplying this equation by v , v we obtain (1 | |2 )v 1 v = v A12 2 A 12 v + v B1 B1 v 0
Since 1 > 0, this immediately implies | | 1. There remains to show that the inequality is strict. Assume the contrary, i.e. that | | = 1. Then v A12 = 0. Hence (v 0) is a left eigenvector of A and at the same time it is in the left kernel of B, which means that (A, B) is not reachable. This is however a contradiction and part 1 of the theorem is proved. The proof of part 2 is also by contradiction. Assume that the subsystem 1 is not reachable. Then there exists a left eigenvector of unit length, such that A 11 v = v and B1 v = 0. The equation given at the beginning of the proof implies (1 | |2 )v 1 v = v A12 2 A 12 v Moreover v 1 v min (1 ) and the right-hand side is no bigger than A21 v 2 max (2 ). Furthermore since 2 A 1 and A 1 | |2 . Combining all these relationships together we get 11 v = v it follows that A21 v (1 | |2 )min (1 ) (1 | |2 )max (2 ) min (1 ) max (2 ) since the system is stable by part 1. This last inequality yields the desired contradiction which proves part 2. For the proof of part 3, we refer to [173].
ACA
i i i
Recall that the Lyapunov equations corresponding to the balanced system are: A11 A21 A 11 A 12 A12 A22 A 21 A 22 1 2 1 2 + + 1 2 1 2 A 11 A 12 A11 A21 A 21 A 22 A12 A22 + + B1 B2 C 1 C 2 B 1 C1 B 2 C2 =0 =0
0 1 0
T
1 x1 0 x2 1
Therefore err =
F H
= TFT1 = F
= TG = ,G
0 B2 2B1
= HT1 = ( C1 ,H
C2
0)
The following is the crucial result. Lemma 7.9. [358] With the set-up as above, assume that the part which is eliminated is all pass, that is 2 = I, R, I Rrr . It follows that the H norm of the error system is err
1 2 err
H
(7.7)
The matrix
X=
1 2I
1 1
is clearly positive denite. It can readily be veried that it satises the Riccati equation1 X + XF +H H + F
1
1 G X = 0 XG (2 )2
i i
ACA :
i i
i i 7.2. Model Reduction by balanced truncation The claim follows from lemma 5.27, part 3. It should be mentioned that (7.7) holds with equality. The above proof leads to a proof of the inequality. The results in section 8.6.4 lead to a proof of the relationship with equality (at least in the SISO case). For the proof of the general case we proceed as follows. Let have r distinct Hankel singular values 1 , , r , with multiplicity m1 , , mr , such that i mi = n. The following notation is used: A11 A1k B1 1 I A21 A2k B2 2 I . . . .. , k = 1, , r . . 1,k = .. . . . . with k = . . A A B
k1 kk k
181
C1
Ck
k I
Notice that with the above notation = 1,r and 1,0 is the zero system. We can thus write = (1,r 1,r1 ) + (1,r1 1,r2 ) + + (1,2 1,1 ) + (1,1 1,0 ) 1,r 1,r1 + 1,r1 1,r2 + + 1,2 1,1 + 1,1 1,0 2r + 2r1 + + 22 + 21 The rst inequality follows from the triangle inequality and the second from lemma 7.9 which asserts that 1,k 1,k1 2k , for all k = 1, , r. Thus clearly, the error bound (7.5) on page 177, holds.
7.2.2
In this section we compute the H2 norm of the error system. Then using the expression for the solution of the Sylvester equation (6.1) obtained in (6.14), we obtain a computable upper bound for this H2 norm (7.10). Again recall that is the balanced partitioned system (7.3), 1 is the reduced system obtained by balanced truncation 7.4, and err is the resulting error system (7.6). Let Y be such that A Y + YA11 + C C1 = 0, which in partitioned form is A 11 A 12 A 21 A 22 Y1 Y2 + Y1 Y2 A11 + C 1 C 2 C1 = 0. (7.8)
From (5.28), page 121, the H2 norm of the error system err is the square root of the following expression: B1 1 0 Y1 0 B B 2 Y2 B2 B e 2 1 2 1 H2 = trace Y1 Y2 1 B1
The following string of equalities holds: X + XF + H H + 1 2 XG G X = 0 F (2 ) 1 0 1 0 A A 0 1 A11 1 A12 0 11 1 21 1 A+ @ A 1 2A 2A22 A21 A12 1 A + @ A21 22 12 1 1 1 0 A12 A11 0 A A 1 1 21 11 1 1 1 0 0 0 0 0 C C 0 1 C1 1 C2 1 A= @ C C1 C C2 0 A + @ 0 B2 B1 1 B2 B2 2 2 1 1 1 0 0 0 0 B B B B 1 1 2 1 1 1 1 0 1 A11 1 + 1 A11 + C A 0 1 C1 21 + 1 A12 + C1 C2 1 1 @ A 1 + A21 + C C1 A 2A22 + 2A22 + C2 C2 + B2 B2 A12 1 + A21 + B2 B1 1 12 2 1 1 1 1 1 + 1 A 0 A21 A 12 + 1 B1 B2 11 1 + 1 A11 + 1 B1 B1 1 1 From the Lyapunov equations given earlier, and keeping in mind that 2 = I, it follows that each one of the (block) entries of the above matrix is zero.
ACA
i i i
is: Lemma 7.10. With the notation established above the H2 norm of the error system e = e
2
H2
(7.9)
The rst term in the above expression is the H2 -norm of the neglected subsystem of the original system, while the second term is the inner product of the second block row of the gramian with Y. It is this second term that we try to express by means of the original system data below. Next, we derive an upper bound for the H2 of the error in terms of the H norm of the auxiliary system A11 A12 0 A22 2 A21 aux = A21 0 A12 2 0 Notice that the transfer function of aux can be written as Haux (s) = A12 2 sI A22 A21 (sI A11 )
1
A12
2 A21
It is worth noting that this expression is quadratic in the neglected part 2 of the gramian. Corollary 7.11. With the notation established above, there holds e
2
trace [ B 2 2 B2 ] + 2 k aux
H .
(7.10)
Remark 7.2.2. The rst term in (7.10) is linear in the neglected singular values 2 , while the second is quadratic in 2 . Proof the lemma. The following equalities hold: e
2 = trace [B 1 1 B1 B1 Y1 B1 + B2 2 B2 B 2 Y2 B1 B1 Y1 B1 B1 Y2 B2 + B1 1 B1 ] = trace [B2 2 B2 ] + 2 trace [ B1 1 B1 B 1 Y1 B1 B2 Y2 B1 ] ( )
From the (1,2) entry of the Lyapunov equation for the balanced reachability gramian follows: A12 2 + 1 A 21 + B1 B 2 = 0, and consequently (B1 B2 ) Y2 = (A12 2 + 1 A21 ) Y2 . This implies that trace ( ) is:
trace [ B 2 Y2 B1 ] = trace [ B1 B2 Y2 ] = trace [ A12 2 Y2 + 1 A21 Y2 ]
Substituting yields e
We show that ( ) = 0. The (1,1) entry of equation (7.8) implies: A 11 Y1 + A21 Y2 + Y1 A11 + C1 C1 = 0 and consequently 1 A21 Y2 = (1 A11 Y1 + 1 Y1 A11 + 1 C1 C1 ). Thus the expression trace [ B1 1 B1 B 1 Y1 B1 + 1 A21 Y2 ] equals trace [ B 1 1 B1 B1 Y1 B1 ] trace [ 1 A11 Y1 + 1 Y1 A11 + 1 C1 C1 ] = trace [ B 1 1 B1 ] trace [ C1 1 C1 ] trace [ B1 Y1 B1 + 1 A11 Y1 + 1 Y1 A11 ] = 0 trace [ (B1 B 1 + 1 A11 + A11 1 ) Y1 ] = 0 0 = 0
i i
ACA :
i i
i i 7.3. Numerical issues: four algorithms Proof of the corollary. First we notice that Y A Y1 1 Y2 + 1 0 satises the Sylvester equation: A11 = 0 2 A21 183
Y1 1 Y2
Thus, using the expression (6.14) derived for the solution of the Sylvester equation, and multiplying on the left by [0 A12 2 ], we obtain
k
A12 2 Y2 =
i=1
A12 2
(i I + A)
0 2 A21
i wi w
i are the eigenvalues, right-, left-eigenvectors of the A-matrix of the reduced-order system: A11 . where i , wi , w Thus we can derive an upper bound for the H2 of the error in terms of the H norm of the auxiliary system aux dened earlier. In particular, each term in the above sum is bounded from above by the H horm of this auxiliary system. Hence the sum is bounded by k times the same norm. We thus obtain an upper bound for the H2 norm. Remark 7.2.3. If we assume that the gramian Q is not diagonal, instead of formula expression for the H2 error Q11 Q12 Y1 Q B Q22 Y2 B B e 2 12 1 2 1 H2 = trace Q Y1 Y2 (7.9) we get the following B1 B2 , B1
where A 11 Q + QA11 + C1 C1 = 0. Using manipulations similar to those above it can be shown, that the error reduces to the following expression:
2 H2 =
trace [B 2 Q22 B2 ] + trace [B1 (Q Q11 )B1 ] + 2 trace [A12 (Q2,: Y )].
(7.11)
Interpretation. The rst term in the above expression is the H2 -norm of the neglected subsystem of the original system; the second term, is the difference between the H2 -norms of the reduced-order system and the dominant subsystem of the original system; nally the third term is twice the trace of the inner product of the second block row Q11 satises the of the observability gramian Q with Y weighted by the block off-diagonal entry of A. Finally, Q Sylvester equation: A 11 (Q Q11 ) + (Q Q11 )A11 = A12 Q21 + Q12 A12 Q11 will be small This implies that if either the gramian Q or A have small (zero) off-diagonal elements, then Q (zero). Clearly, formula (7.11) reduces to (7.9) when the gramian is block diagonal, i.e., Q12 = 0 and Q21 = 0.
denite matrices which we have denoted by P , Q. Consequently they have a Cholesky decomposition: P = UU , Q = LL where U : upper triangular, L : lower triangular
ACA
(7.12)
April 14, 2004
i i i
The eigenvalue decomposition of U QU, produces the orthogonal matrix U and the diagonal matrix which is composed of the Hankel singular values of (this follows from the fact that U QU is similar to PQ): U QU = K2 K (7.1)
In addition, the Hankel singular values are the singular values of the product of triangular matrices U , L. The SVD of this product produces the orthogonal matrices W and V: U L = WV Finally, we need the QR-factorization of the products UW and LV UW = X, LV = Y (7.14) (7.13)
where X, Y are orthogonal and , are upper triangular. To summarize, from the gramians P , Q we generate the orthogonal matrices: K, W, V, X, Y, the upper triangular matrices U, L , , , and the diagonal matrix . We are now ready to derive various balancing transformations as well as projections which produce systems obtained from by balanced truncation. 1. The rst transformation and its inverse are T = 1/2 K U1 and T1 = UK1/2 2. Square root algorithm. The second transformation follows from (7.13): T = 1/2 V L and T1 = UW1/2
TATi CTi TB D
(7.2)
(7.15)
is balanced.
Rnk
(7.16)
satisfy T1 Ti1 = Ik , and applied on yield the reduced order system of dimension k , obtained from by balanced truncation: T1 ATi1 T1 B 1 = (7.17) CTi1 D 3. The third transformation is derived from the previous one by dropping the term 1/2 . This yields a system which is balanced only up to diagonal scaling. The transformations are T3 = V L Rnn and T3i = UW Rnn which again satisfy T3 T3i = T3i T3 = . Clearly, the system
1/2 A3 1/2 C3 1/2 A3 C3 B3 D
(7.18)
T3 AT3i CT3i T3 B D
is still
it remains balanced and is equal to . Removing the factor 1/2 may in some cases make the transformation better conditioned.
i i
ACA :
i i
i i 7.3. Numerical issues: four algorithms 4. Balancing-free square root algorithm. Our goal here is to transform the system by means of an orthogonal transformation in such a way that it is similar to a balanced system up to a triangular transformation. This method was introduced by Varga [340]. Towards this goal we compute the QR factorizations of UW and LV: UW = X, X Rnn and LV = Y, Y Rnn where X and Y are unitary matrices and , are upper triangular. The transformations are T4 = (Y X)1 Y = X and T4i = X Then
X AX CX X B D
185
(7.19)
(7.20)
similar to the system which is obtained by balanced truncation, up to an upper triangular matrix. This upper triangular transformation is K = 1/2 . Clearly, K can be ill conditioned due to 1/2 . Next we truncate the QR factorizations of UW and LV: UW1 = Xk k , Xk Rnk and LV1 = Yk k , Yk Rnk (7.21)
where X k Xk = Ik and Yk Yk = Ik , while k , k are the k k leading submatrices of , respectively, and consequently are upper triangular matrices. We thus obtain the following transformations:
(7.22)
Remark 7.3.1. (a) Summarizing, there are four different ways of computing a balanced realization and consequently a reduced system obtained by balanced truncation. In general the transformations have different condition numbers. In particular T1 has the largest condition number, followed by T2 . The transformations T3 and T4 have almost the same condition number which is in general much lower than those of the rst two transformations. (b) As shown in section 6.3.3, the Cholesky factors U and L of the gramians can be computed directly, that is, without rst computing the gramians P , Q, and subsequently computing their Cholesky decompositions. This method for solving the Lyapunov equation was rst proposed by Hammarling [164]. See also the paper of Safonov and Chiang [283]. (c) The number of operations required to obtain a balanced realization is of the order of n3 , where n is the dimension of the system under investigation O(n3 ) while the storage required is O(n2 ) (the storage of n n matrices is required).
Summary of balancing transformations The table below summarizes the four balancing transformations discussed earlier. T1 is the original one, T2 the square root balancing transformation, T3 the square root transformation which balances up to scaling, and T4 which yields balanced systems up to an upper triangular transformation. Their inverses are denoted by Tji , j = 1, 2, 3, 4. In the transformed bases if we partition as in (7.3), and K, U, W, X, Y conformally, we obtain the right projectors denoted
ACA
i i i
j , and the associated left projectors T ji , j = 1, 2, 3, 4. These are the balance and truncate transformations; the by T second one is the square root balance and truncate, the third the up to diagonal scaling balance and truncate, and the last one is the square root balancing free transformation. Factorization P = UU , Q = LL U QU = K K
2
Transformation
(Left) Inverse
T1 = 1/2 K U1 1 = 1/2 K U1 T 1 1
T1i = UK1/2 1i = UK1 1/2 T 1 T2i = UW1/2 2i = UW1 1/2 T 1 T3i = UW 3i = UW1 T T 4i = X 4 i = X1 T
U L = WV
W, V unitary
T2 = 1/2 V L 2 = 1/2 V L T 1 1 T 3 = V L 3 = V L T 1
UW = X LV = Y
X, Y : unitary , : upper
T4 = (Y X)1 Y 4 = (Y X1 )1 Y T 1 1
An example We conclude this section with numerical experiments performed on continuous-time low-pass Butterworth lters; these can be obtained in MATLAB as follows: [A,B,C,D]=butter(n,1,s). The order n of the lter varies, n = 1 : 30. The Hankel singular values for n = 30 have condition number close to 1019 and the rst 6 are nearly equal to 1; these singular values were computed by means of the square root algorithm, that is, (7.13). Our rst goal is to compare the rst three balancing transformations Tj , j = 1, 2, 4, and the corresponding balanced triples (Cj , Aj , Bj ). The transformations are: T1 the usual balancing transformation; T2 the square-root balancing transformation; T4 the square-root balancing-free transformation. The errors that we look at, are the 2-norms of the differences between the identity and the product of each transformation and its inverse, and the norm of left-hand side of the observability Lyapunov equations for three balancing transformations: Ej = norm (In Tj Tji ), j = 1, 2, 4 (2) Ej = norm (A j + Aj + Cj Cj ), j = 1, 2, 3 All these quantities are theoretically zero. The actual values of the above errors in oating point arithmetic, are plotted as a function of the order n of the lter. The rst set is depicted in the left gure 7.1, while the second is depicted in the right gure 7.1. A similar example is explored in problem 47.
(1)
i i
i i
187
Butterworth filters: Observability Lyapunov equation errors
6
0
7
2
8
4
T1 Q T20 Q T2 Q
10
11
10
12
12
13
14
14
15
16 5 10 15 Filter dimension 20 25 30
16
10
15 Filter dimension
20
25
30
Figure 7.1. Balancing transformations for Butterworth lters of order 1-30. Left gure: errors of three balancing transformations. Right gure: errors of three observability Lyapunov equations.
where j > j +1 > 0, and mj is the multiplicity of j . Consequently, the following Lyapunov equations are satised: A + A + BB = 0 A + A + C C = 0 (7.23) (7.24)
Before stating the result valid for the general case we examine two special cases. The rst is when the multiplicity of all singular values is equal to one, i.e. the singular values are distinct. Let the entries of B be denoted by i : 1 . B= . . . n It follows from (7.23) that the entries of A can be chosen as follows aij = Moreover from (7.24) follows that C = (s1 1 sn n ) . In other words the si are signs associated with the singular values i . Finally, notice that due to the reachability of (A, B) and to the observability (C, A) the i must be different from zero. Summarizing, from (7.23) and (7.24) the triple (C, A, B) may be assumed to have the following form =
2 1 21
i j where si = 1, i, j = 1, , n. si sj i + j
1 2 s1 s2 1 +2
2 2
.. .
1 n s1 sn 1 +n 2 n s2 sn 2 +n
1 2 . . . n
2 1 s2 s1 2 +1
22
A C
. . .
n 1 sn s1 n +1
. . .
n 2 sn s2 n +2
. . .
2 n 2 n
(7.25)
s1 1
ACA
s2 2
sn n
April 14, 2004
i i i
The second special case is that of one singular value of multiplicity n, i.e. m1 = n, mi = 0, i > 1. For simplicity we denote this single singular value . Following corollary 7.3 the balanced representation is unique up to orthogonal transformation in the state space. It follows that one solution of (7.23) and (7.24) is BB = diag (, 0, , 0) = C C, > 0 1 A= diag (, 0, , 0) + L 2 where L is an arbitrary skew symmetric matrix. To further simplify this form we are allowed to use orthogonal transformations U of the type U = diag (1, U2 ), where U2 is an arbitrary orthogonal matrix of size n 1. The nal form in this case is 2 1 0 0 0 2 1 0 0 2 0 0 0 2 0 0 0 0 A B . . . .. = (7.26) . . . . . . . C 0 0 0 0 n1 0 0 0 0 n1 0 0 s 0 0 0 0 where > 0, > 0, i > 0, s = 1. As we will see later, these systems are precisely the all-pass systems for an appropriate choice of D. The general case is a combination of the above two special cases. multiplicity mi . A11 A12 A21 A22 A B = . . .. . C . . . . Aq 1 Aq 2 C1 C2 The following hold true: i,1 0 = 0 0 si i
2 i 2i
(7.27)
Aii Ci
Bi
i,1 0 i,2 . . . 0 0 0
0 i,2 0 0 0 0
0 0 0
. 0 i,mi 1 0 0 0 0 . . . 0 0 i 0 . . . 0 0
..
0 0 0 . . . i,mi 1 0 0
i 0 0 . . .
0 0
(7.28)
Aij Cj
Bi
i j si sj i +j
0 . . . 0 sj j
0 . .. . . . 0 0
(7.29)
The parameters which enter the forms described by (7.27), (7.28) and (7.29) are i > 0, mi 0, i > 0, si = 1, i = 1, , q q i=1 mi = n ij > 0, i = 1, , q, j = 1, , mi
(7.30)
i i
ACA :
i i
i i 7.4. A canonical form for continuous-time balanced systems We are now ready to state the main result of this section. Theorem 7.12. There is a one-to-one correspondence between the family of stable, reachable, observable, singleinput, single-output, continuous-time systems with Hankel singular values i of multiplicity mi and the family of systems parametrized by (7.27)-(7.30). 189
Remark 7.4.1. (a) It is interesting to notice that a class of stable and minimal systems is parametrized in terms of positive parameters i , mi , i , ij and the sign parameters si . Recall that the parametrization of minimal (let alone stable) systems in terms of other canonical forms is complicated. (b) Using the parametrization of balanced systems derived above one can obtain an alternative proof of part 2 of theorem 7.7. It thus becomes clear under what conditions the truncated system is minimal, even if the condition given in part 2 of the theorem is not satised. Example 7.4.1. A third order discrete-time FIR system described by the transfer function: H(z ) = z2 + 1 , z3
is considered. We rst investigate approximation by balanced truncation, rst in discrete-time, and then in continuoustime, using the bilinear transformation of section 4.3.3, and compare the results. Hankel norm approximation for the same system is investigated in example 8.5.1. A balanced realization of this system is given by F G H J 0 = 0 0 0 0 0 0 0
d = where = 5 4 , =
1
3 5+5 , 10
3 5 5 , 10
and the reachability and observability gramians are equal and diagonal: 5+1 , 2 = 1, 3 = 2 51 2
P = Q = = diag (1 , 2 , 3 ), 1 =
The second and rst order balanced truncated systems are 0 F2 G 2 d,2 = = 0 0 , d,1 = H2 J2 0 0
F1 H1
G1 J1
Notice that d,2 is balanced, but has singular values which are different from 1 , 2 . d,1 is also balanced since G1 = H2 but its gramians are not equal to 1 . Let c denote the continuous time system obtained from d by means of the bilinear transformation described in section 4.3.3: 1 22 2 2 2 + A B 2 1 2 2 c = = 2 2 2 2 1 + 2 C D + 2 2 where = 2( ). Notice that c is balanced. We now compute rst and second reduced order systems c,1 , c,2 by truncating c : 1 22 2 + A2 B 2 2 1 2 = c,2 = C2 D2 + 2 2
ACA
i i i
d,2 , d,1 be the discrete-time systems obtaining by transforming c,2 , c,1 back to discrete-time: Let 0 F2 G2 d,2 = = 2 2 J 2 H 2 d,1 = 1 F 1 H 1 G 1 J = 3 /2 ( + )3 /22 ( + )3 /22 2 (2 + )2 /(1 + 2 )
d,2 , d,1 are balanced and different from d,2 , d,1 . It is interesting to notice that the singular The conclusion is that d,1 is 1 ; 2 satises 2 < 2 < 1 . Furthermore the singular values of 1 , while that of value of d,1 is 2 = 1+ 5 d,2 are 5 2 /4, 5 2 /4 which satisfy the following interlacing inequalities: 3 < 5 2 /4 < 2 < 5 2 /4 < 1 The numerical values of the quantities above are: 1 = 1.618034, 3 = 0.618034, = 0.66874, = 1.08204, = 0.413304, + = 2.47598, = .361241.
, these positive denite matrices are either solutions of Lyapunov equations, or Riccati equations.
Equations AP + P A + BB = 0 A Q + QA + C C = 0 = P C + BD AP + P A + BB = 0, B Q) (DD )1 (C B Q) = 0 A Q + QA + (C B AP + P A + BB + (P C + BD )(I DD ) (P C + BD ) = 0, A Q + QA + C C + (QB + C D)(I D D)1 (QB + C D) = 0 AP + P A + (P C B)(D + D )1 (P C B) = 0, A Q + QA + (QB C )(D + D)1 (QB C ) = 0
1
Error H Hr 2
Pn
Pn
i=r +1
H1 (H Hr ) 2
1+i i=r +1 1i
BR PR
H Hr 2
Pn
1 i
i=r +1
(H + D )1 (Hr + D )1 ) 2 (D + D )1
Pn
i=r +1
(ii) it is stable (all eigenvalues of A are in the left-half of the complex plane) and (iii) D is non-singular. If H(s) = C(sI A)1 B + D is the transfer function of , we denote by its power spectrum, and by W(s) a minimum phase
i i
ACA :
i i
right spectral factor; furthermore the phase system whose transfer function is Z(s) is introduced. These quantities satisfy: (s) = H(s)H (s) = W (s)W(s) = Z(s) + Z (s) = P C + BD , and let Let P be the usual reachability gramian of satisfying AP + P A + BB = 0; dene B Q be a stabilizing solution of the following Riccati equation Q) [DD ] A Q + QA + (C B
1
Q) = 0 (C B
It can be shown that a realization of W and Z is given in terms of the two gramians P and Q as follows: W = B A D C Z = A C = B D
1
P C + BD A Q) (C B D A C P C + BD DD /2
By construction, the eigenvalues of the product PQ are the squares of the Hankel singular values i of the following auxiliary system A B P C + BD 0 This method proceeds by computing a balancing transformation T for this auxiliary system, which is applied to the original system ; reduction by truncation follows as usual. If we let the neglected distinct singular values be i , the following relative error bound holds
n
i=k+1
1 + i 1, 1 i
where only the distinct singular values enter in the above formula. Furthermore the H norm of the relative error Hk (s)1 [H(s) Hk (s)], satises this same error bound. It is worth noting that i 1 and the number of i which are equal to one is equal to the number of right-half plane (i.e. unstable) zeros of . Remark 7.5.1. The multiplicative error bound. It is pointed out in chapter 2 of the Obinata and Anderson book [252] that the multiplicative error measure above is focusing on Bode diagram errors (errors in log-magnitudes and Hk phases). This follows from the following considerations. In the SISO case let = H H , be the relative error; then Hk H = 1 , which in turn implies ln Hk H = ln(1 ) = + 1 2 1 3 + + . 2 3
By neglecting higher order terms we have ln(Hk /H) ; from ln(Hk /H) = ln |Hk /H| + i arg(Hk /H), follows that Hk Hk | ln | | | | | and | arg | ||. H H Thus transforming these relationships to log10 we get 20 log10 | and similarly Hk Hk |= 20 log10 e ln | | 20 log10 e | |= 8.69 | | dB, H H | arg(H) arg(Hk ) |
1 | | radians. 2 Thus assuming that is small, the Bode plot (both amplitude and phase) of the relative approximant Hk /H is bounded up to a constant by the product given above.
ACA
i i i
It is of interest to discuss the special case when is minimum phase. The rst consequence is that with Q the usual observability gramian of , the difference R = Q1 P is nonsingular and it satises the Lyapunov equation (A BD1 C)R + R(A BD1 C) + (D1 C) (D1 C) = 0 Thus R is the observability gramian of the inverse system and no Riccati equation needs to be solved. As a consequence of these facts, the stochastic singular values i are related to the Hankel singular values i of : i =
1
i
2 1 + i
Since i < 1, we have i < 2 2 . Thus in this case the minimum phase property is preserved by balanced stochastic truncation. Stochastic balancing was introduced by Desai and Pal [94]; the relative error bound is due to Green [146, 147]. For a recent overview see the book of Obinata and Anderson [252]. and for numerical algorithms we refer to the work of Benner [53]. Stochastic balanced truncation can be applied to all asymptotically stable dynamical systems which are square and nonsingular. For application to singular systems, see [342] and [139]. In the former reference it is stated that stochastic balanced truncation yields a uniformly good approximant over the whole frequency range rather than yielding small absolute errors. Also, Zhou [369] showed that for minimal phase systems, stochastic balanced truncation is the same as the self-weighted balanced truncation where only input weighting exists and is given by H1 . This issue will be discussed in section 7.6.1 in more detail.
Any solution Y lies between two extremal solutions: 0 < Ymin Y Ymax . Ymin is the unique solution to (7.31) such that A + B(I D D)1 (B Y + D C) is asymptotically stable. Furthermore positive realness is also equivalent with the existence of a positive denite solution Z of the dual Riccati equation AZ + Z A + BB + (Z C + BD )(I DD )1 (Z C + BD ) = 0. (7.32)
Also in this case any solution lies between two extremal solutions: 0 < Zmin Z Zmax . (7.31) and (7.32) are the bounded real Riccati equations of the system . It follows that Y = Y > 0 is a solution to (7.31), if Z = Y 1 is a 1 1 solution to (7.32), and conversely. Hence Zmin = Ymax and Zmax = Ymin .
1 Bounded real balancing is obtained by simultaneous diagonalization of Ymin and Ymax , or equivalently Ymin and Zmin . The realization of a bounded real system is called bounded real balanced if 1 1 Ymin = Zmin = Ymax = Zmax = diag(1 Il1 , , q Ilq )
where 1 1 > 2 > > q > 0, mi , i = 1, , q are the multiplicities of i , and m1 + + mq = n. We will call i the bounded real singular values of . Truncation now follows as usual after transformation to the balanced basis, by eliminating the states which correspond to small singular values. Let the reduced order model r =
A11 C1 B1 D
balanced truncation. Also let W(s) and V(s) be stable and minimum phase spectral factors, that is, W (s)W(s) =
i i
ACA :
i i
I G (s)G(s) and V(s)V (s) = I G(s)G (s). Dene Wr (s) and Vr (s) similarly for r . Then r is asymptotically stable, minimal, bounded real balanced and satises max
q
H Hr W Wr
,
H
H Hr V Vr
2
H i=k+1
i .
(7.33)
Thus if 2 i=k+1 i is small, not only are and r close, but also the reduced spectral factors Wr and Vr are guaranteed to be close to the full order spectral factors W and V, respectively. Bounded real balancing and the above error bounds are due to Opdenacker and Jonckheere [251]. There is also a canonical form associated with bounded real balancing. In the single-input single-output case, and assuming the corresponding singular values are distinct i = j , i = j , we have (A)ij = i j 1 + si sj i j + j d , (B)i = i , (C)j = sj j , D = d, 1 d2 si sj i + j
where i > 0 and si = 1. For details on the general case of this canonical form see Ober [249].
(PRARE)
where 1 1 > 2 > > q > 0, mi , i = 1, , q , and m1 + + mq = n, are the multiplicities of i , which are termed the positive real singular values of . There is canonical form for the pr balanced system, which in the SISO case is: i j (1 si i )(1 sj j ) Aij = , Bi = i > 0, Cj = sj j , D = d > 0. 2d(si sj i + j ) where si = 1, i = 1, , n; for details see [249]. The reduced order model r obtained by positive real balanced truncation, is asymptotically stable, minimal and positive real balanced. It also satises an error bound [159]. Proposition 7.13. The reduced order model r , obtained by the positive real balanced truncation, satises
q
2 R
2 i=k+1
i ,
i i i
Proof. We can assume that is in the positive real balanced basis. Hence the following two Riccati equations result: A + A + (C B)(D + D )1 (C B) = 0, A + A + (B C )(D + D )1 (B C ) = 0. These can be written as (A BR2 C) + (A BR2 C) + C R RC + BR RB = 0, (A BR2 C) + (A BR2 C) + BR2 B + C R2 C = 0. = It follows that the system = A 11 A 21 A
1 B 0 A C B 0
=A =C =B
12 A 22 A
= , B
1 C
2 C
, =
where 1 = diag(1 Im1 , , k Imk ), 2 = diag(k+1 Imk+1 , , q Imq ), and dene the bounded real reduced r = system r (s) (R) H
11 A 1 C
q i=k+1
( s) i . Since R (H
(s) H r ( s) H
H
H ,
this leads to
q
( s) H r (s))(R) R(H
(s)(R) RH r (s)(R) = RH
=(s) =r (s)
2 R
2 i=k+1
i .
A realization for (s) and r (s) can be obtained as (s) = Thus (s) r (s) that A BR2 C R2 C
H
A BR2 C BR2 R2 C 0
and r (s) =
H
A11 B1 R2 C1 R2 C1
2 q i=k+1
B1 R2 0
= ((s) + R2 ) (r (s) + R2 ) A C B R2
1
2 R
BR2 R2
and
A11 B1 R2 C1 R2 C1
B1 R2 R2
where R2 = D + D .
2 R
2 i=k+1
i ,
which is a frequency weighted bound for the error system r , where the input and the output weightings are (D + H(s))1 and (D + Hr (s))1 , respectively. A modied positive real balancing method with an absolute error bound We will now introduce a modied positive real balancing method for a subclass of positive real systems. Then based on proposition 7.13, we will derive an absolute error bound for this reduction method. be dened by means of its transfer function as follows: Given the system with pr transfer function H, let (s) = (D + H(s))1 1 R2 . H 2
ACA :
i i
i i
(s) is positive real. 2 In this case the positive real balanced truncation discussed above is applied to . Let the that H pr singular values of be = diag( 1 Is1 , , q Isk , k+1 Isk+1 , , q Isq ), and let r denote the reduced positive r is the intermediate reduced model. real system obtained by keeping the rst k pr singular values i . The resulting r is obtained from r by means of the equation D r +H r (s) = (R2 /2 + H r (s))1 , The nal reduced order model r = D. The following bound holds where D r be obtained by the modied positive real balancing method Proposition 7.14. Given the positive real system , let r is asymptotically stable, positive real and satises discussed above. Then
q
r (s) H(s) H
2 R1
2 i=k+1
i .
r is obtained from by pr balanced Proof. Asymptotic stability and positive realness follows by construction. Since 2 + H (s))1 (D + H r (s))1 H 2 R 2 q truncation, proposition 7.13 yields (D i=k+1 i , where R = 1 2 1 1 (D + D ) = R . By construction we have (D + H(s)) = D + H(s), and (D + Hr (s)) = D + Hr (s), which implies the desired inequality.
is small. Several methods have been proposed for frequency weighted model reduction. They consist in incorporating suitable output and input frequency weights in the computation of the truncated matrices. Varga and Anderson proposed in [346] the application of square root and balancing free square root techniques for accuracy enhancement. The next section gives a brief overview of existing frequency weighting model reduction methods, and discusses how the square-root and balancing-free square root techniques can be incorporated. Gramians for weighted systems Consider the system , a system i which the input weight, and a system o , which is the output weight: =
A C B D
, i =
Ai Ci
Bi Di
, o =
Ao Co
Bo Do
i, o whose transfer functions are H i = HHi , H o = Ho H respectively, is: A realization of the systems i A i C i B i D A 0 = C BCi Ai DCi BDi Bi DDi , o = o A o C o B o D A 0 Bo C A o = Do C Co
2s+2p1 , 4(2s+2p+1)
i =
B Bo D Do D
2 1 (s) = This condition is not always satised. For example, if H(s) = 1 + s+ where p 0, H p
for p >
ACA
1 . 2
i i i
(i I A)1 BB (i I A )1 d,
(4.51)
(i I A )1 C C(i I A)1 d,
(4.52)
where C(sIA)1 is the state-to-output map. Given that the input to the system has to be weighted, that is, go through the system o , the weighted input-to-state map becomes (sI A)1 BHi (s), while the weighted state-to-output map becomes Ho (s)C(sI A)1 . Consequently the reachability and observability weighted gramians are: Pi = 1 2 1 2
1 (i I A)1 B Hi (i )H d i (i ) B (i I A )
(7.34)
Qo =
1 (i I A )1 C H d o (i )Ho (i ) C(i I A)
(7.35)
We can now nd a balancing transformation T which will simultaneously diagonalize these two gramians TPi T = T Qo T1 = = diag (1 , , n ) Subsequently, order reduction takes place exactly as for balanced truncation; to that effect recall (7.3), (7.4). The question which arises is whether these weighted gramians can be obtained as solutions of Lyapunov equa i, o , respectively, that is: i , Q o be the reachability, observability gramians of tions. Let P iP +B iB = 0, A Q i + P i A A i i o o + Qo Ao + Co Bo = 0. (7.36)
The gramians are partitioned in two-by-two blocks, so that the dimension of the (1, 1) block is the same as that of A, i.e. the order of the to-be-reduced system. i = P 11 P 21 P 12 P 22 P o = , Q 11 Q 21 Q 12 Q 22 Q
Proposition 7.15. The frequency weighted reachability, observability gramians dened by (7.34), (7.35), are equal to i , Q o , respectively: the (1, 1) block of the gramians P 11 , Qo = Q 11 Pi = P (7.37)
Proof. The proof follows by noticing that (sI A)1 B Hi (s) = Ho (s) C(sI A)1 = I 0 sI A 0 BCi sI Ai
1
BDi Bi
1
= I 0
i )1 B i, (sI A I 0 .
Do C Co
sI A Bo C
0 sI Ao
o ( sI A o )1 =C
Therefore the required gramians are obtained as the (1, 1) blocks of the gramians obtained by solving the Lyapunov equations (7.36).
i i
ACA :
i i
2
i=k+1
2 + ( + ) k k k k
3 /2
+ k k k ,
where k and k are the H norms of transfer functions depending on the weights and the reduced system. For details on the computation of k and k , see [201]. The rst attempt to deal with weightings in model reduction is due to Enns [106]. However, this method does not guarantee stability of the reduced model for the case of two-sided weighting. The original work of Enns also did not provide an error bound. The method by Lin and Chiu To add stability for the case of two-sided weighting, Lin and Chiu [229] compute P , Q as above, but replace the gramians (7.37) by their Schur complements:
1 1 P = P11 P12 P22 P21 , Q = Q11 Q12 Q 22 Q21 .
If the realizations are minimal, these gramians are non-singular. Furthermore, stability of the reduced system is guaranteed. The main drawback of this method is that the realizations of i and o as given above, must be minimal. Finally, the weighted error system satises an error bound of the form
q
2
i=k+1
2 + + )( ( k k k k + k + k )
where k , k , k and k denote the H norms of transfer functions depending on the data. For details we refer to [229]. Zhous self-weighted method Zhous method [369] is applicable to any stable which has a stable right inverse and D is full-rank. For simplicity, we will only discuss the case where H(s) is square, nonsingular, det(D) = 0, and H1 is asymptotically stable, i.e. the system is minimum phase. This method is a special case of Enns method where Hi (s) = I, Ho (s) = H1 (s) = The gramians to be diagonalized are therefore APi + Pi A + BB = 0, Qo (A BD1 C) + (A BD1 C) Qo + (D1 C) (D1 C) = 0.
ACA
A BD1 C BD1 D1 C D1
i i i
The self-weighted balanced realization is then obtained by simultaneously diagonalizing P11 and Q11 , i.e. P11 = Q11 = diag(1 In1 , , k Ink , k+1 Ink+1 , , q Inq ). Lemma 7.17. Let H(s) be an asymptotically stable, square, non-singular and minimum phase system. Also, let Hr (s) be obtained by the self-weighted frequency truncation method. Then Hr (s) is asymptotically stable, minimum phase and satises
q 1 H r (H Hr ) H ,
H1 (H Hr )
i=k+1
(1 + 2i
2 + 2 2 ) 1 1 + i i
It can be shown that if H(s) is square, asymptotically stable, nonsingular and minimum phase as in the above theorem, this method is equivalent to stochastic balancing. In this case, the i and the stochastic singular values i s are related by i = i 2 .
1+i
The method by Wang et al. A method due to Wang et al. [351] provides computation of an a priori computable error bound for the weighted error. This method also guarantees stability for the case of two sided weighting. It does so by forcing the gramians to satisfy a denite Lyapunov equation (i.e. AP + P A + Q = 0, where Q 0). Then stability is a result of the inertia results for Lyapunov equations discussed in section 6.2, page 157. Let X = AP11 P11 A , Y = A Q11 Q11 A. If these two matrices X and Y are positive (semi-) denite, the reduced system is guaranteed to be stable. Otherwise, let the eigenvalue decomposition of the former be X = UU , where U is orthogonal and is diagonal with real entries i , on the diagonal. Let | |= diag (|1 |, , |n |). Let | X |= U | | U , and similarly for | Y |. The gramians are now computed by solving the Lyapunov equations AP + P A + | X |= 0, A Q + QA+ | Y |= 0. Subsequently, balancing and truncation are applied as earlier. Although the computation in this method is more involved, stability of the reduced system is guaranteed. Furthermore an error bound can be computed (see [351] for details). The combination method by Varga and Anderson The combination method proposed in [346] is formulated by combining Enns method with Lin and Chius method. Using this approach the reduced model retains the features of both methods. This method introduces two parameters , and computes the frequency weighted gramians as follows:
1 1 P = P11 2 P12 P22 P21 , Q = Q11 2 Q12 Q 22 Q21 .
Since for = = 1, the reduced order system is stable, while for = = 0 it may not be, by choosing the parameters in the neighborhood of one, a family of stable weighted reduced order models is obtained. In the same paper a modication of Wangs method is presented, consisting in generating a semi-denite | X | from X by setting all its negative eigenvalues to zero (similarly for | Y |. Remark 7.6.1. To improve accuracy in all methods mentioned above, square root and balancing free square root techniques can be used. One issue which needs to be addressed is the sensitivity of the reduced model to the choice of the input and output weightings.
i i
ACA :
i i
P ( ) =
1 2
(i I A)1 BB (i I A )1 d
(7.38)
Q( ) =
1 2
(i I A )1 C C(i I A)1 d
(7.39)
Thus if we are interested in the frequency interval [0, ], we simultaneously diagonalize the two gramians P ( ) and Q( ) dened above and proceed as before. In case that the frequency interval [1 , 2 ] is of interest, the gramians are dened as follows: P (1 , 2 ) = P (2 ) P (1 ) and Q(1 , 2 ) = Q(2 ) Q(1 ) (7.40) It is readily seen that these expressions are positive (semi-) denite. Thus simultaneous diagonalization of these gramians and subsequent truncation, provides a reduced order system which yields small errors in the interval [1 , 2 ]. The question now is whether these gramians satisfy Lyapunov equations. To answer this question we introduce the following notation. S( ) = 1 2
(i I A)1 d =
i ln (i I A)(i I A)1 2 Wo ( ) = S ( )C C + CC S( ), Wo (1 , 2 ) = Wo (2 ) Wo (1 )
(7.41)
Wr ( ) = S( )BB + BB S ( ), Wr (1 , 2 ) = Wr (2 ) Wr (1 )
Lemma 7.18. With the notation introduced above the gramians satisfy the following Lyapunov equations AP ( ) + P ( )A + Wr ( ) = 0, A Q( ) + Q( )A + Wo ( ) = 0. Furthermore AP (1 , 2 ) + P (1 , 2 )A + Wr (1 , 2 ) = 0, A Q(1 , 2 ) + Q(1 , 2 )A + Wo (1 , 2 ) = 0. The computations of the various gramians require the evaluation of a logarithm, in addition to the solution of two Lyapunov equations. For small-to-medium scale problem for which an exact balancing transformation can be computed, S( ) can be efciently computed as well. However, for large-scale problems, this issue is still under investigation. But we note that computing an exact solution to a Lyapunov equation in large-scale settings is an ill-conditioned problem itself. Balancing involves the simultaneous diagonalization of the gramians P (1 , 2 ) and Q(1 , 2 ): P (1 , 2 ) = Q(1 , 2 ) = diag(1 Im1 , , q Imq ), where as before mi are the multiplicities of each distinct singular value i . The reduced model is obtained as usual, by truncation. However, since Wr and Wo are not guaranteed to be positive denite, stability of the reduced model
ACA
i i i
cannot be guaranteed. In [159], a modied reduction method is presented, where the Lyapunov equations are forced to be denite (much the same way as the method in [351]). This also results in error bounds. The details are omitted here. Remark 7.6.2. (a) In section 6.1.2 on page 147 a Lyapunov equation was derived for an expression of the form (6.11) where the eigenvalues of A may lie both in the left- and the right-hand side of the complex plane. We recognize this as the gramian P () discussed above. In that section a Lyapunov equation satised by this gramian was given. This equation is in terms of the spectral projector onto the stable invariant subspace of A. This projector is related to 1 S() dened above. It can be shown that = 2 I + S(). For an illustration of this fact, see the example at the end of this section. (b) The above discussion reveals the connection between Enns and Gawronski and Juangs frequency weighted balancing methods. The latter is obtained from the former by choosing the Hi (s) and Ho (s) as the perfect bandpass lters over the frequency range of interest. However, the realizations of the weightings are never computed. We note that an innite dimensional realization will be needed to obtain the perfect band-pass lters. Hence, in Enns method, these band-pass lters are approximated by lower order bandpass lters. The resulting Lyapunov equations have dimension n + ni where ni is the order of Hi (s). It can be shown by means of examples that as the order of the weightings increases, i.e. as they get closer to a perfect bandpass lter, the two methods produce similar results.
P (T ) =
t1
eA BB eA d and Q(T ) =
t2 t1
eA C CeA d.
(7.42)
These quantities are positive (semi-) denite and therefore qualify as gramians. As for the frequency-limited gramians, P (T ), Q(T ) satisfy Lyapunov equations. Let Vr (T ) = eAt1 BB eA
t1
eAt2 BB eA
t2
, Vo (T ) = eA
t1
C CeAt1 eA
t2
C CeAt2
Lemma 7.19. The gramians P (T ) and Q(T ) are solutions of the following Lyapunov equations: AP (T ) + P (T )A + Vr (T ) = 0, A Q(T ) + Q(T )A + Vo (T ) = 0. Balancing in this case is obtained by simultaneous diagonalization of the time-limited gramians P (T ) and Q(T ): P (T ) = Q(T ) = diag(n1 In1 , , nq Inq ). The reduced model is obtained by truncation in this basis, and the impulse response of the reduced model is expected to match that of the full order model in the time interval T = [ t1 , t2 ], see [134]. However, as in the frequency weighted case, the reduced model is not guaranteed to be stable; this can be xed as shown in [159].
i i
ACA :
i i
We now turn our attention to the denition of gramians for closed-loop systems. The approach follows [362]. A related approach applicable to open-loop pre-ltered systems is described in [132]. Consider the system in the usual feedback loop together with the controller c ; let the transfer function be (H, Hc ), as dened above. This can be considered as a weighted composite system with input-weighting Hi (s) = (I + Hc (s)H(s))1 . The gramians of the system with respect to the given closed-loop with the controller c , are now dened as shown earlier, by means of (7.34), for the input weighting case. Similarly, the gramians of the controller Hc (s) in the 1 same closed loop, can be dened by noting that the transfer function of interest is Hc (s)H(s) (I + Hc (s)H(s)) . Consequently, this can be considered as a weighted system with input weighting Hi (s) = H(s) (I + Hc (s)H(s))
1
The resulting gramians of Hc (s) with respect to the given closed-loop, can be used to reduce the order of the controller in the closed loop. Finally, as expected, the closed-loop gramians dened above in the frequency domain, can be computed by solving Lyapunov equations. Let = A C B 0 , c = Ac Cc Bc 0 ,
be the system quadruples, then a realization (At , Bt , Ct ) for the compound (H, Hc ) is given by At Ct Bt 0 = A BCc Bc C Ac C 0 B 0 0 .
Thus in order to get an approximation by balanced truncation of the system in the sense that the closed-loop norm is kept small or minimized, one can again use the (1, 1) blocks of the two gramians of the partitioned system above.
ACA
i i i
The eigenvalues of A are: 1,2 = 2, 3,4 = 1/20 i 799/20, and the transfer function is H(s) = s 399 5 a b 10 + 1 2 799 s + 10 s + 2 s + 2 s 2 1 1 where a = 10 2 + , b = 10 2 . 2 2
We will balance this system for = 1, = 100, and .0009. Hence the balanced system is 2.7440 3.1204 Abal Bbal = 2.9117 Cbal D 3.0559 .8471
= . For = 1, the singular values are .0181, .0129, .0010, 3.1204 2.0320 2.2698 2.5908 .7696 2.9117 2.2698 3.6929 3.5878 .8881 3.0559 2.5908 3.5878 4.3049 .9560 .8471 .7696 .8881 .9560 0
For = 100 the singular values are .9203, .8535, .0299, .0277, and the balanced system is .0534 1.4097 .0013 .0924 .3124 1.4097 .0529 . 0005 . 1017 .3017 Abal Bbal .0013 .0005 1.4143 .0128 .2937 = Cbal D .0924 .1017 .0128 1.4080 .2822 .3124 .3017 .2934 .2822 0
Finally, for the balanced realization of the system consists of the direct sum of the balanced realization of the stable part and that of the instable part. The singular values are .9206, .8538, .0302, .0280. Consequently the balancing transformation is .9439 .5426 .4139 .3123 .7987 .6061 .3974 .3016 T= .8264 .6257 .4424 .2922 .7938 .6037 .4270 .2807 Thus Abal = TAT1 , Bbal = TB, Cbal = CT1 : .0529 1.4096 Abal Bbal 0 = = Cbal .0924 .3123 1.4096 .0533 0 .1025 .3016 0 .0924 .3123 .3016 0 .1025 1.4142 0 .2922 0 1.4080 .2807 .2922 .2807 0
This is the direct sum of the balanced realizations of the stable sub-system and of the antistable sub-system + : .0529 1.4096 .0924 .3123 A 0 B bal bal 1.4096 .0533 Abal Bbal .1025 .3016 , , = 0 A+ B+ = = bal bal . 0924 . 1025 1 .4080 .2807 Cbal + Cbal Cbal .3123 .3016 .2807 0 + = A+ bal C+ bal B+ bal = 1.4142 .2922 .2922 0 .
1 Finally we recall that S() denes the spectral projectors related to A, namely + = 2 I + S(), is an (oblique) projection onto the invariant subspace of A corresponding to the eigenvalues in the right-half plane (unstable eigenval1 ues) and = 2 I S(), is a projection onto the invariant subspace corresponding to the eigenvalues in the left-half plane (stable eigenvalues). The eigenvalues of S(1) are .1956, .0159 .2797i, .1956, those of S(100) are .4955, 1 .4998 .0045i .4955, and the eigenvalues of S() are 1 2 , and 2 with multiplicity 3. It follows that + = vw , where v = [.2582 .3651 .5164 .7303], w = [.9352 .7080 .5006 .3306]; this implies w Av = 1.4142. With .2582 .0273 + .2567i .0273 .2567i 1.0037 .0343 .9688i .0343 + .9688i .3651 .3642 + .0258i .3642 .0258i .6596 .6838 .0484i .6838 + .0484i V= .5164 .0182 .5161i .0182 + .5161i , W = .4664 .0171 + .4844i .0171 .4844i , .7303 .7303 .7303 .3549 .3419 + .0242i .3419 .0242i
i i
ACA :
i i
= VW which implies that the projected A is W AV = diag [1.4142, .05 + 1.4133i, .05 1.4133i]. Finally, by balanced truncation, we obtain reduced order systems of the unstable system . We will compare the reduced order systems of order two and three computed for = 1, = 100. On the left-hand side of gure 7.2, the frequency response of the original system is plotted together with the frequency responses of the second and third order approximants, which are labelled 2a, 3a for = 1 and 2b, 3b for = 100. The frequency responses are plotted from .3Hz to 7Hz . The plots show that the approximants for = 1, approximate the frequency response well for low frequencies up to 1Hz , while the approximants for = 100 do a better job in approximating the peak. These results can also be observed in the frequency response plots of the error systems which are depicted on the right plot of gure 7.2.
10
10
2b
3a
2a 3b
Singular Values (dB)
20
10
30
2a 3b
3a
15
40
2b
20 Original system 3nd order system [0,1] 3nd order system [0,100] 2nd order system [0,1] 2nd order system [0,100]
2b
50
3a 3a
25
60
30
70
2a
35
orig
80
40
10
90
Frequency (rad/sec)
0 Frequency (rad/sec)
Figure 7.2. Approximation of the unstable system in example 7.6.1 by balanced truncation
Example 7.6.2. We consider a second unstable system dened as follows = 1 0.0200 1 0 0 1 0 0 0 0 0 0 0 0 1.9800 2.9399 0 0 0 0 1 0 0 1 0 0 0 0 1.0201 2.0402 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0
A C
B D
The poles of the system are 1, 2, 1 i, 1 i. We compute second and fourth order approximants obtained by frequency weighted balanced truncation with horizon [1, 1] and with innite horizon. The original system is denoted with the subscript 0; the second order approximant obtained with innite horizon with 1 and the one with horizon [1, 1] by 2. Subsequently 3 is the fourth order system with horizon [1, 1] and 4 the innite horizon fourth order model. Notice that the second order innite horizon approximant misses the resonance while the nite horizon one does not. Both fourth order approximants reproduce the peak but the innite horizon fourth order one gives the overall better approximation.
i i i
30
20
10
10
20
30
40
50
0
0 1
60 1 10
10
10
Frequency (rad/sec)
Figure 7.3. Approximation of the unstable system in example 7.6.2 by balanced truncation
generated by the same state. Mathematically, balancing amounts to the simultaneous diagonalization of two positive (semi-) denite gramians. These facts form the basis for one of the most effective approximation methods, namely, approximation by balanced truncation. It has the following properties: (i) stability is preserved and in addition (ii) an apriori computable error bound exists. The latter provides a trade-off between accuracy of the approximation and complexity of the approximant, just like the singular values of a (constant) matrix provide a trade-off between accuracy and complexity. The main results together with their proofs, can be found in section 7.2. The third section is devoted to numerical issues; the difculty in applying balanced truncation in large-scale settings is the fact that O(n3 ) operations and O(n2 ) storage are required. The main method used for computing the gramians is the square-root (Hammarlings) method, which as discussed in the previous chapter, yields directly the square roots (Cholesky factors) of the gramians, without computing them rst. A canonical form for continuous-time balanced systems follows. Subsequently two specialized sections are presented, namely additional types of balancing and frequency weighted balancing. They can be omitted at rst reading. Since balancing consists in the simultaneous diagonalization of two positive (semi-) denite matrices different kinds of balancing can be obtained by considering various Riccati equations. Besides the usual kind of balancing, called Lyapunov balancing in section 7.5, we discuss stochastic balancing, bounded real balancing, and positive real balancing. Section 7.6 explores the issue of balancing which is frequency selective, both with and without the choice of frequency weights. The section concludes with time-limited balancing and balancing for unstable systems.
i i
ACA :
i i
i i
Chapter 8
Hankel-norm approximation
As mentioned in section 7.1, a balanced state space representation of a linear system can be derived by minimizing an appropriate criterion. Nevertheless, approximation by balanced truncation does not seem to minimize any norm. A renement leads to an approximation method which is optimal with respect to the 2-induced norm of the Hankel operator, namely, optimal approximation in the Hankel norm. The resulting theory is the generalization to dynamical systems of the optimal approximation in the 2-induced norm of nite dimensional matrices and operators discussed in section 3.2.4. It provides explicit formulae for optimal and suboptimal approximants as well as an error bound in the related H norm (the 2-induced norm of the convolution operator). The developments in this chapter are due to Adamjan, Arov, and Krein [1], [2], and especially Glover [138]. See also [238], [136] and the books [148] and [370]. Section 8.6 gives an exposition of a polynomial approach to Hankel norm approximations. Although this is presently limited to single-input single-output systems, it provides additional insights to the theory presented in the rst part of the chapter. It shows for instance that the all pass dilation system has additional structure, since it can be constructed using rational interpolation at the poles of .
8.1 Introduction
In order to successfully apply the SVD approach to the approximation of dynamical systems, we need to come up with the singular value decomposition of some input/output operator associated with such systems. For surveys see [14], [17]. Given a linear system , the natural choice for an input-output operator is the convolution operator S , dened by (4.5) on page 55:
S : u y = S (u)(t) =
where h is the impulse response of the system. If the system is stable (the eigenvalues of A are in the left-half of the complex plane) the 2-induced norm of S turns out to be equal to the H norm of the Laplace transform H(s) of h(t), that is of the transfer function of (see (5.16) on page 112). This is referred to as the H norm of the system. The operator S is not compact however, and it does not have a discrete singular value decomposition (see section 5.2). The consequence of this lack of a discrete singular value decomposition is that the problem of approximating S by an operator of lower complexity that minimizes the 2-induced norm of the error cannot be solved at present, except in very special cases. Searching for an operator associated with that has a discrete SVD, we dene one which makes use of the same convolution sum or integral, but which has domain and range different from those of S :
0
H : u y+ = H(u )(t) =
This is the Hankel operator of dened by means of (5.20) on page 115; it maps past inputs u into future outputs y+ . If the system is nite dimensional, H has nite rank (that is, its range is a nite dimensional space). Therefore 205 i i i i
(since it is bounded and compact) it possesses a discrete singular value decomposition (SVD), and in principle one could try to solve the optimal approximation problem as dened above, in the 2-induced norm of the Hankel operator. As discussed in section 5.4.2 this induced norm is called the Hankel norm and the corresponding singular values are the Hankel singular values of the system. It is a non-trivial fact that the optimal approximation problem in the 2-induced norm of H can be solved; the formulae obtained are explicit in the system parameters. This solution originated in the work of Adamjan, Arov, and Krein [1], [2], with subsequent contributions by Glover [138]. The main attributes of optimal approximation in the Hankel norm are: (i) preservation of stability, and (ii) the existence of an error bound. The H -norm of the error system is bounded namely, by twice the sum of the neglected Hankel singular values 2(k+1 + + n ); this bound is the same as the one valid in the balanced truncation case. It is reminiscent of the bound which holds for constant matrices. It should also be mentioned that in some cases balanced truncation is superior to Hankel norm approximation, in the H norm. The reason is that Hankel norm approximants are optimal in the Hankel norm but not in the H norm.
k+1 ()
(8.1)
(8.2)
, which is in general not stable, having exactly k stable Fact III. Given a stable system , there exists a system poles, such that 2 = k+1 () (8.3) is all-pass. This construction is discussed in section 8.4.5. Furthermore Fact IV. Given k {0, 1, 2, , n 1}, a stable system and a positive real number such that k () > k+1 () having k stable poles, such that with 0 () = , there exists a system
2=
(8.4)
(8.5)
is all-pass. This construction depicted in gure 8.1, is discussed in section 8.4.4. Furthermore Conclusion. The solution of the Hankel-norm approximation problem both for the optimal and the sub-optimal so that the cases, follows as a consequence of the facts listed above: given which is stable, construct parallel connection e is all-pass (having both stable and unstable poles) and 2norm equal to ; then the is the optimal/sub-optimal approximant of , and the associated error system has Hankel norm stable part of between k+1 and . In the following sections we report the results which are valid for continuous-time systems. These results can also be used for approximating discrete-time systems by means of the bilinear transformation of subsection 4.3.3.
i i
ACA :
i i
E E E
( )
E
+
c d T e
Figure 8.1. Construction of approximants which are optimal and suboptimal in the Hankel norm
k+1 (H )
(8.6)
The question which arises is to nd the inmum of the above norm, given the fact that the approximant is structured (block Hankel matrix): inf rank =k H H 2ind . A result due to Adamjan, Arov and Krein asserts that this lower bound is indeed attained for some of dimension k . The original sources for this result are [1] and [2]. Theorem 8.1. (AAK) Given the sequence of p m matrices h = (h(k ))k>0 , such that the associated Hankel matrix H has nite rank n, there exists a sequence of p m matrices h = (h (k ))k>0 , such that the associated Hankel matrix H has rank k and in addition H H 2ind = k+1 (H) (8.7) If p=m=1, the optimal approximant is unique. This result says that every stable and causal system can be optimally approximated by a stable and causal system of lower dimension. Optimal here means inf H H = inf H K , where the rst inmum is taken over all Hankel matrices H and the second over all arbitrary matrices K. The optimality is with respect to the 2-induced norm of the associated Hankel operator. Notice that the above theorem holds for continuous-time systems as well.
< k ()
This is a generalization of the optimal approximation in the Hankel norm, solved by the AAK theorem. The concept introduced in the next denition is the key to its solution.
ACA
i i i
: e = . If e is an all-pass system with norm Denition 8.2. Let e be the parallel connection of and is called an -all-pass dilation of . , As a consequence of the inertia result of section 6.2, the all-pass dilation system has the following crucial property. , with dim dim , be an -all-pass dilation of , where satises (8.4). Then has Main Lemma 8.3.1. Let + = k. exactly k stable poles, i.e. dim Recall that stability in the continuous-time case means that the eigenvalues of A are in the left-half of the complex plane, while in the discrete-time case, they are inside the unit disc. The analogue of the Schmidt-EckartYoung-Mirsky result (8.6), for dynamical systems is stated next; it is proved in section 8.4.2: Proposition 8.3. Given the stable system , let have at most k stable poles. There holds
H
k+1 ()
This means that the 2-induced norm of the Hankel operator of the difference between and is no less than the (k + 1)st singular value of the Hankel operator of . Finally, recall that if a system has both stable and unstable poles, its Hankel norm, is that of its stable part. We are now ready for the main result.
be an -all-pass dilation of the linear, stable, discrete- or continuous-time system , Theorem 8.4. Let where k+1 () < k (). (8.8) + has exactly k stable poles and consequently It follows that k+1 () In case k+1 () = ,
H
< .
(8.9)
k+1 () =
H.
Proof. The result is a consequence of the following sequence of equalities and inequalities: + k+1 ()
H
The rst inequality on the left side is a consequence of the main lemma 8.3.1, the equality follows by denition, the is -all-pass. second inequality follows from (5.21), and the last equality holds by construction, since
Remark 8.3.1. (a) An important special case of the above problem, is obtained for k = 0 in (8.4), (8.5), and for = 1 () in (8.8). This is the Nehari problem. It seeks to nd the distance between a stable system from the set of anti-stable systems (i.e. systems whose poles are all unstable). The construction mentioned above implies that this distance is equal to the Hankel norm of : inf
2=
H=
1 (),
(8.10)
. The Nehari problem and associated construction of , form where the inmum is taken over all antistable systems one of the cornerstones of the Hankel-norm approximation theory. (b) We are given a stable system and seek to compute an approximant in the same class (i.e. stable). In order to achieve this, the construction given above takes us outside this class of systems, since the all-pass dilation system
i i
ACA :
i i
has poles which are both stable and unstable. In terms of matrices, we start with a system whose convolution operator S is a (block) lower triangular Toeplitz matrix. We then compute a (block) Toeplitz matrix S , which is no longer lower triangular, such that the difference is unitary. It then follows that the lower left-hand portion of S , which is the Hankel matrix H has rank r and approximates the Hankel matrix H , so that the 2-norm of the error satises (8.8). (c) The sub-optimal and optimal approximants can be constructed using explicit formulae. For continuous-time systems, see sections 8.4.4 and 8.4.5. (d) It is interesting to notice that while the AAK result settles the problem of optimal approximation of innitedimensional Hankel matrices of nite rank, with Hankel matrices of lower rank, the problem of optimal approximation concerning nite-dimensional Hankel matrices, is still open. A special case of this problem is treated in [13].
We require that the difference H H = He , be -all-pass. Therefore, the problem is: given , and the polynomials , q , of degree at most n such that p, q, such that deg(p) deg(q) = n, nd polynomials p p p q q qp = q q . = pq q q qq
ACA
i i i
This polynomial equation can be rewritten as a matrix equation involving the quantities dened above: T(p) q T(q) p = T(q ) q = T(q )Jq Collecting terms we have (T(p) T(q )J, T(q)) q p = 0.
. Furthermore, The solution of this set of linear equations provides the coefcients of the -all-pass dilation system this system can be solved both for the suboptimal = i , and the optimal = i , cases. We illustrate the features of this approach by means of a simple example. For an alternative approach along similar lines, see [120]. Example 8.4.1. Let be a second order system, i.e. n = 2. If we normalize the coefcient of the highest power of q , i.e. q 2 = 1, we obtain the following system of equations: 0 0 q2 0 0 q 1 p2 + q2 p2 q2 0 p1 q1 0 q1 q2 0 q p1 + q1 p2 + q2 q0 q1 q2 p 2 = p0 + q0 p0 q0 p1 q1 0 q0 q1 p 1 0 0 p0 + q0 0 0 q0 0 p 0
W( )
This can be solved for all which are not roots of the equation det W( ) = 0. The latter is a polynomial equation of second degree ; there are thus two values of , 1 and 2 , for which the determinant of W is zero. It can be shown that the roots of this determinant are the eigenvalues of the Hankel operator H ; since in the SISO case H is selfadjoint (symmetric) the absolute values of 1 , 2 , are the singular values of H . Thus both sub-optimal and optimal approximants can be computed this way.
max (Pe Qe )
Consider the Cholesky factorization of Pe : Pe = R R where R = R11 0 R12 R22 and Pe = P11 P12 P12 P22
Notice that
where the subscript ( )11 denotes the block (1, 1) element of ( ). Furthermore (R Qe R)11 = (R11 R12 )Qe (R11 R12 ) = R11 (Qe )11 R 11 + X
i i
ACA :
i i
i i 8.4. Construction of approximants where X = (R11 R12 ) Since rank X k , we conclude that
max (R Qe R)11 max (R11 (Qe )11 R 11 + X) k+1 (R11 (Qe )11 R11 ) = k+1 ().
211
0 Q 12
Q12 Q22
R 11 R 12
0, rank X k
1 2
i i i
A A
, Be =
B B
), De = D , Ce = (C C
(8.12)
e =
is unitary (all-pass).
Solution. Assume: k > 1 > k+1 . Following the dilation (8.11), we dene Qe = Q I I 1 P , = I PQ (8.13)
The conditions for the dilation to be all pass given in part 3. of theorem 5.17 are (i) (ii) (iii) D e De = I,
A e Qe + Qe Ae + Ce Ce = 0,
Qe Be + C e De = 0.
Solving these relationships for the quantities sought, we obtain = QB + C D , B = (CP DB )( )1 , C = A + C C . A +C C = 0, where Q Q +Q A = ( )1 P . Hence if k+1 < 1 < k , it follows that has k Furthermore: A 1 has k eigenvalues in positive eigenvalues, and consequently P has k positive eigenvalues. We conclude that A the left-half of the complex place C . Sub-optimal Hankel norm approximation (s) = D +C (sI A )1 B . Decompose H in a stable and an anti-stable part H =H + +H . Then due to Let H main theorem 8.4 the desired + H < 1, k+1 < HH holds true. (8.14)
r where A11 Rrr , B11 , C 11 R and Ir denotes the r r identity matrix. First, notice that A11 , B11 and C11 satisfy A11 + A 11 + B11 B11 = 0, A11 + A11 + C11 C11 = 0
i i
ACA :
i i
213
= C . B11 D 11 Using formulae (8.14) we construct an all-pass dilation of the subsystem (A22 , B21 , C12 ), namely = Q22 B21 + C D B 12 = (C12 P22 DB )( )1 C 21 2 = A + C C A 22 12 (8.16)
is the unitary matrix dened above. Hence unlike the sub-optimal where 2 = I P22 Q22 R(nr)(nr) , and D is not arbitrary. In the single-input single-output case D is completely determined by the above relationship case D (is either +1 or 1) and hence there is a unique optimal approximant. This is not true for systems with more than one inputs and/or more than one outputs. ,B ,C ,D is dened by (8.16) is all pass. Moreover Lemma 8.5. The system Ae , Be , Ce , De dened by (8.12) where A has k eigenvalues in the left-half plane and n r k eigenvalues in the right-half plane. A Example 8.4.2. Consider a system of McMillan degree 4 with Hankel singular values 1 > 2 > 3 > 4 > 0. Let and + the McMillan degree of + , i.e. denotes the number of poles of the denote the McMillan degree of dilation system while + denotes the number of stable poles of the same system. The gures below show and + as a function of .
+ 4 4
Figure 8.2. Hankel norm approximation: dimension , + of all-pass dilation systems, stable part of all-pass dilation systems; the system to be approximated has dimension n = 4. The abscissa is .
i i i
i i 214 where
1
H =
C 0 0 B 1
2
R(p+m)2n , F = Ip 0 0 Im
A 0
0 A
= (I
1
PQ), J = In P
1
2
R(p+m)(p+m) 1 2 Q1
1 1 1
Q = thus (s) =
In Ip +
1 Q =
1 P Im
C(sI A)1 1 P C
C(sI A)1 1 B
2
1 B (sI + A )1 C
B (sI + A )1 Q1 B
Notice that by construction is J-unitary on the j -axis. Dene 1 () 2 () The following result holds. is an approximant of with k stable poles satisfying + Theorem 8.6. transfer functions satisfy (s) = 1 ()2 ()1 = Z(s) H(s) H (s) < H 1
H<
(8.18)
where [ ]+ denotes the stable part of [ ], and (s) is a p m anti-stable contraction, i.e.
Outline of proof. The proof can be divided into three parts. (a) Let Z() = 1 ()2 ()1 , where i (), i = 1, 2, are dened by (8.18) and the L norm of is less than 1. We show that the number of LHP poles of Z is n + k + , where is the number of LHP poles of . To prove this fact, we write Z as follows: Z = (11 (s)(s) + 12 (s)) (22 (s)1 21 (s)(s) + I)1 22 (s)1
1
1 2
1 We examine the poles of each one of the above terms. 1 has n + poles in the LHP. By a homotopy argument, 2 has no zeros in the LHP and hence 2 has no poles there. The last term can be treated as follows. A realization for 1 3 is 1 1 1 A 1 B A + 1 BB 1 B 2 Q 2 Q 2 Q 1 3 = 3 = B Im B Im 1 Using an inertia argument, A + 1 BB has exactly k eigenvalues in the LHP. This concludes the proof of 2 Q (a). , for some H having k stable poles. We only (b) With Z as above and anti-stable, we can write Z = H H show this for = 0. In this case
Z(s) = =
1 1
1 1
B (sI + A )1 Q1 B 2
2
B (sI + A
1
2
Q1 BB )1 Q1 B
A +
1
Q1 BB
0 A C
Q1 B 1 B 0
1 BB 0
i i
ACA :
i i
i i 8.5. Error bounds for optimal approximants Applying the equivalence transformation T = A +
1
215
I
1
0 I
Q1 BB
Q1 B B 0
0 1 C P 2
This proves the desired decomposition for = 0. with k stable poles such that H H is all-pass there exists an antistable contractive such that (c) Given H H H = Z(). Let 1 = H H, 2 = I. Solving equation (8.18) we obtain (I ) = (I 1 ) 11 21
12 22
. Hence has the correct L -norm (i.e. size on the j -axis). Remains to show that Since is J-unitary, so is is anti-stable. This follows from part (a) of the proof above.
mi = n.
(5.22)
be an optimal all-pass dilation of dened by (8.16). This system is decomposed into its stable Furthermore, let and anti-stable parts: = + + = + , i.e. the approximant where the poles of + are all in the LHP and those of are in the RHP. It follows that (s) is all pass with magnitude q , and is stable and furthermore H(s) H ) = i (), i = 1, 2, , n rq . i ( This fact implies the following decomposition of the transfer function H: H(s) = D0 + 1 H1 (s) + + q Hq (s), where Hk (s), k = 1, 2, , q , are stable, all-pass, with McMillan degree
k k
(8.19)
i=1
i Hi (s)
=
i=1
mi , k = 1, 2, , q.
From the above decomposition we can derive the following upper bound of the H norm of . Assume that H() = 0, the following inequality holds:
2(1 + + q )
(8.20)
ACA
i i i
1 + + q .
constructed above which will be denoted by Hh in the sequel, consider the balanced truncated system In addition to H (A22 , B21 , C12 ), whose transfer function will be denoted by Hb ; it follows that Hb (s) Hh (s) is all-pass with norm q , and thus both the H and the Hankel norms have the same upper bound: H(s) Hb (s)
H , H
2q
A consequence of the above inequalities is that the error for reduction by balanced truncation can be upper-bounded, by means of the singular values of . Let Hb,k denote a balanced approximant of McMillan degree m1 + + mk ; then both the Hankel and the H norms of the error system have the same upper bound, namely
H , H
2(k+1 + + q )
(8.21)
Below we assume that each Hankel singular value has multiplicity equal to one: mi = 1. Let Hh,k denote an optimal Hankel approximant of McMillan degree k . The Hankel singular values of the error can be explicitly determined: i (H Hh,k ) = k+1 (H), i = 1, , 2k + 1 2k+1+j (H Hh,k ) = j (He ) k+1+j (H), j = 1, , n k 1 The nal set of inequalities concerning the error of the approximation in the Hankel norm follows from (8.20). Since we know explicitly the singular values of the stable part of the error system e , we conclude H Hh,k
H
2(k+1 + + n )
i .
Notice that the above formulae remain valid if we scale the singular values by , i.e. replace i by
Example 8.5.1. (Continuation of example 7.4.1.) Consider the system described by the transfer function: Z(z ) = z2 + 1 z3
As already mentioned, this is an FIR system. In the sequel we investigate the optimal approximation of this system in the Hankel norm. It is interesting to notice that the optimal approximant of order 2 is no longer FIR (it is IIR instead). The corresponding Hankel matrix is 1 0 1 0 0 1 0 0 H= 1 0 0 0 0 0 0 0 . . . .. . The SVD of the 3 3 submatrix of H is: 1 0 5 1 0 1 0 1 0 = 0 1 3 1 0 0 0 5 where 1 = 1 0 0 1 5 0 0 0 3 3 5 51 2
ACA :
3 5
0
1 5
0 2 0
0 1 0
3 5
(8.22)
0
1 5
5+1 , 2 = 1, 3 = 2
i i
i i
It is tempting to conjecture that the optimal second order approximant is obtained by setting 3 = 0 in (8.22). The problem with this procedure is that the resulting approximant does not have Hankel structure. To compute the optimal approximant, we proceed as follows. First, transform the system to a continuous-time system using the transformation of subsection 4.3.3; we obtain the transfer function: G(s) = Z 1+s 1s = 2(s3 s2 + s 1) (s + 1)3
Applying the theory discussed in the preceding subsections we obtain the following second order continuous-time optimal approximant: (s2 1) G 2 ( s) = 2 (1 3 )s + 21 s + (1 3 ) Again using the transformation of subsection 4.3.3 we obtain the following discrete-time optimal approximant: Z2 (z ) = G2 z1 z+1 = z z 2 3
Notice that the optimal approximant is not an FIR (nite impulse response) system. It has poles at 3 . Furthermore, the error Z(z ) Z2 (z ) is all pass with magnitude equal to 3 on the unit circle: Z(z ) Z2 (z ) = 3 The corresponding optimal Hankel matrix of rank 2 is: H= 1 0 3 0 2 3 0 3 0 2 3 0 . . . 3 0 2 3 0 3 3 0 2 3 0 3 3 0
2 3 0 3 3 0 4 3
1 3 z 2 z 3 (z 2 3 )
.. .
is also an optimal approximant of the corresponding submatrix of H. In this particular case the 3 3 submatrix of H 1 0 3 0 3 0 3 0 = 2 3
1 5
0 1 0
3 5
0
3 5
0
1 5
2 1+ 3 0 0
0 3 0
1 5 0 0 0 3 0 5
0 1 0
3 5
(8.23)
0
1 5
This decomposition is an application of formula (3.16), which provides a class of minimizers; it is straightforward to 2 verify that 1 = 1 3 1 = 5 2, which implies 1 < 3 , while 2 = 2 3 = (3 5)/2, which implies 2 3 . Finally it is readily checked that the Hankel matrix consisting of 1 as (1, 1) entry and 0 everywhere else, is the optimal approximant of H of rank one. The decomposition (8.19) of Z is: Z(z ) = 1 1 3 z 2 1 + 3 z 2 1 +2 +3 3 2 2 z z (z 3 ) z (z 3 )
Z1 (z ) Z2 (z ) Z3 (z )
Notice that each Zi is all-pass, and the McMillan degree of Z1 is one, that of 1 Z1 + Z2 is two and nally that of all three summands is three.
ACA
i i i
i oa
Example 8.5.2. A continuous-time suboptimal approximation. Consider the system given by (4.13), where n = 2, m = p = 1 and 1 1 1 21 1 +2 A= , B= , C = 1 1 , D = 0, 1 1 1 + 2
1 2 2
where 1 > 2 . This system is in balanced canonical form; this means that the gramians are P = Q = diag (1 , 2 ) = ; this canonical form is a special case of the forms discussed in section 8.6.3. In order to determine the suboptimal Hankel norm approximants for 1 > > 2 , we compute the limit of this family for 2 , and 1 , and show that the system obtained is indeed the optimal approximant. From (8.13), 2 2 2 (8.17) = 2 S 2 = diag ( 2 1 , 2 ); the inertia of is {1, 0, 1}; furthermore from (8.14) : = A
1 21 ( +1 ) 2 (1 +2 )( +1 ) 1 (1 +2 )( +2 ) 2 22 ( +2 )
= , B
1 2
= , C
1 +1
1 +2
= . Since the inertia of A is equal to the inertia of , A has one stable and one unstable poles (this can be and D is negative). As 2 we obtain checked directly by noticing that the determinant of A = A
2 1 21 (1 +2 ) 2 1 22 (1 +2 )
= , B
2 1 0
= , C
1 1 +2
1 22
= 2 . This system is not reachable but observable (i.e. there is a pole-zero cancellation in the transfer function). and D A state space representation of the reachable and observable subsystem is: = A 2 1 = 2 1 , C = 1 , D = 2 , B 21 (1 + 2 ) 1 + 2
. If we choose it to be , the limit still exists and gives a realization The formulae (8.14) depend on the choice of D , C , D , given above. of the optimal system which is equivalent to A, B Finally, if 1 , after a pole-zero cancellation, we obtain the following reachable and observable approximant: = A 1 2 = 1 2 , C = 1 , D = 1 . , B 21 (1 + 2 ) 1 + 2
This is the best anti-stable approximant of , i.e. the Nehari solution (see (8.10) on page 208). Example 8.5.3. Balancing and Hankel norm approximation applied to low-pass lters. Four types of analog lters will be approximated next, by means of balanced truncation and Hankel norm approximation. The lters are: B C1 C2 E B UTTERWORTH C HEBYSHEV-1: C HEBYSHEV-2: E LLIPTIC: 1% ripple in the pass band 1% ripple in the stop band 0.1% ripple both in the pass and stop bands
In each case we consider 20-th order low pass lters, with pass band gain equal to 1, and cut-off frequency normalized to 1. Figure 8.3 shows the Hankel singular values of the full-order models. It follows from these plots that in order to obtain roughly comparable approximation errors, B and C2 have to be approximated by systems of lower order than C1 and E ; we thus choose to approximate B , C2 by 8th order models, and C1 , E by 10th order models. Observe that for the Chebyshev-2 lter the difference of the singular values: 13 20 , is of the order 107 . Thus C2 has an 8th -order (approximately) all-pass subsystem of magnitude .05. Similarly, the Chebyshev-1 lter has an all-pass subsystem of order 3. In this example the subscript bal stands for approximation by balanced truncation; the subscript hank stands for optimal Hankel norm approximation; FOM stands for full order model; ROM stands for reduced order model. Figure 8.4 gives the amplitude Bode plots of the error systems and tabulates their H norms and upper bounds. We observe that the 10th order Hankel-norm approximants of C1 and E are not very good in the stop band; one way for improving them is to increase the approximation order; another is to compute weighted approximants. The table compares the peak values of these Bode plots with the lower and upper bounds predicted by the theory.
i i
ACA :
i i
i oa
HSV Butterworth N=20 1 0.8 0.6 0.4 0.2 0 1 0.8 0.6 0.4 0.2 0
10
15
20
10
15
20
HSV Chebyshev2 N=20 1 0.8 0.6 0.4 0.2 0 1 0.8 0.6 0.4 0.2 0
10
15
20
10
15
20
10
10
10
10
10
10
10
10
10
10
10
10
Figure 8.4. A NALOG F ILTER A PPROXIMATION: Bode plots of the error systems for model reduction by optimal Hankel-norm approximation (continuous curves), balanced truncation (dash-dot curves), and the upper bound (8.21) (dash-dash curves).
ACA
H Norm of the Error and Bounds hank bal 2(9 + + 20 ) 0.0388 0.0779 0.1035 0.1008 0.0999 1.2015 hank bal 2(11 + + 20 ) 0.4113 0.6508 1.9678 0.2700 0.3595 1.5818
i i i
An immediate consequence of the above denitions is: , H2 (C ), implies P+ H f = H f . For the rest of this section we consider Hankel operators with stable, rational symbol: H , = n H2 (C+ ), gcd (n, d) = 1 d (8.24)
In order to state the next result we need to introduce the space Xd of all strictly proper rational functions with denominator d: a Xd = : deg a < deg d d Xd is a nite-dimensional linear space with dimension deg d. The shift operator in this space is dened as Fd (h(s)) = 1 d(s) + h(s) d(s) s
where + , are projections on to the polynomials, strictly proper rational functions, respectively. It readily follows that the characteristic polynomial of this shift operator is d.
. Proposition 8.7. Consider a Hankel operator H satisfying (8.24) and its adjoint H
d d H2 (C+ ) d d H2 (C )
i i
ACA :
i i
Next, we compute the singular values and corresponding singular vectors of the Hankel operator, also known as Schmidt pairs. A pair of functions f H2 (C ), g H2 (C+ ) is a Schmidt pair of H corresponding to the singular value , provided that the following relationships are satised
H f = g, H g = f . Since g im H and f im H , we obtain the following equations:
n p p n p p = = + d d d d d d d n p p n p p P = = + d d d d d d d P+
+ d np = d p = dp + d n p
(8.25) (8.26)
, , are polynomials having degree less than the degree of d The quantities p, p , deg , deg < deg d = . deg p, deg p By conjugating the second equation and eliminating n we obtain pp ) + d( p p), 0 = d ( pp while by conjugating the rst and eliminating n we obtain pp ) + d ( p p ). 0 = d( pp Since d is stable (roots in the left-half plane), d is anti-stable, and hence d, d are coprime. Hence the rst equation p pp , while the second implies that d divides the same quantity; therefore above implies that d divides p pp ) p p pp = 0. dd | ( pp p pp is less than 2 . This in turn The above implication follows because the degree of dd is 2 , while that of p implies that p p = p , = 1 =1 p p p Proposition 8.8. The Schmidt pairs of H satisfying (8.24), have the form p p , d d where deg p < deg d. Next, we discuss the issue of the multiplicity of singular values, and characterize the corresponding Schmidt pairs. Using an argument similar to the above, we can show that if p p , d d , q q , d d , = 1
remains independent of the are Schmidt pairs corresponding to the same singular value , the quotient of p by p particular Schmidt pair: q p = (8.27) p q ) be a minimal degree solution of (8.25) for some xed . Then all other solutions of this equation for the Let (p, p same are given by ) = (ap, ap ), deg a < deg d deg p (q, q
ACA
i i i
ap : deg a < deg d deg p d This implies that the multiplicity of a singular value is equal to the degree of d minus the degree of the minimal-degree p which satises (8.25): dim ker H H 2 I = deg d deg p.
ker H H 2 I =
Combining the above results we can state the main result with regard to the SVD of H . Theorem 8.9. With the notation above, is a singular value of the Hankel operator H , = d coprime, and
p p d , d n d
H2 (C+ ), with n,
a corresponding Schmidt pair if and only if the following equation is satised: np = d p + d, = (8.28)
where deg = deg p. Equation (8.28) is an eigenvalue equation modulo the polynomial d. It can be converted into a matrix equation, and subsequently solved, as follows. Let ei be a basis of the space Xd of all polynomials of degree less than deg d, and Fd be the shift in Xd , modulo d: Fd (r) = s r(s) mod d(s). Notice that the characteristic polynomial of Fd is d. p, p denote the vector representations of p, p respectively in the basis ei . Then from (8.28) we obtain the matrix equation n(Fd )p = d (Fd )p . Since d, d are coprime, there exist polynomials a, b such that ad + bd = 1 Thus the inverse of d (Fd ) is b(Fd ). This implies b(Fd )n(Fd )p = p Finally let K be the map such that Kp = p; the matrix representation of K is a sign matrix. Hence, with = deg d, there holds Mp = p where M = Kb(Fd )n(Fd ) R and p R . (8.29) This is the eigenvalue equation which has to be solved in order to compute the singular values and singular vectors of the Hankel operator H . Corollary 8.10. Let i , with multiplicities i , i = 1, . . . , r, i=1 i = , be the solutions of the eigenvalue equation dened by (8.28). Furthermore, let pi , i = 1, . . . , r, be the minimal-degree solutions of this equation. The singular values of H and their multiplicities are i = | i |,
i r
i , i , i = 1, . . . , r i
i i
i i
i i 8.6. Balanced and Hankel-norm approximation: a polynomial approach* We chose the basis 1, s in Xd , d = s2 + s + 1. Furthermore b(s) = 1 2 (s + 1). Thus Fd = 0 1 1 1 , n(Fd ) = I2 , b(Fd ) = 1 2 1 0 1 1 1 0 , K= 1 0 0 1 223
1 2
1 1
1 =
1 5 1+ 5 , 2 = 1 = 1 , 2 = 2 , 4 4
= 1,
= 1
(8.30)
is given by
k+1 pk+1
, k = 1 , , 1,
+
is
The L norm of the difference 0 is equal to the Hankel norm of , namely 1 . Corollary 8.13. One-step reduction. The best stable approximant of = 1 = . p
n d
of order 1 is
The difference 1 is stable and all-pass; its H and Hankel norms are equal to .
ACA
i i i
Proof. In order to prove corollary 8.12, it sufces to show that the zeros of p1 in (8.30) are all unstable. Let p1 have stable zeros; we can factorize p1 in its stable/anti-stable parts: p1 = [p1 ]+ [p1 ] . Then [p1 ] 1 1 + = p1 [p1 ]+ [p1 ]+ [p1 ]
f1 fi fo
where fi is the inner factor (i.e. stable and all-pass), while fo is the outer factor (i.e. anti-stable). Let (f1 , f1 ) be a Schmidt pair corresponding to the largest singular value of H : H f1 = 1 f1 and
2ind
= 1
Hence
H f1
= 1
The above relationships imply that fo is a singular vector of the Hankel operator corresponding to the singular value 1 , whose poles are anti-stable. Proof. The proof of corollary 8.13 is based on the fact that the Hankel operator Hr with rational symbol r dened by: Hr , r = 1 d p d p
1 1 1 , and corresponding Schmidt pairs has singular values: 1 < 2 < <
p i , d
pi d
, i = 1, , .
By corollary 8.12 however we know that p is anti-stable. This shows that p is stable with degree 1. Hence the difference between n and is all-pass with norm : d p n d p = d p d p The proof is thus complete. n d p
H=
n d p
H =
Example 8.6.2. (Continuation) Consider again the Hankel operator H with symbol (s) = 1 s2 + s + 1
The best anti-stable approximant and the best stable rst-order approximant, are respectively: 1 s + 2 1 2 2 s + 1 1 1 = = 1 + , = = 2 + p1 s 21 s 21 p2 s 2 2 s 2 2
i i
ACA :
i i
= i
The function can always be decomposed as a linear combination of the singular vectors of the Hankel operator H ; namely, there exist i , i = 1, , , such that p p p n = 1 1 + 2 2 + d d d d Furthermore, let i = Then has a minimal realization
Abal Cbal Bbal Dbal
2 1 2 1
(8.31)
i i
.. .
1 1 1 + 2 2 2 +
1 2 . . . ()
2 1 2 1 2 +1
Abal Cbal
Bbal Dbal
. . .
1 +1
. . .
2 +2
. . .
2
(8.32)
1 1
2 2
Remark 8.6.1. The above result shows an additional close connection between the Hankel operator H and balancing. (8.31) shows namely that the balanced realization is the realization obtained by using as basis in Xd (this space can be chosen as state space for a realization of ) the the Schmidt vectors of H .
1 Making use of (8.32), the solution to the Nehari problem, namely p has a realization which can be written 1 explicitly in terms of the quantities introduced above. We assume without loss of generality that 1 > 0; dene
i = Then
1 p1
1 i , i = 2, . 1 + i
.. .
2 2 2 2 +
Aneh Cneh
Bneh Dneh
. . .
2 2 2 +2 2 2 2
. . .
2 2 2
R . . .
1 1
2 2
(8.33)
Remark 8.6.2. Another important connection between balancing and the Schmidt pairs of H is that the Nehari extension, that is the solution of the Hankel norm approximation problem for anti-stable approximants, can be written down explicitly in terms of the balanced realization of . Example 8.6.3. In the example discussed above 2 =
ACA
1 1 2 1 = 54 = 1 + 2
i i i
1 p1
obtained previously.
be the reduced order models of order 1 obtained from by balanced truncation, Hankel-norm approximation, respectively. The following relations hold:
(dd b + d db ) = p p .
Furthermore eb = gb = p p d d + b d db , eh = gh = d p d p = ehb = gh gb = b p d p db p
These relationships imply that error eb is the sum of two all-pass functions and its norm is 2 . Furthermore the errors eh and ehb are all-pass with norm .
i i
ACA :
i i
i i
Chapter 9
A model reduction method which is in wide use is POD (Proper Orthogonal Decomposition). Below we describe this method and show its connection with both the SVD (Singular Value Decomposition) and balanced truncation. Subsequently another widely used approximation method, namely modal approximation, is discussed. This is an EVD (Eigenvalue Decomposition) based approximation method, and may lead to approximants which are not close to the original system, if A has Jordan blocks. In section 9.3 we provide a general view of approximation by truncation and the associated approximation by residualization. The chapter concludes with a study of the decay rate of the Hankel singular values of a system . This is important because the sum of the neglected Hankel singular values provides error bounds for balanced and Hankel norm approximants; thus the faster the decay of these singular values the tighter the error bound.
9.1.1 POD
Given a function x(t, w) of time t and the vector valued variable w, let x(ti , wj ) be a nite number of samples of x for t = t1 , , tN and w = w1 , , wn . The data is collected in time-snapshots denoted by x(ti , w1 ) . n . xi = R , i = 1, , N. . x(ti , wn ) 227 i i i i
We are looking for a set of orthonormal basis vectors uj Rn , j = 1, 2, , N , such that xi = i = 1, 2, , N , that is
ji uj ,
11 . [x1 xN ] = [u1 uN ] . . N 1 X U
.. .
1N . . . , U U = IN . N N
(9.1)
The ui are sometimes referred to as empirical eigenfunctions or principal directions of the cloud of data {xi }. i = k In addition it is required that the truncated elements x j =1 ji uj , i = 1, 2, , N , that is the snapshots reconstructed from only k empirical eigenfunctions: 11 1N . . nN .. . N ] = [u1 uk ] . , k < N, [ x1 x . . . R
X Uk
k 1
kN
approximate the elements in the family {xi } optimally, in some average sense. Often it is required that the 2-induced 2 be minimized. Equation (9.1) is known as proper orthogonal decomposition of the norm of the difference X X family {xi }. The above optimality condition can also be dened by means of the gramian (or autocorrelation matrix) of the data, namely
N
P=
i=1
nn xi x . i =P R
The optimization problem can now be formulated as a matrix approximation problem, namely, nd
N
= P
i=1
2 , is minimized. such that the 2-induced norm of the error P P The problem just stated is precisely the one solved by the SchmidtMirskyEckardYoung theorem 3.4 on page 35. Given X, let X = UV be its SVD. The columns of U are the desired empirical eigenfunctions and the coefcients are given by = V . If the number of spatial samples n is bigger than that of time samples N , assuming that RN N , the computation of the SVD of X can be achieved by solving the (small) eigenvalue problem X X = V2 V ; then the columns of XV are, up to scaling, the requited eigenvectors, i.e. U = XV1 .
Using the projection = VW , where W V = Ik , V, W Rnk , we obtain the reduced order dynamical system : dx = W f (V x , u), y = g(Vx , u) dt (1.7)
= W x, evolve in a k -dimensional subspace. If the V = W, that is the columns of V form as whose trajectories x orthonormal set, is orthogonal and bears the name of Galerkin projection. Otherwise, if V = W, we speak of a PetrovGalerkin projection. Using the considerations developed in the previous section, is chosen using a POD method applied on a number of snapshots (i.e. samples of the state computed at given time instants) of the original system. Let these snapshots x(tj ), j = 1, , N , be provided. Given the matrix of snapshots X = [x(t1 ) x(t2 ) x(tN )], we
i i
ACA :
i i
compute the singular value decomposition X = UV . Assume that the singular values of X decay rapidly and only k of them are signicant for the application in question, The Galerkin projection consists of the leading k left singular vectors of the snapshot matrix X, that is V = W = Uk Rnk . = VV x, is the projection of x onto span col Uk . Thus Vx
X(t)X (t) dt =
0
eAt BB eA t dt = P (T )
We recognize this quantity as the reachability gramian of the system, discussed in section 4.2.1 and in particular (4.28) on page 60. If A happens to have eigenvalues in the left-half of the complex plane (i.e. the system is stable), we can let T approach innity, in which case we recover the innite reachability gramian P introduced in (4.43) on page 69. POD now proceeds by computing an eigenvalue decomposition of this gramian: P = UU = [U1 U2 ] 1 2
[U1 U2 ] = U1 1 U 1 + U2 2 U2
where it is assumed that 2 contains the small or negligible eigenvalues of P . The Galerkin projection is thus dened by the leading eigenvectors of this gramian, namely U1 , and the reduced system is described by: = U AU1 , B = U B, C = CU1 , D =D A 1 1 According to the analysis presented earlier this is the subsystem of the original system which retains those states which are easier to reach while discarding the states which are the most difcult to reach. Recall that by (4.55) on page 71 the energy required to steer the system to a given state (starting from the zero state) is related to the inverse of P ; therefore discarding the small eigenvalues corresponds to discarding the states which are most difcult to reach. In conclusion for linear systems, POD approximation using the impulse response is related to balanced truncation where in POD approximation only the degree of reachability of the states is considered. Balanced truncation however suggests that if in addition to the degree of reachability of the states, we also consider their degree of observability, a global approximation error bound can be derived (see (7.5) on page 177). Therefore let Q be the (innite) observability gramian which satises as usual the Lyapunov equation A Q + QA + C C = 0. In order to obtain error bounds, according to theorem 7.7 on page 177, we need to project onto the dominant eigenspace of the product of the two gramians PQ. It readily follows from (7.16) on page 184 that if we partition =
1 2
so that 2 contains the (square root of the) negligible eigenvalues of PQ, the projection T 1 = 1
1 /2 V1 L Rkn , Ti1 = UW1 1 1 /2
= Ti1 T1 , where
Rnk ,
i i i
The projected system is balanced, since P T 1 = Ti1 1 and QTi1 = T1 1 imply 0 = T1 (AP + P A + BB )T 1 = (T1 ATi1 )1 + 1 (Ti1 A T1 ) + (T1 B)(B T1 ) = 0,
and also
0 = T i1 (A Q + QA + C C)Ti1 = (Ti1 A T1 )1 + 1 (T1 ATi1 ) + (Ti1 C )(CTi1 ) = 0.
the output of the reduced system, the error bound obtained tells us that the L2 norm of the difference If we denote by y is upper bounded by twice the sum of the neglected singular values, for all inputs u of unit norm: yy yy
2
2(k+1 + + n )
It should be stressed at this point that even if the output of the system is the state y = x, in other words C = In , in order to obtain an error bound on the behavior of the approximate system, the observability gramian has to be considered. In this case the corresponding Lyapunov equation becomes A Q + QA + I = 0. The projected state is = T1 x, and the output or reconstructed state is x = Ti 1 x = Ti1 T1 x. The error bound then asserts that x xx for all input functions of unit energy. Remark 9.1.1. (a) While the projection onto the dominant eigenspace of one gramian (either P or Q) is orthogonal (Galerkin projection), the projection onto the dominant eigenspace of their product PQ is an oblique (PetrovGalerkin) projection. (t) = Ax(t), the snapshots (b) If the dynamical system in question is autonomous, that is in the linear case x result from a preassigned initial condition x(0). In this case the snapshots of the state of the autonomous system are = Ax + Bu, where B = x(0). the same as the snapshots of the impulse response of the dynamical system x (c) If the snapshots result from an input other than the impulse, weighted gramians become relevant (see section 7.6 on page 195 for details). (d) The snapshots needed to construct the observability gramian can be interpreted using the adjoint system. According to theorem 4.21 on page 67, the following holds: the reachability gramian of the adjoint (dual) system is the same as the observability gramian of the original. If the system in question is linear, the adjoint system running backward in time (see (5.15) on page 111), is : d p(t) = A p(t) C y(t), u(t) = B p(t) + D y(t), dt
2
= (In Ti1 T1 )x
2(k+1 + + n )
where p is the state of the adjoint system, and y, u are the input, output of , respectively. In numerous optimal uid control problems, the adjoint equation enters the formulation of the problem in a natural way through the optimization. Consequently collecting snapshots of the adjoint system is straightforward. Furthermore, this procedure can be implemented even if the dynamics are not linear. Therefore we would like to propose that instead of an orthogonal Galerkin projection: Use an oblique (PetrovGalerkin) projection onto the dominant eigenspace of the product of two gramians. These gramians can be constructed from snapshots of the original system and snapshots of the adjoint system.
(e) Some historical remarks on the POD. Given its conceptual simplicity, POD is in wide use for model reduction of systems described in general by nonlinear PDEs (partial differential equations) or by nonlinear ODEs (ordinary differential equations). This method, also known as the method of empirical eigenfunctions for dynamical systems, was introduced by Lorenz in 1956 for the study of weather prediction [231]. Subsequently Lumley, Sirovich, and Holmes made important contributions; see the three papers [298], and the book [62]. POD is also related to the Karhunen-Lo` eve expansion introduced in the theory of stochastic processes in the late 1940s.
i i
ACA :
i i
There is an extensive literature on POD methods. The papers mentioned below are a few rather randomly chosen contributions. The original work was geared towards capturing the open-loop dynamics with differential equations having few degrees of freedom (low dimension); in this regard we mention the work of Kevrekidis and co-workers as exemplied in [97]; for more recent work in this direction see [277] and [247]. The connection between POD and balancing has also been noted in [356]. POD methods have also been applied to control problems. We mention here the work of Burns, King and co-workers [80], [29], [30], [81], [203], [204], Banks, Tran and co-workers [48], [199], [200], Kevrekidis and coworkers [4], [296], Kunisch and Volkwein [349], [212], [213] as well as Hinze [3], [174]. We would also like to mention [160], [273]. Model reduction of nonlinear systems using empirical gramians has been studied in [215], [216], [162], [163]. Also worth mentioning is the work of Fujimoto and Scherpen on balancing for nonlinear systems [123] and the work of Bamieh [40], [41] on a system theoretic approach to the study of uids.
i=k+1
In some cases, e.g., when the poles have physical signicance, this can be a meaningful model reduction method. However, if the eigenvalue decomposition contains Jordan blocks, this method may fail. The principle of choosing a subsystem, namely the one consisting of the dominant poles, may not be appropriate for model reduction. In the sequel we present a simple example which shows that the nearness of the poles to the imaginary axis need bear no relationship to the dominant behavior of the frequency response (i.e. to the location of the resonances of the system). It is well known that polynomial-exponential functions of the form tk et , where k = 0, 1, 2, , form a basis for L2 [0, ]. If we orthonormalize this family of functions, we obtain the Laguerre basis. Recall the following Laplace transform pairs 1 tn t 1 tn = n+1 , L e = . L n! s n! (s + )n+1 The (unnormalized) Laguerre functions, expressed in the Laplace domain, are as follows: E0 (s) = 1 1 s 1 (s )n , E 1 ( s) = , , En (s) = , s+ s+s+ s + (s + )n
1 . 2
It can be shown that the above functions have the same norm, namely the above functions; in the frequency domain we have
1 0 1 s 2 (s )2 n (s )n = + + + + + s+ s + s + s + s + (s + )2 s + (s + )n
ACA
i i i
Taking inner products in the time domain we obtain the following values k () = 2 ( )k . + ( + )k
Notice that this is the transfer function of the kth basis function evaluated as s = . We thus obtain the following expansion 1 2 1 2 1 s 2 ( )2 1 (s )2 = + + + s+ + s + + + s + s + + ( + )2 s + (s + )2 2 s ( )2 (s )2 1 = 1+ + + +s+ + s + ( + )2 (s + )2 = 2 1 1 s +s+ 1 + s+ = 2 1 = ( + )(s + ) ( )(s ) s+
As an example we consider the expansion of the second-order transfer function having a pair of complex conjugate poles and : 1 1 1 Im H(s) = = 2 . 2i s + s+ s + 2Re() s + ||2 The coefcients of the expansion of H =
i0
In particular we take = + i , where = 1/4 and = 1. The frequency response has a maximum at frequency 23 1 is shown in gure 9.1. Notice that the magnitude which is 2. The expansion of this transfer function in terms of s+2 of the coefcients of this expansion decays exponentially, and the H norm of the error system between the original and a 4th order approximation is 1.498 while that with a 10th order approximation drops to 1.126.
Absolute value of the first 100 coef. of the exansion of H(s) (log scale) 0
10 Singular Values
2
10
3
20 Singular Values (dB)
30 original 2nd order approx 4th order approx 10th order approx
40
50
8
60
9
70 1 10 10
0
10
10 Frequency (rad/sec)
10
20
30
40
50
60
70
80
90
100
Figure 9.1. Left pane: Absolute value of the rst 100 coefcients of the expansion of H (log scale). Right pane: Bode plots of the original system and three approximants. Conclusion. Let the to-be-approximated system be: GN (s) = k=1 k Ek (s); for large N its frequency response comes close to that of the second-order system H(s). Following the above considerations approximation of GN by modal truncation gives slow convergence although the magnitude of the coefcients k is exponentially decreasing. Therefore modal truncation has difculty capturing the behavior due to multiple poles, and as argued above, any behavior can be approximated arbitrarily by means of a single pole given high-enough multiplicity.
N
i i
ACA :
i i
x1 x2
ing of the state space representation A= A11 A21 A12 A22 , B= B1 B2 , C = (C1 C2 ).
As discussed in section 7.2, a reduced order model can be obtained by eliminating x2 , i.e., truncating the state. The resulting reduced system is: A11 B1 . r = C1 D We showed earlier (see theorem 7.7) that if r is constructed by balanced truncation, it enjoys stability and an error bound. In general, however, the only property of the reduced system r is that its transfer function at innity is equal to the transfer function of the original system at innity: H() = Hr () = D An alternative to state truncation is state residualization. If A22 is namely, nonsingular, we can dene the following reduced order system: resid =
1 A11 A12 A 22 A21 1 C1 C2 A 22 A21 1 B1 A12 A 22 B2 1 D C2 A 22 B2
2 = 0. Residualization is equivalent to This reduced order model is obtained by residualizing x2 , that is, by setting x singular perturbation approximation; for an overview see [208], and for a more recent account see [50]. An important attribute of this model reduction method is that it preserves the steady state gain of the system: H(0) = Hresid (0) = D CA1 B This fact is not surprising. In [230] it is shown that reduction by truncation and reduction by residualization are related through the bilinear transformation 1 s . Thus while the former provides a reduced order system which approximates the original well at high frequencies, the latter provides a good approximation at low frequencies. It should be mentioned that residualization can be applied to any realization of the original system . In particular, it can be applied to the one obtained by balancing. In the above mentioned reference, it was shown that in this case, stability is preserved and the same error bound exists as for reduced order system obtained by truncating the balanced state.
i i i
In general and especially when n is large it is unwise or even impossible to solve for P directly since this requires O(n3 ) ops and O(n2 ) storage. Many have observed that the eigenvalues of P generally decay very fast [154], [267]. Because of this, P may be approximated by a low rank matrix (see section 12.4, page 308). Several iterative methods for computing a low rank approximation to P have been proposed [154], [176], [187], [267], [284]. See [20] for a recent survey of such methods. There are some results on the eigenvalue bounds for the solution of Lyapunov equations [214], [107], but these do not explain why Lyapunov equations permit the very low rank approximate solutions observed in practice. The eigenvalue bounds surveyed in [214] focus mainly on AP + P A + S = 0 with S Rnn positive semidenite, and the special low rank structure of S = BB is not fully exploited. Moreover the lower bounds for small eigenvalues of P are trivially zeros. Penzl [266] took into account the low rank structure k (P ) of BB . He established upper bounds on the ratios 1 (P ) for symmetric A, but this approach depends heavily on symmetry and is not easily generalized to the non-symmetric case. First, decay rates are derived that are direct estimates of the error of the best rank k approximation to one gramian P . In contrast to the Penzl estimates, our results do not establish explicit bounds for the eigenvalues of P . Instead, we obtain an outer product representation of the solution of the form
n
P=
j =1
j zj z j with 1 2 n > 0.
When A has an eigenvector basis that is not too ill-conditioned, the norms of vectors zj are uniformly bounded by a modest constant and hence the ratio k+1 /1 gives an order of magnitude relative error estimate for a rank k approximation to P . These results lead directly to an explanation of why it is often possible to approximate P with a very low rank matrix. They are closely related to the eigenvalue decay rates of Penzl [266]; these results are stated in terms of the condition number of A which is assumed symmetric. Our bounds are functions of the eigenvalues of A and make no symmetry assumptions. We give some numerical results and compare the two. These results show that the bounds given here seem to give a signicantly better indication of the actual decay rate of the eigenvalues of P . Next we turn our attention to the Hankel singular values of . Due to their importance in model reduction, in particular balanced model reduction of large-scale systems, there has been some activity recently on the issue of the decay rate of these singular values. It has been observed that in many cases these quantities decay very fast and therefore the corresponding systems are easy to approximate. Two recent approaches are [45] and [47]. Secondly, the problem of determining the decay rate of the Hankel singular values is discussed. It is based on a new set of system invariants. If the transfer function of the system in question is H = p q , the invariants are the p magnitudes of q evaluated at the poles of H. The main result states that these invariants and the Hankel singular values are related by means of multiplicative majorization relations.
i i
ACA :
i i
i i 9.4. A study of the decay rates of the Hankel singular values* 235
If the components of x and y are such that no entry of d(x, y) takes a value of 0 or , then C (x, y) is nonsingular and the following result holds. Lemma 9.1. With the notation established above, C (x, y) [D(y , x )]
1
C (y , x ) [D(x, y)]
= In .
(9.4)
The proof of this result follows from the closed form expression of the inverse of the Cauchy matrix; see e.g. section 26.1 of [171]. Actually this result is quoted for real x and y, and a slight extension is necessary to obtain the correct formula for complex x and y . The special case x = y = = (1 , 2 , , n ) , is of interest here. It turns out that when C is positive denite, there are explicit formulas, due to Gohberg and Koltracht [142], for the elements of the Cholesky factors. Lemma 9.2. If Re ( ) < 0 then C ( , ) is positive denite. Moreover, if C ( , ) = LL is the Cholesky factorization, then k = where = diag (1 , 2 , , n ). Remark 9.4.1. Formula (9.4) implies that if x and y are real, a diagonally scaled version of C (x, y) is J-unitary. Let the || and on vectors or matrices be meant to apply element-wise. Let also d(x, y)i = i eii and d(y, x)i = i eii . Also let J1 , J2 be diagonal matrices with (J1 )ii = eii and (J2 )ii = eii . There holds |D(y, x)| 2 C (x, y) |D(x, y)| 2
1 1
1 2 R e ( k )
k1 j =1
k j k + j
(9.5)
= J2 .
i i i
We assume that A is a stable matrix (all eigenvalues in the open left-half plane). Let Ac be the companion matrix for A, Ac = J ge n, where J is a left shift matrix with ones on the rst subdiagonal and zeros elsewhere. The vector g = (0 , 1 , , n1 ) n denes the characteristic polynomial of A with q(s) = det (sIA) = i=0 i si , n = 1. Dene G to be the solution of the canonical Lyapunov equation Ac G + GA c + e1 e1 = 0. Let b be any vector such that (A, b) is reachable and let R = [b, Ab, A2 b, , An1 b] be the Krylov or reachability matrix. Since (A, b) is reachable, R is nonsingular and Re1 = b. It follows easily from the Cayley Hamilton theorem that AR = RAc . We immediately have the following lemma. Lemma 9.3. P solves AP + P A + bb = 0, if, and only if, P = RGR . Proof. This is easily seen by multiplying on the left and right by R and R to get
0 = R(Ac G + GA c + e1 e1 )R = ARGR + RGR A + bb
Since A is stable, this solution is unique and the lemma is proved. This result provides a direct relationship with the Krylov or reachability matrix R, but further analysis is needed to derive decay rates. These rates are a function of the eigenvalues j of the matrix A. When A is diagonalizable, one has YAc = Y, where Y is the Vandermonde matrix of powers of the eigenvalues. The j -th row of Y is
n1 2 e ], j Y = [1, j , j , , j
and = diag (1 , 2 , , n ). We shall dene the Cauchy kernel to be the matrix C = YGY . This kernel provides the decay rates we seek due to the following result. Lemma 9.4. Let X be a matrix of right eigenvectors for A so that AX = X and assume the columns of X each have unit norm. Then 1 Cij = , i + j
1 is Hermitian positive denite and P = Xb C X b. b , where Xb = X diag (b) with b = X
Proof. First observe that , X b , X2 b , , Xn1 b ] = Xb Y . R = [b, Ab, A2 b, , An1 b] = [Xb From Lemma 9.3 we have P = RGR = Xb YG(Xb Y) = Xb C X b . Since the pair (A, b) is reachable, b cannot = X1 b is zero and the matrix diag (b ) is be orthogonal to any left eigenvector of A. Hence, no component of b 1 nonsingular. Moreover, AXb = Xb and Xb b = e, where e = (1, 1, , 1). Therefore,
1 0 = X b (AP + P A + bb )Xb = C + C + ee .
By inspection, one nds that C is a Cauchy matrix with Cij = positive denite. This concludes the proof.
1 . i + j
We are now prepared to derive a decay rate based on the eigenvalues of A. Since C is positive denite, it has a Cholesky factorization. Moreover, if diagonal pivoting is included to bring the maximum diagonal element to the pivot
i i
ACA :
i i
i i 9.4. A study of the decay rates of the Hankel singular values* 237
position at each stage of the factorization, we may assume an ordering of the eigenvalues of A and hence a symmetric permutation of the rows and columns of C such that C = LL , with = diag (1 , 2 , , n ) and with L unit lower triangular and such that each column Lej satises Lej = 1. Formula (9.5) of lemma 9.2 gives the k in terms of the eigenvalues of A and one may think of the diagonal pivoting in the Cholesky factorization as a means to order (i.e. index) these eigenvalues. Let (A) denote the spectrum of A. If the rst k 1 eigenvalues Sk1 {j : 1 j k 1} (A) have been selected and indexed, then the k th eigenvalue k is selected according to 1 k 1 2 j : ( A ) \ S . k = argmax (9.6) k 1 2Re () + j
j =1
We shall call this selection the Cholesky ordering. Now, given a xed in the open left-half plane, the function ( ) = +
is a linear fractional transformation that maps the open left-half plane onto the open unit disk. Thus, |(j )| < 1 1 for every j (A). From this, we may conclude that the sequence {j } is decreasing with 1 = 2 max{R e (i )} = max |Cij |. These results may be summarized in the following theorem. Theorem 9.5. Let P solve the Lyapunov equation AP + P A + bb = 0. Let Pk = n > 0, given above and where zj = Xb Lej . Then P Pk
2 k j =1 j zj zj ,
with 1 2
(n k )2 k+1 (2 (X) b 2 )2 .
=
j =k+1
j zj z j
2 2.
k+1 (n k ) max zj
j>k
2 2,
= zj
2
Due to Lej
= 1, we have Lej
Lej
= X
Corollary 9.6. Decay rate estimate. When A has an eigenvector basis that is well conditioned, the norms of the vectors zj are uniformly bounded by a modest constant and hence the following estimate is obtained: k+1 k (P ) = 1 (P ) 1
k1 j =1
k j k + j
(9.7)
This gives an order of magnitude relative error estimate for a rank k approximation to P . The eigenvalues k (P ) are ordered in the Cholesky ordering, dened by (9.6). Departure from normality increases the condition number of X and renders this bound useless. One might see . On the other hand, the components of b may be the low rank phenomenon accentuated through tiny components of b magnied in a way that cancels the effects of the rapidly decaying j .
ACA
i i i
i i 238 Generalization to MIMO* The bounds of the previous section only apply to the case where B = b is a single vector. However, this result still has implications for the general case. Let B = [b1 , b2 , , bm ], where bi Rn , i = 1, 2, , m. Note that the Lyapunov equation may be written as
m
AP + P A +
i=1
bi b i =0
APi + Pi A + bi b i = 0, i = 1, 2, , m.
1 P i = Xi C X bi ). i = Xi LL Xi where Xi = Xdiag (X
Let Zj = [X1 Lej , X2 Lej , , Xm Lej ] = [z1j , z2j , , zmj ], where zij = Xdiag (X1 bi )Lej . Linearity of the Lyapunov equation yields
m n
P=
i=1
Pi =
j =1
j Zj Z j.
With this notation we may establish the following result. km = Theorem 9.7. Let P satises with 1 P
2. m i=1 k j =1 j Zj Zj .
If
k+1 1 2
km P P
1 m(n k )2 (2 (X) B 2 )2 ,
Proof. Since Zj Z j =
Zj Z j
i=1
zij z ij
i
m max zij z ij
i
m max(n k )(2 (X) bi 2 )2 m (n k )(2 (X) B 2 )2 , for j > k , where the estimates of Theorem 9.5 are applied to each zij z ij argument analogous to that of Theorem 9.5.
2
Remark 9.4.2. There is a close connection between these bounds and the Krylov (reachability) sequence Ak1 B, k = 1, , n. In particular, with A Rnn , stable, B Rnm , and P be the unique solution to AP + P A + BB = 0. Then rank (P ) = rank (Rn ), where Rn = [B, AB, A2 B, , An1 B], is the reachability matrix. This fact is numerically reected in the decay rates. A bound for the decay rate Formula (9.7) provides an estimate for the decay rate of the eigenvalues of the Lyapunov equation. In chapter 4 of [373] an upper bound for the decay rate was derived which we state next. The approach used is based on the SVD (Singular Value Decomposition). Given the eigenvalues i (A), we rst dene the complex constants i C, i = 1, , n, as the solution of the following min-max problem: { 1 , , k } = arg min max k i=1 i + i
ACA :
1 ,,k
1 n
i i
i i
i i 9.4. A study of the decay rates of the Hankel singular values* The following result holds. Lemma 9.8. Let A be stable and diagonalizable, with X the right eigenvector matrix. Furthermore, let B have m columns. There holds 2 mk+1 (P ) i 2 (X) max k i=1 + 1 n 1 ( P ) i where (X) denotes the condition number of X, and the i solve the min-max problem dened above. The min-max problem mentioned above remains in general unsolved. An straightforward choice of these parameters is i = i (A) where the eigenvalues are ordered in the Cholesky ordering. In this case we obtain the following computable upper bound: Corollary 9.9. Computable decay rate bound. With the choice i = i (A), the following bound holds: mk+1 (P ) 2 (X) 1 (P )
k 1 n
239
max
i=1
i i +
(9.8)
where the eigenvalues i (A) are ordered in the Cholesky ordering. This expression is similar to (9.7), although the method used to obtain it is different. The proof of the above lemma was given in [373].
Due to the minimality of the above realization, the eigenvalues of A are the same as the poles of H(s), that is, the n roots of the denominator polynomial q(s), that is q(s) = det (sI A) = i=0 i si , n = 1. We make use of the standard denition
n
q(s) = q (s) =
k=0
k (s)k .
(9.9)
Recall that the Hankel singular values of all-pass systems satisfy the property: 1 = = n . A consequence of the above denition is that the same holds for the s. Lemma 9.10. A system is all-pass (unitary) if, and only if, the i are all equal: 1 = = n . In this case the Hankel singular values of the system and the i , i = 1, , n, are all equal.
ACA
i i i
i i 240 Chapter 9. Special topics in SVD-based approximation methods The proof of this result is given in section 9.4.4. Multiplicative majorization To state the main result of this section, we need the notion of multiplicative majorization. This is a partial ordering relation between vectors. Additive and multiplicative majorization is discussed in section 3.5. For convenience, we repeat next the denition which will be needed in the sequel. Let , Rn be the vectors whose ith entry is equal to i , i , respectively. We say majorizes multiplicatively, and write | | , if the following relations hold:
k n n | | k i=1 |i | i=1 i , k = 1, , n 1 and i=1 |i | = i=1 i .
(9.10)
The result quoted next is due to Sherman and Thompson [295]. Lemma 9.11. Let the matrices , U, P satisfy the relationship = UP, where P > 0 is positive denite and U is unitary. If i = i (), |i | |i+1 | and i = i (P) i+1 , i = 1, , n 1, then multiplicative majorization holds, namely | | . The converse is also true. Given P and i satisfying the above multiplicative majorization relations, there exist a matrix , where i are its eigenvalues, and a unitary matrix U such that = UP. The main result of this section is Theorem 9.12. Decay rate of the Hankel singular values. The vector of Hankel singular values majorizes the absolute value of the vector of new invariants multiplicatively: | | . (9.11)
Remark 9.4.3. (a) The last relationship of the main result, namely that the product the |i | is equal to the product of the Hankel singular values was rst reported in the discrete-time case, by Mullis and Roberts [245].
k (b) It follows from the majorization inequalities that k i=1 |ni+1 | i=1 ni+1 , for i = 1, 2, , n 1, and with equality holding for i = n. This implies k k
log |ni+1 |
i=1 i=1
log ni+1 ,
that is, the logarithmic sum of the tail of the Hankel singular values can be bounded above by the logarithmic sum of the tail of the i . Interpretation of Theorem 9.12 The issue in balanced model reduction is how fast the Hankel singular values decay to zero. In many cases the poles (natural frequencies) of the system are known together with a state space realization =
A C B D
. Thus in
principle, one can compute the i , with relatively small computational effort. The main theorem then says that the (discrete) curve whose k th value is the product k i=1 |i |, is of importance. It is actually best to plot the logarithm of k this curve, namely i=1 log |i |, because the i tend to decrease rapidly and their product even more so. The main k result asserts that given this curve, the corresponding curve for the Hankel singular values i=1 log i , remain above, n n and in addition the two curves have to converge at the last point i=1 log i = i=1 log |i |. Furthermore the curves are monotone decreasing. This is depicted for a 5th order system on the left-hand side of gure 9.2. Stated differently, let k be known. Then the , > k , lie in the region bounded from above by log k and log |k |. This means that 4 i=1 log i has to lie on the dotted line, while the last two points coincide.
i i
ACA :
i i
i i 9.4. A study of the decay rates of the Hankel singular values* 241
On the right-hand side of gure 9.2, ve pairs of / curves for all-pole systems of order 19 are depicted. The curve is always the lower one. The units on the y -axis are orders of magnitude. The curves are from upper to lower, as follows. The rst system has poles with real part equal to 1. The next has poles which are on a 45 degree angle with respect to the negative real axis. The third one has real poles only. Finally the last two pairs have their poles spread apart by a factor of 10 with respect to the previous two pairs.
5 pairs of gamma/sigma curves 0
100
200
300
400
500
1st pair: poles parallel to imag axis 2nd pair: poles on 45 degree line
600
3rd pair: real poles 4th pair: same as 2nd pair streched by factor 10
700
800 2 4 6 8 10 12 14 16 18
Figure 9.2. Left pane: i=1 log |i | (upper curve) and Right pane: ve pairs of / curves for all-pole systems of order 19.
k i=1
Remark 9.4.4. A consequence of the main result is that non-minimum phase systems are harder to approximate than minimum phase ones. Recall that minimum-phase systems are systems with stable zeros, i.e. zeros which lie in the left-half of the complex plane. This follows from the denition (9.9) since, assuming that the poles are the same, each i for a minimum-phase system is smaller than the i for a system with all zeros in the right-half of the complex plane.
The proof of Theorem 9.12 Consider again the system where the previous assumptions hold. Due to the fact that the poles are distinct, the transfer function can be decomposed in a partial fraction expansion of the type: H(s) =
n i=1
(9.12)
From the partial fraction decomposition follows the state space realization A C B D 1 . , A = diag ([1 , , n ]), B = . . , C = [b1 bn ]. 1
Then the reachability gramian is equal to the Cauchy matrix with x = y = (the vector of eigenvalues j ), while the observability gramian is a diagonally scaled version of the Cauchy matrix with x = y = (the vector of complex
ACA
i i i
conjugate eigenvalues). Let B be the diagonal matrix whose entries on the diagonal are bi . Then P = C ( , ) =
1 1 + 1 1 2 + 1 1 n + 1 1 1 + 2 1 2 + 2 1 n + 2
. . .
. . .
.. .
p(i ) q (i )
1 1 + n 1 2 + n 1 n + n
Cnn Q = BC ( ,
. . .
)B .
From the above remarks it follows that d( , )i = particular Lemma 9.1, we conclude that C ( , )D( , This implies P [BD( ,
= bi
j =i (i j ) . j (i + j)
C( ,
)D( , )1 = In .
1
)]
Q [D( , )B ]
= In .
From here we proceed as follows. Let T be a balancing transformation, i.e. TP T = T QT1 = , where = diag (1 , , n ), are the Hankel singular values of . Then TP T T (BD( ,
1
U
= In ,
1 = U , where denote the square root of , i.e. = ; then the above equality implies D . Then, since, i (D ) = d( , )i , and since where is unitary UU = U U = In . Therefore, U = D U i ( U ) = i (U), Lemma 9.11 together with (9.9), yield the desired result (9.11). A sharpening of the main result Recall (9.2) and (9.3). We associate with the i s and i s the following vectors Rn and Rn :
k =
|bk | k1 k i i=1 + k + k k i
, k =
|bk | k i n i=k+1 + k + k k i
, k = 1, 2, , n.
It is assumed in the sequel that the i are arranged so that the entries of turn out to be in decreasing Cauchy ordering: k k +1 . From our earlier discussion it follows that if the system is given by (9.12), the i are: k = bk k i i=k + . k + k k i
Notice that = = | |2 , where denotes point-wise multiplication. It should also be noticed that as mentioned earlier [142], the L-D-U factorization of the Cauchy matrix can be written explicitly as C = LU, where L is lower triangular with ones on the diagonal, U is upper triangular with ones on the diagonal, and = diag . Because of the above mentioned fact on the L-D-U factorization we have the following result due to Alfred Horn [180]; it states that the vector of eigenvalues of a positive denite matrix majorizes multiplicatively the vector whose i-th entry is the quotient of the determinants of the i-th over the (i-1)-st principal minors of the matrix. Lemma 9.13. Let P be the solution to the Lyapunov equation with eigenvalues i (P ). Then, the vector , is majorized multiplicatively by the vector of eigenvalues (P ). Furthermore the former multiplicatively majorizes the vector : | | (P ) (9.13)
i i
ACA :
i i
i i 9.4. A study of the decay rates of the Hankel singular values* 243
Remark 9.4.5. (a) In section 9.5 it was shown that the optimal conditioning of Cauchy matrices by means of diagonal scaling is given by k + i k = |k + k | . k i
i= k
This implies that for optimally conditioned Lyapunov equations we must have
= e = [1 1 1].
(b) The inequalities (9.13) are a rened version of the result concerning the decay rate of the eigenvalues of a single gramian; see theorem 9.5. Connection with Fuhrmanns results In section 8.6, the signed Hankel singular values (i.e. the eigenvalues) of the Hankel operator, and the corresponding eigenvectors, are characterized by means of the polynomial equation 8.28; using the notation of this section it becomes pr = q r + q , where H = p q is the transfer function of the system, is a Hankel singular value, = , = 1, is the corresponding signed singular value, () is as dened earlier, and r, are unknown polynomials of degree less than n = deg q. Let a, b be polynomials satisfying the Bezout equation aq + bq = 1. Then the coefcients of the polynomial r and the eigenvalues of the Hankel operator are determined from the eigenvalue decomposition of the matrix M = Kb(A)p(A) where K = diag (1, 1, 1, 1, ), and A is any matrix with characteristic polynomial equal to q. We notice that this equation can be rewritten as follows: p r q p = + i = q r q r q =
s=i
r r
s=i
where i are the roots of q (poles of ). It follows therefore that i is equal to some singular value times the r magnitude of the corresponding all-pass r , evaluated at s = i ; to stress the dependency on the j th singular value we write rj instead of r: r p(i ) j ( i ) i = = j , j = 1, , n. (9.14) q (i ) rj (i ) Thus the ratio of i and j is a quantity depending on the all-pass function dened by the polynomial r which in turn denes the eigenvectors of the Hankel operator. We are now ready to prove lemma 9.10. Necessity: if the system is all pass, i.e. H = q q , for some R, by denition (9.9) of the gammas we have i = for all i. Sufciency: if all the i , i = 1, , n, are equal, since the degree of r is at most n 1, (9.14) implies r = r . Therefore p = q , where = i = j for all i, j .
i i i
i oa i
Our estimates are derived from the diagonal elements of the Cholesky factor of the Cauchy matrix C dened by (9.2), and do not require symmetry of A. They are of the form k = 1 2Re (k )
k1 j =1
k j k + j
(9.16)
where the j s have been indexed according to the Cholesky ordering imposed by diagonal pivoting. Even though these two results are derived in very different ways, they are closely related. In fact, Penzl derives his bounds from expressions involving the same linear fractional transformations that led to our results. However, in that case, they arose from ADI approximations to the solution of the Lyapunov equation. Our computations indicate that a great deal may be lost in replacing estimates involving all of the eigenvalues j of A with a condition number. In Figure 9.3 we show the results of our estimates versus Penzls in comparison to the eigenvalues of P where A is the standard nite difference approximation to the 1-D Laplacian of order 100.
10
0
10
10 10
10
10 10
20
10
10
15
10
30
10
20
10 10
40
25
10 10
50
30
10
60
10
35
10
40
Figure 9.3. Left pane: Comparison of estimates for the discrete Laplacian. Right pane: Comparison of estimates for a nonsymmetric A The left pane of gure 9.3 gives a semilog graph of the Cholesky estimates k /1 , the Penzl estimates, and the actual eigenvalue ratios k (P )/1 (P ) for 1 k 60. The horizontal dotted line indicates where these ratios fall below machine precision eps 1016 . In the right pane of gure 9.3, we show the same comparison for a random nonsymmetric A of order 200 with a few eigenvalues near the imaginary axis (distance about .01). In Figure 9.4 we compare Cholesky estimates to actual eigen-decay on LTI examples that are more closely related to engineering applications. Two of the examples are simple model problems, a nite element model of heat conduction in a plate with boundary controls and a nite element model of a clamped beam with a control force applied at the free end. These are labelled Heat model and Struct model respectively. A third example labelled CD player model is a simplied simulation of a CD player tracking mechanism that has been described in detail in [152]. The fourth example labelled ISS 1r-c04 model is an actual nite element discretization of the ex modes of the Zvezda Service Module of the International Space Station (ISS). There are 3 inputs, and 3 outputs, namely the roll, pitch, yaw jets, and the roll, pitch, yaw rate gyros readings, respectively. This example was provided to us by Draper Labs. Since A is nonsymmetric in all of these systems, the Penzl estimates do not apply. However, the Cholesky ratios give very good approximations to the actual eigen-decay rates for all of these examples. These results indicate that the condition number (A) alone may not be enough to determine the decay rate effectively. It seems that the decay rate really depends on the full spectrum of A as indicated by the Cholesky estimates. Moreover, one can easily see that clustered eigenvalues of A can make the Cauchy kernel have very low numerical rank (hence P has very low numerical rank), but (A) can be arbitrarily large at the same time. Hence the right hand side in (9.15) fails to predict the rapid eigen-decay rate. In fact, the eigen-decay rate can be extremely fast even when (A) is huge. This is illustrated by the example shown in Figure 9.5 where A has been constructed to have two clustered eigenvalues as follows:
i i
ACA :
i i
i oa i 245
20
10
5
40
10
10
60
10
15
80
100
10
20
120
20
40
160
180
200
10
25
35
40
10
80
10
60
10
40
10
20
10
0
10
20
10
10
40
12
60
10
14
80
10
16
100 600
500
4
100
10
18
20
40 60 80 100 120 140 eigdecay of the solution P vs. Chol estimate, B = eye(n,1)
160
180
x 10
10
10
3
10
1
10
10
2
10
4
10
5 900
800
700
200
100
10
12
20
120
10
60
40
10
20
20
10
40
10
60
80 0.35
0.3
0.05
10
15
50 100 150 200 eigdecay of the solution P vs. Chol estimate, B = ones(n,1)
250
Figure 9.4. Eigen-decay rate vs Cholesky estimates for some real LTI systems
ACA
i i i
10
10
10
10
eig(P) / max(eig(P))
10
15
10
20
10
25
10
30
10
35
10
40
20
40
60 n= 200, b=rand(n,1)
80
100
120
Figure 9.5. Fast eigen-decay rate for large cond(A) For the nonsymmetric case, Penzl [266] constructed a nice example to show that even in the SISO case, the eigen-decay rate can be arbitrarily slow. In the extreme case the ratios remain almost constant at 1. His example is: put n = 2d + 1, m = 1, A = diag (1, A1 , A2 , , Ad ) Rnn , B = [1, , 1] Rn , where Aj = Aj (t) = 1, jt/d, jt/d 1 , j = 1, 2, , d.
Penzl considered d = 50, t = 10, 100, 1000. From the construction of A, (A) = A 2 A1 2 t. He observed that the eigenvalue ratios are almost constant 1 for large t. We tried this example with d = 300, t = 10, 100, 103 , 104 . As can be seen from the left pane of gure 9.6, the
10
0
10
10
10
10
10
10 eig(P) / max(eig(P))
10 eig(P) / max(eig(P))
10
10
10
10
10
10
10
12
10
12
10
14
10
14
10
16
10
16
10
18
t = 10 t = 100 t = 1e3 t = 1e4 0 100 200 300 400 500 n= 601, Re(eig(A))=1, b=ones(n,1) 600 700
10
18
10
20
10
20
120
Figure 9.6. Left pane: Decay rates for Penzls example. Right pane: Fast eigen-decay rate for A with clustered eigenvalues having dominant imaginary parts. eigen-decay rate of P slows down when A has eigenvalues with increasingly dominant imaginary parts. In [266] Penzl suggested that the dominant imaginary parts of the eigenvalues cause the decay rate to slow down. This observation is relevant, but further analysis seems to indicate that relative dominance of the imaginary parts to the real parts, together with the absence of clustering in the spectrum of A are very important factors. We illustrate this in the right pane of gure 9.6 by constructing A with eigenvalues having huge imaginary parts but with all eigenvalues clustered about 3 points: {1, 1 + t i , 1 t i }. Again we construct: n = 2d + 1,
i i
ACA :
i i
i i 9.4. A study of the decay rates of the Hankel singular values* A = diag (1, A1 , A2 , , Ad ) Rnn , B = [1, , 1] Rn , while we modied Aj as follows Aj = Aj (t) = 1, t j/d, t + j/d 1 , j = 1, 2, , d. 247
Again, we take t = 10, 100, 103 , 104 for comparison. In this example, despite the presence of eigenvalues with increasingly dominant imaginary parts, the eigen-decay rate of P does not deteriorate because of the clustered eigenvalues. For each t in this example A has only 3 clustered eigenvalues, and thus the Cauchy kernel (9.2) has low numerical rank for each t. Hence, the eigen-decay rate of P continues to be fast regardless of the magnitude of t as demonstrated in gure 9.6 (right pane). We also see that (A) is irrelevant to the decay rate in this example since here (A) t for each t. Actually (9.15) gives an explanation of the non-decay in Penzls example. In this example, Re () remains k j constant and the increasingly dominant Imag() leads to k +j 1. Hence, {k } becomes nearly a constant sequence and there is very little decay of the eigenvalues. The Cholesky estimates are not shown in gures 9.5, 9.6 to avoid the clutter of many overlayed plots. However, in all of these cases the Cholesky ratios were computed and again they approximate the actual eigen-decay rates well. All computations were done in MATLAB 5.3.0 on a Sun Sparc Ultra-60 under SunOS 5.6. Machine epsilon is approximately 1016 .
Cases of non-decay or slow-decay Penzls example is one slow-decay case. In fact, the worst case is possible. The Lyapunov equation may have the , b = 2 e1 solution P = I where I is the identity matrix. As an example, if T = T , choose A = T e1 e 1 for some > 0. Then AI + IA + bb = 0. Thus, even in the SISO case, it is possible for the solution to have no eigen-decay; these cases are related to all pass systems. We also did extensive numerical studies on these non-decay cases; the most relevant reasons we found are: (i) most eigenvalues of A have tiny real parts with not so tiny imaginary parts; (ii) most eigenvalues of A have dominant imaginary parts and the spectrum of A is not clustered relative to maxj |Re (j )|. However, Figure 9.7 shows even in the slow-decay or non-decay case, (9.16) still approximates the actual decay rate well. In engineering applications, it seems to be uncommon for the conditions for slow decay to arise. Remark 9.4.6. (a) The Cholesky ratio (9.16) only involves the eigenvalues of A, while P depends on both A and b, so there may be considerable discrepancy between the Cholesky ratio and the actual eigen-decay rate for some b. However, when A has a moderately well conditioned eigenvector basis (9.16) usually gives an accurate prediction of the numerical rank of P . (b) On the other hand, b is taken into account in theorem 9.12 and in the rened bounds (9.13). The result of Theorem 9.7 suggests that the rank of P increases with the rank of B. Figure 9.8 gives one example of the effect of increasing m (the number of columns of B). Note in this example that the spectrum of A contains relatively clustered points with dominant real parts, which implies the fast eigen-decay rate. Further numerical experiments The plots in this section are due to Marc Embree [104]. The goal in each case is to pick some region in the complex plane, generate optimal interpolation points, and then compare the i s obtained from those points to the i s obtained from the eigenvalues, keeping in mind that the i s are meant to provide an order of magnitude relative error estimate for the numerical rank of P . Three examples are investigated. Discrete Laplacian in 1-D, n = 400. In the rst plot, we illustrate the values based on the true eigenvalues of A (blue curve), and compare these values to the values generated from 200 points (red curve) and 2000 points (black curve) distributed like the Chebyshev points in [min , max ], that is, lling a sharp eigenvalue inclusion region.
ACA
i i i
i i 248
A = T mu e et ,
1 1
1.5
10
0
0.5
10
1
0.5
10
1
10
3
1.5
Cholesky Eigenvalues 0 10 20 30 40 50 60 70 80 eigdecay of P vs. Cholesky estimate, B = rand(n,1) 90 100
2 2
1.8
1.6
1.4
0.6
0.4
0.2 x 10
0
5
10
10
10
10
10
10
10
10
10
10
10
10
Figure 9.7. Eigen-decay rate and Cholesky estimates for the slow-decay cases
10
0
10
10
10 eig(P) / max(eig(P))
10
10
10
10
12
10
14
10
16
10
18
10
20
50
250 B=rand(n,p)
300
350
Figure 9.8. MIMO cases: the effect of different p Shifted random matrix, n = 1000. Let A be generated as follows: A = randn(n)/sqrt(n)-1.1*eye(n). The entries of A are thus normally distributed with mean = 1.1 and variance 2 = n1 . With this scaling, the spectrum of A will ll the disk of radius 1 centered at 1.1 in the large n limit. We approximate the spectrum by this disk, bounded by the red line in the plot below. Notice that some of the eigenvalues of A (blue dots) are slightly outside this region. We use 100 uniformly-spaced points on the boundary of the disk (red dots) to get approximate values. This classic example from random matrix theory exhibits only mild non-normality. The second gure above compares the decay of the true i values (blue curve) with the i values obtained from the 100 points (red) and 1000 points (black) on the disk boundary. Notice the good agreement for the rst 25 or so values of i , at which point discrete effects begin to take over. Matrix with a V-shaped spectrum, n = 1000. Here, we let A have eigenvalues uniformly distributed on two
i i
ACA :
i i
249
10
10
10
20
i / 1
2000 points
30
10
10
40
200 points
10
50
true eigenvalues
10
60
10
20
30
40
50
60
70
80
90
100
10
10
10
1000 points
i / 1
0 0.2
10
30
10
40
true eigenvalues
10
100 points
10
20
30
40
50
60
70
80
90
100
Figure 9.10. Eigenvalue decay for shifted random matrices sides of a triangle, with the rightmost eigenvalue = 0.01 at the vertex, having multiplicity 2. For our comparison, we use 200 points derived from a conformal map of the convex hull of the eigenvalues of A, generated using Driscolls Schwarz-Christoffel Toolbox for MATLAB. The true eigenvalues are shown in blue in the left plot below; the approximation points are shown in red on the right.
1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 0.6 0.4 0.2 0 0.2 1 0.8 0.6 0.4 0.2
10
20
10
10
10
true
eigenvalues
i / 1
1000 points
30
0 0.2
10
200 points
10
40
10
50
100
150
Figure 9.11. Eigenvalue decay for V-shaped spectrum Lastly, we modify the previous example by supposing that we dont have such an accurate inclusion region for the eigenvalues. We bound the spectrum with a pentagon having a vertex at 0.005. The rst plot below shows the eigenvalues (blue dots) and the set of 200 approximation points (red dots). We now see that this new region generally
ACA
i i i
leads to an overestimate of the decay behavior. If in practice one only requires an order of magnitude estimate (and, indeed, is more willing to accept an overestimate of the numerical rank rather than an underestimate), this may still be acceptable.
10
0
1
10
10
1000 points
0.5
10
20
true eigenvalues
i / 1
10
30
10
40
200 points
0.5
10
50
1
10
60
20
40
60
80
100
120
140
160
180
200
0.2
In other words the si are signs associated with the singular values i ; the quantities si i , i = 1, , n, turn out to be the eigenvalues of the Hankel operator H. Finally, notice that due to the reachability of (A, B) and to the observability (C, A) the i must be different from zero, and thus without loss of generality they can be chosen positive i > 0. From the above relationships it follows that A can be written as A = Bd A0 Bd , (A0 )ij = 1 , Bd = diag (1 , , n ), si sj i + j
ACA :
(9.17)
i i
i i
where i , i > 0, and si = 1. The problem which arises is the relationship between i () and i (). Numerical experiments. (I) If the eigenvalues i () of are xed but A, B, C are otherwise randomly chosen, the condition number of the singular values turns out to be on the average, of the order of 10n , where n is the system dimension. (II) If the singular values i () of are xed but the system is otherwise randomly chosen, the condition n number of the resulting A is on the average, of the order of 10 2 . Ensuing problems. The above numerical experiments suggest two specic problems: to what extent is it possible to reduce (I) the condition number of the singular values in the rst case above, and (II) the condition number of A in the second case, by appropriate choice of the quantities which have been chosen randomly? From the numerical experiments outlined earlier we conclude that the Hankel singular values of generic linear systems fall off rapidly, and hence such systems can be approximated well by systems of low dimension (complexity). The issue raised here is thus concerned with determining the extend to which non-generic systems can be approximated well by low dimensional systems. Problem (I), is addressed as follows. Given a pair of matrices (C, A), with A stable, following corollary 5.18 on page 131, one can always nd B = Q1 C such that
A C B I
values are all equal to 1 (i.e. there is no decay). Thus the condition number of the Hankel singular values can be minimized optimally by appropriate choice of B. Problem (II), i.e. the distribution of the eigenvalues of A for pre-assigned Hankel singular values, can be addressed using the balanced canonical form. Using results of Golub and Varah [144] the following result can be proved. Theorem 9.14. Given n distinct positive real numbers i , together with n signs si , the condition number of A dened by (9.17) is minimized, for the following choice of the entries i > 0, of the diagonal scaling matrix Bd :
2 i = | i + i | j =i
i + j i j
where k = sk k , k = 1, , n.
Remark 9.5.1. (a) The improvement of the condition number of A in (9.17) for optimal conditioning, compared with random choice of the i , is between 103 and 104 . This improvement is not very pronounced especially for higher n. (b) Matrices of the type dened by A0 are Cauchy matrices, while for the special case that all signs si are positive we have Hilbert matrices. Thus the theorem above provides the optimal diagonal scaling of Cauchy and Hilbert matrices.
i i i
i i
ACA :
i i
i i
Part IV
253 i i i i
i i
i i i
i i
Chapter 10
The 2-norm approach to system approximation outlined above requires dense computations of order n3 and storage of order n2 , where n is the dimension of the original system. Consequently, it can be used for systems of moderate complexity. A set of iterative algorithms known as Krylov methods, provide an alternative. The basic Krylov iteration Given a real n n matrix A and an n-vector b, let v1 =
b b
nk AVk = Vk Hk + fk e , Hk Rkk , fk Rn , ek Rk , k , Vk R
where ek is the k th canonical unit vector in Rk , Vk = [v1 vk ] consists of k column vectors which are orthonormal, Vk Vk = Ik , and A projected onto the subspace spanned by the columns of Vk is Hk = Vk AVk ; these conditions fj imply that vj +1 = fj , j = 1, , n 1. The computational complexity required for k steps of this iteration is O(n2 k ) and the storage is O(nk ); often, the iteration is applied to a sparse matrix A, in which case the complexity reduces to O(nk 2 ). Two algorithms fall under this umbrella, namely the Lanczos algorithm [221, 222] and the Arnoldi algorithm [28]. For an overview of the Krylov iteration we refer the reader to [285], [149], [332] and [71]. This iteration has rich structure involving the subspaces Ki spanned by the sequence of vectors b, Ab, A2 b, , Ak1 b, which are known as Krylov subspaces in the numerical linear algebra community and as reachability or controllability subspaces in the control systems community. For arbitrary A, (10.1) is known as the Arnoldi iteration; in this case Hk is upper Hessenberg. For symmetric A = A , (10.1) is known as the symmetric or one-sided Lanczos iteration, in which case Hk is tridiagonal and symmetric. A variant of (10.1) involving two staring vectors can be applied to non-symmetric matrices A and is known as the two-sided or non-symmetric Lanczos iteration. In this case the projected matrix Hk is tridiagonal (but not symmetric). Three uses of the Krylov iteration The iteration described above has three main uses. (a) Iterative solution of Ax = b. In this case we seek to approximate the solution x in an iterative fashion. The Krylov methods are based on the fact that successive approximants belong the subspaces Ki mentioned above. Both the Arnoldi and the one-sided Lanczos algorithms, construct iteratively orthonormal bases for these subspaces. (b) Iterative approximation of the eigenvalues of A. In this case b is not apriori xed. The goal is to use the eigenvalues of the projected matrix Hk as approximants of the dominant eigenvalues of A. The most simpleminded approach to the approximation of eigenvalues is the power method, where given b, successive terms Ak1 b are computed. To overcome the slow convergence of this method, Krylov methods are used, where at the k th step 255 i i i i
one makes use of the information contained in the whole sequence b, Ab, , Ak1 b. An important advance is the Implicitly Restarted Arnoldi Method (IRAM) developed by Sorensen. This approach was introduced to overcome the often intractable storage and computational requirements of the original Lanczos/Arnoldi method; this turns out to be a truncated form of the implicitly shifted QR algorithm. This approach has been implemented; the software package is called ARPACK. For details we refer to the ARPACK manual [227]. For a summary of results on eigenvalue computations we refer to the work of Sorensen [307] and [306]. It should be noted that in the case of symmetric matrices there exists a theory for the convergence of the eigenvalues of Hk to the eigenvalues of A, which has been worked out by Saad [285]. In the general case, it is known that convergence of the eigenvalues on the boundary precedes convergence of the rest of the eigenvalues; a theory however is emerging in [46]. (c) Approximation of linear systems by moment matching. This problem which is of interest in the present context, will be the discussed in the next chapter 11. Krylov methods have their origins in eigenvalue computations and in particular eigenvalue estimations. The present chapter is dedicated to an exposition of Krylov methods as they apply to eigenvalue computations.
10.1 Introduction
Given a matrix or operator A : X X, the eigenvalue problem consists in nding all complex numbers and non-zero vectors x X such that Ax = x. (10.2) If (, x) is a solution of (10.2), is called an eigenvalue and x is called the corresponding eigenvector of A; furthermore (, x) is called an eigenpair of A. The set of all eigenvalues of A is called the spectrum of A and is denoted by (A). The problem dened by equation (10.2) is nonlinear in and the entries of x. Nevertheless it can be solved in two steps as follows. First, notice that for a xed , (10.2) has a solution x if, and only if, A I has a non-trivial null space. If we are working in a nite dimensional space X = Rn , this is equivalent to the determinant of A I being zero; let
k mi A ( ) = det( I A) = k , i = j , i = j, i=1 ( i ) i=1
mi = n,
be the characteristic polynomial of A. Then is an eigenvalue if, and only if, is a root of the characteristic polynomial A () = 0. Consequently, x is an eigenvector provided that x ker(A I). If i (A), mi is its algebraic multiplicity and the dimension of ker(A i I) is its geometric multiplicity. The matrix A is diagonalizable if the algebraic multiplicity of each eigenvalue is equal to its geometric multiplicity. If this condition is not satised, the Jordan canonical form with non-trivial Jordan blocks comes into play (for details see e.g. [181]). Two square matrices A and B are called similar if there exists a nonsingular matrix T such that AT = TB or equivalently A = TBT1 . It readily follows that two matrices are similar if, and only if, they have the same spectrum, i.e. (A) = (B), and the same Jordan structure. A subspace V X is A-invariant if AV V . Let the columns of V Rnk form a basis for V ; then there exists a matrix H Rkk , such that AV = VH (H) (A), that is, the eigenvalues of H are a subset of the eigenvalues of A. Our goal in this section is to discuss methods for obtaining approximate invariant subspaces, say V , where the residual is orthogonal to some k -dimensional subspace W = span col W: AV = VH + R where R W W R = 0. (10.3)
This orthogonality property is also known as a PetrovGalerkin condition. The resulting approximate eigenvalues are then obtained by appropriately projecting A: H = W AV where W V = Ik . (10.4)
i i
ACA :
i i
In this case the projection is called bi-orthogonal, and the approximate eigenvalues are the eigenvalues of H. Often we take W = V , in which case H = V AV.
sup
E A
(A + E)1 A1 , A 1
is called the condition number of A. It is well know that the following relationship holds: ( A) = A A1 .
Furthermore, for induced matrix norms, the reciprocal condition number is the norm-wise distance to singularity (see e.g. [314]): A min {A + E is singular} = . (A) E Notice that the condition number is bounded from below by one: (A) 1. Orthogonal (unitary) matrices U are perfectly conditioned, since U1 = U , which implies (U) = 1, in the 2-induced norm. The following result holds for p-norms. of Proposition 10.2. (Bauer-Fike) Let A be diagonalizable and let E be a perturbation. For every eigenvalue A = A + E, there exists an eigenvalue of A such that | (V) E . | where V is the matrix whose columns are the eigenvectors of A. I A E)V is singular; the same holds true for Proof. ([143]) Let A = VV1 . By assumption, the matrix V1 ( 1 1 1 the matrices I V EV and I (I ) V EV, assuming / (A); singularity of this latter expression 1 1 implies that (I ) V EV has an eigenvalue equal to one, so its norm must be at least that large. Thus I )1 VEV1 ( I )1 1 ( The result thus follows. The distance of the eigenvalues of A and A + E is bounded from above by the norm of the perturbation and by the condition number of the eigenvector matrix of A; if A has almost parallel eigenvectors, the condition number becomes very big. In the limit, the existence of parallel eigenvectors, is equivalent to the non-diagonalizability of A, i.e. to the existence of non-trivial Jordan blocks; this is also equivalent to the condition number of the eigenvector matrix being innite (V) = . A consequence of this fact is that the Jordan form is not stably computable. Instead, what is stably computable is the distance of the given matrix to various Jordan forms; for details we refer to the work of K agstr om et al. [190]. Next, we consider in more detail what happens to A under the inuence of a perturbation. We discuss here only a simple case. Consider A =A+ E
ACA
V1 =
1 (V) E . ) min (
i i i
It is assumed that A has simple eigenvalues (mi = 1), E is xed, and is a varying parameter, which is small enough so that A has simple eigenvalues as well. Let AV = V; then V1 A = V1 . Thus if the columns of V are the right eigenvectors of A, the rows of W = V1 are its left eigenvectors; let vi , wi denote the ith column of V, W, respectively: Avi = i vi , wi A = i wi , wj vi = j,i where j,i is the Kronecker symbol (equal to one if the subscripts are equal and zero otherwise). Moreover, let , v , and w be an eigenvalue, right, and left eigenvector of A , respectively. Since A0 = A it follows that 0 = i , i.e., the perturbed eigenvalue chosen, evaluated for = 0, is equal to an eigenvalue of A; the v = 0 and w vi = 0, same holds true for the right and left eigenvectors: v0 = vi , w0 = wi ; we also assume that wj for all i = j and for all permissible values of the parameter . For details see the book by Wilkinson [355]. Proposition 10.3. Under the above assumptions the Taylor series expansions of and v are = i + d d +
=0
d2 d 2
2 =0
+ O( 3 ), v = vi +
dv d
+
=0
d2 v d 2
2 =0
+ O( 3 ).
The rst and the second derivatives of the quantities above are:
d d 1 d2 2 d 2 1 d2 v 2 d 2 =0
= = =
wi Evi v , wi i
dv d k=i
=0
wk Evi k=i k i vk
=0 =0
1 v wi i
(10.5)
Proof. In the sequel we only prove the formulae for the rst derivatives; the corresponding formulae for the second derivatives follow similarly. For details we refer to [220], [143]. For a sufciently small > 0, there holds (A I)v = 0, w (A I) = 0, where A = A + E, vk ( ) = 1, wk ( ) = 1, w , v = 1. The derivative of the above expression with respect : to is equal to the following expression; for simplicity the derivative of f with respect to be denoted by f I)v + (A I)v = 0. (A The rst formula in (10.5) is obtained by taking the inner product of the above expression by w : I)v + w (A I)v = 0. w (A | =0 given in (10.5). The second summand above vanishes and hence the rst one yields the expression for , we calculate the inner product of the expression above with a left eigenvector wk To prove the formula for v of A that corresponds to the eigenvalue k = i :
I)v + w (A I)v = 0. wk (A k Taking the limit 0, the expression becomes (k i )wk vi = w k Evi , k = i; combining these equalities with wi v = 0, yields the desired second part of (10.5).
k k Remark 10.1.1. (a) The condition number k of the eigenvalue k is now dened as the maximum of w vk , k over all E satisfying E = 1. First notice that wk Evk wk vk ; furthermore this upper bound is attained for the following choice of the perturbation matrix E = wk 1 vk wk vk . Thus
w Ev
k =
wk vk 1 = . v wk cos ( w k k , vk )
ACA :
i i
i i
The condition number is large if the left and right eigenvectors are close to being orthogonal wi , vi 0. Notice that if A is in Jordan form and i corresponds to a non-trivial Jordan block with ones above the diagonal, the right eigenvector is vi = e1 while the left one is wi = en ; therefore wi , vi = 0. (b) To study the sensitivity of the eigenvectors, we consider the perturbed matrix A + E, where is a small positive parameter, and E is arbitrary subject to the norm constraint E = 1; the second formula (10.5) gives an expression for the rate of change of the right eigenvector of A as a function of the perturbation E. Thus, the eigenvector vi is most sensitive in the direction of eigenvectors corresponding to eigenvalues that are close to i . Therefore, eigenvectors corresponding to clustered eigenvalues are difcult to compute. (c) If A is symmetric (Hermitian), there is an orthonormal set of eigenvectors and hence the condition number of every eigenvalue is one. Perturbations of the unitary eigenproblem are studied in [66].
10.2 Pseudospectra*
An important tool for analyzing matrices whose basis of eigenvectors is not well conditioned, is the concept of pseudospectra. For details on this topic we refer to the work of Trefethen [326], [327]. See also the paper by Embree and Trefethen [105] and references therein. Below we just give the denition and present a few illustrative examples. These examples have been computed using the Pseudospectra GUI, which can be downloaded from http://www.comlab.ox.ac.uk/pseudospectra/psagui Denition 10.4. The pseudospectrum of A Rnn is (A) = { (A + E) : E }= zC: (z I A)1
1
With the above denition the Bauer-Fike result (proposition 10.2) can be expressed as (A) (A) + (V) , where (V) is the disk of radius (V). In our rst example 10.1, we revisit the matrix discussed in example 3.2.2, page 35. Here we take = 100. Next we consider the following matrices:
1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 1 0.5 0 0.5 1 1.5 2
Figure 10.1. 103 and 102 pseudospectra of the 2 2 matrix of example 3.2.2.
A=compan(poly(ones(10,1))), A=triu(ones(50,1)), and A=[0 1 -6;0 0 1;0 0 0]. Figure 10.2 shows the -pseudospectra of these matrices. The plots in the two panes to the left of this gure are due to Embree, while those in the two panes on the right are due to Karow [196]. Example 10.2.1. Pseudospectra. Consider a Jordan block J of size n n with ones above the diagonal and zeros everywhere else. Consider a perturbed matrix J which differs from J in that J (n, 1) = ; a simple calculation shows 1 that the eigenvalues of J lie on a circle of radius n . For example if n = 103 and = 1018 , the radius of this circle is 0.9594 (see gure 10.3). It is interesting to note that while the eigenvalues are highly perturbed with small perturbations of the Jordan block, the singular values are not. The singular values of the original Jordan block are k = 1, k = 1, , 11, and 12 = 0. It readily follows that whether just one entry, or all entries, of J are perturbed,
ACA
i i i
i i 260
4
0.5 0.4 0.3 0.2 0.1 0 0.1 0.2 0.3 0.4 0.5
1
0.1
0 0.1
1
0.2
4 1
4
0 1 2 3 4 5 6 7
0.1
0.2
0.3
0.4
0.5
0.1
0.2
0.3
0.4
0.5
Figure 10.2. Left-most pane: -pseudospectra of a 10 10 companion matrix for = 109 , 108 , , 102 ; second pane from left: pseudospectra of a 50 50 upper triangular matrix for = 1014 , 1012 , , 102 ; second pane from right: complex pseudospectrum of the 3 3 matrix above for = 0.025; right most pane: real pseudospectrum of the same matrix for the same .
the singular values are the same as those of the unperturbed J to within the norm of the perturbation. The resulting shape in gure 10.3 is the pseudo-spectrum of J. In more detail, gure 10.3 illustrates the perturbation of a 12 12 Jordan block J with ones above the diagonal and zeros everywhere else. Left gure. The (12, 1) element of J is perturbed from zero to = 103 , 102 , 101 , 1. The corresponding eigenvalues lie on a circle of radius equal to the 12th root of the perturbation, namely: 0.56, 0.68, 0.82, 1.00, respectively. Right gure. J is perturbed by adding a matrix with random entries which are normally distributed, with variance 106 and 109 , respectively. 5000 experiments are performed and the resulting eigenvalues plotted. The superimposed dots are the eigenvalues obtained as in the left-hand-side gure with the (12, 1) element being 106 and 109 , respectively. It should also be mentioned that if the perturbations of J are allowed to be complex, disks covering the star-like gures result.
90 1 60 0.8
0.3
0.2
0.2
0.1
180
0.1
210
330
0.2
0.3
240 270 300
0.4 0.4
0.3
0.2
0.1
0.1
0.2
0.3
0.4
Figure 10.3. Perturbation of the eigenvalues of a 12 12 Jordan block (left) and its pseudospectra for real perturbations with = 109 , 106 (right).
i i
ACA :
i i
A = UU =
i=1
i ui u i.
The columns/rows of U are the right/left eigenvectors of A and form an orthonormal basis for Rn (Cn ). The QR factorization. Given a matrix A Rnk , k n, there exists a matrix Q Rnk whose columns are orthonormal, i.e. Q Q = Ik , and an upper triangular matrix R Rkk such that A = QR. Denition 10.6. The Rayleigh quotient of a square symmetric matrix A = A Rnn at x Rn is: (x) = x Ax , x = 0. x x
If we order the eigenvalues of A as 1 n , it readily follows that for all non-zero x: 1 (x) n . Furthermore, the extremal values are attained by choosing x to be the (right) eigenvector corresponding to the largest/smallest eigenvalue, respectively.
x . x
April 14, 2004
i i i
Notice that an approximate eigenvalue can be obtained at each step by means of the Rayleigh quotient. Let the eigenvalue decomposition of A be A = VV1 , where the eigenvalues are ordered in decreasing magnitude |i | |i+1 |. Proposition 10.8. Assume that A has a simple largest eigenvalue 1 and let v1 be the corresponding eigenvector. Let v(0) be any vector that has a non-zero component in the direction of v1 . The simple iteration described above con2 |k verges towards the dominant eigenvector and the angle between the k th iterate v(k) and v1 , is of the order O | . |1 |k
2 | Remark 10.3.1. (a) The smaller the ratio | |1 | , the faster the convergence. (b) The result holds even if the matrix is not diagonalizable but 1 = 2 . (c) If the initial vector v(0) does not have a component in the direction of v1 , convergence is towards v2 , assuming that |2 | = |3 |. 0 1 (d) The algorithm does not converge if |1 | = |2 |, but 1 = 2 . A counterexample is given by 1 . 0
In this case convergence is quadratic and in the symmetric case even cubic. Usually, factoring a matrix is required at each step. Thus this method is usually applied only to symmetric tridiagonal matrices [259].
i i
ACA :
i i
i i 10.4. Krylov methods Proposition 10.9. Consider the partial (block) Schur decomposition of A AQ = Q = [Q1 Q2 ] 11 0 12 22 , Rkk , 263
Remark 10.3.3. (a) The angle between two subspaces is the maximum over all angles between two vectors, each lying in one subspace. Given two subspaces spanned by the columns of A, B respectively, let A = QA RA , B = QB RB , be the QR-factorizations. The angle between the two subspaces is the largest singular value of Q A QB (the singular values of this product are the principal angles between the two subspaces). (b) To speed-up convergence, the Rayleigh-Ritz procedure can be incorporated in the subspace iteration algorithm. In this procedure a few p k vectors are sought that converge much faster to eigenvectors of the original matrix. (c) The advantages of subspace iteration are: it is stable, it is simple to implement, it has low storage requirements, and knowledge of good starting vectors can be exploited. The disadvantage is it has slow convergence.
x1
x n
, is 1 Ax (x)x (x) = , 2 x x
which shows that the stationary points of the Rayleigh quotient are the eigenvectors of A. We follow the reasoning of Golub and Van Loan [143]. Consider a matrix V whose columns are orthonormal, and let Vj denote the submatrix of V consisting of its rst j columns. It follows from the Cauchy interlacing theorem that the following set of inequalities holds:
max (V1 AV1 ) max (V2 AV2 ) max (Vk AVk ) max (A)
ACA
i i i
The Lanczos algorithm can be derived by imposing the requirement that given vi , i = 1, , j , the next vector in the sequence, vj +1 , be chosen so as to MAXIMIZE max (Vj +1 AVj +1 ). The quantities at our disposal for achieving this are v1 , , vj and the matrix A.
In order to achieve this goal, let rj Rn be such that (rj ) = max (Vj AVj ), i.e. the Rayleigh quotient of rj is k AVj )z; it equal to the largest eigenvalue of Vj AVj . Let z R be a unit vector such that Vj AVj z = max (Vj follows that z Vj AVj z = max (Vj AVj ). This shows that rj = Vj z span{v1 , , vj }. The direction of largest increase of the Rayleigh quotient evaluated at rj is given by its gradient, namely (rj ) = r2rj (Arj (rj )rj ).
Now the condition that has to be imposed on the choice of the (j + 1)st column vj +1 is that the span of the columns of the matrix Vj +1 contain the gradient of the Rayleigh quotient evaluated at rj : (rj ) =
j
k 1 where rj = v1 . i=1 i vi . Solving these constraints successively for j = 1, 2, , k , we obtain, vk = A Furthermore, a similar argument shows that this choice of vj +1 minimizes the smallest eigenvalue of Vj +1 AVj +1 , Vk = I k : given the smallest eigenvalue of Vj AVj . Therefore, since Vk
(10.7)
This leads to the problem of computing orthonormal bases for reachability/Krylov subspaces.
See (4.26) for the denition of these subspaces; it should be mentioned that in the numerical linear algebra community these are referred to as Krylov subspaces and denoted by Kk (A, v1 ). Consequently, conditions (10.3) and (10.7) form the basis for Krylov methods.
rk = Avk
i=1
rk . rk
Since vj depends only on vi , i < j , this procedure has the following property. Proposition 10.10. For any choice of A Rnn , the coefcients satisfy i,j = 0, for i > j + 1. Furthermore, since A is symmetric, A = A , we have i,j = j,i , and the coefcients are zero for j > i + 1 as well.
i i
ACA :
i i
i i 10.4. Krylov methods The above equations can also be written compactly as follows:
AVk = Vk Hk + rk e k where Hk = Vk AVk .
265
(10.8)
Several conclusions can be drawn from the above relations. First, the matrix Hk , which is the projection of A onto V , is tridiagonal; for simplicity of notation, let i = i,i and i+1 = i,i+1 ; then
2 6 6 6 6 6 Hk = 6 6 6 6 6 4
1 6 2
2 2 3
3 3 .. . .. . .. . k k
k1 k
7 7 7 7 7 7 7. 7 7 7 7 5
(10.9)
This matrix shows that the vectors in the Lanczos procedure satisfy a three term recurrence relationship Avi = i+1 vi+1 + i vi + i vi1 , i = 1, 2, , k 1. If the remainder rk = 0, rk+1 cannot be constructed and the Lanczos procedure terminates, in which case if (, x) is an eigenpair of Hk , (, Vk x) is an eigenpair of A (since Hk x = x implies AVk x = Vk Hk x = Vk x). However, if rk = 0, we can apply the RayleighRitz procedure, where Vk x is the corresponding Ritz vector. Then the Rayleigh x V k AVk x = , implies that A has an eigenvalue in the interval [ + , ], where = quotient (Vk x) = x x Ax x ; moreover, by interlacing, we also have k (A) 1 (A).
tan 1 , ck1 (1 + 21 )
2 n k n + (1 n ) n where n = n1 n 1 n1
and n =
Recall that the Chebyshev polynomials are generated recursively using the formula cj ( ) = 2cj 1 ( ) cj 2 ( ), j = 2, 3, , where c0 ( ) = 1, c1 ( ) = . Chebychev polynomials (shown in gure 10.4) lie within the square bounded by 1 in both axes, and increase rapidly outside the interval [1, 1] (since the denominators of 1 and n are the values of such a polynomial outside this interval, they are likely to be large). Thus if the angle between the starting vector and the corresponding eigenvectors of A is not large, 1 and n are small. Figure 10.5 shows pictorially the convergence of the Lanczos procedure. Given is a 20 20 symmetric matrix whose eigenvalues lie in the interval [15, 15]. The abscissa shows the values of the various eigenvalues and their approximants, while the rows show the approximants after a certain number of steps. For instance, the row labelled 20 shows the eigenvalue, obtained after one step of Lanczos, the one labelled 10 shows the eigenvalues obtained at the 11th step, and the one labelled 1 the eigenvalues obtained after 20 steps, which coincide with the exact eigenvalues
ACA
i i i
i i 266
The first 10 Chebyshev polynomials 2
1.5
0.5
0.5
1.5
2 2
1.5
0.5
0.5
1.5
shown on the row labelled 0. Notice that the eigenvalue obtained at the rst step is approximately in the middle of the range of values, while after 6 steps the two extreme (largest and smallest) eigenvalues are approximated well, and it takes another 5 steps for the second biggest and second smallest eigenvalues to be well approximated. The conclusion is that the spectrum is approximated starting with the extremes. Figure 10.5 was generated by means of a MATLAB GUI due to Dan Sorensen, which can be downloaded from: http://www.caam.rice.edu/ caam551/MatlabCode/matlabcode.html
h1,1 6 h2,1
3 7 7 7 7 7 7 7. 7 7 7 7 5
..
(10.10)
A key consequence of this lack of tridiagonal structure is that long recurrences are now needed to construct vk+1 . This is in contrast to the Lanczos procedure where only three-term recurrences are necessary. The stage is thus set for restarting methods for the Arnoldi procedure which is briey discussed in section 10.4.11.
i i
ACA :
i i
267
18
16
14
12
10
0 15 10 5 0 5 10 15
Figure 10.5. Plot of the eigenvalues of a symmetric 20 20 matrix using the symmetric Lanczos procedure.
Figure 10.6. The Arnoldi process: given A Rnn , construct V Rnk with orthonormal columns, such that H Rkk is an upper Hessenberg matrix, and only the last column of the residual R Rnk is non-zero.
1. The columns of Vk are orthonormal: Vk V k = I k , k = 1 , 2, , n . Rk = 0, k = 2. The residual Rk is orthogonal to the columns of Vk , that is, it satises the Galerkin condition: Vk 1, 2, , n.
i i i
This problem leads to the The Arnoldi procedure. The solution has the following structure. Theorem 10.12.
1. Hk is obtained by projecting A onto the span of the columns of Vk : Hk = Vk AVk . th 2. The remainder Rk has rank one and can be written as Rk = rk e unit vector; thus k , where ek is the k rk Rk .
rk rk
4. Let pk () = det(Ik Hk ), be the characteristic polynomial of Hk . This monic polynomial is the solution of the following minimization problem: pk = arg min p(A)b 2 , where the minimum is taken over all monic polynomials p of degree k . Since pk (A)b = Ak b + Rk p, where pi+1 is the coefcient of i of the polynomial pk , it also follows that the coefcients of pk provide the least squares t between Ak b and the columns of Rk . 5. There holds rk = 1 pk (A)b pk (A)b, Hk,k1 = . pk1 (A)b pk1 (A)b
Proof. Given the fact that Vk Vk = Ik , the rst item is equivalent with the second item of the problem formulation. Furthermore, the second item is equivalent with the second condition of the above problem. The proof of the rst three items is similar to the corresponding properties of the Lanczos procedure (proposition 10.10). For the remaining items see [306].
The above theorem is based on the following fundamental lemma of the Arnoldi procedure. Its proof is left to the reader (see problem 42, page 353).
nn Lemma 10.13. Let AV = VH + fe , H Rkk upper Hessenberg, V Rnk , V V = Ik , and k , with A R Ve1 = v1 . There holds Aj v1 = VHj e1 for 0 j < k,
and in addition, for any polynomial of degree less than k (A)v1 = V(H)e1 . For j = k we have
1 Ak v1 = VHk e1 + f , = k i=1 hi+1,i R, k that is, = e k H e1 , is the product of the entries of the subdiagonal of H. Furthermore, for any polynomial of degree k there holds (A)v1 = V(H)e1 + k f ,
Remark 10.4.1. FOM, CG, GMRES, MINRES. There are certain iterative methods for solving the set of linear equations Ax = b, A Rnn , b Rn , that are closely related to the Arnoldi method. All these methods seek approximate solutions at the k th step, denoted by x(k) , that belong to the Krylov (reachability) subspace spanned by the columns of Rk (A, b) = [b, Ab, , Ak1 b]. Thus according to the preceding analysis, we must have x(k) = Vk y, for some y Rk . (Actually x(k) x(0) + Rk (A, b); often x(0) is taken to be zero.)
i i
ACA :
i i
The FOM (Full Orthogonalization Method) requires a RitzGalerkin condition, namely that the residual be orthogonal to Rk (A, b):
Vk b Ax(k) = 0.
Thus y is obtained by solving Hk,k y = b e1 . If A = A > 0 is positive denite, the CG (Conjugate Gradient) method results. The GMRES (Generalized Minimal Residual Method) requires that the residual be minimized b Ax(k)
2
= b AVk y
b e1 Hk+1,k y
Thus y is the least squares solution of the above problem, namely, y= b H k+1,k Hk+1,k
1
H k+1,k e1
Finally, if A = A is symmetric, the method reduces to MINRES (Minimal Residual Method). The residual in both cases (FOM and GMRES) can be expressed in terms of a polynomial of degree k : (s) = k sk + + 1 s + 0 . In the former case the polynomial should be such that the norm of the residual r = (A)b is minimized subject to k = 1; in the second we seek to minimize the norm of the same residual under the assumption 0 = 1.
and A (s) = sn + n1 sn1 + + 1 s + 0 , is the characteristic polynomial of A. Compute the QR factorization of Rn : Rn = VU, where V is orthogonal and U is upper triangular. It follows that . AVU = VUF AV = V UFU1 AV = VA
A
being the product of Since U is upper triangular, so is U1 ; furthermore F is upper Hessenberg. Therefore A an upper triangular times an upper Hessenberg times an upper triangular matrix, is upper Hessenberg. The k -step Arnoldi factorization can now be obtained by considering the rst k columns of the above relationship, to wit: [AV]k = VA
k
kk + fe A[V]k = [V]k A k
kk contains the rst k columns and k rows of A, and where f is a multiple of the (k +1)st column of V. Notice that A is therefore still upper Hessenberg; the columns of [V]k provide an orthonormal basis for the space spanned by the rst k columns of the reachability matrix Rn .
ACA
i i i
span col Vk = span col Rk (A, b), and span col Wk = span col Rk (A , c ), k = 1, 2, , n.
Galerkin conditions: Vk Sk = 0, Wk Rk = 0, k = 1, 2, , n.
This problem is solved by the two-sided Lanczos procedure. Notice that the second condition of the second item above can also be expressed as span rows Wk = span rows Ok (c, A), where Ok is the observability matrix of the pair (c, A) dened by (4.38). The assumption for the solvability of this problem is that det(Ok (c, A)Rk (A, b)) = 0, for all k = 1, 2, , n. The associated Lanczos polynomials are dened as before, namely pk () = det(Ik Tk ). In this case however the inner product is dened in a different way, namely p(), q() = p(A )c , q(A)b = c p(A) q(A) b Lemma 10.15.
AVk . Tk is obtained by projecting A as follows: Tk = Wk The remainders Rk , Sk have rank one and can be written as Rk = rk e k , Sk = qk ek .
i i
ACA :
i i
This further implies that vk+1 , wk+1 are scaled versions of rk , qk respectively. Consequently, Tk is a tridiagonal matrix, having 3n 2 entries: i , 1 i n, i , i , 1 i n 1. The generalized Lanczos polynomials pk () = det(Ik Tk ), k = 0, 1, , n 1, p0 = 1, are orthogonal: pi , pj = 0 for i = j . The columns of Vk , Wk and the Lanczos polynomials satisfy the following three-term recurrences k vk+1 k wk+1 k pk+1 () k qk+1 () = (A k I)vk = (A k I)wk = ( k )pk () = ( k )qk () k1 vk1 , k1 wk1 , k1 pk1 (), k1 qk1 ().
. Then
f2 2 and F2 = AV2 V2 H2 = [0 f2 ] = Thus the third vector of V3 is f f 2 : V3 = [ V2 f2 ] , th H3 = V3 AV3 , and so on. Thus at the k step, the k column of the projector Vk is constructed and simultaneously, the entries of the k th row and column of the projected A-matrix, namely Hk , follow. Computationally, forming the product Vk AVk is expensive. Therefore, the fact that only the last column changes from step to step, plus the th (k + 1, k ) entry of Hk+1 , is exploited. V2 AV2
f1 f1
The two-sided Lanczos algorithm is executed in a similar way. Now in addition to A Rnn , we are given two c starting vectors b Rn and c Rn . First the inner product 1 = cb is computed. Then V1 = b and W1 = |1 |
AV1 . The second (where the plus/minus sign depends on whether 1 is positive or negative); it follows that T1 = W1 step involves the computation of the remainders: f1 = AV1 V1 T1 and r1 = A W1 W1 T 1 . Subsequently, f1 r1 f , V = [ V 2 = r AV . At the third step we compute the ] , W = [ W ] , and hence T = W 1 2 1 2 2 1 2 1 2 remainders F2 = AV2 V2 T2 , R2 = A W2 W2 T 2 ; it turns out that they are both rank-one: F2 = [0 f2 ] = f2 e2 , R2 = [0 r2 ] = r2 e2 , the third column of the two projectors is then obtained by appropriate normalization of f2 and r2 , and so on. Again, as mentioned earlier, one would not compute, e.g., AVk anew at each iteration. |2 | |2 | |1 |
The Lanczos algorithm: recursive implementation Given: the triple A Rnn , b, c Rn Find: Vk , Wk Rnk , fk , gk Rn , and Tk Rkk , such that
AVk = Vk Tk + fk e k , A Wk = Wk Tk + gk ek , where, Tk = Wk AVk , Vk Wk = Ik , Wk fk = 0 , V k gk = 0.
(10.11) (10.12)
where ek denotes the k th unit vector in Rn . Two-sided Lanczos algorithm 1. 1 = |b c |, 1 = sign (b c )1 v1 = b/1 , w1 = c / 2. For j = 1, , k ,
(a) j = wj Avj
|r j qj |, j +1 = sign (rj qj )j +1
i i i
i i 272 (d) vj +1 = rj /j +1 , wj +1 = qj /j +1 The following relationships hold true: Vk = (v1 v2 vk ) , Wk = (w1 w2 wk ) , satisfying
AVk = Vk Tk + k+1 vk+1 e k , A Wk = Wk Tk + k+1 wk+1 ek , 1 2 2 2 . . . and rk Rk+1 (A, b), q Tk = k Ok+1 (c, A). . . .. .. k k k
The Arnoldi algorithm: recursive implementation Given: the pair A Rnn , b Rn Find: V Rnk , f Rn , and H Rkk , such that AV = VH + fe k , where H = V AV, V V = Ik , V f = 0 where H is in upper Hessenberg form (as before ek denotes the k th unit vector in Rn ). The Arnoldi algorithm
1. v1 = b b , w = Av1 ; 1 = v1 w f1 = w v1 1 ; V1 = (v1 ); H1 = (1 )
(10.13) (10.14)
2. For j = 1, 2, , k 1 f j = fj , vj +1 = j j Hj j e j w = Avj +1 , h = Vj +1 w, fj +1 = w Vj +1 h j h Hj +1 = H j = Vj +1 = (Vj vj +1 ), H Remark 10.4.2. (a) The residual is: fj = Avj Vj hj , where hj is chosen so that the norm fj is minimized. It turns out that Vj hj = 0, and hj = Vj Avj , that is fj = (I Vj Vj )Avj . (b) If A is symmetric, Hj is tridiagonal, and the Arnoldi algorithm coincides with the Lanczos algorithm.
i i
ACA :
i i
Algorithm: The k step two-sided Lanczos process. Data: A Rnn , starting vectors v, w Rn . v1 = v / v ; w 1 = w / w ; f = Av1 ; g = A w1 ; 1 = w1 f; f1 f 1 v1 ; g1 g 1 w1 ; for j = 1, 2, , k 1, j =
f |; = sign (g f ) ; |gj j j j j j
, starting vector v R .
vj +1 fj /j ; wj +1 gj /j ;
f Avj +1 j vj ; g A wj +1 j wj ; j +1 wj +1 f ; fj +1 f j +1 vj +1 ; gj +1 g j +1 wj +1 end
v1 v1
i i i
p is a polynomial with roots near unwanted eigenvalues of A. One gets some idea for these roots by performing a basic Arnoldi iteration and computing the spectrum of the projected matrix Km . An excellent choice for the roots of p is the set of those eigenvalues of Km most unlike the eigenvalues of A that are sought (if one want the rightmost eigenvalues of A, take as roots of p the leftmost eigenvalues of Km ). Then one begins the Arnoldi iteration anew with starting vector p(A)b. This can be accomplished in a numerically stable way via implicit restarting. Suppose for example that while A has eigenvalues in the left-half plane, the approximant H obtained through one of the two methods has one eigenvalue which has positive real part, say , where Vm AVm x = x, for some x, and: AVm = Vm Hm +m e m. To eliminate this unwanted eigenvalue the reduced order system obtained at the mth step is projected onto an (m 1)st order system. This is done as follows: rst, compute the QR-factorization of Hm Im = Qm Rm . It follows that m = V mH m +m e Qm , where V m = Vm Qm and H m = Q AV m m Hm Qm . m1 denote the principal submatrix of H m, We now truncate the above relationship to contain m 1 columns; let H containing the leading m 1 rows and columns. m1 can be obtained through an m 1 step Arnoldi process with A and Theorem 10.16. Given the above set-up, H = (In A)b: starting vector b m 1 = V m 1 H m1 + AV f e .
m1
This process can be repeated to eliminate other unwanted eigenvalues (poles) from the reduced order system. However, it should be noted that stability is achieved at the expense of no longer matching the Markov parameters. Remark 10.4.3. (a) Implicit restarting was introduced by Sorensen [305]. This paper offers two new ideas, namely, implicit restarting (i.e., restarting through the QR decomposition, without explicitly forming the new starting vector) and extra shifts, i.e., using unwanted eigenvalues of Km as roots of p. The combination has proved especially effective. This has been implemented in ARPACK [227]. For additional eigenvalue algorithms, see [35]. For a recent study on restarted Lanczos algorithms, see [258]. (b) Krylov methods and implicit restarting have been worked out for special classes of matrices. For the Hamiltonian case see [61], [110]. (c) Convergence of IRAM. The convergence of Implicitly Restarted Arnoldi methods has been studied in some detail. See [46], [307], for details. We will now present some examples which will illustrate the Krylov methods. Example 10.4.1. Consider the following symmetric matrix: 2 1 2 1 1 2 0 1 A= 2 0 2 1 1 1 1 0
1 , b = 0 . 0 0 0 1 R1 = 2 1 0 0 0 1 54 R2 = 0 1 54 0 1 54
i i
ACA :
i i
Algorithm: Implicitly Restarted Arnoldi Method (IRAM). 1. Compute an mstep Arnoldi factorization: AVm = Vm Hm + fm e m , m = p + k. 2. Repeat until convergence: Compute (Hm ) and select p shifts 1 , , p . q e m for j = 1, , p Factor [Q, R] = qr (Hm j I); Hm Q Hm Q; Vm Vm Q; q q Q; end k + fm k ; fk vk+1 Vk Vm (1 : n, 1 : k ); Hk Hm (1 : k, 1 : k ); Beginning with the k step Arnoldi factorization AVk = Vk Hk + fk e k, apply p additional steps to obtain a new mstep Arnoldi factorization AVm = Vm Hm + fm e m. end Figure 10.8. The Implicitly Restarted Arnoldi algorithm V3 = V4 = 1 0 0 0
1 0 0 0 0
1 6 2 6 1 6
0
1 6 2 6 1 6
0
1 3 1 3 1 3
2 6 , H3 = 0
0
1 3 1 3 1 3
2 1 6 2 , H4 = 0 0 1 0 2 0
0 0 1 8 3 18 , R3 = 0 1 4 3 18 0 6 0 0 0 8 1 0 3 0 18 , R4 = 4 0 1 3 18 2 3 0 3 0 0 6 0
2
0 0 0 0 0 0 0 0
3 2 3 2
0 0 0 0
0 0 . 0 0
These matrices satisfy: AVk = Vk Hk + Rk , which, due to the orthogonality of the columns of Vk , and Rk implies Hk = Vk AVk , k = 1, 2, 3, 4. The associated orthogonal polynomials are the characteristic polynomials of Hk : p0 (x) = 1 p1 (x) = det(xI1 H1 ) = x 2 p2 (x) = det(xI2 H2 ) = x2 14x/3 2/3 p3 (x) = det(xI3 H3 ) = x3 6x2 + 11x/2 + 1. Finally, the characteristic polynomial at the 4th step, p4 (x) = det(xI4 H4 ) = x4 6x3 + 4x2 + 8x + 1, is the same as the characteristic polynomial of A, and therefore in the associated inner product, it corresponds to the zero polynomial. In order to normalize these polynomials, we compute 1 = H4 (1, 2), 2 = H4 (2, 3), 3 = H4 (3, 4);
ACA
i i i
i i 276 thus the orthonormal polynomials are: 0 (x) = 1 p 1 1 (x) = p1 (x)/1 = p (x 2) 6 2 2 (x) = p2 (x)/1 /2 = 3(3 p 14x 2) x 3 3 (x) = p3 (x)/1 /2 /3 = 2(2x 12x2 + 11x + 2) p
2 2 2 2 The weights that dene the Lanczos inner product turn out to be 1 = 0.4294, 2 = 0.0067, 3 = 0.5560, 4 = 0.0079 corresponding to the eigenvalues 1 = 4.8154, 2 = 2.0607, 3 = 0.1362, 4 = 0.7398. It is readily checked that 4 2 k (i ) p (i ) = k, , i p i=1
k, = 0, 1, 2, 3
where k, is the Kronecker delta symbol. The eigenvalues of successive approximants H1 , H2 , H3 , H4 are: 0.7399 0.1550 0.1362 0.1387 2, , 1.3405 , 2.0607 . 4.8054 4.8145 4.8153
Example 10.4.2.
23 1 3 A= 3 4 7
15 11 5 1
3 1 1 19
3 1 , b = 1 3
1 1 1 1
The Arnoldi procedure AVk = Vk Hk + fk e k , yields the following matrices for k = 1, 2, 3, 4: 1 1 1 1 1 , V1 = H1 = [0], f1 = 1 2 1 1 1 1 1 2 2 1 1 1 0 2 , V2 = H2 = , f2 = 2 1 2 2 2 1 1 1 2 1 1 1 1 0 2 2 1 1 1 1 1 , H3 = 2 2 0 , f3 = V3 = 1 1 1 2 1 0 4 2 1 1 1 1 1 1 1 1 0 2 2 5 0 1 1 1 1 1 0 0 ,H4 = 2 2 , f4 = 0 . V4 = 0 4 2 2 0 1 1 1 2 1 1 1 1 1 0 0 2 4 0 The eigenvalues of the successive approximants H1 , H2 , H3 , H4 are: 3.2361 1.2361 5.4641 3.7866 2 , 1.8933 + 1.6594i , 1.4641 1.8933 1.6594i 2 .
0,
i i
ACA :
i i
i i 10.5. Chapter summary Example 10.4.3. In this case we have 1 0 A= 1 0 In this case b is actually equal to e1 columns and rows. Thus: 1 0 V4 = 0 0 1 1 0 0 1 0 1 1 1 1 , b = 0 0 1 0 . 0 0 277
and A can be brought to upper Hessenberg form by a simple permutation of the 0 0 1 0 0 0 0 1 1 0 1 1 H4 = V4 AV4 = 0 0 0 0 1 1 1 0 1 0 0 1 1 0 . 0 1
Finally, the eigenvalues of Hk for k = 1, 2, 3, 4 are: {1}, {2, 0}, {2.2056, 0.1028 0.6655i}, {2.3247, 0, 0.3376 0.5623i}. If the starting vector is chosen as b = [1 1 0 0] , the Arnoldi procedure terminates after 3 steps, as the starting vector belongs to the eigenspace of A spanned by the eigenvectors corresponding to the eigenvalues {2.3247, 0.3376 0.5623i}. Thus 1 1 0 2 6 9 3 6 2 1 1 0 1 6 3 3 9 0 . V3 = 2 , H = V AV = 3 3 3 2 0 6 0 6 0 2 6 0 0 0 1 The eigenvalues of H2 are: {2, 1}. Finally, for the starting vector b = [0 0 1 1] we get 55 22 2 10 110 0 1 55 11 5 5 10 0 1 55 22 7 11 10 2 55 2 11 9 55 5 5 2 V4 = , H = V AV = 4 4 4 1 55 22 11 18 0 0 22 11 5 55 2
1 2
0
7 10 55 3 11
110 7 110
55 11
22 22
5 10 22
The eigenvalues of the projected matrices are: {1}; {0.1802, 2.2198}; {2.3580, .1846 .8004i}; {2.3247, 0, 0.3376 0.5623i}.
ACA
i i i
i i
ACA :
i i
i i
Chapter 11
In this chapter we turn our attention the third use of the Krylov iteration as described at the beginning of the previous chapter, page 255, that is, approximation by moment matching. If the to-be-approximated system is described in state space terms (4.13), this problem can be solved iteratively and in a numerically efcient manner by means of the Arnoldi and Lanczos factorizations. There is an extended literature on this topic. First we would like to point to the paper by Gragg and Lindquist [145] which discusses many connections between system theory and the realization problem on the one hand and numerical analysis, Pad e approximation and Lanczos methods on the other. See also the course notes of van Dooren [333], the work of Gutknecht [161] and the book of Komzsik [209], as well as [153], [131], [237], [37], to mention but a few. Approximation by moment matching A linear discrete- or continuous-time system dened by a convolution sum or integral is uniquely determined by its impulse response h. Equivalently, the Laplace transform of the impulse response H, called the transfer function of the system, can be used. For the systems considered here, H is a rational function. In this case the complexity of the system turns out to be the rank of the Hankel operator H dened in the section 5.4. Therefore, one way of approximating a system is to approximate its transfer function H by a rational function of lower degree. This can be done by matching some terms of the Laurent series expansion of H at various points of the complex plane. Often, the expansion around innity is used: H(s) = hi si .
i0
The coefcients ht are known as Markov parameters of the system. We now seek a rational function (s) = H
i0
i si , h
i , for which matches, for instance, the rst < n Markov parameters of the original system, that is, hi = h i = 1, 2, , . This is the partial realization problem discussed in section 4.4.4, page 83. The Lanczos and Arnoldi methods In case the system is given in terms of state space data, the partial realization problem can be solved in a numerically efcient way. There are two approaches which fall in this category: the Lanczos and the Arnoldi methods. Let =
A C B
be given, where B and C are column vectors. In this case, the starting vectors are not arbitrary (as
i i 280 Chapter 11. Model reduction using Krylov methods The k step Arnoldi iteration applied to the pair (A, B) produces a matrix with orthonormal columns, Vk . A = reduced order system :
A C B
= V AVk , B = V B, C = CVk . A k k is that it matches k Markov parameters of , namely: The main property of the reduced system j = C A j 1 B = CAj 1 B = hj , j = 1, , k. h Similarly, the two-sided Lanczos iteration uses A together with two starting vectors, namely B and C , to iteratively produce two matrices Vk and Wk with k columns each, which are no longer orthonormal but are bi-orthogonal, that
= Vk = Ik . A reduced order system is, Wk dened by = Vk Wk to :
A C
Put in a different way, both the Lanczos and Arnoldi methods correspond at the nth step to the computation of a canonical form of the triple A, B, C. In the generic case these two canonical forms are as follows. For the former, A is in upper Hessenberg form, B is a multiple of the unit vector e1 , and has C arbitrary entries. The canonical form in the Lanczos method corresponds to A being in tridiagonal form, while B and C are multiples of the rst unit vector e1 . In both cases, the reduced order system is obtained by truncating the state x = (x1 x2 xn ) to , B , C retain the same structure as the full order A, = (x1 x2 xk ) , where k < n. Notice that the resulting A x B , C . Furthermore, as already mentioned, the so-constructed reduced order models match k , 2k Markov parameters of the original system, respectively. Furthermore, by applying rational Krylov methods reduced order systems are obtained which match moments at different points in the complex plane. , Finally, it should be stressed that these methods are useful because they can be implemented iteratively, i.e., A , C can be computed without computing the corresponding canonical forms of A, B, C rst, and then truncating. As B a consequence the Lanczos and Arnoldi procedures have reliable numerical implementations, which involve matrixvector multiplications, exclusively. Their range of applicability is for large n; they are competitive with dense methods for n 400 (i.e. O(102 )) or higher, depending on the problem.
k =
0
tk h(t) dt, k = 0, 1, 2, .
0
(11.1)
If this function has a Laplace transform dened by H(s) = L(h) = derivative of H evaluated at s = 0: k = (1)k dk H(s) dsk
Rpm , k 0.
s=0
(11.2)
For our purposes, we also make use of a generalized notion of moments, namely the moments of h around the (arbitrary) point s0 C:
k (s0 ) =
0
tk h(t)es0 t dt.
(11.3)
These generalized moments turn out to be the derivatives of H(s) evaluated at s = s0 : k (s0 ) = (1)k dk H(s) dsk Rpm , k 0.
s=s0
(11.4)
i i
ACA :
i i
i i 11.2. Approximation by moment matching In this context h is the impulse response of a linear system =
A C B D
Thus, since H(s) = C(sI A)1 B + D, the moments at s0 = 0 are 0 (0) = D + CA1 B, k (0) = CA(k+1) B, k > 0, and those at s0 are 0 (s0 ) = D + C(s0 I A)1 B, k (s0 ) = C(s0 I A)(k+1) B, k > 0. It should be noted that the moments determine the coefcients of the Laurent series expansion of the transfer function H(s) in the neighborhood of s0 C; in particular H(s) = H(s0 ) + H(1) (s0 ) ( s s0 ) (s s0 )k + + H(k) (s0 ) + 1! k! (s s0 ) (s s0 )k = 0 (s0 ) + 1 (s0 ) + + k (s0 ) + . 1! k!
(11.5)
In a similar way, we may expand H(s) in a Laurent series around innity: H(s) = D + CB s1 + CAB s2 + + CAk B s(k+1) + The quantities 0 () = D, k () = CAk1 B, k > 0, (11.6)
, expand the transfer function around s0 as in (11.5), where the moments at s0 are j , j 0.
A C B D
, where
2 3
( s s0 ) ( s s0 ) (s s0 ) (s) = + 2 + 3 + H 0 + 1 1! 2! 3! such that for appropriate : j = j , j = 1, 2, , . As already mentioned, when the expansion is around innity, the moments are called Markov parameters, and the resulting problem is known as partial realization. If the moments are chosen at zero, the corresponding problem is known as Pad e approximation. In the general case, the problem is known as rational interpolation. Consider the system where A is stable and the eigenvalue of largest modulus is . The Markov parameters of this system grow as ||k (while other moments grow exponentially in max |s0 |1 ). Thus in many cases the computation of the moments is numerically problematic. Given (C, A, B), the following are key properties of the ensuing algorithms: moment matching is achieved without computation of moments, and the procedure is implemented iteratively. Their consequence is numerically reliability. The algorithms that achieve this are called Krylov methods, and in particular, Lanczos and Arnoldi methods. In the general case they are known as rational Krylov methods.
ACA
i i i
, c i = c , Rkk , b i1 b Rk , k < n, so that the rst 2k Markov parameters hi = cAi1 b, of , and h A where A of , are matched: i , i = 1, , 2k. hi = h (11.7) We proceed as follows. Dene the following four quantities associated with : (i) the k n observability matrix Ok , (ii) the n k reachability matrix Rk : Ok = c cA . . . cAk1 (iii) the k k Hankel matrix Hk , and (iv) its shift Hk : Hk = h1 h2 . . . hk h2 h3 hk+1 .. . hk h2 h3 hk+1 , Hk = . . . h2k1 hk+1 h3 h4 hk+2 .. . hk+1 hk+2 . h2k Rkn , Rk = b Ab Ak 1 b Rnk ,
Therefore Hk = Ok Rk and Hk = Ok ARk . Next comes the key assumption of this procedure, namely, that det Hi = 0, i = 1, , k . This allows the computation the LU factorization of Hk : Hk = LU, L(i, j ) = 0, i < j and U(i, j ) = 0, i > j. Furthermore, L and U are chosen so that the absolute values of their diagonal entries are equal: L(i, i) = U(i, i). Dene the maps: L = L1 Ok and U = Rk U1 . It follows trivially that these maps satisfy: (a) L U = I, and thus (b) U L is an oblique projection. We are now ready to dene a reduced order system: = A c b = L b , c = L A U , b = cU . where A
(11.8)
as dened above satises the equality (11.7) of the Markov parameters. Furthermore, A is tridiagTheorem 11.1. are multiples of the unit vector e1 . onal, and b, c
Ok
i i
ACA :
i i
which shows that U L is a projection along the rows of Ok and the columns of Rk . Using the rst projection relationship, we obtain: c = = cU A c = cU L AU = cAU . k = Ok U . . O . k1 = cU L AU L AU = cAk1 U A c
k1 times
Furthermore R k A k = Ok U L AU L Rk = Ok U L A U L Rk = Ok ARk = Hk O
k O k R Ok Rk
= U(1, 1)e1 and A (i, j ) = 0, for i > j ; while, due to the fact that U k = U implies b Since L is lower triangular, R (i, j ) = 0, for i < j . It follows that in the basis formed k = L implies that c = L(1, 1)e1 and A is upper triangular, O , c is tridiagonal. are multiples of the unit vector e1 , and that A by the columns of U , b This completes the proof of the theorem.
Corollary 11.2. The maps L and U dened above are equal to Vk , Wk , respectively of the two-sided Lanczos procedure dened in section 10.4.8.
The Lanczos procedure leads to the following canonical form for single-input single-output linear systems: 1 2 = 1 2 2 3 1 3 3 .. . .. .. . n n .
A c
. n1 n1 n1 n
i i i
where V Rnk , V V = Ik , and U is upper triangular. We are now ready to dene a reduced order system: = A c b = b, c = A, b = c. where A (11.9)
i = hi , i = 1, , k . Further as dened above satises the equality of the Markov parameters h Theorem 11.3. more, A is in Hessenberg form, and b is a multiple of the unit vector e1 .
Proof. First notice that since U is upper triangular, v1 = b b , and since V Rk = U it follows that b = u1 = = V b. VV b = Vb = b, hence A = V AVV b = V Ab; in general, since VV is an b b e1 ; therefore b k = V Rk ; hence orthogonal projection along the columns of Rk , we have VV Rk = Rk ; moreover: R
1 h k) = c k = cVV Rk = cRk = (h1 hk ). R (h Finally, the upper triangularity of U implies that A is in Hessenberg form.
Corollary 11.4. The map dened above is given by V of the Arnoldi procedure as dened in section 10.4.5. The Arnoldi procedure leads to a canonical form for the triple (C, A, B). From (10.10) follows: 1 h11 h12 h13 h1,n1 h1n h21 h22 h23 h2,n1 h2n h32 h33 h3,n1 h3,n A b . . .. . . = . . . . c hn1,n1 hn1,n hn,n1 hnn 1 2 3 n1 n An error expression for the Lanczos model reduction procedure Making use of formula (5.29), page 122, we can derive an error bound for approximation by means of the Lanczos be the transfer functions of the original and the reduced systems. Assuming diagonalizability procedure. Let H, H i ) be the residues and poles of the original and reduced systems, respectively of the A, A matrices, let (ci , i ), ( ci , There holds
n k
2
H2
=
i=1
ci H( i)
( ) + H
i=1
i) H ) . ( c i H( i
(11.10)
The above is a global error bound. For a local one see [32]. This expression points to the following rule of thumb for choosing interpolation points for model reduction: Interpolate at the mirror image i of the poles i of the original system. Properties of Krylov methods 1. The number of operations needed to compute a reduced system of order k , given an order n system using Lanczos or Arnoldi factorizations is O(kn2 ) for dense systems, O(k 2 n) for sparse systems, versus O(n3 ) operations needed for the SVDbased methods. The requirement for memory is O(kn). A more precise operation count can be found in section 14.1. 2. Only matrix-vector multiplications are required; no matrix factorizations and/or inversions. There is no need to compute the transformed nth order model and then truncate. This reduces the ill-conditioning that arises in SVD methods.
i i
ACA :
i i
3. Krylov methods can also be applied to multi-input multi-output (MIMO) systems where B Rnm , C Rpn , m and/or p are bigger than one, at the expense of increased bookkeeping. For details we refer to [156] and references therein. 4. Krylov methods often have simple derivation and algorithms, and when used for eigenvalue estimation, high convergence rate, 5. Drawbacks Numerical issue: Arnoldi/Lanczos methods lose orthogonality. This comes from the instability of the classical Gram-Schmidt procedure. The remedy consists in re-orthogonalization. Knowledge of good starting vectors cannot be exploited in model reduction since in this case they are xed. The reduced order system may not be stable, even if the original system is stable. The remedy is implicit restart of Lanczos and Arnoldi, described in section 10.4.11. The Lanczos method breaks down if det Hi = 0, for some 1 i n. The remedy in this case is provided by look-ahead methods. The Arnoldi method breaks down if Ri does not have full rank; this is a consequence of the lack of reachability of the pair (A, b), and happens less frequently than the singularity of some principal minor of the Hankel matrix (even though Hn is nonsingular). The resulting reduced order system tends to approximate the high frequency poles of the original system. Hence the steady-state error may be signicant. The remedy is to match the coefcients of the Laurent expansion of the transfer function in frequencies other than innity. This leads to the rational Krylov approach. A drawback of non-symmetric Lanczos is the need to work with A , which can be difcult to use, e.g., on a distributed memory parallel computer. A remark on the stability/instability of reduced models With regard to the instability of reduced order models using Krylov methods, a remark is in order. For this we need to introduce the numerical range of the map A Cnn : (A) = {x Ax : x = 1} .
If A is normal (AA = A A) the numerical range is equal to the convex hull of the spectrum of A. A consequence of this is that for stable A, the projection Vm AVm can never be unstable. If A is non-normal (A) may extend into the right half plane C+ , and consequently, depending on the starting vector the projection may turn out to be unstable. This explains the origin of instability in Krylov methods. It can also be argued that the lack of stability is not necessarily a bad thing, because it may help capture for example, the initial slope of the impulse or step response of the system; this is based on the fact that the slope of the norm of the matrix exponential eAt , at the origin is max{x (A + A )x}, which is one of the extremal points of the numerical range of A. Lanczos and continued fractions The Lanczos canonical form of a linear system is related to a continued fraction expansion of its transfer function. The continued fraction expansion of a rational function, obtained be repeatedly dividing the denominator by the numerator, is always dened. However the Lanczos canonical form and the associated tridiagonal form of A does not always exist. It can be shown that Lanczos breaks down precisely when one or more remainders in the above division process have degree greater than one. These issues are the subject in greater generality, of the section on Recursive interpolation on page 96. Example 11.2.1. A connection between the Lanczos procedure and system theory described in [145] is that the coefcients of the Lanczos canonical form can be read off from the continued fraction expansion of the transfer function. For developments related to this continued fraction expansion and generalizations we refer besides the
ACA
i i i
section on recursive interpolation mentioned above, to [9], [15] and [12]. For a discussion of the connection between tri-diagonalization of A and minimal realizations, see also [260]. Consider the system described by the following transfer function in continued fraction form H(s) = 1 s+2+ 4 s1 = s3 + s2 + 6s 12 . s + 3s3 + 12s2 + 8s + 24
4
4 s + 2 + 12 s The three approximants obtained by truncating this continued fraction expansion are: H1 (s) = H2 (s) = H3 (s) = 1 s+2 1 4 s+2+ s 1 1 s+2+ = s1 s2 + s + 2 =
4 4 s1 s+ 2
A realization of H(s) = c(sI4 A)1 b, with A in companion form is given by: 0 1 0 0 0 0 0 0 1 0 , b = , c = 12 A= 0 0 0 0 1 24 8 12 3 1 The continued fraction expansion of H induces a different realization, namely 2 2 0 0 1 2 2 0 2 0 = 1 A= , b = 0 , c 12 0 2 2 0 0 0 12 0 The latter realization
A c b
, c is tridiagonal, and b are multiples of e1 . Indeed, is in Lanczos form, since A 1 1 2 0 = W b, c = W AV, b = cV. A 0 0 0 0
12
Finally, the Arnoldi factorization applied to A with starting vector c yields 13.4907 0.8791 1.9058 7.2276 14.8904 2.1931 1.4171 0 8.9876 18.6272 = A , b = 0 0 0.1455 3.6603 8.0902 0 0 0 1.6608 1.1983 = c 0.0741 0.0973 0.4314 0.8938 ,
i i
ACA :
i i
, although upper Hessenberg, is which shows that even though the starting matrix A is in upper Hessenberg form, A not equal to A ; this is due to the fact that the starting vector is not a multiple of e1 .
properties of the original system, like stability, norm-boundedness, passivity, etc. We wish to study this problem through appropriate projection methods. In other words, we seek V Rnk and W Rnk such that W V = Ik , and from the introduction, page 8, the reduced system should be given by: = We begin with the following dened Proposition 11.5. Let V = [B, AB, , Ak1 B] = Rk (A, B) and W be any left inverse of V . Then by (1.8), is a partial realization of and matches k Markov parameters. , since usually the columns From a numerical point of view, one would not use V as dened above to construct of V are almost linearly dependent. As it turns out any matrix whose column span is the same as that of V can be used. B = CVW B = CRk (A, B)e1 = CB; furthermore Proof. We have C A jB = CRk (A, B)W Aj Rk (A, B)e1 . C This expression is equal to CRk (A, B)W Aj B = CRk (A, B)ej +1 = CAj B, j = 1, , k 1. Suppose now that we are given k distinct points sj C. V is dened as the generalized reachability matrix (4.85), page 87: V = (s1 In A)1 B, , (sk In A)1 B , and as before, let W be any left inverse of V. Then dened by (1.8), interpolates the transfer function of at the sj , that is Proposition 11.6. ( sj I k A )1 B =H (sj ), j = 1, , k. H(sj ) = C(sj In A)1 B = C A C B D = W AV CV W B D . (1.8)
Proof. . The following string of equalities leads to the desired result: ( sj I k A )1 B = CV(sj Ik W AV)1 W B C
ACA
i i i
i i 288 Chapter 11. Model reduction using Krylov methods = C (s1 In A)1 B, , (sk In A)1 B (W (sj In A)V) = C(s1 In A)1 B, , C(sk In A)1 B ([ W B ]) = C(s1 In A)1 B, , C(sk In A)1 B ej = C(sj In A)1 B.
1
W B
W B
The next result concerns matching the value of the transfer function at a given point s0 C, together with k 1 derivatives. For this we dene the generalized reachability matrix V = (s0 In A)1 B, (s0 In A)2 B, , (s0 In A)k B . together with any left inverse W thereof. dened by (1.8) interpolates the transfer function of at s0 , together with k 1 derivatives at Proposition 11.7. the same point: (1)j dj H(s) j ! dsj = C(s0 In A)(j +1) B
s=s0 j j (s) (s0 Ik A )(j +1) B = (1) d H =C j ! dsj
(11.11)
s= s0
where j = 0, 1, , k 1. Proof. Let V be as dened in (11.11), and W be such that W V = Ik . It readily follows that the projected matrix is in companion form (expression on the left) and therefore its powers are obtained by shifting its columns s0 Ir A to the right: = W (s0 In A)V = [W B, e1 , , ek1 ] (s0 Ik A ) = [ , W B, e1 , , ek ]. s0 I k A
1
that spans the same column space as V achieves the same objective. A moments reection shows that any V Finally, any projector which is composed of any combination of the above three cases achieves matching of an appropriate number of Markov parameters and moments. This is formalized next. For this purpose we need the partial reachability matrix Rk (A, B) = B AB Ak1 B , and partial generalized reachability matrix: Rk (A, B; ) = ( In A)1 B ( In A)2 B ( In A)k B . Corollary 11.8. Rational Arnoldi. = VR, R Rkk , det R = 0, and W by W = R1 W, (a) If V as dened in the above three cases is replaced by V the same matching results hold true. (b) Let V be such that span col V = span col [Rk (A, B) Rm1 (A, B; 1 ) Rm (A, B; )] . Let also W be any left inverse of V. The reduced system (1.8) matches k Markov parameters and mi moments at i C, i = 1, , . The above corollary can be interpreted as rational Arnoldi. Its numerical implementation is obtained by combining regular Arnoldi with shift-invert Arnoldi for the shifts 1 , , .
i i
ACA :
i i
dened by (1.8) is a partial realization of and matches 2k Markov Proposition 11.9. Assuming that det Hk = 0, parameters. Notice that the projection used above is more general that the one used for the two-sided Lanczos procedure and therefore it fails less often (only one determinant has to be non-singular for it not to fail). The key reason for this is that to be tridiagonal, which is a rather stringent condition. the two-sided Lanczos process forces the resulting matrix A This in turn is equivalent with the existence of an LU factorization of Hk . Given 2k distinct points s1 , , s2k , we will make use of the following generalized reachability and observability matrices (recall (4.85) and (4.86)): = (s1 In A)1 B (sk In A)1 B , V = (sk+1 In A )1 C (s2k In A )1 C . W V = 0, the projected system dened by (1.8) where V = V and Proposition 11.10. Assuming that det W 1 W = W(V W) interpolates the transfer function of at the points si , i = 1, , 2k . Proof. The string of equalities that follows proves the desired result: (si Ik A )1 B = CV si Ik (W V )1 W AV C si W V W AV = CV W (si In A)V = CV W [ B ] = CV
1 1
V )1 W B (W
B W
B W
Remark 11.3.1. (a) The same procedure as above can be used to approximate implicit systems, i.e., systems that are (t) = Ax(t) + Bu(t), y(t) = Cx(t), where E may be singular. The reduced system given in a generalized form Ex is given by = W EV, A = W AV, B = W B, C = CV, E
ACA
i i i
i i 290 where the projection VW is given by C(sk+1 E A)1 . kn . , W = R . 1 C(s2k E A) V = (s1 E A)1 B (sk E A)1 B Rnk . (b) The general case of model reduction of MIMO (multi-input, multi-output) systems by means of tangential interpolation is analyzed in [130]. Remark 11.3.2. The Sylvester equation and projectors. An important connection between rational interpolation and the Sylvester equation follows from theorem 6.5 and in particular formula (6.15). This shows that the solution of an appropriate Sylvester equation AX + XH + BG = 0, provides a projector that interpolates the original system C, A, B at minus the eigenvalues of H. Therefore the projectors discussed in the previous section can be obtained by solving Sylvester equations. This result was rst observed in [127], [128]. See also [310]. Chapter 11. Model reduction using Krylov methods
rational function H = n/d (i.e. the degree of the numerator is less than the degree of the denominator). Assume , is also single-input single-output of order k and described by the rational
. The question is whether there exists a projection = VW (in general oblique) where =n /d transfer function H V, W are obtained by means of the rational Krylov procedure, such that = W AV, B = W B, C = CV. A are not involved in the above projection, we will assume that D = D = 0. The answer to this question is Since D, D afrmative in the generic case. To see this, consider the difference of the transfer functions = HH n d n n nd = d d dd
can be constructed by This difference has n + k zeros (including those at innity): i , i = 1, , n + k . Therefore H interpolating H at 2k + 1 of these zeros. For k = n 1, all i have to be used, while for k < n 1 there are several choices of the interpolation points. have a common factor of degree, say, , there is a restriction on In the non-generic case, that is when d and d the degree of H which can be obtained by interpolation, namely k n 1. (11.12)
The situation however is not as simple for multi-input multi-output systems, that is systems described by nonscalar proper rational transfer functions. We refer to the work of Genin, Gallivan, Vandendorpe, and van Dooren [137], [129], for details. Here is a simple example which illustrates the SISO case. Example 11.3.1. Let be given by 0 1 0 0 0 1 0 0 0 A= 0 0 0 1 5 10
0 0 1 0 10
0 0 0 1 5
, B =
0 0 0 0 1
, C = [1 8 26 40 5], D = 0,
i i
ACA :
i i
i i 11.3. Partial realization and rational interpolation by projection which implies H(s) =
5s4 +40s3 +26s2 +8s+1 . (s+1)5
291
which implies that this expression has ve zeros at 0 and three at innity. As interpolation points we pick all ve zeros at 0 and one at innity. Thus we have 1 5 15 0 1 3 16 30 0 1 CA1 5 2 0 30 16 3 . 0 1 = 1 V = A 1 B A 2 B A 3 B = , W = CA 0 0 C 1 8 26 40 5 0 0 0 0 0 Therefore 5 V 15 W = W 1 3 3 . 1
3 V = 1 W 1 Finally
1 5 3
1 5 1 W = 0 1 0 0
10 21 5 23 1 8
3 1 = W AV = 3 0 A 1 0
0 3 = W B = 3 , C = CV = 1 , B 0 1
,A ,B ) and (C ,A ,B ) are equivalent and therefore H ( s) = C ( sI A )1 B . It is readily checked that the triples (C
. This means that its transfer function H(s) = C(sI A)1 B + D is positive real.
The following result is shown in [27]; see also [234]. For a result derived from the one presented below, see [309]. For different approaches to the problem see [33], [116], [205], [117], [352]. Lemma 11.11. Let i be such that H (i ) + H(i ) = 0. If the frequencies (interpolation points) sj in proposition 11.9, are chosen to satisfy this property, i.e., as zeros of the spectral factors, the projected system is both stable and passive. Recall that the zeros of the square system
A C B D
A BD1 C. If D is singular, the zeros are the nite eigenvalues of a generalized eigenvalue problem, namely all nite for which A B I 0 , C D 0 0 loses rank. Thus when D + D is nonsingular, the zeros of the spectral factors are the eigenvalues of the following Hamiltonian matrix: A 0 B (D + D )1 C B 0 A C
ACA
i i i
In particular if the reduced order system has dimension k , we need to compute k eigenvalues i C . If the nonsingularity condition is not satised we end up with a generalized eigenvalue problem of the pair A, E where A 0 B I 0 0 C , E = 0 I 0 . A = 0 A C B D + D 0 0 0 Remark 11.3.3. A further result in passivity preserving model reduction was developed by Sorensen [309], who showed that the invariant spaces of the of (A, E ) provide the desired passivity preserving projector VW . Therefore the problem of model reduction with preservation of passivity has been transformed into a structured eigenvalue problem, and can therefore be solved using the ARPACK software. Example 11.3.2. We consider the following RLC ladder network. The state variables are as follows: x1 , the voltage across C1 ; x2 , the current through L1 ; x3 , the voltage across C2 ; x4 , the current through L2 ; and x5 , the voltage across C3 . The input is the voltage u and the output is the current y as shown in the gure below. We assume that all the 1 capacitors and inductors have unit value, while R1 = 1 2 , R2 = 5 . y E R2 L2 L1
u c A=
C3
C2
C1
R1
2 1 1 0 0 1 0 0 0 0
0 1 0 1 0
0 0 1 0 1
0 0 0 1 5
, B =
0 0 0 0 2
, C = [0 0 0 0 2], D = 1
2(s10 s8 12s6 + 5s4 + 35s2 21) . (s5 + 7s4 + 14s3 + 21s2 + 23s + 7)(s5 7s4 + 14s3 21s2 + 23s 7) The zeros of the stable spectral factor are: .1833 1.5430i, .7943, 1.3018, 1.8355; these can also be computed as the square roots in the left-half plane of the eigenvalues of 3 2 1 0 0 2 2 0 1 0 2 1 0 2 0 1 A BD CA = 1 . 0 1 0 2 5 0 0 1 1 4 According to lemma 11.11 the interpolation points are therefore: s1 = 1.8355, s2 = 1.8355, s3 = 1.3018, s4 = 1.3018. .0065 .2640 .0250 .0434 1 1 .1842 V = [(s1 I5 A) B (s2 I5 A) B] = .0524 .1212 .2947 .2749 .7251 = W C(s3 I5 A)1 C(s4 I5 A)1 = .0157 .0519 .0833 .1603 .2919 1.0671 .7451 .0972 .6186 .7081
i i
ACA :
i i
i i 11.4. Chapter summary V = W .0634 .2762 .2762 .0640 = LU L = .2317 1 1 0 ,U = .2762 .0640 0 .2613 293
.0236 1.0040 .0905 0.1439 1 V = VU = .1897 0.6584 , .4388 1.2351 .9953 2.5310 = W = L 1 W The reduced system is = WAV = A 3.2923 5.0620 0.9261 2.5874 = WB = , B 1.4161 0.2560 , 1.0671 .2630 .7451 .2245 .0972 .6186 .7081 .1058 .3036 .1279 .
= CV = [1.9905 5.0620], and D = D. It readily follows that the zeros of the spectral factors are s1 , s2 , s3 , and C (si ) = H(si ), i = 1, 2, 3, 4. Furthermore s4 , thus showing that the reduced system is passive. Furthermore H (s) = D + C (sI2 A )1 B = 1 + H u E R2 4.1152 s + 2.3419 . s2 + 1.7652 s + 1.4891 1 L 1 C c 1 = 2.8969 , L 1 = 5.0904 H , R 1 = 3.4404 , C 1 = 0.2430 F , R2 = 1 . The values of the above elements are: R 1 R 1 R
ACA
i i i
i i
ACA :
i i
i i
Part V
295 i i i i
i i
i i i
i i
Chapter 12
SVDKrylov methods
The basic ingredient of SVDbased methods are certain gramians P , Q, usually referred to as reachability, observability gramians, respectively. These are positive (semi-) denite, can be simultaneously diagonalized, and are used to construct a projector onto the dominant eigenspace of the product PQ. These gramians are solutions to Lyapunov equations. Gramians are also involved in Krylovbased methods, but these are given in factored form P = RR , Q = O O, where R, O are reachability, observability or generalized reachability, generalized observability matrices; these matrices are used to project the original model so that interpolation (moment matching) conditions are satised. Consequently there is no need for solving Lyapunov equations in this case. A further aspect of Krylov methods is that they can be implemented in an iterative way, using well known procedures.
1 c 2w .. . n c 2w
W
W ,
where W B = MW , M = diag (1 , , k ), is the eigenvalue decomposition of B. We recognize the matrix R(A, c1 ) as a generalized reachability matrix (see (4.85)) and according to proposition 11.6 if we chose any left inverse W thereof, the two matrices dene a projected system which interpolates at i, i.e., at the mirror image the eigenvalues of B. Thus, if we want to interpolate at given points i , choose a matrix B whose eigenvalues are i = i , chose c1 = b and c2 such that the pair (B, c ) is reachable, and solve the resulting Sylvester equation. The solution provides 2 one part of the required projector.
(i I A)1 B W(i )W (i ) B (i I A )1 d,
dened by (7.34) on page 196. Therein W is the input weight to the system which will be assumed for simplicity to be a scalar function. Let I denote the unit step function (I(t) = 1, t 0, and I(t) = 0, otherwise). We dene the weight W (i )W (i ) = 1 1 [I( (0 )) I( (0 + ))] + [I( (0 )) I( (0 + ))] 2 2
As 0 the above expression tends to the sum of two impulses ( 0 ) + ( 0 ). In this case the gramian becomes P = (i0 I A)1 BB (i0 I A )1 + (i0 I A)1 BB (i0 I A )1 Therefore P = ( i0 I A)1 B, (i0 I A)1 B
V
B (i0 I A )1 B ( i0 I A )1
Thus projection with VW where W V = I2 , yields a reduced system which interpolates the original system at i0 . Thus, with appropriate choice of the weights, weighted balanced truncation reduces to a Krylov method (rational interpolation) and matches the original transfer function at points on the imaginary axis. Example 12.1.1. The purpose of this example is to show yet another way of combining SVD and Krylov methods. Recall the example 11.2.1 on page 285. Given the reachability, observability matrices R4 (A, B), O4 (C, A), the gramians P = R4 (A, B)R 4 (A, B) and Q = O4 (C, A)O4 (C, A), can be assigned. The balancing method would now provide transformations which simultaneously diagonalize P and Q. In this new basis, model reduction would amount to truncation of the states which correspond to small eigenvalues values of the product PQ. For this choice of gramians, notice that the square roots of these eigenvalues are the absolute values of the eigenvalues of the 4 4 Hankel matrix associated with the triple (C, A, B). We will now compute a balancing transformation which diagonalizes the gramians simultaneously. For this purpose, let R 4 (A, B)O4 (C, A) = H4 = USV
i i
ACA :
i i
i i 12.1. Connection between SVD and Krylov methods Then It follows that 299
T = S1/2 V O4 (C, A) and T1 = R4 (A, B)US1/2 . 0.0522 0.0279 0.2013 0.2255 U= 0.5292 0.7921 0.8226 0.5665 0.7458 0.6209 0.2366 0.0470 0.6635 0.7233 , V = U diag (1, 1, 1, 1), 0.1911 0.0119
and S = diag (71.7459, 64.0506, 2.4129, 1.1082). Thus the balancing transformation is 3.4952 4.6741 0.3783 0.4422 5.3851 3.6051 1.1347 0.2233 TP T = T QT1 = S T= 3.4811 10.6415 2.5112 1.1585 15.3406 10.8670 2.8568 0.6985 6.6419 5.6305 1.5031 2.4570 0.4422 5.6305 3.1458 1.0941 1.7895 , G = TB = 0.2233 , F = TAT1 = 1.5031 1.0941 1.1585 0.1628 1.0490 2.4570 1.7895 1.0490 0.3333 0.6985 and H = CT1 = G diag (1, 1, 1, 1). Model reduction now proceeds by retaining the leading parts of F, G, H. Thus given the gramians P = RR and Q = O O, depending on how we proceed, different reduced order models are obtained. For instance, if we apply an SVDtype method, the gramians are simultaneously diagonalized. If we chose a Krylov method on the other hand, the square root factors R and O are directly used to construct the projector. Notice that the former methods loose their interpolation properties. To complete the example we also quote the result obtained by applying the Arnoldi method (11.9), page 289: 1 = [2], G 1 = [1], H 1 = [1]. F 2 = F 0 1 2 1 2 = , G 1 0 2 = [1, 2]. , H 3 = [1, 2, 0]. H
0 0 4 3 = 1 0 3 = 0 , G F 0 1 3 0 0 0 24 8 = 1 0 0 F 0 1 0 12 , G = 0 0 1 3
1 0 , 0 1 0 , 0 0
= [1, 2, 0, 4]. H
In this case according to proposition 11.9, the truncated model of order k matches 2k Markov parameters.
, |i (A)| < 1. Recall the Hankel matrix (4.63). For this section, hk hk+1 . . . h2k 1 . . . hk+1 hk+2 . . . .
Hk = hk . . .
ACA
h2 h3 . . . hk+1 . . .
, hk+1 = h2k . . .
i i i
We denote by O the innite observability matrix and by Rk the reachability matrix containing k terms. Thus Hk = ORk and hk+1 = OAk b. Furthermore Q = O O is the observability gramian of the system. The solution is obtained by computing the least squares t of the (k + 1)st column hk+1 of H on the preceding k columns of H, i.e., the columns of Hk : Hk xLS = hk+1 + eLS where eLS is the least squares error vector. From the standard theory of least squares follows that
xLS = (Hk Hk ) 1 Hk hk+1 = (R k QRk ) 1 k R k QA b.
The characteristic polynomial of the resulting system is LS ( ) = (1 k ) The corresponding matrices are ALS = L AR , bLS = L b, cLS = cR , where the projection R L is dened as: L = (R k QRk )
1
xLS 1
R k Q, R = Rk L R = Ik .
If we let x LS = (0 k1 ), the reduced triple has the following form: ALS cLS bLS = 0 0 h1 0 1 . . . 0 0 . . . 0 0 h2 .. . 0 0 . . . 0 1 hk 1 0 1 . . . k2 k1 hk 1 0 . . . . 0 0
LS =
(12.1)
Lemma 12.1. Stability of the LS approximant. The least squares approximant LS of the stable system , is stable. Before giving the proof of this result, we transform the approximant to a new basis. Let Q = R R be the Cholesky factorization of Q, and let
k k R , det W = 0 k R RRk = W W, W R
be the Cholesky factorization of R k QRk . We dene T = RRk W1 Rnk T T = Ik It follows that LS = WALS W1 = T AT. A
LS have the same characteristic polynomial. We now show that A LS has eigenvalues Thus by similarity, ALS and A inside the unit circle. LS )| 1. Proposition 12.2. If |(A)| < 1, it follows that |(A Proof. Recall that A QA + c c = Q. Assuming without loss of generality that Q = I, it follows that A A In ; multiplying this relationship by T and T on the left and right respectively, we have T A AT Ik . Since I n L > 0, is equivalent with In L L > 0 or Im LL , for L Rmn , the latter inequality is equivalent to L Im
i i
ACA :
i i
LS A = T ATT A T Ik ; this concludes the proof of the proposition. ATT A In , which in turn implies A LS
Proof. We will now prove lemma 12.1. The above proposition implies that the LS approximant may have poles on the unit circle. To show that this cannot happen, we complete the columns of T to obtain a unitary matrix: U = [T S], UU = U U = In . Then In A A = c c, implies In U A UU AU = U c cU, which written explicitly gives: Ik T A T T A S T AT T AS T c cT T c cS = . Ink S A T S A S S AT S AS S c cT S c cS The (1, 1) block of this equation is: Ik T A TT AT T A SS AT = T c cT. Assume now that the reduced system has a pole of magnitude one, i.e., there exists x Ck such that T ATx = x and || = 1. Multiplying the above equation with x on the left and x on the right, we obtain x T A SS ATx + x T c cTx = S ATx
2
+ cTx
= 0.
This implies cTx = 0 and S ATx = 0 which means that the reduced system is not observable if it has a pole on the x x T y = Tx; hence Tx is y = (T S) y= unit circle. Now let y = ATx; then U y = 0 0 S an eigenvector of A with eigenvalue 1, which is in the null space of c; this is a contradiction of the fact that c, A is observable. This concludes the proof. From (12.1) follows that the least squares approximant matches the rst k Markov parameters of the original system. The above considerations are summarized next. Theorem 12.3. Given the discrete-time stable system , let LS be the k th order approximant obtained by means of the least squares t of the (k + 1)st column of the Hankel matrix of to the preceding k columns. LS is given by (12.1) and enjoys the following properties: LS is stable. , i = 1, , k . i 1 b A k Markov parameters are matched: cAi1 b = c
Remark 12.1.1. Connection with Pronys method. The least squares method just presented is related to Pronys method. For details on this and other issues, e.g. generalization to continuous-time systems, MIMO systems, and an error bound, we refer to [158]. A different way to obtain stable reduced order systems by projection is described in [207].
i i i
circuit simulation applications. Rational interpolation achieves remarkable approximation of the transfer function with very low order models. Nevertheless, there are shortcomings to both approaches. In particular, since the methods are local in nature, it is difcult to establish rigorous error bounds. Heuristics have been developed that appear to work, but no global results exist. Secondly, the rational interpolation method requires selection of interpolation points. At present, this is not an automated process and relies on ad-hoc specication by the user. The dual Arnoldi method runs two separate Arnoldi processes, one for the reachability subspace, and the other for the observability subspace and then constructs an oblique projection from the two orthogonal Arnoldi basis sets. The basis sets and the reduced model are updated using a generalized notion of implicit restarting. The updating process is designed to iteratively improve the approximation properties of the model. Essentially, the reduced model is reduced further, keeping the best features, and then expanded via the dual Arnoldi processes to include new information. The goal is to achieve approximation properties related to balanced realizations. Other related approaches [67, 228, 194, 267] work directly with projected forms of the two Lyapunov equations to obtain low rank approximations to the system gramians. An overview of similar model reduction methods can be found in [336]. See also [91] and [210]. In the sequel we describe two approaches to iterative projection methods. The rst uses the cross gramian introduced in section 4.3.2 on page 74. The second is based on Smith-related iterative methods. These two sections follow closely [310] and [157], respectively.
Our approach to model reduction as reported in section 12.3.1, consists in constructing low rank k approximate so W with W V = Ik and then projecting using V together with W. An lutions to this matrix by setting X = VX implicit restart mechanism is presented which allows the computation of an approximation to the best rank k approximation to X . Furthermore, a reduced basis constructed from this procedure has an error estimate in the SISO case. As mentioned earlier, construction of a balancing transformation has typically relied upon solving for the reachability and observability gramians P , Q and developing a balancing transformation from the EVD of the product PQ. However, it turns out that in the SISO case and in the case of symmetric MIMO systems, a balancing transformation can be obtained directly from the eigenvector basis for the cross gramian. Recall lemma 5.4, which states that the eigenvalues of the Hankel operator for square systems are given by the eigenvalues of the cross gramian. In addition, the following two results hold. Lemma 12.4. Let
A C B
symmetric matrix J such that AJ = JA , and CJ = B . It follows that the three gramians are related as follows P = X J and Q = J1 X . Proof. Let R = [B, AB, , An1 B], O = [C , A C , , (A )n1 C ] , and dene Hk = OAk R. The hypothesis implies both R and O are nonsingular, and it is easily shown that the Hankel matrix Hk is symmetric. Dene J = RO . Note J = O1 H0 O so that J = J . Moreover,
1 CJ = e R = e 1 O J = e1 OO 1R = B .
i i
ACA :
i i
To complete the proof, we note that AJ = ARO = O1 H1 O , and hence AJ = (AJ) = JA . It follows that A(X J) + (X J)A + BB = 0, which implies P = X J. Similarly, multiplying the cross gramian equation on the left by J1 we obtain A J1 X + J1 X A + C C = 0, which in turn implies the desired Q = J1 X .
A C
be a stable SISO system that is reachable and observable. Suppose that (4.59) is
satised. Then X is diagonalizable with X Z = ZD, where Z is nonsingular and D is real and diagonal. Moreover, up to a diagonal scaling of its columns, Z is a balancing transformation for the system. Proof. Since P = X J is symmetric positive denite, it has a Cholesky factorization X J = LL with L lower triangular and nonsingular. This implies L1 X L = L J1 L = QDQ , where Q is orthogonal and D is real and diagonal since L J1 L is symmetric. Thus, X = ZDZ1 , and J = ZD1 Z , with Z = LQ. Since |D|1/2 D = D|D|1/2 we may replace Z by Z|D|1/2 to obtain J = ZDJ Z , and X = ZDZ1 , with DJ = |D|D1 = diag (1).
1 It follows that X J = Z(DDJ )Z , and J1 X = Z (DJ D)Z1 , since DJ = diag (1) implies DJ = D J . If we let S = DDJ = |D|, we note S is a diagonal matrix with positive diagonal elements, and the above discussion together with equation (4.59) gives
(Z1 AZ)S + S(Z A Z ) + Z1 BB Z = 0. After some straightforward manipulations, we nd that (Z1 AZ) S + S(Z1 AZ) + Z C CZ = 0. To conclude the proof, we note that CJ = B implies CZDJ = B Z , and hence the system transformed by Z is indeed balanced.
A corollary of this result is that if the cross gramian is diagonal then the system is essentially balanced. Since Z can be taken to be a diagonal matrix such that CZej = B Z ej , and thus a diagonal linear transformation balances the system. This diagonal transformation is constructed trivially from the entries of B and C. As mentioned earlier, in the SISO case the absolute values of the diagonal entries of D are the Hankel singular values of the system. If we assume that the diagonal entries of D have been ordered in decreasing order of magnitude then the n k matrix Zk consisting of the leading k columns of Z provide a truncated balanced realization with all of the desired stability and error properties. The question then is how to compute a reasonable approximation to Zk directly. We wish to avoid computing all of Z rst, followed by truncation, especially in the large-scale setting.
12.3.1 Approximate balancing through low rank approximation of the cross gramian
We now consider the problem of computing the best rank k approximation Xk to the cross gramian X . We seek a restarting mechanism analogous to implicit restarting for eigenvalue computations that enable us to compute Xk directly instead of computing all of X and truncating.
Motivation. Suppose X = USV is the SVD of X . Let X = U1 S1 V1 + U2 S2 V2 where U = [U1 , U2 ], and V = [V1 , V2 ]. Projecting the cross gramian equation on the right with V1 we get (AX + X A + BC)V1 = 0 AU1 S1 + U1 S1 (V1 AV1 ) + BCV1 = E, where E = U2 S1 V1 AV1 . Observe that E that is, the (k+1)-st singular value of X . 2
ACA
i i i
i i 304 Chapter 12. SVDKrylov methods Procedure. This suggests the following type of iteration; First obtain a projection of A AV + VH = F with V V = I, V F = 0, where V Rnm and H Rmm , with k < m n. We require that this projection yield a stable matrix H. If not, V must be modied. Using the technique of implicit restarting as developed in [152], we can cast out the unstable eigenvalues. This would result in a V and an H of smaller dimension. As long as this dimension remains greater than k , we can execute the remaining steps described below. Should the dimension fall below k , then some method must be used to expand the basis set. As an example, one could use a block form of Arnoldi with the remaining V as a starting block of vectors. Once V and H have been computed, solve the Sylvester equation AW + WH + BCV = 0, for W Rnm . We now compute the SVD of W: W = QSY = Q1 Q2 S1 S2
Y1 Y2
(12.2)
and S1 contains the k most signicant singular values of W. If we now project (12.2) on the right with Y1 we obtain
HY1 where H1 = Y1 HY1 . AU1 S1 + U1 S1 H1 + BCV1 = Q2 S2 Y2
At this point the projection has been updated from V Rnm to V1 = VY1 Rnk . We must now have a mechanism to expand the subspace generated by V1 so that the above process can be repeated. One possibility is as V Rnn , can be considered as an approximate solution of follows. First notice that the expression X = Q1 S1 Y1 the equation AX + X A + BC = 0; therefore we project the expression AX + X A + BC on the left with Q 1 ; we call the result E E = (Q 1 AQ1 )(S1 Y1 V ) + (S1 Y1 V )A + Q1 BC and then solve the equation HZ + ZA + E = 0, for Z Rkn . This represents a residual correction to the solution of the Sylvester equation AX + X A + BC = 0 when projected on the left. However, instead of adding this correction to the basis set V1 , we simply adjoin the columns of Z to the subspace spanned by the columns of V1 and project A onto this space. Let VY1 Z = V1 V2 S1 S2 U1 U2 , V1 Rnk , S1 Rkk , U1 R2kk .
Thus the updated projector at this stage is V1 , the updated projection of A is H = V1 AV1 , and the procedure can go to equation (12.2). The latter portion of the iteration is analogous to the Davidson part of the Jacobi-Davidson algorithm for eigenvalue calculation proposed by Sleijpen and van der Vorst [300]. These ideas are summarized in the algorithm sketched in gure 12.1 for the complete iteration. There have been many ideas for the numerical solution of Lyapunov and Sylvester equations [176, 350, 184, 284, 297, 267, 228, 194]. This approach nearly gives the best rank k approximation directly. However, the best rank k approximation is not a xed point of this iteration. A slightly modied correction equation is needed to achieve this. Note the iteration of Hodel, et. al. [176] for the Lyapunov equation also suffers from this difculty. A nal remark on this method. The equation AW + WH + BCV = 0, introduces in the projector directions which lie in the reachability or Krylov space R(A, B), while the correction equation HZ + ZA + E = 0, introduces directions from the observability or Krylov space O(C, A). A special Sylvester equation Efcient solution of a special Sylvester equation provides the key to Steps 2.1 and 2.3 in Algorithm 12.1. Both of these steps result in an equation of the form AZ + ZH + M = 0, where H is a k k stable matrix, and M is an n k
i i
ACA :
i i
(Implicit) Restarting Algorithm 1. AV + VH = F with V V = I and V F = 0 2. while (not converged ), 2.1 Solve Sylvester equation projected in R(A, B): Solve AW + WH + BCV = 0 [Q, S, Y ] = svd(W); 2.2 Contract the space (keep largest singular values): S1 = S(1 : k, 1 : k); Q1 = Q( :, 1 : k), Y1 = Y ( :, 1 : k); V VY1 ; H Y1 HY1 ; 2.3 Correct Sylvester equation projected in O(C, A):
Form E = (Q 1 AQ1 )(S1 V )+(S1 V )A + Q1 BC; Solve HZ + ZA + E = 0
2.4 Expand the space Adjoin correction and project: [V, S, U] = svd([V, Z]) New projector: V V( :, 1 : k) New projected A: H V AV;
matrix with k n. The special feature of this Sylvester equation is that A is much larger in dimension than H. The rst method we propose here is the one described in section 6.1.5 on page 153. Since the eigenvalues of A are assumed to be in the open left halfplane and the eigenvalues of H are in the open right halfplane, the k eigenvalues of largest real part for the block upper triangular matrix in (6.21) are the desired eigenvalues. When k is small, it is possible to compute the eigenvalues of H in advance of the computation of the partial Schur decomposition in (6.21). Within this framework, the implicitly restarted Arnoldi method [305] (implemented in ARPACK [227]) can be used effectively to compute this partial Schur decomposition. If there is a reasonable gap between the eigenvalues of H and the imaginary axis, then IRA is successful in computing the k eigenvalues of largest real part using only matrix vector products. In any case, exact knowledge of the desired eigenvalues provides several opportunities to enhance convergence. One possibility is to use a single Cayley transformation (costing one sparse direct factorization) to map the eigenvalues of A to the interior and the eigenvalues of H to the exterior of the unit disk. An alternative would be to construct a Schur decomposition H = QRQ , and transform the equation to A(ZU) = ZU, from left + (ZU)R + (MU) = 0, where R is (quasi) upper triangular, and then solve for the columns of Z to right via
j 1
(A jj I) zj = mj
i=1
i ij , for j = 1, 2, ..., k, z
, M = MU. This j , m j are the columns of Z where ij are the elements of the upper triangular matrix R, and z would require a separate sparse direct factorization of a large n n complex matrix at each step j . That would be k such factorizations and each of these would have a potentially different sparsity pattern for L and U due to pivoting for stability. Staying in real arithmetic would require working with quadratic factors involving A and hence would destroy sparsity.
ACA
i i i
X1 U1 S1
1 /2 1 /2
1 /2
= U1 S1 G
1 /2
1 /2
1 /2
this projected system is approximately balanced. Remark 12.3.1. Stability of the reduced model. Our methods pertain to stable systems and therefore, it is important in many applications that the reduced model be stable as well. We must have the eigenvalues of the reduced matrix A1 in the left half-plane. The reduced model obtained through the algorithm shown in Figure 1, is almost always stable in practice, but occasionally it might be unstable. One approach to achieving a stable reduced model is to apply the techniques developed in Grimme, van Dooren, Sorensen [152] to the projected quantities. That would amount to applying the implicit restarting mechanism to rid the projected matrix of unstable modes. The preceding discussion was primarily concerned with the SISO case. For MIMO systems we propose the idea of embedding the system in a symmetric system; this is explored next. Extension of theory and computation to MIMO systems In the large scale setting, there is a clear advantage to working with the cross gramian instead of the working with the two gramians related to reachability and observability. In addition to the fact that only one Sylvester equation need be solved, there is the question of compatibility that arises when working with the pair of gramians. Since two separate projections must be made, one cannot be certain that the two subspaces are the same as the ones that would have been achieved through computing the full gramians and then truncating. The crucial property of the three gramians in the SISO case is X 2 = PQ. It is easy to see that this relationship holds true for MIMO systems which are symmetric, i.e. the transfer function is symmetric. Of course, this is not generally the case. In order to make use of this property, we propose to embed the given system into a symmetric system with more inputs and outputs but the same number of state variables. Given the m-input, p-output system =
A C B
Rnp and C Rmn such that the augmented system , we seek B A C B A = C C B B R(n+m+p)(n+p+m)
i i
ACA :
i i
A B R(m+p)(m+p) , are symmetric for all 0. That this is square and symmetric, i.e. the Markov parameters C can be done follows readily from properties of system realizations. The important aspect of this embedding is that the complexity (McMillan degree, number of states) of the system has not increased. Therefore the norm (H2 or H ) of the original system is bounded from above by that of the augmented system. MIMO systems and the symmetrizer Let J = J be a symmetrizer for A, i.e. AJ = JA . The following quantities are dened = JC and C = B J1 B = B B , C = B C C = JC B
, where A = A and B , C are as dened above. This system has the property that its The augmented system is Hankel operator is symmetric. Therefore, using the same tools as above we can show that =X J1 , Q = JX X 2 = P Q P A straightforward calculation shows that the gramians of the augmented and the original systems are related as follows: = P + JQJ, Q = Q + J1 P J1 , X = JQ =P J1 . P The choice of symmetrizer At this stage, the symmetrizer is any symmetric matrix which satises AJ = JA . For simplicity, let us assume that A is diagonalizable and has been transformed to the basis where A is diagonal. In this case the symmetrizer J is an arbitrary diagonal matrix. The question arises, of how to best choose the diagonal entries of J. The criterion which is chosen is that the Hankel operator of the augmented system be close to that of the original system. In order to address this issue we make use of the variational characterization of balancing as developed in a series of papers by Helmke and Moore [268, 244]. Let T be a basis change in the state space. Then as already mentioned the gramians are transformed as follows: P TP T , Q T P T1 . Consider the following criterion: J (T) = trace (TP T ) + trace (T QT1 ). For a xed state space basis, the above quantity is equal to the sum of the eigenvalues of the reachability and of the observability gramians. The question which arises is to nd the minimum of J (T) as a function of all non-singular transformations T. First notice that J can be expressed in terms of the positive denite matrix = T T: J = trace P + Q1 , = T T > 0. The following result is due to Helmke and Moore. Proposition 12.6. The minimum of J is J = min>0 J = 2
n k=1
1 /2
P 1 /2 .
We should remark that the rst part of the above proposition can be proved using elementary means as in section 7.1. It readily follows that with the eigenvalue decomposition P 1/2 QP 1/2 = U2 U , a resulting balancing 1 transformation is Tb = 1/2 U P 1/2 . In other words Tb P T b = Tb QTb = P. The transformation Tb is unique up to orthogonal similarity (P need not be diagonal). In our case, we wish to compute an appropriate symmetrizer. The criterion (the sum of the traces of the two gramians) for the augmented system is as follows J (J) = trace (P + JQJ) + trace (Q + J1 P J1 ) = trace (P + Q) + trace (JQJ + J1 P J1 )
J1 (J)
ACA
i i i
We compute the diagonal J = diag (j1 , , jn ), so that the above trace is minimized. The rst summand does not depend on J. The second is n 1 2 J1 (J) = pii ji + qii 2 ji i=1
2 The minimum of J1 is achieved for ji = n qii pii :
min J1 = 2
i=1
This should be compared with twice the sum of the trace of the two gramians, namely 2 i=1 (pii + qii ). The difference n of the two traces is i=1 ( pii qii )2 . The above computation was carried through under the assumption that A is diagonal. Let in particular, A = diag (1 , , n ), B = b1 bn
, C=
c1
cn
, where bi Rm , ci Rp .
In this representation the diagonal entries of the two gramians are: pii = b ci c i bi i , qii = . i + i i + i
c c
i Furthermore by applying the state space transformation T, which is diagonal with entries tii = bi b , we can assure i i that pii = qii . Therefore if A is diagonalizable there exists a symmetrizer which guarantees that the sum of the singular values of the augmented system is twice that of the original.
Computational efciency The method we have proposed appears to be computationally expensive. However, it seems to converge quite rapidly. In fact, our test examples indicate that for medium scale problems (n 400) it is already competitive with existing dense methods. Moreover, it can provide balanced realizations where most other methods fail. The proposed implicit restarting approach involves a great deal of work associated with solving the required special Sylvester equations. However, the iterative method is based upon adjoining residual corrections to the current approximate solutions to the cross gramian equations. We observe very rapid convergence in practice. Usually three major iterations are sufcient. Nevertheless, there is no proof of convergence and this seems to be a general difculty with projection approaches of this type (see e.g., [176]). Finally, we would also like to point (i) to a preconditioned subspace method for solving the Lyapunov equation [175], and (ii) to a recursive way of computing dominant singular subspaces [82]. Numerical experiments with iterative methods for solving the Lyapunov equation can be found in [72].
R(n+p)(n+m) , be the model to be reduced. Closely related to this system are the continuous
time Lyapunov equations (6.1) on page 145. Under the assumptions of stability, reachability, and observability, the above equations have unique symmetric positive denite solutions P , Q Rnn , called the reachability, observability gramians, respectively. The square roots of the eigenvalues of the product PQ are the so-called Hankel singular values i () of the system S which are basis independent. As discussed in section 9.4, in many cases, the eigenvalues of P , Q as well as the Hankel singular values i () decay very rapidly. This motivates the development of low-rank approximate solution schemes and leads to model reduction by truncation. Recall from section 7.3 on page 183, the factorizations P = UU and Q = LL where U and L are the square roots of the gramians, respectively. Given the singular value decomposition (SVD) U L = WV , according to (7.16) the maps T1 and Ti1 satisfy Ti1 T1 = Ik and hence T1 Ti1 is an oblique projector. Then according to (7.17),
i i
ACA :
i i
a reduced model is obtained by letting A1 = T1 ATi1 , B1 = T1 B, C1 = CTi1 . The reduced model 1 is balanced, asymptotically stable and the H norm of the error system is bounded from above by twice the sum of the neglected singular values. As already mentioned the above formulation for balanced truncation requires the knowledge of the square roots U and L. The Bartels-Stewart [43] method as modied by Hammarling [164], is the standard direct method for the solution of Lyapunov equations of small to moderate size. Since this method requires the computation of a Schur decomposition, it is not appropriate for large scale problems. Moreover, as previously explained, P and Q are often found to have numerically low-rank compared to n. This low-rank phenomenon leads to the idea of approximating the gramians with low rank solutions. Next we briey summarize some approaches which aim at obtaining low-rank approximants for the gramians P and Q. In section 12.4.1 we mention the Alternating Direction Implicit (ADI), Smith, and Cyclic Smith(l) iterations that lead to an approximate solution to P and hence have the storage requirement of O(n2 ). Section 12.4.2 summarizes the low rank versions of ADI and Cyclic Smith(l) iterations which compute lowrank approximants to U and L, instead of P and Q, and hence reduce the memory complexity to O(nk ). For a detailed analysis of these algorithms, we refer the reader to [267, 263, 303] and references there in. For large n and especially for slowly converging iterations, the number of columns of the solution of the low rank ADI iteration, can easily exceed manageable memory capacity. Below we introduce and analyze a modied low-rank Smith method that essentially retains the convergence properties but overcomes the memory requirements. The development follows [157].
(12.3)
i i i
We refer the reader to [103], [313], and [350] for contributions to the solution of the ADI minmax problem. It can be shown that if A is diagonalizable, the lth iterate satises the inequality P PlA where X is the matrix of eigenvectors of A. Smiths method For every real scalar < 0, AP + P A + BB = 0, is equivalent to the Stein equation
P A P A = B B , F
X 1
2 P ADI
(12.4)
where
A = (A I)(A + I)1 , B =
2 (A + I )1 B.
(12.5)
Hence using the bilinear transformation = + , the continuous time problem has been transformed into a discrete time one. Then according to proposition 4.29 on page 76, the Stein equation (12.4) has the same solution as its j continuous-time counterpart. The solution to the Stein equation is P = 2 j =0 Aj B B (A ) . The Low Rank Smith method amounts to truncating the series at an appropriate step, while the modied low rank Smith method j updates a low rank SVD approximation to P by updating and truncating the SVD as each term Aj B B (A ) is added in. S S S = 0 and Pi Since A is stable, (A ) < 1 and the sequence {Pi }i=0 generated by the iteration P0 +1 = B B S + A Pi A , converges to the solution P . Thus the Smith iterates can be written as i S Pi
=
j =1
1 j 1 Aj B B (A ) .
Notice that the Smith method is the same as the ADI method, when all the shifts are equal. Formulas for multiple shifts j and for complex shifts are fairly straightforward to derive [157]. The Smith-l iteration Penzl has observed in [267] that in many cases the ADI method converges very slowly when only a single shift (Smith iteration) is used and a moderate increase of the number of shifts l accelerates the convergence. But he has also observed that the speed of convergence is hardly improved by a further increase of l. These observations lead to the idea of cyclic Smith(l) iteration, which is a special case of ADI where l different shifts are used in a cyclic manner, i.e. i+jl = i for j = 1, 2, . It is easy to show that the Smith(l) iterates are generated as follows:
i Sl Pi = j =1 1 i1 Ai d T(Ad ) where Ad = l
(A i I)(A + i I)1 , T = PA l .
i=1
i i
ACA :
i i
The low-rank ADI (LR-ADI) is based on (12.3). Combining the above relationships (12.3) can be rewritten in terms of ZA i as 1 A 2i (A + i I)1 B ], ZA Zi1 , i = [ (A i I)(A + i I) where ZA 21 (A + 1 I )1 B. When the number of shift parameters is limited, the cyclic low-rank Smith 1 = methods (LR-Smith(l)) is a more efcient alternative to the LR-ADI. The methods consists of two steps. First the iterate ZSl 1 is obtained by an l step low-rank ADI iteration; i.e., the LR-Smith(l) is initialized by
A ZSl 1 = B d = Zl
(12.6)
where Bd is dened in (12.5). It then follows that k th step LR-Smith(l) iterate is given by
k1 2 ZSl Bd ] . k = [Bd Ad Bd Ad Bd Ad
(12.7)
One should notice that while a k step LR-ADI iteration requires k matrix factorizations, a k step LR-Smith(l) iteration computes only l matrix factorization. Moreover, if the shifts {1 , , l } are used in a cyclic manner, the cyclic LR-Smith(l) iteration is equivalent to LR-ADI iteration. Sl We note that at the ith step, ZA i and Zi has m i and m l i columns respectively. Hence as discussed in [157], when m is large and/or the convergence is slow, i.e. (Ad ) is close to 1, the number of columns of ZA k and ZSl easily reaches an unmanageable level of memory requirements, and these two methods fail. In section 12.4.3 we k introduce a modied LR-Smith(l) iteration to overcome this problem and to retain the low-rank structure. Next we present some convergence results for the LR-Smith(l) iteration without proofs. The proofs of these result can be found in [157]. Proposition 12.7. Dene Ekp = P Pk and Ekq = QQk , and let A = X ()X 1 be the eigenvalue decomposition of A. The k step LR-Smith(l) iterates satisfy 0 trace (Ekp ) = trace (P Pk ) K m l ((Ad ))2k trace (P ), 0 trace (Ekq ) = trace (Q Qk ) K p l ((Ad ))2k trace (Q), where K = (X )2 , (X ) denoting the condition number of X . Let i and i denote Hankel singular values resulting from the full-rank exact gramians and the low-rank ap2 2 = i (Pk Qk ). The following holds true: = i (PQ) and i proximate gramian respectively, i.e. i Corollary 12.8. Let i and i be dened as above. Dene n = kl min(m, p). Then,
n n 2 i i=1 i=1 k1 k1 2 i K l ((Ad ))2k K min(m, p)((Ad ))2k trace (P ) trace (Q)
+ m trace (P )
i=0
C d Ai d
2 2
+ p trace (Q)
i=0
Ai d Bd
2 2
i i i
i i 312 The proposed algorithm As stated in section 12.4.1, the continuous-time Lyapunov equation is equivalent to the Stein equation
P Ad P A d + Bd Bd = 0 ,
(12.8)
th where Ad , and Bd are dened in (12.5) and (12.6) respectively. Let ZSl LR-Smith(l) iterate as dened in k the k (12.7). Then the approximate low-rank gramian at the k th step is k1 Sl Sl Pk = ZSl k (Zk ) = i=0 n(mlk) Sl Let the short singular value decomposition (S-SVD hereafter) of ZSl , k be Zk = VW where V R (mlk)(mlk) (mlk)(mlk) Sl Sl 2 R , and W R . Consequently, the S-SVD of Pk is given by Pk = V V , and it is k = V is also a low-rank square root factor for P Sl . enough to store V and only. In other words, Z k Let > 0 be a pre-specied tolerance value. Assume that until the k th step of the algorithm all the iterates ZSl i i Ai d Bd Bd (Ad ) .
(12.9)
satisfy as
Sl > for i = 1, , k . At the (k + 1)st step, the approximants ZSl k+1 and Pk+1 are readily computed Sl k Sl Sl k k ZSl k+1 = [Zk Ad Bd ] and Pk+1 = Pk + Ad Bd Bd (Ad ) .
, B(k) = V + V
= 0 and V V = Iml . In view of the above decomposition, we where R(mlk)(ml) , R(ml)(ml) , V V dene the matrix k+1 = [V V ] . Z 0
S
have the following SVD: S = T R(k+1)ml(k+1)ml , taking the SVD of S is Y . We note that since S Let S inexpensive. Then it readily follows that Zk+1 is given by k+1 = V = [V, V ]T, where V Z Rn(k+1)ml , k+1 is simply obtained from Z k , which R(k+1)ml(k+1)ml . Again one should notice that Z and V , which is easy to compute. Next, we partition conformally: and V is already available, and from the SVD of S k+1 = [V 1 V 2] Z 1 2 where 2 (1, 1) < . 1 (1, 1) (12.10)
st k+1 (Z k+1 ) ; this means that we simply ignore k+1 = Z Hence the (k + 1) step low-rank gramian is computed as P the singular values which are less than the given tolerance. Hence, from the k th to the (k + 1)st step, the number of k+1 generally does not increase. An increase occurs only if more than r singular values of Z k+1 fall columns of Z above the tolerance 1 . In any case, there can be at most ml additional columns added at any step which is the same as the original LR-Smith(l) iteration discussed in section 12.4.2.
Convergence properties of the modied LR-Smith(l) iteration k and Q k which are, In this section we present some convergence results for the k step approximate solutions P respectively, the modied LR-Smith(l) solutions to the two Lyapunov equations AP + P A + BB = 0, A Q +
i i
ACA :
i i
QA + C C = 0, where A Rnn , B Rnm , and C Rpn . For the proofs, we refer the reader to [157]. We denote now introduce the set i , i = 1, 2, , k }. 2 = 0 for Z IP = {i : such that in (12.10) In other words, this is the set of indices for which some columns have been eliminated from the ith approximant. Then Q for each i IP , we denote by nP i , the number of neglected singular values. IQ and ni are dened similarly. k be the k th step modied LR-Smith(l) iterate corresponding to (12.8), and P k (Z k ) , k = Z Proposition 12.9. Let Z th Pk be the k step LR-Smith(l) iterates given by (12.9). Dene kp = P Pk . It follows that Pk and kp satisfy
SL k 2 kp = Pk P iIP
i ))2 , (max (Z
(12.12)
2 nP i (max (Zi )) ,
(12.13)
where is the tolerance value of the modied LR-Smith(l) algorithm. In view of Proposition 12.7, the following result holds: k be the k th step modied LR-Smith(l) iterate corresponding, to (12.8), P k (Z k ) , k = Z Proposition 12.10. Let Z 1 k . Let A = X X Ekp = P P be the eigenvalue decomposition of A. The k step modied LR-Smith(l) iterates satisfy k ) K m l (Ad )2k trace (P ) + 2 0 trace (Ekp ) = trace (P P
iIP
2 nP i (max (Zi )) ,
where K , as before, is the square of the condition number of X . We note that the bounds for the traces of the errors in proposition 12.7 and proposition 12.10 differ only by an order of O( 2 ). The next result introduces a convergence result for the computed Hankel singular values similar to the one in corollary 12.8. Corollary 12.11. Let i and i denote Hankel singular values resulting from the full-rank exact gramians P and 2 k and Q k respectively: i 2 = i (PQ) and k Q k ). Q and from the modied LR-Smith(l) approximants P i = i (P Dene n = kl min(m, p). Then,
n n 2 i i=1 i=1 2 i K l ((Ad ))2k [K min(m, p)((Ad ))2k trace (P ) trace (Q) k1 k1
+m trace (P )
i=0 2 +P QSL k iIP 2 2 +P Q iIP
C d Ai d
2 2
+ p trace (Q)
i=0
Ai d Bd
2 2
2 nQ i (max (Yi ))
i ))2 (max (Z
iIQ
2 nQ i (max (Yi )) ]
where P , Q are the given tolerance values, and K = (X )2 . Once again the bounds for the error in the computed Hankel singular values in corollary 12.8 and corollary 12.11 2 2 2 2 differ only by the summation of terms which are O(P ), O(Q ), and O(P P ).
ACA
i i i
Let k =
Ak Ck
Bk D
= W (A + A )W k, +B kB kS k + S kA A k k k
Sl k is the diagonal matrix with the approximate Hankel singular where is the error in P , i.e. = P Pr and S values as diagonal entries. Stability of the reduced system is not always guaranteed, but if the approximate singular values are close enough to the original ones, then it is. k . Towards this goal, dene V = Vk V k and W = Wk W k Next we examine how close k is to k and W k are close and let V and W where is a small number; in other words we assume that V k , B = Bk B k , C = Ck C k satisfy to Vk and Wk . It can be shown that A = Ak A
A A ( Wk + Vk ) + 2 A ,
B Bk
and
C Ck .
k, W k are to Vk , Wk , that is the smaller , the closer k will be to k . Thus, the closer V
P=
0
x( )x( ) d =
0
eAt BB eA t d.
The Smith method derives from the equivalence of the Lyapunov equation to a Stein equation (12.4) where (12.5) holds. There is a direct relation due to Sorensen, between a Smith method and the well known trapezoidal rule (Crank = Ax + Bu. We consider xj x(jh), j = 0, 1, . . ., to Nicholson) method for integrating the differential equation x be computed by the trapezoidal rule and we recall that x0 = 0 and that u( ) = ( ). For any positive step size h,
(j +1)h (j +1)h (j +1)h
( )d = x
jh
Ax( )d + B
jh
( )d
for each interval [jh, (j + 1)h). A straightforward application of the trapezoidal rule along with the conditions x(0) = h 1 1 0 and 0 ( )d = 1 gives x1 = (I h B and xj +1 = (I h (I + h 2 A) 2 A) 2 A)xj for the remaining intervals.
1 Hence, xj +1 = (I h (I + h 2 A) 2 A) j 1 (I h B, for j = 0, 1, 2, . . .. Now, putting = 2 A) 2 h
gives
P=
0
x( )x( ) d = h
j =0
xj +1 x j +1 = 2
j =0
j Aj B B (A ) ,
2 2 where A = (A I)1 (A + I) and B = (A I)1 B as before, since h2 = = 2. This establishes the direct connection between the low rank Smith method (in simplest form) with the technique of constructing an approximate trajectory {xj } via the trapezoidal rule and then developing an approximation to P directly by applying the simplest quadrature rule P = h j =0 xj +1 x j +1 . The result is easily generalized to multiple inputs by linearity and superposition. It is interesting to note that quadrature rules have been proposed previously [154] in this context for directly approximating the integral formula P = 0 eAt BB eA t d , for the gramian.
i i
ACA :
i i
ACA
i i i
i i
ACA :
i i
i i
Chapter 13
Case studies
The results presented in earlier chapters will now be illustrated by means of several case studies. The rst section deals with the approximation of three images, which can be considered as static systems, using the SVD (Singular Value Decomposition). The next three sections deal with dynamical systems. Section 13.2 examines the reduction of ve systems of relatively low order (n = 48 to n = 348); the reduced models obtained using a variety of methods are compared with each other. Section 13.3 investigates the reduction of models of two modules of the ISS (International Space Station), namely module 1R with n = 270 states and module 12A with n = 1412 states. A variety of model reduction methods are compared with the Modal Gain Factor method, which is a modied modal approximation method commonly used for the reduction of structural systems. Finally in section 13.4 iterative Smith-type methods are applied to the CD player model used in section 13.2, and to three further models with dimension n = 1006, n = 3468, and n = 20736 states.
i i 318
10
0
10
10
tol = 1/100
ngc6782 10
3
ngc6822
10
10
10
10
10
Figure 13.1. The normalized singular values of the clown and galaxies NGC6822 and NGC6782
Original Images
Figure 13.2. The original images together with the 10% and 5% approximants
i i
ACA :
i i
The table that follows shows the order of the original system n, the number of inputs m, and outputs p, as well as the order of the reduced system, k . Building model Heat model CD player model Clamped beam model Butterworth lter n 48 197 120 348 100 m 1 2 1 1 1 p 1 2 1 1 1 k 31 5 12 13 35
The Hankel singular values of each model are depicted in gure 13.3, left pane. For comparison, the highest k Hankel singular values are normalized to 1. The right pane of gure 13.3 shows the relative degree reduction n versus k the error tolerance = 1 ; this shows how much the order can be reduced for a given tolerance: the lower the curve, the easier it is to approximate the system. It thus follows that among all models, for any xed tolerance smaller than 1.0 101 , the building model is the hardest to approximate. It should be stressed that the tolerance is a user specied quantity that determines the trade-off between accuracy and complexity. Once specied, it determines completely the reduced order models for SVDbased methods. The eigenvalues (poles) of the reduced system for instance, are placed automatically. On the other hand, to apply the Krylovbased methods, one has to choose the interpolation points and their multiplicities.
10
0
k/n vs tolerance
10
0.9
Building 10
4
10
Butterworth 0.6
10
k/n
10
10
10
12
0.3
Heat 10
14
Heat
Butterworth CD Player
Beam
0.2
10
16
0.1
10
18
10
15
10
10
10
10
20
40
60
80
100
120
140
160
tolerance
Figure 13.3. Left pane: normalized Hankel singular values of the heat model, the Butterworth lter, the k clamped beam model, the building example, the CD player model. Right pane: relative degree reduction n vs error k tolerance 1 The model reduction approaches used are three SVDbased methods, namely: balanced truncation, optimal Hankel norm approximation, and singular perturbation approximation, three Krylovbased methods, namely: the Arnoldi procedure, the Lanczos procedure, and the rational Krylov procedure, as well as two SVDKrylov based methods, namely the least squares method described in section 12.1.3, page 299, and the iterative method described in section 12.3, page 302, which will be referred to as approximate balanced reduction. In the subsections that follow each system is briey described and the amplitude Bode plots (more precisely, the largest singular value of the frequency responses) of the full and reduced order models, as well as of the corresponding error systems are plotted. Moreover, the relative H and H2 norms of the error systems are tabulated. Since the approximants obtained by balanced reduction and approximate balanced reduction are (almost) indistinguishable for all but the heat model, we plot and tabulate results for one of these approximants.
i i i
i , i = 1, , 24, satisfy a vector second order differential equation of the form: Mq (t) + Dq (t) and their derivatives q + Kq(t) = v u(t), where u(t) is the input. This equation can be written in state space form by dening the state ] R48 : x = [ q q (t) = x 0 M1 K I M1 D x(t) + 0 M1 v u(t).
We will assume that the input affects the rst coordinate q1 (t), that is v = [1 0 0] , and the output is y(t) = 1 (t) = x25 (t). q The state space model has order 48, and is single input single output. For this example, the pole closest to imaginary axis has real part equal to 2.62 101 . We approximate the system with a model of order 31. The largest
Building Model Reduced Systems 45 Singular Values (dB) FOM BT HNA SPA 50 55 60 65 70 75 80 10
0
FOM LS RK LP AP
10
85
10
10
Sigma plot for the error systems of Building Model 105 Singular Values (dB) Singular Values (dB) 110 115 120 125 130 Frequency (rad/sec) BT HNA 100 LS
150
200 RK
10
10
Figure 13.4. Building model. Upper panes: Bode plot of original and reduced systems. Lower panes: error Bode plots. singular value max of the frequency response of the reduced order and of the error systems are shown in gure 13.4, upper, lower panes, respectively. Since the expansion of transfer function H(s) around results in unstable reduced systems for Arnoldi and Lanczos, the shifted version of these two methods with s0 = 1, were used instead. The effect of choosing s0 as a low frequency point is observed in the right panes of the gure, as Arnoldi and Lanczos yield good approximants for the low frequency range. The same holds for the rational Krylov method, since the interpolation points were chosen in the 1100 rad/sec region. When compared to SVD based methods, the moments matching based methods are better for low frequencies. Among the SVD based methods, singular perturbation, balanced reduction methods are the best for low, high frequencies respectively. When we consider the whole frequency range, balancing and singular perturbation are closer to the original model. But in terms of the relative H error norm, Hankel norm
i i
ACA :
i i
approximation is the best. As expected rational Krylov, Arnoldi and Lanczos result in high relative errors since they are local in nature. H norm of error 9.64 104 5.50 104 9.65 104 7.51 103 7.86 103 1.93 102 1.35 103 H2 norm of error 2.04 103 6.25 103 2, 42 102 1.11 102 1.26 102 3.33 102 1.95 103
Balanced Hankel Sing. Pert. Rat. Krylov Lanczos Arnoldi Least Squares
20
20
BT SPA
10
25
0
30
Singular Values
Singular Values
10
20
35
30
40 HNA 45
40
50
RK 50
60
70 3 10
10
10
10 Frequency(rad/sec)
10
10
10
55 3 10
10
10
10 Frequency(rad/sec)
10
10
10
Figure 13.5. Left pane: Bode plot of original and reduced systems for the heat diffusion model. Right pane: error Bode plots. H norm of error 2.03 103 4.25 103 1.93 103 2.39 103 1.92 102 H2 norm of error 5.26 102 4.68 102 6.16 102 7.39 102 2.01 101
i i i
in the Lanczos procedure. We also use rational Arnoldi with s0 = 200. Figure 13.6, left pane, shows the largest singular values of the frequency response of the reduced order models together with that of the full order model. It should be noticed that only the rational Krylov method approximates well the peaks around the frequency range 104 105 rad/sec; this is due to the choice of interpolation points in this frequency region. Among the SVD based ones, Hankel norm approximation is the worst for both low and high frequencies. The largest singular value of the frequency response of the error systems in gure 13.6, right pane, reveal that the SVD based methods are better when we consider the whole frequency range. Despite doing a good job at low and high frequencies, rational Krylov has the highest relative H and H2 error norms as listed in the table below. But notice that rational Krylov is better than Arnoldi and Lanczos except for the frequency range 102 103 rad/sec.
Sigma plot for the reduced systems of CD Player 40 20 Singular Values (dB) 0 20 40 60 80 100
2 4
FOM LS RK LP AP 10
2
10 10 Frequenccy (rad/sec)
10
120 0 10
10
10
Frequenccy (rad/sec) Sigma plot for the error systems of CD Player HNA Singular Values (dB) 20 30 40 50 60 70
5
RK LS
5
10
80 0 10
10
Figure 13.6. Upper panes: Bode plot of original and reduced models for the CD player model. Lower panes: error Bode plots. H norm of error 9.74 104 9.74 104 9.01 104 1.22 103 5.60 102 1.81 102 1.28 102 1.14 103 H2 norm of error 3.92 103 3.92 103 4.55 103 4.16 103 4.06 102 1.84 102 1.28 102 3.39 103
Balanced Approx. Bal. Hankel Sing. Pert. Rat. Krylov Arnoldi Lanczos Least Squares
i i
ACA :
i i
80 60 Singular Values 40 20 0 20 40 2 10
Singular Values
Sigma plot for the reduced systems of Clamped Beam Model 80 FOM BT 60 HNA SPA 40 20 0 20
0 2 3
FOM RK LP AP
10 10 Frequency(rad/sec)
10
40 2 10
10 10 Frequency(rad/sec)
10
Sigma plot for the error systems of Clamped Beam Model 0 Singular Values 10 HNA 20 30 40 2 10 SPA BT 80
0 2 3
AP
10 10 Frequency(rad/sec)
10
100 2 10
10
Figure 13.7. max of the frequency response of the reduced systems (upper plot) and of the error systems of the clamped beam
ACA
i i i
i i 324 H norm of error 2.14 104 2.97 104 3.28 104 5.45 104 3.72 103 9.43 104 H2 norm of error 7.69 103 8.10 103 4.88 102 8.88 103 1.68 102 1.67 102 Chapter 13. Case studies
Singular Values
Singular Values
LP RK
FOM
1
Frequency(rad/sec)
1
Frequency(rad/sec)
Sigma plot for the Error Systems of Butterworth Filter 60 0 20 SPA 80 Singular Values 40 60 80 100 2 120 0.6 RK AP
Singular Values
70
90
BT HNA
LP 2
100
0.6
1
Frequency(rad/sec)
1
Frequency(rad/sec)
Figure 13.8. Upper panes: Bode plot of original and reduced systems for the Butterworth lter. Lower panes: error Bode plots.
i i
ACA :
i i
i i 13.3. Approximation of the ISS 1R and 12A ex models H norm of error 6.29 104 6.29 104 5.68 104 6.33 104 1.02 100 1.02 100 1.04 100 H2 norm of error 5.19 104 5.19 104 1.65 103 5.21 104 4.44 101 5.38 101 3.68 101 325
Balanced Approx. Bal. Hankel Sing. Pert. Rat. Krylov Arnoldi Lanczos
Conclusions. A comparative study of several algorithms for model reduction was presented, namely: balanced reduction, approximate balanced reduction, singular perturbation approximation, Hankel norm approximation, Arnoldi procedure, Lanczos procedure, rational Krylov method, and LS (least squares) approximation. The rst four make use of Hankel singular values and the latter three are based on matching the moments; i.e. the coefcients of the Laurent expansion of the transfer function around a given point in the complex plane. These algorithms have been applied to ve dynamical systems. The results show that balanced reduction and approximate balanced reduction are the best when we consider the whole frequency range. Between these two, approximate balancing has the advantage that it computes a reduced system iteratively, and therefore the need to obtain a balanced realization of the full order system rst, and subsequently truncate is eliminated. Consequently, the computational cost and storage requirements are reduced. Among the SVD based methods, Hankel norm approximation has the lowest H error norm in most cases, but the highest H2 error norm, and for low frequencies it gives the worst approximation. Since moment matching methods are local, they usually lead to higher error norms than SVDbased methods; in return they reduce the computational cost and storage requirements. Among these methods, rational Krylov may lead to better results due to the exibility of choosing the interpolation points. This selection however is not an automated process and has to be specied by the user. In contrast, for SVDbased methods the specication of an error tolerance determines the reduced model.
i i i
A11 = A21 C1
A12 A22 C2
x where x 0 is the mode shape for displacement or position outputs, 0 is the mode shape for velocity outputs, 1 is the mode shape for the inputs, i =| i (A) | and i = Re(i (A)) where i+1 (A) = [i (A)] , is the complex conjugate of i (A), for i = 1, 3, 5, , n 1. The modal gain factor corresponding to i , is dened as follows: 2 M GFi = [Ci (:, i) + C2 (:, i)i ]B2 (i, :)/i
Note that this expression averages the displacement and velocity outputs. After computing the modal gain factors, given a tolerance , reduction is obtained simply by truncating the modes with M GFi < . A more general formulation using arbitrary input/output pairs is:
2 M GFi = [Ci (j : k, i) + C2 (:, i)i ]B2 (i, l : m)/i 2
where [l, , m] is the input set and [j, , k ] is the output set. In addition to the MFG method, we use the Smith and cyclic Smith(l) methods to compute approximate reachability, observability and cross gramians (see section 12.4, page 308). Approximate balanced truncation is then used to obtain reduced order models.
13.3.1 Stage 1R
This is the ex model of the Russian Service Module 1R, of the ISS. It has 270 states, 3 inputs and 3 outputs. Figure 13.9, upper pane, depicts the Hankel singular values of the system, where the largest has been normalized to one. The system will be approximated with reduced models of order 26; this corresponds to a tolerance of = 8.4 103 , i.e. k+1 1 .
10
0
HSV of Stage 1R
10
10
10
10
15
50
100
150
200
250
300
50 Imag
50
100 0.35
0.3
0.25
0.2 Real
0.15
0.1
0.05
Figure 13.9. Hankel singular values and poles of the 1R ISS model We apply balanced, approximate balanced, weighted balanced reductions, as well as reductions based on the Smith and Smith(l) iterative methods. For weighted balanced reduction, the input and output weights are 3-input 3-output systems which are equal. Three types of weights are considered. In the rst case, the system from the ith input to the j th output is a bandpass lter over the frequency range 0.5 to 100 rad/sec. In the second case diagonal
i i
ACA :
i i
327
20 40 60 80 100 10
2
10
10 10 Frequency (rad/sec)
Singular valuues of the error systems for model 1r 40 Singular values (dB) 60 80 WBT3 100 120 10
2
SBT
BT
WBT2
2
10
10
10
Frequency (rad/sec)
Frequency (rad/sec)
weighting is used, i.e. only the system from the ith input to the ith output is nonzero. The last case is similar to the rst case, except that frequency range is 0.5 to 10 rad/sec. Furthermore, using Smith and Smith(l) methods, we compute low rank approximations of the reachability (P ), observability (Q) and cross (X ) gramians of the 1R model. Smith and Smith(l) methods transform the system into a discrete time system using single and multiple shifts; thus the solution is obtained as an innite sum. The spectral radius of the resulting discrete time system matrix Ad determines the convergence rate and the effectiveness of this method. Due to the large spread of the eigenvalues of A as depicted in the lower pane of gure 13.9, Smith and Smith(l) methods have slow convergence rates (the spectral radius (Ad ) is close to 1) and show poor results as far as the computation of the approximate gramians is concerned. For the 1R model, Smiths method, using a single shift, results in a spectral radius of 0.9991, while using l = 20 shifts, the spectral radius (Ad ) could not be reduced to less than 0.9973. Therefore only the Smith method is considered. The , Q and X , were obtained. Their relative error norms are high iteration was run for 50 steps and the approximants P due to slow convergence: P P = 8.83 101 , P QQ = 8.51 101 , Q X X = 8.85 101 . X
After obtaining the low-rank approximate gramians, balanced reduction and approximate balanced reduction are ap, Q and X . These approximants will be referred to as Smith-balanced and Smith-approximately balanced plied using P reduced models respectively. Figures 13.10 show the Bode plots of the resulting reduced systems as well as of the error systems. Since balanced and approximately balanced reduction yield almost the same approximant, only one of them is shown. These
ACA
i i i
gures show that all reduced models approximate the peaks of the frequency response well. Exception is the third weighted balanced approximant which deviates after 10 rad/sec. This is expected because the weighting was chosen over the range 0.5 to 10 rad/sec. The same gure also shows that among the weighted balanced approximants, the second (corresponding to diagonal weighting) is the best. It is interesting to see that although the errors in the computed gramians and Hankel singular values are signif, Q and X icant, Smith-balanced and Smith-approximately balanced models work well. This means that although P Q , and X are good approximations of are not good approximants of P , Q and X , the the dominant eigenspaces of P the the dominant eigenspaces of PQ and X , respectively. The MGF approximant is better for low frequencies, while balanced and approximate balanced approximants have a smaller error at moderate and high frequencies. The Smith-balanced Smith-approximate balanced models are also comparable with the other approximants especially at moderate frequencies. Indeed although they have the highest error considering the whole frequency range, for high frequencies they are the best approximants. One should also notice that Smith balanced and Smith approximate balanced yield almost the same approximants. The next table lists the relative H norm of the error systems (quotient of the error system norm and the original system norm). Balanced and approximate balanced reductions have the lowest error norm, while the modal gain factor method yields a slightly higher error norm. The error norms of both Smith approximants are high. The worst among all is the third weighted balanced approximant. H norms H norms Balancing 5.71 103 MGF 5.75 103 App. Bal. 5.71 103 Weighted-1 2.73 102 Smith Bal 2.44 102 Weighted-2 5.71 103 Smith App. Bal. 2.42 102 Weighted-3 8.04 102
(s) denote the transfer functions of the FOM, ROMs respectively. Furthermore let max be the Let H(s), H frequency at which the FOM attains its H norm, that is, max H(imax ) is the H norm of the FOM. The pair of (imax ) by u i, v i . The table below left, right singular vectors of H(imax ), will be denoted by ui , vi , and that of H i i ui u vi v lists the relative errors E (ui ) = , E ( v ) = , for the various ROMs. Notice that while all reduced i ui vi models match the rst pair of singular vectors, this is not the case for the second and third pairs of singular vectors. The model gain factor method is the best in this respect. E (u1 ) E (u2 ) E (u3 ) E (v1 ) E (v2 ) E (v3 ) E (u1 ) E (u2 ) E (u3 ) E (v1 ) E (v2 ) E (v3 ) Balancing 1.03 105 1.33 100 5.89 102 2.11 105 1.35 100 2.51 102 MGF 2.02 105 5.15 102 1.00 103 2.07 105 5.34 102 3.07 104 Approx. Bal. 8.99 106 1.33 100 5.69 102 2.19 105 1.35 100 2.46 102 Weighted-1 3.54 105 1.43 100 2.61 101 4.85 105 1.48 100 2.48 101 Smith Bal. 8.66 104 2.07 101 2.11 102 4.99 104 2.66 101 5.19 103 Weighted-2 2.79 105 1.32 100 5.89 102 2.22 105 1.35 100 2.49 102 Smith Approx. Bal. 8.67 104 1.28 100 2.98 102 4.76 104 1.24 100 1.38 102 Weighted-3 5.34 104 1.36 100 2.97 101 1.32 104 1.33 100 2.07 102
i i
ACA :
i i
329
10
10
10
10
10
20
40
60
80
100
120
140
160
180
200
20 Imag
20
40 0.16
0.14
0.12
0.1
0.08 Real
0.06
0.04
0.02
Figure 13.11. The leading Hankel singular values (top) and the poles (bottom) of the 12A ISS model
reduced system, we use the shifted versions of the Arnoldi and Lanczos procedures with s0 = 6 and s0 = 4, re, Q , X , which lead to Smith-balanced spectively. Furthermore, using the Smith and Smith(l) methods, we compute P and Smith-approximate balanced approximants. The eigenvalues (poles) of model 12A shown in gure 13.11, lower pane, exhibit the same pattern as those of model 1R. Hence, multiple shifts do not help convergence and consequently only one shift is used. The resulting spectral radius is (Ad ) = 0.9989. The iteration is run for 500 steps and the , Q , and X have the following error norms: approximate gramians P P P = 2.04 100 , P QQ = 1.56 100 , Q X X = 4.16 100 . X
As for 1R, the relative errors in the approximate gramians are high. But the error in the approximate Hankel singular values is much lower in this case, and the leading i are good approximants of the corresponding i . Figure 13.12 shows the Bode plots of the reduced order and error systems. As before balanced, approximate balanced reduction, on the one hand, and Smith balanced, Smith-approximate balanced reduction on the other, yield (almost) the same approximants; hence only the results for the balanced and Smith balanced approximants are depicted. As seen from the same gure all reduced models work quite well. MGF approximants shows some deviation around 5 rad/sec and around . As in the 1R case, although the errors in the computed gramians are signicant, Smith-balanced and Smith-approximate balanced models are good approximants. The plots of the largest singular value max of the frequency response of the error systems show that Lanczos and Arnoldi outperform the other methods for low and high frequencies. For moderate frequencies except for Lanczos, the remaining methods yield comparable results. Finally, while the MGF method is better for low frequencies, balanced truncation is better for high frequencies. The relative H norms of the error systems are listed below. H norms H norms Balancing 1.43 103 MGF 2.05 102 App. Bal. 1.43 103 Arnoldi 4.11 102 Smith Bal 3.74 102 Lanczos 3.49 101 Smith App. Bal. 3.74 102
Thus balanced and approximate balanced reduced models have the lowest error norm. The error of the MFG method in this case is much higher. The Lanczos and Arnoldi procedures yield high error norms as well. The Smith method lies between MGF and Arnoldi.
ACA
i i i
i i 330
Sigma plot for the reduced systems of model 12A 50 FOM 60 LP AP 70 Singular values (dB) 80 90 100 110 10
0
10
10
120 1 10
10
10
10
Sigma plot for the error systems of model 12A 80 Singular values (dB) BT MGF SBT 60 80 100 120 120 140 140 160 1 10 BT LP AP
Frequency (rad/sec)
100
160 1 10
10
10
10
10
10
10
Frequency (rad/sec)
Conclusions. Several model reduction methods have been applied to the ex models of stage 1R and stage 12A of the International Space Station. While the MGF method yields better results than balanced reduction for low frequencies, the latter is preferable for high frequencies. Furthermore balanced and approximate balanced reduction yield the lowest error norms. The Smith iterative method yields high errors in approximating the gramians, but nevertheless the reduced models are satisfactory. Finally, Lanczos and Arnoldi yield good approximants close to the chosen interpolation points, but the resulting overall error norms are high.
i i
ACA :
i i
0.98. Hence only a single shift is considered. LR-Smith(l) and the modied LR-Smith(l) iterations are run for k = 70 k and Q = 8 106 for Q k . The resulting iterations. The tolerance values are chosen to be P = 1 106 for P Sl Sl low rank LR-Smith(l) square root factors Zk and Yk have 70 columns, while the modied version of the algorithm k and Y k which have only 25 columns. The relative errors between the computed yields low-rank square root factors Z gramians are Sl k Pk P QSl k Qk = 4.13 1010 , and = 2.33 1010 . Sl Sl Pk Qk These numbers show the effectiveness of the modied algorithm. The errors between the exact and the computed gramians are
Sl k P P P Pk = = 3.95 103 , and P P
Figure 13.13, upper left pane, depicts the normalized Hankel singular values (HSVs) of the FOM, i ; the HSVs Sl k and Q k , resulting from Pk and QSl i ; and the HSVs resulting from P i . As the gure shows, the leading i , k , i = 1, , 14, are well approximated. Moreover
30 30
i
i=1 i=1
i = 1.64 103 .
The errors and the corresponding error bounds are tabulated below. One should notice that the error bounds (12.12) for the norm and (12.13) for the trace are tight, as they are of the order O( 2 ). Also as stated after corollary 12.11, the upper bound for the error between i and i is small. The bounds (12.8) and (12.14) are loose because of the slow convergence ((Ad ) = 0.99985) (see [155] for more details).
P Sl P k k 7.24 107 QSl Q k k 4.92 105 k 9.88 104 upper bound 6.27 106 ) trace (P Sl P k k 2.51 106 ) trace (QSl Q k k 1.62 104 k 9.69 104 upper bound 6.27 106
2 i
2 i
1.80 101
2 i
2 i
After computing the approximate square root factors balanced reduction is applied to the FOM using the approxth imate and the exact solutions; the order is reduced to 12. Let k , Sl order reduced systems k and k denote the 12 obtained through balanced reduction using the exact square root factors Z and Y; the LR-Smith(l) iterates ZSl k and Sl k and Y k , respectively. Also let denote the FOM. Figure 13.13, lower Yk ; and the modied LR-Smith(l) iterates Z left pane, depicts the amplitude Bode plots of the FOM and the reduced systems k , Sl k and k ; thus although Sl the approximate gramians are not very good approximations of the exact gramians, k and k are close to k . The amplitude Bode plots of the error systems k , Sl k and k are shown in gure 13.13, lower right pane. Sl k are almost equal as expected since the errors between P k and P Sl , and Q k and QSl are small, see Thus k and k k gure 13.13, upper right pane.
400 1
i i i
10
10
10
10
10
10
Frequency (rad/sec) Sigma Plot of the error system for CD Examples 20 Singular values (dB) 30 40 50 60 70 1 10 BT LRSBT MLRSBT 10
1
10
10
10
Frequency (rad/sec)
Figure 13.13. Plots for the CD player. Upper left pane: the normalized Hankel singular values i , i , and k . Lower left pane: amplitude Bode plots of i . Upper right pane: amplitude Bode plot of error system Sl k the FOM and the reduced systems k , Sl k and k . Lower right pane: amplitude Bode plots of the error systems k , Sl k and k .
Using l = 10 shifts, the spectral radius of Ad is reduced to (Ad ) = 0.7623, which results in fast convergence. It is easy to see that the spectrum of A is {1, 2, , 1000, 1 j 100, 1 j 200, 1 j 400}. Thus six of the shifts are chosen so that the 6 complex eigenvalues of A are eliminated. We run the LR-Smith(l) and the modied LR-Smith(l) methods for k = 30 iterations. The tolerance values are P = Q = 3 105 . The Sl resulting low rank LR-Smith(l) square root factors ZSl k and Yk have 300 columns. On the other hand the modied k and Y k which have only 19 columns. The relative low-rank Smith method yields low-rank square root factors Z errors between the computed gramians are small, namely:
Sl k Pk P = 2.75 108 and Sl Pk
i i
ACA :
i i
i i 13.4. Iterative Smith-type methods k QQ Q QSl k = 4.98 105 , = 2.31 108 . Q Q The normalized HSVs i , i and i , i = 1, , 19, are depicted in gure 13.14, upper left pane. There holds
19 19
333
i
i=1 i=1
i = 2.76 106 .
All the errors and the corresponding error bounds are tabulated below.
P Sl P k k 1.12 106 QSl Q k k 1.20 106 k 1.47 104 upper bound 1.35 106 ) trace (P Sl P k k 2.52 106 ) trace (QSl Q k k 3.00 106 k 1.47 104 upper bound 1.30 105
2 i
2 i
2.99. 108
2 i
2 i
The error bounds (12.12) and (12.13) are again tight, while the bounds (12.8) and (12.14) are tighter compared to the CD example. This is due to the normality of A, and to the fast convergence rate, i.e. the small value of (Ad ). Using balanced reduction, a reduced model of order 11 is obtained. Figure 13.14, lower left pane, depicts the amplitude Bode plots of the FOM and the reduced systems k , Sl k and k . The amplitude Bode plots of the error Sl k are shown in the lower right pane of this gure. Again Sl and k are almost systems k , k and k Sl identical. The Bode plots of the error k k is shown in the upper right pane of the same gure. Recall that Sl k k has been obtained using a square root has been obtained using a square root factor having 300 columns, while factor having only 19 columns, which indicates that the rank of the LR-Smith(l) iterate is low.
ACA
i i i
10
10
10
10
10
15
10
10 10 Frequency (rad/sec)
10
Sigma plot of the reduced models for Penzl model 40 singular values (dB) singular values (dB) 30 20 10 0 10 20 FOM LS BT RK 10
0
50
10 freq (rad/sec)
10
10
Figure 13.14. Top left pane: the normalized Hankel singular values i s, i s, and i s. Top right pane: the k for the 1006 example. Bottom left pane: the amplitude Bode plots of amplitude Bode plot of error system Sl k the FOM and the reduced systems k , Sl k and k . Bottom right pane: the amplitude Bode plots of error systems k for the n=1006 example. k , Sl and k
The sigma plot for FOM for the whole freq. range 10
0
10
10
10
10
10
10
10
10
10
10
10
10
10
i i
ACA :
i i
335
Sigma plot of the FOM and ROM 10 Singular values
0
Sigma plot of the FOM and ROM FOM k=30 k=20 k=10
Singular Values
10
10
10
10
10
10
10
10
10
k=30 k=20
Singular Values
10
10
10
10
10
10 freq (rad/sec)
10
10 Frequency (rad/sec)
10
Figure 13.16. Rational Krylov method: expansion point s = 0 (left pane); expansion point s = 100 (right pane).
50
66
68 55 70 60 72
65 3 10
10
10
10
10
10
10
74 3 10
10
10
10
10
10
10
(a)
(b)
Figure 13.17. (a) Amplitude Bode plots of the FOM and ROM. (b) Amplitude Bode plots of the error systems for heat example The FOM describes the 2-dimensional heat equation on a square plate with adiabatic (no heat ux) boundary conditions. The plate consists of 9 sub-plates. The number of discretization points in the x and y axes is 144; this leads to a FOM of order 20736. Each sub-block is uniformly heated which results in m = 9 inputs. As observations, we choose the middle points of each one of the sub-blocks. This leads to p = 9 outputs. We run the modied low-rank Smith algorithm with tolerance values P = Q = 106 for k = 40 steps using l = 2 shifts and obtained the low-rank k and Y k with 85 columns. Note that an exact LR-Smith(l) factor has 720 columns. Using the square root factors Z k and Y k , the system was reduced to dimension 9 by means of balanced reduction. approximate Cholesky factors Z The reduced model is almost balanced as the following numerical results show Pred diag(Pred ) = 7.28 109 , Qred diag(Qred ) = 1.05 1012 , Pred Qred = 1.04 109 , where Pred , Qred , denote the gramians for the reduced model. The sigma plots of the FOM and ROM, and that of the error model are shown in gures 13.17. Thus given a FOM of order 20736, this iterative method produced an approximately balanced approximant of order 9, based on Cholesky factors having only 85 columns.
ACA
i i i
i i
ACA :
i i
i i
Chapter 14
Epilogue
The goal of this book is to discuss model reduction issues following the diagram in gure 1.3, page 9. After the preparatory material of Part II, SVD-based approximation methods were investigated in Part III. In particular approximation by balanced truncation, weighted balanced truncation as well as optimal and suboptimal Hankel norm approximation, were studied. The closely related POD methods were also briey discussed. This is the left branch of the above mentioned diagram. In Part IV Krylov-based approximation methods were discussed. Since they are based on eigenvalue estimation, some effort was spent discussing this topic. This was followed by an account of the Krylov or moment matching methods for model reduction, namely the Arnoldi and Lanczos procedures as well as their rational counterparts. This is the right branch of diagram 1.3. Finally, in Part V, ways of merging the left and right branches of this diagram were mentioned; this leads to the lower part of the diagram which is concerned with iterative SVD-based methods. As pointed out, weighted balanced methods provide a direct link between SVD-based and Krylov-based approximation methods. Finally, numerical experiments illustrating the features of the various methods were presented.
i i 338 The main attributes of the two main model reduction methods are summarized next. SVD-based methods. 1. Preservation of stability. 2. Global error bound. 3. Applicability up to n 1000, depending on computer speed and memory. Krylov-based methods. 1. Numerical efciency. 2. Applicability: n 1000. It is clear from the above list that the two main model reduction methods have disjoint sets of advantages and disadvantages. Therefore one tries to develop methods which combine the best attributes of each method. This leads to the third class of methods, which we refer to as SVD-Krylov methods, and should satisfy as many of the following properties as possible. SVD-Krylov methods. 1. 2. 3. 4. Preservation of stability. Global error bound. Numerical efciency. Applicability: n 1000 Chapter 14. Epilogue
Complexity The complexity of these methods is dened as the number of ops (oating point operations) required to compute the reduced system. Let n denote the dimension of original system, k the dimension of reduced system, and the average number of non-zero elements per row/column of A. 1. Balanced truncation. Using dense decompositions and taking into account only the dominant terms of the total cost, approximately 70n3 ops are required to compute the gramians, and approximately 30n3 ops to perform the balancing (eigendecomposition). Using approximate and/or sparse decompositions, it costs approximately mn, m compute the gramians, while balancing costs approximately k 2 n ops. 2. Optimal Hankel norm approximation. Using dense decompositions and taking into account only the dominant terms of the total cost approximately 70n3 ops are required to compute the gramians, and approximately 60n3 ops to perform the balancing and the embedding. The complexity of optimal Hankel norm approximation using approximate and/or sparse decompositions, is as follows. The computation of gramians costs approximately mn, m k , ops per iteration, while the embedding costs of the order n3 ops. 3. Krylov approximation requires in general approximately kn ops, if sparse operations are used. Consequently for dense operations approximately kn2 ops are required. In more detail: at the j th step, the Arnoldi procedure requires n ops for matrix-vector multiplication w = Av, plus 2jn ops for orthogonalization. Thus k steps of Arnoldi require kn + 2 k (k + 1) n = ( + k + 1)kn ops. 2 k , ops per iteration to
The Lanczos procedure at the j th step requires 2n ops for matrix-vector multiplication w = Av, plus 6n ops for the three-term recurrence. Thus k steps of Lanczos require 2kn + 6kn = 2( + 3)kn ops.
i i
ACA :
i i
i i 14.2. Open problems Software The goal with respect to model reduction is to produce software which provides reliable solutions of large dimensional numerical problems encountered in complex applications. Turning numerically reliable algorithms into high performance, portable and robust numerical software relies on several areas of expertise like: numerical linear algebra, computer science, computer hardware, etc. For an overview of these issues we refer to [347]. There are a number of software packages available for numerical linear algebra and model reduction purposes. We list a few; see also [90] for more general purpose software. 1. General purpose software (including model reduction): MATLAB: www.mathworks.com SCILAB: www.scilab.org MATRIXX : http://www.ni.com/matrixx/ 2. Model reduction software: SLICOT. For details we refer to [58], [345], [339]. This software package can be downloaded from http://www.win.tue.nl/niconet. 3. Parallel model reduction software: PSLICOT, see [52]. 4. Linear Algebra Package LAPACK, see section 3.3.5, page 46, and reference [7]. 5. For large-scale eigenvalue problems: ARPACK and its parallel implementation P ARPACK. We refer to [227] for details. These software packages are available at http://www.caam.rice.edu/software/ARPACK. 6. Some specialized software packages: SUGAR MEMS simulation: http://www-bsac.eecs.berkeley.edu/cadtools/sugar/sugar/ MOZART Ozone propagation: http://acd.ucar.edu/models/MOZART/ ANSYS Simulation of system described by PDEs: http://www.ansys.com/ 339
i i i
this regard is to determine which poles of the original system to use. In other words, which choice of mirror images will minimize, for instance, the H2 norm of the error system? More generally, are there other rules for choosing the interpolation points so that a desirable norm of the error system is minimized? Choice of spectral zeros in passive model reduction by interpolation In section 11.3.3, page 291, it is shown that by choosing the interpolation points as spectral zeros of the original system, the reduced system will be automatically passive and stable. As in the previous problem, the issue which arises is to choose those spectral zeros that will reduce or minimize some appropriate norm of the error system. For an illustration of this issue, see example 11.3.2. Weighted SVD and Krylov based model reduction Weighted SVD methods have been presented in section 7.6 page 195. One unexplored issue is the inuence of frequency weights on the sensitivity of the reduced system; furthermore ways of computing the logarithm of the resolvent in large-scale settings are lacking. In contrast to unweighted methods, stability and error bounds are issues which have not been satisfactorily resolved and hence require further investigation. Furthermore the problem of weighted Krylov methods is less well understood; one approach is given in [132]. Again stability and error bounds are important aspects of this problem which need further study. Iterative SVD model reduction methods In sections 12.3 and 12.4 iterative methods for computing SVD type approximants were proposed. The open problems are convergence of the rst algorithm presented, as well as stability. The second algorithm is guaranteed to converge to a reduced system which is balanced; however it is not clear how many steps are needed for the reduced system, which is approximately balanced, to be stable. The balanced canonical form discussed in section 7.4 may turn out to be important in this case. Furthermore iterative methods for weighted balanced reduction are missing. Model reduction of second-order systems In many cases, e.g. when mechanical systems modeled as mass-spring-damper are involved, the reduction should respect the second order structure (the state is composed of positions and the corresponding velocities). Converting the system to rst order and applying existing methods for model reduction, is an option, but at the expense of destroying the second order structure (the reduced system may no longer be representable as a mass-spring-damper system). For an overview of this problem from an eigenvalue viewpoint see [325]. From a system theoretic view point the problem was originally investigated in [240]. Recently [83] have revisited the problem. Issues still remaining are stability, error bounds, the choice of gramians, as well as iterative methods. Approaches to Krylov methods for second order systems can be found in [44], [36]. Weighted reduction for this class of systems remains an open problem. Model reduction of DAE (Differential Algebraic Equation) or descriptor systems The solution of dynamical systems described by DAEs has been investigated in [77]. Concerning model reduction of linear descriptor system, all rational Krylov methods can be readily extended to handle such systems; the difference is that in the shift invert part (sI A)1 is replaced by (sE A)1 , where E is a singular matrix. Many aspects of balanced methods for descriptor systems have been worked out in [317, 318, 319, 320]. A descriptor toolbox is also available [343]. Model reduction for linear time-varying systems The problem of model reduction of linear, discrete-time, periodically time varying systems using SVD-type methods has been studied extensively. For an account see [344] and references therein. Krylov methods for the same class of systems has been investigated in [183]; see also [211]. Balanced truncation for continuous-time time-varying systems has been worked out in [217] and [286]. The latter reference treats the discrete-time time-varying case. What needs further investigation is the numerical implementation of these approaches to systems of high complexity.
i i
ACA :
i i
i i 14.2. Open problems Model reduction of nonlinear systems The study of model reduction methods for linear time-varying systems is the rst step towards the systematic study of model reduction for nonlinear systems. Currently the only systematic and widely used method, is model reduction by means of POD (Proper Orthogonal Decomposition); see section 9.1 for some details on the advantages and drawbacks of this method together with a brief survey of the associated literature. Error bounds, stability, and iterative methods are issues which need to be investigated, perhaps for special classes of nonlinear systems. Model reduction of structured interconnected systems, with application to MEMS The difculty in analyzing and synthesizing MEMS (Micro Electro-Mechanical Systems) also known as Microsystems, stems from the complexity of the underlying structure as well as its heterogeneity; such a system may contain mechanical, electrical, uidic, thermal, acoustic, etc., components. This leads to multi-domain and multi-physics problems. The development of microsystems begins with modeling. The spatial distribution leads typically to PDEs describing the various parts (electrical, mechanical, etc.). Subsequently the interactions between the various parts are modeled (e.g. electro-mechanical, electro-thermal, etc). These equations are then turned into systems of ODEs through discretization. In addition small signal behavior is often not enough to describe the system, due to nonlinearities, and furthermore there may be several operating points. This leads to long iteration cycles. The procedure from design to manufacturing to testing is time consuming. Hence rapid prototyping is not feasible. These issues can be addressed by reduction of the order of the microsystem model. In such a procedure the various physical systems (electrical, mechanical, etc.) must be reduced separately and the reduced models put together by means of the interconnections. Furthermore, the procedure should produce reduced-order systems which have a physical interpretation as electrical, mechanical, etc. The overall goal is to understand as many effects occurring in microsystems as possible through simulation. The following references can be consulted for details on this challenging problem: [294], [278], [290], [291]. Controller design for high-order systems Very often a given system must be controlled to achieve desired performance objectives. Roughly speaking the complexity of the controller is the same as that of the plant. Therefore if the latter is high so will the former. For implementation purposes however, the controller must usually have low complexity, leading to controller complexity reduction. Another possible approach to the design of low complexity controllers is rst to reduce the order of the system to be controlled and then compute a controller based on the reduced system. This however can be dangerous, as the low order controller may fail to stabilize the original system. These issues are discussed in detail in the book by Obinata and Anderson [252]. If however, the order of the given system is very high (in the thousands of state variables or above) such an approach may not be feasible. In this case some reduction of the original system is required in order to get a start on the computation of the controller. Depending on the underlying equations (e.g. Navier Stokes, Burgers, heat, etc, and linearity/nonlinearity) such problems have to be investigated individually. Thus besides computational aspects, issues concerning robustness need to be addressed in particular when the low-order controller is hooked up with the original system (potentially described by PDEs). Such problems have been studied (although not exhaustively) in the CDF (Computational Fluid Dynamics) community (see section 9.1 for a few references in this direction). Further work is necessary in connection with problems arising e.g. in microsystems. 341
ACA
i i i
i i
ACA :
i i
i i
Chapter 15
Problems
Problem 1. Show that the (unilateral) Laplace transform of the formula (4.16) for the matrix exponential is in agreement with formula (4.74), i.e. q(i) (s) L(fi )(s) = , i = 1, , n q(s) where q is the characteristic polynomial of F, and q(i) are the pseudo-derivative polynomials of q dened by (4.72).
F=
0 0 . . . 0 q0
1 0 . . . 0 q1
0 1 . . . 0 q2
..
0 0 . . . qn1
Rnn 1
Let q(s) = q0 + q1 s + + qn1 sn1 + sn be the characteristic polynomial of F. Show that 1 s (1) 1 (2) (n1) (n) q(s) (sIn F) = . q (s) q (s) q (s) q (s) mod q(s) . . sn1 Hence show that (4.74) holds for F in companion form as given above, and consequently adj (F) = q(1) (F), where q(1) (s) is the rst pseudo-derivative of q(s), dened in (4.72). In addition prove that (4.71) is indeed a realization of p(s) q(s) .
, R
A C
B D
also a minimal realization using MATLAB routines, and show that it is equivalent to the realization obtained via the Silverman algorithm. 343 i i i i
Problem 4. Using the Silverman algorithm nd a minimal realization of the sequence of natural numbers where all multiples of 3 have been replaced by zero: S = {1, 2, 0, 4, 5, 0, 7, 8, 0, } In the above sequence assume that h0 = 0. Compute the sum of the series n>0 hn sn . Give the minimal recursion polynomial as well as an expression for all recursion polynomials of the sequence S .
Problem 5. Consider the Lyapunov equation AX + XA = Q, where all matrices are n n. (a) Provided that Q 0 (positive semi-denite and no assumption of reachability is made) show that (A) = n implies (X) = 0 and (A) = n implies (X) = 0. (b) If (A) = n (all eigenvalues of A are on the imaginary axis) show that Q = 0.
Problem 6. Propose a remedy for the transformation of the continuous-time to the discrete-time Lyapunov equation discussed in section 6.1.7 of the notes, when the matrix A has an eigenvalue equal to 1.
Problem 7. Let AV = VH, where A, V, H are real and square matrices. Prove that V is nonsingular if, and only if, A is similar to H.
Problem 8. Find the singular value decompositions and compute the rank one approximations, which are optimal in the 2-norm, of the matrices listed below. Use paper and pencil. 1 0 0 1 6 3 2 3 A1 = 0 2 , A2 = , A3 = , A4 = 1 1 1 2 0 2 0 0 1 0
Problem 9. (a) Let A Rnn and det A = 0. What is the relationship between the singular values of A and A1 ? (b) Let R be an eigenvalue of A. Show that n (A) || 1 (A). (c) Find the singular values of A = that Au
2
p q q p
= 1, such
= 1 . Explain.
Problem 10. (a) Show by direct computation that the LS solution of Ax = b is given by xLS = (A A)1 A b, (b) Using the SVD of A = UV , show that
m
A Rnm , n m, rank A = m
xLS =
i=1
u ib vi , i
and
AxLS b
=
i=m+1
2 (u i b) .
What is the geometrical interpretation of this problem? Do AxLS and b AxLS lie in the im(A), ker(A) or in a space perpendicular to im(A)? Justify your results.
i i
ACA :
i i
Problem 13. Let be a vector norm on Rm and assume A Rmn . Show that if rank A = n, then x a vector norm on Rn .
= Ax is
Problem 14. Given is a matrix A = (aij ) Rnn and a nonsingular upper triangular matrix T = (tij ) Rnn . The following relationships are to be shown for p = 1, 2, . (a) A (b) T
p
|aij |.
p
1 mini |tii | .
p ( T )
Problem 15. Approximation of the clown.mat image using MATLAB: after starting MATLAB, type load clown; Z = ind2gray(X, map); [mz,nz] = size(Z); imshow(Z,64); mag = 2; truesize(1, [mz*mag, nz*mag]);\\[-5mm] Compute the SVD of Z, using the command: [U,S,V] = svd(Z); 1. Plot the singular values of Z on a logarithmic scale. 2. Compute approximant having error less than 10%, 5%, 2% of the largest singular value of Z. What is the rank of the corresponding approximants? also for each case compute the compression ratio (compression ratio is dened as the number of bytes required to store the approximant divided by the original image size in bytes.) 3. Now tile the image into four equal pieces. for each of the above errors, use SVD to approximate the sub-images and then reconstruct the complete image from them. Compute the compression ratio for this image. Compute the 2-norm error of the approximant and then compare the result with the previous one. Which method is better? which one requires more computations? 4. Attach with your homework the original image, the approximant from the rst method and second method, for the case the error is less than 2%.
ACA
i i i
i i 346 Problem 16. Prove that the 1-Schatten norm of a matrix, also known as the trace norm
n
trace
=
i=1
i (M), M Rnn ,
Hint: rst prove the following lemma: Let A Rnn have singular values i (A), i = 1, , n, arranged in decreasing order, and let C Rnn be a rank k partial isometry (that is C = VW , V, W Rnk , V V = Ik , and k W W = Ik ). Then for each k = 1, . . . , n, we have i=1 i (A) = maxC | trace (AC) |. Problem 17. Find the Frobenius norm of the identity I Rnn . Show that the p, q induced norm of the identity matrix satises I p,q 1. Compute this induced norm as a function of p, q, n. In particular show that the (1, 1) induced norm of the identity is equal to 1.
Problem 18. (a) Prove that if is a vector norm, so is , for any xed C > 0. (b) Prove that if is a matrix norm satisfying the sub-multiplicativity property (3.8), then norm satisfying (3.8) for any xed 1. (c) For which is the scaled norm
(1,2)
is also a matrix
(1,1) .
Problem 19. Prove that the p, q induced norms dened by (3.4) on page 28, satisfy the sub-multiplicativity property (3.8) on page 30, that is M p,q M p,r M r,q . Problem 20. Prove that a unitarily invariant norm of M Rnm (i.e. a norm satisfying UMV = M for all unitary U, V) is a convex function of its singular values (a function is called convex if f (x+(1)y) f (x)+(1)f (y), for all x, y, and scalars ).
Problem 21. Prove the equivalence of the following 3 statements: (1) P Rnn is an orthogonal projection; (2) the projection is symmetric P = P ; (3) the spectral norm of P is one: P 2 = 1.
Problem 22. Consider the class Mn of all square matrices of size n with real entries. An inner product is dened in Mn as follows X, Y = trace (X Y) where denotes complex conjugation and transposition. This inner product induces a norm on Mn which is the Frobenius norm. (a). What is the distance 0 between a xed X0 Mn and the set of all multiples of n n orthogonal matrices? 0 = inf X0 U
,U F
where the inmum is taken over all scalars and orthogonal matrices U. (b). Find if possible, 0 and U0 such that 0 = X0 0 U0 What is 0 and U0 if X0 is a symmetric matrix?
F
i i
ACA :
i i
i i 347 Problem 23. Prove proposition 7.4. Problem 24. Given A Rnn , prove that the conditions below are equivalent: A + A 0 eAt Q = Q > 0, such that AQ + QA 0 and A Q + QA 0.
2
1, t > 0
Problem 25. A discrete-time system is described by its impulse response h(k ) = 2k , k = 0, 1, 2, and h(k ) = 0, k < 0. (a) Compute the singular values of the associated operator S using the results of section 5.2. (b) Compute a matrix representation for S and S S explicitly. Using your favorite software package compute successive approximations of the spectrum of this operator by computing the eigenvalues of nite symmetric n n submatrices Mn of S S for n = 10, 20, 50, 100, 200, 500, 1000. Plot the eigenvalues. Compare with the result in the rst part of this problem.
Problem 26. Consider the system described by H(s) = T = 1, 10, 100. Compare with the L2 (0, ) norm.
1 s+1 .
Transform this system in discrete-time and compute the same norm using the operator K dened following formula (5.26). Compare the results.
Problem 27. Consider the rational functions: G(s) = s6 + 20s5 44.1s3 + 334s2 + 1034s + 390 + 155s4 + 586s3 + 1115s2 + 1034s + 390
N
HN (s) =
i=1
2i s + 2i
(a) Using MATLAB (or equivalent) compute the Hankel singular values of G. Furthermore compute a realization of G which is balanced (in the Lyapunov sense). Hence determine balanced truncations Gbal,k , for k = 2, 4. (b) Using MATLAB (or equivalent) compute the H norms of the error systems G Gbal,k , for k = 2, 4. Compare them with the theoretical upper bounds. Plot the amplitude Bode plots of G, Gbal,k , G Gbal,k , for k = 2, 4. (c) Using MATLAB (or equivalent) compute the reachability and observability gramians of HN for N = 2, 4, 6. Hence compute the Hankel singular values of HN for N = 2, 4, 6. Compute a balanced truncation of order one, for N = 2, 4, 6. What is the H error in each case? How does it compare with the theoretical value? Compute a balanced truncation of order two for N = 4, 6. Again compare the actual error with the upper bound predicted by the theory. Finally, tabulate the poles and the zeros of HN , N = 2, 4, 6 and compare with poles and zeros of the various approximants.
Problem 28. Finite horizon balancing. Instead of the innite horizon control and observation energy windows, use
T
u( )
0
2 2
d,
0
y( )
2 2
i i i
Consider the system with transfer function H4 given in the previous problem. Let H2,T be the 2nd order system obtained from H by means of length-T nite horizon balanced truncation. (a) Plot the impulse response of H4 and 1 H2,T for T = 10 ,1,10,, on the same plot. Can you describe what happens as T 0? (b) Plot the amplitude Bode plots of the corresponding error systems. What is their H norm? Discuss nite-horizon balancing for T = 1, of the unstable system G(s) = by reducing it to a rst order system. s2 1 , R, 2
Problem 29. Balanced and Hankel approximants. Consider the rational function: G(s) = 44s3 + 44.4s2 + 3803s + 1449 . s6 + 29.1s5 + 297s4 + 1805s3 + 9882s2 + 19015s + 7245
1. Compute the Hankel singular values of G. 2. Compute a realization of G which is balanced (in the Lyapunov sense). Hence determine balanced truncations Gbal,k for k = 2, 4. 3. Compute the optimal Hankel-norm approximations GH,k for k = 2, 4. 4. Compute the H norms of the error systems G Gbal,k , G GH,k for k = 2, 4. Compare these norms with the theoretical upper bounds. Plot the amplitude Bode diagrams and the Nyquist diagrams of G, the various approximants, and the various error systems. 5. Compute the dyadic decomposition of the rational function K(s) = 1 . (s + 1)(s + 2)(s + 3)
Compare the amplitude Bode plots of the rst order approximants obtained by balanced truncation, optimal Hankel-norm approximation and truncation of the dyadic decomposition.
1 Problem 30. Give a proof of Proposition 5.3. Hints. First, by scaling, that is, substituting D, B, C for D, respectively, the problem can be reduced to the case = 1. Next show that
1 1 B, C,
A C
B D
A 0 C
0 A CP + DB
BD + P C C I DD
is a realization of , where P is the reachability gramian AP + P A + BB = 0. Using the state space transformation I P , B = T1 B , C = CT 1 , D = D . Finally, T= , compute the equivalent realization A = T1 AT 0 I provided that D is nonsingular, use the formula [D + C(sI A)1 B]1 = D1 [D + C(sI A + BD1 C)1 B]D1 , to prove the desired formula (5.18).
Problem 31. This problem refers to example 5.9.1, on page 136. First derive a state variable representation of the system b1 where the four states should be chosen as: x1 = q1 , x2 = q 1 m u1 , x3 = q2 , x4 = q 2 ; the inputs are u1 = q0 , 1 b1 b2 u2 = f ; and the output (observation) y = q 2 . Show that the system is observable if k1 = k 2 . If this assumption
ACA :
i i
i i
i i 349 is satised, express the state as a function of the input, output and derivatives thereof, and consequently the supply function in terms of the input and the output. Finally, assuming that m1 = m2 = 1, b1 = 0, b2 = 1, k1 = k2 = 1, use theorem 5.19 to derive an expression for the available storage and the required supply, and compare each one with the storage function given in the above mentioned example.
Problem 32. Comparison of H -norm bounds [148]. Consider the systems described by: H(s) =
i=1 n
a2i , a > 0. s + a 2i
A B of H(s), where A is diagonal and B = C . Hence show that C D the two gramians can be chosen as follows: P=Q= ai+j a2i + a2j
2. Deduce that the sum of the Hankel singular values of this system is n 2 . Moreover, the H norm of H is n. Hence in this case the upper bound given by formula (8.20) is tight. The system under consideration has the property that its poles and zeros are on the negative real axis and interlace one another. It can be shown in general (see [312]) that for such systems the error bound (8.20) is tight. 3. What conclusion can you draw concerning the error (8.21) between H and a reduced model Hbal,k of McMillan degree k < n obtained by balanced truncation? Consider a system in balanced canonical form given by formula (7.25), where n = 5, 1 = 1, i = i1 103 , i = 2 , , n. 1. Compute the H norm of the system for various choices of the i and si ; compare this norm with the upper bound given by formula (8.20) of the notes. 2. For a specic choice of the i and si , repeat the above exercise considering the reduced order system of order 2, obtained by balanced truncation; again compare the upper bound given by formula (8.21) with the actual H norm of the error system.
Problem 33. Continuity of sub-optimal approximants. Consider the linear system dened as follows: 2 2 1 1 +2 , , > 0. A= , B = C = 2
1 +2 22
Compute the Hankel singular values of this system. Hence give a general expression for the transfer function of a -sub-optimal Hankel-norm approximation with between the two singular values. What is the Hankel norm of this rst-order system? Examine in detail the case where approaches the smallest singular value. Is the corresponding optimal solution obtained?
Problem 34. Consider the pair A = diag (1, 2, , n), B = ones(n, 1), n = 10, n = 50. Find the Cholesky ordering of the eigenvalues of A, dened by formula (9.6), page 237. Hence compute the estimate of the decay rate of the eigenvalues of the reachability gramian P (which satises AP + P A + BB = 0) according to formula (9.7), and the decay rate bound given by (9.8). By computing P , compare the estimate and the bound with the true decay rate of the eigenvalues.
ACA
i i i
Problem 35. Repeat the previous exercise if A = diag (A1 , , AN ), where Ak R22 has eigenvalues k ik , k = 1, , N , where 0; B is as before, a matrix of ones. In other words the eigenvalues of A consist of complex conjugate pairs which lie in the left-half of the complex plane, on two straight lines with slope . This situation is common in structural systems with proportional damping.
Problem 36. The diffusion of heat through a perfectly insulated, heat-conducting rod is described by the following linear partial differential equation:
perfect insulation
y(t)
u(t)
2T T (x, t) = (x, t), t 0, x [0, 1], t x2 where T(x, t) is the temperature at distance x from the origin, and time t. The boundary conditions are: T T (0, t) = 0 and (1, t) = u(t), x x where u is the input function (supplied heat). Finally, the output (which is measured) is: y(t) = T(0, t). (i) Show that the transfer function Z(s) =
(s) y (s) u
Hence conclude that the poles of Z(s) are s = k 2 2 , k = 0, 1, 2, . (ii) Show that Z(s) has the following partial fraction expansion
Z( s ) =
k=0
k , 0 = 1, k = (1)k 2, k > 0. s + k2 2
(1)k ek
k=1
2 t
, t 0.
The objective of this problem is to investigate 3 different approximations of z as a linear combination of three exponentials.
i i
ACA :
i i
i i 351 (iii) The rst approximation is the modal approximation, which is simply zmod (t) = 1 + 2(e t + e4 t ), t 0. be a high-order, nite-dimensional approximation of the innite-dimensional system dened by h, obtained (iv) Let h as follows: (t) = h
8
2 2
(1)k ek
k=1
2 t
The next two approximations are now obtained by means of a second order Lyapunov balanced truncation hL and a . Let zL = 1 + 2hL and zH = 1 + 2hH . second order Hankel norm approximation hH of h (t), zmod (t), zL (t), and zH (t). (v) a. Plot z(t) (50 terms ought to be enough) together with z (v) b. Plot the step responses of the systems corresponding to the above approximations. (v) c. Plot the Bode amplitude diagrams of the approximants in (v1) as well as those for the error systems. Compare the H norms of the error systems h hL and h hH with the upper bounds of these differences, predicted by the theory.
Problem 37. Heat conducting rod with convection. Assume now that in the previous example convection is taking place as well. The equation describing the evolution of the temperature T(t, x) along the rod is 2T T T (x, t) = (x, t) 2 (x, t), t 0, x [0, 1], 0. 2 t x x The boundary conditions, and hence the input and the output of the system, are the same as before. Show that the transfer function Z =
Y U,
Thus, Z has poles at s = 0 and s = 2 k 2 2 , k = 1, 2, . This in turn implies that the partial fraction expansion of Z is: 0 k 2 k e Z(s) = + , = , = 2( 1) 1 + , k > 0. 0 k s s + 2 + k2 2 sinh k2 2
k=1
(1)k 1 +
2 k2 2
e(
+k 2 2 )t
For the convection-diffusion case = 0, answer questions (iv) and (v) as in the preceding problem.
Problem 38. The preceding two problems are to be solved now, by discretizing the corresponding partial differential equations. In particular, assume that the heat conducting rod has been divided in N + 1 intervals of length h; the resulting variables are T(kh), k = 0, 1, , N + 1. Given the initial conditions, namely (T(0) T(h))/h = 0, y = T(0), u = (T((N + 1)h) T(N h))/h, the state x becomes x = (T(1), , T(N )) , RN , where (kh) = 1 (T((k + 1)h) 2T(kh) + T((k 1)h)) 2 (T(kh) T((k 1)h)), h = 1 . T h2 h N +1
ACA
i i i
(t) = Ax(t) + Bu(t), y(t) = Cx(t), where A is tridiagonal, Thus deduce that the resulting system has the form x while B, C are multiples of canonical unit vectors: 1 1 1 A= 2 h 1 2(1 + h ) 0 1 + 2h .. .. .. . . . 1 0 2(1 + h ) 1 1 . . , B = . h 1 + 2h 0 1 1 2 0 0 ,
while C = [1, 0, 0, , 0]. Compare the approximants obtained by reducing this N th order system with those based on the transfer function approach.
The purpose of this problem is to study the approximation of this cascade by means of k th order systems, k = 1, 3, 5, 7. In particular by (1) Gk (s) (2) Balanced truncation (3) Unweighted Hankel norm approximation (4) Weighted Hankel norm approximation with weights W1 (s) = where
2 2 , 0 = .1, 1, 10. , d(s) = s2 + 20 s + 0 n(s) = s2 + 0 s + 0
n(s) n(s) n(s) n(s) , W2 (s) = , W3 (s) = , W4 (s) = , d(s) d(s) d(s) d(s)
Plot the magnitude of the approximation errors on one plot for each different type of approximation. Compare with the upper bounds of the error magnitudes, whenever possible.
Problem 40. Consider the following 6th order system: G(s) = s + 1 . s6 + 3s5 + 5s4 + 7s3 + 5s2 + 3s + 1
This system is doubly resonant with poles close to the imaginary axis. Find 3rd order approximants using the methods below: (1) Modal approximation keeping the dominant poles (2) Balanced truncation (3) Unweighted Hankel norm approximation (4) Weighted Hankel norm approximation with weight W(s) = s2 s + 1 s2 2s + 1
Plot the magnitude of the approximation errors on one plot for each different type of approximation. Compare with the upper bounds of the error magnitudes, whenever possible.
i i
ACA :
i i
i i 353 Problem 41. A property of the Arnoldi procedure. Given the reachable pair of matrices A Rnn and B Rn , let P be the reachability gramian: AP + P A + BB = 0. Consider the k -step Arnoldi procedure: AVk = Vk Hk + kk hk+1,k vk+1 e be the reachability gramian of the pair Hk , ek , where = B : Hk Pk + Pk H k and let Pk R k+ nn 2 ek e = 0 . The gramian P is embedded in the bigger space as follows P = V P V R . (i) Show that the k k k k k nonzero eigenvalues of P and Hk are the same. (ii) Let A = A , where = hk+1,k vk+1 vk (A is a rank-one P + BB = 0, satises the Lyapunov equation: A +P A correction of A). Show also that P
Problem 42. Prove the fundamental lemma 10.13 of the Arnoldi procedure.
1 0 1 1
1 1 1 0
1 1 , B = 0 1
1 1 . 1 1
Compute the Arnoldi (Lanczos) factorization. Notice that it stops prematurely. What can one conclude concerning the eigenvalues and corresponding eigenvectors of A?
(b) Prove that for the symmetric Lanczos (Arnoldi) process the projected matrices Vk AVk have eigenvalues which lie in the interval [min (A), max (A)]. Therefore if A is stable, so are the resulting reduced systems.
Problem 44. Consider Elliptic continuous-time low-pass lters which can be obtained in MATLAB as follows: [A,B,C,D]=ellip(n,1,1 The order of the lter should be taken n = 25. The reduced order is k = 10, 15, 20. Hint. the realization obtained from MATLAB is not well conditioned. It is advisable to multiply C by 104 and divide B by the same number.
Problem 45. Given is the system described by: A = 103 diag (103 , 9, 8, 7, 6, 5, 4, 3, 2, 1) R1010 B = (1 1 1)T and C = B R10 . (1) Using the square root method, and the sign function method compute the reachability and observability gramians, and hence compute and plot the Hankel singular values. (2) Compute reduced order systems of order k = 3, 5, by means of balanced truncation, the Arnoldi method, the Lanczos method, and modal truncation. (3) Compute the H norm of the resulting error systems in each case. (4) Tabulate the poles and the zeros of the approximants. (5) Plot the frequency response of the original system and the error systems (on the same plot for each k ).
Problem 46. Consider a circuit consisting of 25 sections interconnected in cascade; each section is as shown in the gure. The input to this system is the voltage V applied to the rst section; the output is the current I of the rst section, as shown. Derive a state space representation of this circuit.
ACA
i i i
_ R
= 100, L = 10pH . Figure 15.2. A section of an RLC cascade circuit: R = .1, C = 1pF , R Approximate this system by means of k = 10, 20, 30 states.
Problem 47. Consider Chebychev I continuous-time low-pass lters which can be obtained in MATLAB as follows: [A,B,C,D]=cheby1(n where r denotes the admissible ripple in the passband and should be taken as r = 1db and corresponds approximately to a 10% ripple. The order of the lter should be taken n = 1 : 25. The rst goal of this problem is to compare the three balancing transformations Ti , i = 1, 2, 3, and the corresponding balanced triples: (1) 1 Ei = norm (In (Ti )(T i )) (2) i = 1 , 2, 3 Ei = norm (Ai + Ai + Bi Bi ) (3) C ) + A + C Ei = norm (A i i i i Plot the above errors as a function of the order n of the lter. Plot also the Hankel singular values for n = 5, 10, 15, 20, 25 on the same plot. The y-axis should be logarithmic (log10). Notice that one should transform the original triple C, A, B to the Schur basis rst. The transformations are: T1 the usual balancing transformation; T2 the square-root balancing transformation; T3 the square-root algorithm where the balanced matrices are obtained up to diagonal scaling with 1/2 . Balance and truncate. Each lter above should be reduced approximately to 1/4 of its original dimension; more ik = T1 [Ik ; 0], for precisely the reduced order should be k = round (n/4) + 1. Let Tik = [Ik 0]Ti and T i (1) (2) (3) i = 1, 2, 3. Compute and plot the corresponding errors Eik , Eik , Eik . Plot also the condition number of the 3 transformations Tik , i = 1, 2, 3, for the above k . Finally, given the Hankel singular values of the 25th order lter, what are the possible dimensions of a reduced system obtained by balanced truncation so as to avoid (almost) marginally stable poles (i.e. poles on the imaginary axis)?
Problem 48. Application of the POD method to a linear system. Consider the following system A C B D = 9 33.0101 0 1 0 0 0 0 0 0 0 20 63.0705 0 1 0 0 0 66.180901 36.200703 8.080202 10 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 10 10 0
i 100 ,
Part-a
1. Using the MATLAB command [y,t,X] = impulse(sys,T), obtain the impulse response of the system, where T is the time interval, y is the output, X are the states. Choose T = 0 : 0.1 : 10. Notice that the matrix of snapshots X = [x(t1 ) x(tN )] in the POD method is simply given by X .
i i
ACA :
i i
i i 355 2. Compute the SVD of X = U V and plot the normalized singular values on a logarithmic scale. Choose = U k = 2, 3, 4, 5 and obtain the reduced order system for x k x, where Uk is a matrix composed by the leading k columns of U. 3. Apply the impulse response to the reduced order system for the same time interval T as above and obtain Xk . 4. Plot the states for both the full order and the reduced order model on the same plot (one state per plot). You can have more than one gure on the same page using the subplot command. Compute both the error Xk 2 norm X Xk 2 and the relative error norm X X 2 . How do these numbers relate the neglected singular values. Part-b 1. Obtain the impulse response of the full order model for the time interval T 1 = 10. Construct X , compute = U the SVD and again obtain the reduced order system of order 2, 3, 4, 5 for the reduced states x k x. 2. Continue the simulation for time interval T 2 = 1 : 5 using the reduced system. Notice that you should use the command initial rather than impulse. 3. After obtaining data Xk , transform the states back into to original space and append the data to what you had for T 1 = 0 : 0.02 : 10. Compare the whole data you obtained with the data obtained for full order model for T = 0 : 0.02 : 20 in Step-1 of Part-a above. 4. Again plot the data and compute the error norms.
Problem 49. If we apply the sign function method to the Sylvester equation (6.1) AX + XB = C, where the eigenvalues of A are in the (open) left-half of the complex plane, the uniqueness condition is satised, and the eigenvalues of B are both in the (open) left-half and (open) right-half of the complex plane, we will obtain a projected form of the X. This statement is to be made precise.
A C
B D
1 1 0 1 0 1
0 0
Reduce this system following the steps outlined in examples 7.6.1 and 7.6.2.
Problem 51. This problem is concerned with an RLC circuit which consists of several sections as shown in gure 15.3; uk , yk are the input, output voltage of the k th section. N sections are cascaded by letting yk = uk+1 , k = 1, , N 1; the input of the system is u1 and the output is yN . Write state equations by taking as state variables for the k th section the current through the inductor Lk and the voltage across the capacitor Ck . Reduce the cascade system composed of N = 50 sections to a system of order 10 by means of the following methods: (a) balanced truncation, (b) Arnoldi method, (c) Lanczos method; in the last two cases choose as interpolation (projection) points the mirror image of the poles of the system with the largest real part. The values of the components should be chosen as follows: Ri = 1, Li = 1H , Ci = 106 F .
Problem 52. Same set-up as for problem 51. In this weighted approximations are to be compared. In particular by taking a low-pass Butterworth of order 4 as weight, and applying the method without weights as described in section 7.6.2 on
ACA
i i i
b uk c b
Rk
E Lk Ck c
b yk c b
Figure 15.3. The k th section of an RLC circuit page 199. The cut-off frequency of the low-pass lter and the upper limit of integration in the second are to be chosen to lie (a) between the rst and the second resonance, and (b) between the fourth and fth resonance.
Problem 53. Same set-up as for problem 51. In this case compare the approximations by means of the three passive approximation methods described in this book. In particular two methods have to do with positive real balanced truncation and are described in section 7.5.4, and the third is described in section 11.3.3.
Problem 54. Consider the SISO system of order n, where A is diagonal with , as th entry, while B = C with th entry equal to 1. For n = 10 write the solution of the Lyapunov equations explicitly. Then use the sign iteration method; how many iterations are needed for the 2-error between the two expressions to drop below machine precision? Then, reduce the system to order k = 2, and compare balanced truncation and Lanczos approximation by taking as projection points the mirror image of the largest poles. Estimate the decay rate of the Hankel singular values for this example, using the decay estimate (9.7) and the decay bounds (9.8) and (9.11).
Problem 55. Given is the pair (A, b) as in (4.71) on page 81, with A stable (eigenvalues in the left-half plane). Furthermore, let 1 1 s V ( s) = . where A (s) = det (sI A). A (s) . . 1 s Show that the associated reachability gramian P R , that is the solution of the Lyapunov equation AP + P A + bb = 0, can be expressed as follows P= 1 2
V(i )V (i ) d.
With the notation as in (4.71), verify using the above formula that for = 2, the gramian is P= while for = 3, the gramian is 1 P= 2q0 (q2 q1 q0 ) q2 0 q0 0 q0 0 q0 0 . q0 q1 1 2q0 q1 1 0 0 q0 ,
Notice that the conditions for positive deniteness of the gramian are equivalent with the Routh conditions for stability of the polynomial A .
i i
ACA :
i i
i i 357 Problem 56. [354] Let the triple (C, A, B) be minimal with A stable. Let X satisfy the Riccati equation A X + X A + C C
2
X BB X = 0,
where is a positive number. Denote by X + > 0, X < 0, the two extremal solutions of this equation. Show that lim X + = Q, lim
0 2 0
X = P 1 ,
where P , Q are the reachability, observability gramians of the give triple, respectively. (s) = 1 can be obtained by the Problem 57. This problem has to do with condition (11.12) on page 290. Show that H s 1 rational Krylov procedure from H(s) = sn for n = 3 but not for n = 2. Furthermore prove (11.12) in the general case.
Problem 58. Consider a closed curve in the plane described parametrically as x = f (t), y = g (t), where t is a real parameter belonging to the interval [a, b]. It can be shown that the area A enclosed by this curve is give by A= 1 2
b
g (t)
a
First show that the area A enclosed by the Nyquist plot of a single-input single-output system with transfer function d H(i ): H(s), is given by half the integral of the imaginary part of the expression H(i ) d A= 1 2
I m H(i )
d H(i ) d. d
Consequently, verify proposition 5.8 for the Butterworth lter given in example 5.3.1.
Problem 59. Show that the square root algorithm for solving the Lyapunov equation described in section 6.3.3, holds in the case that the solution P is semi-denite, i.e. it has zero eigenvalues.
Problem 60. Show that if the pair of matrices (A, B), with A Rnn , B Rnm , is reachable, the geometric multiplicity of the eigenvalues of A is at most m. Therefore, if this pair is reachable, m = 1, and A has a multiple eigenvalue, it corresonds to a Jordan block. Another way of saying this is that the smallest number of input channels m needed to ensure reachability given A, is equal to the largest geometric multiplicity of the eigenvalues of A.
ACA
i i i
i i
ACA :
i i
i i
Bibliography
[1] V.M. Adamjan, D.Z. Arov, and M.G. Krein, Analytic properties of Schmidt pairs for a Hankel operator and the generalized Schur-Takagi problem, Math. USSR Sbornik, 15: 31-73 (1971). [2] V.M. Adamjan, D.Z. Arov, and M.G. Krein, Innite block Hankel matrices and related extension problems, American Math. Society Transactions, 111: 133-156 (1978). [3] K. Afanasiev and M. Hinze, Adaptive control of a wake ow using proper orthogonal decomposition, Reprint 648, Dept. of Mathematics, Technical University Berlin (1999). [4] H. Aling, S. Banerjee, A.K. Bangia, V. Cole, J.L. Ebert, A. Emami-Naeini, K.F. Jensen, I.G. Kevrekidis, and S. Shvartsman, Nonlinear model reduction for simulation and control of rapid thermal processing, Proc. 1997 American Control Conference ACC, pages 2233-2238 (1997). [5] T. Amdeberhan and D. Zeilberger, Determinants through the looking glass, Adv. Applied Mathematics, 27: 225-230 (2001). [6] B.D.O. Anderson and S. Vongpanitlerd, Network analysis and synthesis, Prentice Hall, Englewood Cliffs NJ (1973). [7] E. Anderson, Z. Bai, C. Bischof, S. Blackford, J. Demmel, J. Dongarra, J. Du Croz, A. Greenbaum, S. Hammarling, A. McKenney, D. Sorensen, LAPACK Users Guide, SIAM, Philadelphia, 3rd Edition (1999). http://www.netlib.org/lapack/lug/lapack lug.html [8] A.C. Antoulas, On canonical forms for linear constant systems, Int. J. Control, 33: 95-122 (1981). [9] A.C. Antoulas, On recursiveness and related topics in linear systems, IEEE Trans. Automatic Control, AC-31: 1121-1135 (1986). [10] A.C. Antoulas and R.H. Bishop, Continued fraction decomposition of linear systems in the space state, Systems and Control Letters, 9: 43-53 (1987). [11] A.C. Antoulas, Recursive modeling of discrete-time series, in P.M. Van Dooren and B.F. Wyman editors, IMA volume on Linear Algebra for Control, pp. 122, (1993). [12] A.C. Antoulas and J.C. Willems, A behavioral approach to linear exact modeling, IEEE Trans. Automatic Control, AC-38: 1776-1802, (1993). [13] A.C. Antoulas, On the approximation of Hankel matrices, in Operators, Systems, and Linear Algrebra, Edited by U. Helmke, D. Pr atzel-Wolters, and E. Zerz, pages 17-22, Teubner Verlag, Stuttgart (1997). [14] A.C. Antoulas, Approximation of linear operators in the 2-norm,Linear Algebra and its Applications, Special Issue on Challenges in Matrix Theory, (1998). [15] A.C. Antoulas and J.C. Willems, Minimal rational interpolation and Pronys method, Lectrure Notes in Control and Information Sciences, 144: 297-306 (1990). [16] A.C. Antoulas, E.D. Sontag and Y. Yamamoto, Controllability and Observability, in the Wiley Encyclopedia of Electrical and Electronics Engineering, edited by J.G. Webster, volume 4: 264-281 (1999). 359 i i i i
i i 360 Bibliography
[17] A.C. Antoulas, Approximation of linear dynamical systems, in the Wiley Encyclopedia of Electrical and Electronics Engineering, edited by J.G. Webster, volume 11: 403-422 (1999). [18] A.C. Antoulas, On eigenvalues and singular values of linear dynamical systems, Proceedings of the Householder XIV Symposium, Chateau Whistler, BC, 14-18 June 1999, pages 8-11. [19] A.C. Antoulas and D.C. Sorensen, Lyapunov, Lanczos and inertia, Linear Algebra and Its Applications, LAA326: 137-150 (2001). [20] A.C. Antoulas, D.C. Sorensen, and S. Gugercin, A survey of model reduction methods for large-scale systems, Contemporary Mathematics, 280: 193-219 (2001). [21] A.C. Antoulas, D.C. Sorensen, and Y. Zhou, On the decay rates of the Hankel singular values, Systems and Control Letters, 46: 323-342 (2002). [22] A.C. Antoulas, J.A. Ball, J. Kang, and J.C. Willems, On the solution of the minimal rational interpolation problem, Linear Algebra and its Applications, 137/138: 511-573 (1990). [23] A.C. Antoulas and B.D.O. Anderson, State-space and polynomial approaches to rational interpolation, in Realization and Modelling in System Theory, Proc. MTNS-89, edited by M.A. Kaashoek, J.H. van Schuppen, and A.C.M. Ran, Volume I, pages 73-81 (1990). [24] B.D.O. Anderson and A.C. Antoulas, Rational interpolation and state-variable realizations, Linear Algebra and Its Applications, Special Issue on Matrix problems, 137/138: 479-509 (1990). [25] A.C. Antoulas and B.D.O. Anderson, On the scalar rational interpolation problem, IMA J. of Mathematical Control and Information, Special Issue on Parametrization problems, edited by D. Hinrichsen and J.C. Willems, 3: 61-88 (1986). [26] A.C. Antoulas and B.D.O. Anderson, On the problem of stable rational interpolation, Linear Algebra and its Applications, 122-124: 301-329 (1989). [27] A.C. Antoulas, A new result on positive real interpolation and model reduction, Systems and Control Letters (2004). [28] W.E. Arnoldi, The principle of minimized iterations in the solution of the matrix eigenproblem, Quarterly Applied Math., 9: 17-29 (1951). [29] J.A. Atwell and B.B. King, Proper orthogonal decomposition for reduced basis feedback controllers for parabolic equations, Mathematical and Computer Modelling, 33: 1-19 (2001). [30] J.A. Atwell and B.B. King, Reduced order controllers for spatially distributed systems via proper orthogonal decomposition, SIAM J. on Scientic Computing, submitted (2002). [31] Z. Bai, Krylov subspace techniques for reduced-order modeling of large-scale dynamical systems, Applied Numerical Mathematics, 43: 9-44 (2002). [32] Z. Bai, Q. Ye, Error estimation of the Pad e approximation of transfer functions via the Lanczos process, Electron. Transactions Numer. Analysis, 7: 1-17 (1998). [33] Z. Bai, P. Feldmann, and R.W. Freund, Stable and passive reduced-order models based on partial Pad e approximation via the Lanczos process, Numerical Analysis Manuscript 97-3-10, Bell Laboratories, Murray Hill (1997). [34] Z. Bai and R. Freund, A partial Pad e-via-Lanczos method for reduced order modeling, Linear Algebra and Its Applications, 332-334: 139-164 (2001). [35] Z. Bai, J. Demmel, J. Dongarra, A. Ruhe, and H. van der Vorst, Templates for the solution of algebraic eigenvalue problems: A practical guide, SIAM, Philadelphia (2000).
i i
ACA :
i i
i i Bibliography 361
[36] Z. Bai and Y. Su, Dimension reduction of second-order dynamical systems via a second-order Arnoldi method, Linear Algebra and Its Applications, to appear (2004). [37] Z. Bai, P.M. Dewilde, and R.W. Freund, Reduced-order modeling, Numerical Analysis Manuscript 02413, Bell Laboratories (2002). [38] J.A. Ball, I. Gohberg, and L. Rodman, Interpolation of rational matrix functions, Birkh auser Verlag, Basel (1990). [39] B. Bamieh and J. B. Pearson, A general framework for linear periodic systems with applications to H sampleddata control, IEEE Trans. Autom. Control, AC-37: 418435 (1992). [40] B. Bamieh and M. Dahleh, Energy amplication of channel ows with stochastic excitation, Physics of Fluids, 13: 3258-3269 (2001). [41] B. Bamieh, Distributed systems and distributed control, Invited Talk, 40th IEEE Conference on Decision and Control (2001). [42] H.T. Banks, Control and estimation in distributed parameter systems. Frontiers in applied mathematics, Vol. 11, SIAM, Philadelphia (1992). [43] R.H. Bartels and G.W. Stewart, Solution of the matrix equation AX+XB=C, Communications of the ACM, 15: 820-826 (1972). [44] J. Bastian and J. Haase, Order reduction for second order systems, Proc. 4th MATHMOD Conference, Vienna, I. Troch and F. Breitenbecker, eds., pages 418-424 (2003). [45] F.S.V. Baz an and Ph.L. Toint, Conditioning of innite Hankel matrices of nite rank, Systems and Control Letters, 41: 347-359 (2000). [46] C. Beattie, M. Embree, and J. Rossi, Convergence of restarted Krylov subspaces to invariant subspaces, Oxford University Computing Laboratory, Numerical Analysis Group Report 01/21, November 2001. [47] B. Beckermann, The condition number of real Vandermonde, Krylov and positive denite Hankel matrices, Numerische Mathematik, 85: 553-577 (2000). [48] S.C. Beeler, G.M. Kepler, H.T. Tran, and H.T. Banks, Reduced order modeling and control of thin lm growth in an HPCVD reactor, Technical Report CRSC-00-33, Center for Research in Scientic Computation, North Carolina State University, 31 pages (1999). [49] V. Belevitch, Interpolation matrices, Philips Research Reports, 25: 337-369 (1970). [50] P. Benner, E.S. Quintana-Ort , and G. Quintana-Ort` , Singular perturbation approximation for large, dense linear systems, IEEE Int. Symp. Computer-Aided Control System Design, pages 255-260 (CD-ROM), Anchorage (2000). [51] P. Benner and E.S. Quintana-Ort , Solving Stable Generalized Lyapunov Equations with the Matrix Sign Function, Numerical Algorithms, 20: 75100, (1999). [52] P. Benner, E.S. Quintana-Ort` , and G. Quintana-Ort` , PSLICOT Routines for model reduction of stable largescale systems, Proceedings of the Third NICONET Workshop on Numerical Software in Control Engineering, Louvain-la-Neuve, Belgium, January 2001, pp. 39-44. [53] P. Benner, E.S. Quintana-Ort` , and G. Quintana-Ort` , Efcient numerical algorithms for balanced stochastic truncation, Int. J. Applied Math. and Comp.Sci., 11: 1123-1150 (2001). [54] P. Benner, E.S. Quintana-Ort` , and G. Quintana-Ort` , Balanced Truncation Model Reduction of Large-Scale Dense Systems on Parallel Computers, Mathematical and Computer Modelling of Dynamical Systems, 6: 383405 (2000).
ACA
i i i
i i 362 Bibliography
[55] P. Benner, E.S. Quintana-Ort` , and G. Quintana-Ort` , Numerical Solution of Discrete Stable Linear Matrix Equations on Multicomputers, Parallel Algorithms and Applications, 17: 127-146 (2002). [56] P. Benner, E.S. Quintana-Ort` , and G. Quintana-Ort` , Parallel Algorithms for Model Reduction of Discrete-Time Systems, Intl. Journal of System Sciences, 34 319-333 (2003). [57] P. Benner, E.S. Quintana-Orti, and G Quintana-Ort` , State-space truncation methods for parallel model reduction of large-scale systems, Parallel Computing, special issue on Parallel and Distributed Scientic and Engineering Computing, 29: 1701-1722 (2003). [58] P. Benner, V. Mehrmann, V. Sima, S. Van Huffel and A. Varga, SLICOT-A Subroutine Library in Systems and Control Theory, Applied and Computational Control, Signals and Circuits, 1: 499-532 (1999). [59] P. Benner, Solving large-scale control problems, Special Issue on Numerical Awareness in Control, Control Systems Magazine, g24: 44-59 (2004). [60] P. Benner and H. Fassbender, SLICOT drives tractors!, NICONET Report 1999-2, see also NICONET Newsletter 2, pp. 17 22, Januar 1999. [61] P. Benner and H. Fassbender, An Implicitly Restarted Symplectic Lanczos Method for the Symplectic Eigenvalue Problem, SIAM Journal on Matrix Analysis and Applications, 22: 682 - 713 (2000). [62] G. Berkooz, P. Holmes, and J.L. Lumley, Coherent structures, dynamical systems and symmetry, Cambridge Monographs on Mechanics, Cambridge University Press (1996). [63] R. Byers, Solving the algebraic Riccati equation with the matrix sign function, Linear Algebra and Its Applications, 85: 267-279 (1987). [64] R. Bhatia, Matrix analysis, Graduate Texts in Mathematics 169, Springer Verlag, New York (1997). [65] V.D. Blondel and J.N. Tsitsiklis, A survey of computational complexity results in systems and control theory, Automatica, 36: 1249-1274 (2000). [66] B. Bohnhorst, A. Bunse-Gerstner and H. Fassbender, On the Perturbation Theory for the unitary Eigenproblem, SIAM Journal on Matrix Analysis and Applications, 21: 809 - 824 (2000). [67] D.L. Boley, Krylov space methods on state-space control models, Circuits, Systems, and Signal Processing, 13: 733-758 (1994). [68] R. Bott and R.J. Dufn, Impedance synthesis without transformers, Journal of Applied Physics, 20: 816 (1949). [69] A. B ottcher and B. Silbermann, Introduction to large truncated Toeplitz matrices, Springer, New York (1999). [70] S.P. Boyd and C.H. Barratt, Linear controller design: Limits of performance, Prentice Hall (1991). [71] J. Brandts, Projection methods for oversized linear algebra problems, Nieuw Archief voor Wiskunde, 5: 264277 (2000). [72] J. Brands, A comparison of subspace methods for Sylvester equations, Preprint No. 1183, Mathematics Institute, Universiteit Utrecht (2001). [73] K.E. Brenan, S.L. Campbell, and L.R. Petzold, Numerical Solution of Initial-Value Problems in DifferentialAlgebraic Equations, SIAM Series: Classics in Applied Mathematics 14 (1996). [74] N.A. Bruinsma and M. Steinbuch, A fast algorithm to compute the H -norm of a transfer function, Systems and Control Letters, 14: 287-293 (1990). [75] W.L. Brogan, Modern control theory, Prentice Hall, Upper Saddle River (1991). [76] O. Brune, Synthesis of a nite two-terminal network whose driving point impedance is a prescribed function of frequency, Journal of Mathematics and Physics, 10: 191-236 (1931).
i i
ACA :
i i
i i Bibliography 363
[77] A. Bunse-Gerstner, R. Byers, V. Mehrmann, and N.K. Nichols, Feedback design for regularizing descriptor systems, Linear Algebra and Its Applications, 299: 119-151 (1999). [78] A. Bunse-Gerstner, R. Byers and V. Mehrmann, Numerical Methods for Simultaneous Diagonalization, SIAM Journal on Matrix Analysis and Applications, 14: 927-949 (1993). [79] A. Bunse-Gerstner, Large linear systems in electromagnetic eld simulation, 2001 AMS/IMS/SIAM Summer Research Conference on Fast Algorithms in Mathematics, Engineering and Computer Science. Mount Holyoke College, August 5-9 (2001). [80] J.A. Burns, Proper orthogonal decomposition and model reduction for control, Workshop on POD and its Applications, Graz, May 25-27 (2000). [81] J.A. Burns and B.B. King, A reduced basis approach to the design of low order compensators for nonlinear partial differential systems, Journal of Vibrations and Control, 4: 297-323 (1998). [82] Y. Chahlaoui, K. Gallivan, and P.M. Van Dooren, Recursive calculation of dominant singular subspaces, SIAM J. Matrix Analysis and Applications, SIMAX-25: 445-463 (2003). [83] Y. Chahlaoui, D. Lemonnier, A. Vandendorpe, and P.M. Van Dooren, Second order balanced truncation, Linear Algebra and Its Applications, Special Issue on Dimension Reduction, to appear (2004). [84] V.-S. Chellaboina and W.M. Haddad, Is the Frobenius norm induced?, IEEE Trans. Automatic Control, AC-40: 2137-2139 (1995). [85] V.-S. Chellaboina, W.M. Haddad, D.S. Bernstein, and D.A. Wilson, Induced Convolution Norms of Linear Dynamical Systems, Math. of Control Signals and Systems MCSS 13: 216-239 (2000). [86] E. Chiprout and M.S. Nakhla, Asymptotic waveform evaluation, Kluwer, Norwell, MA (1994). [87] M.T. Chu, R.E. Funderlic, and G.H. Golub, A rank-one reduction formula and its applications to matrix factorizations, SIAM Review, 37: 512-530 (1995). [88] J.V. Clark, D. Bindel, W. Kao2, E. Zhu, A. Kuo, N. Zhou, J. Nie, J. Demmel, Z. Bai, S. Govindjee, K.S.J. Pister, M. Gu, and A. Agogino, Addressing the needs of complex MEMS design, Proc. MEMS 2002, Las Vegas, January 2002. [89] J. Cullum, A. Ruehli, and T. Zhang, A method for reduced-order modeling and simulation of large interconnect circuits and its application to PEEC models with retardation, IEEE Trans. Circuits and Systems-II: Analog and Digital Signal Processing, CAS-II: 47: 261-273 (2000). [90] B.N. Datta, Numerical methods for linear control systems design and analysis, Elsevier Academic Press, New York (2003). [91] B.N. Datta and Y. Saad, Arnoldi methods for large Sylvester-like observer matrix equations and an associated algorithm for partial spectrum assignment, Lin. Alg. Appl., vol. 154-156, pp. 225244, (1991). [92] C. de Villemagne and R.E. Skelton, Model reduction using a projection formulation, International Journal of Control, 46: 2141-2169 (1987). [93] J.W. Demmel, On condition numbers and the distance to the nearest ill-posed problem, Numerische Mathematik, 51: 251-289 (1987). [94] U.B. Desai and D. Pal, A transformation approach to stochastic model reduction, IEEE Trans. on Automatic Control, AC-29: 1097-1110 (1984). [95] C.A. Desoer and M. Vidyasagar, Feedback systems: Input-output properties, Academic Press (1975). [96] E. de Souza and S.P. Bhattacharyya, Controllability, observability and the solution of AX XB = C, Linear Algebra and its Applications, 39: 167-188 (1981).
ACA
i i i
i i 364 Bibliography
[97] A.E. Deane, I.G. Kevrekidis, G.E. Karniadakis, and S.A. Orszag, Low-dimensional models for complex geometry ows: Application to grooved channels and circular cylinders, Phys. Fluids A, 3: 2337-2354 (1991). [98] S.M. Djouadi, Comments on Is the Frobenius norm induced?, IEEE Trans. Automatic Control, TAC-48: 518519 (2003). V.-S. Chellaboina and W.M. Haddad, Authors reply, IEEE Trans. Automatic Control, TAC-48: 519-520 (2003). [99] D.L. Donoho, Unconditional bases are optimal bases for data compression and for statistical estimation, Applied and Computational Harmonic Analysis, 1: 100-115 (1993). [100] C. Eckart and G. Young, The approximation of one matrix by another of lower rank, Psychometrika, 1: 211-218 (1936). [101] N. Eichler, Mathematische Modellierung der Mechanischen Eigenschaften einer Bienenwabe, Diplomarbeit bei Prof. J. Tautz und Prof. U. Helmke, Universit at W urzburg, August 1996. [102] H. Elbern and H. Schmidt, Ozone episode analysis by four-dimensional variational chemistry data assimilation scheme, J. Geophysical Research, 106-D4: 3569-3590 (2001). [103] N. Ellner and E. Wachspress, Alternating direction implicit iteration for systems with complex spectra, SIAM J. Numer. Anal., 28: 859-870, 1991. [104] M. Embree, Private communication, 29 May 2001. [105] M. Embree and L.N. Trefethen, Generalizing eigenvalue theorems to pseudospectra theorems, SIAM J. Sci. Comput., 23: 583-590 (2001). [106] D.F. Enns, Model reduction with balanced realizations: An error bound and frequency weighted generalization, Proc. IEEE Conference on Decision and Control, 127-132 (1984). [107] Y. Fang, K.A. Loparo, and X. Feng, New estimates for solutions of Lyapunov equations, IEEE Trans. on Automatic Control, AC-42: 408-411 (1997). [108] B.F. Farrell and P.J. Ioannou, Perturbation growth and structure in time dependent ows, J. Atmos. Sci., 56: 3622-3639 (1999). [109] B.F. Farrell and P.J. Ioannou, State estimation using a reduced order Kalman Filter, J. Atmospheric Sciences, 58: 3666-3680 (2001). [110] H. Fassbender, Error Analysis of the symplectic Lanczos Method for the Symplectic Eigenvalue Problem, BIT 40:3: 471 - 496 (2000). [111] H. Fassbender, Structured linear algebra problems in control, 8th SIAM Conference on Applied Linear Algebra, Williamsburg (2003). [112] K.V. Fernando and H. Nicholson, On the structure of balanced and other principal representations of SISO systems, IEEE Trans. Automatic Control, AC-28: 228-231 (1983). [113] P. Feldmann and R.W. Freund, Efcient linear circuit analysis by Pad e approximation via the Lanczos process, IEEE Trans. Computer-Aided Design, 14: 639-649 (1995). [114] L. Fortuna, G. Nunnari, and A. Gallo, Model order reduction techniques with applications in electrical engineering, Springer-Verlag, London, New York (1992). [115] B.A. Francis, A course in H control theory, Springer Lecture Notes in Control and Information Sciences, 88 (1987). [116] R.W. Freund, Reduced-order modeling techniques based on Krylov subspaces and their use in circuit simulation, in Applied and Computational Control, Signals, and Circuits, Birkh auser, vol. 1, pp. 435-498 (1999).
i i
ACA :
i i
i i Bibliography 365
[117] R.W. Freund, Passive reduced-order modeling via Krylov subspace methods, Numerical Analysis Manuscripts No. 00-3-02, Bell Laboratories (2000). [118] P.A. Fuhrmann, Linear spaces and operators in Hilbert space, McGraw Hill (1981). [119] P.A. Fuhrmann, Duality in polynomial models with applications to geometric control theory, IEEE Transactions on Automatic Control, AC-26: 284-295 (1981). [120] P.A. Fuhrmann, A polynomial approach to Hankel norm and balanced approximations, Linear Algebra and its Applications, 146: 133-220 (1991). [121] P.A. Fuhrmann, On the Hamiltonian structure in the computation of singular values for a class of Hankel operators, H -Control Theory, Lecture Notes in Mathematics, Mosca and Pandol Ed., 1496: 250276 (1991). [122] P.A. Fuhrmann, A polynomial approach to linear algebra, Universitext, Springer Verlag, New York (1996). [123] K. Fujimoto and J.M.A. Scherpen, Nonlinear balanced realization based on the differential eigenstructure of Hankel operators, Proc. IEEE Conf. Decision and Control, Maui, December 2003. [124] K. Gallivan, E.J. Grimme, and P.M. Van Dooren, Asymptotic waveform evaluation via a restarted Lanczos method, Applied Math. Letters, 7: 75-80 (1994). [125] K. Gallivan, E. Grimme and P.M. Van Dooren, Pad e approximation of large-scale dynamic systems with Lanczos methods, Proc. 33rd IEEE Conf. on Decision and Control, (Lake Buena Vista, FL), (1994). [126] K. Gallivan, E. Grimme, and P.M. Van Dooren, A rational Lanczos algorithm for model reduction, CSRD Report No. 1411, University of Illinois at Urbana-Champaign, IL, (1995). [127] K. Gallivan, A. Vandendorpe, and P.M. Van Dooren, On the generality of multi-point Pad e approximations, Technical Report, CESAME, University of Louvain-la-Neuve, November 2001. [128] K. Gallivan, A. Vandendorpe, and P.M. Van Dooren, Sylvester equations and projection-based model reduction, Technical Report, CESAME, University of Louvain-la-Neuve, November 2001. [129] K. Gallivan, A. Vandendorpe, and P.M. Van Dooren, Model reduction via truncation: an interpolation point of view, Linear Algebra and Its Applications, to appear (2003). [130] K. Gallivan, A. Vandendorpe, and P.M. Van Dooren, Model reduction of MIMO systems via tangential interpolation, SIAM J. Matrix Analysis and Applications, to appear (2004). [131] K. Gallivan, E. Grimme, and P.M. Van Dooren, Model reduction of large-scale systems : rational Krylov versus balancing techniques, in Error Control and Adaptivity in Scientic Computing, Bulgak & Zenger Eds., C-536: 177-190 (1999). [132] K. Gallivan and P.M. Van Dooren, Rational approximations of pre-ltered transfer functions via the Lanczos algorithm, Numerical Algorithms, 20: 331-342 (1999). [133] F.R. Gantmacher, The theory of matrices, Volume I and Volume II, Chelsea Publishing Company, New York (1959). [134] W. Gawronski and J.-N. Juang, Model reduction in limited time and frequency intervals, Int. J. Systems Science, 21: 349-376 (1990). [135] W. Gawronski, Balanced control of exible structures, Springer Verlag (1996). [136] Y.V. Genin and S.Y. Kung, A two-variable approach to the model reduction problem with Hankel norm criterion, IEEE Trans. Circuits and Systems, CAS-28: 912-924 (1981). [137] Y. Genin, A. Vandendorpe, and P.M. Van Dooren, Projection and embedding of rational transfer functions, Proc. SIAM Conference on Applied Linear Algebra (LA03), Williamsburg, July 2003.
ACA
i i i
i i 366 Bibliography
[138] K. Glover, All optimal Hankel-norm approximations of linear multivariable systems and their L -error bounds, International Journal of Control, 39: 1115-1193 (1984). [139] K. Glover, Multiplicative approximation of linear multivariable systems with L error bounds, Proc. American Control Conference ACC, pp. 1705-1709 (1986). [140] K. Glover, R.F. Curtain, and J.R. Partington, Realisation and approximation of linear innite dimesional systems with error bounds, SIAM J. Control and Optimization, 26: 863-898 (1988). [141] S.K. Godunov, Modern aspects of linear algebra, Translations of Mathematical Monographs, volume 175, American Math. Society, Providence (1998). [142] I. Gohberg and I. Koltracht, Triangular factors of Cauchy and Vandermonde matrices, Integral Equations and Operator Theory, 46: 46-59 (1996). [143] G.H. Golub and C.F. Van Loan, Matrix computations, The Johns Hopkins University Press, 3rd Edition, Baltimore (1996). [144] G.H. Golub and J.M. Varah, On the characterization of the best 11: 472-479 (1974).
2 -scaling
[145] W.B. Gragg and A. Lindquist, On the partial realization problem, Linear Algebra and Its Applications, Special Issue on Linear Systems and Control, 50: 277-319 (1983). [146] M. Green, Balanced stochastic realizations, Linear Algebra and Its Applications, 98: 211-247 (1988). [147] M. Green, A relative-error bound for balanced stochastic truncation, IEEE Trans. on Automatic Control, AC33: 961-965 (1988). [148] M. Green and D.J.N. Limebeer, Linear robust control, Prentice Hall (1995). [149] A. Greenbaum, Iterative methods for solving linear systems, Frontiers in Applied Mathematics 17, SIAM, Philadelphia (1997). [150] A. Greenbaum, Using the Cauchy integral formula and partial fractions decomposition of the resolvent to estimate f (A) , Technical Report, Dept. of Mathematics, University of Washington, Seattle, 17 pages (2000). [151] E.J. Grimme, Krylov projection methods for model reduction, Ph.D. Thesis, ECE Dept., U. of Illinois, UrbanaChampaign, (1997). [152] E.J. Grimme, D.C. Sorensen, and P.M. Van Dooren, Model reduction of state space systems via an implicitly restarted Lanczos method, Numerical Algorithms, 12: 1-31 (1995). [153] E. Grimme, K. Gallivan, and P.M. Van Dooren, On some recent developments in projection-based model reduction, ENUMATH-97, pages 98-113 (1998). [154] T. Gudmundsson, A. J. Laub, Approximate solution of large sparse Lyapunov equations, IEEE Trans on Automatic Control, AC-39: 1110-1114 (1994). [155] S. Gugercin and A. C. Antoulas On the Cyclic low-rank Smith method for large scale Lyapunov and Sylvester Equations, submitted to the 40th CDC, December 2001. [156] S. Gugercin, Projection methods for model reduction of large-scale systems, PhD Thesis, ECE Department, Rice University (2003). [157] S. Gugercin, D.C. Sorensen, and A.C. Antoulas, A modied low-rank Smith method for large-scale Lyapunov equations, Numerical Algorithms, 32: 27-55 (2003). [158] S. Gugercin and A.C. Antoulas, Model reduction of large scale systems by least squares, Linear Algebra and Its Applications, Special Issue on Dimension Reduction, to appear (2004).
i i
ACA :
i i
i i Bibliography 367
[159] S. Gugercin and A.C. Antoulas, A survey of model reduction by balanced truncation and some new results, Int. J. Control, (2004). [160] M.D. Gunzburger and J.S. Petersen, The reduced basis method in control problems, Computation and Control III, Birkh auser, pages 211-218 (1993). [161] M.H. Gutknecht, The Lanczos process and Pad e approximation, Proc. Cornelius Lanczos Intl. Centenary Conference, edited by J.D. Brown et al., pages 61-75, SIAM, Philadelphia (1994). [162] J. Hahn and T.F. Edgar, An improved method for nonlinear model reduction using balancing of empirical gramians, Computers and Chemical Engineering, 26: 1379-1397 (2002). [163] J. Hahn, T.F. Edgar, and W. Marquardt, Controllability and observability covariance matrices for the analysis and order reduction of stable nonlinear systems, J. Process Control, 13: 115-127 (2003). [164] S.J. Hammarling, Numerical solution of the stable, non-negative denite Lyapunov equation, IMA J. Numerical Analysis, 2: 303-323 (1982). [165] B. Hanzon, The area enclosed by the (oriented) Nyquist diagram and the Hilbert-Schmidt-Hankel norm of a linear system, IEEE Trans. Automatic Control, AC-37: 835-839 (1992). [166] B. Hanzon and R.L.M. Peeters, A Fadeev sequence method for solving Lyapunov and Sylvester equations, Linear Algebra and Its Applications, 241-243: 401-430 (1996). [167] M.T. Heath, A.J. Laub, C.H. Paige, and R.C. Ward, Computing the singular value decomposition of a product of two matrices, SIAM J. Sci. Stat. Computing, 7: 1147-1159 (1986). [168] A.W. Heemink, M. Verlaan, and A.J. Segers, Variance reduced ensemble Kalman lter, Report 00-03, Department of Applied Mathematical Analysis, Delft University of Technology (2000). [169] N.J. Higham, Matrix nearness problems and applications, in Applications of Matrix Theory, M.J.C. Gover and S. Barnett, eds., Oxford University Press, Oxford (1989). [170] N.J. Higham, Perturbation theory and backward error for AX XB = C , BIT 33: 124-136 (1993). [171] N.J. Higham, Accuracy and stability of numerical algorithms, Second Edition, SIAM, Philadelphia (2002). [172] N.J. Higham, M. Konstantinov, V. Mehrmann, and P. Petkov, Sensitivity of computational control problems, Special Issue on Numerical Awareness in Control, Control Systems Magazine, 24: 28-43 (2004). [173] D. Hinrichsen and A.J. Pritchard, An improved error estimate for reduced-order models of discrete-time systems, IEEE Transactions on Automatic Control, AC-35: 317-320 (1990). [174] M. Hinze and K. Kunisch, Three control methods for time-dependent uid ow, Flow, Turbulence and Combustion, 65: 273-298 (2000). [175] M. Hochbruck and G. Starke, Preconditioned Krylov subspace methods for Lyapunov matrix equations, SIAM J. Matrix Analysis and Applications, SIMAX-16: 156-171 (1995). [176] A. Hodel, K. Poolla, B. Tenison, Numerical solution of the Lyapunov equation by approximate power iteration, Linear Algebra Appl., 236: 205-230 (1996) [177] K. Hoffman, Banach spaces of analytic functions, Prentice Hall (1962). [178] K. Horiguchi, T. Nishimura, and A. Nagata, Minimal realizations interpolating rst and second order information, International Journal of Control, 52: 389-704 (1990). [179] L.W. Horowitz, S. Walters, D.L. Mauzerall, L.K. Emmons, P.J. Rasch, C. Granier, X. Tie, J.-F. Lamarque, M.G. Schultz, G.S. Tyndall, J.J. Orlando, and G.P. Brasseur, A global simulation of tropospheric ozone and related tracers: Description and evaluation of MOZART, version 2, Submitted to Journal of Geophysical Research, August 16, 2002; Revised and resubmitted: November 2, 2002; May 10, 2003.
ACA
i i i
i i 368 Bibliography
[180] A. Horn, On the eigenvalues of a matrix with prescribed singular values, Proc. Amer. Math. Soc., 5: 4-7 (1954). [181] R.A. Horn and C.R. Johnson, Matrix analysis, Cambridge University Press, Cambridge (1985). [182] R.A. Horn and C.R. Johnson, Topics in matrix analysis, Cambridge University Press, Cambridge (1991). [183] J. Hu, A study of discrete-time, linear, periodic, time-varying systems, Department of Electrical and Computer Engineering, Rice University, MS Thesis (2003). [184] D. Hu and L. Reichel, Krylov-subspace methods for the Sylvester equation, Linear Alg. and Appl., 172, 283313, (1992). [185] L. Hubert, J. Meuleman, and W. Heiser, Two purposes for matrix factorization: A historical appraisal, SIAM Review, 42: 68-82 (2000). [186] IEEE Standard for oating point arithmetic, ANSI/IEEE Standard 745-1985, Institute of Electrical and Electronics Engineers, New York (1985). [187] I. Jaimoukha and E. Kasenally, Krylov Subspace methods for solving Large Lyapunov Equations, SIAM J. Numer. Anal., 31: 227-251 (1994) [188] I.M. Jaimoukha, E.M. Kasenally, Implicitly restarted Krylov subspace methods for stable partial realizations, SIAM J. Matrix Anal. Appl., 18: 633-652 (1997). [189] I. Jonsson and B. K agstr om, Recursive blocked algorithms for solving triangular systems, Part I: One-sided and coupled Sylvester-type matrix equations. Part II: Two-sided and generalized Sylvester and Lyapunov equations, ACM Transactions on Mathematical Software, 28: 392-415 and 416-435 (2002). [190] B. K agstr om, P. Johansson, and E. Elmroth, Bounds on the distance between nearby Jordan and Kronecker structures in a closure hierarchy, Proc. SIAM Conference on Applied Linear Algebra, Raleigh, October 2000. [191] T. Kailath, Linear systems, Prentice Hall (1980). [192] R.E. Kalman, P.L. Falb, and M.A. Arbib, Topics in mathematical system theory, McGraw Hill (1969). [193] R.E. Kalman, On partial realizations, transfer functions, and canonical forms, Acta Polyt. Scand. Ma., 31: 9-32 (1979). [194] M. Kamon, F. Wang, and J. White, Generating nearly optimally compact models from Krylov-subspace based reduced-order models, IEEE Trans. Circuits and Systems-II: Analog and Digital Signal Processing, CAS-II: 47: 239-248 (2000). [195] O. Kaneko and P. Rapisarda, Recursive exact H identication from impulse-response measurements, Systems and Control Letters (2003). [196] M. Karow, Private communication, February 2003. [197] A. Katavolos, Introduction to operator theory, Lecture Notes, Department of Mathematics, University of Athens, December 2000 (in Greek). [198] C. Kenney and A.J. Laub, The matrix sign function, IEEE Trans. Automaric Control, TAC-40: 1330-1348 (1995). [199] G.M. Kepler, H.T. Tran, and H.T. Banks, Reduced order model compensator control of species transport in a CVD reactor, Technical Report CRSC-99-15, Center for Research in Scientic Computation, North Carolina State University, 22 pages (1999). [200] G.M. Kepler, H.T. Tran, and H.T. Banks, Compensator control for chemical vapor deposition lm growth using reduced order design models, Technical Report CRSC-99-41, Center for Research in Scientic Computation, North Carolina State University, 29 pages (1999).
i i
ACA :
i i
i i Bibliography 369
[201] S.W. Kim, B.D.O. Anderson and A.G. Madievski, Error bound for transfer function order reduction using fequency weighted balanced truncation, Systems and Control Letters, 24: 183-192 (1995). [202] S.-Y. Kim, N. Gopal, and L.T. Pillage, Time-domain macromodels for VLSI interconnect analysis, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 13: 1257-1270 (1994). [203] B.B. King and E.W. Sachs, Optimization Techniques for Stable Reduced Order Controllers for Partial Differential Equations, in Optimal Control: Theory, Algorithms, and Applications, W.W. Hager and P. Pardalos eds., pages 278-297, Kluwer (1998). [204] B.B. King and E.W. Sachs, Semidenite programming techniques for reduced order systems with guaranteed stability margins, Computational Optimization and Applications, 17: 37-59 (2000). [205] L. Knockaert and D. De Zutter, Passive reduced order multiport modeling: The Pad e-Laguerre, Krylov-Arnoldi SVD connection, Int. J. Electron. Commun., AEU-53 : 254-260 (1999). [206] L. Knockaert, B. De Backer, and D. De Zutter, SVD compression, unitary transforms, and computational complexity, Technical Report, INTEC, University of Gent (2002). [207] L. Knockaert and D. De Zutter, Stable Laguerre-SVD reduced-order modeling, IEEE Trans. Circuits and Systems-I: Fundamental Theory and Applications, 50: 576-579 (2003). [208] P. Kokotovic, R. OMalley, and P. Sannuti, Singular perturbations and order reduction in control theory - an overview, Automatica, 12: 123-132 (1976). [209] L. Komzsik, The Lanczos method: Evolution and application, Book Series: Software, Environments, and Tools, SIAM, Philadelphia (2003). [210] M.M. Konstantinov, P.Hr. Petkov, D.W. Gu, and V. Mehrmann, Perturbation theory for general Lyapunov equations, Technical Report, TU Berlin, submitted (2001). [211] D. Kressner, Large periodic Lyapunov equations: Algorithms and Applications, Technical report, Institut f ur Mathematik, Technische Universit at Berlin (2003). [212] K. Kunisch and S. Volkwein, Control of Burgers equation by a reduced order approach using proper orthogonal decomposition, Journal on Optimization Theory and Applications, 102: 345-371 (1999). [213] K. Kunisch and S. Volkwein, Galerkin proper orthogonal decomposition metods for parabolic problems, Numerische Mathematik, 90: 117-148 (2001). [214] W. Kwon, Y. Moon, S. Ahn, Bounds in algebraic Riccati and Lyapunov equations: A survey and some new results, Inter. J. Control, 64: 377-389 (1996). [215] S. Lall, J.E. Marsden, and S. Glavaski, Empirical model reduction of controlled nonlinear systems, Technical Report CIT-CDS-98-008, California Institute of Technology, (1998); also: Proc. IFAC World Congress, Beijing, Vol F, pages 473-478 (1999). [216] S. Lall, J.E. Marsden, and S. Glavaski, A subspace approach to balanced truncation for model reduction of nonlinear control systems, Intl. J. Robust and Nonlinear Control, 12: 519-535 (2002). [217] S. Lall and C. Beck, Error-bounds for balanced model-reduction of linear time-varying systems, IEEE Trans. on Automatic Control, TAC-48: 946- 956 (2003). [218] J. Lam and B.D.O. Anderson, L1 impulse response error bound for balanced truncation, Systems and Control Letters, 18: 129-138 (1992). [219] P. Lancaster, Explicit solutions of matrix equations, SIAM Review, 12: 544-566 (1970). [220] P. Lancaster and M. Tismenetsky, The theory of matrices, Academic Press (1985).
ACA
i i i
i i 370 Bibliography
[221] C. Lanczos, An iteration method for the solution of the eigenvalue problem of linear differential and integral operators, J. Research Nat. Bureau Standards, 45: 255-282 (1950). [222] C. Lanczos, Solution of systems of linear equations by minimized iterations, J. Research Nat. Bureau Standards, 49: 33-53 (1952). [223] V. Larin and F. Aliev, Construction of square root factor for solution of the Lyapunov matrix equation, Systems and Control Lett., 20: 109-112 (1993). [224] A.J. Laub, M.T. Heath, C.C. Paige, and R.C. Ward, Computation of system balancing transformations and other applications of simultaneous diagonalization algorithms, IEEE Trans. Automatic Control, AC-32: 115121 (1987). [225] P.D. Lax, Linear Algebra, Pure and Applied Mathematics, John Wiley and Sons Inc, New York (1997). [226] R.B. Lehoucq and A.G. Salinger, Large-scale eigenvalue calculations for stability analysis of steady ows on massively parallel computers, Int. J. Numer. Meth. Fluids, 36: 309-327 (2001). [227] R.B. Lehoucq, D.C. Sorensen, and C. Yang, ARPACK users guide: solution of large scale eigenvalue problems with implicitly restarted Arnoldi methods, SIAM, Philadelphia, (1998). (Software available at http://www.caam.rice.edu/software/ARPACK) [228] J. Li, F. Wang, J. White, An efcient Lyapunov equation-based approach for generating reduced-order models of interconnect, Proc. 36th IEEE/ACM Design Automation Conference, New Orleans, LA, (1999). [229] C.-A. Lin and T.-Y. Chiu, Model reduction via frequency weighted balanced realization, Control Theory and Advanced Technology, 8: 341-351 (1992). [230] Y. Liu and B.D.O. Anderson, Singular perturbation approximation of balanced systems, Int. J. Control, 50: 1379-1405 (1989). [231] E.N. Lorenz, Empirical orthogonal functions and statistical weather prediction, Scientic Report No. 1, Statistical Forecasting Project, MIT (1956). [232] T.A. Lypchuk, M.C. Smith and A. Tannenbaum, Weighted sensitivity minimization: General plants in H and rational weights, Linear Algebra Appl., 109: 7190 (1988). [233] A.W. Marshall and I. Olkin, Inequalities: Theory of majorization and its applications, Mathematics in Science and Engineering, Volume 143, Academic Press, New York (1979). [234] A.J. Mayo and A.C. Antoulas, A behavioral approach to positive real interpolation, Journal of Mathematical and Computer Modelling of Dynamical Systems (MCMDS), Special Issue on Behaviors, H.L. Trentelman and P. Rapisarda, Editors, (2003). [235] MCNC: Sparse-Matrix Operator Kernel Emissions (SMOKE) Operating System (1998). Available from http://envpro.mcnc.org/products/smoke/ [236] K. Meerbergen, Model Reduction techniques for parametrized linear systems arising from vibro-acoustics, SIAM Conference on Linear Algebra in Signal Systems and Control, Boston, August 13-15 (2001). [237] V. Mehrmann and H. Xu, Numerical Methods in Control, Journal of Computational a nd Applied Mathematics, 123: 371-394 (2000). [238] J. Meinguet, On the Glover concretization of the Adamjan-Arov-Krein approximation theory, in Modelling, Identication, and Robust Control, C.I. Byrnes and A. Lindquist Editors, pages 325-334 (1986). [239] C.D. Meyer, Matrix analysis and applied linear algebra, SIAM Press, 2000. [240] D.G. Meyer and S. Srinivasan, Balancing and model reduction for second-order form linear systems, IEEE Trans. on Automatic Control, AC-41: 1632-1644 (1996).
i i
ACA :
i i
i i Bibliography 371
[241] L. Mirsky, Symmetric gauge functions and unitarily invariant norms, Quarterly J. Math., 11: 50-59 (1960). [242] C.B. Moler and C.F. Van Loan, Nineteen dubious ways to compute the exponential of a matrix, Twenty-ve years later, original article in SIAM Review, 20: 801-836 (1978); updated version in SIAM Review, 45: 3-49 (2003). [243] B.C. Moore, Principal component analysis in linear systems: Controllability, observability and model reduction, IEEE Trans. Automatic Control, AC-26: 17-32 (1981). [244] J.B. Moore, R.E. Mahoney, and U. Helmke, Numerical gradient algorithms for eigenvalue and singular value calculations, SIAM J. Matrix Anal. Appl., SIMAX (1994). [245] C.T. Mullis and R.A. Roberts, Synthesis of minimum roundoff noise xed point digital lters, Trans. on Circuits and Systems, CAS-23: 551-562 (1976). [246] I.M. Navon, Practical and theoretical aspects of adjoint parameter estimation and identiability in meteorology and oceanography, Dynamics of Atmospheres and Oceans, 27: 55-79 (1998). [247] B.R. Noack, K. Afanasiev, M. Morzynski, G. Tadmore, and F. Thiele, A hierarchy of low dimensional models for the transient and post-transient cylinder wake, J. Fluid Mechanics, 497: 335-363 (2003). [248] R.J. Ober and D. McFarlane, Balanced canonical forms for minimal systems: A normalized coprime factorization approach, Linear Algebra and Its Applications, 122-124: 23-64 (1989). [249] R.J. Ober, Balanced parametrization of classes of linear systems, SIAM J. Control and Optimization, 29: 12511287 (1991). [250] R.J. Ober and A. Gheondea, A trace formula for Hankel operators, Proc. AMS, 127: 2007-2012 (1999). [251] P.C. Opdenacker and E.A. Jonckheere, A contraction mapping preserving balanced reduction scheme and its innity norm error bounds, IEEE Trans. Circuits and Systems, CAS 35: 184-189, 1988. [252] G. Obinata and B.D.O. Anderson, Model reduction for control system design, Springer Verlag (2000). [253] Y. Ohta, Hankel singular values and vectors of a class of innite dimensional systems: exact Hamiltonian formulas for control and approximation problems, Mathematics of Control, Signals, and Systems, 12: 361375 (1999). [254] Y. Ohta, Private communication, 18 October 2000. [255] D.P. OLeary and S. Peleg, Digital image compression by outer product expansion, IEEE Trans. on Communications, 31: 441-444 (1983). [256] M. Overton, Computing with IEEE oating point arithmetic, SIAM, Philadelphia (2001). [257] A.M. Ostrowski and H. Schneider, Some theorems on the inertia of matrices, J. Math. Analysis and Applications, 4: 72-84 (1962). [258] V. Papakos, Restarted Lanczos algorithms for model reduction, Dept. of Electrical and Electronic Engineering, Imperial College, PhD Thesis (2003). [259] B.N. Parlett, The symmetric eigenvalue problem, Prentice Hall (1980). [260] B.N. Parlett, Reduction to tridiagonal form and minimal realizations, SIAM J. Matrix Anal. Appl., 13: 567-593 (1992). [261] J.R. Partington, An introduction to Hankel operators, London Mathematical Society, Student Texts, 13 (1988). [262] R.V. Patel, A. Laub, and P.M. Van Dooren, Editors, Numerical Linear Algebra Techniques for Systems and Control, IEEE Press (1993).
ACA
i i i
i i 372 Bibliography
[263] D.W. Peaceman and H.H. Rachford, The numerical solutions of parabolic and elliptic differential equations, J. SIAM, 3: 28-41 (1955). [264] R.L.M. Peeters and P. Rapisarda, A two-variable approach to solve the polynomial Lyapunov equation, Systems and Control Letters, 42: 117-126 (2001). [265] T. Penzl, Algorithms for model reduction of large dynamical systems, Technical Report SFB393/99-40, Sonderforschungsbereich 393, Numerische Simulation auf massiv parallelen Rechnern, TU Chemnitz (1999). [266] T. Penzl, Eigenvalue decay bounds for solutions of Lyapunov equations: The Symmetric Case, Systems and Control Letters, 40: 139-144 (2000). [267] T. Penzl, A cyclic low-rank Smith method for large sparse Lyapunov equations, SIAM J. Sci. Comput., 21: 1401-1418 (2000). [268] J.E. Perkins, U. Helmke, and J.B. Moore, Balanced realizations via gradient ows, Systems and Control Letters, 14: 369-380 (1990). [269] L.T. Pillage and R.A. Rohrer, Asymptotic waveform evaluation for timing analysis, IEEE Trans. Comp. Aided Design, 9: 352-366 (1990). [270] J.W. Polderman and J.C. Willems, Introduction to mathematical systems and control: A behavioral approach, Text in Applied Mathematics, 26, Springer Verlag (1998). [271] P. Rapisarda and J.C. Willems, The subspace Nevanlinna interpolation problem and the most powerful unfalsied model, Systems and Control Letters, 32: 291-300 (1997). [272] P. Rapisarda and J.C. Willems, State maps for linear systems, SIAM Journal on Control and Optimization, 35: 1053-1091 (1997). [273] M. Rathinam and L. Petzold, A new look at proper orthogonal decomposition, Technical Report, Computational Sciences and Engineering, University of California, Santa Barbara (2001). [274] J.D. Roberts, Linear model reduction and solution of the algebraic Riccati equation by use of the sign function, Intl. J. Control, 32: 677-687 (1980). [275] T.D. Romo, J.B. Clarage, D.C Sorensen, and G.N. Phillips Jr., Automatic identication of discrete substates in proteins: Singular value decomposition analysis of time-averaged crystallographic renements, Proteins: Structure, Function, and Genetics, 22: 311-321 (1995). [276] W.E. Roth, The equation AX Y B = C and AX XB = C in matrices, Proc. Amer. Math. Soc., 3: 392-396 (1952). [277] C.W. Rowley, T. Colonius, and R.M. Murray, Model reduction of compressible ows using POD and Galerkin projection, Physica D, to appear (2003). [278] E.B. Rudnyi and J.G. Korvink, Review: Automatic model reduction for transient simulation of MEMS-based devises, Sensors Update, 11: 3-33 (2002). [279] A.E. Ruehli and A. Cangellaris, Progress in the Methodologies for the Electrical Modeling of Interconnets and Electronic Packages, Proceedings of IEEE, 89: 740-771 (2001). [280] W.J. Rugh, Linear system theory, Second Edition, Prentice Hall (1996). [281] A. Ruhe, Rational Krylov sequence methods for eigenvalue computation, Linear Algebra and Appl., 58: 391 405 (1984). [282] S.M. Rump, Ill-conditioned matrices are componentwise near to singularity, SIAM review, 41: 102-112 (1999). [283] M.G. Safonov and R.Y. Chiang, A Schur method for balanced truncation model reduction, IEEE Transactions on Automatic Control: 34: 729-733 (1989).
i i
ACA :
i i
i i Bibliography 373
[284] Y. Saad, Numerical solution of large Lyapunov equations, in Signal Processing, Scattering and Operator Theory, and Numerical Methods, Proc. MTNS-89, 3: 503-511, Birkh auser (1990). [285] Y. Saad, Iterative methods for large linear systems, PWS (1996). This book is available from the authors web site http://www-users.cs.umn.edu/saad/books.html. [286] H. Sandberg and A. Rantzer, Balanced truncation of linear time-varying systems, IEEE Trans. Automatic Control (2004). [287] A.J. van der Schaft, Duality for linear systems: External and state space characterization of the adjoint system, in Analysis of controlled dynamical systems, Eds. B. Bonnard et al., pages 393-403, Birkh auser, Boston (1991). [288] C. Scherer and S. Weiland, Linear matrix inequalities in control, DISC Lecture Notes, Version 3.0, October 2000. [289] E. Schmidt, Zur Theorie der linearen und nichtlinearen Intergralgleichungen, Teil I: Entwicklung willk urlicher Funktionen nach System vorgeschriebener, Mathematische Annalen, 63: 433-476 (1907). [290] P. Schwarz, Physically oriented modeling of heterogeneous systems, 3rd IMACS Symposium on Mathematical Modeling (MATHMOD), Wien, vol. 1, pages 309-318 (2000). [291] P. Schwarz and P. Schneider, Model Library and Tool Support for MEMS Simulation, in Microelectronics and MEMS Technologies, SPIE Proceedings Series, Volume 4407, Paper 2 (2001). [292] N.L. Seaman, Meteorological modeling for air quality assessments, Atmospheric Environment, 34: 2231-2259 (2000). [293] J.H. Seinfeld, and S.N. Pandis, Atmospheric chemistry and physics, J. Wiley & Sons, New York (1998). [294] B. Shapiro, Frequency weighted sub-system model truncation to minimize systems level model reduction errors, Technical Report, Dept. of Aeronautics, University of Maryland (2001). [295] S. Sherman and C.J. Thompson, Equivalences on eigenvalues, Indiana University Mathematics Journal, 21: 807-814 (1972). [296] S. Shvartsman and I.G. Kevrekidis, Nonlinear model reduction for control of distributed parameter systems, J. AIChE, 44: 1579 (1998). [297] V. Simoncini, On the numerical solution of AX XB = C, BIT, 36: 814-830 (1996). [298] L. Sirovich, Turbulence and the dynamics of coherent structures, Parts I-III, Quart. Applied Math., 45: 561-590 (1987). [299] R.E. Skelton, T. Iwasaki, and K. Grigoriadis, A unied algebraic approach to linear control system design, Taylor and Francis (1998). [300] G.L.G. Sleijpen and H.A. van der Vorst, A Jacobi-Davidson iteration method for linear eigenvalue problems, SIAM J. Matrix Anal. Appl. 17, 401-425,(1996). [301] S. Smale, Complexity theory and numerical analysis, Technical Report, Department of Mathematics, City University of Hong Kong (2000). [302] M.C. Smith, Singular values and vectors of a class of Hankel operators, Systems & Control Letters, 12: 301 308 (1989). [303] R.A. Smith, Matrix Equation, XA + BX = C , SIAM J. Appl. Math, 16: 198-201 (1968). [304] E.D. Sontag, Mathematical control theory, Springer Verlag (1990).
ACA
i i i
i i 374 Bibliography
[305] D.C. Sorensen, Implicit application of polynomial lters in a k-step Arnoldi method, SIAM J. Matrix Anal. Appl., 13: 357-385 (1992). [306] D.C. Sorensen, Lecture notes on numerical methods for large scale eigenvalue problems, Draft of Lectures delivered at the Royal Institute of Technology KTH, Stockholm, Spring 1999. [307] D.C. Sorensen, Numerical methods for large eigenvalue problems, Acta Numerica, 11: 519-584 (2002). [308] D.C. Sorensen, Numerical linear algebra, Notes for CAAM 451: a rst course in numerical analysis at the CAAM department, Rice University, Fall 2002. [309] D.C. Sorensen, Passivity preserving model reduction through interpolation of spectral zeros, Systems and Control Letters (2004). [310] D.C. Sorensen and A.C. Antoulas, The Sylvester equation and approximate balanced reduction, Linear Algebra and Its Applications, Fourth Special Issue on Linear Systems and Control, Edited by V. Blondel, D. Hinrichsen, J. Rosenthal, and P.M. Van Dooren, 351-352: 671-700 (2002). [311] D.C. Sorensen and Y. Zhou, Direct methods for matrix Sylvester and Lyapunov equations, Journal of Applied Mathematics, JAM 6: 277-304 (2003). [312] B. Srinivasan and P. Myszkorowski, Model reduction of systems with zeros interlacing the poles, Systems and Control Letters, 30: 19-24 (1997). [313] G. Starke, Optimal alternating direction implicit parameters for nonsymmetric systems of linear equations, SIAM J. Numer. Anal., 28: 129-141 (1991). [314] G.W. Stewart and J. Sun, Matrix perturbation theory, Academic Press, Boston (1990). [315] G.W. Stewart, The decompositional approach to matrix computation, in Top 10 algorithms of the 20th century, Computing in Science and Engineering, 2: 50-59 (2000). [316] D. Stroobandt, Recent advances in system-level interconnect prediction, IEEE Circuits and Systems Newsletter, 11: 4-20 (2000). [317] T. Stykel, Model reduction of descriptor systems, Technical Report 720-2001, Institut f ur Mathematik, TU Berlin (2001). [318] T. Stykel, Analysis and numerical solution of generalized Lyapunov equations, PhD Thesis, Dept. of Mathematics, TU Berlin (2002). [319] T. Stykel, Balanced truncation model reduction for semidiscretized Stokes equation, Technical Report 04-2003, Institut f ur Mathematik, TU Berlin (2003). [320] T. Stykel, Input-output invariants for descriptor systems, Pacic Institute of Mathematics, Preprint PIMS-03-1 (2003). [321] J. Tautz and K. Rohrseitz, What attracts honeybees to a waggle danser?, J. Compar. Physiol. A, 183: 661-667 (1998). [322] D. Teegarden, G. Lorenz, and R. Neul, How to model and simulate microgyroscopic systems, IEEE Spectrum, pages 66-75, July 1998. [323] R. Tempo and F. Dabbene, Randomized algorithms for analysis and control of uncertain systems: an overview, in Perspectives in Robust Control, Springer Vergal, London (2001). [324] R.C. Thompson, Matrix spectral theory, Research Conference and Lecture Series, Notes of 10 Lectures delivered at The Johns Hopkins University, June 20-24, 1988. [325] F. Tisseur and K. Meerbergen, The quadratic eigenvalue problem, SIAM Review, 43: 235-286 (2001).
i i
ACA :
i i
i i Bibliography 375
[326] L.N. Trefethen, Pseudospectra of matrices, in Numerical Analysis 1991, D.F. Grifths and G.A. Watson, eds., Longman Scientic and Technical, Harlow, UK, pages 234-266 (1992). [327] L.N. Trefethen, Computation of pseudospectra, Acta Numerica, pages 247-295 (1999). [328] L.N. Trefethen and D. Bau, III, Numerical linear algebra, SIAM, Philadelphia (1997). [329] M. van Barel and A. Bultheel, A canonical matrix continued fraction solution of the minimal realization problem, Linear Algebra and Its Applications, 122-124: 973-1002 (1990). [330] N.P. van der Meijs, Model reduction for VLSI physical verication, Technical Report, Dept. of ITS/EE, Delft University of Technology (2000). [331] A.J. van der Veen, A Schur method for low rank matrix approximation, SIAM J. Matrix Analysis and Applications, January (1996). [332] H.A. van der Vorst, Krylov subspace iteration, in Top 10 algorithms of the 20th century, Computing in Science and Engineering, 2: 32-37 (2000). [333] P.M. Van Dooren, The Lanczos algorithm and Pad e approximations, Short Course, Benelux Meeting on Systems and Control, (1995). [334] P.M. Van Dooren, Software for control systems analysis and design, singular value decomposition, in the Wiley Encyclopedia of Electrical and Electronics Engineering, edited by J.G. Webster, volume 11: 464473 (1999). [335] P.M. Van Dooren, Orthogonal matrix decompositions in systems and control, in Error Control and Adaptivity in Scientic Computing, H. Bulgak and C. Zenger Editors, pages 159-175, Kluwer (1999). [336] P.M. Van Dooren, Gramian based model reduction of large-scale dynamical systems, in Numerical Analysis 2000, pages 231-247 (2000). [337] P.M. Van Dooren, Numerical linear algebra for signals systems and control, Notes prepared for the Graduate School in Systems and Control, Universit e Catholique de Louvain, Louvain-la-Neuve, Belgium, Spring 2003. [338] P.M. Van Dooren, The basics of developing numerical algorithms, Special Issue on Numerical Awareness in Control, Control Systems Magazine, 24 18-27 (2004). [339] S. Van Huffel, V. Sima, A. Varga, S. Hammarling, and F. Delebeque, High performance numerical software for control, Special Issue on Numerical Awareness in Control, Control Systems Magazine, 24: 60-76 (2004). [340] A. Varga, Balancing-free square-root algorithm for computing singular perturbation approximations, Proc. 30th IEEE CDC, Brighton, pages 1062-1065 (1991). [341] A. Varga, Enhanced modal approach for model reduction, Mathematical Modelling of Systems 1: 91-105 (1995). [342] A. Varga, On stochastic balancing related model reduction, Proc. IEEE Conference on Decision and Control, Sydney, pp. 2385-2390 (2000). [343] A. Varga, A descriptor systems toolbox for MATLAB, Proc. IEEE International Symposium on Computer Aided Control System Design, CACSD2000, pages 150-155, Anchorage (2000). [344] A. Varga and P.M. Van Dooren, Computational methods for periodic systems - an overview, IFAC Workshop on Periodic Control Systems, pages 171-176, Como (2001). [345] A. Varga, Model reduction software in the SLICOT library, in Applied and Computational Control, Signals and Circuits, B.N. Datta ed., pages 239-282, Kluwer Academic Publishers, Boston (2001). [346] A. Varga and B.D.O. Anderson, Accuracy enhancing methods for the frequency-weighted balancing related model reduction, IEEE CDC, pages 3659-3664, Orlando (2001).
ACA
i i i
i i 376 Bibliography
[347] A. Varga, Editor, Special Issue on Numerical Awareness in Control, IEEE Control Systems Magazine, 24, Number 1, February 2004. [348] M. Verlaan, Efcient Kalman ltering algorithms for hydrodynamic models, PhD Thesis, Technische Universiteit Delft (1998). [349] S. Volkwein, Proper orthogonal decomposition and singular value decomposition, Technical Report SFB-153, Institut f ur Mathematik, Universit at Graz (1999). Appeared also as part of the authors Habilitationsschrift, Institut f ur Mathematik, Universit at Graz (2001). [350] E. Wachspress, The ADI model problem, Monograph, NA Digest vol. 96, issue 36 (1996). [351] G. Wang, V. Sreeram, and W.Q. Liu, A new frequency-weighted balanced truncation method and an error bound, IEEE Transactions on Automatic Control, AC-44: 1734-1737 (1999). [352] J.M. Wang, C.-C. Chu, Q. Yu, and E.S. Kuh, On projection-based algorithms for model-order reduction of interconnects, IEEE Trans. Circuits and Systems-I: Fundamental Theory and Applications, 49: 1563-1585 (2002). [353] J.H.M. Wedderburn, Lectures on matrices, Colloquium Publications, vol. XVII, American Mathematical Society, New York (1934); and Dover, New York (1964). [354] S. Weiland, A behavioral approach to balanced representations of dynamical systems, Third Special Issue on Systems and Control, Editors: A.C. Antoulas, M.L.J. Hautus, P.A. Fuhrmann and Y. Yamamoto, Linear Algebra and its Applications, 205-206: 12271253 (1994). [355] J.H. Wilkinson, The algebraic eigenvalue problem, Oxford University Press, Oxford (1965). [356] K. Willcox and J. Peraire, Balanced model reduction via the proper orthogonal decomposition, AIAA Journal, 40: 2323-2330 (2002). [357] J.C. Willems, Private communication, 9 February 2000. [358] J.C. Willems, Private communication, 1 June 2001. [359] J.C. Willems, Mathematical Models of Systems, IUAP Graduate Course, Catholic University of Leuven (2002). [360] J.C. Willems, Dissipative dynamical systems, Part I: General theory, Arch. Rational Mech. Anal., 45: 321-351 (1972). [361] J.C. Willems, Dissipative dynamical systems, Part II: Linear systems with quadratic supply rates, Arch. Rational Mech. Anal., 45: 352-393 (1972). [362] P.M. Wortelboer, M. Steinbuch, and O. Bosgra, Iterative model and controller reduction using closed-loop balancing, with application to a compact disc mechanism, Int. J. Robust and Nonlinear Control, 9: 123-142 (1999). [363] Y. Yamamoto, K. Hirata, and A. Tannenbaum, Some remarks on Hamiltonians and the innite dimensional one block H problem, Systems and Control Letters, 29: 111-118 (1996). [364] C. Yang, D.W. Noid, B.G. Sumpter, D.C. Sorensen, and R.E. Tuzun, An efcient algorithm for calculating the heat capacity of a large-scale molecular system, Macromolecular Theory and Simulations, 10: 756-761 (2001) [365] N.J. Young, An introduction to Hilbert space, Cambridge University Press (1988). [366] A. Yousuff, D.A. Wagie, and R.E. Skelton, Linear system approximation via covariance equivalent realizations, Journal of Math. Analysis and Applications, 106: 91-115 (1985). [367] A. Yousouff and R.E. Skelton, Covariance equivalent realizations with application to model reduction of large scale systems, in Control and Dynamic Systems, C.T. Leondes ed., Academic Press, vol. 22: 273-348 (1985).
i i
ACA :
i i
i i Bibliography 377
[368] K. Zhou and P.P. Khargonekar, On the weighted sensitivity minimization problem for delay systems, Systems & Control Letters, 8: 307312 (1987). [369] K. Zhou, Frequency-weighted L norm and optimal Hankel norm model reduction, IEEE Trans. on Automatic Control, AC-40: 1687-1699 (1995). [370] K. Zhou, with J.C. Doyle and K. Glover, Robust and optimal control, Prentice Hall (1996). [371] K. Zhou, with J.C. Doyle, Essentials of robust control, Prentice Hall (1997). [372] K. Zhou, G. Salomon, and E. Wu, Balanced realization and model reduction for unstable systems, Int. J. Robust and Nonlinear Control, 9: 183-198 (1999). [373] Y. Zhou, Numerical methods for large scale matrix equations with applications in LTI system model reduction, PhD Thesis, CAAM Department, Rice University (2002).
ACA
i i i
i i 378 Bibliography
i i
ACA :
i i
i i
Index
A AAK (Adamjan-Arov-Krein) theorem, 207 algorithms approximate balancing algorithm, 304 MIMO case, 306 case studies, 317 aluminum plate, 333 building model, 319 Butterwoth lter, 324 CD player, 321 CD player-Smith algorithms, 330 clamped beam model, 323 heat diffusion model, 321 heat distributiuon n = 20736, 335 image approximation, 317 ISS stage 12A, 328 ISS stage 1R, 326 system of order n = 1000, 331 complexity of, 338 Lanczos and Arnoldi, 271 parallelization, 4 polynomial time, 3 randomized, 4 Smith methods, 308, 310 ADI iteration, 309 cyclic Smith-l, 310 low rank ADI and cyclic Smith, 310 modied low rank Smith-l, 311, 312 modied low rank Smith-l,convergence of, 312 trapezoidal rule, and, 314 software, 339 approximation algorithms complexity of, 338 software, 339 Arnoldi and moment matching, 283 Hessenberg form, 284 by balanced truncation, 173 H2 error norm, 181 additive error bound, 178, 179 bounded real balancing, 192 canonical form, 186 continuous-time, 178 379 i i i i continuous/discrete systems, 176 discrete-time, 179 four algorithms, 183 frequency weighted balancing, 195, 197 frequency weighted balancing (gramians), 196, 199 Lyapunov balancing, 190 positive real balancing, 193 positive real balancing-error bound, 194 proof of error bound, 180 stochastic balancing, 190 stochastic balancing-multiplicative error bound, 191 time-limited balancing, 200 types of balancing, 190 unstable systems, 201 weighted balancing and Krylov, 298 by Hankel-norm approximation, 205 case studies, 317 eigenvalues of gramians decay rate bound, 239 decay rate estimate, 237 exercises, 343 Hankel singular values Cauchy kernel, 235 Cauchy matrices, 235 decay rate, 240 decay rate-numerical examples, 243 decay rates, 233 Hankel-norm approximation AAK theorem, 207 all sub-optimal solutions, 213 construction of approximants, 209 error bounds, 215 input-output construction of approximants, 209 main ingredients, 206 main result, 207 polynomial approach, 220 unitary dilation, 211 unitary dilation-optimal case, 212 unitary dilation-sub-optimal case, 212 Krylov methods, 279 generality of rational Krylov, 290 preservation of passivity, 291
i i 380 properties, 284 Lanczos and moment matching, 282 error, 284 tridiagonal form, 282 methods, 9 modal approximation, 231 moment matching, 281 moments of a function, 280 open problems, 339 projection, by, 8 projectors summary, 337 proper orthogonal decomposition (POD), 227 adjoint system, 230 empirical eigenfunctions, 228 Galerkin projection, 228 Petrov-Galerkin projection, 228 POD and balancing, 229 snapshots, 227230 special topics, 227 SVD-Krylov methods, 297 approx. balancing algorithm, 304, 306 cross gramian, 303 iterative approx. balanced reduction, 302 iterative methods, 301 Krylov and Sylvester equations, 298 least squares approximation, 299, 301 Smith methods, 308, 309 weighted balancing and Krylov, 298 truncation and residualization, 233 Arnoldi and FOM, CG, GMRES, MINRES, 268 Arnoldi method algorithm, 271 alternative way of looking at, 269 Arnoldi and FOM, CG, GMRES, MINRES, 268 eigenvalue estimation, 266 fundamental lemma, 268 implicitly restarted Arnoldi, 273 convergence, 274 moment matching, 283 Hessenberg form, 284 rational Arnoldi, 273 B Banach space, 105 behavioral framework, 56 bilinear transformation discrete-continuous systems, 75 bisection algorithm for induced 2 or H norm, 113 bounded real lemma, 141 C case studies, 317 aluminum plate, 333 building model, 319 Butterwoth lter, 324 CD player, 321 Smith algorithms, 330 clamped beam model, 323 heat diffusion model, 321 heat distributiuon n = 20736, 335 image approximation, 317 ISS stage 12A, 328 ISS stage 1R, 326 system of order n = 1000, 331 Cauchy matrices, 235 Cauchy kernel, 235 Cholesky decomposition, 27 factors, 335 Cholesky ordering, 237 circulant Toeplitz matrix, 109 condition number eigenvalues, 41 eigenvectors, 41 EVD and SVD, 40 linear system of equations, 40 matrix-vector product, 40 condition numbers, 39 continued fraction decomposition, 97 controllability, 64 distance to, 65 convolution, 53 periodic (discrete-time), 109 sum (discrete-sum), 54 convolution operator, 109 H norm, 112 2-induced norm, 112 2-induced or H norm Hamiltonian, 113 adjoint of, 111 convolution sum, 54 resolvent, 109 singular values, 109 singular values (continuous time), 110 singular values MIMO systems, 111 spectrum, 109 MIMO systems, 111 spectrum (continuous time), 110 cross gramian, 74 approximate balanced reduction, 303 approximate balancing algorithm, 304 MIMO case, 306 eigenvalues of Hankel operator, 116 D decay rates of Hankel singular values, 233, 240 Index
i i
ACA :
i i
i i Index Cauchy kernel, 235 Cauchy matrices, 235 Cholesky ordering, 237 multiplicative majorization, 240 numerical examples, 243 decompositions rank additive, 47 derivativem operator, 53 detectability, 68 dissipative systems, 133 available storage, 133 bounded real lemma, 141 dissipation inequality, 133 linear system, quadratic supply, 134 LMI, 135 positive real lemma, 137 required supply, 133 Riccati equation, 135 storage and Lyapunov functions, 133 storage function, 133 supply function, 133 distance to singularity, 45 to unobervability, 68 to unreachability, 65 duality of linear systems, 67 dynamical systems, see systems dynamics, 56 E eigenvalue computations, 255 basic Krylov iteration, 255 eigenvalue decomposition (EVD), 256 Bauer-Fike result, 257 charactristic polynomial, 256 condition numbers, 257 eigenvalue estimation Arnoldi method, 266 iterative methods, 261 iterative methods-inverse vector iteration, 262 iterative methods-Rayleigh quotient, 262 iterative methods-Rayleigh-Ritz procedure, 261 iterative methods-subspace iteration, 262 iterative methods-vector iteration, 261 Krylov methods, 263 Lanczos method, 264 eigenvalues algebraic/geometric multiplicity, 256 condition number, 258 eigenvalues/eigenvectors, 256 Jordan blocks, 256 perturbation of eigenvalues/eigenvectors, 258 pseudospectra, 259
ACA
381 eigenvalue estimation iterative methods, 261 Arnoldi method, 266 inverse vector iteration, 262 Krylov methods, 263 Lanczos method, 264 Rayleigh quotient, 262 Rayleigh-Ritz procedure, 261 subspace iteration, 262 vector iteration, 261 exercises, 343 external description, 53 Markov parameters, 58 F feedback interpretation recursive interpolation, 96 oating point arithmetic, 41 ANSI/IEEE arithmetic, 41 Fourier transform, 108 Parseval, Plancherel, Paley-Wiener relationships, 108 G Galerkin projection, 227230 generalized observability matrix, 87 generalized reachability matrix, 87 gramians Cholesky ordering, 237 closed-loop gramians, 200 cross, 74 approximate balanced reduction, 303 approximate balancing algorithm, 304 approximate balancing algorithm (MIMO case), 306 eigenvalues of Hankel operator, 116 decay rate bound of eigenvalues, 239 decay rate estimate of eigenvalues, 237 for weighted systems, 196 frequency weighted without weights, 199 Hankel singular values (continuous-time), 118 Hankel singular values (discrete-time), 117 innite, 68 innite, in frequency, 70 time-limited gramians, 200 H h2 norm, 107 h norm, 107 hp norms, 106 hp spaces, 107
i i i
i i 382 H2 norm, 107 discrete-time systems, 122 H2 norm and EVD (eigenvalue decomposition), 122 H2 norm and gramians, 121 H2 norm of system, 121 H2 , is this norm induced?, 121 Hp norms, 107 Hp spaces, 107 H norm, 107 H norm of convolution operator, 112 Hamiltonian for 2-induced or H norm, 113 for passive model reduction, 292 Hankel matrix, 77 factorization, 78 Hankel operator, and, 115 partially dened, 84 Hankel operator continuous-time, 115 discrete-time, 114 eigenvalues of, 116 crossgramian, 116 Hankel matrix, and, 115 Hilbert-Schmidt norm, 119 norm, 114, 115 singular values, 116 continuous-time, 117 discrete-time case, 117 Hankel singular values (HSV), 116 assignment of, 250 continuous-time, 117 cross gramian, and, 118 decay rates, 233, 240 Cauchy kernel, 235 Cauchy matrices, 235 multiplicative majorization, 240 nimerical examples, 243 discrete-time case, 117 lemma, 118 Hankel-norm approximation, 205 AAK theorem, 207 all sub-optimal solutions, 213 construction of approximants, 209 error bounds, 215 Hankel operator eigenvalue equation, 222 Schmidt pairs, 221 input-output construction of approximants, 209 main ingredients, 206 main result, 207 polynimial approach balanced canonical form, 225 Nehari problem, 223 polynomial approach, 220 error formulae, 226 Hankel operator and SVD, 220 unitary dilation, 211 unitary dilation-optimal case, 212 unitary dilation-sub-optimal case, 212 Hardy norms frequency domain, 125 Hilbert space, 105 Hilbert-Schmidt norm, 118 operator, 119 homework assignments, 343 I implicitly restarted Arnoldi method (IRAM), 273 convergence, 274 impulse , 55 impulse response, 58 induced 2 norm of convolution operator, 112 induced 2 or H norm bisection algorithm, 113 induced norms and non-induced norms of convolution operator, 126 convolution, Hankel operators, 123 (p, q ) Lebesgue spaces, 124 (p, q ) norms, 124 equi-induced norms, 124 mixed-induced norms, 124 spatial norm, 124 temporal norm, 124 inertia denition, 157 iterative proof of, 161 Lyapunov equations, and, 157 Sylvester law of, 157 input, 53 input energy, 62 interlacing, 48 internal description, 53, 56 iterative approximation approximate balanced reduction, 302 algorithm, 304, 306 cross gramian and, 303 Smith methods, 308, 310 ADI iteration, 309 cyclic Smith-l, 310 low rank ADI and cyclic Smith, 310 modied low rank Smith-l, 311, 312 modied low rank Smith-l,convergence of, 312 trapeziodal rule, and, 314 SVD-Krylov methods, 301 Index
i i
ACA :
i i
i i Index K kernel (weighting pattern), 55 Krylov methods eigenvalue estimation, 263 Arnoldi method, 266 convergence of Lanczos method, 265 Lanczos method, 264 motivation, 263 generality of rational Krylov, 290 implicitly restarted Arnoldi method, 273 preservation of passivity, 291 rational Arnoldi method, 273 rational Krylov methods, 272 Krylov subspace, 60 Krylov, basic iteration, 255 L spaces inner product, 108 time domain, 108 p norms, 106 p spaces, 106 L2 norm of impulse response, 121 L2 spaces inner product, 108 time domain, 108 Lp norms, 106 frequency domain, 107 Lp spaces, 106 frequency domain, 107 Lagrange polynomial, 85 Lanczos method algorithm, 271 eigenvalue estimation, 264 convergence of, 265 moment matching, 282 continued fractions, 285 error, 284 tridiagonal form, 282 properties, 270 three-term recurrence, 270 two-sided Lanczos, 270 LAPACK software, 46 Laplace transform, 55 Laurent operator, 54, 109 least squares problem, 38, 48 least squares system approximation, 299 moment matching, 301 Pronys method, 301 Lebesgue norms, frequency domain, 125 spaces, time domain, 106
2
ACA
383 Linear Matrix Inequality(LMI) dissipative systems, 135 L owner matrix, 85, 87 LU decomposition, 27, 262, 272, 282, 289 Lyapunov and Sylvester equations, 145 algorithms, 165 Bartels-Stewart algorithm, 159 characteristic polynomial methods, 150 complex integration method, 147 eigenvalue/eigenvector method, 148 generalized reachability/observability matrices, 150 Hammarling algorithm, 162 in Schur basis, 159 inertia, 157 invariant subspace method, 153 Kronecker product method, 146 numerical issues condition number of solutions, 168 forward/backward stability, 167 sign function method, 154 square root method, 162 triangular coefcients, 159 Lyapunov equation continuous-time, 69 discrete-time (Stein), 70 Schur basis, 160 iterative proof of inertia, 161 sign function, and the, 154 M majorization and interlacing, 48 Markov parameters, 55, 58 matrix exponential, 57 formula, 62 matrix theory, 27 big six matrix decompositions, 27 Cholesky decomposition, 27 eigenvalue computations, 255 Jordan blocks, 256 LU decomposition, 27, 262, 272, 282, 289 norms of vectors and matrices, 28 QR decomposition, 27, 256, 261, 263, 269, 274, 283 Schur decomposition, 27, 261, 263 McMillan degree, 82, 86 modal approximation, 231 model reduction algorithms complexity of, 338 software, 339 Arnoldi and moment matching, 283 Hessenberg form, 284
April 14, 2004
i i i
i i 384 by balanced truncation, 173 H2 error norm, 181 additive error bound, 178, 179 bounded real balancing, 192 canonical form, 186 continuous-time, 178 continuous/discrete systems, 176 discrete-time, 179 four algorithms, 183 frequency weighted balancing, 195, 197 frequency weighted balancing (gramians), 196, 199 Lyapunov balancing, 190 positive real balancing, 193 positive real balancing-error bound, 194 proof of error bound, 180 stochastic balancing, 190 stochastic balancing-multiplicative error bound, 191 time-limited balancing, 200 types of balancing, 190 unstable systems, 201 weighted balancing and Krylov, 298 by Hankel-norm approximation, 205 case studies, 317 eigenvalues of gramians decay rate bound, 239 decay rate estimate, 237 exercises, 343 Hankel singular values Cauchy kernel, 235 Cauchy matrices, 235 decay rate, 240 decay rate-numerical examples, 243 decay rates, 233 Hankel-norm approximation AAK theorem, 207 all sub-optimal solutions, 213 construction of approximants, 209 error bounds, 215 input-output construction of approximants, 209 main ingredients, 206 main result, 207 polynomial approach, 220 unitary dilation, 211 unitary dilation-optimal case, 212 unitary dilation-sub-optimal case, 212 Krylov methods, 279 generality of rational Krylov, 290 preservation of passivity, 291 properties, 284 Lanczos and moment matching, 282 error, 284 Index tridiagonal form, 282 modal approximation, 231 moment matching, 281 moments of a function, 280 open problems, 339 projectors summary, 337 proper orthogonal decomposition (POD), 227 adjoint system, 230 empirical eigenfunctions, 228 Galerkin projection, 228 Petrov-Galerkin projection, 228 POD and balancing, 229 snapshots, 227230 special topics, 227 SVD-Krylov methods, 297 approx. balancing algorithm, 304, 306 cross gramian, 303 iterative approx. balanced reduction, 302 iterative methods, 301 Krylov and Sylvester equations, 298 least squares approximation, 299, 301 Smith methods, 308, 309 weighted balancing and Krylov, 298 truncation and residualization, 233 moment matching, 281 moments of a function, 280 Moore-Penrose pseudoinverse, 38 N network synthesis, 141 Nevanlinna-Pick problem, 86 algebraization of, 99 normed spaces, 105 Banach space, 105 Cauchy sequence, 105 convergence, 105 Hilbert space, 105 inner prduct, 105 maximum modulus theorem, 107 orthogonal complement, 106 norms p-norms of vectors, 28 Cauchy-Schwarz inequality, 28 denition of, 28 equi-induced, 124 equi-induced norms, 29 H older inequality, 28 Hilbert-Schmidt, 118 matrix induced norms, 28 mixed-induced, 124 non-induced and induced of convolution operator, 126
i i
ACA :
i i
i i Index Schatten matrix norms, 29 spatial, 124 sub-multiplicativity of matrix norms, 30 temopral, 124 unit balls, 28 unstable system, 129 vectors and matrices, 28 notation, xvii numerical analysis, 39 accuracy of numerical result, 44 condition numbers, 39 distance to singularity, 45 oating point arithmetic, 41 ill-posedness of rank, 45 LAPACK software, 46 Lyapunov equation condition number of solutions, 168 forward/backward stability, 167 numerical rank, 45 stability of algorithms, 41 backward error, 41 forward error, 41 stability of SVD, 44 numerical rank, 45 Nyquist plot Hilbert-Schmidt norm, 119 spectrum of convolution operator, 109, 111 O observability, 66 degree of, 70 distance to unobservability, 68 generalized observability matrix, 87, 150 gramian (nite), 67 innite gramians, 68 observability conditions, 68 observability gramian, 67 observability matrix, 66 observable decomposition, 67 observable subsystem, 68 reachable-observable decomposition, 68 unobservable state, 66 unobservable subspace, 66 open problems in model reduction, 339 output, 53 output equations, 56 P partial realization, 83 periodic convolution, 109 Petrov-Galerkin condition, 256 Petrov-Galerkin projection, 227, 228, 230
ACA
385 polynomial time algorithms, 3 Popov-Belevich-Hautus (PHB) test, 64 positive real lemma, 137 problems, open in model reduction, 339 Pronys method and least squares system approximation, 301 proper orthogonal decomposition (POD), 227 adjoint system, 230 autocorrelation, 228 empirical eigenfunctions, 228 Galerkin projection, 228 gramian, 228 Petrov-Galerkin projection, 228 POD and balancing, 229 snapshots, 227230 pseudospectra, 259 Q QR decomposition, 27, 256, 261, 263, 269, 274, 283 quadrature and Smith methods, 314 R rational Arnoldi method, 273 rational interpolation, 84 bounded real solutions, 86 complexity, 86 constrained problems, 86 construction of interpolants by complexity, 89 feedback interpretation, 94 generalizations, 99 generating system approach, 85, 91 bounded real interpolation, 98 interpolation by complexity, 93 positive real interpolation, 98 recursive solution, 96 recursive solution-feedback interpretation, 96 row reduced matrices, 95 L owner matrix, 85, 87 L owner matrix approach, 86 Lagrange polynomial, 85 multiple points, 91 Nevanlinna-Pick problem, 86 algebraization of, 99 polynomial exponential time series, 92 positive real solutions, 86 rational interpolation by projection, 287 Sylvester equation, 290 two-sided projections, 287 realization and interpolation, 91 realization and rational interpolation, 92 recursive solution, 96 shift, 91
i i i
i i 386 time series, 91 unconstrained problem, 85 rational Krylov methods, 272 reachability, 59 degree of, 70 distance to, 65 distance to unreachability, 65 equivalent conditions, 63 generalized reachability matrix, 87, 150 gramian (nite), 60 innite gramians, 68 input energy, 62 input norm, 62 matrix, 59 minimal energy input, 62 PHB test, 64 reachability gramian, 60 reachable subspace, 59 reachable subsystem, 63 reachable-observable decomposition, 68 subspace, 60 unreachable subsystem, 63 reachable canonical decomposition, 63 reachable-observable decomposition, 68 realization, 76 minimal, 80 partial Hankel matrix, 84 partial realization, 83 partial realization by projection, 287 two-sided projections, 287 problem,solution of, 79 proper rational matrices, 81 realizable sequence, 77 realization and interpolation, 91 realization and rational interpolation, 92 Silverman algorithm, 79 symmetric systems, 83 tridiagonal form, 98 reconstructibility problem, 67 recursive rational interpolation, 96 cascade interconnection, 97 continued fractions, 97 scalar systems, 97 tridiagonal realization, 98 Riccati equations, 135, 173, 180, 190194 bounded real case, 192 dissipative systems, 135 positive real case, 193 row reduced matrices, 95 row degrees, 95 S Schmidt, Eckart, Young, Mirsky theorem, 35 Index Schur decomposition, 27, 261, 263 semi-discrete decomposition, 38 shift rational interpolation, 91 shift operator, 53 sign function and Lyapunov equations, 154 Silverman realization algorithm, 79 singular value decomposition (SVD), 30 2-norm and SVD, 31 least squares, 38 Moore-Penrose pseudoinverse, 38 optimal approximation, 35 uniqueness of minimizer, 36 properties of, 33 Schmidt, Eckart, Young, Mirsky theorem, 35 semi-discrete decomposition, 38 short form of, 34 Singular value and eigenvalue decompositions, 34 singular value and eigenvalue decompositions pseudospectra, 35 singular values, 30 singular vectors, 30 symmetric matrices, 35 singular values convolution operator continuous time, 110 discrete-time, 109 Hankel operator, 116 continuous-time, 117 cross gramian, 118 discrete-time, 117 lemma, 118 software for model reduction, 339 spectrum convolution operator, 109 stability, 126 L2 stability, 127 asymptotic stability, 126 BIBO stability, 127 external stability, 128 internal stability, 128 Lyapunov equation, 128 Lyapunov function, 128 Lyapunov stability, 128 stability of algorithms, 41 stabilizability, 64 state, 53 construction, 77 equations, 56 observation, 65 transformation, 58 Stein (discrete-Lyapunov) equation, 70 Sylvester and Lyapunov equations, 145
i i
ACA :
i i
i i Index algorithms, 165 Bartels-Stewart algorithm, 159 characteristic polynomial methods, 150 complex integration method, 147 eigenvalue/eigenvector method, 148 generalized reachability/observability matrices, 150 in Schur basis, 159 invariant subspace method, 153 Kronecker product method, 146 numerical issues condition number of solutions, 168 forward/backward stability, 167 sign function method, 154 triangular coefcients, 159 Sylvester equations approximate balancing, 304 connection with projectors, 290 Krylov, connection with, 298 symbol transfer function, 109 symmetric realizations, 83 systems L2 unstable, 129 all-pass (unitary), 131 approximation air quality simulations, 17 cooling of steel, 23 elk sensor, 22 honeycomb vibrations, 19 international space station, 20 linear systems, 7 methods, 9 micromirrors, 22 molecular dynamics, 19 motivating examples, 13 passive devices, 14 problem denition, 7 projection, by, 8 properties, 7 vibration/acoustic systems, 21 vibration/CVD reactors, 21 weather prediction, 15 balanced representation, 173 balanced truncation, 176 bounded real balancing, 192 canonical form, 186 denition, 175 frequency weighted balancing, 195, 197 frequency weighted balancing (gramians), 196, 199 Lyapunov balancing, 190 positive real balancing, 193
ACA
387 positive real balancing-error bound, 194 simultaneous diagonalization, 175 stochastic balancing, 190 stochastic balancing-multiplicative error bound, 191 time-limited balancing, 200 types of balancing, 190 unstable systems, 201 variational interpretation, 176 behavioral framework, 56 bilinear transformation discrete-continuous, 75 causal, 54, 55 classical framework, 56 complexity, 6 construction of state, 77 continuous-time, 7, 54 contractive, 141 control, 3 controllability, 64 convolution operator, 55 denition, 6 detectability, 68 dimension, 57 discrete-time, 7, 53 dissipative, 133 available storage, 133 bounded real lemma, 141 dissipation inequality, 133 linear system, quadratic supply, 134 LMI, 135 network synthesis, 141 positive real lemma, 137 required supply, 133 Riccati equation, 135 storage function, 133 supply function, 133 duality, 67 dynamics, 56 equivalent system triples, 58 external description, 53 denition, 55 Hankel matrix, 77 implicit, 7 impulse response, 54, 55, 58 inputs and outputs, 6 internal description, 56, 57 linear vs nonlinear, 4 Markov parameters, 55 McMillan degree, 82, 86 minimal realization, 80 multi-input multi-output (MIMO), 54 observability, 66 output equations, 56
i i i
i i 388 passive, 137 reachability, 59 distance to, 65 reachability matrix, 59 reachable canonical decomposition, 63 realization, 76 reconstructibility, 67 simulation, 3 single-input single-output (SISO), 54 stability, 126 L2 stability, 127 asymptotic stability, 126 BIBO stability, 127 external stability, 128 internal stability, 128 Lyapunov equation, 128 Lyapunov function, 128 Lyapunov stability, 128 stabilizability, 64 stable, 57 state, 6 state equations, 56 state transformation, 58 time invariant, 55 time-invariant, 54 transfer function, 58 transfer funtion, 55 unstable L2 norm of, 129 T Toeplitz matrix, 54 circulant, 109 Toeplitz operator, 109 transfer function, 55, 58 symbol, 109 transformation bilinear discrete-continuous systems, 75 trapezoidal rule and Smith methods, 314 U unitary dilation in Hankel norm approximation, 211 optimal case, 212 sub-optimal case, 212 W weighting pattern, 53 kernel, 55 Index
i i
ACA :
i i
i i Index 389
ACA
i i i