How should I show that the transformation makes the system Hamiltonian?

  • #1
Math100
797
221
Homework Statement
Consider the system of equations ## \frac{dx}{dt}=(a-by)x(1-x^2), 0<x<1, \frac{dy}{dt}=-(c-dx)y(1-y^2), 0<y<1 ##, where ## a, b, c ## and ## d ## are positive constants.

Show that the transformation ## x=\frac{1}{\sqrt{1+e^{-2q}}}, y=\frac{1}{\sqrt{1+e^{-2p}}} ## makes the system Hamiltonian, with Hamiltonian function ## H(q, p)=ap-b\cdot ln(e^{p}+\sqrt{1+e^{2p}})+cq-d\cdot ln(e^{q}+\sqrt{1+e^{2q}}) ##. (Hint: You may find the following indefinite integral useful: ## \int \frac{dx}{\sqrt{1+e^{-2x}}}=ln(e^{x}+\sqrt{1+e^{2x}}). ##)
Relevant Equations
By definition, a system ## \dot{x}=X(x, y), \dot{y}=Y(x, y) ## is called a Hamiltonian system if there exists a function ## H(x, y) ## such that ## X=\frac{\partial H}{\partial y} ## and ## Y=\frac{\partial H}{\partial x} ##. Then ## H ## is called the Hamiltonian function for the system. A necessary and sufficient condition for ## \dot{x}=X(x, y) ## and ## \dot{y}=Y(x, y) ## to be Hamiltonian is that ## \frac{\partial X}{\partial x}+\frac{\partial Y}{\partial y}=0 ##.
Proof:

Consider the transformation ## x=\frac{1}{\sqrt{1+e^{-2q}}} ## and ## y=\frac{1}{\sqrt{1+e^{-2p}}} ## with the Hamiltonian function ## H(q, p)=ap-b\cdot ln(e^{p}+\sqrt{1+e^{2p}})+cq-d\cdot ln(e^{q}+\sqrt{1+e^{2q}}) ##.
Let ## \dot{x}=\frac{dx}{dt}=(a-by)x(1-x^2)=(a-by)(x-x^3) ## and ## \dot{y}=\frac{dy}{dt}=-(c-dx)y(1-y^2)=-(c-dx)(y-y^3) ##.
By using direct substitution of the transformation ## x=\frac{1}{\sqrt{1+e^{-2q}}} ## and ## y=\frac{1}{\sqrt{1+e^{-2p}}} ##,
we have that ## \dot{x}=\frac{dx}{dt}=(a-\frac{b}{\sqrt{1+e^{-2p}}})(\frac{1}{\sqrt{1+e^{-2q}}}-(\frac{1}{\sqrt{1+e^{-2q}}})^3)=(a-\frac{b}{\sqrt{1+e^{-2p}}})(\frac{e^{q}}{(e^{2q}+1)^{3/2}}) ## and ## \dot{y}=\frac{dy}{dt}=-(c-\frac{d}{\sqrt{1+e^{-2q}}})(\frac{1}{\sqrt{1+e^{-2p}}}-(\frac{1}{\sqrt{1+e^{-2p}}})^3)=-(c-\frac{d}{\sqrt{1+e^{-2q}}})(\frac{e^{p}}{(e^{2p}+1)^{3/2}}) ##.
Note that ## X=\frac{\partial H}{\partial p}=a-b(\frac{1}{e^{p}+\sqrt{1+e^{2p}}})(e^{p}+\frac{e^{2p}}{\sqrt{1+e^{2p}}}) ## and ## Y=\frac{\partial H}{\partial q}=c-d(\frac{1}{e^{q}+\sqrt{1+e^{2q}}})(e^{q}+\frac{e^{2q}}{\sqrt{1+e^{2q}}}) ##.

Above is my proof for this problem. Is everything correct up to here? How should I finish this proof? What needs to be done?
 
Physics news on Phys.org
  • #2
You need to show that [itex]\dot q = \frac{\partial H}{\partial p}[/itex] nad [itex]\dot p = - \frac{\partial H}{\partial q}[/itex] for some [itex]H(p,q)[/itex] (and the question suggests one). Therefore you need to calculate [itex]\dot q[/itex] and [itex]\dot p[/itex]; the easiest way to do that is [tex]
\dot q = \frac{dq}{dx} \dot x \qquad \dot p = \frac{dp}{dy}\dot y.[/tex] Note, however, that [itex]x = f(q)[/itex] and [itex]y = f(p)[/itex] where [itex]f(z) = (1 + e^{-2z})^{-1/2}[/itex]. Rearranging this we have [tex]e^{2q} = \frac{x^2}{1 - x^2}[/tex] so that [itex]2q = 2\ln x - \ln(1 - x^2)[/itex] and hence [tex]\begin{split}
\frac{dq}{dx} &= \frac1x + \frac{x}{1 - x^2} \\
&= \frac{1}{x(1 - x^2)}. \end{split}[/tex] The denominator neatly cancels the factor of [itex]x(1-x^2)[/itex] in [itex]\dot x[/itex] leaving [tex]
\dot q = a - by = a - bf(p).[/tex] In the same way you can find [itex]\dot p[/itex].

Now [itex]\dot q[/itex] is a function of [itex]p[/itex] alone and [itex]\dot p[/itex] is a function of [itex]q[/itex] alone, so setting [tex]
H = \int \dot q \,dp - \int \dot p \,dq
[/tex] will give [tex]
\dot q = \frac{\partial H}{\partial p} \qquad \dot p = -\frac{\partial H}{\partial q}[/tex] as required.
 
  • Like
Likes Math100
  • #3
pasmith said:
You need to show that [itex]\dot q = \frac{\partial H}{\partial p}[/itex] nad [itex]\dot p = - \frac{\partial H}{\partial q}[/itex] for some [itex]H(p,q)[/itex] (and the question suggests one). Therefore you need to calculate [itex]\dot q[/itex] and [itex]\dot p[/itex]; the easiest way to do that is [tex]
\dot q = \frac{dq}{dx} \dot x \qquad \dot p = \frac{dp}{dy}\dot y.[/tex] Note, however, that [itex]x = f(q)[/itex] and [itex]y = f(p)[/itex] where [itex]f(z) = (1 + e^{-2z})^{-1/2}[/itex]. Rearranging this we have [tex]e^{2q} = \frac{x^2}{1 - x^2}[/tex] so that [itex]2q = 2\ln x - \ln(1 - x^2)[/itex] and hence [tex]\begin{split}
\frac{dq}{dx} &= \frac1x + \frac{x}{1 - x^2} \\
&= \frac{1}{x(1 - x^2)}. \end{split}[/tex] The denominator neatly cancels the factor of [itex]x(1-x^2)[/itex] in [itex]\dot x[/itex] leaving [tex]
\dot q = a - by = a - bf(p).[/tex] In the same way you can find [itex]\dot p[/itex].

Now [itex]\dot q[/itex] is a function of [itex]p[/itex] alone and [itex]\dot p[/itex] is a function of [itex]q[/itex] alone, so setting [tex]
H = \int \dot q \,dp - \int \dot p \,dq
[/tex] will give [tex]
\dot q = \frac{\partial H}{\partial p} \qquad \dot p = -\frac{\partial H}{\partial q}[/tex] as required.
That was very informative and thorough! I have another question under this same problem.

Show that if ## b>a ## and ## d>c ##, then the transformed system has a centre at ## x=c/d ## and ## y=a/b ##, and prove that in this case, all orbits of the original system are periodic.

My question is, how should I construct a proof for this question? Does the given point ## x=c/d, y=a/b ## indicate a fixed point for this system?
 
  • #4
Math100 said:
That was very informative and thorough! I have another question under this same problem.

Show that if ## b>a ## and ## d>c ##, then the transformed system has a centre at ## x=c/d ## and ## y=a/b ##, and prove that in this case, all orbits of the original system are periodic.

My question is, how should I construct a proof for this question? Does the given point ## x=c/d, y=a/b ## indicate a fixed point for this system?

Note that the transformation in part (a) has domain [itex](q,p) \in [0,\infty)^2[/itex] and range [itex][1,\infty)^2[/itex].

How you determine if a point is or is not a fixed point?

If a point is a fixed point, how do you classify it as a centre or otherwise? What are the possible types of trajectory which can occur in a Hamiltonian system?
 
  • #5
The fixed points occur when ## X(x, y)=Y(x, y)=0 ##.
 
Back
Top