binbagsss said:
okay well I was trying to incrorporate Oroduin's hints since, as said in the OP, i can't get rid of the factor of 1/2 in the derivative term.
To give a specfic example if I consider: ##-1/2 \partial_u \phi \partial^u \phi - 1/2 m^2 \phi^2 ##
then, my previous method, before making this thread was:
##\frac{\partial L}{\partial \phi}= m^2 \phi##
##\frac{\partial L}{\partial_u \phi}= \partial^u \phi (-1/2) ##
therefore yielding ## \partial_u \frac{\partial L}{\partial_u \phi} - \frac{\partial L}{\partial \phi} = -1/2 \partial^u\partial_u \phi + m^2 \phi ##
whereas the EoM is :
But now, trying to use Oroduin's hint I rewrite as ## L=-1/2 \partial_u \phi g^{au} \partial_a \phi +m^2... ##
Now looking at the derivative term I get ## \frac{\partial L}{\partial \phi} = =-1/2g^{au} ( \partial_a \phi \frac{\partial}{\partial_u \phi}(\partial_u \phi) + \partial_u \phi \frac{\partial}{\partial_u \phi}(\partial_a \phi))=-1/2 g^{au} ( \partial_a \ phi (1) + \partial_u \delta_{au} ##
where I have used the product rule, and taken out the metric since it is the minkoski...
##= -1/2 (\partial^u + g^{aa}\partial_a) ##...
You have to be careful about indices. If you look at just the term [itex]\frac{1}{2} g^{au} (\partial_a \phi) (\partial_u \phi)[/itex] and you take a derivative with respect to [itex]\partial_u \phi[/itex], you have to realize that in [itex]\frac{1}{2} g^{au} (\partial_a \phi) (\partial_u \phi)[/itex], [itex]u[/itex] is a dummy index. You can replace it by [itex]v[/itex], say. So you have:
[itex]\frac{\partial}{\partial(\partial_u \phi)} \frac{1}{2} g^{av} (\partial_a \phi) (\partial_v \phi)[/itex]Now, [itex]\frac{\partial}{\partial(\partial_u \phi)} (\partial_a \phi) = 0[/itex] unless [itex]a=u[/itex]. So we can summarize it as:
[itex]\frac{\partial}{\partial(\partial_u \phi)} (\partial_a \phi) = \delta^u_a[/itex]
Similarly,
[itex]\frac{\partial}{\partial(\partial_u \phi)} (\partial_v \phi) = \delta^u_v[/itex]
So using the product rule gives you:
[itex]\frac{\partial}{\partial(\partial_u \phi)} \frac{1}{2} g^{av} (\partial_a \phi) (\partial_v \phi) = \frac{1}{2} g^{av} (\delta^u_a \partial_v \phi + \delta^u_v \partial_a \phi)[/itex]
Then we can use [itex]g^{av} \delta^u_a = g^{uv} \delta^u_a[/itex]. Summing over [itex]a[/itex] gives [itex]g^{uv}[/itex]. Similarly, [itex]g^{av} \delta^u_v = g^{au} \delta^u_v[/itex]. Summing over [itex]v[/itex] gives [itex]g^{au}[/itex]. So this simplifies to:[itex]\frac{1}{2} (g^{uv} \partial_v \phi + g^{au} \partial_a \phi)[/itex]
Those two terms are the same, since [itex]a[/itex] and [itex]v[/itex] are dummies and [itex]g^{au} = g^{ua}[/itex]. So we have:
[itex]g^{uv} \partial_v \phi[/itex]
The EoM are just:
[itex]\partial_u (g^{uv} \partial_v \phi) = \pm m^2 \phi[/itex]
(I don't remember whether the right side is a + or a -)