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

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

Assignment 1. g i (x 1,..., x n ) dx i = 0. i=1

The Principle of Least Action

Lecture 2 Lagrangian formulation of classical mechanics Mechanics

Lecture 27: Generalized Coordinates and Lagrange s Equations of Motion

Lagrangian and Hamiltonian Mechanics

Calculus of Variations

Chapter 2 Lagrangian Modeling

Implicit Differentiation

G4003 Advanced Mechanics 1. We already saw that if q is a cyclic variable, the associated conjugate momentum is conserved, L = const.

Numerical Integrator. Graphics

Lagrangian and Hamiltonian Dynamics

Math Notes on differentials, the Chain Rule, gradients, directional derivative, and normal vectors

Math 1271 Solutions for Fall 2005 Final Exam

Linear First-Order Equations

Table of Common Derivatives By David Abraham

The Ehrenfest Theorems

Unit #6 - Families of Functions, Taylor Polynomials, l Hopital s Rule

23 Implicit differentiation

221A Lecture Notes Notes on Classica Mechanics I

Euler equations for multiple integrals

The derivative of a function f(x) is another function, defined in terms of a limiting expression: f(x + δx) f(x)

Calculus of variations - Lecture 11

Lecture XII. where Φ is called the potential function. Let us introduce spherical coordinates defined through the relations

Diagonalization of Matrices Dr. E. Jacobs

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

Vectors in two dimensions

Free rotation of a rigid body 1 D. E. Soper 2 University of Oregon Physics 611, Theoretical Mechanics 5 November 2012

Further Differentiation and Applications

1 Heisenberg Representation

Implicit Differentiation

Derivation Of Lagrange's Equation Of Motion For Nonholonomic Constraints Using Lagrange s Multiplier

Applications of First Order Equations

Goldstein Chapter 1 Exercises

Physics 115C Homework 4

The Principle of Least Action and Designing Fiber Optics

Integration Review. May 11, 2013

16.30/31, Fall 2010 Recitation # 1

4. Important theorems in quantum mechanics

Calculus of Variations

Appendix: Proof of Spatial Derivative of Clear Raindrop

1 Lecture 20: Implicit differentiation

Trigonometric Functions

d dx But have you ever seen a derivation of these results? We ll prove the first result below. cos h 1

θ x = f ( x,t) could be written as

Solutions to Math 41 Second Exam November 4, 2010

Chapter 6: Energy-Momentum Tensors

Math 342 Partial Differential Equations «Viktor Grigoryan

Physics 106a, Caltech 16 October, Lecture 5: Hamilton s Principle with Constraints. Examples

Linear and quadratic approximation

The Exact Form and General Integrating Factors

1 dx. where is a large constant, i.e., 1, (7.6) and Px is of the order of unity. Indeed, if px is given by (7.5), the inequality (7.

Calculus and optimization

Separation of Variables

Advanced Dynamics. - Lecture 4 Lagrange Equations. Paolo Tiso Spring Semester 2017 ETH Zürich

THERE ARE BASICALLY TWO approaches to conservative mechanics, due principally

AN INTRODUCTION TO AIRCRAFT WING FLUTTER Revision A

6 Wave equation in spherical polar coordinates

Worksheet 4: Energy. 1 Mechanical Energy

Antiderivatives. Definition (Antiderivative) If F (x) = f (x) we call F an antiderivative of f. Alan H. SteinUniversity of Connecticut

MA 2232 Lecture 08 - Review of Log and Exponential Functions and Exponential Growth

ELEC3114 Control Systems 1

Chapter 2 Derivatives

Multivariable Calculus: Chapter 13: Topic Guide and Formulas (pgs ) * line segment notation above a variable indicates vector

Math 115 Section 018 Course Note

Theoretical Dynamics September 16, Homework 2. Taking the point of support as the origin and the axes as shown, the coordinates are

IMPLICIT DIFFERENTIATION

Math Chapter 2 Essentials of Calculus by James Stewart Prepared by Jason Gaddis

Advanced Partial Differential Equations with Applications

The Three-dimensional Schödinger Equation

Physics 106a, Caltech 4 December, Lecture 18: Examples on Rigid Body Dynamics. Rotating rectangle. Heavy symmetric top

Applications of the Wronskian to ordinary linear differential equations

Many problems in physics, engineering, and chemistry fall in a general class of equations of the form. d dx. d dx

Quantum Mechanics in Three Dimensions

Experimental Robustness Study of a Second-Order Sliding Mode Controller

Introduction to variational calculus: Lecture notes 1

Math Implicit Differentiation. We have discovered (and proved) formulas for finding derivatives of functions like

Pure Further Mathematics 1. Revision Notes

Forces of Constraint & Lagrange Multipliers

NOTES ON EULER-BOOLE SUMMATION (1) f (l 1) (n) f (l 1) (m) + ( 1)k 1 k! B k (y) f (k) (y) dy,

fv = ikφ n (11.1) + fu n = y v n iσ iku n + gh n. (11.3) n

4.2 First Differentiation Rules; Leibniz Notation

ensembles When working with density operators, we can use this connection to define a generalized Bloch vector: v x Tr x, v y Tr y

Analytic Scaling Formulas for Crossed Laser Acceleration in Vacuum

Math 1272 Solutions for Spring 2005 Final Exam. asked to find the limit of the sequence. This is equivalent to evaluating lim. lim.

Static Equilibrium. Theory: The conditions for the mechanical equilibrium of a rigid body are (a) (b)

The total derivative. Chapter Lagrangian and Eulerian approaches

LINEAR DIFFERENTIAL EQUATIONS OF ORDER 1. where a(x) and b(x) are functions. Observe that this class of equations includes equations of the form

Solutions to MATH 271 Test #3H

Gravitation & Cosmology. Exercises # µ x = 0 (1)

A Second Time Dimension, Hidden in Plain Sight

Physics 505 Electricity and Magnetism Fall 2003 Prof. G. Raithel. Problem Set 3. 2 (x x ) 2 + (y y ) 2 + (z + z ) 2

Schrödinger s equation.

Department of Physics University of Maryland College Park, Maryland. Fall 2005 Final Exam Dec. 16, u 2 dt )2, L = m u 2 d θ, ( d θ

Calculus in the AP Physics C Course The Derivative

Chapter 4. Electrostatics of Macroscopic Media

( ) = 1 t + t. ( ) = 1 cos x + x ( sin x). Evaluate y. MTH 111 Test 1 Spring Name Calculus I

Optimal Variable-Structure Control Tracking of Spacecraft Maneuvers

11.7. Implicit Differentiation. Introduction. Prerequisites. Learning Outcomes

Problem Sheet 2: Eigenvalues and eigenvectors and their use in solving linear ODEs

Transcription:

Lagrange Multipliers Monay, 6 September 01 Sometimes it is convenient to use reunant coorinates, an to effect the variation of the action consistent with the constraints via the metho of Lagrange unetermine multipliers. As a bonus, we obtain the generalize forces of constraint. Physics 111 A Somewhat Silly Example To help us wrap our mins aroun the challenge of incorporating constraints into the Lagrangian formalism, let s start with the silly use of reunant coorinates illustrate at the right. The mass slies own the incline plane, which provies a normal force sufficient to make it so. Of course, it woul be more straightforwar to use a coorinate aligne with the surface of the incline plane, but we have ecie to use the x an y coorinates illustrate in the figure. Along the plane, therefore, y = x tan α. We may write the Lagrangian in terms of these generalize coorinates, y α m x L = 1 m(ẋ + ẏ ) mg y an from it prouce the action integral whose variation we set to zero: δs = {[ L x t ( L L )] δx + [ ẋ y t ( L )] δy} t = 0 ẏ If we blithely preten that the variations δx an δy are uncorrelate, then we conclue that for the action to be stationary we must have each term in square brackets vanish, which leas to mẍ = 0 an mÿ = g. Of course, these are the correct equations of motion for a particle in free fall, not sliing own an incline. To stay on the incline, the virtual isplacements in x an y must be coorinate: y = x tan α δy = δx tan α Substituting into the expression of stationary action yiels δs = {[ L x t ( L L )] + [ ẋ y t ( L )] tan α} δx t = 0 ẏ Physics 111 1 Peter N. Saeta

where we now may take an arbitrary variation δx. Evaluating the term in braces an setting it to zero gives mẍ + ( mg mÿ) tan α = 0 ẍ + ÿ tan α = g tan α Differentiating the constraint equation with respect to time twice, ÿ = ẍ tan α, allows us to eliminate y from the equation: ẍ + ẍ tan α = g tan α ẍ sec α = g tan α ẍ = g sin α cos α which is inee the correct equation of motion for x. The General Case Let s generalize to the case of a mechanical system with N P egrees of freeom, which we escribe with N generalize coorinates an P equations of constraint. We will assume that issipation may be neglecte so that the system may be escribe by a Lagrangian. Let us suppose that the equations of constraint may be written in the form G j (q i, t) = 0 G j = i for j = 1,,..., P. For notational convenience 1, efine q i + t = 0 t = a ji an Then the jth constraint equation may be written t = a jt a ji q i + a jt t = 0 or a ji q i + a jt = 0 (P equations) Note that the coefficients a ji an a jt may be functions of the generalize coorinates q i an the time t, but not the generalize velocities q i. Hamilton s principle says that of all possible paths, the one the system follows is that which minimizes the action, which is the time integral of the Lagrangian: t b δs = δ L(q i, q i, t) t = 0 (1) t a Expaning the variation in the Lagrangian an integrating by parts, we obtain δs = 1 Translation: just to confuse you. t a t b [ L t ( L )] δq i t Peter N. Saeta Physics 111

which must vanish on the minimum path. Remember that we are using the summation convention; we sum over i. When the coorinates q i forme a minimal complete set, we argue that the virtual isplacements δq i were arbitrary an that the only way to ensure that the action be minimum is for each term in the square brackets to vanish. Now, however, an arbitrary variation in the coorinates will sen us off the constraint surface, leaing to an impossible solution. One way to trick Prof. Hamilton into fining the right solution (the solution consistent with the constraint equations) woul be to sneak something insie the brackets that woul make the variation in the action zero for isplacements that take us off the surface of constraint. That s harly cheating; it just takes away the incentive to cheat! If we manage to fin such terms, then it wouln t matter which way we varie the path; we get zero change in the action, to first orer in the variation. We coul then treat all the variations δq i as inepenent. Before running that little operation, consier what it might mean for those terms to represent the generalize forces of constraint. Since the allowe virtual isplacements of the system are all orthogonal to the constraint forces, those forces o no work an they on t change the value of the action integral. In fact, they are just the necessary forces to ensure that the motion follows the constraine path. So, if we can figure out what terms we nee to a to the Lagrangian to make the illegal variations vanish, we will have also foun the forces of constraint. Each of the constraint equations is of the form G j (q i, t) = 0, so if we were to a a multiple of each constraint equation to the Lagrangian, it woul leave the action unchange. So, we form the augmente Lagrangian: L = L + λ j G j where I m using the summation convention an the λ j are Lagrange s unetermine multiplier, one per equation of constraint; all may be functions of the time. Then the (augmente) action is S = t 1 t L t (but since we ae zero, it s the same as the un-augmente action). By Hamilton s principle, the action is minimize along the true path followe by the system. We may now effect the variation of the action an force it to vanish: δs = t 1 t [ L δq i + L δ q i + λ j δq i ] t = 0 Integrate the mile term by parts (an remember we re using the summation convention): t δs = [ L t ( L ) + λ j a ji ] δq i t = 0 t 1 Physics 111 3 Peter N. Saeta

We now have N variations δq i, only N P of which are inepenent (since the system has only N P egrees of freeom). Using the P inepenent Lagrange multipliers, we may ensure that all N terms insie the square bracket vanish, so that no matter what the variations δq i the value of the integral oesn t vary. Thus we have t ( L ) L = λ j a ji (N equations) a ji q i + a jt t = 0 or a ji q i + a jt = 0 (P equations) Since there are N generalize coorinates an P Lagrange multipliers, we now have a close algebraic system. When we erive Lagrangian mechanics starting from Newton s laws, we showe that t ( T ) T = Fi tot = F tot r where F is the total force on the particle an Fi tot is the generalize force corresponing to the ith generalize coorinate. If we separate the forces into those expressible in terms of a scalar potential epening only on positions (not velocities), the forces of constraint, an anything left over, then this becomes t ( L ) L = Fi constraint + Fi noncons () Comparing with the N Lagrange equations above, we see that when all the forces are conservative, F constraint i = F constraint r = λ j a ji = j λ j where I have written the sum explicitly in the last expression, just to remin you. In other wors, the sum λ j a ji is the generalize constraint force. Example 1 y θ A hoop of mass m an raius R rolls without slipping own a plane incline at angle α with respect to the horizontal. Solve for the motion, as well as the generalize constraint forces. Using the inicate coorinate system, we have no motion in y, but coorinate motion between x an θ, which are linke by the constraint conition x α Peter N. Saeta 4 Physics 111

R θ = x or R θ x = 0 Therefore, a 1θ = R, a 1x = 1, a 1t = 0 The kinetic energy is T = m ẋ + mr θ an the potential energy is V = mgx sin α, so the Lagrangian is L = T V = m ẋ + mr θ + mgx sin α We will first solve by using the constraint equation to eliminate θ: R θ = ẋ, so L = m ẋ + m ẋ + mgx sin α = mẋ + mgx sin α This Lagrangian has a single generalize coorinate, x, an thus we obtain the equation of motion t ( L ẋ ) L x = 0 mẍ mg sin α = 0 ẍ = g sin α which is half as fast as it woul accelerate if it sli without friction. If we elay the gratification of inserting the constraint an instea use the Lagrangian with two generalize coorinates, we get t ( L ẋ ) L x = λ 1a 1x mẍ mg sin α = λ 1 ( 1) t ( L L ) θ θ = λ 1a 1θ mr θ 0 = λ1 R From the secon equation, we obtain λ 1 = mr θ = mẍ, where I have use the constraint equation R θ = ẍ in the last step. Substituting into the first equation, we again obtain ẍ = g/ sin α. What about the constraint forces? The generalize constraint force in x is F x = λ 1 a 1x = mẍ = mg sin α. This is the force heaing up the slope prouce by friction; it is responsible for the slowe motion of the center of mass. The generalize constraint force in θ is F θ = λ 1 R = mrẍ = mgr sin α. This is the torque about the center of mass of the hoop cause by the frictional force. Physics 111 5 Peter N. Saeta

Summary When you wish to use reunant coorinates, or when you wish to etermine forces of constraint using the Lagrangian approach, here s the recipe: 1. Write the equations of constraint, G j (q i, t) = 0, in the form where a ji =. a ji q i + a jt t = 0. Write own the N Lagrange equations, t ( L ) L = λ j a ji (summation convention) where the λ j (t) are the Lagrange unetermine multipliers an F i = λ j a ji is the generalize force of constraint in the q i irection. 3. Solve, using the N Lagrange equations an the P constraint equations. 4. Compute the generalize constraint forces, F i, if esire. Problem 1 Use the metho of Lagrange unetermine multipliers to calculate the generalize constraint forces on our venerable bea, which is force to move without friction on a hoop of raius R whose normal is horizontal an force to rotate at angular velocity ω about a vertical axis through its center. Interpret these generalize forces. What o they correspon to physically? Peter N. Saeta 6 Physics 111