Prove that $\nabla_X tr(X^TB)= B $ where $B \in \mathbb{C^{m*n}}$ and $X \in \mathbb{R^{m*n}} $

65 Views Asked by At

Prove that $\nabla_X tr(X^TB)= B $ where $B \in \mathbb{C^{m*n}}$ and $X \in \mathbb{R^{m*n}} $ and $\nabla_X$ is the derivative with respect to X.

How can I prove the above?

1

There are 1 best solutions below

0
On BEST ANSWER

In your function, replace the trace with the Frobenius product, then take its differential to get $$ \eqalign { f &= {\rm tr}(X^TB) \cr &= B:\!X \cr \cr df &= B:dX \cr &= \bigg(\frac {\partial f} {\partial X}\bigg):dX \cr } $$ Which means that the derivative must be $$ \eqalign { \frac {\partial f} {\partial X} &= B \cr } $$