08/27/2007, 12:43 PM
bo198214 Wrote:Gottfried Wrote:But it seems as if A must have a diagonal of 1.bo198214 Wrote:Did you anyway already realize that instead ofNo, but it looks very good. I'll give it a deeper look, thanks for the hint!
\( \exp(t\cdot\log(A)) \) you can directly use the binomial series for computation?
\( A^t = \sum_{n=0}^\infty \left(t\\n\right) (A-I)^n \)
So probably you have to convert A into a Jordan normal form first as you must do with the logarithm (or how do you compute the matrix logarithm?)
Second try.
You say
\( \hspace{24} A^t = \sum_{n=0}^\infty \left(t\\n\right) (A-I)^n \)
Let
\( \hspace{24} A = Q * D * Q^{-1} \)
if A is diagonalizable.
Also, since
\( \hspace{24} I = Q * I * Q^{-1} \)
it is also
\( \hspace{24} (A - I) = Q *(D - I) * Q^{-1} \)
Then the above means, for example t = 3
\( \hspace{24} A^3 = Q * ( 1*(D -I)^0 + 3*(D-I)^1 + 3*(D-I)^2 + 1*(D-I)^3 ) * Q^{-1} \)
Let's look at the parenthese only as the diagonal matrix E. The entries e_k can directly be computed:
by binomial-theorem
\( \hspace{24} e_0 = ((d_0 - 1) + 1)^3 \)
\( \hspace{24} e_1 = ((d_1 - 1) + 1)^3 \)
\( \hspace{24} \)
\( \hspace{24} ... \)
\( \hspace{24} e_0 = d_0^3 \)
\( \hspace{24} e_1 = d_1^3 \)
\( \hspace{24} \)
\( \hspace{24} ... \)
and
\( \hspace{24} E = D^3 \)
So the rhs is
\( \hspace{24} Q * E * Q^{-1} = Q * D^3 * Q^{-1} \)
and the lhs is
\( \hspace{24} A^3 = Q * D^3 * Q^{-1} \)
and the both sides are equal.
Here was no assumption needed concerning the actual eigenvalues of A, except the assumption, that it is diagonalizable at all. It is perhaps important to note, that symbolically we may write formulae with equal eigenvalues even if a numerical solver would not produce a solution because of the mentioned indeterminacy of the eigenvectors. But this does not affect the analytical description.
Well, here I assumed A is diagonalizable (with no assumptions about the actual value of its eigenvalues). If it is not, then at least it is possible to derive the Jordan-canonical form, and in A = Q*J*Q^-1 we get J non-diagonal, but in its Jordan-canonical form. All what was said about the diagonal form is still valid in principle, only that powers and functions on J have not the simple form as in the true diagonal case. But still it is a simpler computation than with the original matrix, especially if infinite series are assumed.
Gottfried
Gottfried Helms, Kassel

