Forces of Constraint & Lagrange Multipliers

Similar documents
Lecture 4. Alexey Boyarsky. October 6, 2015

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

Physics 6010, Fall 2016 Constraints and Lagrange Multipliers. Relevant Sections in Text:

CP1 REVISION LECTURE 3 INTRODUCTION TO CLASSICAL MECHANICS. Prof. N. Harnew University of Oxford TT 2017

Chapter 10 Notes: Lagrangian Mechanics

06. Lagrangian Mechanics II

Lecture 13: Forces in the Lagrangian Approach

Physical Dynamics (SPA5304) Lecture Plan 2018

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

Constraints. Noninertial coordinate systems

Lecture 27: Generalized Coordinates and Lagrange s Equations of Motion

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

15. Hamiltonian Mechanics

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

HW3 Physics 311 Mechanics

Rotational Kinetic Energy

Assignment 2. Tyler Shendruk October 8, Hamilton s Principle - Lagrangian and Hamiltonian dynamics.

Physical Dynamics (PHY-304)

LAGRANGIAN AND HAMILTONIAN

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department 8.01 Physics I Fall Term 2009 Review Module on Solving N equations in N unknowns

M2A2 Problem Sheet 3 - Hamiltonian Mechanics

N mg N Mg N Figure : Forces acting on particle m and inclined plane M. (b) The equations of motion are obtained by applying the momentum principles to

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

Physics 131: Lecture 21. Today s Agenda

Euler-Lagrange's equations in several variables

General Definition of Torque, final. Lever Arm. General Definition of Torque 7/29/2010. Units of Chapter 10

4.1 Important Notes on Notation

PHYSICS 221, FALL 2011 EXAM #2 SOLUTIONS WEDNESDAY, NOVEMBER 2, 2011

Homework 1. Due Tuesday, January 29.

Marion and Thornton. Tyler Shendruk October 1, Hamilton s Principle - Lagrangian and Hamiltonian dynamics.

ESM 3124 Intermediate Dynamics 2012, HW6 Solutions. (1 + f (x) 2 ) We can first write the constraint y = f(x) in the form of a constraint

Physics 5153 Classical Mechanics. Canonical Transformations-1

B.Sc. (Semester - 5) Subject: Physics Course: US05CPHY01 Classical Mechanics

Constrained motion and generalized coordinates

Torque/Rotational Energy Mock Exam. Instructions: (105 points) Answer the following questions. SHOW ALL OF YOUR WORK.

Exam 3 Practice Solutions

CONSTRAINTS: notes by BERNARD F. WHITING

Generalized Coordinates, Lagrangians

Coordinates, phase space, constraints

This module requires you to read a textbook such as Fowles and Cassiday on material relevant to the following topics.

Lagrangian and Hamiltonian Mechanics (Symon Chapter Nine)

Chapter 10: Dynamics of Rotational Motion

Revolve, Rotate & Roll:

Test 7 wersja angielska

Problem 1. Mathematics of rotations

Question 1: A particle starts at rest and moves along a cycloid whose equation is. 2ay y a

Lecture D10 - Angular Impulse and Momentum

28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod)

Physics 131: Lecture 21. Today s Agenda

Classical Mechanics Comprehensive Exam Solution

Solution Set Two. 1 Problem #1: Projectile Motion Cartesian Coordinates Polar Coordinates... 3

16. Rotational Dynamics

Physics 351 Wednesday, February 14, 2018

Rigid bodies - general theory

Physics 351, Spring 2017, Homework #12. Due at start of class, Friday, April 14, 2017

Rotational Dynamics. Slide 2 / 34. Slide 1 / 34. Slide 4 / 34. Slide 3 / 34. Slide 6 / 34. Slide 5 / 34. Moment of Inertia. Parallel Axis Theorem

Lagrangian Dynamics: Generalized Coordinates and Forces

Homework 1. Due Thursday, January 21

Coordinates, phase space, constraints

8.012 Physics I: Classical Mechanics Fall 2008

Lecture 19: Calculus of Variations II - Lagrangian

Assignment 2. Goldstein 2.3 Prove that the shortest distance between two points in space is a straight line.

Work and kinetic Energy

DEVIL PHYSICS THE BADDEST CLASS ON CAMPUS AP PHYSICS

CHAPTER 8: ROTATIONAL OF RIGID BODY PHYSICS. 1. Define Torque

HAMILTON S PRINCIPLE

Phys 7221 Homework # 8

Multibody simulation

Physics 351, Spring 2015, Homework #5. Due at start of class, Friday, February 20, 2015 Course info is at positron.hep.upenn.

Classical Mechanics Lecture 15

Massachusetts Institute of Technology Department of Physics. Final Examination December 17, 2004

Part II. Classical Dynamics. Year

Classical Mechanics Review (Louisiana State University Qualifier Exam)

28. Rolling Sphere. Introduction. Holonomic Constraints and non-holonomic Constraints. x origin, and its radius a. We see immediately that its

Physics 351, Spring 2017, Homework #3. Due at start of class, Friday, February 3, 2017

Lagrange s Equations of Motion and the Generalized Inertia

Torque and Rotation Lecture 7

Classical Mechanics and Electrodynamics

Acceleration due to Gravity

the EL equation for the x coordinate is easily seen to be (exercise)

Physics Fall Mechanics, Thermodynamics, Waves, Fluids. Lecture 20: Rotational Motion. Slide 20-1

Problem Goldstein 2-12

Physics 351, Spring 2015, Final Exam.

Assignments VIII and IX, PHYS 301 (Classical Mechanics) Spring 2014 Due 3/21/14 at start of class

Physics 101: Lecture 15 Torque, F=ma for rotation, and Equilibrium

Homework 1. Due whatever day you decide to have the homework session.

Lesson 8. Luis Anchordoqui. Physics 168. Thursday, October 11, 18

Lecture Notes for PHY 405 Classical Mechanics

ANALYTISK MEKANIK I HT 2014

Rotational motion problems

Classical Mechanics III (8.09) Fall 2014 Assignment 3

Flipping Physics Lecture Notes: Demonstrating Rotational Inertia (or Moment of Inertia)

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

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

Phys 7221, Fall 2006: Midterm exam

Physics 121, March 25, Rotational Motion and Angular Momentum. Department of Physics and Astronomy, University of Rochester

Dynamics of Nonholonomic Systems

Physics 5A Final Review Solutions

AN INTRODUCTION TO LAGRANGE EQUATIONS. Professor J. Kim Vandiver October 28, 2016

Rotational Motion and Torque

Transcription:

Lectures 30 April 21, 2006 Written or last updated: April 21, 2006 P442 Analytical Mechanics - II Forces of Constraint & Lagrange Multipliers c Alex R. Dzierba Generalized Coordinates Revisited Consider a particle whose position is given by the Cartesian coordinates (x, y, z). If the particle is totally unconstrained then there are three degrees of freedom for the particle and we can choose these to be given by the Cartesian coordinates or other coordinates, such as spherical coordinates (r, θ, φ) or cylindrical coordinates (r, φ, z) or some other choice in general (q 1, q 2, q 3 ). And we can express the Cartesian coordinates in terms of the the generalized coordinates, that is: x = x(q 1, q 2, q 3 ) y = y(q 1, q 2, q 3 ) (1) z = z(q 1, q 2, q 3 ) Suppose the particle is constrained to move in a plane, for example, such that z = 0. Then there are only two degrees of freedom and one needs only two generalized coordinates. And z = 0 is the constraint equation. Or the motion could be constrained to the surface of a sphere of radius R, in which case there are again two degrees of freedom and the constraint equation is R 2 (x 2 + y 2 + z 2 ) = 0. Now we have: x = x(q 1, q 2 ) y = y(q 1, q 2 ) (2) z = z(q 1, q 2 ) If the particle is free to move only in the x y plane as a plane pendulum of length l the there are now two constraint equations z = 0 and l 2 (x 2 + y 2 ) = 0. Now we have one degree of freedom and: x = x(q) y = y(q) (3) z = z(q) If there are two particles, each totally unconstrained, the system has six degrees of freedom. If, for example, they are connected by a rod so the distance between them is fixed, one of the degrees of freedom is removed. 1

Holonomic Contraints If there are N particles then we start with 3N Cartesian coordinates among which there may be m constraint equations of the form: f k (x i, y i, z i, t) = 0 i = 1, 2,..., N k = 1, 2,..., m (4) leading to 3N m degrees of freedom. Constraints that are expressible in the form of equation 4 are called holonomic. Holonomic constraints are further divided into rhenomorous constraints, in which time appears as an explicit variable, and scleronomous constraints, in which the constraints are not explicitly dependent on time. The term holonomic is also sometimes used to describe a system that has n degrees of freedom and is described by n generalized coordinates. At the end of this lecture we will discuss two examples of scleronomous constraints the Atwood s machine and the following yo-yo. Examples of rhenomorous constraints are that of a particle sliding on a ramp where the angle of the incline is increasing with time or a pendulum suspended from the ceiling of an accelerating railroad car. Nonholonomic Contraints To show you an example of a nonholonomic constraint consider a vertical disk or radius r rolling in the (x, y) plane as shown in Figure 1. The orientation of the disk can be specified by (θ, φ) and the point at which the edge of the disk touches the plane is (x, y). The velocity of the disk in the plane is v. Since we have the contraints v = r φ, ẋ = v cos θ and ẏ = v sin θ you might think that you could integrate these to obtain x(θ, φ) and y(θ, φ). But you can convince yourself that in general x and y will not return to their starting values after the angles trace out a closed trajectory in θ φ space. This is then an example of nonholonomic constraints. Such constraints are covered in advanced texts. z x v r φ θ y (x,y) Figure 1: A disk rolling on its edge in the (x, y) plane. 2

Generalized momenta and forces Suppose we have a system that is described by generalized coordinates q j and generalized velocities q j where j goes from 1 to N, the number of degrees of freedom. The N Lagrange s equations are: = L for j = 1, N (5) q j q j Compare this to: dp j = F j (6) It is tempting to associate L/ q j with a generalized momentum an/ q j with a generalized force and this indeed works. Consider a particle of mass m moving in two dimensions under the influence of a force given by the potential energy U(x, y) (see Figure 2. The Lagrangian for the particle is: L = 1 2 m(ẋ2 + ẏ 2 ) U(x, y) (7) y r m θ x Figure 2: A mass located by x, y or r, θ. Lagrange s equations for the choice of coordinates x, y yields d(mẋ)/ = U/ x which is the same as dp x / = F x with a similar equation for the y component. What happens if we use r, θ instead as our generalized coordinates? Now the Lagrangian is: L = 1 2 m(ṙ2 + r 2 θ2 ) U(r, θ) (8) First look at the Lagrange s equation for the r coordinate: d mṙ = dp r = U r = F r (9) and for θ: 3

d dp θ mr2 θ = = U θ (10) You will recognize p θ = mr 2 θ as being the angular momentum. If U has no θ dependence then U/ θ = 0 and angular momentum is conserved. But if U/ θ 0 how do we interpret the RHS of equation 10? You need to recall the form of the gradient in polar coordinates: U = U r êr + 1 U r θ êθ = F r ê r F θ ê θ (11) So you see that U/ θ = rf θ = τ torque, which is the time rate of change of angular momentum. One speaks of the generalized momentum conjugate to the generalized coordinate q j as p j = L/ q j and Lagrange s equation is ṗ j = L/ q j. If the Lagrangian is independent of q j the coordinate is said to be ignorable and the corresponding generalized momentum is a constant of the motion. In all this we are assuming that the forces are conservative. Forces of constraint and Lagrange multipliers In the problems we have been solving so far we have been dealing with holonomic constraints that eliminate one or more degrees of freedom and there are forces associated with these constraints. Forces that we have been ignoring in fact that is one of the nice features of Lagrange s equations. But sometimes we want to know what the constraining forces are. For this we turn to the technique called Lagrange multipliers. We will assume a system describable by generalized coordinates q 1 and q 2. Furthermore we suppose that these coordinates are connected by the contraint equation f(q 1, q 2 ) = 0. The variational principle on which our Lagrangian formulation of mechanics is based states that: t2 t2 [( d δ L = t 1 t 1 L L q 1 q 1 ) ( d δq 1 + L L q 2 q 2 ) δq 2 ] = 0 (12) leading to the two Lagrange s equations for our two coordinates. But the coordinates are tied to each other by the constraint equation and f(q 1, q 2 ) = 0 then δf = 0. But: δf = ( f δq 1 + f ) δq 2 = 0 (13) q 1 q 2 So δq 1 and δq 2 are related through equation 13. Using that relation in equation 12 we end up with: t2 t 1 [( L ) q 1 q 1 ( d L L ) f/ q1 q 2 q 2 f/ q 2 ] δq 1 = 0 (14) For the above to be satisfied for arbitrary δq 1 the expression in the brackets must vanish which means: 4

d( L/ q 1 )/ L/ q 1 f/ q 1 = d( L/ q 2)/ L/ q 2 f/ q 2 = λ(t) (15) The reason we added the function λ(t) is that the leftmost term depends is a function only of q 1 and the middle term only of q 2. The only way these time dependent terms can be always equal to each other is if they are equal to the same function of time. With that we have: = L + λ(t) f i = 1, 2 (16) q i q i q i The new term in these Lagrange s equations has to be a generalized force it is in fact the force of constraint. We have two Lagrange s equations and an equation of constraint (three equations) to solve for the three unkowns q 1 (t), q 2 (t) and λ(t) and as a bonus for our hard work we get the forces of constraint. Alternatively we could have just used the equation of constraint to eliminate one of the generalized coordinates and then we would have a single Lagrange s equation without the Lagrange multiplier. But then we would learn nothing about the forces of constraint. Just to be specific, in our example here, the generalized forces of constraint are Q i where: Q i = λ(t) f q i i = 1, 2 (17) This is a force if the corresponding generalized coordinate is a spatial coordinate and a torque if the corresponding generalized coordinate is an angular coordinate. We will work out two simple examples but before we do that here are the results for the more general situation where there are n coordinates and m constraints: = L m + λ j (t) f j q i q i q i j=1 i = 1,..., n f j (q i ) = 0 j = 1,..., m (18) m Q i = λ j (t) f j q i i = 1,..., n j=1 So here we have n unknown functions for the generalized coordinates q i (t) and m unknown multipliers λ j (t). To find these we have on hand n+m equations: n Lagrange s equations, one for each generalized coordinate, and m constraint equations f j (q i ) = 0. And from this we get n generalized forces of constraint Q i. Atwood s machine Let s re-visit Atwood s machine as in Figure 3 (a). The Lagrangian is: L = 1 2 Mẋ2 + 1 2 mẏ2 + Mgx + mgy (19) 5

y x y m φ a (a) M (b) Figure 3: (a) Atwood s machine and (b) falling yo-yo. and the equation of constraint is f(x, y) = x + y = constant. Lagrange s equations with multipliers: ẋ = L x + λ f x ẏ = L y + λ f y (20) which leads to the equations of motion: Mẍ = Mg + λ mÿ = mg + λ (21) You will recognize that λ = T where T is the tension in the string. Falling yo-yo This is shown in Figure 3 (b). The Lagrangian and equation of constraint are: L = 1 2 mẏ2 + 1 4 ma2 φ2 + mgy f(y, φ) = y aφ = 0 (22) The mass of the disk is m and the moment of inertia is ma 2 /2. As in the previous example apply Lagrange s equations with the Lagrange multiplier and you will find: d L L = φ φ + λ f φ ẏ = L y + λ f y (23) leading to: 6

1 2 ma2 φ = λ mÿ = mg + λ (24) Solving you have: λ = mg/3. The general constraint forces are Q y = mg/3 and Q φ = mga/3. The latter is actually a torque. 7