Trisha Shetty (Editor)

Faddeev–LeVerrier algorithm

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Faddeev–LeVerrier algorithm

In mathematics (linear algebra), the Faddeev–LeVerrier algorithm is a recursive method to calculate the coefficients of the characteristic polynomial p ( λ ) = det ( λ I n A ) of a square matrix, A, named after Dmitry Konstantinovich Faddeev and Urbain Le Verrier. Calculation of this polynomial yields the eigenvalues of A as its roots; as a matrix polynomial in the matrix A itself, it vanishes by the fundamental Cayley–Hamilton theorem. Calculating determinants, however, is computationally cumbersome, whereas this efficient algorithm is computationally significantly more efficient (in NC complexity class).

Contents

The algorithm has been independently rediscovered several times, in some form or another. It was first published in 1840 by Urbain Le Verrier, subsequently redeveloped by P. Horst, Jean-Marie Souriau, in its present form here by Faddeev and Sominsky, and further by J. S. Frame, and others. (For historical points, see Householder. An elegant shortcut to the proof, bypassing Newton polynomials, was introduced by Hou. The bulk of the presentation here follows Gantmacher, p. 88.)

The Algorithm

The objective is to calculate the coefficients ck of the characteristic polynomial of the n×n matrix A,

where, evidently, cn = 1 and c0 = (−1)n det A.

The coefficients are determined recursively from the top down, by dint of the auxiliary matrices M,

M 0 0 c n = 1 ( k = 0 ) M k A M k 1 + c n k + 1 I c n k = 1 k t r ( A M k ) k = 1 , , n   .

Thus,

M 1 = I   , c n 1 = t r A = c n t r A ; M 2 = A I t r A , c n 2 = 1 2 ( t r A 2 ( t r A ) 2 ) = 1 2 ( c n t r A 2 + c n 1 t r A ) ; M 3 = A 2 A t r A 1 2 ( t r A 2 ( t r A ) 2 ) I , c n 3 = 1 6 ( ( tr A ) 3 3 tr ( A 2 ) ( tr A ) + 2 tr ( A 3 ) ) = 1 3 ( c n t r A 3 + c n 1 t r A 2 + c n 2 t r A ) ;

etc.,   ...;

M m = k = 1 m c n m + k A k 1   , c n m = 1 m ( c n t r A m + c n 1 t r A m 1 + . . . + c n m + 1 t r A ) = 1 m k = 1 m c n m + k t r A k   ; . . .

Observe A−1 = − Mn /c0 = (−)n−1Mn/detA terminates the recursion at λ. This could be used to obtain the inverse or the determinant of A.

Derivation

The proof relies on the modes of the adjugate matrix, Bk ≡ Mn−k, the auxiliary matrices encountered.   This matrix is defined by

and is thus proportional to the resolvent

B = p ( λ ) I λ I A   .

It is evidently a matrix polynomial of order λn−1. Thus,

where one may define the harmless M0≡0.

Inserting the explicit polynomial forms into the defining equation for the adjugate, above,

k = 0 n λ k + 1 M n k λ k ( A M n k + c k I ) = 0   .

Now, at the highest order, the first term vanishes by M0=0; whereas at the bottom order (constant in λ, from the defining equation of the adjugate, above),

M n A = B 0 A = c 0   ,

so that shifting the dummy indices of the first term yields

k = 1 n λ k ( M 1 + n k A M n k + c k I ) = 0   ,

which thus dictates the recursion

M m = A M m 1 + c n m + 1 I   ,

for m=1,...,n. Note that ascending index amounts to descending in powers of λ, but the polynomial coefficients c are yet to be determined in terms of the Ms and A.

This can be easiest achieved through the following auxiliary equation (Hou, 1998),

This is but the trace of the defining equation for B by dint of Jacobi's formula,

p ( λ ) λ = p ( λ ) m = 0 λ ( m + 1 ) tr A m = p ( λ )   tr I λ I A tr B   .

Inserting the polynomial mode forms in this auxiliary equation yields

k = 1 n λ k ( k c k n c k tr A M n k ) = 0   ,

so that

m = 1 n 1 λ n m ( m c n m + tr A M m ) = 0   ,

and finally

c n m = 1 m tr A M m   .

This completes the recursion of the previous section, unfolding in descending powers of λ.

Further note in the algorithm that, more directly,

M m = A M m 1 1 m 1 ( tr A M m 1 ) I   ,

and, in comportance with the Cayley–Hamilton theorem,

adj ( A ) = ( ) n 1 M n = ( ) n 1 ( A n 1 + c n 1 A n 2 + . . . + c 2 A + c 1 I ) = ( ) n 1 k = 1 n c k A k 1   .

The final solution might be more conveniently expressed in terms of complete exponential Bell polynomials as

c n k = ( 1 ) n k k ! B k ( tr A , 1 !   tr A 2 , 2 !   tr A 3 , , ( 1 ) k 1 ( k 1 ) !   tr A k ) .

An equivalent but distinct expression

A compact determinant of an m×m-matrix solution for the above Jacobi's formula may alternatively determine the coefficients c,

c n m = ( 1 ) m m ! | tr A m 1 0 tr A 2 tr A m 2 tr A m 1 tr A m 2 1 tr A m tr A m 1 tr A |   .

References

Faddeev–LeVerrier algorithm Wikipedia