Matrix Calculus - Notes on the Derivative of a Trace
paulklein.ca › newsite › teachingThis write-up elucidates the rules of matrix calculus for expressions involving the trace of a function of a matrix X: f ˘tr £ g (X) ⁄. (1) We would like to take the derivative of f with respect to X: @f @X ˘? . (2) One strategy is to write the trace expression as a scalar using index notation, take the derivative, and re-write in matrix form.