In a certain textbook a function is given as:
$$f=f(x(t))$$
And then this is differentiated w.r.t. $t$ to get:
$$f_t=\dot{x}f_x$$
(Where the notation $f_u=df/du$, $f_{uu}=d^2f/du^2$, etc.)
This is then taken as a functional $A=A(x,\dot{x},t)=\dot{x}f_x$ and differentiated w.r.t. $x$ and $\dot{x}$ and set to zero:
$$A_{\dot{x}}=f_x=0$$ $$A_x=\dot{x}f_{xx}=0$$
My concern is that in doing this the textbook has not completely differentiated $A_{\dot{x}}$ and $A_x$ In particular it has ignored the derivatives $\frac{dx}{d\dot{x}}$ and $\frac{d\dot{x}}{dx}$ If I'm not mistaken the complete differentiation would be:
$$A_{\dot{x}}=f_x+\frac{dx}{d\dot{x}}\dot{x}f_{xx}=0$$ $$A_x=\dot{x}f_{xx}+\frac{d\dot{x}}{dx}f_x=0$$
Multiplying the first of these equations through by $\frac{d\dot{x}}{dx}$ or the second equation by $\frac{dx}{d\dot{x}}$ you get the relation:
$$\frac{d\ln{f_x}}{dt}=-\frac{d\ln{\dot{x}}}{dt}$$
and $$\frac{A_x}{A_{\dot{x}}}=\frac{d\ln{\dot{x}}}{dt}$$
Whereas doing it the book's way you get $$\frac{d\ln{f_x}}{dt}=1$$
and $$\frac{A_x}{A_{\dot{x}}}=\frac{d\ln{f_x}}{dt}$$
By ignoring the derivatives of $x$ and $\dot{x}$ w.r.t. each other, then, the book is tacitly assuming that $$-\frac{d\ln{\dot{x}}}{dt}=1$$
EDIT: (and hence that $\frac{A_x}{A_{\dot{x}}}=1$, which introduces a contradiction b/c we also know from the fully executed derivative that $\frac{A_x}{A_{\dot{x}}}=\frac{d\ln{\dot{x}}}{dt}$ which by the said tacit assumption $=-1$)
My question is: is this a safe assumption? What is the physical meaning of this assumption?