Classical Mechanics II (Lagrangian & Hamiltonian Dynamics)

Newtonian mechanics (F=ma) is powerful but can become cumbersome when dealing with complex systems or constraints (like objects confined to a surface or connected by rigid rods). Lagrangian and Hamiltonian mechanics offer more elegant, energy-based approaches. They often simplify problem-solving, automatically handle constraints, and provide profound insights into the connection between symmetries and conservation laws.

Module: Review & Variational Principles

Review of Newtonian Mechanics: We build upon the foundation of Newton’s Laws (F=ma), work-energy theorems, and conservation principles learned in Physics I. Remember the importance of identifying forces and using free-body diagrams.

Variational Principles (Calculus of Variations): Instead of focusing directly on forces, this approach considers the entire path a system takes through its configuration space between a starting time and an ending time. The Principle of Least Action states that the actual path taken by the system is the one for which a quantity called the Action (S) is minimized (or, more generally, “stationary” – meaning small variations in the path don’t change the action to first order). The Action is defined as the time integral of the Lagrangian: S = ∫ L dt. This minimization principle is analogous to Fermat’s principle of least time in optics and is a profoundly deep statement about how nature operates. (Visual Focus: Imagine comparing different possible paths a ball could take rolling between two points on a curved surface; the actual path minimizes the action. Simulations can calculate and compare action for different paths).

The Lagrangian (L): The core function in this formalism. For most classical systems, it’s defined as the difference between the system’s total kinetic energy (T) and its total potential energy (V): L = T – V. Notice the minus sign! The Lagrangian encapsulates the entire dynamics of the system in a single scalar function, depending on the system’s coordinates and their time derivatives.

its position along the wire. The number of generalized coordinates equals the system’s degrees of freedom. (Visual Focus: Showing how the same motion, like a double pendulum, can be described by different coordinate sets, but generalized coordinates are often simpler).

Constraints: Conditions that restrict the motion of a system (e.g., fixed length of a pendulum, bead confined to a wire). Holonomic constraints are those that can be expressed as equations relating the coordinates (

Module: Lagrangian Formalism & Constraints

Generalized Coordinates (q_i): Instead of fixed Cartesian coordinates (x, y, z), we choose a set of independent coordinates that naturally describe the system’s configuration and automatically incorporate constraints. For example, a simple pendulum’s position is fully described by its angle (θ). A bead sliding on a wire needs only