1 / 52100%
PHYS 305 - INTRODUCTION TO MODERN
PHYSICS - Hamiltonian mechanics Question
Bank - Set 2
Question 1
Consider a particle with mass m= 2 kg moving in a one-dimensional system
with a potential energy function U(x) = 3x2and a kinetic energy function
T(x, v) = 1
2mv2.
a) Write down the Hamiltonian function H(x, p) for this system.
b) Calculate the Hamiltonian equations of motion for this system.
c) If the particle is initially at rest at x= 1, determine its position and
velocity at a later time t= 2 s.
Step-by-step solutions:
a) The Hamiltonian function is given by:
H(x, p) = T+U=1
2mv2+U(x) = 1
2mv2+ 3x2
Substitute the expressions for kinetic and potential energy to get:
H(x, p) = 1
2mp
m2
+ 3x2=p2
4m+ 3x2
So, the Hamiltonian function for this system is H(x, p) = p2
4m+ 3x2.
b) The Hamiltonian equations of motion are given by:
dx
dt =∂H
∂p and dp
dt =−∂H
∂x
Differentiate the Hamiltonian function with respect to pand xto obtain:
∂H
∂p =p
2mand ∂H
∂x = 6x
So, the Hamiltonian equations of motion are:
dx
dt =p
2mand dp
dt =−6x
1
c) Given that the particle is initially at rest at x= 1, we have x(0) = 1 and
p(0) = 0. Solve the Hamiltonian equations of motion to find the position and
velocity at t= 2 s.
The solution of the equations of motion are:
x(t) = Acos r3
2mt!+Bsin r3
2mt!
p(t) = −Ar3m
2sin r3
2mt!+Br3m
2cos r3
2mt!
Applying the initial conditions, we find that A= 1 and B= 0. Therefore,
at t= 2 s, we have:
x(2) = cos 2r3
4!= cos √3≈ −0.5
v(2) = −r3
2sin √3≈ −1.3 m/s
Therefore, at t= 2 s, the position of the particle is approximately −0.5 m
and its velocity is approximately −1.3 m/s.Question 1:
Consider a particle with mass m= 2 kg moving in a one-dimensional
system with a potential energy function U(x)=3x2and a kinetic en-
ergy function T(x, v) = 1
2mv2.
a) Write down the Hamiltonian function H(x, p)for this system.
b) Calculate the Hamiltonian equations of motion for this system.
c) If the particle is initially at rest at x= 1, determine its position
and velocity at a later time t= 2 s.
Step-by-step solutions:
a) The Hamiltonian function is given by:
H(x, p) = T+U=1
2mv2+U(x) = 1
2mv2+ 3x2
Substitute the expressions for kinetic and potential energy to get:
H(x, p) = 1
2mp
m2
+ 3x2=p2
4m+ 3x2
So, the Hamiltonian function for this system is H(x, p) = p2
4m+ 3x2.
b) The Hamiltonian equations of motion are given by:
dx
dt =∂H
∂p and dp
dt =−∂H
∂x
Differentiate the Hamiltonian function with respect to pand xto
obtain:
2
∂H
∂p =p
2mand ∂H
∂x = 6x
So, the Hamiltonian equations of motion are:
dx
dt =p
2mand dp
dt =−6x
c) Given that the particle is initially at rest at x= 1, we have
x(0) = 1 and p(0) = 0. Solve the Hamiltonian equations of motion to
find the position and velocity at t= 2 s.
The solution of the equations of motion are:
x(t) = Acos r3
2mt!+Bsin r3
2mt!
p(t) = −Ar3m
2sin r3
2mt!+Br3m
2cos r3
2mt!
Applying the initial conditions, we find that A= 1 and B= 0.
Therefore, at t= 2 s, we have:
x(2) = cos 2r3
4!= cos √3≈ −0.5
v(2) = −r3
2sin √3≈ −1.3m/s
Therefore, at t= 2 s, the position of the particle is approximately
−0.5m and its velocity is approximately −1.3m/s.
Question 2
Consider a particle of mass mmoving in one dimension under the
influence of a potential given by V(x) = kx2, where kis a positive
constant. The Hamiltonian is defined by H=p2
2m+kx2.
Determine the Hamilton’s equations of motion for this system.
Solution:
The Hamilton’s equations of motion are given by:
dx
dt =∂H
∂p
dp
dt =−∂H
∂x
Given the Hamiltonian H=p2
2m+kx2, we can calculate the partial
derivatives as follows:
3
∂H
∂p =1
mp
∂H
∂x = 2kx
Therefore, the Hamilton’s equations of motion become:
dx
dt =1
mp
dp
dt =−2kx
These equations describe the motion of the particle in this poten-
tial field under Hamiltonian mechanics.Question 2:
Consider a particle of mass mmoving in one dimension under the
influence of a potential given by V(x) = kx2, where kis a positive
constant. The Hamiltonian is defined by H=p2
2m+kx2.
Determine the Hamilton’s equations of motion for this system.
Solution:
The Hamilton’s equations of motion are given by:
dx
dt =∂H
∂p
dp
dt =−∂H
∂x
Given the Hamiltonian H=p2
2m+kx2, we can calculate the partial
derivatives as follows:
∂H
∂p =1
mp
∂H
∂x = 2kx
Therefore, the Hamilton’s equations of motion become:
dx
dt =1
mp
dp
dt =−2kx
These equations describe the motion of the particle in this poten-
tial field under Hamiltonian mechanics.
Question 3
A particle of mass m= 2 kg is moving in one dimension under the
influence of the potential energy function U(x) = 1
2kx2where k= 4
4
N/m. The particle is also subjected to a damping force of magnitude
Fd=−2vN, where vis the velocity of the particle. Find the equations
of motion for the particle using Hamiltonian mechanics.
Solution:
The Hamiltonian for this system is given by:
H=T+U
Where Tis the kinetic energy and Uis the potential energy. The
kinetic energy of the particle can be expressed as T=1
2m˙x2, where ˙x
is the velocity of the particle.
Substitute the given potential energy function into the Hamilto-
nian:
U(x) = 1
2kx2=1
2×4x2= 2x2
Thus, the Hamiltonian Hbecomes:
H=T+U=1
2m˙x2+ 2x2
The equation of motion can be found using the Hamilton’s equa-
tions:
1. dq
dt =∂H
∂p 2. dp
dt =−∂H
∂q
Where q=x,p=∂L
∂˙q=∂T
∂˙x=m˙x.
Applying the first Hamilton’s equation:
dx
dt =∂H
∂p =∂
∂p 1
2m˙x2+ 2x2=m˙x
Applying the second Hamilton’s equation:
dp
dt =−∂H
∂x =−∂
∂x 1
2m˙x2+ 2x2=−4x
With the damping force included, the equation of motion becomes:
m¨x=−4x−2 ˙x
This differential equation represents the dynamics of the particle in
one dimension under the given potential energy function and damping
force.Question 3:
A particle of mass m= 2 kg is moving in one dimension under the
influence of the potential energy function U(x) = 1
2kx2where k= 4
N/m. The particle is also subjected to a damping force of magnitude
Fd=−2vN, where vis the velocity of the particle. Find the equations
of motion for the particle using Hamiltonian mechanics.
Solution:
The Hamiltonian for this system is given by:
5
H=T+U
Where Tis the kinetic energy and Uis the potential energy. The
kinetic energy of the particle can be expressed as T=1
2m˙x2, where ˙x
is the velocity of the particle.
Substitute the given potential energy function into the Hamilto-
nian:
U(x) = 1
2kx2=1
2×4x2= 2x2
Thus, the Hamiltonian Hbecomes:
H=T+U=1
2m˙x2+ 2x2
The equation of motion can be found using the Hamilton’s equa-
tions:
1. dq
dt =∂H
∂p 2. dp
dt =−∂H
∂q
Where q=x,p=∂L
∂˙q=∂T
∂˙x=m˙x.
Applying the first Hamilton’s equation:
dx
dt =∂H
∂p =∂
∂p 1
2m˙x2+ 2x2=m˙x
Applying the second Hamilton’s equation:
dp
dt =−∂H
∂x =−∂
∂x 1
2m˙x2+ 2x2=−4x
With the damping force included, the equation of motion becomes:
m¨x=−4x−2 ˙x
This differential equation represents the dynamics of the particle in
one dimension under the given potential energy function and damping
force.
Question 4
Consider a one-dimensional harmonic oscillator with mass m= 1 kg
and spring constant k= 4 N/m. The total energy of the system is
given by the Hamiltonian H=p2
2m+1
2kx2, where pis the momentum
and xis the position of the oscillator.
(a) Calculate the Hamiltonian function for this harmonic oscillator.
(b) Find the Hamilton’s equations of motion for the momentum and
position of the oscillator.
Step-by-step Solutions:
6
(a) The Hamiltonian function for the harmonic oscillator can be
calculated as follows:
Given H=p2
2m+1
2kx2, substitute m= 1 kg and k= 4 N/m into the
formula:
H=p2
2+ 2x2.
Therefore, the Hamiltonian function for the harmonic oscillator is
H=p2
2+ 2x2.
(b) The Hamilton’s equations of motion for the momentum pand
position xof the harmonic oscillator can be derived as follows:
The Hamilton’s equations are: ˙p=−∂H
∂x and ˙x=∂H
∂p .
Calculate the partial derivatives of the Hamiltonian H=p2
2+ 2x2
with respect to xand p:∂H
∂x = 4xand ∂H
∂p =p.
Therefore, the Hamilton’s equations of motion are: ˙p=−4xand
˙x=p.
This completes the calculation of the Hamiltonian function and the
Hamilton’s equations of motion for the harmonic oscillator.Question
4:
Consider a one-dimensional harmonic oscillator with mass m= 1 kg
and spring constant k= 4 N/m. The total energy of the system is
given by the Hamiltonian H=p2
2m+1
2kx2, where pis the momentum
and xis the position of the oscillator.
(a) Calculate the Hamiltonian function for this harmonic oscillator.
(b) Find the Hamilton’s equations of motion for the momentum and
position of the oscillator.
Step-by-step Solutions:
(a) The Hamiltonian function for the harmonic oscillator can be
calculated as follows:
Given H=p2
2m+1
2kx2, substitute m= 1 kg and k= 4 N/m into the
formula:
H=p2
2+ 2x2.
Therefore, the Hamiltonian function for the harmonic oscillator is
H=p2
2+ 2x2.
(b) The Hamilton’s equations of motion for the momentum pand
position xof the harmonic oscillator can be derived as follows:
The Hamilton’s equations are: ˙p=−∂H
∂x and ˙x=∂H
∂p .
Calculate the partial derivatives of the Hamiltonian H=p2
2+ 2x2
with respect to xand p:∂H
∂x = 4xand ∂H
∂p =p.
Therefore, the Hamilton’s equations of motion are: ˙p=−4xand
˙x=p.
This completes the calculation of the Hamiltonian function and
the Hamilton’s equations of motion for the harmonic oscillator.
7
Question 5
“‘latex Question 5:
Consider a particle of mass mmoving in one dimension under the
influence of a potential V(x) = 1
2kx2where kis the spring constant.
(a) Write down the Hamiltonian function for this system.
(b) Calculate the Hamilton’s equations of motion for this system.
Solution:
(a) The Hamiltonian function is given by:
H=p2
2m+1
2kx2
(b) The Hamilton’s equations of motion are:
˙x=∂H
∂p =p
m
˙p=−∂H
∂x =−kx
“‘
Feel free to reach out if you need more questions or assistance.Sure,
here is the LaTeX code for a numerical question on Hamiltonian me-
chanics for Liberty University:
“‘latex Question 5:
Consider a particle of mass mmoving in one dimension under the
influence of a potential V(x) = 1
2kx2where kis the spring constant.
(a) Write down the Hamiltonian function for this system.
(b) Calculate the Hamilton’s equations of motion for this system.
Solution:
(a) The Hamiltonian function is given by:
H=p2
2m+1
2kx2
(b) The Hamilton’s equations of motion are:
˙x=∂H
∂p =p
m
˙p=−∂H
∂x =−kx
“‘
Feel free to reach out if you need more questions or assistance.
8
Question 6
(a) Write down the Hamilton’s equations of motion for this system.
(b) Solve the Hamilton’s equations of motion to obtain expressions
for x(t)and p(t)as a function of time.
(c) Calculate the total energy of the particle and verify that it is
conserved.
Step-by-step Solutions:
(a) The Hamilton’s equations of motion are given by:
˙x=∂H
∂p and ˙p=−∂H
∂x
Substitute the Hamiltonian Hinto the equations above:
˙x=p
mand ˙p=−kx
(b) To solve the Hamilton’s equations, we integrate the equations
from time 0 to t:Zt
0
˙xdt =Zt
0
p
mdt
⇒x(t)−x(0) = p(t)
mt−p(0)
m(0)
⇒x(t) = x(0) + p(t)
mt
Zt
0
˙pdt =Zt
0−kxdt
⇒p(t)−p(0) = −kZt
0
xdt
⇒p(t) = p(0) −kZt
0
xdt
(c) The total energy of the particle is given by:
Etotal =p2
2m+1
2kx2
To verify that it is conserved, we differentiate Etotal with respect
to time: dEtotal
dt =p˙p
m+kx ˙x
=p
m(−kx) + kx p
m
= 0
9
Therefore, the total energy of the particle is conserved.Question 6:
Consider a particle of mass m= 2 kg moving in one dimension under
the influence of a potential given by V(x) = 1
2kx2, with k= 3 N/m.
The Hamiltonian of the system is given by H=p2
2m+V(x).
(a) Write down the Hamilton’s equations of motion for this system.
(b) Solve the Hamilton’s equations of motion to obtain expressions
for x(t)and p(t)as a function of time.
(c) Calculate the total energy of the particle and verify that it is
conserved.
Step-by-step Solutions:
(a) The Hamilton’s equations of motion are given by:
˙x=∂H
∂p and ˙p=−∂H
∂x
Substitute the Hamiltonian Hinto the equations above:
˙x=p
mand ˙p=−kx
(b) To solve the Hamilton’s equations, we integrate the equations
from time 0 to t:Zt
0
˙xdt =Zt
0
p
mdt
⇒x(t)−x(0) = p(t)
mt−p(0)
m(0)
⇒x(t) = x(0) + p(t)
mt
Zt
0
˙pdt =Zt
0−kxdt
⇒p(t)−p(0) = −kZt
0
xdt
⇒p(t) = p(0) −kZt
0
xdt
(c) The total energy of the particle is given by:
Etotal =p2
2m+1
2kx2
To verify that it is conserved, we differentiate Etotal with respect
to time: dEtotal
dt =p˙p
m+kx ˙x
=p
m(−kx) + kx p
m
= 0
Therefore, the total energy of the particle is conserved.
10
Question 7
Question 7: Consider a particle of mass mmoving in one dimension
under the influence of a potential V(x) = 1
2kx2, where kis a positive
constant. The Hamiltonian of the system is given by H=p2
2m+1
2kx2,
where pis the momentum of the particle.
a) Obtain the Hamilton’s equations of motion. b) Show that the
total energy E=p2
2m+1
2kx2for this system is conserved.
Step-by-step solutions:
a) The Hamilton’s equations of motion are given by:
dx
dt =∂H
∂p ,dp
dt =−∂H
∂x
From the given Hamiltonian H=p2
2m+1
2kx2, we have:
∂H
∂p =p
m,∂H
∂x =kx
Therefore, the Hamilton’s equations of motion become:
dx
dt =p
m,dp
dt =−kx
b) To show that the total energy E=p2
2m+1
2kx2is conserved, we
need to show that dE
dt = 0.
Starting with E=p2
2m+1
2kx2, we have:
dE
dt =d
dt p2
2m+1
2kx2=2p
2m
dp
dt +kx dx
dt
Substitute dx
dt =p
mand dp
dt =−kx, we get:
dE
dt =2p
2m(−kx) + kx p
m= 0
Therefore, the total energy Efor this system is conserved.Sure,
here’s a numerical question on Hamiltonian mechanics for Liberty
University in LateX code:
Question 7: Consider a particle of mass mmoving in one dimension
under the influence of a potential V(x) = 1
2kx2, where kis a positive
constant. The Hamiltonian of the system is given by H=p2
2m+1
2kx2,
where pis the momentum of the particle.
a) Obtain the Hamilton’s equations of motion. b) Show that the
total energy E=p2
2m+1
2kx2for this system is conserved.
Step-by-step solutions:
11
a) The Hamilton’s equations of motion are given by:
dx
dt =∂H
∂p ,dp
dt =−∂H
∂x
From the given Hamiltonian H=p2
2m+1
2kx2, we have:
∂H
∂p =p
m,∂H
∂x =kx
Therefore, the Hamilton’s equations of motion become:
dx
dt =p
m,dp
dt =−kx
b) To show that the total energy E=p2
2m+1
2kx2is conserved, we
need to show that dE
dt = 0.
Starting with E=p2
2m+1
2kx2, we have:
dE
dt =d
dt p2
2m+1
2kx2=2p
2m
dp
dt +kx dx
dt
Substitute dx
dt =p
mand dp
dt =−kx, we get:
dE
dt =2p
2m(−kx) + kx p
m= 0
Therefore, the total energy Efor this system is conserved.
Question 8
“‘latex Question 8: Consider a particle of mass msubject to a one-
dimensional harmonic oscillator potential V(x) = 1
2kx2, with Hamilto-
nian
H=p2
2m+1
2kx2,
where pis the momentum conjugate to x. Find the equations of
motion for xand p.
Solution: To find the equations of motion, we need to use Hamil-
ton’s equations:
˙x=∂H
∂p =p
m,
˙p=−∂H
∂x =−kx.
These are the equations of motion for the particle in the harmonic
oscillator potential. The first equation gives the rate of change of
12
position xwith respect to time, and the second equation gives the
rate of change of momentum pwith respect to time.
Conclusion: The equations of motion for the particle in the one-
dimensional harmonic oscillator potential have been determined us-
ing Hamilton’s equations. “‘ This code will generate Question 8 and
its step-by-step solution on Hamiltonian mechanics for Liberty Uni-
versity.Sure, here is a numerical question on Hamiltonian mechanics
along with its step-by-step solution in LateX code:
“‘latex Question 8: Consider a particle of mass msubject to a one-
dimensional harmonic oscillator potential V(x) = 1
2kx2, with Hamilto-
nian
H=p2
2m+1
2kx2,
where pis the momentum conjugate to x. Find the equations of
motion for xand p.
Solution: To find the equations of motion, we need to use Hamil-
ton’s equations:
˙x=∂H
∂p =p
m,
˙p=−∂H
∂x =−kx.
These are the equations of motion for the particle in the harmonic
oscillator potential. The first equation gives the rate of change of
position xwith respect to time, and the second equation gives the
rate of change of momentum pwith respect to time.
Conclusion: The equations of motion for the particle in the one-
dimensional harmonic oscillator potential have been determined using
Hamilton’s equations. “‘ This code will generate Question 8 and its
step-by-step solution on Hamiltonian mechanics for Liberty Univer-
sity.
Question 9
Question 9: Consider a particle of mass mmoving in one dimen-
sion under the influence of a potential given by V(x) = kx2. The
Hamiltonian for this system is given by H=p2
2m+kx2. If we consider
a specific initial condition where the particle is at rest at position
x=a, determine the equation of motion and solve for the position as
a function of time.
Solution: Given Hamiltonian: H=p2
2m+kx2
Since the particle is at rest initially, p= 0.
Therefore, the equation of motion is given by dx
dt =∂H
∂p =p
mand
dp
dt =−∂H
∂x =−2kx.
Substitute p= 0 into the equations of motion:
13
dx
dt = 0 and dp
dt =−2kx
Solving the second equation, we get d2x
dt2=−2kx
This is a simple harmonic motion equation with angular frequency
ω=√2k. The general solution for the position as a function of time
is given by x(t) = Acos(ωt) + Bsin(ωt).
Applying the initial condition x(0) = a, we get a=A, therefore
x(t) = acos(ωt).
Thus, the position of the particle as a function of time is x(t) =
acos(√2kt).Sure, here is a numerical question on Hamiltonian mechan-
ics for Liberty University:
Question 9: Consider a particle of mass mmoving in one dimen-
sion under the influence of a potential given by V(x) = kx2. The
Hamiltonian for this system is given by H=p2
2m+kx2. If we consider
a specific initial condition where the particle is at rest at position
x=a, determine the equation of motion and solve for the position as
a function of time.
Solution: Given Hamiltonian: H=p2
2m+kx2
Since the particle is at rest initially, p= 0.
Therefore, the equation of motion is given by dx
dt =∂H
∂p =p
mand
dp
dt =−∂H
∂x =−2kx.
Substitute p= 0 into the equations of motion:
dx
dt = 0 and dp
dt =−2kx
Solving the second equation, we get d2x
dt2=−2kx
This is a simple harmonic motion equation with angular frequency
ω=√2k. The general solution for the position as a function of time
is given by x(t) = Acos(ωt) + Bsin(ωt).
Applying the initial condition x(0) = a, we get a=A, therefore
x(t) = acos(ωt).
Thus, the position of the particle as a function of time is x(t) =
acos(√2kt).
Question 10
Question 10: Consider a one-dimensional harmonic oscillator with
potential energy function V(x) = 1
2kx2, where k= 2 N/m. The Hamil-
tonian of the system is given by H=p2
2m+1
2kx2. Determine the
equations of motion for the system.
Solution: The equations of motion for Hamiltonian systems are
given by Hamilton’s equations:
dx
dt =∂H
∂p
dp
dt =−∂H
∂x
14
Given that H=p2
2m+1
2kx2, we can calculate the partial derivatives:
∂H
∂p =p
m
∂H
∂x =kx
Substitute these derivatives into Hamilton’s equations:
dx
dt =p
m
dp
dt =−kx
Therefore, the equations of motion for the system are:
dx
dt =p
m
dp
dt =−2x
Let me know if you need help with anything else.Certainly! Here
is a numerical question on Hamiltonian mechanics along with a step-
by-step solution in LateX code:
Question 10: Consider a one-dimensional harmonic oscillator with
potential energy function V(x) = 1
2kx2, where k= 2 N/m. The Hamil-
tonian of the system is given by H=p2
2m+1
2kx2. Determine the
equations of motion for the system.
Solution: The equations of motion for Hamiltonian systems are
given by Hamilton’s equations:
dx
dt =∂H
∂p
dp
dt =−∂H
∂x
Given that H=p2
2m+1
2kx2, we can calculate the partial derivatives:
∂H
∂p =p
m
∂H
∂x =kx
Substitute these derivatives into Hamilton’s equations:
dx
dt =p
m
dp
dt =−kx
15
Therefore, the equations of motion for the system are:
dx
dt =p
m
dp
dt =−2x
Let me know if you need help with anything else.
Question 11
Question 11: Consider a particle moving in one dimension, with
the Hamiltonian given by H=p2
2m+V(x), where m= 2 kg and V(x) =
1
2kx2with k= 4 N/m. If the particle is in the state defined by x= 1
m and p= 3 kg m/s, determine the total energy and write down the
Hamilton’s equations of motion for this system.
Solution: The total energy of the system is given by:
E=p2
2m+V(x)
Substitute the given values:
E=(3)2
2(2) +1
2(4)(1)2=9
4+ 2 = 17
4J
Hamilton’s equations of motion are given by:
dx
dt =∂H
∂p and dp
dt =−∂H
∂x
Substitute Hamiltonian H=p2
2m+V(x):
dx
dt =p
m
dp
dt =−dV (x)
dx =−kx
Therefore, the Hamilton’s equations of motion for this system are:
dx
dt =p
m
dp
dt =−kx
This completes the solution.Sure! Here is a numerical question on
Hamiltonian mechanics for Liberty University in LaTeX code:
Question 11: Consider a particle moving in one dimension, with
the Hamiltonian given by H=p2
2m+V(x), where m= 2 kg and V(x) =
16
1
2kx2with k= 4 N/m. If the particle is in the state defined by x= 1
m and p= 3 kg m/s, determine the total energy and write down the
Hamilton’s equations of motion for this system.
Solution: The total energy of the system is given by:
E=p2
2m+V(x)
Substitute the given values:
E=(3)2
2(2) +1
2(4)(1)2=9
4+ 2 = 17
4J
Hamilton’s equations of motion are given by:
dx
dt =∂H
∂p and dp
dt =−∂H
∂x
Substitute Hamiltonian H=p2
2m+V(x):
dx
dt =p
m
dp
dt =−dV (x)
dx =−kx
Therefore, the Hamilton’s equations of motion for this system are:
dx
dt =p
m
dp
dt =−kx
This completes the solution.
Question 12
Question 12: Consider a non-relativistic particle of mass mmoving
in one-dimension under the influence of a potential V(x) = 1
2kx2, where
kis a positive constant. The Hamiltonian for this system is given by
H=p2
2m+1
2kx2.
(a) Find the Hamilton’s equations of motion for this system. (b)
Show that the total energy of the system, given by E=p2
2m+1
2kx2, is
a constant of motion. (c) Solve the equations of motion to find x(t)
and p(t)in terms of the initial conditions x(0) and p(0). (d) Find the
expression for the period of small oscillations around the equilibrium
position.
Solution:
17
(a) The Hamilton’s equations of motion for this system are given
by:
˙x=∂H
∂p =p
m,
˙p=−∂H
∂x =−kx.
(b) To show that the total energy Eis a constant of motion, we
differentiate it with respect to time:
˙
E=dE
dt
=d
dt p2
2m+1
2kx2
=p˙p
m+kx ˙x
=p(−kx)
m+kx p
m
= 0.
Since ˙
E= 0, the total energy Eis a constant of motion.
(c) To solve the equations of motion, we integrate them to obtain
x(t)and p(t):
x(t) = p(0)
mt+x(0),
p(t) = p(0) cos(ωt)−mωx(0) sin(ωt),
where ω=qk
m.
(d) The period of small oscillations around the equilibrium position
is given by T=2π
ω, which simplifies to T= 2πpm
k.
This completes the solution to the numerical question on Hamil-
tonian mechanics for question 12.Sure! Here is a numerical question
on Hamiltonian mechanics for Liberty University:
Question 12: Consider a non-relativistic particle of mass mmoving
in one-dimension under the influence of a potential V(x) = 1
2kx2, where
kis a positive constant. The Hamiltonian for this system is given by
H=p2
2m+1
2kx2.
(a) Find the Hamilton’s equations of motion for this system. (b)
Show that the total energy of the system, given by E=p2
2m+1
2kx2, is
a constant of motion. (c) Solve the equations of motion to find x(t)
and p(t)in terms of the initial conditions x(0) and p(0). (d) Find the
expression for the period of small oscillations around the equilibrium
position.
Solution:
18
(a) The Hamilton’s equations of motion for this system are given
by:
˙x=∂H
∂p =p
m,
˙p=−∂H
∂x =−kx.
(b) To show that the total energy Eis a constant of motion, we
differentiate it with respect to time:
˙
E=dE
dt
=d
dt p2
2m+1
2kx2
=p˙p
m+kx ˙x
=p(−kx)
m+kx p
m
= 0.
Since ˙
E= 0, the total energy Eis a constant of motion.
(c) To solve the equations of motion, we integrate them to obtain
x(t)and p(t):
x(t) = p(0)
mt+x(0),
p(t) = p(0) cos(ωt)−mωx(0) sin(ωt),
where ω=qk
m.
(d) The period of small oscillations around the equilibrium position
is given by T=2π
ω, which simplifies to T= 2πpm
k.
This completes the solution to the numerical question on Hamil-
tonian mechanics for question 12.
Question 13
Question 13:
Consider a particle of mass m= 2 kg moving in one dimension
under the influence of a potential given by V(x) = 1
2kx2, where k=
4N/m. The Hamiltonian of the system is given by
H=p2
2m+1
2kx2
Calculate the equations of motion for x(t)and p(t)using Hamilton’s
equations.
Solution:
19
Given the Hamiltonian:
H=p2
2m+1
2kx2
We know Hamilton’s equations are:
˙x=∂H
∂p
˙p=−∂H
∂x
Calculating the partial derivatives:
∂H
∂p =p
m
∂H
∂x =kx
Substitute back into Hamilton’s equations:
˙x=p
m
˙p=−kx
Therefore, the equations of motion are:
˙x=p
m
˙p=−4x
These equations represent the dynamics of the particle under the
given potential.Certainly! Here’s a numerical question on Hamilto-
nian mechanics for Liberty University.
Question 13:
Consider a particle of mass m= 2 kg moving in one dimension
under the influence of a potential given by V(x) = 1
2kx2, where k=
4N/m. The Hamiltonian of the system is given by
H=p2
2m+1
2kx2
Calculate the equations of motion for x(t)and p(t)using Hamilton’s
equations.
Solution:
Given the Hamiltonian:
H=p2
2m+1
2kx2
We know Hamilton’s equations are:
20
˙x=∂H
∂p
˙p=−∂H
∂x
Calculating the partial derivatives:
∂H
∂p =p
m
∂H
∂x =kx
Substitute back into Hamilton’s equations:
˙x=p
m
˙p=−kx
Therefore, the equations of motion are:
˙x=p
m
˙p=−4x
These equations represent the dynamics of the particle under the
given potential.
Question 14
Question 14:
Consider a particle of mass m= 2 kg moving in one dimension with
potential energy given by V(x) = 4x2. Determine the Hamiltonian H
of the system and find the equations of motion for the particle.
Solution:
The Hamiltonian His given by the sum of kinetic energy Tand
potential energy V, where T=p2
2mand pis the momentum of the
particle.
The potential energy is given as V(x) = 4x2.
Therefore, the Hamiltonian is:
H=T+V=p2
2m+ 4x2
The equations of motion are determined by Hamilton’s equations:
˙x=∂H
∂p and ˙p=−∂H
∂x
21
Differentiating the Hamiltonian with respect to momentum p:
∂H
∂p =p
m
Differentiating the Hamiltonian with respect to position x:
∂H
∂x =−8x
Therefore, the equations of motion are:
˙x=p
mand ˙p=−8x
These equations govern the dynamics of the particle in this system.
This is the solution to question 14 on Hamiltonian mechanics for
Liberty University.Certainly! Here is a numerical question on Hamil-
tonian mechanics for Liberty University in LateX code:
Question 14:
Consider a particle of mass m= 2 kg moving in one dimension with
potential energy given by V(x) = 4x2. Determine the Hamiltonian H
of the system and find the equations of motion for the particle.
Solution:
The Hamiltonian His given by the sum of kinetic energy Tand
potential energy V, where T=p2
2mand pis the momentum of the
particle.
The potential energy is given as V(x) = 4x2.
Therefore, the Hamiltonian is:
H=T+V=p2
2m+ 4x2
The equations of motion are determined by Hamilton’s equations:
˙x=∂H
∂p and ˙p=−∂H
∂x
Differentiating the Hamiltonian with respect to momentum p:
∂H
∂p =p
m
Differentiating the Hamiltonian with respect to position x:
∂H
∂x =−8x
Therefore, the equations of motion are:
˙x=p
mand ˙p=−8x
These equations govern the dynamics of the particle in this system.
This is the solution to question 14 on Hamiltonian mechanics for
Liberty University.
22
Question 15
Question 15: Consider a particle of mass m= 2 kg moving in one
dimension under the influence of a potential V(x) = 1
2kx2where k= 3
N/m. Find the Hamiltonian function for this system, given that the
kinetic energy is T=1
2m˙x2.
Solution: The Hamiltonian function His defined as:
H=T+V
Given:
T=1
2m˙x2, V (x) = 1
2kx2
Substitute the given expressions for Tand Vinto the formula for
H:
H=1
2m˙x2+1
2kx2
Plugging in the values of m,k, and simplifying, we get:
H=1
2(2) ˙x2+1
2(3)x2
H= ˙x2+3
2x2
Therefore, the Hamiltonian function for this system is:
H= ˙x2+3
2x2
I hope this helps! Let me know if you need any further assis-
tance.Sure! Here is a numerical question along with its step-by-step
solution on Hamiltonian mechanics in LateX code:
Question 15: Consider a particle of mass m= 2 kg moving in one
dimension under the influence of a potential V(x) = 1
2kx2where k= 3
N/m. Find the Hamiltonian function for this system, given that the
kinetic energy is T=1
2m˙x2.
Solution: The Hamiltonian function His defined as:
H=T+V
Given:
T=1
2m˙x2, V (x) = 1
2kx2
Substitute the given expressions for Tand Vinto the formula for
H:
H=1
2m˙x2+1
2kx2
Plugging in the values of m,k, and simplifying, we get:
H=1
2(2) ˙x2+1
2(3)x2
23
H= ˙x2+3
2x2
Therefore, the Hamiltonian function for this system is:
H= ˙x2+3
2x2
I hope this helps! Let me know if you need any further assistance.
Question 16
Question 16: Consider a particle of mass m= 2 kg moving in one
dimension, with a potential energy given by V(x) = 1
2kx2where k=
3N/m. The Hamiltonian of the system is defined as H=T+V, where
Tis the kinetic energy.
(a) Write down the expression for the kinetic energy of the particle.
(b) Calculate the Hamiltonian Hin terms of the particle’s position
coordinate xand momentum coordinate p.
Solution:
(a) The kinetic energy Tof the particle is given by T=p2
2m, where
pis the momentum and mis the mass of the particle.
(b) The Hamiltonian Hof the system is defined as H=T+V.
Substituting the expressions for kinetic energy Tand potential energy
Vinto the Hamiltonian:
H=p2
2m+1
2kx2
H=p2
4+3
2x2
Therefore, the Hamiltonian of the system in terms of position
coordinate xand momentum coordinate pis H=p2
4+3
2x2.
Feel free to reach out if you need further assistance or more ques-
tions!Certainly! Here is a numerical question on Hamiltonian me-
chanics for Liberty University in LateX code:
Question 16: Consider a particle of mass m= 2 kg moving in one
dimension, with a potential energy given by V(x) = 1
2kx2where k=
3N/m. The Hamiltonian of the system is defined as H=T+V, where
Tis the kinetic energy.
(a) Write down the expression for the kinetic energy of the particle.
(b) Calculate the Hamiltonian Hin terms of the particle’s position
coordinate xand momentum coordinate p.
Solution:
(a) The kinetic energy Tof the particle is given by T=p2
2m, where
pis the momentum and mis the mass of the particle.
24
(b) The Hamiltonian Hof the system is defined as H=T+V.
Substituting the expressions for kinetic energy Tand potential energy
Vinto the Hamiltonian:
H=p2
2m+1
2kx2
H=p2
4+3
2x2
Therefore, the Hamiltonian of the system in terms of position
coordinate xand momentum coordinate pis H=p2
4+3
2x2.
Feel free to reach out if you need further assistance or more ques-
tions!
Question 17
Question 17: Consider a particle of mass m= 2 kg moving in one di-
mension under the influence of a potential energy given by U(x) = kx2,
where k= 4 N/m. The particle starts at rest at x= 2 m. Determine
the Hamiltonian of the particle and find its equation of motion.
Solution: The Hamiltonian of the particle is given by:
H=T+U
where Tis the kinetic energy and Uis the potential energy.
Given: m= 2 kg
U(x) = kx2with k= 4 N/m
Initial position: x= 2 m
Initial velocity: v= 0
Kinetic energy (T) is given by:
T=1
2mv2
Plugging in the values, we get:
T=1
2×2×(0)2= 0
Potential energy (U) is given by:
U=kx2
Plugging in the values, we get:
U= 4 ×(2)2= 16 J
Therefore, the Hamiltonian (H) is:
H=T+U= 0 + 16 = 16 J
25
To find the equation of motion, we use Hamilton’s equations:
˙p=−∂H
∂x
˙x=∂H
∂p
where ˙pis the time derivative of momentum and ˙xis the time
derivative of position.
Differentiating the Hamiltonian with respect to x, we get:
∂H
∂x =∂U
∂x = 2kx
So, the equation of motion for position is:
˙p=−2kx =−8x
Differentiating the Hamiltonian with respect to p, we get:
∂H
∂p =∂T
∂p =p
So, the equation of motion for momentum is:
˙x=p
Therefore, the equations of motion for the particle are:
˙p=−8x
˙x=p
This completes the solution.Sure, here is a numerical question on
Hamiltonian mechanics for Liberty University coded in LateX with
step-by-step solutions:
Question 17: Consider a particle of mass m= 2 kg moving in one di-
mension under the influence of a potential energy given by U(x) = kx2,
where k= 4 N/m. The particle starts at rest at x= 2 m. Determine
the Hamiltonian of the particle and find its equation of motion.
Solution: The Hamiltonian of the particle is given by:
H=T+U
where Tis the kinetic energy and Uis the potential energy.
Given: m= 2 kg
U(x) = kx2with k= 4 N/m
Initial position: x= 2 m
Initial velocity: v= 0
26
Kinetic energy (T) is given by:
T=1
2mv2
Plugging in the values, we get:
T=1
2×2×(0)2= 0
Potential energy (U) is given by:
U=kx2
Plugging in the values, we get:
U= 4 ×(2)2= 16 J
Therefore, the Hamiltonian (H) is:
H=T+U= 0 + 16 = 16 J
To find the equation of motion, we use Hamilton’s equations:
˙p=−∂H
∂x
˙x=∂H
∂p
where ˙pis the time derivative of momentum and ˙xis the time
derivative of position.
Differentiating the Hamiltonian with respect to x, we get:
∂H
∂x =∂U
∂x = 2kx
So, the equation of motion for position is:
˙p=−2kx =−8x
Differentiating the Hamiltonian with respect to p, we get:
∂H
∂p =∂T
∂p =p
So, the equation of motion for momentum is:
˙x=p
Therefore, the equations of motion for the particle are:
˙p=−8x
˙x=p
This completes the solution.
27
Question 18
Question 18: Consider a system with a Hamiltonian function given
by
H(q, p) = 1
2p2+1
2q2
Find the Hamilton’s equations of motion for this system.
Solution: The Hamilton’s equations of motion are given by
˙q=∂H
∂p and ˙p=−∂H
∂q
Given the Hamiltonian function H(q, p) = 1
2p2+1
2q2, we can calculate
the partial derivatives as follows:
∂H
∂p =pand ∂H
∂q =q
Therefore, the Hamilton’s equations of motion for this system are:
˙q=p
˙p=−q
This completes the solution.
Feel free to ask if you need any further assistance!Certainly! Here
is a numerical question on Hamiltonian mechanics along with a step-
by-step solution in LaTeX code:
Question 18: Consider a system with a Hamiltonian function given
by
H(q, p) = 1
2p2+1
2q2
Find the Hamilton’s equations of motion for this system.
Solution: The Hamilton’s equations of motion are given by
˙q=∂H
∂p and ˙p=−∂H
∂q
Given the Hamiltonian function H(q, p) = 1
2p2+1
2q2, we can calculate
the partial derivatives as follows:
∂H
∂p =pand ∂H
∂q =q
Therefore, the Hamilton’s equations of motion for this system are:
˙q=p
˙p=−q
This completes the solution.
Feel free to ask if you need any further assistance!
28
Question 19
Question 19: Consider a one-dimensional harmonic oscillator de-
scribed by the Hamiltonian:
H=p2
2m+1
2mω2x2
Find the equations of motion for x(t)and p(t)using Hamilton’s equa-
tions.
Solution: The Hamilton’s equations are:
˙x=∂H
∂p and ˙p=−∂H
∂x
Substitute the given Hamiltonian:
∂H
∂p =p
mand −∂H
∂x =−mω2x
Therefore, the equations of motion are:
˙x=p
mand ˙p=−mω2x
This completes the solution.
Feel free to reach out if you need more assistance!Sure, here is
a Hamiltonian mechanics question along with its solution in LateX
code:
Question 19: Consider a one-dimensional harmonic oscillator de-
scribed by the Hamiltonian:
H=p2
2m+1
2mω2x2
Find the equations of motion for x(t)and p(t)using Hamilton’s equa-
tions.
Solution: The Hamilton’s equations are:
˙x=∂H
∂p and ˙p=−∂H
∂x
Substitute the given Hamiltonian:
∂H
∂p =p
mand −∂H
∂x =−mω2x
Therefore, the equations of motion are:
˙x=p
mand ˙p=−mω2x
This completes the solution.
Feel free to reach out if you need more assistance!
29
Question 20
Question 20: Given a Hamiltonian function H(p, q) = p2
2m+1
2mω2q2,
determine the Hamilton’s equations of motion and solve them for the
case when m= 1 and ω= 2.
Solution: The Hamilton’s equations of motion are given by:
˙q=∂H
∂p and ˙p=−∂H
∂q
Substitute the Hamiltonian function H(p, q)into the equations above:
˙q=∂
∂p p2
2m+1
2mω2q2=p
mand ˙p=−∂
∂q p2
2m+1
2mω2q2=−mω2q
Therefore, the Hamilton’s equations of motion are:
˙q=p
mand ˙p=−mω2q
For m= 1 and ω= 2, the equations become:
˙q=pand ˙p=−2q
Thus, the Hamilton’s equations of motion for the given Hamilto-
nian function are ˙q=pand ˙p=−2qwhen m= 1 and ω= 2.Certainly!
Here is a numerical question on Hamiltonian mechanics along with a
step-by-step solution in LateX code:
Question 20: Given a Hamiltonian function H(p, q) = p2
2m+1
2mω2q2,
determine the Hamilton’s equations of motion and solve them for the
case when m= 1 and ω= 2.
Solution: The Hamilton’s equations of motion are given by:
˙q=∂H
∂p and ˙p=−∂H
∂q
Substitute the Hamiltonian function H(p, q)into the equations above:
˙q=∂
∂p p2
2m+1
2mω2q2=p
mand ˙p=−∂
∂q p2
2m+1
2mω2q2=−mω2q
Therefore, the Hamilton’s equations of motion are:
˙q=p
mand ˙p=−mω2q
For m= 1 and ω= 2, the equations become:
˙q=pand ˙p=−2q
Thus, the Hamilton’s equations of motion for the given Hamilto-
nian function are ˙q=pand ˙p=−2qwhen m= 1 and ω= 2.
30
Question 21
Solution: The equations of motion are given by Hamilton’s equa-
tions:
˙x=∂H
∂p ,˙p=−∂H
∂x
Calculating the partial derivatives of the Hamiltonian with respect
to pand x, we get:
∂H
∂p =p
m,∂H
∂x =−kx
These equations give us the following equations of motion:
˙x=p
m,˙p=−kx
Therefore, the equations of motion for this particle are:
˙x=p
m,˙p=−kx
This completes the solution.Question 21: Consider a particle of
mass mmoving in one dimension under the influence of a potential
V(x) = 1
2kx2. Given the Hamiltonian of the system as:
H=1
2mp2+1
2kx2
Calculate the equations of motion using Hamilton’s equations.
Solution: The equations of motion are given by Hamilton’s equa-
tions:
˙x=∂H
∂p ,˙p=−∂H
∂x
Calculating the partial derivatives of the Hamiltonian with respect
to pand x, we get:
∂H
∂p =p
m,∂H
∂x =−kx
These equations give us the following equations of motion:
˙x=p
m,˙p=−kx
Therefore, the equations of motion for this particle are:
˙x=p
m,˙p=−kx
This completes the solution.
31
Question 22
Question 22: A particle of mass m= 2 kg moves in a potential
field V(x) = 1
2kx2where k= 5 N/m. If the particle has Hamiltonian
H=p2
2m+1
2kx2, calculate the Hamilton’s equations of motion for the
particle.
Solution: Given Hamiltonian function:
H=p2
2m+1
2kx2
We need to find the Hamilton’s equations of motion:
dx
dt =∂H
∂p
dp
dt =−∂H
∂x
By differentiating the Hamiltonian with respect to the momenta
and positions, we get:
∂H
∂p =p
m
∂H
∂x =kx
Therefore, the Hamilton’s equations of motion are:
dx
dt =p
m
dp
dt =−kx
These equations govern the motion of the particle in the potential
field.
Feel free to reach out if you need further assistance or more ques-
tions!Certainly! Here is a numerical question on Hamiltonian me-
chanics along with the step-by-step solution presented in LateX code:
Question 22: A particle of mass m= 2 kg moves in a potential
field V(x) = 1
2kx2where k= 5 N/m. If the particle has Hamiltonian
H=p2
2m+1
2kx2, calculate the Hamilton’s equations of motion for the
particle.
Solution: Given Hamiltonian function:
H=p2
2m+1
2kx2
We need to find the Hamilton’s equations of motion:
dx
dt =∂H
∂p
dp
dt =−∂H
∂x
32
By differentiating the Hamiltonian with respect to the momenta
and positions, we get:
∂H
∂p =p
m
∂H
∂x =kx
Therefore, the Hamilton’s equations of motion are:
dx
dt =p
m
dp
dt =−kx
These equations govern the motion of the particle in the potential
field.
Feel free to reach out if you need further assistance or more ques-
tions!
Question 23
Question 23:
A particle of mass m= 2 kg moves in two dimensions under the
influence of a potential given by V(x, y)=4x2+y2. The kinetic energy
of the particle is given by T=1
2m˙x2+ ˙y2where xand yare the co-
ordinates in the xand ydirections respectively, and ˙xand ˙yrepresent
the velocities in the corresponding directions.
1. Calculate the Hamiltonian Hof the system. 2. Determine the
equations of motion for the particle.
Solution:
1. The Hamiltonian of the system is given by:
H=T+V
Substitute the given expressions for Tand V:
H=1
2m˙x2+ ˙y2+ 4x2+y2
H=1
2×2˙x2+ ˙y2+ 4x2+y2
H= ˙x2+ ˙y2+ 4x2+y2
H= ˙x2+ ˙y2+ 4x2+y2
2. The equations of motion for the particle can be found using
Hamilton’s equations:
33
dx
dt =∂H
∂˙x
dy
dt =∂H
∂˙y
d˙x
dt =−∂H
∂x
d˙y
dt =−∂H
∂y
Now, differentiate Hwith respect to ˙xand ˙y:
∂H
∂˙x= 2 ˙x
∂H
∂˙y= 2 ˙y
Differentiate Hwith respect to xand y:
−∂H
∂x =−8x
−∂H
∂y =−2y
Therefore, the equations of motion for the particle are:
˙x= 2 ˙x=⇒˙x= 0
˙y= 2 ˙y=⇒˙y= 0
¨x= 8x=⇒¨x=−8x
¨y= 2y=⇒¨y=−2y
These are the equations of motion for the particle in two dimen-
sions under the given potential.Sure! Here is a numerical question on
Hamiltonian mechanics along with its step-by-step solution in LateX
code:
Question 23:
A particle of mass m= 2 kg moves in two dimensions under the
influence of a potential given by V(x, y) = 4x2+y2. The kinetic energy
of the particle is given by T=1
2m˙x2+ ˙y2where xand yare the co-
ordinates in the xand ydirections respectively, and ˙xand ˙yrepresent
the velocities in the corresponding directions.
1. Calculate the Hamiltonian Hof the system. 2. Determine the
equations of motion for the particle.
Solution:
1. The Hamiltonian of the system is given by:
34
H=T+V
Substitute the given expressions for Tand V:
H=1
2m˙x2+ ˙y2+ 4x2+y2
H=1
2×2˙x2+ ˙y2+ 4x2+y2
H= ˙x2+ ˙y2+ 4x2+y2
H= ˙x2+ ˙y2+ 4x2+y2
2. The equations of motion for the particle can be found using
Hamilton’s equations:
dx
dt =∂H
∂˙x
dy
dt =∂H
∂˙y
d˙x
dt =−∂H
∂x
d˙y
dt =−∂H
∂y
Now, differentiate Hwith respect to ˙xand ˙y:
∂H
∂˙x= 2 ˙x
∂H
∂˙y= 2 ˙y
Differentiate Hwith respect to xand y:
−∂H
∂x =−8x
−∂H
∂y =−2y
Therefore, the equations of motion for the particle are:
˙x= 2 ˙x=⇒˙x= 0
˙y= 2 ˙y=⇒˙y= 0
¨x= 8x=⇒¨x=−8x
¨y= 2y=⇒¨y=−2y
These are the equations of motion for the particle in two dimen-
sions under the given potential.
35
Question 24
Question 24: Consider a particle of mass m= 1 kg moving in a two-
dimensional plane under the influence of a potential energy given by
U(x, y) = k(x2+y2), where k= 2 J/m2. The Hamiltonian for this system
is given by H=1
2mp2
x+p2
y+k(x2+y2).
(a) Write down the Hamilton’s equations of motion for this system.
(b) If the initial conditions are x(0) = 1 m, y(0) = 0,px(0) = 0 kg m/s,
and py(0) = 2 kg m/s, find the functions x(t),y(t),px(t), and py(t)that
describe the motion of the particle.
Solution:
(a) The Hamilton’s equations of motion are given by:
˙x=∂H
∂px
=px
m
˙y=∂H
∂py
=py
m
˙px=−∂H
∂x =−2kx
˙py=−∂H
∂y =−2ky
(b) Given the initial conditions, the equations of motion become:
˙x=px
m
˙y=py
m
˙px=−2kx
˙py=−2ky
The above equations can be solved numerically to find x(t),y(t),
px(t), and py(t)for the given initial conditions.
Feel free to ask if you need further clarification or assistance!Absolutely!
Here’s a numerical question on Hamiltonian mechanics along with
step-by-step solutions in LateX code:
Question 24: Consider a particle of mass m= 1 kg moving in a two-
dimensional plane under the influence of a potential energy given by
U(x, y) = k(x2+y2), where k= 2 J/m2. The Hamiltonian for this system
is given by H=1
2mp2
x+p2
y+k(x2+y2).
(a) Write down the Hamilton’s equations of motion for this system.
(b) If the initial conditions are x(0) = 1 m, y(0) = 0,px(0) = 0 kg m/s,
and py(0) = 2 kg m/s, find the functions x(t),y(t),px(t), and py(t)that
describe the motion of the particle.
Solution:
(a) The Hamilton’s equations of motion are given by:
36
˙x=∂H
∂px
=px
m
˙y=∂H
∂py
=py
m
˙px=−∂H
∂x =−2kx
˙py=−∂H
∂y =−2ky
(b) Given the initial conditions, the equations of motion become:
˙x=px
m
˙y=py
m
˙px=−2kx
˙py=−2ky
The above equations can be solved numerically to find x(t),y(t),
px(t), and py(t)for the given initial conditions.
Feel free to ask if you need further clarification or assistance!
Question 25
Question 25: Find the Hamiltonian for a particle of mass mmoving
in one dimension under the influence of a harmonic potential V(x) =
1
2kx2, where kis the spring constant.
Solution: The Hamiltonian for a particle in one dimension is given
by:
H=T+V
where Tis the kinetic energy and Vis the potential energy.
Given the potential energy V(x) = 1
2kx2, the kinetic energy is given
by:
T=p2
2m
Therefore, the Hamiltonian can be expressed as:
H=p2
2m+1
2kx2
Hence, the Hamiltonian for this system is
H=p2
2m+1
2kx2
.Certainly! Here is a numerical question on Hamiltonian mechanics
along with step-by-step solution in LateX code:
37
H= ˙x2+3
2x2
Therefore, the Hamiltonian function for this system is:
H= ˙x2+3
2x2
I hope this helps! Let me know if you need any further assistance.
Question 16
Question 16: Consider a particle of mass m= 2 kg moving in one
dimension, with a potential energy given by V(x) = 1
2kx2where k=
3N/m. The Hamiltonian of the system is defined as H=T+V, where
Tis the kinetic energy.
(a) Write down the expression for the kinetic energy of the particle.
(b) Calculate the Hamiltonian Hin terms of the particle’s position
coordinate xand momentum coordinate p.
Solution:
(a) The kinetic energy Tof the particle is given by T=p2
2m, where
pis the momentum and mis the mass of the particle.
(b) The Hamiltonian Hof the system is defined as H=T+V.
Substituting the expressions for kinetic energy Tand potential energy
Vinto the Hamiltonian:
H=p2
2m+1
2kx2
H=p2
4+3
2x2
Therefore, the Hamiltonian of the system in terms of position
coordinate xand momentum coordinate pis H=p2
4+3
2x2.
Feel free to reach out if you need further assistance or more ques-
tions!Certainly! Here is a numerical question on Hamiltonian me-
chanics for Liberty University in LateX code:
Question 16: Consider a particle of mass m= 2 kg moving in one
dimension, with a potential energy given by V(x) = 1
2kx2where k=
3N/m. The Hamiltonian of the system is defined as H=T+V, where
Tis the kinetic energy.
(a) Write down the expression for the kinetic energy of the particle.
(b) Calculate the Hamiltonian Hin terms of the particle’s position
coordinate xand momentum coordinate p.
Solution:
(a) The kinetic energy Tof the particle is given by T=p2
2m, where
pis the momentum and mis the mass of the particle.
24
(b) The Hamiltonian Hof the system is defined as H=T+V.
Substituting the expressions for kinetic energy Tand potential energy
Vinto the Hamiltonian:
H=p2
2m+1
2kx2
H=p2
4+3
2x2
Therefore, the Hamiltonian of the system in terms of position
coordinate xand momentum coordinate pis H=p2
4+3
2x2.
Feel free to reach out if you need further assistance or more ques-
tions!
Question 17
Question 17: Consider a particle of mass m= 2 kg moving in one di-
mension under the influence of a potential energy given by U(x) = kx2,
where k= 4 N/m. The particle starts at rest at x= 2 m. Determine
the Hamiltonian of the particle and find its equation of motion.
Solution: The Hamiltonian of the particle is given by:
H=T+U
where Tis the kinetic energy and Uis the potential energy.
Given: m= 2 kg
U(x) = kx2with k= 4 N/m
Initial position: x= 2 m
Initial velocity: v= 0
Kinetic energy (T) is given by:
T=1
2mv2
Plugging in the values, we get:
T=1
2×2×(0)2= 0
Potential energy (U) is given by:
U=kx2
Plugging in the values, we get:
U= 4 ×(2)2= 16 J
Therefore, the Hamiltonian (H) is:
H=T+U= 0 + 16 = 16 J
25
To find the equation of motion, we use Hamilton’s equations:
˙p=−∂H
∂x
˙x=∂H
∂p
where ˙pis the time derivative of momentum and ˙xis the time
derivative of position.
Differentiating the Hamiltonian with respect to x, we get:
∂H
∂x =∂U
∂x = 2kx
So, the equation of motion for position is:
˙p=−2kx =−8x
Differentiating the Hamiltonian with respect to p, we get:
∂H
∂p =∂T
∂p =p
So, the equation of motion for momentum is:
˙x=p
Therefore, the equations of motion for the particle are:
˙p=−8x
˙x=p
This completes the solution.Sure, here is a numerical question on
Hamiltonian mechanics for Liberty University coded in LateX with
step-by-step solutions:
Question 17: Consider a particle of mass m= 2 kg moving in one di-
mension under the influence of a potential energy given by U(x) = kx2,
where k= 4 N/m. The particle starts at rest at x= 2 m. Determine
the Hamiltonian of the particle and find its equation of motion.
Solution: The Hamiltonian of the particle is given by:
H=T+U
where Tis the kinetic energy and Uis the potential energy.
Given: m= 2 kg
U(x) = kx2with k= 4 N/m
Initial position: x= 2 m
Initial velocity: v= 0
26
Kinetic energy (T) is given by:
T=1
2mv2
Plugging in the values, we get:
T=1
2×2×(0)2= 0
Potential energy (U) is given by:
U=kx2
Plugging in the values, we get:
U= 4 ×(2)2= 16 J
Therefore, the Hamiltonian (H) is:
H=T+U= 0 + 16 = 16 J
To find the equation of motion, we use Hamilton’s equations:
˙p=−∂H
∂x
˙x=∂H
∂p
where ˙pis the time derivative of momentum and ˙xis the time
derivative of position.
Differentiating the Hamiltonian with respect to x, we get:
∂H
∂x =∂U
∂x = 2kx
So, the equation of motion for position is:
˙p=−2kx =−8x
Differentiating the Hamiltonian with respect to p, we get:
∂H
∂p =∂T
∂p =p
So, the equation of motion for momentum is:
˙x=p
Therefore, the equations of motion for the particle are:
˙p=−8x
˙x=p
This completes the solution.
27
Question 18
Question 18: Consider a system with a Hamiltonian function given
by
H(q, p) = 1
2p2+1
2q2
Find the Hamilton’s equations of motion for this system.
Solution: The Hamilton’s equations of motion are given by
˙q=∂H
∂p and ˙p=−∂H
∂q
Given the Hamiltonian function H(q, p) = 1
2p2+1
2q2, we can calculate
the partial derivatives as follows:
∂H
∂p =pand ∂H
∂q =q
Therefore, the Hamilton’s equations of motion for this system are:
˙q=p
˙p=−q
This completes the solution.
Feel free to ask if you need any further assistance!Certainly! Here
is a numerical question on Hamiltonian mechanics along with a step-
by-step solution in LaTeX code:
Question 18: Consider a system with a Hamiltonian function given
by
H(q, p) = 1
2p2+1
2q2
Find the Hamilton’s equations of motion for this system.
Solution: The Hamilton’s equations of motion are given by
˙q=∂H
∂p and ˙p=−∂H
∂q
Given the Hamiltonian function H(q, p) = 1
2p2+1
2q2, we can calculate
the partial derivatives as follows:
∂H
∂p =pand ∂H
∂q =q
Therefore, the Hamilton’s equations of motion for this system are:
˙q=p
˙p=−q
This completes the solution.
Feel free to ask if you need any further assistance!
28
Question 19
Question 19: Consider a one-dimensional harmonic oscillator de-
scribed by the Hamiltonian:
H=p2
2m+1
2mω2x2
Find the equations of motion for x(t)and p(t)using Hamilton’s equa-
tions.
Solution: The Hamilton’s equations are:
˙x=∂H
∂p and ˙p=−∂H
∂x
Substitute the given Hamiltonian:
∂H
∂p =p
mand −∂H
∂x =−mω2x
Therefore, the equations of motion are:
˙x=p
mand ˙p=−mω2x
This completes the solution.
Feel free to reach out if you need more assistance!Sure, here is
a Hamiltonian mechanics question along with its solution in LateX
code:
Question 19: Consider a one-dimensional harmonic oscillator de-
scribed by the Hamiltonian:
H=p2
2m+1
2mω2x2
Find the equations of motion for x(t)and p(t)using Hamilton’s equa-
tions.
Solution: The Hamilton’s equations are:
˙x=∂H
∂p and ˙p=−∂H
∂x
Substitute the given Hamiltonian:
∂H
∂p =p
mand −∂H
∂x =−mω2x
Therefore, the equations of motion are:
˙x=p
mand ˙p=−mω2x
This completes the solution.
Feel free to reach out if you need more assistance!
29
Question 20
Question 20: Given a Hamiltonian function H(p, q) = p2
2m+1
2mω2q2,
determine the Hamilton’s equations of motion and solve them for the
case when m= 1 and ω= 2.
Solution: The Hamilton’s equations of motion are given by:
˙q=∂H
∂p and ˙p=−∂H
∂q
Substitute the Hamiltonian function H(p, q)into the equations above:
˙q=∂
∂p p2
2m+1
2mω2q2=p
mand ˙p=−∂
∂q p2
2m+1
2mω2q2=−mω2q
Therefore, the Hamilton’s equations of motion are:
˙q=p
mand ˙p=−mω2q
For m= 1 and ω= 2, the equations become:
˙q=pand ˙p=−2q
Thus, the Hamilton’s equations of motion for the given Hamilto-
nian function are ˙q=pand ˙p=−2qwhen m= 1 and ω= 2.Certainly!
Here is a numerical question on Hamiltonian mechanics along with a
step-by-step solution in LateX code:
Question 20: Given a Hamiltonian function H(p, q) = p2
2m+1
2mω2q2,
determine the Hamilton’s equations of motion and solve them for the
case when m= 1 and ω= 2.
Solution: The Hamilton’s equations of motion are given by:
˙q=∂H
∂p and ˙p=−∂H
∂q
Substitute the Hamiltonian function H(p, q)into the equations above:
˙q=∂
∂p p2
2m+1
2mω2q2=p
mand ˙p=−∂
∂q p2
2m+1
2mω2q2=−mω2q
Therefore, the Hamilton’s equations of motion are:
˙q=p
mand ˙p=−mω2q
For m= 1 and ω= 2, the equations become:
˙q=pand ˙p=−2q
Thus, the Hamilton’s equations of motion for the given Hamilto-
nian function are ˙q=pand ˙p=−2qwhen m= 1 and ω= 2.
30
Question 21
Solution: The equations of motion are given by Hamilton’s equa-
tions:
˙x=∂H
∂p ,˙p=−∂H
∂x
Calculating the partial derivatives of the Hamiltonian with respect
to pand x, we get:
∂H
∂p =p
m,∂H
∂x =−kx
These equations give us the following equations of motion:
˙x=p
m,˙p=−kx
Therefore, the equations of motion for this particle are:
˙x=p
m,˙p=−kx
This completes the solution.Question 21: Consider a particle of
mass mmoving in one dimension under the influence of a potential
V(x) = 1
2kx2. Given the Hamiltonian of the system as:
H=1
2mp2+1
2kx2
Calculate the equations of motion using Hamilton’s equations.
Solution: The equations of motion are given by Hamilton’s equa-
tions:
˙x=∂H
∂p ,˙p=−∂H
∂x
Calculating the partial derivatives of the Hamiltonian with respect
to pand x, we get:
∂H
∂p =p
m,∂H
∂x =−kx
These equations give us the following equations of motion:
˙x=p
m,˙p=−kx
Therefore, the equations of motion for this particle are:
˙x=p
m,˙p=−kx
This completes the solution.
31
Question 22
Question 22: A particle of mass m= 2 kg moves in a potential
field V(x) = 1
2kx2where k= 5 N/m. If the particle has Hamiltonian
H=p2
2m+1
2kx2, calculate the Hamilton’s equations of motion for the
particle.
Solution: Given Hamiltonian function:
H=p2
2m+1
2kx2
We need to find the Hamilton’s equations of motion:
dx
dt =∂H
∂p
dp
dt =−∂H
∂x
By differentiating the Hamiltonian with respect to the momenta
and positions, we get:
∂H
∂p =p
m
∂H
∂x =kx
Therefore, the Hamilton’s equations of motion are:
dx
dt =p
m
dp
dt =−kx
These equations govern the motion of the particle in the potential
field.
Feel free to reach out if you need further assistance or more ques-
tions!Certainly! Here is a numerical question on Hamiltonian me-
chanics along with the step-by-step solution presented in LateX code:
Question 22: A particle of mass m= 2 kg moves in a potential
field V(x) = 1
2kx2where k= 5 N/m. If the particle has Hamiltonian
H=p2
2m+1
2kx2, calculate the Hamilton’s equations of motion for the
particle.
Solution: Given Hamiltonian function:
H=p2
2m+1
2kx2
We need to find the Hamilton’s equations of motion:
dx
dt =∂H
∂p
dp
dt =−∂H
∂x
32
By differentiating the Hamiltonian with respect to the momenta
and positions, we get:
∂H
∂p =p
m
∂H
∂x =kx
Therefore, the Hamilton’s equations of motion are:
dx
dt =p
m
dp
dt =−kx
These equations govern the motion of the particle in the potential
field.
Feel free to reach out if you need further assistance or more ques-
tions!
Question 23
Question 23:
A particle of mass m= 2 kg moves in two dimensions under the
influence of a potential given by V(x, y)=4x2+y2. The kinetic energy
of the particle is given by T=1
2m˙x2+ ˙y2where xand yare the co-
ordinates in the xand ydirections respectively, and ˙xand ˙yrepresent
the velocities in the corresponding directions.
1. Calculate the Hamiltonian Hof the system. 2. Determine the
equations of motion for the particle.
Solution:
1. The Hamiltonian of the system is given by:
H=T+V
Substitute the given expressions for Tand V:
H=1
2m˙x2+ ˙y2+ 4x2+y2
H=1
2×2˙x2+ ˙y2+ 4x2+y2
H= ˙x2+ ˙y2+ 4x2+y2
H= ˙x2+ ˙y2+ 4x2+y2
2. The equations of motion for the particle can be found using
Hamilton’s equations:
33
dx
dt =∂H
∂˙x
dy
dt =∂H
∂˙y
d˙x
dt =−∂H
∂x
d˙y
dt =−∂H
∂y
Now, differentiate Hwith respect to ˙xand ˙y:
∂H
∂˙x= 2 ˙x
∂H
∂˙y= 2 ˙y
Differentiate Hwith respect to xand y:
−∂H
∂x =−8x
−∂H
∂y =−2y
Therefore, the equations of motion for the particle are:
˙x= 2 ˙x=⇒˙x= 0
˙y= 2 ˙y=⇒˙y= 0
¨x= 8x=⇒¨x=−8x
¨y= 2y=⇒¨y=−2y
These are the equations of motion for the particle in two dimen-
sions under the given potential.Sure! Here is a numerical question on
Hamiltonian mechanics along with its step-by-step solution in LateX
code:
Question 23:
A particle of mass m= 2 kg moves in two dimensions under the
influence of a potential given by V(x, y) = 4x2+y2. The kinetic energy
of the particle is given by T=1
2m˙x2+ ˙y2where xand yare the co-
ordinates in the xand ydirections respectively, and ˙xand ˙yrepresent
the velocities in the corresponding directions.
1. Calculate the Hamiltonian Hof the system. 2. Determine the
equations of motion for the particle.
Solution:
1. The Hamiltonian of the system is given by:
34
H=T+V
Substitute the given expressions for Tand V:
H=1
2m˙x2+ ˙y2+ 4x2+y2
H=1
2×2˙x2+ ˙y2+ 4x2+y2
H= ˙x2+ ˙y2+ 4x2+y2
H= ˙x2+ ˙y2+ 4x2+y2
2. The equations of motion for the particle can be found using
Hamilton’s equations:
dx
dt =∂H
∂˙x
dy
dt =∂H
∂˙y
d˙x
dt =−∂H
∂x
d˙y
dt =−∂H
∂y
Now, differentiate Hwith respect to ˙xand ˙y:
∂H
∂˙x= 2 ˙x
∂H
∂˙y= 2 ˙y
Differentiate Hwith respect to xand y:
−∂H
∂x =−8x
−∂H
∂y =−2y
Therefore, the equations of motion for the particle are:
˙x= 2 ˙x=⇒˙x= 0
˙y= 2 ˙y=⇒˙y= 0
¨x= 8x=⇒¨x=−8x
¨y= 2y=⇒¨y=−2y
These are the equations of motion for the particle in two dimen-
sions under the given potential.
35
Question 24
Question 24: Consider a particle of mass m= 1 kg moving in a two-
dimensional plane under the influence of a potential energy given by
U(x, y) = k(x2+y2), where k= 2 J/m2. The Hamiltonian for this system
is given by H=1
2mp2
x+p2
y+k(x2+y2).
(a) Write down the Hamilton’s equations of motion for this system.
(b) If the initial conditions are x(0) = 1 m, y(0) = 0,px(0) = 0 kg m/s,
and py(0) = 2 kg m/s, find the functions x(t),y(t),px(t), and py(t)that
describe the motion of the particle.
Solution:
(a) The Hamilton’s equations of motion are given by:
˙x=∂H
∂px
=px
m
˙y=∂H
∂py
=py
m
˙px=−∂H
∂x =−2kx
˙py=−∂H
∂y =−2ky
(b) Given the initial conditions, the equations of motion become:
˙x=px
m
˙y=py
m
˙px=−2kx
˙py=−2ky
The above equations can be solved numerically to find x(t),y(t),
px(t), and py(t)for the given initial conditions.
Feel free to ask if you need further clarification or assistance!Absolutely!
Here’s a numerical question on Hamiltonian mechanics along with
step-by-step solutions in LateX code:
Question 24: Consider a particle of mass m= 1 kg moving in a two-
dimensional plane under the influence of a potential energy given by
U(x, y) = k(x2+y2), where k= 2 J/m2. The Hamiltonian for this system
is given by H=1
2mp2
x+p2
y+k(x2+y2).
(a) Write down the Hamilton’s equations of motion for this system.
(b) If the initial conditions are x(0) = 1 m, y(0) = 0,px(0) = 0 kg m/s,
and py(0) = 2 kg m/s, find the functions x(t),y(t),px(t), and py(t)that
describe the motion of the particle.
Solution:
(a) The Hamilton’s equations of motion are given by:
36
˙x=∂H
∂px
=px
m
˙y=∂H
∂py
=py
m
˙px=−∂H
∂x =−2kx
˙py=−∂H
∂y =−2ky
(b) Given the initial conditions, the equations of motion become:
˙x=px
m
˙y=py
m
˙px=−2kx
˙py=−2ky
The above equations can be solved numerically to find x(t),y(t),
px(t), and py(t)for the given initial conditions.
Feel free to ask if you need further clarification or assistance!
Question 25
Question 25: Find the Hamiltonian for a particle of mass mmoving
in one dimension under the influence of a harmonic potential V(x) =
1
2kx2, where kis the spring constant.
Solution: The Hamiltonian for a particle in one dimension is given
by:
H=T+V
where Tis the kinetic energy and Vis the potential energy.
Given the potential energy V(x) = 1
2kx2, the kinetic energy is given
by:
T=p2
2m
Therefore, the Hamiltonian can be expressed as:
H=p2
2m+1
2kx2
Hence, the Hamiltonian for this system is
H=p2
2m+1
2kx2
.Certainly! Here is a numerical question on Hamiltonian mechanics
along with step-by-step solution in LateX code:
37
Question 25: Find the Hamiltonian for a particle of mass mmoving
in one dimension under the influence of a harmonic potential V(x) =
1
2kx2, where kis the spring constant.
Solution: The Hamiltonian for a particle in one dimension is given
by:
H=T+V
where Tis the kinetic energy and Vis the potential energy.
Given the potential energy V(x) = 1
2kx2, the kinetic energy is given
by:
T=p2
2m
Therefore, the Hamiltonian can be expressed as:
H=p2
2m+1
2kx2
Hence, the Hamiltonian for this system is
H=p2
2m+1
2kx2
.
38
Students also viewed