In Ref. 1, in section 3, they wrote: \begin{equation} L'(q,\dot{q},\ddot{q},t)~=~L(q,\dot{q},\ddot{q},t)-\frac{dS(q,\dot{q},t)}{dt}.\tag{14} \end{equation} Then the Hamilton-Jacobi equation is \begin{equation} \frac{\partial S}{\partial t}~=~-H_0,\tag{27} \end{equation} where $$H_0~=~p\dot{q}+\pi\ddot{q}-L,\tag{28}$$ where $$p~=~\dfrac{\partial S}{\partial q}\quad\text{and}\quad \pi~=~\dfrac{\partial S}{\partial \dot{q}}.\tag{29}$$
I was confused because here the action is a function of $\dot{q}$ ! Then I read this answer by Qmechanic, and I had this question: is this action a Hamilton's principle function? If yes, in Hamilton's principal function $S(q,\alpha,t)$, the $\alpha$ is an integration constant. But here we have $S(q,\dot{q},t)$; $\dot{q}$ is not an integration constant. If no, what is that action?
EDIT: I want to know if the function $S$ is considered as an action. If yes, I need an explanation on how an action could be a function of $\dot{q}$? And if no, how is this function related to the known action $S[q]$?
References:
- B.M. Pimentel & R.G. Teixeira, Hamilton-Jacobi formulation for singular systems with second order Lagrangians, arXiv:hep-th/9512099.