Processing math: 100%
Press "Enter" to skip to content

Author: Djalil Chafaï

Linear ODEs instabilities

Photo of Salvador Dalí (1904 - 1989)
Salvador Domingo Felipe Jacinto Dalí i Domènech, Marquess of Dalí of Púbol (1904 - 1989) Probably nonlinear, unstable, and nonmonotonic

This tiny post is devoted to a counter intuitive elementary phenomenon : for a linear ODE, with a time dependent matrix, stability is not always controlled by the spectrum of the matrix!

Autonomous case. It is well known that the long time behavior of a linear differential equation x(t)=Ax(t) in Rn, when A is diagonalizable, is dictated by the real part of the eigenvalues of A. Indeed, if A=PDP1 with P complex invertible and D complex diagonal, and y(t):=P1x(t), then y(t)=Dy(t)andddty(t)2=2Dy(t),y(t)=2(D)y(t),y(t). Hence the equation is (here exponentially) stable if all the eigenvalues of A in C have a negative real part, in the sense that x(t)0 as t (exponentially fast) for all initial conditions x(0). Another way to state it, using a matrix exponential, is x(t)=etAx(0)=PetDP1x(0)=Pdiag(eitλk)diag(etλk)P1x(0).

If A is not diagonalizable, we may use the Jordan factorization A=PTP1 where T is upper triangular block diagonal with constant diagonal on each block. From the Jordan factorization we get the subtle decomposition T=D+N where D is diagonal and carries the eigenvalues of T, and N is nilpotent and commutes with D, hence the exponential factorization etT=etDetN and etN is a polynomial in t. Thus the asymptotic behavior in long time of x(t)=etAx(0)=PetTP1x(0)=PetDetNP1x(0) is dictated by the real part of the eigenvalues of A : stability occurs when all the eigenvalues have a negative real part. Even if the eigenvalues of A are all real and negative, then ddty(t)2=2Ty(t),y(t) can take positive values, see the two dimensional example below. But stability is about asymptotic analysis in long time which is not the monotonicity in time. The lack of monotonicity comes from the polynomial term etN, related to the geometry of the eigenspaces, a non-spectral information (n2). Of course A is diagonalizable if and only if N=0.

If we give up block sparsity for T, we can get P unitary, and A=P(D+N)P is then the Schur unitary factorization, however, in this case, the nilpotent part N no longer commute with the diagonal part D in general, making more complicated the computation of the exponential.

The term stability'' comes from the fact that if x(0)=0 then x(t)=0 for all t, in other words 0 is a stationary point, and we say that it is stable if there exists a neighborhood of 0 such that the solution started from anywhere in this neighborhood converges in long time to 0.

The equation x(t)=Ax(t) is called autonomous because A does not depend on t.

Two dimensional case. The lack of monotonicity phenomenon is of geometric nature and requires at least two dimensions. Let us seek for a 2×2 real matrix T with all eigenvalues real and negative and for which Tx,x>0 for some xR2. This matrix cannot be symmetric. Let us denote λ1<λ20 the eigenvalues, that we suppose distinct, and θ(0,π) the angle between the eigenvectors. Let us take T upper triangular, hence the name, of the form T:=(λ1(λ2λ1)cot(θ)0λ2). For all xR2, the quantity Tx,x=λ1x21+λ2x22+(λ2λ1)x1x2cot(θ) reaches its maximum λ1+λ2+(λ2λ1)cot(θ)2 for x=(sin(a),cos(a)) with a=(2θ+π)/4. Also, with ρ:=λ2/λ1[0,1), we have Tx,x>0 for some xif and only ifsin(θ)<1ρ1+ρ. This is impossible when θ=π/2 (T is symmetric). There exists a similar analysis for the case where T has a double eigenvalue or two complex conjugate eigenvalues.

Nonautonomous case. Let us consider now the nonautonomous linear differential equation x(t)=A(t)x(t),for whichddtx(t)2=2A(t)x(t),x(t). If A(t) is symmetric positive definite for all t then the system is stable and monotonic. If A(t) is diagonalizable for all t and P(t)=P does not depend on t, then the matrices {A(t):t} commute and the solution can be expressed using a simple exponential as x(t)=et0A(s)dsx(0)=Pet0D(s)dsP1x(0), showing that the knowledge of the spectrum of A(t) for all t controls the stability.

However, in general, when P(t) depends on t, it turns out that we may have x(t)+ as t while the eigenvalues of A(t) are all real, negative, and constant in time! This means that the knowledge of the spectrum of A(t) for all t is not enough to describe the stability of the solution. In other words, the stability depends not only on the spectrum but also on the eigenspaces geometry dynamics through the matrix P(t) in the Jordan or Schur factorization A(t)=P(t)T(t)P(t)1=P(t)(D(t)+N(t))P(t)1. If we set y(t):=P(t)1x(t) then y(t)=P(t)1x(t)+(P(t)1)x(t)=T(t)y(t)+(P(t)1)P(t)y(t). The last term (P(t)1)P(t)y(t), due to the dependency of P(t) on t, is responsible of the instability phenomenon. This was apparently already known by Henri Poincaré (1854 - 1912) and Aleksandr Mikhailovich Lyapunov (1857 - 1918), who are at the origin of the extensive study of the stability of ODEs. The phenomenon is of geometric nature and requires a dimension n2. Here is a concrete, simple, two dimensional counter example, due to Robert È. Vinograd : A(t)=(6sin(12t)129cos(12t)11292sin(12t)+6cos(12t)+692sin(12t)+6cos(12t)66sin(12t)+92cos(12t)112), for which the eigenvalues are 1 and 10 for all t, while x(t)=e13t5((e15t+4)cos(6t)2(e15t1)sin(6t)2(e15t1)cos(6t)(4e15t+1)sin(6t)(e15t+4)sin(6t)+2(e15t1)cos(6t)2(e15t1)sin(6t)+(4e15t+1)cos(6t))x(0), which may blow-up in long time for a well chosen initial condition x(0) arbitrary close to 0.

In order to get a generic example of A(t) in dimension n=2, we can conjugate say an upper triangular matrix T as above by a time dependent orthogonal matrix, for instance the rotation P(t)=(cos(ωt)sin(ωt)sin(ωt)cos(ωt)),ωR, which gives A(t)=P(t)TP(t)1, in particular T=A(0). We have P(t)=etQwhereQ=(0ωω0). Also x(t)=A(t)x(t)=P(t)TP(t)1x(t), and with y(t):=P(t)1x(t), we get y(t)=Ty(t)+(P(t)1)x(t)=(TQ)y(t), hence y(t)=et(TQ)y(0), and x(t)=P(t)et(TQ)P(t)1x(0). The contribution of Q in et(TQ) is crucial for a possible blow-up. The problem is reduced to an autonomous ODE with matrix TQ, which may have a positive eigenvalue even if T does not. The stability is dictated by the real part of the eigenvalues of TQ.

The Vinograd counter example is obtained from the two dimensional example with ω=6 in Q, and λ1=10, λ2=1, cot(θ)=4/3 in T. The eigenvalues of TQ are 13 and 2.

We could ask if the same phenomenon remains with a diagonal T, but the answer is no : indeed, if T=D=(a00a+b), then TQ has eigenvalues 12(2a±b24ω2+b), the largest one 12(2a+b24ω2+b) cannot be positive if both a and a+b are negative.

Conclusion. For the linear ODE x(t)=A(t)x(t), with A(t)=P(t)(D(t)+N(t))P(t)1, monotonicity as well as stability are not always dictated by the sole spectrum D(t) : N(t) acts as a perturbation of monotonicity while the dynamics of P(t) acts as a perturbation of stability.

In the same spirit. It can be shown that x(t)=A(t)x(t) can be stable while A(t) has for all t real positive eigenvalues! We refer to the review article by Krešimir Josić and Robert Rosenbaum for more. The phenomenon says that the stability of the nonautonomous resolvent matrix equation R(t)=A(t)R(t) is not controlled solely by the spectrum of A(t) for all t in general. The same instability phenomenon takes place in discrete time, and corresponds to take long noncommutative words written with two matrix letters : the word may blow-up even if the letters are contractive, and this can be seen as a sort of geometric or directional resonance phenomenon. The phenomenas are related to the following topics between nonlinear aspects of linear algebra, analysis, ergodic theory, geometry, probability, and system control :

  • the difference between spectral radius and operator norm
  • the Horn problem on the spectrum of the sum of two matrices with prescribed spectrum
  • the pseudospectrum of nondiagonalizable matrices
  • the long time behavior of switched ergodic Markov dynamics
  • the May stability in mathematical biology and Girko random matrices
  • the multiplicative ergodic theorems and random walks on groups

Note. The instability phenomenon of nonautonomous linear ODEs is rarely taught in basic courses on the analysis of ODEs. Also, I have discovered that certain renowned experts in the analysis of PDEs are unaware of it and do not believe it at first glance. Yet, the phenomenon is not a surprise for people versed in the long time behavior of Markov switched dynamics, like me.

Further reading.

Related basic formulas, excellent mental exercises for your transportation time.e(ab0a)=ea(1b01)and(ab0a)2op=a2+b22+|b|24a2+b2. Apart when A is already in Jordan form, and beyond special cases, there is no explicit and general formula for eA in terms of the entries of A. The matrices P,D,N in the Jordan factorization A=P(D+N)P1 are in general not explicit in terms of the entries of A.

Photo of Aleksandr Mikhailovich Lyapunov (1857 - 1918)
Aleksandr Mikhailovich Lyapunov (1857 - 1918) maybe disappointed after the discovery of the instability phenomenon. If you have a smiling version of this photo, even a sarcastic one, please let me know!
Leave a Comment
Syntax · Style · .