Eigenvalue/Eigenvector Sensitivity
Hakan Tiftikci Turkey hakan.tiftikci@yahoo.com.tr
Introduction
In this worksheet, a method to compute sensitivities of eigenvalues/eigenvectors of a matrix with respect to parameters of the matrix is presented. Method is based on the Cayley-Hamilton theorem, which states that, the matrix itself satisfies its characteristic polynomial, i.e.
where
is the characteristic polynomial of matrix . Factored form of characteristic polynomial is given by
which have a connection to algebraic form by symmetric functions of eigenvalues by
Roots are the eigenvalues of matrix .
Cayley-Hamilton theorem can be expressed using the factored form of characteristic polynomials, viz.
Taking partial derivative of charactristic polynomial with respect to a parameter that the matrix depends on it,
or if written more concisely
Denoting
the last equation becomes
expanding and isolating eigenvalue derivatives on one side, following final matrix equation is obtained
which is equations in unknown eigenvalue derivatives Selecting appropriate (well-formed/nonsingular) equations from a total of , eigenvalue derivatives can be obtained. For the derivatives of eigenvectors , the defining equation
is differentiated with respect to to yield
Initialization
Implementation and Application
In the first subsection, method is first illustrated step-by-step for a simple system and then in second part is put to procedural form.
Application to a simple system (Spring-Mass-Damper)
When spring-mass-damper system is converted to state-space form by matrix in linear representation is given by following
Characteristic polynomial is given by
Eigenvalues are
Matrix satisfies Cayley-Hamilton theorem,
as shown by following computation
Sensitivities of eigenvalues (by direct computation) are
Derivatives of the matrix with respect to its parameters
Derivative with respect to first parameter
Denote derivatives of by , then left and right hand side of E.1 and the matrix equation are
solving by elements of matrix equation
compare last result with directly computed results
solving by
Performing computations for the and elements, equivalence of solution obtained from different element selections of matrix equation (E.1) are demostrated (just) for the case.
Derivative with respect to second parameter
solving by and elements of matrix equation
Sensitivity Procedure
In this section, the method whose step are explained in above example is defined as a Maple procedure.
Sensitivity Procedure Test
Test the procedure on Spring-Mass-Damper
Test the procedure on general 2x2 matrix
derivatives with respect to
compute sensitivities directly
compute sensitivities by the method
Test the procedure on simplified 3x3 matrix
For this case eigenvalues used in obtaining their derivatives are kept as symbols until last step in which results are compared to those of direct computation. Otherwise computational resources are quickly consumed. For the same reason, in this case, matrix is simplified by fixing some elements and reducing number of parameters.
Eigenvalue Jacobian and a Related Application
Jacobian of eigenvalue vector is obtained by repeated application of the method ("EigenSensitivity"). A more efficient version may be obtained by identifying the repeated multiplications and/or common factors. Eigenvalue Jacobian can be used to determine required direction/rate in parameter space for attaining a direction/rate in eigenvalue space, as formulated by following expressions
or
if it is desired to direct/move current eigenvalue vector towards a target eigenvalue vector then the choice
serves to this purpose.
Application to Spring-Mass-Damper
Above formulation is applied to move the parameters from an arbitrary starting point to a desired target point. First Jacobian is computed as
define gain (positive definite) and target eigenvalues (yet as symbols)
express differential vector in parameter space that corresponds to direction in eigenvalue space.
study-1
Eigenvalues are moved to
solve differential system numerically (note complex option)
Plot locus in parameter space
plot history of eigenvalues (compare to target values)
study-2
eigenvalues are moved to
Note that eigenvalue locus is straight line as imposed while developing differential relations.
References
[1] Cayley-Hamilton@Wikipedia
[2] Cayley-Hamilton@PlanetMath
Conclusions
A general method to compute sensitivities of eigenvalues/eigenvectors is described. Method is applied to simple system and simplified system. Even though, the method described does not necessarily rely on symbolic computation, CAS environment provides robust way of implementing and verifying results.
The described method, since involves many matrix multiplications, is computationally intensive, and for the symbolic case, eigenvalues (if available) are generally so complex that, resulting matrix equation bears all the complexity of eigenvalues involved, causing deficiency in computer resources even though equations are linear in eigenvalue derivatives to be determined. For such cases eigenvalues may be left as symbols until their values are needed (as illustrated in test case)
Additionaly, following properties of method are observed:
Legal Notice: The copyright for this application is owned by the author(s). Neither Maplesoft nor the author are responsible for any errors contained within and are not liable for any damages resulting from the use of this material. This application is intended for non-commercial, non-profit use only. Contact the author for permission if you wish to use this application in for-profit activities.