Difference between revisions of "Trace"

m (create)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The '''trace''' of a square <math>n \times n</math> [[matrix]] is the sum of the elements of the main diagonal of the matrix. It is a [[linear map]], since it is not difficult to verify that <math>\text{tr}\,(cA + B) = c\text{tr}\,(A) + \text{tr}\,(B)</math>.
+
The '''trace''' of a square <math>n \times n</math> [[matrix]] is the sum of the elements of the main diagonal of the matrix. For example, the trace of the matrix <math>M = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9\end{pmatrix}</math> is <math>\text{tr}(M) = 1 + 5 + 9 = 15</math>.
 +
 
 +
== Properties ==
 +
 
 +
Viewed as a function from <math>n \times n</math> matrices to the underlying [[field]] (frequently the [[real number]]s), the trace is a [[linear map]]: it is not difficult to verify that <math>\text{tr}(cA + B) = c\, \text{tr}(A) + \text{tr}(B)</math> for any <math>n \times n</math> matrices <math>A</math> and <math>B</math> and any scalar <math>c</math>.
 +
 
 +
 
 +
== See also ==
 +
 
 +
* [[Characteristic polynomial]]
  
 
[[Category:Linear algebra]]
 
[[Category:Linear algebra]]
 +
 +
{{stub}}

Latest revision as of 18:27, 2 March 2010

The trace of a square $n \times n$ matrix is the sum of the elements of the main diagonal of the matrix. For example, the trace of the matrix $M = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9\end{pmatrix}$ is $\text{tr}(M) = 1 + 5 + 9 = 15$.

Properties

Viewed as a function from $n \times n$ matrices to the underlying field (frequently the real numbers), the trace is a linear map: it is not difficult to verify that $\text{tr}(cA + B) = c\, \text{tr}(A) + \text{tr}(B)$ for any $n \times n$ matrices $A$ and $B$ and any scalar $c$.


See also

This article is a stub. Help us out by expanding it.