On 3 May 2014, at 22:52, Alan Bromborsky wrote:
> X <#>LatexIt! run report...
>
> *** Found expression $ij$
>
> The basic definition should be that the directional derivative of of a
> matrix valued function of a matrix is
>
> $$ \lim_{h\rightarrow 0} \frac{F(A+hB)}{h}$$
>
> where the directional derivative is in the direction of the matrix $B$
> and $A$ and $B$ must have the same dimension. The if $B$ is
> decomposed into components $B_{ij}$ (components of a vector or matrix)
> then
>
> $$\lim_{h\rightarrow 0}\frac{F(A+hB_{ij})}{h}$$
>
> are the $ij$ components of the derivative. I did not put any
> expression to the left of the limits due to notational uncertainty.
This is the basics, which I understand quite well. The problem is that
the Matrix Cookbook has lots of identities which are just stated, many
of which involve inverses and transposes (sometimes at the same time),
so it's not a simple exercise to derive them.
The one in the issue that Aaron referenced
diff(A.T*x,x) = A.T
which I guess the Cookbook had as A (not A.T), is simple enough. It's
quite easy to derive and show that it should be A.T for a general
matrix.
It seems that there isn't one good reference for general matrix
calculus. It seems that there's individual references for specific
aspects. I've looked through most of the Wikipedia page references, I'll
have to look through the references for the Matrix Cookbook next.
Thanks,
Tim.