Both are wrong. In the first case you are missing a 2 in both terms (still giving the same equation if you put the variation to zero). In the second case you missed a 2 only on the first term.
#3
nenyan
67
0
Thank you. I see.
Kij=gimgjnKmn
I should consider another Kij here.