Perhaps this is easy, but I am confused about how do I systematically go about computing the following two derivatives:
$\displaystyle\frac{\partial\text{tr}(PQ^{-1})}{\partial\text{trace}(P)}$, and $\displaystyle\frac{\partial\log\text{det}(P)}{\partial\text{trace}(P)}$.
Both $P$ and $Q$ are $n\times n$ real symmetric positive definite matrices. Clearly, being derivative of a scalar w.r.t. a scalar, the answers are scalars. For the second, I know $\log\text{det}(P) = \text{trace}(\log(P))$, but not sure how to utilize it.