0

From the Lagrangian in Maxwell theory

$$L = -\frac{1}{2}(\partial_{\mu} A_{\nu})(\partial^{\mu} A^{\nu}) + \frac{1}{2}(\partial_{\mu}A^{\mu})^2 - A_{\mu}J^{\mu}$$

I have to calculate $\frac{\partial L}{\partial (\partial_{\mu}A_{\nu})}$.

I understood that

$$\frac{\partial }{\partial (\partial_{\mu}A_{\nu})}\left(-\frac{1}{2}(\partial_{\mu} A_{\nu})(\partial^{\mu} A^{\nu}) \right) = -\partial^{\nu}A^{\mu}.$$

I don't get the second part though:

$$\frac{\partial}{\partial (\partial_{\mu}A_{\nu})}\left(\frac{1}{2}(\partial_{\mu}A^{\mu})^2\right) = (\partial_{\rho}A^{\rho})\eta^{\mu\nu}.$$

I am still surfing thought the indexes and tensor manipulations in derivatives and so on, but here I got stuck. Where does the metric (flat spacetime) tensor comes out from?

Qmechanic
  • 201,751
Heidegger
  • 337
  • 1
  • This for sure has been asked here before, so use the search function 2. You should make sure to not use the same indices for the derivative, i.e. the indices in the Lagrangian are contracted, and to net get into trouble, you should use different indices.
  • – Tobias Fünke Jan 20 '24 at 10:15
  • @TobiasFünke I searched for it, I found lots of things but that one – Heidegger Jan 20 '24 at 10:16
  • 2
    Well, I don't mean (although it is of course possible) the exact same question, but a very similar one. Anyway, hint: the metric raises and lowers indices. And in the worst case: write out the sum convention and plug in some values for the indices in the derivative to see how everything works out. – Tobias Fünke Jan 20 '24 at 10:22
  • Possible duplicates: https://physics.stackexchange.com/q/3005/2451 , https://physics.stackexchange.com/q/512402/2451 and links therein. – Qmechanic Jan 20 '24 at 10:47