<<

Lecture 12: More on Generalized Coordinates • Consider a system of n point particles – In rectangular coordinates, 3n numbers are needed to specify the positions of all the particles – But there may also be m equations of constraint, leaving 3n-m degrees of freedom. We abbreviate this number as s. • Therefore, we need s generalized coordinates in the Lagrangian • In general, the Cartesian coordinates will be functions of the generalized coordinates, and also possibly : = α is the particle number (1 to n) xα ,i xα ,i (q j ,t) i is the axis (1,2, or 3) Generalized j is the generalized coordinate coordinates number (1 to s) • We can also define generalized : dq q" = j j dt – Note that these do not have to have the usual units of (distance/time) – they may be angular velocities or something else entirely • Again, we can relate the generalized velocities to the “real” velocity for each particle: = x"α ,i x"α ,i (q" j ,t)

• This means that T, U, and L can be expressed in terms of the generalized coordinates and velocities:

= = = U U (q j ,t); T T (q" j ,t); L L(q j ,q" j ,t) Hamilton’s Principle Revisited • Since the kinetic and potential are scalars, Hamilton’s Principle is true in configuration (the space where the axes are the generalized coordinates) as well as “real” space:

When an object moves through configuration space in a given time interval, it will choose the path that minimizes the integral of the difference between the kinetic and potential energies

• In configuration space, we must minimize the following

integral: t2 = {" } J — L q j ,q j ;t dt t1 • So Lagrange’s Equations of become:

∂L d ∂L − = 0 ∂ ∂ q j dt q" j

• There are s such equations, one for every degree of freedom in the system Example: Cycloidal • On one of the early homework assignments, you were asked to determine the equation of motion for the following device: Cycloidal surfaces

m • This was a pain using Newton’s Laws! • Now let’s try it using Hamilton’s Principle • We were told that the path of the bob could be parametrized as: x = a (φ − sinφ ) y = a (cosφ −1) • This means we can take φ as our generalized coordinate • The kinetic is: 1 T = m(x" 2 + y" 2 ) 2 1 » " " 2 " 2 ÿ = m (a (φ −φ cosφ )) + (a (−φ sinφ )) ⁄ 2 1 = ma2φ"2 »1− 2cosφ + cos2 φ + sin2 φ ⁄ÿ 2 = ma2φ"2 [1− cosφ]

• And for the we have: U = mgy = mga (cosφ −1) • So we arrive at the Lagrangian:

L = T −U = ma2φ"2 [1− cosφ]− mga (cosφ −1)

• Now we can determine the equation of motion: ∂L d ∂L − = ma2φ"2 sinφ + mgasinφ ∂φ dt ∂φ" d − (2ma2φ"[1− cosφ]) dt = ma2φ"2 sinφ + mgasinφ − 2ma2φ""[1− cosφ]− 2ma2φ"2 sinφ = mgasinφ − 2ma2φ""[1− cosφ]− ma2φ"2 sinφ = 0 g sinφ − 2aφ""[1− cosφ]− aφ"2 sinφ = 0 φ"2 φ − φ −φ"" = a sin g sin 2a[1− cosφ] • It’s not so easy to interpret this yet, so let’s apply some trig identities: φ"2 − − 2 φ −φ"" = a g 1 cos 2a 1− cosφ φ"2 − (1− cosφ )(1+ cosφ ) = a g 2a 1− cosφ φ φ"2 − + φ φ"2 − cos = a g 1 cos = a g 2 − φ φ 2a 1 cos 2a sin 2 φ φ −2aφ""sin = (aφ"2 − g)cos 2 2 φ φ φ −2aφ""sin − aφ"2 cos = −g cos 2 2 2 2 φ φ d ≈ ’= − 4a 2 ∆cos ÷ g cos Simple dt « 2 ◊ 2 harmonic motion!

• Though this problem still isn’t trivial (due to the trig identities needed at the end), it’s much easier the Lagrangian way in the Lagrangian Approach

• Hamilton’s Principle, in which only energy is mentioned, is quite different from Newton’s Laws, which depend on the concept of – …and yet we seem to get to the same result no matter which method is used • Is that coincidence? No! • To see why not, start with Lagrange’s Equation in rectangular coordinates: ∂L d ∂L − = 0 ∂ ∂ xi dt x"i ∂ (T −U ) d ∂ (T −U ) − = 0 ∂ ∂ xi dt x"i • In rectangular coordinates, T depends only on x " i and U depends only on xi, so we have: −∂U d ∂T − = 0 ∂ ∂ xi dt x"i d ∂ »1 3 ÿ d F = m x" 2 = [mx" ] i ∂ … ƒ j Ÿ i dt x"i 2 j=1 ⁄ dt = Fi m"x"i • So the physics in Newton’s Laws and in the Lagrangian method are identical – But the ease with which problems can be solved is not! Generalized Momenta • In regular Cartesian coordinates, the Lagrangian for a single particle is: 3 = − = 1 2 − ( ) L T U mƒ x"i U xi 2 i=1 • Given this, we can readily interpret the physical significance of the quantity ∂L : ∂ x"i ∂L = mx" = p It’s the ! ∂ i i x"i • Since there’s nothing special about rectangular Cartesian coordinates in , we can define a generalized momentum associated with any generalized coordinate: ∂L p ≡ q ∂ q"i • Keep in mind that, just as a generalized coordinate doesn’t have to have dimensions of length, a generalized momentum doesn’t have to have the usual units for momentum – If the generalized coordinate corresponds to an angle, for example, the generalized momentum associated with it will be an • With this definition of generalized momentum, Lagrange’s Equation of Motion can be written as:

∂L d − p = 0 ∂ j q j dt Just like Newton’s ∂ Laws, if we call ∂L = L p" j ∂ ∂ a “generalized q j q j force”