Learn Before
Concept

Linear Algebra (Trace)

The trace of a matrix is the sum of all values along its main diagonal, denoted tr(A)tr(A), where AA is an mxmm x m matrix. This may only be used for square matrices.

Traces have various properties: tr(A)=tr(AT)tr(A) = tr(A^T) tr(ABC)=tr(CAB)=tr(BCA)tr(ABC) = tr(CAB) = tr(BCA) For ARmxnandBRnxmA \in \mathbb{R}^{m x n} and B \in \mathbb{R}^{n x m}, tr(AB)=tr(BA)tr(AB) = tr(BA).

Example: tr([283146795])=2+4+5=11tr(\begin{bmatrix} 2 & 8 & 3\\ 1 & 4 & 6\\ 7 & 9 & 5 \end{bmatrix}) = 2 + 4 + 5 = 11

0

1

Updated 2021-05-15

Contributors are:

Who are from:

References


Tags

Data Science