Lemma (Log-Determinant Identity)
The identity relates the determinant of an invertible matrix to the trace of its matrix logarithm:
Case 1: Diagonalizable Matrices
Assume is diagonalizable. Then there exists an invertible matrix and a diagonal matrix such that:
where contains the eigenvalues of . The determinant of is the product of its eigenvalues:
The matrix logarithm of a diagonalizable matrix is defined by applying the scalar logarithm to its eigenvalues:
Taking the trace of both sides and utilizing the cyclic property of the trace ():
The trace of a diagonal matrix is the sum of its diagonal entries:
The exponential of the trace:
Since both sides equal , the identity holds for all diagonalizable matrices:
Case 2: General Invertible Matrices (Continuity Argument)
If is invertible but not diagonalizable, we can use the property that diagonalizable matrices are dense in .
There exists a sequence of diagonalizable matrices that converges to :
Since the functions , , and are continuous on the domain of invertible matrices, we can take the limit of the identity:
This completes the proof for any invertible matrix .
Jacobi’s Formula
The derivative of the determinant of a matrix (if is invertible) is given by:
Proof:
First, we use the identity:
Differentiating both sides with respect to :
To evaluate , we recall the formula for the derivative of the matrix exponential. If , then:
Multiplying by :
Taking the trace and using the cyclic property ():
Since , we have . Substituting this back into our expression for the derivative of the determinant:
Note: This derivation assumes is invertible so that is well-defined. The formula holds more generally (even if is singular) as .