Seeking some serious help:

The positive definite (hence symmetric) matrix Sigma is decomposed as $\displaystyle \Sigma = AA^T$, where A has rows $\displaystyle a_i^T$ for which $\displaystyle a_i^T a_i = \Sigma_{ii}$

Given r and t as constant, be the vector $\displaystyle \mu(\Sigma) = [r -\frac{1}{2} \Sigma_{ii}]t $ linear function of the vector $\displaystyle [\Sigma_{ii}]$, i.e. the diagonal elements of Sigma.

Be $\displaystyle g(x, \Sigma) = -\frac{1}{2} [(x - \mu(\Sigma))^T\ \Sigma^{-1}\ (x - \mu(\Sigma))] $ the quadratic form.

I'm struggling to derive $\displaystyle \frac{d}{d\Sigma} g(x, \Sigma)$ and $\displaystyle \frac{d}{d\Sigma} \mu(\Sigma)$. I do need both.

I would appreciate some help. Thanks in advance!