Second Derivative of Determinant of Matrix?

Click For Summary
The discussion centers on calculating the second derivative of the determinant of a matrix, building on the established first derivative formula. The first derivative is expressed as del(det(A))/del(A_ij) = det(A)*(inv(A))_j,i. The challenge arises in determining the derivative of the inverse of a matrix with respect to changes in the original matrix, specifically del(inv(A)_j,i) / del(A_pq). Participants suggest using the identity Det(AA^{-1}) = Id to aid in differentiation and clarify the role of the determinant of the identity matrix. The conversation highlights the complexities of matrix calculus and the need for further proofs and explanations.
brydustin
Messages
201
Reaction score
0
Hi all...


I've read on wikipedia (facepalm) that the first derivative of a determinant is

del(det(A))/del(A_ij) = det(A)*(inv(A))_j,i

If we go to find the second derivative (applying power rule), we get:

del^2(A) / (del(A)_pq) (del (A)_ij) = {del(det(A))/del(A_pq)}*(inv(A))_j,i + det(A)*{del(inv(A)_j,i) / del(A_pq)}

I have no clue how to calculate the derivative of the inverse of a matrix with respect to changing the values in the original matrix:
I.E. del(inv(A)_j,i) / del(A_pq)

Also... would be nice if someone could prove the first statement for the first derivative of the determinant.

Thanks!
 
Physics news on Phys.org
You can use the closed formula ##\det A = \sum_{\sigma \in \operatorname{Sym}(n)} \operatorname{sgn}(\sigma) \prod_{k=1}^n A_{k\sigma(k)}## and calculate.
 
I have written about the first derivative of the determinant here

https://www.physicsforums.com/threa...-cofactor-and-determinant.970419/post-6165630
given a matrix ##A## that depends on some variable ##x##: ##A_{ij}=A_{ij}\left(x\right)##, the derivative of its determinant (##A=\mbox{det}\left(A\right)##) is:

##\partial_x A = A \left(A^{-1} \right)_{ji} \partial_x A_{ij}##

if ##x\to A_{sk}## then ##\partial_{x} A_{ij} \to \delta_{si}\delta_{kj}## so:##\partial_{A_{sk}} A = A \left(A^{-1} \right)_{ks} ##
 
Last edited by a moderator:
brydustin said:
Hi all...I've read on wikipedia (facepalm) that the first derivative of a determinant is

del(det(A))/del(A_ij) = det(A)*(inv(A))_j,i

If we go to find the second derivative (applying power rule), we get:

del^2(A) / (del(A)_pq) (del (A)_ij) = {del(det(A))/del(A_pq)}*(inv(A))_j,i + det(A)*{del(inv(A)_j,i) / del(A_pq)}

I have no clue how to calculate the derivative of the inverse of a matrix with respect to changing the values in the original matrix:
I.E. del(inv(A)_j,i) / del(A_pq)

Also... would be nice if someone could prove the first statement for the first derivative of the determinant.

Thanks!
Can't you use ##Det(AA^{-1})=Id ## to differentiate?
 
WWGD said:
Can't you use ##Det(AA^{-1})=Id ## to differentiate?
... and shouldn't the trace be ##D_{Id}\det A\,##?
 
WWGD said:
Can't you use ##Det(AA^{-1})=Id ## to differentiate?
Shouldn't Id in the above equation be just 1? ##Det(I) = 1##.
 
Mark44 said:
Shouldn't Id in the above equation be just 1? ##Det(I) = 1##.
Ah,yes,Duh myself.
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
7
Views
19K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K