Understand The Trace of a Matrix for Beginners – Deep Learning Tutorial

By | July 15, 2019

The trace of a matrix is a basic operation in deep learning, in this tutorial, we will descripe the basic definition and some facts on it, you can learn how to use it in your ai application.

What is the matrix trace?

As a square matrix A(n*n) = [aij], the trace of matrix A is defined:

matrix trace equation

For example:

matrix trace example

The facts about matrix trace

Suppose k, k1, …,  km ∈R and A, A1, …, Am are each n*n matrices.

matrix trace facts

Meanwhile.

matrix trace feature

However, one of the most important feature of matrix trace is on matrix eigenvalues and eigenvectors.

For example:

If matrix A is n*n.

Ax = λx

where x is eigenvector of A and λ is eigenvalues of A.

then

matrix trace and eigenvalues

Leave a Reply