I've been given the following theorem for the derivative of the determinant of a matrix:
"Let $A\in \mathbb{R}^{n\times n}$ be a square matrix. Then the Fréchet derivative of det$: \mathbb{R}^{n\times n}\to \mathbb{R}$ at $A$ is given by:
d det(A)B = tr(adj(A)B)."
What I don't understand is what $B$ actually is. Where does it come from? Why did the theorem not follow up with "where $B$ is..."
Could anyone please explain this to me?
Thanks in advance!
The Frechet derivative $dF(x)$ of a function $F$ defined on a Banach space $X$ is defined as a (continous) linear functional on $X$, i.e. a mapping $dF(x):X\to\mathbb{R}$, or, more precisely $dF(x)\in X^*$ ($dF(x)$ is an element in the dual space of $X$).
In your case you have $\det:\mathbb{R}^{n\times n}\to \mathbb{R}$, i.e. $X = \mathbb{R}^{n\times n}$. The dual space of $X$ is equal to $X$, and hence $d\det(A)$ is a linear mapping from $\mathbb{R}^{n\times n}$ to $\mathbb{R}$ and it is precisely what you've written: $d\det(A)B = \mathrm{tr}(A^TB)$.
Another way to put it: $B$ is the direction in which you take the derivative, i.e. the limit of $$ \frac{\det(A + tB) - \det(A)}{t} $$ for $t\to 0$.