Can You Solve the Hamilton-Jacobi Equation for the Linear Harmonic Oscillator?

  • MHB
  • Thread starter Chris L T521
  • Start date
In summary, the Hamilton-Jacobi equation is a partial differential equation used to find the equations of motion for classical mechanical systems. The linear harmonic oscillator is a simple mechanical system that is commonly used to study oscillatory behavior. Solving the Hamilton-Jacobi equation for the linear harmonic oscillator allows for a better understanding of the system's behavior and can be applied to more complex systems. The mathematical solution to this equation is a function called the action, which describes the system's energy and momentum. Real-world applications of the Hamilton-Jacobi equation for the linear harmonic oscillator include studying pendulums, springs, and other oscillatory systems in fields such as physics, engineering, and economics. It is also used in quantum mechanics to describe the behavior
  • #1
Chris L T521
Gold Member
MHB
915
0
Here's this week's problem (more along the lines of physics).

-----

Problem: Show that the function\[S(p,q,\alpha)=\frac{m\omega}{2}(q^2+\alpha^2)\cot(\omega t) - m\omega q\alpha\csc(\omega t)\]
is a solution of the Hamilton-Jacobi equation for Hamilton's principal function for the linear harmonic oscillator with Hamiltonian
\[H(p,q)=\frac{p^2+m^2\omega^2q^2}{2m}.\]
Show that this function generates a correct solution to the motion of the harmonic oscillator.

-----

Hints and Suggestions:

We first note that $S$ is a solution to the Hamilton-Jacobi equation if
\[H\left(q,\frac{\partial S}{\partial q}\right)+\frac{\partial S}{\partial t} = 0.\]

To show that $S$ generates a correct solution to the motion of the harmonic oscillator, you need to recover $q$ and $p$ from $S$. To do this, you need to use the transformation equations

\[\left\{\begin{aligned}Q &= \beta = \frac{\partial S}{\partial \alpha}\\ p &= \frac{\partial S}{\partial q}.\end{aligned}\right.\]

Last but not least, the following trigonometric identity may come in handy:

\[A\sin(\omega t) + B\cos(\omega t)= \sqrt{A^2+B^2}\sin(\omega t+\varphi)\text{ with }\varphi = \text{sgn}\,(B)\arccos\left(\frac{A}{\sqrt{A^2+B^2}}\right)\]

 
Physics news on Phys.org
  • #2
No one took a bite at this week's question. Here's my work.

We first show that $S$ is a solution to the Hamilton-Jacobi equation\[H\left(q,\frac{\partial S}{\partial q}\right)+\frac{\partial S}{\partial t}=0.\]
Since $S$ is given by
\[S=\frac{m\omega}{2}(q^2+\alpha^2)\cot(\omega t) - m\omega q\alpha\csc(\omega t),\]
we see that
\[\frac{\partial S}{\partial q} = m\omega q\cot(\omega t) - m\omega\alpha\csc(\omega t)\]
and
\[\frac{\partial S}{\partial t} = -\frac{m\omega^2}{2}(q^2+\alpha^2)\csc^2(\omega t) + m\omega^2 q\alpha\csc(\omega t)\cot(\omega t).\]
It now follows that
\[\begin{aligned}H\left(q,\frac{\partial S}{\partial q}\right) &= \frac{1}{2m}\left[\left(\frac{\partial S}{\partial q}\right)^2 +m^2\omega^2q^2\right]\\ &= \frac{1}{2m}\left[\left(m\omega q\cot(\omega t) - m\omega\alpha\csc(\omega t)\right)^2 +m^2\omega^2q^2\right]\\ &= \frac{1}{2m}\left[m^2\omega^2q^2\left(\cot^2(\omega t)+1\right)-2m^2\omega^2q\alpha\csc(\omega t)\cot(\omega t)+m^2\omega^2\alpha^2\csc^2(\omega t)\right]\\ &= \frac{1}{2m}\left(m^2\omega^2(q^2+\alpha^2)\csc^2(\omega t)-2m^2\omega^2q\alpha\csc(\omega t)\cot(\omega t)\right)\\ &= \frac{m\omega^2}{2}(q^2+\alpha^2)\csc^2(\omega t) - m\omega^2q\alpha\csc(\omega t)\cot(\omega t)\\ &= -\frac{\partial S}{\partial t}.\end{aligned}\]
Therefore, $H\left(q,\dfrac{\partial S}{\partial q}\right) + \dfrac{\partial S}{\partial t}=0$.

To show that $S$ generates a correct solution solution to the motion of the harmonic oscillator, we need to recover $p$ and $q$ from $S$. To do that, we need to use the transformation equations
\[\left\{\begin{aligned}Q &= \frac{\partial S}{\partial \alpha}=\beta\\ p &= \frac{\partial S}{\partial q}.\end{aligned}\right.\]
With this, we see that
\[Q = \beta = \frac{\partial S}{\partial\alpha} = m\omega\alpha\cot(\omega t)-m\omega q\csc(\omega t).\]
This implies that
\[q=\alpha\cos(\omega t)-\frac{\beta}{m\omega}\sin(\omega t)=\frac{1}{m\omega}\left(m\omega\alpha\cos(\omega t)-\beta\sin(\omega t)\right).~~~~~(1)\]
Using the trigonometric identity
\[A\sin(\omega t) + B\cos(\omega t)= \sqrt{A^2+B^2}\sin(\omega t+\varphi)~~~~~(2)\]
with
\[\varphi = \text{sgn}\,(B)\arccos\left(\frac{A}{\sqrt{A^2+B^2}}\right)~~~~~(3)\]
we see that

\[\boxed{q=\dfrac{\sqrt{m^2\omega^2\alpha^2+\beta^2}}{m\omega} \sin(\omega t + \varphi_1) ;\qquad \varphi_1 = \text{sgn}\,(\alpha) \arccos\left(-\dfrac{\beta}{\sqrt{m^2 \omega^2 \alpha^2 + \beta^2}}\right)}. ~~~~~(4)\]

Now, we note that
\[p = \frac{\partial S}{\partial q} = m\omega q\cot(\omega t) - m\omega\alpha\csc(\omega t).~~~~~(5)\]
Substituting (1) into (5) yields
\[\begin{aligned}p &= \left(m\omega\alpha\cos(\omega t)-\beta\sin(\omega t)\right)\cot(\omega t) - m\omega a\csc(\omega t)\\ &= m\omega\alpha\cos^2(\omega t)\csc(\omega t) - \beta\cos(\omega t)-m\omega\alpha\csc(\omega t)\\ &= -m\omega\alpha(1-\cos^2(\omega t))\csc(\omega t)-\beta\cos(\omega t)\\ &= -m\omega\alpha\sin(\omega t)-\beta\cos(\omega t).\end{aligned}~~~~~(6)\]
Applying the trigonometric identity in (2) to (6), we see that
\[\boxed{p = \sqrt{m^2\omega^2\alpha^2+\beta^2} \sin(\omega t+\varphi_2);\qquad \varphi_2=\text{sgn}\,(-\beta)\arccos \left(-\dfrac{m\omega\alpha}{\sqrt{m^2\omega^2\alpha^2+ \beta^2}}\right)}. ~~~~~(7)\]
Thus, (4) and (7) together form a correct solution to the motion of the harmonic oscillator.
 

FAQ: Can You Solve the Hamilton-Jacobi Equation for the Linear Harmonic Oscillator?

What is the Hamilton-Jacobi equation?

The Hamilton-Jacobi equation is a partial differential equation that describes the behavior of a classical mechanical system. It is used to find the equations of motion for a system by considering the total energy and momentum of the system.

What is the linear harmonic oscillator?

The linear harmonic oscillator is a simple mechanical system in which a mass is attached to a spring and is allowed to oscillate back and forth. It is a common model used in physics and engineering to study the behavior of oscillatory systems.

Why is solving the Hamilton-Jacobi equation for the linear harmonic oscillator important?

Solving the Hamilton-Jacobi equation for the linear harmonic oscillator allows us to understand the behavior of a simple oscillatory system in terms of its energy and momentum. This can provide insights into more complex systems and can be used to make predictions about their behavior.

What is the mathematical solution to the Hamilton-Jacobi equation for the linear harmonic oscillator?

The solution to the Hamilton-Jacobi equation for the linear harmonic oscillator is a function of the position and time of the oscillating mass. This function, called the action, describes the total energy and momentum of the system and can be used to determine the equations of motion for the system.

What are some real-world applications of the Hamilton-Jacobi equation for the linear harmonic oscillator?

The Hamilton-Jacobi equation for the linear harmonic oscillator has applications in various fields, including physics, engineering, and economics. It can be used to study the behavior of pendulums, springs, and other oscillatory systems. It is also used in quantum mechanics to describe the behavior of particles in potential wells and other systems.

Back
Top