Tulip Overlay

From formulasearchengine
Jump to navigation Jump to search

In algebra, the Leibniz formula expresses the determinant of a square matrix

A=(aij)i,j=1,,n

in terms of permutations of the matrix elements. Named in honor of Gottfried Leibniz, the formula is

det(A)=σSnsgn(σ)i=1naσ(i),i

for an n×n matrix, where sgn is the sign function of permutations in the permutation group Sn, which returns +1 and −1 for even and odd permutations, respectively.

Another common notation used for the formula is in terms of the Levi-Civita symbol and makes use of the Einstein summation notation, where it becomes

det(A)=ϵi1ina1i1anin,

which may be more familiar to physicists.

Directly evaluating the Leibniz formula from the definition requires Ω(n!n) operations in general—that is, a number of operations asymptotically proportional to n factorial—because n! is the number of order-n permutations. This is impractically difficult for large n. Instead, the determinant can be evaluated in O(n3) operations by forming the LU decomposition A=LU (typically via Gaussian elimination or similar methods), in which case detA=(detL)(detU) and the determinants of the triangular matrices L and U are simply the products of their diagonal entries. (In practical applications of numerical linear algebra, however, explicit computation of the determinant is rarely required.) See, for example, Trefethen and Bau (1997).

Formal statement and proof

Theorem. There exists exactly one function

F:Mn(𝕂)𝕂

which is alternate multilinear w.r.t. columns and such that F(I)=1.

Proof.

Uniqueness: Let F be such a function, and let A=(aij)i=1,,nj=1,,n be an n×n matrix. Call Aj the j-th column of A, i.e. Aj=(aij)i=1,,n, so that A=(A1,,An).

Also, let Ek denote the k-th column vector of the identity matrix.

Now one writes each of the Aj's in terms of the Ek, i.e.

Aj=k=1nakjEk.

As F is multilinear, one has

F(A)=F(k1=1nak11Ek1,,kn=1naknnEkn)=k1,,kn=1n(i=1nakii)F(Ek1,,Ekn).

From alternation it follows that any term with repeated indices is zero. The sum can therefore be restricted to tuples with non-repeating indices, i.e. permutations:

F(A)=σSn(i=1naσ(i)i)F(Eσ(1),,Eσ(n)).

Because F is alternating, the columns E can be swapped until it becomes the identity. The sign function sgn(σ) is defined to count the number of swaps necessary and account for the resulting sign change. One finally gets:

F(A)=σSnsgn(σ)(i=1naσ(i)i)F(I)=σSnsgn(σ)i=1naσ(i)i

as F(I) is required to be equal to 1.

Therefore no function besides the function defined by the Leibniz Formula is a multilinear alternating function with F(I)=1.

Existence: We now show that F, where F is the function defined by the Leibniz formula, has these three properties.

Multilinear:

F(A1,,cAj,)=σSnsgn(σ)caσ(j)ji=1,ijnaσ(i)i=cσSnsgn(σ)aσ(j)ji=1,ijnaσ(i)i=cF(A1,,Aj,)F(A1,,b+Aj,)=σSnsgn(σ)(bσ(j)+aσ(j)j)i=1,ijnaσ(i)i=σSnsgn(σ)((bσ(j)i=1,ijnaσ(i)i)+(aσ(j)ji=1,ijnaσ(i)i))=(σSnsgn(σ)bσ(j)i=1,ijnaσ(i)i)+(σSnsgn(σ)i=1naσ(i)i)=F(A1,,b,)+F(A1,,Aj,)

Alternating:

F(,Aj1,,Aj2,)=σSnsgn(σ)(i=1,ij1,ij2naσ(i)i)aσ(j1)j1aσ(j2)j2

For any σSn let σ be the tuple equal to σ with the j1 and j2 indices switched.

F(A)=σSn,σ(j1)<σ(j2)[sgn(σ)(i=1,ij1,ij2naσ(i)i)aσ(j1)j1aσ(j2)j2+sgn(σ)(i=1,ij1,ij2naσ(i)i)aσ(j1)j1aσ(j2)j2]=σSn,σ(j1)<σ(j2)[sgn(σ)(i=1,ij1,ij2naσ(i)i)aσ(j1)j1aσ(j2)j2sgn(σ)(i=1,ij1,ij2naσ(i)i)aσ(j2)j1aσ(j1)j2]=σSn,σ(j1)<σ(j2)sgn(σ)(i=1,ij1,ij2naσ(i)i)(aσ(j1)j1aσ(j2)j2aσ(j1)j2aσ(j2)j1)

Thus if Aj1=Aj2 then F(,Aj1,,Aj2,)=0.

Finally, F(I)=1:

F(I)=σSnsgn(σ)i=1nIσ(i)i=σ=(1,2,,n)i=1nIii=1

Thus the only functions which are multilinear alternating with F(I)=1 are restricted to the function defined by the Leibniz formula, and it in fact also has these three properties. Hence the determinant can be defined as the only function

det:Mn(𝕂)𝕂

with these three properties.

See also

References

  • 53 yrs old Fitter (Common ) Batterton from Carp, likes to spend some time kid advocate, property developers in singapore and handball. Completed a cruise liner experience that was comprised of passing by Gusuku Sites and Related Properties of the Kingdom of Ryukyu.

    Here is my web page www.mtfgaming.com
  • Lloyd N. Trefethen and David Bau, Numerical Linear Algebra (SIAM, 1997) ISBN 978-0898713619