Derivative of determinant wrt matrix

Click For Summary
The discussion focuses on deriving the derivative of the determinant of the matrix expression det(A+O'XO) with respect to the matrix X. The initial approach involves using the relationship between the determinant and the matrix logarithm, specifically through the equation det(A+O'XO) = exp(tr(log(A+O'XO))). The derivation progresses by applying the matrix partial derivative and utilizing properties of the trace and adjugate to simplify the expression. A participant seeks clarification on the transition from the trace function to the final expression involving the partial derivative. The conversation highlights the mathematical intricacies involved in matrix calculus and determinant derivatives.
bakav
Messages
7
Reaction score
0
Hi there,
I want to derive the derivative of the det(A+O'XO) with respect to X, where A, O', O and X are all matrix.
Any suggestions,
Thanks
Baska
 
Physics news on Phys.org
First note that
det(A+O'XO) = exp(tr(log(A+O'XO)))

Then define the matrix partial derivative dX such that
dX tr(Xn) = n Xn-1
In terms of components, this means
(dX f(X))ij = dXji f(X)
where f(X) is an arbitrary scalar function of X or some component of a vector/matrix/tensor function of X.

Then we take the derivative
dX det(A+O'XO)
= dX exp(tr(log(A+O'XO)))
= exp(tr(log(A+O'XO))) dXtr(log(A+O'XO))
= det(A+O'XO) tr(dXlog(A+O'XO))
= det(A+O'XO) tr((A+O'XO)-1dX(A+O'XO))
= det(A+O'XO) O(A+O'XO)-1O'
= O adj(A+O'XO) O'

where adj(A) = det(A) A-1 is the http://en.wikipedia.org/wiki/Adjugate" of A. (Note that in older texts you see it called the adjoint - but that gets confusing with other adjoints).

Although the above definition goes via log(A+O'XO), the result does not require its existence. By looking at the definition of determinant, you can find it's derivative directly in terms of the adjugate. http://en.wikipedia.org/wiki/Determinant#Derivative
Note the transposition of the indices in their formula - which justifies my definition of matrix partial derivative.

Also see
http://en.wikipedia.org/wiki/Matrix_calculus#Derivative_of_matrix_determinant
 
Last edited by a moderator:
Thanks man
I also tried to use the general formula as:

d(det(Y))/dX=dtr(QY)/dX where Q is the det(Y)inv(Y) and apparently Y is a function of X.
I got the same derivation as you did.
Thanks a lot for your great help.
 
thanks dude appreciate it.
Can you guide me that how you got, in your derivation, from
= exp(tr(log(A+O'XO))) dXtr(log(A+O'XO)
= det(A+O'XO) tr(dXlog(A+O'XO))
= det(A+O'XO) tr((A+O'XO)-1dX(A+O'XO))
= det(A+O'XO) O(A+O'XO)-1O'
My question addresses how did you bring in the partial derivative dX to the trace function and then how you got rid of the trace in the last equation.
 
I am studying the mathematical formalism behind non-commutative geometry approach to quantum gravity. I was reading about Hopf algebras and their Drinfeld twist with a specific example of the Moyal-Weyl twist defined as F=exp(-iλ/2θ^(μν)∂_μ⊗∂_ν) where λ is a constant parametar and θ antisymmetric constant tensor. {∂_μ} is the basis of the tangent vector space over the underlying spacetime Now, from my understanding the enveloping algebra which appears in the definition of the Hopf algebra...

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
15
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 15 ·
Replies
15
Views
5K