Faddeev–LeVerrier algorithm

From testwiki
Jump to navigation Jump to search

Template:Short description

Urbain Le Verrier (1811–1877)
The discoverer of Neptune.

In mathematics (linear algebra), the Faddeev–LeVerrier algorithm is a recursive method to calculate the coefficients of the characteristic polynomial pA(λ)=det⁡(λIn−A) of a square matrix, Template:Mvar, named after Dmitry Konstantinovich Faddeev and Urbain Le Verrier. Calculation of this polynomial yields the eigenvalues of Template:Mvar as its roots; as a matrix polynomial in the matrix Template:Mvar itself, it vanishes by the Cayley–Hamilton theorem. Computing the characteristic polynomial directly from the definition of the determinant is computationally cumbersome insofar as it introduces a new symbolic quantity λ; by contrast, the Faddeev-Le Verrier algorithm works directly with coefficients of matrix A.

The algorithm has been independently rediscovered several times in different forms. 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.[1][2][3][4][5] (For historical points, see Householder.[6] An elegant shortcut to the proof, bypassing Newton polynomials, was introduced by Hou.[7] The bulk of the presentation here follows Gantmacher, p. 88.[8])

The Algorithm

The objective is to calculate the coefficients Template:Math of the characteristic polynomial of the Template:Math matrix Template:Mvar,

pA(λ)≡det⁡(λIn−A)=∑k=0nckλk,

where, evidently, Template:Math = 1 (characteristic polynomials are monic polynomials) and Template:Math0 = (−1)n det Template:Mvar.

The coefficients Template:Math are determined by induction on Template:Mvar, using an auxiliary sequence of matrices

M0≡0cn=1(k=0)Mk≡AMk−1+cn−k+1Icn−k=−1ktr(AMk)k=1,…,n.

Thus,

M1=I,cn−1=−trA=−cntrA;
M2=A−ItrA,cn−2=−12(trA2−(trA)2)=−12(cntrA2+cn−1trA);
M3=A2−AtrA−12(trA2−(trA)2)I,
cn−3=−16((tr⁡A)3−3tr⁡(A2)(tr⁡A)+2tr⁡(A3))=−13(cntrA3+cn−1trA2+cn−2trA);

etc.,[9][10]   ...;

Mm=∑k=1mcn−m+kAk−1,
cn−m=−1m(cntrAm+cn−1trAm−1+...+cn−m+1trA)=−1m∑k=1mcn−m+ktrAk;...

Observe Template:Math terminates the recursion at Template:Mvar. This could be used to obtain the inverse or the determinant of Template:Mvar.

Derivation

The proof relies on the modes of the adjugate matrix, Template:Math, the auxiliary matrices encountered.   This matrix is defined by

(λI−A)B=IpA(λ)

and is thus proportional to the resolvent

B=(λI−A)−1IpA(λ).

It is evidently a matrix polynomial in Template:Math of degree Template:Math. Thus,

B≡∑k=0n−1λkBk=∑k=0nλkMn−k,

where one may define the harmless Template:Math≡0.

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

∑k=0nλk+1Mn−k−λk(AMn−k+ckI)=0.

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

AB0=AMn=−c0I

This equation says that B0, or, equivalently, Mn, are proportional to the inverse of A, and, since a matrix commutes with its inverse, we could equally well have interchanged the order of A and B0 and of A and Mn.

Shifting the dummy indices of the first term yields

∑k=1nλk(M1+n−k−AMn−k+ckI)=0,

which thus dictates the recursion

∴Mm=AMm−1+cn−m+1I,

for Template:Mvar=1,...,Template:Mvar. Note that ascending index amounts to descending in powers of Template:Mvar, but the polynomial coefficients Template:Mvar are yet to be determined in terms of the Template:Mvars and Template:Mvar.

This recursion relation together with the bottom order equation gives Mn+1=0. Repeatedly using the recursion relation and keeping the cn−m+1 coefficients as symbols proves that the matrix A satisfies the equation pA(A)=0. This is the Cayley-Hamilton theorem.

The polynomial coefficients c can be determined through the following auxiliary equation (Hou, 1998),

λ∂pA(λ)∂λ−np=tr⁡AB.

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

∂pA(λ)∂λ=pA(λ)∑m=0∞λ−(m+1)tr⁡Am=pA(λ)tr⁡IλI−A≡tr⁡B.

Inserting the polynomial mode forms in this auxiliary equation yields

∑k=1nλk(kck−nck−tr⁡AMn−k)=0,

so that

∑m=1n−1λn−m(mcn−m+tr⁡AMm)=0,

and finally

∴cn−m=−1mtr⁡AMm.

This completes the recursion of the previous section, unfolding in descending powers of Template:Mvar.

Further note in the algorithm that, more directly,

Mm=AMm−1−1m−1(tr⁡AMm−1)I,

and, in comportance with the Cayley–Hamilton theorem,

adj⁡(A)=(−1)n−1Mn=(−1)n−1(An−1+cn−1An−2+...+c2A+c1I)=(−1)n−1∑k=1nckAk−1.

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

cn−k=(−1)n−kk!ℬk(tr⁡A,−1!tr⁡A2,2!tr⁡A3,…,(−1)k−1(k−1)!tr⁡Ak).

Example

A=[315331464]

M0=[000000000]c3=1M𝟏=[100010001]AM1=[𝟑153𝟑146𝟒]c2=−1𝟏𝟏𝟎=−10M𝟐=[−7153−7146−6]AM2=[𝟐26−14−8−𝟏𝟐126−14𝟐]c1=−1𝟐(−𝟖)=4M𝟑=[626−14−8−8126−146]AM3=[𝟒𝟎000𝟒𝟎000𝟒𝟎]c0=−1𝟑𝟏𝟐𝟎=−40

Furthermore, M4=AM3+c0I=0, which confirms the above calculations.

The characteristic polynomial of matrix Template:Mvar is thus pA(λ)=λ3−10λ2+4λ−40; the determinant of Template:Mvar is det⁡(A)=(−1)3c0=40; the trace is 10=−c2; and the inverse of Template:Mvar is

A−1=−1c0M3=140[626−14−8−8126−146]=[0.150.65−0.35−0.20−0.200.300.15−0.350.15].

An equivalent but distinct expression

A compact determinant of an Template:Mvar×Template:Mvar-matrix solution for the above Jacobi's formula may alternatively determine the coefficients Template:Mvar,[11][12]

cn−m=(−1)mm!|tr⁡Am−10⋯0tr⁡A2tr⁡Am−2⋯0⋮⋮⋮tr⁡Am−1tr⁡Am−2⋯⋯1tr⁡Amtr⁡Am−1⋯⋯tr⁡A|.

See also

References

Template:Reflist Barbaresco F. (2019) Souriau Exponential Map Algorithm for Machine Learning on Matrix Lie Groups. In: Nielsen F., Barbaresco F. (eds) Geometric Science of Information. GSI 2019. Lecture Notes in Computer Science, vol 11712. Springer, Cham. https://doi.org/10.1007/978-3-030-26980-7_10

  1. ↑ Urbain Le Verrier: Sur les variations séculaires des éléments des orbites pour les sept planètes principales, J. de Math. (1) 5, 230 (1840), Online
  2. ↑ Paul Horst: A method of determining the coefficients of a characteristic equation. Ann. Math. Stat. 6 83-84 (1935), Template:Doi
  3. ↑ Jean-Marie Souriau, Une méthode pour la décomposition spectrale et l'inversion des matrices, Comptes Rend. 227, 1010-1011 (1948).
  4. ↑ D. K. Faddeev, and I. S. Sominsky, Sbornik zadatch po vyshej algebra (Problems in higher algebra Template:Webarchive, Mir publishers, 1972), Moscow-Leningrad (1949). Problem 979.
  5. ↑ J. S. Frame: A simple recursion formula for inverting a matrix (abstract), Bull. Am. Math. Soc. 55 1045 (1949), Template:Doi
  6. ↑ Template:Cite book
  7. ↑ Hou, S. H. (1998). "Classroom Note: A Simple Proof of the Leverrier--Faddeev Characteristic Polynomial Algorithm" SIAM review 40(3) 706-709, Template:Doi .
  8. ↑ Template:Cite book
  9. ↑ Zadeh, Lotfi A. and Desoer, Charles A. (1963, 2008). Linear System Theory: The State Space Approach (Mc Graw-Hill; Dover Civil and Mechanical Engineering) Template:ISBN, pp 303–305;
  10. ↑ Abdeljaoued, Jounaidi and Lombardi, Henri (2004). Méthodes matricielles - Introduction à la complexité algébrique, (Mathématiques et Applications, 42) Springer, Template:ISBN .
  11. ↑ Brown, Lowell S. (1994). Quantum Field Theory, Cambridge University Press. Template:ISBN, p. 54; Also see, Curtright, T. L., Fairlie, D. B. and Alshal, H. (2012). "A Galileon Primer", arXiv:1212.6972, section 3.
  12. ↑ Template:Cite book