Topper Copies

Lagrange's and Hamilton's equations of motion of a particle moving under gravity

Ritika Verma, AIR 25, 2023

[a sketch of the path from the origin at angle $\alpha$ to the horizontal, with a point $(x,y)$ on it and a vertical line dropped to the axis]

Kinetic Energy $T = \frac{1}{2} m v^2 = \frac{1}{2} m (\dot{x}^2 + \dot{y}^2)$

Potential energy $= V = mgy$

Lagrangian $L = T - V$

Here, restricted coordinates are [?] as

$\tan\alpha = \frac{y}{x} \Rightarrow x = y\cot\alpha$

Let $y$ be the generalised coordinate

$\Rightarrow$ using Lagrange's equation

Considering $x$ as generalised coordinate

$\therefore$ eqn of motion in lagranges is $\ddot{y} = -g$ and $\ddot{x} = 0$ $\because$ force is conservative.

Hamiltonian eqn:

Equations of motion

From ① we get $p_x = m\dot{x}$, $p_y = m\dot{y}$

From ②

Now $(m\dot{y})^\cdot = -mg$