EULER-LAGRANGE TO HAMILTON. The goal of these notes is to give one way of getting from the Euler-Lagrange equations to Hamilton s equations.

Similar documents
Physics 5153 Classical Mechanics. Canonical Transformations-1

Curves in the configuration space Q or in the velocity phase space Ω satisfying the Euler-Lagrange (EL) equations,

Hamiltonian flow in phase space and Liouville s theorem (Lecture 5)

Chapter 1. Principles of Motion in Invariantive Mechanics

HAMILTON S PRINCIPLE

Sketchy Notes on Lagrangian and Hamiltonian Mechanics

Canonical transformations (Lecture 4)

Physics 235 Chapter 7. Chapter 7 Hamilton's Principle - Lagrangian and Hamiltonian Dynamics

Nonlinear Single-Particle Dynamics in High Energy Accelerators

Housekeeping. No announcement HW #7: 3.19

Hamiltonian Mechanics

REVIEW. Hamilton s principle. based on FW-18. Variational statement of mechanics: (for conservative forces) action Equivalent to Newton s laws!

Hamiltonian Field Theory

Legendre Transforms, Calculus of Varations, and Mechanics Principles

The first order formalism and the transition to the

Dirac Structures and the Legendre Transformation for Implicit Lagrangian and Hamiltonian Systems

15. Hamiltonian Mechanics

We start with some important background material in classical and quantum mechanics.

Physics 106a, Caltech 13 November, Lecture 13: Action, Hamilton-Jacobi Theory. Action-Angle Variables

The Geometry of Euler s equation. Introduction

Second quantization: where quantization and particles come from?

Lagrangian and Hamiltonian Mechanics (Symon Chapter Nine)

The Accelerator Hamiltonian in a Straight Coordinate System

Liouville Equation. q s = H p s

Classical Mechanics in Hamiltonian Form

for changing independent variables. Most simply for a function f(x) the Legendre transformation f(x) B(s) takes the form B(s) = xs f(x) with s = df

The Particle-Field Hamiltonian

Lecture 5. Alexey Boyarsky. October 21, Legendre transformation and the Hamilton equations of motion

INC 693, 481 Dynamics System and Modelling: Lagrangian Method III Dr.-Ing. Sudchai Boonto Assistant Professor

8 Symmetries and the Hamiltonian

Dirac Structures in Lagrangian Mechanics

FYS 3120: Classical Mechanics and Electrodynamics

Homework 4. Goldstein 9.7. Part (a) Theoretical Dynamics October 01, 2010 (1) P i = F 1. Q i. p i = F 1 (3) q i (5) P i (6)

Electric and Magnetic Forces in Lagrangian and Hamiltonian Formalism

Noether s Theorem. 4.1 Ignorable Coordinates

THE LAGRANGIAN AND HAMILTONIAN MECHANICAL SYSTEMS

Notes on symplectic geometry and group actions

Hamilton s principle and Symmetries

Stochastic Variational Integrators

MATHEMATICAL PHYSICS

Problem 1: Lagrangians and Conserved Quantities. Consider the following action for a particle of mass m moving in one dimension

Multilinear (tensor) algebra

BACKGROUND IN SYMPLECTIC GEOMETRY

PHYS 705: Classical Mechanics. Hamiltonian Formulation & Canonical Transformation

Quantization of a Scalar Field

arxiv: v1 [quant-ph] 4 Nov 2008

Classical Equations of Motion

From quantum to classical statistical mechanics. Polyatomic ideal gas.

Part II. Classical Dynamics. Year

Hamiltonian Mechanics

Introduction to Hamiltonian Monte Carlo Method

Dynamics. Basilio Bona. Semester 1, DAUIN Politecnico di Torino. B. Bona (DAUIN) Dynamics Semester 1, / 18

Energy and Equations of Motion

Lecture 1: Historical Overview, Statistical Paradigm, Classical Mechanics

Homework 3. 1 Goldstein Part (a) Theoretical Dynamics September 24, The Hamiltonian is given by

2 Canonical quantization

macroscopic view (phenomenological) microscopic view (atomistic) computing reaction rate rate of reactions experiments thermodynamics

LAGRANGIAN AND HAMILTONIAN

Solutions to Problems in Goldstein, Classical Mechanics, Second Edition. Chapter 9

Hamiltonian Dynamics

Introduction to the. Geometry of Classical Dynamics

The Principle of Least Action

Euler-Lagrange Cohomology, Discrete Versions and Applications

Variational principles and Hamiltonian Mechanics

Variation Principle in Mechanics

Classical Mechanics Review (Louisiana State University Qualifier Exam)

Constrained shape spaces of infinite dimension

Distributions of statistical mechanics

Lagrangian and Hamiltonian Mechanics

Lecture: Lorentz Invariant Dynamics

Physics 6010, Fall Relevant Sections in Text: Introduction

Lagrangian Mechanics I

PHYS2100: Hamiltonian dynamics and chaos. M. J. Davis

arxiv: v1 [nlin.ao] 26 Oct 2012

arxiv: v1 [math.ds] 18 Nov 2008

L(q, q) = m 2 q2 V (q) 2 m + V (q)

A Symmetric Treatment of Damped Harmonic Oscillator in Extended Phase Space

A Short Essay on Variational Calculus

ANALYTISK MEKANIK I HT 2016

Generalized Coordinates, Lagrangians

HANDOUT #12: THE HAMILTONIAN APPROACH TO MECHANICS

A variational formulation for dissipative systems

Poincaré (non-holonomic Lagrange) Equations

1 The Quantum Anharmonic Oscillator

CDS 205 Final Project: Incorporating Nonholonomic Constraints in Basic Geometric Mechanics Concepts

Modified Equations for Variational Integrators

Lecture 41: Highlights

SPECIAL RELATIVITY AND ELECTROMAGNETISM

Time-Dependent Statistical Mechanics 5. The classical atomic fluid, classical mechanics, and classical equilibrium statistical mechanics

arxiv: v1 [math.oc] 1 Feb 2015

HAPPY BIRTHDAY TONY! Chicago Blochfest June 30, 2105

Variational Methods and Optimal Control

Dynamics and Stability application to submerged bodies, vortex streets and vortex-body systems

CHANGE OF BASIS AND ALL OF THAT

Canonical transformations and exact invariants for time-dependent Hamiltonian systems

Fundamentals and applications of canonical transformations in the extended phase space

Math. 460, Sec. 500 Fall, Special Relativity and Electromagnetism

Liouville integrability of Hamiltonian systems and spacetime symmetry

The Simple Double Pendulum

= 0. = q i., q i = E

Transcription:

EULER-LAGRANGE TO HAMILTON LANCE D. DRAGER The goal of these notes is to give one way of getting from the Euler-Lagrange equations to Hamilton s equations. 1. Euler-Lagrange to Hamilton We will often write elements of a Euclidean space R 2N as a pair of N-vectors, (x, y) = (x 1,..., x N, y 1,..., y N ). We start with a lemma. Lemma 1.1. Let F : R 2N R 2N be a diffeomorphism of the form F (x, y) = (x, A(x, y)), for some function A: R 2N R N. Then the inverse function G has the form G(u, v) = (u, Γ(u, v)) and we have the following identifies: (1) (2) A(u, Γ(u, v)) = v Γ(x, A(x, y)) = y. Proof. The function G can be written as (G 1 (u, v), G 2 (u, v)), and similarly for F. Since F and G are inverses, we have (u, v) = (F G)u, v = F (G 1 (u, v), G 2 (u, v)) = (G 1 (u, v), A(G 1 (u, v), G 2 (u, v))). Comparing the first slots, we find G 1 (u, v) = u. Plugging this into the second slots gives v = A(u, G 2 (u, v)) and we have G(u, v) = (u, G 2 (u, v)). Set Γ = G 2, and we have v = A(u, Γ(u, v)). The identity in equation (2) is derived in a similar fashion from G(F (x, y)) = (x, y). Let L: R 2N R be a Lagrangian, which we write as L(q, q) = L(q 1,..., q N, q 1,..., q N ) where the q i are just variables. If c(t) is a path in R N, the position of the system, we follow classical tradition and write c(t) = q(t). If we add the velocity, we get a path ˆc(t) = (q(t), q(t)) in R 2N. In this notation we do mean that q(t) = q (t) is the derivative of q(t). The path satisfies the Euler-Lagrange equations if d (3) (q(t), q(t)) = (q(t), q(t)), i = 1,..., N. dt q i For brevity, we sometimes write expressions for partial derivatives like q = (,..., ). q 1 q N Version Time-stamp: 2014-10-01 15:56:09 drager. 1

2 LANCE D. DRAGER Define a map F : R 2N R 2N by F (q, q) = ( q, (q, q)). q The Lagrangian L is called hyperregular if this map is a diffeomorphism. For the rest of these notes, we deal with hyperregular Lagrangian. Let G(q, p) = (q, Γ(q, p)) be the inverse of F. By our Lemma, we have (4) (5) (q, Γ(q, p)) = p q Γ ( q, q (q, q)) = q The quantify (6) p i = q i (q, q) is called the (generalized) momentum conjugate to q i. Given a path ˆc(t) = (q(t), q(t)), we get a path γ(t) = F (q(t), q(t)) = (q(t), p(t)), where p(t) = (q(t), q(t)). q If c is a solution of the Euler-Lagrange equations, we want to find the differential equations satisfied by γ. From the Euler-Lagrange equations, we have (7) d p(t) = (q(t), q(t)) dt q and we have (8) d q(t) = q(t) = Γ(q(t), p(t)), dt We need to eliminate the q(t) in (7), which we can do using (8), (9) d p(t) = (q(t), Γ(q(t), p(t))). dt q The equations (9) and (8) give us our desired differential equations. A path (q(t), p(t)) satisfies these equations if and only if the corresponding path (q(t), q(t)) satisfies the Euler-Lagrange equations. However, we can write the equations in a more informative form. Define the function L(q, p) by L(q, p) = L(q, Γ(q, p)), the Lagrangian expressed in terms of p and q.

EULER-LAGRANGE TO HAMILTON 3 Using the chain rule, we get L (q, p) = [ ] L(q, Γ(q, p)) = (q, Γ(q, p)) + = (q, Γ(q, p)) + q j (q, Γ(q, p))) (q, p) (q, p), using (4). We can solve this equation for / to get where L (q, Γ(q, p)) = (q, p) (10) H(p, q) = (q, p) = { N } Γ j (q, p) q L(p, q) i = (q, p), Γ j (q, p) L(p, q) is the Hamiltonian of the problem. The minus sign is conventional. Thus, by (7), we have (11) dp i (t) = (q(t), p(t)) dt which is one of Hamilton s equations. This equation holds only when the Euler- Lagrange equations are satisfied. For the other equation, we can calculate as follows: (q, p) = [ N ] Γ j (q, p) p L(p, q) i (12) = Γ i (p, q) + To calculate the partial derivatives of L, we have L (q, p) = [ ] L(q, Γ(q, p)) = = L (q, p) (q, p). q j (q, Γ(q, p)) (p, q) (p, q),

4 LANCE D. DRAGER using equation (4). Plugging this into (12), we have in other words (13) so (8) becomes (14) (q, p) = Γ i (p, q) + = Γ i (p, q) + = Γ i (q, p), p L (q, p) (q, p) (q, p) = Γ(q, p), dq (t) = (q(t), p(t)). dt p This equation holds for any path. Putting this together, we have Hamilton s Equations (15) or, to put in the indices, (16) dq (t) = (q(t), p(t)) dt p dp (t) = (q(t), p(t)), dt q dq i (t) = (q(t), p(t)) dt dp i (t) = (q(t), p(t)), dt In the classical literature, the formula for H, is often written as H(p, q) = i = 1,..., N. Γ j (q, p) L(p, q) H(q, p) = q j L(q, p), (p, q) in view of our formula q = Γ(q, p), but this is a bit obscure, since you have to remember that q here is a function of q and p, not an independent variable. Example 1.2. Consider a particle moving in the plane, subject to a force that comes from a potential. We ll use the coordinates (q 1, q 2 ) on the plane and follow the notation above. The Lagrangian is L(q, q) = 1 2 m( q2 1 + q 2 2) V (q 1, q 2 ).

EULER-LAGRANGE TO HAMILTON 5 The conjugate momenta are p 1 = q 1 (q, q) = m q 1 p 2 = q 2 (q, q) = m q 2 We can easily solve this for the q s in terms of the p s: in other words q 1 = p 1 /m q 2 = p 2 /m, Γ(q, p) = 1 m p. Substituting in the Lagrangian, we get Then we get L(q, p) = L(q, Γ(q, p)) = 1 [ ( ) 2 ( ) 2 ] 2 m p1 p2 + V (q) m m = 1 2m (p2 1 + p 2 2) V (q). H(q, p) = q j L(q, p) = p 1 q 1 + p 2 q 2 L(q, p) { } p 1 = p 1 m + p p 2 1 2 m 2m (p2 1 + p 2 2) V (q) = 1 2m (p2 1 + p 2 2) + V (q) If we write this on the Lagrangian side as E(q, q) = (H F )(q, q) = 1 2m ((m q 1) 2 + (m q 2 ) 2 ) + V (q) = 1 2 m( q2 1 + q 2 2) + V (q), we get the kinetic energy plus the potential energy, so E(q, q) is the total energy of the system and H is the total energy of the system expressed in terms of position and momentum. Going back to the Hamiltonian side, Hamilton s equations would be dp i (t) = (q, p) = V dt dq i (t) = (q, p) = p i /m dt We ll leave it as an exercise to substitute p i = m q i and put the equations into one second order equation to get Newton s equations.

6 LANCE D. DRAGER Since H or E represents the total energy, we expect that it should be conserved (when the Lagrangian and Hamiltonian are not time dependent, as in our discussion, i.e., we don t have L(t, q, q)). Theorem 1.3. If (q(t), p(t)) is a solution of Hamilton s equations (16), then H(q(t), p(t)) is a constant function of t, i.e., Energy is conserved. Proof. We just differentiate H(q(t), p(t)) and plug in Hamilton s equations: d N dt H(q(t), p(t)) = = = 0. q j (q(t), p(t)) dq j dt (t) + N (q(t), p(t)) (q(t), p(t))+ q j (q(t), p(t)) d dt (t) [ (q(t), p(t)) ] (q(t), p(t)) q j The derivative of H(q(t), p(t)) is zero, so it s a constant function. Exercise 1.4. Show directly from the Euler-Lagrange equations that the energy E(q(t), q(t)) is constant on solutions (q(t), q(t)) of the Euler-Lagrange equations. Exercise 1.5. What happens for time dependent Lagrangians L(t, q, q)? Department of Mathematics and Statistics, Texas Tech University, Lubbock, TX 79409-1042 E-mail address: lance.drager@ttu.edu