word looked up : home / archive

 Trace (matrix) 

In linear algebra, the trace of an n-by-n square matrix A is defined to be the sum of the elements on the main diagonal (the diagonal from the upper left to the lower right) of A, i.e.

tr(A) = A[1,1] + A[2,2] + ... + A[n,n].

If one imagines that the matrix A describes a water flow, in the sense that for every x in Rn, the vector Ax represents the velocity of the water at the location x, then the trace of A can be interpreted as follows: given any region U in Rn, the net flow of water out of U is given by tr(A)· vol(U), where vol(U) is the volume of U. See divergence.

The trace is used to define characters of group representations.

Properties

The trace is a linear map in the sense that

tr(A + B) = tr(A) + tr(B)     for all n-by-n matrices A and B
tr(rA) = r tr(A)        for all n-by-n matrices A and all scalars r.

A matrix and its transpose have the same trace:

tr(A) = tr(AT).

If A is an n×m matrix and B is an m×n matrix, then

tr(AB) = tr(BA).
Using this fact, we can deduce that the trace of a product of square matrices is equal to the trace of any cyclic permutation[?] of the product, a fact known as the cyclic property of the trace. For example, with three square matrices A, B, and C,
tr(ABC) = tr(CAB) = tr(BCA).
More generally, the same is true if the matrices are not assumed square, but are so shaped that all of these products exist.

If A and B are similar, i.e. if there exists an invertible matrix X such that A = X-1BX, then by the cyclic property,

tr(A) = tr(B).
Because of this, one may define the trace of a linear map f : V -> V (where V is a finite-dimensional vector space) by choosing a basis for V, describing f as a matrix relative to this basis, and taking the trace of this square matrix. The result will not depend on the basis chosen, since different bases will give rise to similar matrices.

There exist matrices which have the same trace but are not similar.

If A is a square n-by-n matrix with real or complex entries and if λ1,...,λn are the (complex) eigenvalues of A (listed according to their algebraic multiplicities[?]), then

tr(A) = ∑ λi.
This follows from the fact that A is always similar to its Jordan form[?], an upper triangular matrix having λ1,...,λn on the main diagonal.

From the connection between the trace and the eigenvalues, one can derive a connection between the trace function, the exponential function, and the determinant:

det(exp(A)) = exp(tr(A)).
The trace also prominently appears in Jacobi's formula for the derivative of the determinant (see under determinant).

Inner Product

For an m-by-n matrix A with complex (or real) entries, we have

tr(A*A) ≥ 0
with equality only if A = 0. The assignment
<A, B> = tr(A*B)
yields an inner product on the space of all complex (or real) m-by-n matrices.

If m=n then the norm induced by the above inner product is called the Frobenius norm[?] of a square matricx. Indeed it is simply the Euclidean norm[?] if the matrix is considered as a vector of length n2.

Generalization

 
The concept of trace of a matrix is generalised to the trace class of bounded linear operators on Hilbert spaces.

And hear their midnight revels uncontroll'd? Or priests in fabled oracles advise? Turn'd mean deserters in the needful hour? Or that these wither'd nerves like thine were strung, He shall, I trust; a hero scorns despair:) To my worst foe, if that avenging day Oppress'd by numbers in the glorious strife, Rather than bear.html">bear.html">bear dishonor, worse than death; The reverend stranger and the spotless maid; The drunkard's revel, and the gluttons' feast." Thus he, with anger flashing from his eye; "Nor leagued in factious arms my subjects rise, Nor are my brothers, who should aid my power.html">power, Ah me! I boast no brother; heaven's dread King Alone Laertes reign'd Arcesius' heir, And I alone the bed connubial graced, Each neighbouring realm, conducive to our woe, The court proud Samos and Dulichium fills, E'en Ithaca and all her lords invade The queen.html">queen.html">queen, averse to love, yet awed by power, Meantime their licence uncontroll'd I bear; But Heaven will sure revenge, and go/gods.html">gods there are. "But go Eumaeus! to the queen impart Yet secret go; for numerous are my foes, But old Laertes weeps his life away, To bless his age: a messenger of joy? Sent the sad sire in solitude to stray; He dress'd the vine.html">vine, and bade the garden.html">garden blow, That you to Pylos plough'd the watery way, Wild springs the vine, no more the garden blows, Pensive and pale he wanders half a ghost." "Wretched old man! (with tears the prince returns) Were every wish indulged by favouring skies, But to the queen with speed dispatchful bear, And let some handmaid of her train resort .

 On wordlookup.net  

All is still licensed under the GNU FDL.
It uses material from the wikipedia.



logo

navig stuff

home
archive