Here is a simple demonstration that although the derivative of a constant function is zero, it does not necessarily follow that the
partial derivative of a constant function is zero.
Consider the function [itex]f(x,y) = 2y^2 - x^2 = 1[/itex]
Since f(x,y) = 1, the function f is a constant function.
Now the partial derivative of f with respect to x is:
[tex]\frac{\delta}{\delta x} f(x,y) = \frac{\delta}{\delta x} (1) = \frac{\delta}{\delta x} (2y^2 - x^2) = 2x[/tex]
The partial derivative of f with respect to y is:
[tex]\frac{\delta}{\delta y} f(x,y) = \frac{\delta}{\delta y} (1) = \frac{\delta}{\delta y} (2y^2 - x^2) = 4y[/tex]
Clearly the
partial differentiation of the constant function f(x,y)=1 with respect to x or y is not zero, except at the point where x=0 or y=0. It is easy to demonstrate that x or y can take other values.
Solve the original equation for x:
[tex]2y^2 - x^2 = 1[/tex]
[tex]\Rightarrow x = \sqrt{2y^2-1}[/tex]
When y=1, x = sqrt(2*1^2-1) = 1.
When y=5, x = sqrt(2*5^2-1) = sqrt(2*25-1) = sqrt(50-1) = sqrt(49) = 7.
Obviously x can take on many other values depending on the value of y.
When calculating the constants of motion, we note that the metric is independent of the variable s, t and [itex]\phi[/itex] and we only take partial differentials of L with respect to those independent variables.