# Hamilton Jacobi Equation

1. Jun 11, 2012

### M. next

Hello! General Question about the H-J equation.
What are the steps to be followed if we are in a conservative system?

And while answering my question, please in the step after we find S, and when you derive S wrt alpha and place it equals to β. When is alpha Energy? When it is not? i.e is it only Energy?

Thanks Guys.

2. Jun 12, 2012

### vanhees71

The Hamilton-Jacobi partial differential equation (HJE) aims to find the generator $g(q,P,t)$ of a canonical transformation such that the trajectories are described by $(Q,P)=\text{const}$. This means that the new Hamiltonian must obey

$$\partial_Q H'(Q,P,t)=\partial_P H'(Q,P,t)=0.$$

This means that the new Hamiltonian is a function of time only:

$$H'(Q,P,t)=H(q,p,t)+\partial_t g(q,P,t)=f(t).$$

However, without any change of generality you can add an arbitrary function of time only to $g$, and thus you can as well demand that

$$H'(Q,P,t)=H(q,p,t)+\partial_t g(q,P,t)=0.$$

Since now $p=\partial_q g$, you get

$$H \left (q,\partial_q g,t \right ) + \partial_t g=0.$$

For a system with $f$ configuration degrees of freedom, any solution of this partial differential equation of a function of $f+1$ independent variables $q$ and $t$ must contain $f+1$ integration constants. One of these is trivial since it just adds a constant to $H'$ which is irrelevant. Thus you have $f$ integration constants that you identify with the new canonical momenta $P$. The trajectories of the system are then given by

$$Q^k=\frac{\partial g}{\partial P_k}=\text{const}.$$

If $H=H(q,p)$, i.e., if the Hamiltonian is not explicitly time dependent, due to Noether's theorem it's constant. That means

$$H=E=\text{const}\; \Rightarrow\; \partial_t g=-E \; \Rightarrow \; g(t,q,P)=-E t+S(q,E,P_2,\ldots,P_f).$$

Here, we have chosen the energy value as one of the new canonical momenta, i.e., set $P_1=E$. The corresponding new configuration variable then is

$$Q^1=\partial_E g=-t+\partial_E S.$$

In a similar way you can simplify the task if one of the configuration variables is cyclical, i.e., if the Hamiltonian doesn't depend on it. Then the corresponding canonical momentum is conserved, and you can keep it as one of the new momenta.

Note that, against the claim in Landau, Lifgarbages Vol. 1, in general there are not enough conservation laws to solve the HJE completely. That's the case only for integrable systems. For a more mathematical treatment of these issues see,

V. Arnold, Classical Mechanics, Springer.

3. Jun 12, 2012

### M. next

I understood what you wrote but I kinda depend on another procedure.
First I find LaGrangian
Then I find the momenta from it
After that, I find Hamiltonian
Then place H(q,$\partial$S$_{o}$/$\partial$q)
Then substitute this in Hamiltonian
After that we place the formula S(q,t)=So-Et
Next we work to find So then S.. And so on..

Do you see where am going? If yes, I want to ask why when we have to separate variable (to summation)
And try to find S$_{2}$ (Where S$_{o}$=S$_{1}$+S$_{2}$ perhaps) Why do we cross out the Derivative squared of S$_{1}$ by dx$^{2}$? And set the whole thing equals to alpha? Is this regular?

4. Jun 13, 2012

### vanhees71

I don't understand precisely what you mean. The idea is of course to solve the HJE for the given problem as efficiently as possible. If you have a cyclic variable you keep the conserved momentum of it as a new momentum. Perhaps it's most efficient to work out an example. Perhaps you could take the Kepler problem with a fixed center as the most simple example.

We simplify it further by putting in that the motion must be in a plane perpendicular to angular momentum. We use polar coordinates in that plane. The Lagrangian reads

$$L=T-V=\frac{m}{2} (\dot{r}^2+r^2 \dot{\varphi}^2)+\frac{K}{r}.$$

The canonical momenta are

$$p_r=\frac{\partial L}{\partial \dot{r}}=m \dot{r}, \quad p_{\varphi}= \frac{\partial L}{\partial \dot{\varphi}}=m r^2 \dot{\varphi}.$$

Because the Lagrangian is homogeneous of degree 2 in the time derivatives of the position variables, the Hamiltonian is

$$H=T+V=\frac{p_r^2}{2m} + \frac{l^2}{2m^2 r^2} - \frac{K}{r}.$$

You immediately see that $\varphi$ is cyclical, i.e., the corresponding canonical momentum, $l$ is conserved, und you keep it as one of the new canonical momentum variables. Since the Hamiltonian is not explicitly dependent on time, the energy is conserved, which you take as another new canonical momentum. Thus the system is integrable, because there are two conserved quantities, which we take as the new canonical momenta. Thus your ansatz for the solution of the HJE reads

$S(r,\varphi,E,l)=-E t + l \varphi +\tilde{S}(r,E,l).$

Now you insert this ansatz into the HJE and solve for $\tilde{S}$. I hope this makes the whole procedure clear.

5. Jun 14, 2012

### M. next

Thank you really. Thank you very much.

6. Jun 14, 2012

### vanhees71

You are welcome :-).