Derivative of trace of log of matrix products w.r.t. a matrix

876 Views Asked by At

Is there a way to calculate $$\frac{\partial\; \mbox{tr}\{\log(X^tBX)\}}{\partial X},$$ where $X$ and $B$ are $n\times n$ matrices?

1

There are 1 best solutions below

3
On

$${\rm tr}\log (X^t B X)=\log{\rm det}\,(X^t BX)=2\log{\rm det}\,X+\log{\rm det}\,B$$ $$\Rightarrow\frac{\partial}{\partial X}{\rm tr}\log (X^t B X)=2X^{-1},$$ in view of Jacobi's formula