\documentclass[solutions]{tutorial}
% \documentclass{tutorial}
% Set Commands
\CourseCode{PH31207}
\CourseTitle{Classical Mechanics}
\Semester{Autumn 2026}
\TutorialNo{01}
\Instructor{Baijayanta Bhattacharyya}
\Institute{Department of Physics, Indian Institute of Technology Kharagpur}
\Date{26/07/26}
\Time{11:00 a.m.}
% listings environments settings
\RequirePackage{listings}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{bjt}{
language=[LaTeX]TeX,
backgroundcolor= \color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\rmfamily\scshape,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
frame=single,
framesep=2pt,
framerule=0.2pt,
rulecolor=\color{black},
}
\lstset{style=bjt} % set style
\begin{document}
\section*{Using the tutorial Class}
The \lstinline{tutorial} class provides a simple and elegant way to create
professional tutorial sheets, assignments, and problem sets.
%--------------------------------------------------------------------
\subsection*{1. Loading the Class}
Load the class in the usual way:
\begin{lstlisting}
\documentclass{tutorial}
\end{lstlisting}
To print solutions, use the \lstinline|[solutions]| option:
\begin{lstlisting}
\documentclass[solutions]{tutorial}
\end{lstlisting}
%--------------------------------------------------------------------
\subsection*{2. Setting Course Information}
Before \verb|\begin{document}|, specify the course information.
\begin{lstlisting}
\CourseCode{PH31207}
\CourseTitle{Classical Mechanics}
\Semester{Autumn 2026}
\TutorialNo{01}
\Instructor{John Doe}
\Institute{Department of Physics\\
Indian Institute of Technology Kharagpur}
\Date{26 July 2026}
\Time{11:00 a.m.}
\end{lstlisting}
%--------------------------------------------------------------------
\subsection*{3. Creating the Title}
After beginning the document, generate the title using
\begin{lstlisting}
\begin{document}
\thispagestyle{firstpage}
\maketutorialtitle
\end{lstlisting}
%--------------------------------------------------------------------
\subsection*{4. Creating Problems}
Problems are created using the \lstinline|problem| environment.
\begin{lstlisting}
\begin{problem}
State Newton's laws of motion.
\end{problem}
\end{lstlisting}
Problems are numbered automatically.
%--------------------------------------------------------------------
\subsection*{5. Displaying Marks}
An optional argument specifies the marks assigned to the problem.
\begin{lstlisting}
\begin{problem}[10 Marks]
Derive the Euler--Lagrange equation.
\end{problem}
\end{lstlisting}
%--------------------------------------------------------------------
\subsection*{6. Creating Subproblems}
Use the \verb|subproblems| environment for multipart questions.
\begin{lstlisting}
\begin{problem}[12 Marks]
Answer the following.
\begin{subproblems}
\item Write the Lagrangian.
\item Derive the equations of motion.
\item Discuss the conserved quantities.
\end{subproblems}
\end{problem}
\end{lstlisting}
The first level is labelled
\[
(a),\ (b),\ (c),\ \ldots
\]
Nested subproblems are also supported.
%--------------------------------------------------------------------
\subsection*{7. Writing Solutions}
Solutions are written using the \lstinline|solution| environment.
\begin{lstlisting}
\begin{solution}
The Euler--Lagrange equation follows
from Hamilton's principle.
\end{solution}
\end{lstlisting}
Solutions are hidden by default.
To print all solutions, compile the document using
\begin{lstlisting}
\documentclass[solutions]{tutorial}
\end{lstlisting}
No changes to the source document are required.
%--------------------------------------------------------------------
\subsection*{8. Mathematics}
The class is intended to be compiled with
\textbf{XeLaTeX} or \textbf{LuaLaTeX} and supports
Unicode mathematics via the \textsc{unicode-math} package.
Inline mathematics:
\begin{lstlisting}
$a^2+b^2=c^2$
\end{lstlisting}
Displayed equations:
\begin{lstlisting}
\begin{equation}
F=ma.
\end{equation}
\end{lstlisting}
Aligned equations:
\begin{lstlisting}
\begin{align}
E &= mc^2,\\
F &= ma.
\end{align}
\end{lstlisting}
Grouped equations:
\begin{lstlisting}
\begin{subequations}
\begin{align}
x &= r\sin\theta\cos\phi,\\
y &= r\sin\theta\sin\phi,\\
z &= r\cos\theta.
\end{align}
\end{subequations}
\end{lstlisting}
%--------------------------------------------------------------------
\subsection*{9. Cross Referencing}
Problems and equations may be labelled and referenced in the standard
LaTeX manner.
\begin{lstlisting}
\begin{problem}\label{prob:newton}
...
\end{problem}
\end{lstlisting}
Later in the document,
\begin{lstlisting}
Problem~\ref{prob:newton}
\end{lstlisting}
will refer to the numbered problem.
\clearpage
%--------------------------------------------------------------------
\subsection*{10. Complete Example}
\begin{lstlisting}
\documentclass[solutions]{tutorial}
\CourseCode{PH31207}
\CourseTitle{Classical Mechanics}
\Semester{Autumn 2026}
\TutorialNo{01}
\Instructor{John Doe}
\Date{26 July 2026}
\Time{11:00 a.m.}
\begin{document}
\thispagestyle{firstpage}
\maketutorialtitle
\begin{problem}[10 Marks]
State Newton's second law.
\end{problem}
\begin{solution}
Newton's second law is
\[
\mathbf{F}=m\mathbf{a}.
\]
\end{solution}
\end{document}
\end{lstlisting}
Compile the document using \textbf{XeLaTeX} or \textbf{LuaLaTeX} to
obtain the best typography.
\clearpage
% show only page number on first page
\thispagestyle{firstpage}
% make title
\maketutorialtitle
%==================================================================
% Problem 1
%==================================================================
\begin{problem}[8 Marks]
Starting from Hamilton's principle, derive the Euler--Lagrange equation
\begin{equation}
\frac{d}{dt}\left(\frac{\partial \mathcal{L}}{\partial \dot q}\right) - \frac{\partial \mathcal{L}}{\partial q} = 0.
\end{equation}
Hence show that, for the Lagrangian
\begin{equation}
\mathcal{L} = \frac{1}{2}\,m\dot{x}^{\,2} - V(x),
\end{equation}
the Euler--Lagrange equation reduces to Newton's second law.
\end{problem}
\begin{solution}
Hamilton's principle states that the action
\begin{equation}
S=\int_{t_1}^{t_2}\mathcal{L}(q,\dot q,t)\,dt
\end{equation}
is stationary under arbitrary variations of the path satisfying
\[
\delta q(t_1)=\delta q(t_2)=0.
\]
Therefore,
\begin{equation}
\delta S=0.
\end{equation}
The variation of the action is
\begin{equation}
\delta S
=
\int_{t_1}^{t_2}
\left(
\frac{\partial\mathcal{L}}{\partial q}\delta q
+
\frac{\partial\mathcal{L}}{\partial\dot q}\delta\dot q
\right)dt.
\end{equation}
Since
\[
\delta\dot q=\frac{d}{dt}(\delta q),
\]
we obtain
\begin{equation}
\delta S
=
\int_{t_1}^{t_2}
\left(
\frac{\partial\mathcal{L}}{\partial q}\delta q
+
\frac{\partial\mathcal{L}}{\partial\dot q}
\frac{d}{dt}(\delta q)
\right)dt.
\end{equation}
Integrating the second term by parts,
\begin{align}
\int_{t_1}^{t_2}
\frac{\partial\mathcal{L}}{\partial\dot q}
\frac{d}{dt}(\delta q)\,dt
&=
\left[
\frac{\partial\mathcal{L}}{\partial\dot q}
\delta q
\right]_{t_1}^{t_2}
-
\int_{t_1}^{t_2}
\frac{d}{dt}
\left(
\frac{\partial\mathcal{L}}{\partial\dot q}
\right)
\delta q\,dt.
\end{align}
The boundary term vanishes because
\[
\delta q(t_1)=\delta q(t_2)=0.
\]
Hence,
\begin{equation}
\delta S
=
\int_{t_1}^{t_2}
\left[
\frac{\partial\mathcal{L}}{\partial q}
-
\frac{d}{dt}
\left(
\frac{\partial\mathcal{L}}{\partial\dot q}
\right)
\right]
\delta q\,dt.
\end{equation}
Since the variation $\delta q$ is arbitrary, the integrand must vanish, giving the Euler--Lagrange equation,
\begin{equation}
\boxed{
\frac{d}{dt}
\left(
\frac{\partial\mathcal{L}}{\partial\dot q}
\right)
-
\frac{\partial\mathcal{L}}{\partial q}
=
0.
}
\end{equation}
Now consider the Lagrangian
\begin{equation}
\mathcal{L}
=
\frac{1}{2}m\dot{x}^{2}
-
V(x).
\end{equation}
We compute
\begin{equation}
\frac{\partial\mathcal{L}}{\partial\dot x}
=
m\dot x,
\end{equation}
so that
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal{L}}{\partial\dot x}
\right)
=
m\ddot x.
\end{equation}
Also,
\begin{equation}
\frac{\partial\mathcal{L}}{\partial x}
=
-\frac{dV}{dx}.
\end{equation}
Substituting into the Euler--Lagrange equation,
\begin{equation}
m\ddot x
+
\frac{dV}{dx}
=
0,
\end{equation}
or equivalently,
\begin{equation}
m\ddot x
=
-
\frac{dV}{dx}.
\end{equation}
Since the conservative force is given by
\begin{equation}
F(x)
=
-
\frac{dV}{dx},
\end{equation}
we obtain
\begin{equation}
\boxed{
F=m\ddot x,
}
\end{equation}
which is precisely Newton's second law.
\end{solution}
%==================================================================
% Problem 2
%==================================================================
\begin{problem}[12 Marks]
A particle of mass $m$ moves under a central force $\vec{F}=F(r)\,\hat{\mathbf r}$.
\begin{subproblems}
\item Obtain the Lagrangian in plane polar coordinates.
\item Derive the equations of motion.
\item Show that the angular momentum $\vec{L}$ is conserved.
\item Derive the effective potential $V_{\mathrm{eff}}(r)$ and discuss its physical significance.
\end{subproblems}
\end{problem}
\begin{solution}
\begin{subproblems}
\item The kinetic energy of the particle in plane polar coordinates is
\begin{equation}
T=\frac{1}{2}m\left(\dot r^{2}+r^{2}\dot\theta^{2}\right).
\end{equation}
Since the force is conservative,
\begin{equation}
\vec F=-\nabla V(r),
\end{equation}
where
\begin{equation}
F(r)=-\frac{dV}{dr}.
\end{equation}
Hence the Lagrangian is
\begin{equation}
\boxed{
\mathcal L
=
\frac{1}{2}m
\left(
\dot r^{2}
+
r^{2}\dot\theta^{2}
\right)
-
V(r).
}
\end{equation}
\item The generalized coordinates are $r$ and $\theta$.
Applying the Euler--Lagrange equation to the radial coordinate,
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal L}{\partial\dot r}
\right)
-
\frac{\partial\mathcal L}{\partial r}
=
0,
\end{equation}
we obtain
\begin{equation}
m\ddot r
-
mr\dot\theta^{2}
+
\frac{dV}{dr}
=
0,
\end{equation}
or
\begin{equation}
\boxed{
m\ddot r
=
mr\dot\theta^{2}
-
\frac{dV}{dr}.
}
\end{equation}
Similarly, for the angular coordinate,
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal L}{\partial\dot\theta}
\right)
-
\frac{\partial\mathcal L}{\partial\theta}
=
0.
\end{equation}
Since the Lagrangian is independent of $\theta$,
\begin{equation}
\frac{\partial\mathcal L}{\partial\theta}=0,
\end{equation}
and therefore
\begin{equation}
\boxed{
\frac{d}{dt}
\left(
mr^{2}\dot\theta
\right)
=
0.
}
\end{equation}
\item The generalized momentum conjugate to $\theta$ is
\begin{equation}
p_{\theta}
=
\frac{\partial\mathcal L}{\partial\dot\theta}
=
mr^{2}\dot\theta.
\end{equation}
Since
\[
\frac{\partial\mathcal L}{\partial\theta}=0,
\]
it follows that
\begin{equation}
\boxed{
\frac{dp_{\theta}}{dt}=0.
}
\end{equation}
Hence
\begin{equation}
\boxed{
L
=
mr^{2}\dot\theta
=
\text{constant},
}
\end{equation}
which is precisely the angular momentum of the particle about the origin.
\item Since
\begin{equation}
L
=
mr^{2}\dot\theta,
\end{equation}
we have
\begin{equation}
\dot\theta
=
\frac{L}{mr^{2}}.
\end{equation}
Substituting this into the total energy,
\begin{align}
E
&=
\frac12m\dot r^{2}
+
\frac12mr^{2}\dot\theta^{2}
+
V(r)\\
&=
\frac12m\dot r^{2}
+
\frac{L^{2}}{2mr^{2}}
+
V(r).
\end{align}
Therefore,
\begin{equation}
\boxed{
E
=
\frac12m\dot r^{2}
+
V_{\mathrm{eff}}(r),
}
\end{equation}
where the effective potential is
\begin{equation}
\boxed{
V_{\mathrm{eff}}(r)
=
V(r)
+
\frac{L^{2}}{2mr^{2}}.
}
\end{equation}
The second term,
\begin{equation}
\frac{L^{2}}{2mr^{2}},
\end{equation}
is known as the centrifugal potential. It represents the effect of angular motion and prevents the particle from reaching the origin unless the angular momentum is zero. The radial motion can therefore be regarded as the motion of a one-dimensional particle in the effective potential $V_{\mathrm{eff}}(r)$.
\end{subproblems}
\end{solution}
%==================================================================
% Problem 3
%==================================================================
\begin{problem}[10 Marks]
A particle of mass $m$ is constrained to move on the surface of a sphere
of radius $R$ under the influence of gravity.
\begin{subproblems}
\item Write down the Lagrangian using suitable generalized coordinates.
\item Derive the equations of motion.
\item Identify all conserved quantities.
\end{subproblems}
\end{problem}
\begin{solution}
\begin{subproblems}
\item Let the particle be described by the spherical polar coordinates
$(r,\theta,\phi)$. Since the particle is constrained to move on the
surface of a sphere of radius $R$,
\[
r=R,\qquad \dot r=0.
\]
The kinetic energy is therefore
\begin{equation}
T
=
\frac{1}{2}mR^2
\left(
\dot\theta^2
+
\sin^2\theta\,\dot\phi^2
\right).
\end{equation}
Taking the downward vertical direction as the direction of gravity, the
potential energy is
\begin{equation}
V
=
mgR\cos\theta.
\end{equation}
Hence the Lagrangian is
\begin{equation}
\boxed{
\mathcal{L}
=
\frac{1}{2}mR^2
\left(
\dot\theta^2
+
\sin^2\theta\,\dot\phi^2
\right)
-
mgR\cos\theta.
}
\end{equation}
\item Applying the Euler--Lagrange equation to the coordinate $\theta$,
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal L}{\partial\dot\theta}
\right)
-
\frac{\partial\mathcal L}{\partial\theta}
=
0,
\end{equation}
we obtain
\begin{equation}
mR^2\ddot\theta
-
mR^2\sin\theta\cos\theta\,\dot\phi^2
-
mgR\sin\theta
=
0,
\end{equation}
or
\begin{equation}
\boxed{
\ddot\theta
=
\sin\theta\cos\theta\,\dot\phi^2
+
\frac{g}{R}\sin\theta.
}
\end{equation}
For the coordinate $\phi$,
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal L}{\partial\dot\phi}
\right)
-
\frac{\partial\mathcal L}{\partial\phi}
=
0.
\end{equation}
Since the Lagrangian is independent of $\phi$,
\[
\frac{\partial\mathcal L}{\partial\phi}=0,
\]
and therefore
\begin{equation}
\boxed{
\frac{d}{dt}
\left(
mR^2\sin^2\theta\,\dot\phi
\right)
=
0.
}
\end{equation}
\item Since $\phi$ is a cyclic coordinate, its conjugate momentum is
conserved:
\begin{equation}
\boxed{
p_\phi
=
mR^2\sin^2\theta\,\dot\phi
=
\text{constant}.
}
\end{equation}
This is the component of the angular momentum about the vertical axis.
Furthermore, the Lagrangian has no explicit time dependence. Hence the
total mechanical energy is conserved:
\begin{align}
E
&=
\dot\theta
\frac{\partial\mathcal L}{\partial\dot\theta}
+
\dot\phi
\frac{\partial\mathcal L}{\partial\dot\phi}
-
\mathcal L \\
&=
\frac{1}{2}mR^2
\left(
\dot\theta^2
+
\sin^2\theta\,\dot\phi^2
\right)
+
mgR\cos\theta.
\end{align}
Therefore,
\begin{equation}
\boxed{
E
=
\frac{1}{2}mR^2
\left(
\dot\theta^2
+
\sin^2\theta\,\dot\phi^2
\right)
+
mgR\cos\theta
=
\text{constant}.
}
\end{equation}
Thus, the conserved quantities are:
\begin{itemize}
\item the generalized momentum
\(
p_\phi=mR^2\sin^2\theta\,\dot\phi,
\)
corresponding to rotational symmetry about the vertical axis;
\item the total mechanical energy
\(
E,
\)
corresponding to time-translation symmetry.
\end{itemize}
\end{subproblems}
\end{solution}
%==================================================================
% Problem 4
%==================================================================
\begin{problem}[10 Marks]
A simple pendulum of length $\ell$ and bob mass $m$ oscillates freely.
\begin{subproblems}
\item Obtain the Lagrangian.
\item Derive the equation of motion.
\item Linearize the equation for small oscillations.
\item Determine the oscillation frequency.
\end{subproblems}
\end{problem}
\begin{solution}
\begin{subproblems}
\item Let $\theta$ denote the angular displacement of the pendulum from the
vertical.
The bob moves along a circular arc of radius $\ell$, so its speed is
\begin{equation}
v=\ell\dot{\theta}.
\end{equation}
Hence, the kinetic energy is
\begin{equation}
T
=
\frac{1}{2}m\ell^{2}\dot{\theta}^{2}.
\end{equation}
Choosing the lowest point of the pendulum as the zero of potential energy,
\begin{equation}
V
=
mg\ell(1-\cos\theta).
\end{equation}
Therefore, the Lagrangian is
\begin{equation}
\boxed{
\mathcal{L}
=
\frac{1}{2}m\ell^{2}\dot{\theta}^{2}
-
mg\ell(1-\cos\theta).
}
\end{equation}
\item Applying the Euler--Lagrange equation,
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal{L}}{\partial\dot{\theta}}
\right)
-
\frac{\partial\mathcal{L}}{\partial\theta}
=
0,
\end{equation}
we obtain
\begin{equation}
m\ell^{2}\ddot{\theta}
+
mg\ell\sin\theta
=
0.
\end{equation}
Dividing throughout by $m\ell$ gives
\begin{equation}
\boxed{
\ddot{\theta}
+
\frac{g}{\ell}\sin\theta
=
0.
}
\end{equation}
This is the exact nonlinear equation of motion of a simple pendulum.
\item For small oscillations,
\[
|\theta|\ll1,
\]
so that
\begin{equation}
\sin\theta\simeq\theta.
\end{equation}
Hence, the equation of motion becomes
\begin{equation}
\boxed{
\ddot{\theta}
+
\frac{g}{\ell}\theta
=
0,
}
\end{equation}
which is the standard equation of simple harmonic motion.
\item Comparing the above equation with
\begin{equation}
\ddot{x}+\omega^{2}x=0,
\end{equation}
the angular frequency is
\begin{equation}
\boxed{
\omega
=
\sqrt{\frac{g}{\ell}}.
}
\end{equation}
The corresponding time period is
\begin{equation}
\boxed{
T
=
\frac{2\pi}{\omega}
=
2\pi\sqrt{\frac{\ell}{g}}.
}
\end{equation}
Thus, for small oscillations, the period is independent of the mass of the bob and depends only on the length of the pendulum and the acceleration due to gravity.
\end{subproblems}
\end{solution}
%==================================================================
% Problem 5
%==================================================================
\begin{problem}[12 Marks]
Two particles of masses $m_1$ and $m_2$ are connected by a light spring of
spring constant $k$ and move without friction along a horizontal line.
\begin{subproblems}
\item Write the Lagrangian of the system.
\item Introduce center-of-mass and relative coordinates.
\item Show that the motion separates into independent degrees of freedom.
\item Determine the normal-mode frequency.
\end{subproblems}
\end{problem}
\begin{solution}
\begin{subproblems}
\item Let $x_1$ and $x_2$ denote the positions of the two masses. Let the
natural length of the spring be $\ell_0$.
The kinetic energy of the system is
\begin{equation}
T
=
\frac{1}{2}m_1\dot{x}_1^{\,2}
+
\frac{1}{2}m_2\dot{x}_2^{\,2}.
\end{equation}
The potential energy stored in the spring is
\begin{equation}
V
=
\frac{1}{2}k(x_2-x_1-\ell_0)^2.
\end{equation}
Hence, the Lagrangian is
\begin{equation}
\boxed{
\mathcal{L}
=
\frac{1}{2}m_1\dot{x}_1^{\,2}
+
\frac{1}{2}m_2\dot{x}_2^{\,2}
-
\frac{1}{2}k(x_2-x_1-\ell_0)^2.
}
\end{equation}
\item Introduce the center-of-mass coordinate
\begin{equation}
X
=
\frac{m_1x_1+m_2x_2}{m_1+m_2},
\end{equation}
and the relative coordinate
\begin{equation}
x=x_2-x_1-\ell_0.
\end{equation}
Let
\[
M=m_1+m_2
\]
be the total mass and
\begin{equation}
\mu
=
\frac{m_1m_2}{m_1+m_2}
\end{equation}
be the reduced mass.
The inverse transformations are
\begin{align}
x_1
&=
X-\frac{m_2}{M}(x+\ell_0),\\
x_2
&=
X+\frac{m_1}{M}(x+\ell_0).
\end{align}
Differentiating,
\begin{align}
\dot{x}_1
&=
\dot{X}
-
\frac{m_2}{M}\dot{x},\\
\dot{x}_2
&=
\dot{X}
+
\frac{m_1}{M}\dot{x}.
\end{align}
\item Substituting into the kinetic energy,
\begin{align}
T
&=
\frac{1}{2}m_1
\left(
\dot{X}
-
\frac{m_2}{M}\dot{x}
\right)^2
+
\frac{1}{2}m_2
\left(
\dot{X}
+
\frac{m_1}{M}\dot{x}
\right)^2.
\end{align}
Expanding and simplifying,
\begin{equation}
\boxed{
T
=
\frac{1}{2}M\dot{X}^{2}
+
\frac{1}{2}\mu\dot{x}^{2}.
}
\end{equation}
Since
\[
V=\frac12kx^2,
\]
the Lagrangian becomes
\begin{equation}
\boxed{
\mathcal{L}
=
\frac12M\dot{X}^{2}
+
\frac12\mu\dot{x}^{2}
-
\frac12kx^{2}.
}
\end{equation}
The center-of-mass coordinate satisfies
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal{L}}{\partial\dot{X}}
\right)
-
\frac{\partial\mathcal{L}}{\partial X}
=
0,
\end{equation}
which gives
\begin{equation}
\boxed{
M\ddot{X}=0.
}
\end{equation}
Thus the center of mass moves with constant velocity.
For the relative coordinate,
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal{L}}{\partial\dot{x}}
\right)
-
\frac{\partial\mathcal{L}}{\partial x}
=
0,
\end{equation}
which gives
\begin{equation}
\boxed{
\mu\ddot{x}+kx=0.
}
\end{equation}
Hence the translational and internal motions are completely independent.
\item The relative motion satisfies the equation of a simple harmonic
oscillator,
\begin{equation}
\mu\ddot{x}+kx=0.
\end{equation}
Comparing with
\begin{equation}
\ddot{x}+\omega^2x=0,
\end{equation}
we obtain the normal-mode angular frequency
\begin{equation}
\boxed{
\omega
=
\sqrt{\frac{k}{\mu}}
=
\sqrt{\frac{k(m_1+m_2)}{m_1m_2}}.
}
\end{equation}
The corresponding period of oscillation is
\begin{equation}
\boxed{
T
=
2\pi
\sqrt{\frac{\mu}{k}}.
}
\end{equation}
Thus, the system consists of a freely moving center of mass together with
an independent simple harmonic oscillation of the relative coordinate.
\end{subproblems}
\end{solution}
%==================================================================
% Problem 6
%==================================================================
\begin{problem}[8 Marks]
Consider a particle moving in the two-dimensional potential
\begin{equation}
V(x,y)=\frac{k}{2}(x^2+y^2).
\end{equation}
\begin{subproblems}
\item Write down the Hamiltonian.
\item Derive Hamilton's equations.
\item Verify that the total energy is conserved.
\end{subproblems}
\end{problem}
\begin{solution}
\begin{subproblems}
\item The kinetic energy of the particle is
\begin{equation}
T
=
\frac{1}{2}m\left(\dot{x}^{2}+\dot{y}^{2}\right),
\end{equation}
and the potential energy is
\begin{equation}
V
=
\frac{k}{2}\left(x^{2}+y^{2}\right).
\end{equation}
Hence, the Lagrangian is
\begin{equation}
\mathcal{L}
=
\frac{1}{2}m\left(\dot{x}^{2}+\dot{y}^{2}\right)
-
\frac{k}{2}\left(x^{2}+y^{2}\right).
\end{equation}
The generalized momenta are
\begin{align}
p_x &= \frac{\partial\mathcal{L}}{\partial\dot{x}}
= m\dot{x},\\
p_y &= \frac{\partial\mathcal{L}}{\partial\dot{y}}
= m\dot{y}.
\end{align}
Therefore,
\[
\dot{x}=\frac{p_x}{m},
\qquad
\dot{y}=\frac{p_y}{m}.
\]
The Hamiltonian is
\begin{align}
H
&=
p_x\dot{x}
+
p_y\dot{y}
-
\mathcal{L} \\
&=
\frac{p_x^{2}+p_y^{2}}{2m}
+
\frac{k}{2}\left(x^{2}+y^{2}\right).
\end{align}
Hence,
\begin{equation}
\boxed{
H
=
\frac{p_x^{2}+p_y^{2}}{2m}
+
\frac{k}{2}\left(x^{2}+y^{2}\right).
}
\end{equation}
\item Hamilton's equations are
\begin{equation}
\dot{q}_i
=
\frac{\partial H}{\partial p_i},
\qquad
\dot{p}_i
=
-
\frac{\partial H}{\partial q_i}.
\end{equation}
For the $x$-coordinate,
\begin{align}
\dot{x}
&=
\frac{\partial H}{\partial p_x}
=
\frac{p_x}{m},\\
\dot{p}_x
&=
-
\frac{\partial H}{\partial x}
=
-kx.
\end{align}
Similarly, for the $y$-coordinate,
\begin{align}
\dot{y}
&=
\frac{\partial H}{\partial p_y}
=
\frac{p_y}{m},\\
\dot{p}_y
&=
-
\frac{\partial H}{\partial y}
=
-ky.
\end{align}
Thus, Hamilton's equations are
\begin{equation}
\boxed{
\dot{x}
=
\frac{p_x}{m},
\qquad
\dot{y}
=
\frac{p_y}{m},
}
\end{equation}
and
\begin{equation}
\boxed{
\dot{p}_x=-kx,
\qquad
\dot{p}_y=-ky.
}
\end{equation}
Differentiating the first pair and using the second,
\begin{align}
m\ddot{x}+kx&=0,\\
m\ddot{y}+ky&=0,
\end{align}
showing that the particle performs independent simple harmonic motion along
the two coordinate axes.
\item The total energy of the system is the Hamiltonian,
\begin{equation}
\mathcal{H}
=
\frac{p_x^{2}+p_y^{2}}{2m}
+
\frac{k}{2}\left(x^{2}+y^{2}\right).
\end{equation}
Differentiating with respect to time,
\begin{align}
\frac{dH}{dt}
&=
\frac{\partial H}{\partial x}\dot{x}
+
\frac{\partial H}{\partial y}\dot{y}
+
\frac{\partial H}{\partial p_x}\dot{p}_x
+
\frac{\partial H}{\partial p_y}\dot{p}_y.
\end{align}
Using Hamilton's equations,
\begin{align}
\frac{dH}{dt}
&=
\frac{\partial H}{\partial x}
\frac{\partial H}{\partial p_x}
+
\frac{\partial H}{\partial y}
\frac{\partial H}{\partial p_y}
-
\frac{\partial H}{\partial p_x}
\frac{\partial H}{\partial x}
-
\frac{\partial H}{\partial p_y}
\frac{\partial H}{\partial y} \\
&=0.
\end{align}
Hence,
\begin{equation}
\boxed{
\frac{dH}{dt}=0,
}
\end{equation}
which shows that the total energy is conserved.
\end{subproblems}
\end{solution}
%==================================================================
% Problem 7
%==================================================================
\begin{problem}[10 Marks]
A bead of mass $m$ slides without friction on a circular wire of radius $R$ rotating with constant angular velocity $\omega$ about its vertical diameter.
\begin{subproblems}
\item Obtain the Lagrangian.
\item Derive the equation of motion.
\item Find the equilibrium positions.
\item Determine the condition for their stability.
\end{subproblems}
\end{problem}
\begin{solution}
\begin{subproblems}
\item Let $\theta$ be the angular position of the bead measured from the
downward vertical. The hoop rotates about its vertical diameter with a
constant angular velocity $\omega$.
The Cartesian coordinates of the bead are
\begin{align}
x &= R\sin\theta\cos\omega t,\\
y &= R\sin\theta\sin\omega t,\\
z &= -R\cos\theta.
\end{align}
Differentiating with respect to time, the speed of the bead is
\begin{equation}
v^2
=
R^2\dot{\theta}^2
+
R^2\omega^2\sin^2\theta.
\end{equation}
Hence, the kinetic energy is
\begin{equation}
T
=
\frac12mR^2
\left(
\dot{\theta}^2
+
\omega^2\sin^2\theta
\right).
\end{equation}
The gravitational potential energy is
\begin{equation}
V
=
-mgR\cos\theta.
\end{equation}
Therefore, the Lagrangian is
\begin{equation}
\boxed{
\mathcal{L}
=
\frac12mR^2
\left(
\dot{\theta}^2
+
\omega^2\sin^2\theta
\right)
+
mgR\cos\theta.
}
\end{equation}
\item Applying the Euler--Lagrange equation,
\begin{equation}
\frac{d}{dt}
\left(
\frac{\partial\mathcal{L}}
{\partial\dot{\theta}}
\right)
-
\frac{\partial\mathcal{L}}
{\partial\theta}
=
0,
\end{equation}
gives
\begin{equation}
mR^2\ddot{\theta}
-
mR^2\omega^2\sin\theta\cos\theta
+
mgR\sin\theta
=
0.
\end{equation}
Hence,
\begin{equation}
\boxed{
\ddot{\theta}
=
\omega^2\sin\theta\cos\theta
-
\frac{g}{R}\sin\theta.
}
\end{equation}
\item The equilibrium positions satisfy
\[
\ddot{\theta}=0.
\]
Thus,
\begin{equation}
\sin\theta
\left(
\omega^2\cos\theta
-
\frac{g}{R}
\right)
=
0.
\end{equation}
Hence, the equilibrium positions are
\begin{equation}
\boxed{
\theta=0,\qquad
\theta=\pi,
}
\end{equation}
and, provided
\[
\omega^2\ge\frac{g}{R},
\]
two additional equilibrium positions are obtained from
\begin{equation}
\boxed{
\cos\theta
=
\frac{g}{R\omega^2}.
}
\end{equation}
\item The effective potential is
\begin{equation}
V_{\rm eff}
=
-mgR\cos\theta
-
\frac12mR^2\omega^2\sin^2\theta.
\end{equation}
An equilibrium is stable if
\[
\frac{d^2V_{\rm eff}}{d\theta^2}>0.
\]
Since
\begin{equation}
\frac{dV_{\rm eff}}{d\theta}
=
mR\sin\theta
\left(
g-R\omega^2\cos\theta
\right),
\end{equation}
we obtain
\begin{equation}
\frac{d^2V_{\rm eff}}{d\theta^2}
=
mR
\left[
g\cos\theta
-
R\omega^2\cos2\theta
\right].
\end{equation}
Evaluating at the equilibrium positions,
\begin{itemize}
\item At $\theta=0$,
\[
\frac{d^2V_{\rm eff}}{d\theta^2}
=
mR(g-R\omega^2).
\]
Hence,
\begin{equation}
\boxed{
\theta=0
\text{ is stable if }
\omega<\sqrt{\frac{g}{R}}.
}
\end{equation}
\item At $\theta=\pi$,
\[
\frac{d^2V_{\rm eff}}{d\theta^2}
=
-mR(g+R\omega^2)<0,
\]
so
\begin{equation}
\boxed{
\theta=\pi
\text{ is always unstable.}
}
\end{equation}
\item For
\[
\cos\theta=\frac{g}{R\omega^2},
\]
one finds
\begin{equation}
\boxed{
\frac{d^2V_{\rm eff}}{d\theta^2}
=
mR^2\omega^2
\sin^2\theta
>0,
}
\end{equation}
so these two equilibrium positions are always stable whenever they exist, i.e.,
\begin{equation}
\boxed{
\omega>\sqrt{\frac{g}{R}}.
}
\end{equation}
\end{itemize}
Thus, as the angular velocity passes through the critical value
\[
\boxed{
\omega_c
=
\sqrt{\frac{g}{R}},
}
\]
the stable equilibrium shifts from the bottom of the hoop to two symmetric positions on either side of the vertical.\\
\end{subproblems}
\end{solution}
\end{document}