Derivative of Determinant of Metric Tensor With Respect to Entries

Click For Summary
SUMMARY

The discussion centers on the differentiation of the determinant of a metric tensor, denoted as ##Z##, with respect to its entries. Participants clarify that the relationship between the determinant and its cofactor can be expressed as $$\frac{\partial |Z|}{\partial Z_{ij}} = |Z| Z^{ij}$$. The conversation emphasizes the importance of understanding matrix traces and the Levi-Civita symbols in this context. Key insights include the distinction between absolute and relative Levi-Civita symbols and the proper application of matrix differentiation techniques.

PREREQUISITES
  • Understanding of matrix calculus, specifically differentiation of determinants.
  • Familiarity with the Levi-Civita symbol and its applications in tensor calculus.
  • Knowledge of matrix traces and their properties.
  • Basic concepts of metric tensors in differential geometry.
NEXT STEPS
  • Study the properties of the Levi-Civita symbol in tensor analysis.
  • Learn about matrix differentiation techniques, focusing on determinants and traces.
  • Explore the implications of the cofactor expansion in the context of metric tensors.
  • Investigate the applications of matrix calculus in physics, particularly in general relativity.
USEFUL FOR

Mathematicians, physicists, and engineers working with differential geometry, tensor analysis, and matrix calculus will benefit from this discussion, particularly those involved in theoretical physics and general relativity.

yucheng
Messages
232
Reaction score
57
Homework Statement
We are to show that $\frac{\partial Z}{\partial Z_{ij}} = Z Z^{ij}$ See https://math.stackexchange.com/questions/4141664/derivative-of-metric-tensor-with-respect-to-entries

P.S. this is actually part of the proof of the Voss-Weyl formula given in Pavel Grinfeld's book but the author does not care to derive it...
Relevant Equations
N/A
We know that the cofactor of determinant ##A##, is
$$\frac{\partial A}{\partial a^{r}_{i}} = A^{i}_{r} = \frac{1}{2 !}\delta^{ijk}_{rst} a^{s}_{j} a^{t}_{k} = \frac{1}{2 !}e^{ijk} e_{rst} a^{s}_{j} a^{t}_{k}$$

By analogy,
$$\frac{\partial Z}{\partial Z_{ij}} = \frac{1}{2 !}e^{ikl} e^{jmn} Z_{km} Z_{ln} = \frac{Z}{2 !} \epsilon^{ikl} \epsilon^{jmn} Z_{km} Z_{ln}$$?

As $$\epsilon^{ijk} = \frac{e^{ijk}}{\sqrt{Z}}$$. However, we should note that Z is **not** a tensor, since we only have relative levi-civita symbols, but if we substitute absolute levi-civita symbols, then it is indeed one (second equality)? Wait, I'm not sure whether one should call the former, ##\epsilon## 'absolute' and the latter, ##e## 'relative'...

Hmmm, this looks interesting. Would you give any hints as to what's wrong? Thanks in advance!
 
Last edited:
Physics news on Phys.org
Use that ln(det(X)) = tr(ln(X)) and differentiate.
 
  • Like
Likes   Reactions: yucheng
Orodruin said:
Use that ln(det(X)) = tr(ln(X)) and differentiate.
I see that you've given this hint somewhere else as well. Reminds me of exponentiating an operator... Oh well, I have got to learn it... Thanks!
 
Did I not format the homework statement properly?... $$\frac{\partial Z}{\partial Z_{ij}} = Z Z^{ij}$$

Where ##Z## is the determinant.
 
It's okay. Orodruin already gave you a hint:\begin{align*}
\dfrac{1}{|Z|} \dfrac{\partial |Z|}{\partial Z_{ij}} &= \dfrac{\partial \log |Z|}{\partial Z_{ij}} = \mathrm{Tr} \left( Z^{-1} \frac{\partial Z}{\partial Z_{ij}} \right)
\end{align*}Do you know how to take the trace?
 
  • Like
Likes   Reactions: yucheng
ergospherical said:
It's okay. Orodruin already gave you a hint:\begin{align*}
\dfrac{1}{|Z|} \dfrac{\partial |Z|}{\partial Z_{ij}} &= \dfrac{\partial \log |Z|}{\partial Z_{ij}} = \mathrm{Tr} \left( Z^{-1} \frac{\partial Z}{\partial Z_{ij}} \right)
\end{align*}Do you know how to take the trace?
I am confused with traces and logs of matrices actually, but let me have a look. (I know the definition, trace is the sum of the diagonal terms, log: expand log in terms of the power series of the matrix)
 
ergospherical said:
It's okay. Orodruin already gave you a hint:\begin{align*}
\dfrac{1}{|Z|} \dfrac{\partial |Z|}{\partial Z_{ij}} &= \dfrac{\partial \log |Z|}{\partial Z_{ij}} = \mathrm{Tr} \left( Z^{-1} \frac{\partial Z}{\partial Z_{ij}} \right)
\end{align*}Do you know how to take the trace?
wait

\begin{align*}
\dfrac{1}{|Z|} \dfrac{\partial |Z|}{\partial Z_{ij}} = \mathrm{Tr} \left( Z^{-1} \frac{\partial Z}{\partial Z_{ij}} \right)
\end{align*}
and isn't

\begin{align*}
\dfrac{1}{|Z|} \dfrac{\partial |Z|}{\partial Z_{ij}} = \left( Z^{-1} \frac{\partial Z}{\partial Z_{ij}} \right)
\end{align*}

?

Because they are scalars!

Wait this is confusing did you intend ##|Z|## to be the determinant while ##Z## to be the metric tensor?
 
No. Remember that the trace of a matrix is ##\mathrm{Tr}(A) = {A^i}_i## with summation implied over repeated indices. Matrix multiplication is ##A = BC \iff {A^i}_j = {B^i}_k {C^k}_j## and the trace of this product is then ##{A^i}_i = {B^i}_k {C^k}_i##.

In the context of this step, \begin{align*}
{\left( Z^{-1} \frac{\partial Z}{\partial Z_{ij}}\right)^k}_l = Z^{km} {\frac{\partial {Z_{ml}}}{\partial Z_{ij}}}
\end{align*}What is the trace?
 
  • Like
Likes   Reactions: yucheng
  • #10
Why am I switching between matrices and tensors o:)
 
  • #11
yucheng said:
Wait this is confusing did you intend ##|Z|## to be the determinant while ##Z## to be the metric tensor?
Yes, I am denoting by ##Z## a matrix.
 
  • #12
Finally, found my pen and paper.

\begin{align*}
\dfrac{1}{|Z|} \dfrac{\partial |Z|}{\partial Z_{ij}} &= \mathrm{Tr} \left( Z^{-1} \frac{\partial Z}{\partial Z_{ij}} \right)
\end{align*}

since $$ Z = [Z_{ij}]$$
, $$ Z^{-1} = [Z^{ij}]$$
, $$\mathrm{Tr} \left(AB\right) = A^{i}_{j} B^{j}_{i}$$

We see that
$$RHS = Z^{lm} \frac{\partial Z_{lm}}{\partial Z_{ij}}$$

and combining LHS and RHS

$$\dfrac{1}{|Z|} \dfrac{\partial |Z|}{\partial Z_{ij}}= Z^{lm} \frac{\partial Z_{lm}}{\partial Z_{ij}} = Z^{lm} \delta^{ij}_{lm} = Z^{ij}$$

In conclusion,

$$\dfrac{1}{|Z|} \dfrac{\partial |Z|}{\partial Z_{ij}}= Z^{ij}$$

or

$$\dfrac{\partial |Z|}{\partial Z_{ij}}= |Z| Z^{ij}$$

Thanks @Orodruin and @ergospherical !
 
  • Like
Likes   Reactions: ergospherical
  • #14
ergospherical said:
No. Remember that the trace of a matrix is ##\mathrm{Tr}(A) = {A^i}_i## with summation implied over repeated indices. Matrix multiplication is ##A = BC \iff {A^i}_j = {B^i}_k {C^k}_j## and the trace of this product is then ##{A^i}_i = {B^i}_k {C^k}_i##.

In the context of this step, \begin{align*}
{\left( Z^{-1} \frac{\partial Z}{\partial Z_{ij}}\right)^k}_l = Z^{km} {\frac{\partial {Z_{ml}}}{\partial Z_{ij}}}
\end{align*}What is the trace?
Just a quick question, what is $$\frac{\partial {Z}}{\partial Z_{ij}}$$? Do we take the partial derivative of each entry of the metric tensor and get back the matrix with the same dimensions?
 
  • #15
Yeah, it's a matrix with components ##\dfrac{\partial Z_{kl}}{\partial Z_{ij}}## in the ##(k,l)^{\mathrm{th}}## position.
 
  • Like
Likes   Reactions: yucheng

Similar threads

Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
5K