Lagrangian and Hamiltonian Dynamics

Slides:



Advertisements
Similar presentations
Eric Prebys, FNAL.  We have focused largely on a kinematics based approach to beam dynamics.  Most people find it more intuitive, at least when first.
Advertisements

Chapters 17, 18 Review. Der Innere Schweinehund (The inner Pigdog)
Kinetics of Particles Impulse and Momentum.
Conservative vs. Non-conservative Forces
Physics 430: Lecture 17 Examples of Lagrange’s Equations
Hamiltonian Formalism
Physics 430: Lecture 16 Lagrange’s Equations with Constraints
Chapter 4: Rigid Body Kinematics Rigid Body  A system of mass points subject to ( holonomic) constraints that all distances between all pairs of points.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Dynamics of Rotational Motion
General Relativity Physics Honours 2008 A/Prof. Geraint F. Lewis Rm 560, A29 Lecture Notes 3.
Mechanics.
Hamiltonian Dynamics. Cylindrical Constraint Problem  A particle of mass m is attracted to the origin by a force proportional to the distance.  The.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Mechanics of Rigid Bodies
Theoretical Mechanics - PHY6200 Chapter 6 Introduction to the calculus of variations Prof. Claude A Pruneau, Physics and Astronomy Department Wayne State.
UNIVERSITI MALAYSIA PERLIS
Stanford University Department of Aeronautics and Astronautics Introduction to Symmetry Analysis Brian Cantwell Department of Aeronautics and Astronautics.
Kinetics of Particles:
STATIC EQUILIBRIUM [4] Calkin, M. G. “Lagrangian and Hamiltonian Mechanics”, World Scientific, Singapore, 1996, ISBN Consider an object having.
Central Force Motion Chapter 8
Dynamics. Chapter 1 Introduction to Dynamics What is Dynamics? Dynamics is the study of systems in which the motion of the object is changing (accelerating)
GENERAL PRINCIPLES OF BRANE KINEMATICS AND DYNAMICS Introduction Strings, branes, geometric principle, background independence Brane space M (brane kinematics)
Revision Previous lecture was about Generating Function Approach Derivation of Conservation Laws via Lagrangian via Hamiltonian.
CONSTRAINTS. TOPICS TO BE DISCUSSED  DEFINITION OF CONSTRAINTS  EXAMPLES OF CONSTRAINTS  TYPES OF CONSTRAINTS WITH EXAMPLES.
Dr. Wang Xingbo Fall , 2005 Mathematical & Mechanical Method in Mechanical Engineering.
A PPLIED M ECHANICS Lecture 02 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Physics 430: Lecture 15 Lagrange’s Equations
Sect. 3.4: The Virial Theorem Skim discussion. Read details on your own! Many particle system. Positions r i, momenta p i. Bounded. Define G  ∑ i r i.
Energy Transformations and Conservation of Mechanical Energy 8
The Two-Body Problem. The two-body problem The two-body problem: two point objects in 3D interacting with each other (closed system) Interaction between.
Hamilton’s Principle Lagrangian & Hamiltonian Dynamics Newton’s 2 nd Law: F = (dp/dt) –This is a 100% correct description of particle motion in an Inertial.
MATH4248 Weeks Topics: review of rigid body motion, Legendre transformations, derivation of Hamilton’s equations of motion, phase space and Liouville’s.
Chapter 3: Central Forces Introduction Interested in the “2 body” problem! Start out generally, but eventually restrict to motion of 2 bodies interacting.
11.3 Principle of Virtual Work for a System of Connected Rigid Bodies Method of virtual work most suited for solving equilibrium problems involving a system.
In the Hamiltonian Formulation, the generalized coordinate q k & the generalized momentum p k are called Canonically Conjugate quantities. Hamilton’s.
Ch. 8: Hamilton Equations of Motion Sect. 8.1: Legendre Transformations Lagrange Eqtns of motion: n degrees of freedom (d/dt)[(∂L/∂q i )] - (∂L/∂q i )
D’Alembert’s Principle the sum of the work done by
Sect. 1.3: Constraints Discussion up to now  All mechanics is reduced to solving a set of simultaneous, coupled, 2 nd order differential eqtns which.
Lagrange’s Equations with Undetermined Multipliers Marion, Section 7.5 Holonomic Constraints are defined as those which can be expressed as algebraic.
1 Dynamics Differential equation relating input torques and forces to the positions (angles) and their derivatives. Like force = mass times acceleration.
MA4248 Weeks 6-7. Topics Work and Energy, Single Particle Constraints, Multiple Particle Constraints, The Principle of Virtual Work and d’Alembert’s Principle.
Chapter 13 Gravitation Newton’s Law of Gravitation Here m 1 and m 2 are the masses of the particles, r is the distance between them, and G is the.
Phy 303: Classical Mechanics (2) Chapter 3 Lagrangian and Hamiltonian Mechanics.
Sect. 8.3: Routh’s Procedure
The Hamiltonian method
Canonical Equations of Motion -- Hamiltonian Dynamics
The state of a system of n particles & subject to m constraints connecting some of the 3n rectangular coordinates is completely specified by s = 3n –
Central Force Umiatin,M.Si. The aim : to evaluate characteristic of motion under central force field.
The Lagrangian Equation INTERMEDIATE MECHANICS WESLEY QUEEN.
Ch. 8: Summary So Far We’re doing the “2 body”, conservative central force problem! 2 bodies (m 1 & m 2 ) with a central force directed along the line.
Sect. 2.6: Conservation Theorems & Symmetry Properties Lagrange Method: A method to get the eqtns of motion. Solving them = math! n degrees of freedom.
Equivalence of Lagrange’s & Newton’s Equations Section 7.6 The Lagrangian & the Newtonian formulations of mechanics are 100% equivalent! –As we know,
The Lagrangian Equation INTERMEDIATE MECHANICS WESLEY QUEEN.
Variational Principles and Lagrange’s Equations
Ch. 2: Variational Principles & Lagrange’s Eqtns Sect. 2.1: Hamilton’s Principle Our derivation of Lagrange’s Eqtns from D’Alembert’s Principle: Used.
Syllabus Note : Attendance is important because the theory and questions will be explained in the class. II ntroduction. LL agrange’s Equation. SS.
A Simple Example Another simple example: An illustration of my point that the Hamiltonian formalism doesn’t help much in solving mechanics problems. In.
Introduction to Lagrangian and Hamiltonian Mechanics
Classical Mechanics Lagrangian Mechanics.
Canonical Quantization
Mathematical & Mechanical Method in Mechanical Engineering
Kinetics of Particles: Newton’s Second Law
Theoretical Mechanics: Lagrangian dynamics
Hamiltonian Mechanics
Quantum Two.
Continuous Systems and Fields
Physics 319 Classical Mechanics
Presentation transcript:

Lagrangian and Hamiltonian Dynamics Chapter 7 Claude Pruneau Physics and Astronomy

Minimal Principles in Physics Hero of Alexandria 2nd century BC. Law governing light reflection minimizes the path length. Fermat’s Principle Refraction can be understood as the path that minimizes the time - and Snell’s law. Maupertui’s (1747) Principle of least action. Hamilton (1834, 1835)

Hamilton’s Principle Of all possible paths along which a dynamical system may move from one point to another within a specified time interval (consistent with any constraints), the actual path followed is that which minimizes the time integral of the difference between the kinetic and potential energy.

Hamilton’s Principle In terms of calculus of variations: The d is a shorthand notation which represents a variation as discussed in Chap 6. The kinetic energy of a particle in fixed, rectangular coordinates is of function of 1st order time derivatives of the position The potential energy may in general be a function of both positions and velocities. However if the particle moves in a conservative force field, it is a function of the xi only.

Hamilton’s Principle (cont’d) Define the difference of T and U as the Lagrange function or Lagrangian of the particle. The minimization principle (Hamilton’s) may thus be written:

Derivation of Euler-Lagrange Equations Establish by transformation…

Lagrange Equations of Motion L is called Lagrange function or Lagrangian for the particle. L is a function of xi and dxi/dt but not t explicitly (at this point…)

Example 1: Harmonic Oscillator Problem: Obtain the Lagrange Equation of motion for the one-dimensional harmonic oscillator. Solution: Write the usual expression for T and U to determine L. Calculate derivatives.

Example 1: Harmonic Oscillator (cont’d) Combine in Lagrange Eq.

Example 2: Plane Pendulum Problem: Obtain the Lagrange Equation of motion for the plane pendulum of mass “m”.  l Solution: Write the expressions for T and U to determine L.

Example 2: Plane Pendulum (cont’d) Calculate derivatives of L by treating  as if it were a rectangular coordinate. Combine...

Remarks Example 2 was solved by assuming that  could be treated as a rectangular coordinate and we obtain the same result as one obtains through Newton’s equations. The problem was solved by involving kinetic energy, and potential energy. We did not use the concept of force explicitly.

Generalized Coordinates Seek generalization of coordinates. Consider mechanical systems consisting of a collection of n discrete point particles. Rigid bodies will be discussed later… We need n position vectors, I.e. 3n quantities. If there are m constraint equations that limit the motion of particle by for instance relating some of coordinates, then the number of independent coordinates is limited to 3n-m. One then describes the system as having 3n-m degrees of freedom.

Generalized Coordinates (cont’d) Important note: if s=3n-m coordinates are required to describe a system, it is NOT necessary these s coordinates be rectangular or curvilinear coordinates. One can choose any combination of independent parameters as long as they completely specify the system. Note further that these coordinates (parameters) need not even have the dimension of length (e.g. q in our previous example). We use the term generalized coordinates to describe any set of coordinates that completely specify the state of a system. Generalized coordinates will be noted: q1, q2, …, qn.

Generalized Coordinates (cont’d) A set of generalized coordinates whose number equals the number s of degrees of freedom of the system, and not restricted by the constraints is called a proper set of generalized coordinates. In some cases, it may be useful/convenient to use generalized coordinates whose number exceeds the number of degrees of freedom, and to explicitly use constraints through Lagrange multipliers. Useful e.g. if one wishes to calculate forces due to constraints. The choice of a set of generalized coordinates is obviously not unique. They are in general (infinitely) many possibilities. In addition to generalized coordinates, we shall also consider time derivatives of the generalized coordinates called generalized velocities.

Generalized Coordinates (cont’d) Notation:

Transformation Transformation: The “normal” coordinates can be expressed as functions of the generalized coordinates - and vice-versa.

Transformation (cont’d) Rectangular components of the velocties depend on the generalized coordinates, the generalized velocities, and the time. Inverse transformations are noted: There are m=3n-s equations of constraint…

Example: Generalized coordinates Question: Find a suitable set of generalized coordinates for a point particle moving on the surface of a hemisphere of radius R whose center is at the origin. Solution: Motion on a spherical surface implies: Choose cosines as generalized coordinates.

Example: Generalized coordinates (cont’d) q1, q2, q3 do not constitute a proper set of generalized of coordinates because they are not independent. One may however choose e.g. q1, q2, and the constraint equation

Lagrange Eqs in Gen’d Coordinates Of all possible paths along which a dynamical system may move from one point to another in configuration space within a specified time interval, the actual path followed is that which minimizes the time integral of the Lagrangian for the system.

Remarks Lagrangian defined as the difference between kinetic and potential energies. Energy is a scalar quantity (at least in Galilean relativity). Lagrangian is a scalar function. Implies the lagrangian must be invariant with respect to coordinate transformations. Certain transformations that change the Lagrangian but leave the Eqs of motion unchanged are allowed. E.G. if L is replaced by L+d/dt f(qi,t), for a function with continuous 2nd partial derivatives. (Fixed end points) The choice of reference for U is also irrelevant, one can add a constant to L.

Lagrange’s Eqs The choice of specific coordinates is therefore immaterial Hamilton’s principle becomes

Lagrange’s Eqs “s” equations “m” constraint equations Applicability: Force derivable from one/many potential Constraint Eqs connect coordinates, may be fct(t)

Lagrange Eqs (cont’d) Holonomic constraints Scleronomic constraints Independent of time Rheonomic Dependent on time

Example: Projectile in 2D Question: Consider the motion of a projectile under gravity in two dimensions. Find equations of motion in Cartesian and polar coordinates. Solution in Cartesian coordinates:

Example: Projectile in 2D (cont’d) In polar coordinates…

Example: Motion in a cone Question: A particle of mass “m” is constrained to move on the inside surface of a smooth cone of hal-angle a. The particle is subject to a gravitational force. Determine a set of generalized coordinates and determine the constraints. Find Lagrange’s Eqs of motion. z Solution: Constraint: 2 degrees of freedom only! 2 generalized coordinates.  y  x

Example: Motion in a cone (cont’d) Choose to eliminate “z”. L is independent of q. is the angular momentum relative to the axis of the cone.

Example: Motion in a cone (cont’d) For r:

Lagrange’s Eqs with underdetermined multipliers Constraints that can be expressed as algebraic equations among the coordinates are holonomic constraints. If a system is subject to such equations, one can always find a set of generalized coordinates in terms of which Eqs of motion are independent of these constraints. Constraints which depend on the velocities have the form Non holonomic constraints unless eqs can be integrated to yield constrains among the coordinates.

Consider Generally non-integrable, unless One thus has: Or… Which yields… So the constraints are actually holonomic…

Constraints… We therefore conclude that if constraints can be expressed Constraints Eqs given in differential form can be integrated in Lagrange Eqs using undetermined multipliers. For: One gets:

Forces of Constraint The underdetermined multipliers are the forces of constraint:

Example: Disk rolling incline plane

Example: Motion on a sphere

7.6 Equivalence of Lagrange’s and Newton’s Equations Lagrange and Newton formulations of mechanic are equivalent Different view point, same eqs of motion. Explicit demonstration…

Generalized momentum Generalized force defined through virtual work dW

For a conservative system:

7.10 Canonical Equations of Motion – Hamilton Dynamics Whenever the potential energy is velocity independent: Result extended to define the Generalized Momenta: Given Euler-Lagrange Eqs: One also finds: The Hamiltonian may then be considered a function of the generalized coordinates, qj, and momenta pj:

… whereas the Lagrangian is considered a function of the generalized coordinates, qj, and their time derivative. To “convert” from the Lagrange formulation to the Hamiltonian formulation, we consider: But given: One can also write:

That must also equal: We then conclude: Hamilton Equations

Let’s now rewrite: And calculate: Finally conclude: If : H is a constant of motion If, additionally, H=U+T=E, then E is a conserved quantity.:

Some remarks The Hamiltonian formulation requires, in general, more work than the Lagrange formulation to derive the equations of motion. The Hamiltonian formulation simplifies the solution of problems whenever cyclic variables are encountered. Cyclic variables are generalized coordinates that do not appear explicitly in the Hamiltonian. The Hamiltonian formulation forms the basis to powerful extensions of classical mechanics to other fields e.g. Beam physics, statistical mechanics, etc. The generalized coordinates and momenta are said to be canonically conjugates – because of the symmetric nature of Hamilton’s equations.

More remarks If qk is cyclic, I.e. does not appear in the Hamiltonian, then And pk is then a constant of motion. A coordinate cyclic in H is also cyclic in L. Note: if qk is cyclic, its time derivative “q-dot” appears explicitly in L. No reduction of the number of degrees of freedom in the Lagrange formulation: still “s” 2nd order equations of motion. Reduction by 2 of the number of equations to be solved in the Hamiltonian formulation – since 2 become trivial…

where k is possibly a function of t. One thus get the simple (trivial) solution: The solution for a cyclic variable is thus reduced to a simple integral as above. The simplest solution to a system would occur if one could choose the generalized coordinates in a way they are ALL cyclic. One would then have “s” equations of the form : Such a choice is possible by applying appropriate transformations – this is known as Hamilton-Jacobi Theory.

Some remarks on the calculus of variation Hamilton’s Principle: Evaluated: Where dqk and are not independent! The above integral becomes after integration by parts: Which gives rise to Euler-Lagrange equations:

Alternatively, Hamilton’s Principle can be written: Which evaluates to: Consider: Integrate by parts: The variation may then be written:

Hamilton Equations