The Euler–Lagrange equations for a bob attached to a spring are $${d\over dt}\left({\partial L\over\partial v}\right)=\left({\partial L\over\partial x}\right)$$
But is $v$ a function of $x$? Normal thinking says that $x$ is a function of $t$ and $v$ is a function of $t$, but it is not necessary that $v$ be a function of $x$. Mathematically, however, $x=f(t)$ and $v=g(t)$, so $g^{-1}(v)=t$ and $x=f(g^{-1}(v))$.
The chain rule should be applied in these equations – why not here? I had previously asked this question on the physics Stack Exchange but it was marked a duplicate. In one of the answers there I found that the dedication of William Burke's Applied Differential Geometry read
To all those who, like me, have wondered how you can change $\dot q$ without changing $q$.
I couldn't understand the answer there. My mathematics is not that good. So I asked it here again. If someone could give an answer without the concept of manifolds, I think I will be able to understand it.
And Most importantly answers here say that notation is not that, but W. Burke has another reasons while the answers in the link have another reason. So what is the correct reason ? Like in f=(g(t)) we apply the chain rule. So why not here when f'(x) is function of f(x)?
Answer: It's so because the q and q dot are explicit functions of time so their partial derivative with each other is 0.....
"In mechanics, tangent vectors to the configuration manifold are called virtual variations"
For more context, this is on page $92$, in section about D'Alembert-Lagrange principle
– Rias Gremory Aug 14 '24 at 19:25