Lagrange Multipliers. A Somewhat Silly Example. Monday, 25 September 2013

Similar documents
Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1

Physics 5153 Classical Mechanics. Principle of Virtual Work-1

PHYS 705: Classical Mechanics. Calculus of Variations II

Classical Mechanics Virtual Work & d Alembert s Principle

Mechanics Physics 151

Physics 106a, Caltech 11 October, Lecture 4: Constraints, Virtual Work, etc. Constraints

coordinates. Then, the position vectors are described by

CHAPTER 6. LAGRANGE S EQUATIONS (Analytical Mechanics)

Poisson brackets and canonical transformations

11. Dynamics in Rotating Frames of Reference

and from it produce the action integral whose variation we set to zero:

Moments of Inertia. and reminds us of the analogous equation for linear momentum p= mv, which is of the form. The kinetic energy of the body is.

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

Notes on Analytical Dynamics

Quantum Mechanics I Problem set No.1

Chapter 8. Potential Energy and Conservation of Energy

Three views of mechanics

12. The Hamilton-Jacobi Equation Michael Fowler

PHYS 705: Classical Mechanics. Newtonian Mechanics

Lecture 20: Noether s Theorem

G j dq i + G j. q i. = a jt. and

Integrals and Invariants of Euler-Lagrange Equations

2D Motion of Rigid Bodies: Falling Stick Example, Work-Energy Principle

The Feynman path integral

High-Order Hamilton s Principle and the Hamilton s Principle of High-Order Lagrangian Function

THEOREMS OF QUANTUM MECHANICS

A particle in a state of uniform motion remain in that state of motion unless acted upon by external force.

Physics 181. Particle Systems

Mechanics Physics 151

Analytical classical dynamics

From Biot-Savart Law to Divergence of B (1)

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

PHYS 705: Classical Mechanics. Hamilton-Jacobi Equation

CHAPTER 14 GENERAL PERTURBATION THEORY

Classical Field Theory

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1

Modeling of Dynamic Systems

THE VIBRATIONS OF MOLECULES II THE CARBON DIOXIDE MOLECULE Student Instructions

Mechanics Physics 151

First Law: A body at rest remains at rest, a body in motion continues to move at constant velocity, unless acted upon by an external force.

Chapter Eight. Review and Summary. Two methods in solid mechanics ---- vectorial methods and energy methods or variational methods

Canonical transformations

Lesson 5: Kinematics and Dynamics of Particles

1 Matrix representations of canonical matrices

14 Lagrange Multipliers

LAGRANGIAN MECHANICS

Open Systems: Chemical Potential and Partial Molar Quantities Chemical Potential

Math1110 (Spring 2009) Prelim 3 - Solutions

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

A Review of Analytical Mechanics

Mathematical Preparations

4. Laws of Dynamics: Hamilton s Principle and Noether's Theorem

Integrals and Invariants of

1 What is a conservation law?

Chapter 3. r r. Position, Velocity, and Acceleration Revisited

Physics 207 Lecture 6

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

SIO 224. m(r) =(ρ(r),k s (r),µ(r))

EPR Paradox and the Physical Meaning of an Experiment in Quantum Mechanics. Vesselin C. Noninski

Section 8.3 Polar Form of Complex Numbers

Solutions to exam in SF1811 Optimization, Jan 14, 2015

Lagrangian Field Theory

EN40: Dynamics and Vibrations. Homework 4: Work, Energy and Linear Momentum Due Friday March 1 st

Fermi-Dirac statistics

10. Canonical Transformations Michael Fowler

Physics 607 Exam 1. ( ) = 1, Γ( z +1) = zγ( z) x n e x2 dx = 1. e x2

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

Dynamics of Rotational Motion

Georgia Tech PHYS 6124 Mathematical Methods of Physics I

Linear Momentum. Center of Mass.

SCALARS AND VECTORS All physical quantities in engineering mechanics are measured using either scalars or vectors.

Week 9 Chapter 10 Section 1-5

So far: simple (planar) geometries

Quantum Mechanics for Scientists and Engineers. David Miller

Advanced Circuits Topics - Part 1 by Dr. Colton (Fall 2017)

ENGN 40 Dynamics and Vibrations Homework # 7 Due: Friday, April 15

CHAPTER 5: Lie Differentiation and Angular Momentum

PHYS 705: Classical Mechanics. Canonical Transformation II

where the sums are over the partcle labels. In general H = p2 2m + V s(r ) V j = V nt (jr, r j j) (5) where V s s the sngle-partcle potental and V nt

Rigid body simulation

Physics 240: Worksheet 30 Name:

You will analyze the motion of the block at different moments using the law of conservation of energy.

Spring Force and Power

Calculus of Variations Basics

1 Derivation of Point-to-Plane Minimization

Indeterminate pin-jointed frames (trusses)

ADVANCED MACHINE LEARNING ADVANCED MACHINE LEARNING

Celestial Mechanics. Basic Orbits. Why circles? Tycho Brahe. PHY celestial-mechanics - J. Hedberg

Lecture 16. Chapter 11. Energy Dissipation Linear Momentum. Physics I. Department of Physics and Applied Physics

Workshop: Approximating energies and wave functions Quantum aspects of physical chemistry

Chapter 20 Rigid Body: Translation and Rotational Motion Kinematics for Fixed Axis Rotation

Chapter 3 and Chapter 4

Formulas for the Determinant

ON MECHANICS WITH VARIABLE NONCOMMUTATIVITY

τ rf = Iα I point = mr 2 L35 F 11/14/14 a*er lecture 1

10/23/2003 PHY Lecture 14R 1

Robert Eisberg Second edition CH 09 Multielectron atoms ground states and x-ray excitations

PHYS 1441 Section 002 Lecture #16

Part C Dynamics and Statics of Rigid Body. Chapter 5 Rotation of a Rigid Body About a Fixed Axis

1. Review of Mechanics Newton s Laws

Transcription:

Lagrange Multplers Monday, 5 September 013 Sometmes t s convenent to use redundant coordnates, and to effect the varaton of the acton consstent wth the constrants va the method of Lagrange undetermned multplers. As a bonus, we obtan the generalzed forces of constrant. Physcs 111 A Somewhat Slly Example To help us wrap our mnds around the challenge of ncorporatng constrants nto the Lagrangan formalsm, let s start wth the slly use of redundant coordnates llustrated at the rght. The mass sldes down the nclned plane, whch provdes a normal force suffcent to make t do so. Of course, t would be more straghtforward to use a coordnate algned wth the surface of the nclned plane, but we have happened to decde to use the x and y coordnates llustrated n the fgure. Along the plane, therefore, y = x tanα. We may wrte the lagrangan n terms of these generalzed coordnates, L = 1 m(ẋ + ẏ ) mg y y α m x and from t produce the acton ntegral whose varaton we set to zero: {[ L δs = x d ] [ L L δx + dt ẋ y d ] } L δy dt = 0 dt ẏ If we blthely pretend that the varatons δx and δy are uncorrelated, then we conclude that for the acton to be statonary we must have each term n square brackets vansh, whch leads to mẍ = 0 and mÿ = g. Of course, these are the correct equatons of moton for a partcle n free fall, not sldng down an nclne. To stay on the nclne, the vrtual dsplacements n x and y must be coordnated: d y = tanα dx = δy = δx tanα Substtutng nto the expresson of statonary acton yelds {[ L δs = x d ] [ L L + dt ẋ y d ] } L tanα δx dt = 0 dt ẏ where we now may take an arbtrary varaton δx. Evaluatng the term n braces and settng t to zero gves mẍ + ( mg mÿ ) tanα = 0 ẍ + ÿ tanα = g tanα Physcs 111 1 of 6 Peter N. Saeta

Dfferentatng the constrant equaton wth respect to tme twce, ÿ = ẍ tanα, allows us to elmnate y from the equaton: ẍ + ẍ tan α = g tanα ẍ sec α = g tanα ẍ = g snαcosα whch s ndeed the correct equaton of moton for x. The General Case Let s generalze to the case of a mechancal system wth N P degrees of freedom, whch we descrbe wth N generalzed coordnates and P equatons of constrant. We wll assume that dsspaton may be neglected so that the system may be descrbed by a Lagrangan. Let us suppose that the equatons of constrant may be wrtten n the form G j (q, t) = 0 = dg j = dq + dt = 0 q t for j = 1,,..., P. For notatonal convenence, defne Translaton: just to confuse you. q = a j and t = a j t Then the j th constrant equaton may be wrtten a j dq + a j t dt = 0 or a j q + a j t = 0 (P equatons) Note that the coeffcents a j and a j t may be functons of the generalzed coordnates q and the tme t, but not the generalzed veloctes q. Hamlton s prncple says that of all possble paths, the one the system follows s that whch mnmzes the acton, whch s the tme ntegral of the lagrangan: tb δs = δ L(q, q, t)dt = 0 (1) t a Expandng the varaton n the lagrangan and ntegratng by parts, we obtan tb [ L δs = d ] L δq dt q dt q t a Remember that we are usng the summaton conventon; we sum over. whch must vansh on the mnmum path. When the coordnates q formed a mnmal complete set, we argued that the vrtual dsplacements δq were arbtrary and that the only way to ensure that the acton be mnmum s for each term n the square brackets to vansh. Now, however, an arbtrary varaton n the coordnates wll send us off the constrant surface, leadng to an mpossble soluton. One way to trck Prof. Hamlton nto fndng the rght soluton (the soluton consstent wth the constrant equatons) would be to sneak somethng nsde the brackets that would make the varaton n the acton zero Physcs 111 of 6 Peter N. Saeta

for dsplacements that take us off the surface of constrant. That s hardly cheatng; t just takes away the ncentve to cheat! If we managed to fnd such terms, then t wouldn t matter whch way we vared the path; we d get zero change n the acton, to frst order n the varaton. We could then treat all the varatons δq as ndependent. Before runnng that lttle operaton, consder what t mght mean for those terms to represent the generalzed forces of constrant. Snce the allowed vrtual dsplacements of the system are all orthogonal to the constrant forces, those forces do no work and they don t change the value of the acton ntegral. In fact, they are just the necessary forces to ensure that the moton follows the constraned path. So, f we can fgure out what terms we need to add to the lagrangan to make the llegal varatons vansh, we wll have also found the forces of constrant. Each of the constrant equatons s of the form G j (q, t) = 0, so f we were to add a multple of each constrant equaton to the lagrangan, t would leave the acton unchanged. So, we form the augmented Lagrangan: L = L + λ j G j () where I m usng the summaton conventon and the λ j are Lagrange s undetermned multplers, one per equaton of constrant; all may be functons of the tme. Then the (augmented) acton s t 1 S = t t 1 L dt (but snce we added zero, t s the same as the un-augmented acton). By Hamlton s prncple, the acton s mnmzed along the true path followed by the system. We may now effect the varaton of the acton and force t to vansh: t [ L δs = δq + L ] δ q + λ j δq dt = 0 q q q The prme on L does not mply dfferentaton, merely that ths s the augmented Lagrangan functon defned n Eq. (). Integrate the mddle term by parts (and remember we re usng the summaton conventon): t [ L δs = d ] L + λ j a j δq dt = 0 q dt q t 1 We now have N varatons δq, only N P of whch are ndependent (snce the system has only N P degrees of freedom). Usng the P ndependent Lagrange multplers, we may ensure that all N terms nsde the square bracket vansh, so that no matter what the varatons δq the value of the ntegral doesn t vary. Thus we have L = λ j a j (N equatons) dt q q a j dq + a j t dt = 0 or a j q + a j t = 0 (P equatons) or, f you prefer, d dt ( L dq + dt = 0 q t q ) L = λ j q q or q + q t (N equatons) = 0 (P equatons) Physcs 111 3 of 6 Peter N. Saeta

Snce there are N generalzed coordnates and P Lagrange multplers, we now have a closed algebrac system. When we derved Lagrangan mechancs startng from Newton s laws, we showed that d T T = F tot = F tot r dt q q q where F s the total force on the partcle and F tot s the generalzed force correspondng to the th generalzed coordnate. If we separate the forces nto those expressble n terms of a scalar potental dependng only on postons (not veloctes), the forces of constrant, and anythng left over, then ths becomes L = F constrant +F noncons (3) dt q q Comparng wth the N Lagrange equatons above, we see that when all the forces are conservatve, Summed over j. F constrant = F constrant r = λ j a j = λ j q q In other words, the sum λ j q s the generalzed constrant force. Example 1 y θ A hoop of mass m and radus R rolls wthout slppng down a plane nclned at angle α wth respect to the horzontal. Solve for the moton, as well as the generalzed constrant forces. Usng the ndcated coordnate system, we have no moton n y, but coordnated moton between x and θ, whch are lnked by the constrant condton R dθ = dx or R dθ dx = 0 Therefore, a 1θ = R, a 1x = 1, a 1t = 0 x α The knetc energy s T = m ẋ + mr θ and the potental energy s V = mg x snα, so the Lagrangan s L = T V = m ẋ + mr θ + mg x snα We wll frst solve by usng the constrant equaton to elmnate θ: R θ = ẋ, so L = m ẋ + m ẋ + mg x snα = mẋ + mg x snα Physcs 111 4 of 6 Peter N. Saeta

Ths Lagrangan has a sngle generalzed coordnate, x, and thus we obtan the equaton of moton L dt ẋ x = 0 mẍ mg snα = 0 ẍ = g snα whch s half as fast as t would accelerate f t sld wthout frcton. If we delay the gratfcaton of nsertng the constrant and nstead use the lagrangan wth two generalzed coordnates, we get L x = λ 1a 1x = mẍ mg snα = λ 1 ( 1) dt ẋ ( dt θ ) L θ = λ 1a 1θ = mr θ 0 = λ1 R From the second equaton, we obtan λ 1 = mr θ = mẍ, where I have used the constrant equaton R θ = ẍ n the last step. Substtutng nto the frst equaton, we agan obtan ẍ = g / snα. What about the constrant forces? The generalzed constrant force n x s F x = λ 1 a 1x = mẍ = mg snα. Ths s the force headng up the slope produced by frcton; t s responsble for the slowed moton of the center of mass. The generalzed constrant force n θ s F θ = λ 1 R = mrẍ = mg R snα. Ths s the torque about the center of mass of the hoop caused by the frctonal force. Summary When you wsh to use redundant coordnates, or when you wsh to determne forces of constrant usng the Lagrangan approach, here s the recpe: 1. Wrte the equatons of constrant, G j (q, t) = 0, n the form where a j = q. a j dq + a j t dt = 0. Wrte down the N Lagrange equatons, L = λ j a j dt q q (summaton conventon) where the λ j (t) are the Lagrange undetermned multplers and F = λ j a j s the generalzed force of constrant n the q drecton. 3. Solve, usng the N Lagrange equatons and the P constrant equatons. 4. Compute the generalzed constrant forces, F, f desred. Physcs 111 5 of 6 Peter N. Saeta

Problem 1 Use the method of Lagrange undetermned multplers to calculate the generalzed constrant forces on our venerable bead, whch s forced to move wthout frcton on a hoop of radus R whose normal s horzontal and forced to rotate at angular velocty ω about a vertcal axs through ts center. Interpret these generalzed forces. What do they correspond to physcally? Physcs 111 6 of 6 Peter N. Saeta