Let $M(n)$ be the space of $n\times n$ real matrices. Let Tr: $M(n)\rightarrow\mathbb{R}$ where Tr($A$) is the trace of matrix $A$. Find the derivative of Tr($A$) in the direction of matrix $B$.
I'm not sure how one would take the derivative of the trace operator to begin with--would I put it in terms of the summation $\sum_{i=1}^na_{i,i}$? And to make it a directional derivative, I multiply the derivative by the matrix $B$?
Any help is appreciated!
The derivative in question is given by
$ \lim_{t \to 0} \frac{Tr(A+tB)-Tr(A)}{t}$
Now we have $Tr(A+tB)-Tr(A)=tTr(B)$
Your turn !