In linear algebra, the trace of a square matrix A, denoted tr(A),[1][2] is defined to be the sum of elements on the main diagonal (from the upper left to the lower right) of A.
The trace of a matrix is the sum of its (complex) eigenvalues (counted with multiplicities), and it is invariant with respect to a change of basis. This characterization can be used to define the trace of a linear operator in general. The trace is only defined for a square matrix (n × n).
The trace is related to the derivative of the determinant (see Jacobi's formula).
Trace of a Kronecker product[edit]
The trace of the Kronecker product of two matrices is the product of their traces:
Full characterization of the trace[edit]
The following three properties:
characterize the trace completely in the sense that follows. Let f be a linear functional on the space of square matrices satisfying f (xy) = f (yx). Then f and tr are proportional.[note 2]
Similarity invariance[edit]
The trace is similarity-invariant, which means that for any square matrix A and any invertible matrix P of the same dimensions, the matrices A and P−1APhave the same trace. This is because
Trace of product of symmetric and skew-symmetric matrix[edit]
If A is symmetric and B is skew-symmetric, then
- .
Relation to eigenvalues[edit]
Trace of the identity matrix[edit]
The trace of the n × n identity matrix is the dimension of the space, namely n.[1]
This leads to generalizations of dimension using trace.
Trace of an idempotent matrix[edit]
The trace of an idempotent matrix A (a matrix for which A2 = A) is equal to the rank of A.
Trace of a nilpotent matrix[edit]
The trace of a nilpotent matrix is zero.
When the characteristic of the base field is zero, the converse also holds: if tr(Ak) = 0 for all k, then A is nilpotent.
When the characteristic n > 0 is positive, the identity in n dimensions is a counterexample, as , but the identity is not nilpotent.
Trace equals sum of eigenvalues[edit]
More generally, if
is the characteristic polynomial of a matrix A, then
that is, the trace of a square matrix equals the sum of the eigenvalues counted with multiplicities.
https://en.wikipedia.org/wiki/Trace_(linear_algebra)
No comments:
Post a Comment