Cleaner algorithm

from Wikipedia, the free encyclopedia

The Putzer algorithm is a recursive method for calculating the matrix exponential . The aim of the procedure is to determine the matrix exponential for a given and .

Like the matrix exponential, the algorithm plays a role primarily in the theory of ordinary differential equations , since it can be used to determine solutions to systems of linear differential equations .

The procedure

Let be a square matrix. Let us also count the eigenvalues ​​of the matrix taking into account the algebraic multiplicity. This enumeration exists because it is algebraically closed .

For we now define recursively continuously differentiable functions and quadratic matrices , so that the following relationship applies:

.

The recursion rule for the matrices is:

and .

They are defined recursively by the following initial value problems :

example

Illustration of the procedure for : Let the following matrix be given. We will now calculate the matrix exponential for anything using the Putzer algorithm . First we determine the eigenvalues ​​of the matrix , taking into account the algebraic multiplicity. To do this, we calculate the characteristic polynomial and equate it :

It follows that the only eigenvalue of the matrix is, but with algebraic multiplicity . Thus it is a matter of a counting of the eigenvalues ​​of .

Next, we determine the matrices using the recursion formulas from above . It follows and accordingly .

Finally we calculate for the functions that are defined by the following initial value problems:

The first initial value problem can easily be determined as using the solution method separation of the variables for ordinary differential equations . The second initial value problem can also be calculated very easily using the method variation of the constants and obtained as a solution .

Now that we have everything together, we can state for one :

Special solutions

As shown in the example, the first initial value problem can be determined using the solution method Separation of Variables for ordinary differential equations. The other initial value problems with can also be easily calculated using the method variation of the constants. Accordingly, the solutions follow first:

From this, in turn, other special solutions can be derived depending on the eigenvalues.

Same eigenvalues

If all eigenvalues equal , follows from the integral representation for having the function just be integrated even have. The following applies to:

The matrix exponential of a matrix with the same eigenvalues can finally be determined explicitly with the following formula:

Unequal eigenvalues

Often all eigenvalues ​​of the matrix are not the same . In this case applies to the discriminant of the characteristic polynomial . The solution for remains unchanged. From after integration follows:

etc.

The solution here obviously follows the system:

With

The Newton interpolation follows for the exponential of a matrix with unequal eigenvalues

for the representation of the matrix exponential function as a polynomial. The functions that depend on can be calculated recursively with:

Effort of polynomial solution methods

The Putzer algorithm has an expense of the order of magnitude (essentially matrix multiplications ). This means that the effort is significantly higher than when using methods based on the Taylor series or based on matrix decomposition methods (such as diagonalization or QR algorithm ), each with an effort of the order of magnitude . The algorithm is therefore only suitable for smaller matrices, but a completely symbolic solution is advantageously obtained here .

If one compares the complexity of the solution for the matrix exponential function by diagonalizing the matrix

,

here is the -th line of , with the Lagrange interpolation

in which

is, then it follows

and the effort of the order of magnitude to calculate is completely unnecessary.

literature

  • Paul Waltman: Differential Equations and Dynamical Systems , Dover Publications, 2004, ISBN 978-0486434780 , pp. 49-60

Individual proof

  1. Lebovitz 2016 (.pdf)
  2. ^ Moler: Cleve Moler, Charles F. Van Loan: Nineteen Dubious Ways to Compute the Exponential of a Matrix, Twenty-Five Years Later . In: SIAM Review . tape 45 , no. 1 , 2003, ISSN  1095-7200 , p. 16 - 18 , doi : 10.1137 / S00361445024180 ( cornell.edu [PDF]).
  3. Moler2: Cleve Moler, Charles F. Van Loan: Nineteen Dubious Ways to Compute the exponential of a matrix Twenty-Five Years Later . In: SIAM Review . tape 45 , no. 1 , 2003, ISSN  1095-7200 , p. 22-23 , doi : 10.1137 / S00361445024180 ( cornell.edu [PDF]).