Faddeev–LeVerrier algorithm

From testwiki
Revision as of 22:43, 22 June 2024 by imported>David Eppstein (See also: rm dead link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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(λInA) 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(λInA)=k=0nckλk,

where, evidently, Template:Math = 1 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

M00cn=1(k=0)MkAMk1+cnk+1Icnk=1ktr(AMk)k=1,,n.

Thus,

M1=I,cn1=trA=cntrA;
M2=AItrA,cn2=12(trA2(trA)2)=12(cntrA2+cn1trA);
M3=A2AtrA12(trA2(trA)2)I,
cn3=16((trA)33tr(A2)(trA)+2tr(A3))=13(cntrA3+cn1trA2+cn2trA);

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

Mm=k=1mcnm+kAk1,
cnm=1m(cntrAm+cn1trAm1+...+cnm+1trA)=1mk=1mcnm+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

(λIA)B=IpA(λ)

and is thus proportional to the resolvent

B=(λIA)1IpA(λ).

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

Bk=0n1λkBk=k=0nλkMnk,

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+1Mnkλk(AMnk+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),

MnA=B0A=c0,

so that shifting the dummy indices of the first term yields

k=1nλk(M1+nkAMnk+ckI)=0,

which thus dictates the recursion

Mm=AMm1+cnm+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 can be easiest achieved through the following auxiliary equation (Hou, 1998),

λpA(λ)λnp=trAB.

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

pA(λ)λ=pA(λ)m=0λ(m+1)trAm=pA(λ)trIλIAtrB.

Inserting the polynomial mode forms in this auxiliary equation yields

k=1nλk(kckncktrAMnk)=0,

so that

m=1n1λnm(mcnm+trAMm)=0,

and finally

cnm=1mtrAMm.

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

Further note in the algorithm that, more directly,

Mm=AMm11m1(trAMm1)I,

and, in comportance with the Cayley–Hamilton theorem,

adj(A)=(1)n1Mn=(1)n1(An1+cn1An2+...+c2A+c1I)=(1)n1k=1nckAk1.

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

cnk=(1)nkk!k(trA,1!trA2,2!trA3,,(1)k1(k1)!trAk).

Example

A=[315331464]

M0=[000000000]c3=1M𝟏=[100010001]AM1=[𝟑153𝟑146𝟒]c2=1𝟏𝟏𝟎=10M𝟐=[715371466]AM2=[𝟐26148𝟏𝟐12614𝟐]c1=1𝟐(𝟖)=4M𝟑=[6261488126146]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(λ)=λ310λ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

A1=1c0M3=140[6261488126146]=[0.150.650.350.200.200.300.150.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]

cnm=(1)mm!|trAm100trA2trAm20trAm1trAm21trAmtrAm1trA|.

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, 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