Trace (mathematics): Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Paul Wormer
imported>Paul Wormer
Line 46: Line 46:
\end{align}
\end{align}
</math>
</math>
===Relation to eigenvalues===
We will show that  ''the trace of an n&times;n  matrix  is equal to the sum of its n eigenvalues (the n roots of its secular equation)''.
The secular determinant of an  ''n'' &times; ''n'' matrix '''A''' is the determinant of '''A''' &minus;&lambda; '''E''', where &lambda; is a number (an element of a [[field (mathematics)|field]] ''F''). If we put the secular determinant equal to zero we obtain the [[secular equation]] of '''A''' (also known as the [[characteristic equation]]),
:<math>
\Delta(\lambda) \equiv
\begin{vmatrix}
A_{11}-\lambda & A_{12} & \cdots & \cdots & A_{1n} \\
A_{21} & A_{22}-\lambda &  \cdots & \cdots & A_{2n} \\
\cdots &  \cdots        &                \ddots \\
A_{n1} & A_{n2}        &        &\cdots & A_{nn}-\lambda \\
\end{vmatrix} = 0
</math>
The secular determinant is a polynomial in &lambda;:
:<math>
\Delta(\lambda) = (-\lambda)^n + P_1(-\lambda)^{n-1} + P_2(-\lambda)^{n-2}+ \cdots +P_{n-1}(-\lambda) + P_n = 0.
</math>
The coefficient ''P''<sub>1</sub> of &lambda;<sup>''n''&minus;1</sup> is equal to the trace of '''A''' (and incidentally ''P''<sub>n</sub> is the determinant of '''A''').  If the field ''F'' is algebraically closed (such as the field of complex numbers) then the [[fundamental theorem of algebra]] states that the secular equation has exactly ''n'' roots (zeros) &lambda;<sub>''i''</sub>, ''i'' =1, ..., ''n'', the [[eigenvalue]]s of '''A''' and the following factorization holds
:<math>
\Delta(\lambda) = (\lambda_1-\lambda)(\lambda_2-\lambda)\cdots(\lambda_n-\lambda).
</math>
Expansion shows that the coefficient ''P''<sub>1</sub> of &lambda;<sup>''n''&minus;1</sup> is equal to
:<math>
\sum_{i=1}^n \lambda_i = P_1 =\mathrm{Tr}(\mathbf{A}).
</math>
'''Note:''' It is not necessary that '''A''' has ''n'' linearly independent [[eigenvector]]s, although ''any'' '''A'''  has ''n'' eigenvalues in an algebraically closed field.


==Definition for a linear operator on a finite-dimensional vector space==
==Definition for a linear operator on a finite-dimensional vector space==

Revision as of 06:49, 19 January 2009

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

In mathematics, a trace is a property of a matrix and of a linear operator on a vector space. The trace plays an important role in the representation theory of groups (the collection of traces is the character of the representation) and in statistical thermodynamics (the trace of a thermodynamic observable times the density operator is the thermodynamic average of the observable).

Definition for matrices

Let A be an n × n matrix; its trace is defined by

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathrm{Tr}(\mathbf{A})\; \stackrel{\mathrm{def}}{=} \; \sum_{i=1}^n A_{ii} }

where Aii is the ith diagonal element of A.

Example

Theorem.

Let A and B be square finite-sized matrices, then Tr(A B) = Tr (B A).

Proof

Theorem

The trace of a matrix is invariant under a similarity transformation Tr(B−1A B) = Tr(A).

Proof

where we used B B−1 = E (the identity matrix).

Other properties of traces are (all matrices are n × n matrices):

Relation to eigenvalues

We will show that the trace of an n×n matrix is equal to the sum of its n eigenvalues (the n roots of its secular equation).

The secular determinant of an n × n matrix A is the determinant of A −λ E, where λ is a number (an element of a field F). If we put the secular determinant equal to zero we obtain the secular equation of A (also known as the characteristic equation),

The secular determinant is a polynomial in λ:

The coefficient P1 of λn−1 is equal to the trace of A (and incidentally Pn is the determinant of A). If the field F is algebraically closed (such as the field of complex numbers) then the fundamental theorem of algebra states that the secular equation has exactly n roots (zeros) λi, i =1, ..., n, the eigenvalues of A and the following factorization holds

Expansion shows that the coefficient P1 of λn−1 is equal to

Note: It is not necessary that A has n linearly independent eigenvectors, although any A has n eigenvalues in an algebraically closed field.

Definition for a linear operator on a finite-dimensional vector space

Let Vn be an n-dimensional vector space (also known as linear space). Let be a linear operator (also known as linear map) on this space,

.

Let

be a basis for Vn, then the matrix of with respect to this basis is given by

Definition: The trace of the linear operator is the trace of the matrix of the operator in any basis. This definition is possible since the trace is independent of the choice of basis.

We prove that a trace of an operator does not depend on choice of basis. Consider two bases connected by the non-singular matrix B (a basis transformation matrix),

Above we introduced the matrix A of in the basis vi. Write A' for its matrix in the basis wi

It is not difficult to prove that

from which follows that the trace of in both bases is equal.

Theorem

Let a linear operator on Vn have n linearly independent eigenvectors,

Then its trace is the sum of the eigenvalues

Proof

The matrix of in basis of its eigenvectors is

where δji is the Kronecker delta.

Note. To avoid misunderstanding: not all linear operators on Vn possess n linearly independent eigenvectors.

Finite-dimensional inner product space

When the n-dimensional linear space Vn is equipped with a positive definite inner product, an expression for the matrix of a linear operator and its trace can be given. These expressions can be generalized to inner product spaces of infinite dimension and are of great importance in quantum mechanics.

Let

be an orthonormal basis for Vn. The symbol δij stands for the Kronecker delta. The matrix of with respect to this basis is given by

Project with vk:

Hence

Infinite-dimensional space

The trace of an operator on an infinite-dimensional linear space is not well-defined for all operators on all infinite-dimensional spaces. Even if we restrict our attention to infinite-dimensional spaces with countable bases, the generalization of the definition is not always possible. For instance, we saw above that the trace of the identity operator on a finite-dimensional space is equal to the dimension of the space, so that a simple extension of the definition leads to a trace of the identity operator that is infinite (i.e., not defined).

We consider an infinite-dimensional space with an inner product (a Hilbert space). Let be a linear operator on this space with the property

where {vi} is an orthonormal basis of the space. Note that the operator Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hat{T}^\dagger\hat{T}} is self-adjoint and positive definite, i.e.,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \langle (T^\dagger T) w | w \rangle = \langle w | (T^\dagger T) w \rangle = \langle T w | T w \rangle \ge 0 \quad\hbox{for any}\quad w. }

When the following sum converges,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sum_{i=1}^\infty \alpha_i < \infty }

one may define the trace of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \hat{T}} by

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathrm{Tr}(\hat{T}) \equiv \sum_{i=1}^\infty \langle v_i |T| v_i \rangle, }

i.e., it can be shown that this summation converges as well. As in the finite-dimensional case it can be proved that the trace is independent of the choice of (orthonormal) basis,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathrm{Tr}(\hat{T}) = \sum_{i=1}^\infty \langle w_i |T| w_i \rangle < \infty, }

for any orthonormal basis {wi}. Operators that have a well-defined trace are called "trace class operators" or "nuclear operators".

An important example is the exponential of the self-adjoint operator H,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e^{-\beta\hat{H}},\quad \beta \in \mathbb{R},\quad 0< \beta < \infty. }

The operator H being self-adjoint has only real eigenvalues εi. When H is bounded from below (its lowest eigenvalue is finite) then the sum

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathrm{Tr}e^{-\beta H} = \sum_{i=1}^\infty e^{-\beta \epsilon_i} < \infty }

converges. This trace is the canonical partition function of statistical physics.

Reference

N. I Achieser and I. M. Glasmann, Theorie der linearen Operatoren im Hilbert Raum, Translated from the Russian by H. Baumgärtel, Verlag Harri Deutsch, Thun (1977). ISBN 3871443263