0

Given symmetric $d \times d$ matrices ${\bf G}, {\bf F}_1, \dots, {\bf F}_n$, let ${\bf F} : {\Bbb R}^n \to {\Bbb R}^{d \times d}$ be defined by

$$ {\bf F} ({\bf x}) := {\bf G} + \sum_{i=1}^n x_i {\bf F}_i $$

What is the gradient of the scalar field ${\bf x} \mapsto \log\det({\bf F}({\bf x}))$?


I tried to use the chain rule to find the gradient but I find the first part, derivative of $\log\det({\bf F}({\bf x}))$ is ${\bf F}({\bf x})^{-1}$ which shape is $n^2$, but the second part, ${\bf F} ({\bf x})$ is a vector to matrix function where its derivative is shape $n \times n^2$ where the final derivative shape is $n \times n^2$ but the expected shape of gradient should be same shape with $x$, I was wondering which step goes wrong?

1 Answers1

0

The differential is the linear form on $R^I$ defined by $$(h_i)_{i\in I}\mapsto \sum_{i\in I}\mathrm{Trace}(F^{-1}(x)F_i)h_i$$