
Lagrangian & Hamiltonian mechanics Proof of the Beltrami Identity Newton’s Second Law for a single particle 1 2 2 2 Rather than starting from the traditional beginnings dL L L L L m x y z V(,,) x y z xx Chain Rule 2 of Conservation of Energy, Conservation of momentum ii dt ti xii x zˆ rx xˆ yy ˆ z zˆ or Newton’s Second Law, the Lagrangian (and related d L L Euler-Lagrange Equation Hamiltonian) formulations of dynamics offer a more d L L d L dx L dx L dt dt x x L x,, x t ii systematic solution mechanism for mechanical dt x x dt x dt x dt t dt ii d V V yˆ systems, especially those with multiple variables. mx mx dL L d L L dt xi x xxii ˆ xyzˆ ˆ ˆ 1 In Classical Mechanics, the Lagrangian L is defined as: dt t dt x x d V V x i ii my my dt y y LTV dL L d L i xi Product rule d V V dt ti dt xi mz mz Kinetic Potential dt zi z energy energy d L L Lx i mVr dti xi t d L L LL ˆ ˆ ˆ The Euler-Lagrange equation i.e. using rx x y y z z 0 Lx i constant yields the equations of motion Cartesian dt xii x txi i VVV basis vectors V xyzˆ ˆ ˆ x y z Leonhard Euler xi Position or angular coordinate 1707-1783 dx Conservation of Energy for a single particle i.e. we associate a force with a gradient x i Rate of change of position or of potential energy, which is entirely i angle with time t 1 2 dt L2 mv V(,,) x y z consistent with any conservative field such as gravity or electromagnetism. L1 m x2 y 2 z 2 V(,,) x y z The idea is that the Euer-Lagrange equation 2 extremizes* a quantity called the Action L Hamiltonians & total energy Beltrami Identity L xi k i x t2 i From the penultimate line of the proof S Lxx 1, 2 ,... xxxNN , 1 , 2 ,... xtdt , t of the Beltrami Identity: 1 LLL Joseph-Louis k L x y z x y z d L L Lagrange 1736-1813 In many problems the Lagrangian is independent Lxi 2 2 2 2 1 dti x t of time, so the Euler-Lagrange equation reduces k2 m x y z V xmx ymy zmz i to the Beltrami Identity. This is often the best starting 2 point for problem solving in Lagrangian mechanics. k 1 m x2 y 2 z 2 V Define the Hamiltonian 2 ‘Canonical 2 H p x L 1 2 2 2 ii monentum’ L E 2 m x y z V() E k i If 0 this means L t LHpi i.e. we can associate energy with the (negative) x L pxii i Lxconstant of the constant in the Beltrami Identity xpii i x i i dH L So we can associate the Hamiltonian with the total dt t energy. H is constant if L is Sir William Rowan time invariant. Hamilton 1805–1865 *i.e. yields either a maximum or minimum value Mathematics topic handout – Mechanics – Lagrangian and Hamiltonian dynamics Dr Andrew French. www.eclecticon.info PAGE 1 Example #1: dynamics of a Hookean spring From above: An ellipse defined in plane 2 polar coordinates ˆ L11 mx22 kx 22JJJ θ 22 rr rˆ x is the spring extension m mr2 m 2 r 3 rd d L L k is the spring constant 1 2 2 GM dA 2 r d dt x x rr r2 Semi- mx kx i.e. Hooke’s Law, SHM... minor 2 2 is the eccentricity r ba 1- J GM axis r 2 3 2 of the ellipse This is perhaps a bit contrived to start with the m r r 2b quadratic Elastic Potential Energy expression! b2 .. But at least this shows consistency with the 1 If orbits are elliptical (Kepler’s First Law) 2 a(1 ) Newtonian method. a aa1122 r cos 1 Example #2: Kepler’s Laws for a 1 cos r planet orbiting a massive star (i.e. Semi-major axis 2 2a no movement of star due to gravitational a 1 sin r2 sin r attraction to planet, only vice versa) 1 cos 2 a 1 2 dA122 1 J 1 2 2 2 2 2r 2 2 G1 a vrr rθˆ v r r Plane polar J sin dt m coordinates r 2 GMm ma 1 1 2 2 2 So equal areas are swept out in equal times, which is L2 m r r Note sign! r 2 GPE is negative JJJcos a 1 Kepler’s Second Law. so –V becomes d L L r 22 1 2 positive ma11 r ma mr dt r r Since equal areas are swept out in equal times, the orbital period is the area of the ellipse divided by the rate GMm 2 of area sweep. This proves Kepler’s Third Law. mr mr 2 2 r J22 GMa 1 J 1 GM Confirm Newton II, with 2 3 2 2 2 2 rr 2 m r r r m a1 r 22 2 correct formula for ab a 1 Ellipse area is r centripetal acceleration PP J2 GM J 2 J 2 dA 1 GM1 2 a ab d L L 2 m2 r 3 r 2 m 2 r 3 m2ar1 22 dt dt 2 234 d 2 22 Pa mr 0 Conservation of angular momentum J GMm a 1 GM dt mr2 J So elliptical orbits satisfy the laws of Kepler’s Third Law: The square of the orbital motion, and yield an expression for total period of a planet is directly proportional to the The last result is the first glimpse of the utility of angular momentum J, which is constant. cube of the semi-major axis of its orbit. the Lagrangian method. The conservation of angular momentum comes straight from the fact that the Lagrangian has no explicit dependence on angle, since KE doesn’t, and Newton’s Law of Gravitation acts purely radially. Mathematics topic handout – Mechanics – Lagrangian and Hamiltonian dynamics Dr Andrew French. www.eclecticon.info PAGE 2 d L L Applying the Euler-Lagrange equation Example #3: Moving plane* for mass m dt x22 x h x g d 2 mx2 m x 1 x 2 tan mg tan dt d 2 mx2 m x 1 x 2 tan mg tan d Hence: Mx12 mx 0 Mx mx 0 Which is a statement of conservation dt 12 M of linear momentum in the horizontal Consider a rectangular block of mass m xx21 direction i.e. where there is no m sliding frictionlessly from the top net external force (there is gravity, of a planar wedge of mass M. This also M 2 but this acts downwards) Mx11 mx1 tan mg tan slides frictionlessly on a horizontal surface. m 22 Assuming the block has not reached the Mx1 mx 1tan Mx 1 tan mg tan horizontal surface, after t seconds the horizontal x M1 tan22 m tan mg tan separation is: 1 2 M sin sin 1 sin x m mg 2 x x12 x 1 22 1 tan 2 , tan cos cos cos cos cos h x x tan vertical drop of block 12 2 x1 M msin mg sin cos The Lagrangian for the system is: LTV mg sin cosg sin cos x1 22 2 2 2 M 1 1 1 Mmsinm sin T2 Mx12 2 mx 2 mh Mgsin cos g sin cos Kinetic energy x 2 22m V mgh Mmsin 1M sin Gravitational potential energy L 1 Mx2 1 mx 2 1 m x x2 tan 2 mg x x tan i.e. constant acceleration motion for both 21 2 2 2 1 2 1 2 block and wedge. If system starts from rest: Limiting case when Mm g sin cos g sin cos x1 0 x2 gt sin cos d L L Applying the Euler-Lagrange equation xt1 2 xt2 2 M m 1 2 m sin 1 sin x 0 for mass M 1 x2 2 gt sin cos dt x11 x M g sin cos g sin cos xt 1 2 xt 1 2 d 2 1 2 M 2 2 2 m 2 Mx1 m x 1 x 2 tan mg tan m sin 1 M sin dt 2 .. which is consistent with no horizontal movement when the angle tends to 90o. Mx11 m x x2 tan mg tan i.e. in this case the block simply falls vertically! * Morin, Classical Mechanics problem 6.1 Mathematics topic handout – Mechanics – Lagrangian and Hamiltonian dynamics Dr Andrew French. www.eclecticon.info PAGE 3 Example #4: Hoop & Pulley* Now since the string is inextensible: sin sin eq sin sin cos cos sin g h R h h0 R eq eq m V MgR MgRcos mgh0 mgR sin M cos eq cos22 sin 1 m2 sin m 1 2 M M 2 cos 1 sin The Lagrangian for the system is therefore: Positive root O m 1 22 sin MM Mm in range of germane h LTV m 1 to this system 1 22 sin MM (M m )( M m ) L2 m M R MgRcos MgR mgh0 mgR Hence: Applying the Euler-Lagrange equation: Mass M is fixed to a circular hoop g m M sin d L L of negligible mass, which can freely rotate R m M about fixed origin O.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages8 Page
-
File Size-