Generalized Coordinates, Lagrange's Equations, And

Total Page:16

File Type:pdf, Size:1020Kb

Generalized Coordinates, Lagrange's Equations, And Generalized Coordinates, Lagrange’s Equations, and Constraints CEE 541. Structural Dynamics Department of Civil and Environmental Engineering Duke University Henri P. Gavin Fall, 2016 1 Cartesian Coordinates and Generalized Coordinates The set of coordinates used to describe the motion of a dynamic system is not unique. For example, consider an elastic pendulum (a mass on the end of a spring). The position of the mass at any point in time may be expressed in Cartesian coordinates (x(t), y(t)) or in terms of the angle of the pendulum and the stretch of the spring (θ(t), u(t)). Of course, these two coordinate systems are related. For Cartesian coordinates centered at the pivot point, y x(t) = (l + u(t)) sin θ(t) (1) y(t) = −(l + u(t)) cos θ(t) (2) x θ l θ l where is the un-stretched length of the spring. Let’s define " # " # " # r1(t) x(θ(t), u(t)) (l + u(t)) sin θ(t) u r(t) = = = (3) K r2(t) y(θ(t), u(t)) −(l + u(t)) cos θ(t) y = −(l+u)cos M g and " # " # q1(t) θ(t) x = (l+u)sin θ q(t) = = (4) q2(t) u(t) so that r(t) is a function of q(t). The potential energy, V , may be expressed in terms of r or in terms of q. In Cartesian coordinates, the velocities are " # " # r˙1(t) u˙(t) sin θ(t) + (l + u(t)) cos θ(t)θ˙(t) r˙(t) = = (5) r˙2(t) −u˙(t) cos θ(t) + (l + u(t)) sin θ(t)θ˙(t) So, in general, Cartesian velocities r˙(t) can be a function of both the velocity and position of some other coordinates (q˙(t) and q(t)). Such coordinates q are called generalized coordinates. The kinetic energy, T , may be expressed in terms of either r˙ or, more generally, in terms of q˙ and q. Small changes (or variations) in the rectangular coordinates, (δx, δy) consistent with all displacement constraints, can be found from variations in the generalized coordinates (δθ, δu). ∂x ∂x δx = δθ + δu = (l + u(t)) cos θ(t)δθ + sin θ(t)δu (6) ∂θ ∂u 2 CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. Gavin ∂y ∂y δy = δθ + δu = (l + u(t)) sin θ(t)δθ − cos θ(t)δu (7) ∂θ ∂u 2 Principle of Virtual Displacements Virtual displacements δri are any displacements consistent with the constraints of the system. The principle of virtual displacements1 says that the work of real external forces through virtual external displacements equals the work of the real internal forces arising from the real external forces through virtual internal displacements consistent with the real external displacements. In system described by n coordinates ri, with n internal inertial forces mir¨i(t), potential energy V (r), and n external forces pi collocated with coordinates ri, the principle of virtual dispalcements says, n ! n X ∂V X mir¨i + δri = (pi(t)) δri (8) i=1 ∂ri i=1 3 Derivation of d’Alembert’s principle from Minimum Total Potential Energy The total potential energy, Π, is defined as the internal potential energy, V , minus the potential energy of external forces2. In terms of the r (Cartesian) coordinate system and n forces fi collocated with the n displacement coordinates, ri, the total potential energy is given by equation (??). n X Π(r) = V (r) − firi . (9) i=1 The principle of minimum total potential energy states that the total potential energy is minimized in a condition of equilibrium. Minimizing the total potential energy is the same as setting the variation of the total potential energy to zero. For any arbitrary set of “vari- ational” displacements δri(t), consistent with displacement constraints, n n n X ∂Π X ∂V X min Π(r) ⇒ δΠ(r) = 0 ⇔ δri = 0 ⇔ δri − fi δri = 0 , (10) r i=1 ∂ri i=1 ∂ri i=1 In a dynamic situation, the forces fi can include inertial forces, damping forces, and external loads. For example, fi(t) = −mir¨i(t) + pi(t) , (11) where pi is an external force collocated with the displacement coordinate ri. Substituting equation (??) into equation (??), and rearranging slightly, results in the d’Alembert equa- tions, the same as equation (??) found from the principle of virtual displacements, n ! X ∂V mir¨i(t) + − pi(t) δri = 0 . (12) i=1 ∂ri 1d’Alembert, J-B le R, 1743 2In solid mechanics, internal strain energy is conventionally assigned the variable U, whereas the potential energy of external forces is conventionally assigned the variable V . In Lagrange’s equations potential energy is assigned the variable V and kinetic energy is denoted by T . cbnd H.P. Gavin September 1, 2020 Generalized Coordinates and Lagrange’s Equations 3 In equations (??) and (??) the virtual displacements (i.e., the variations) δri must be ar- bitrary and independent of one another; these equations must hold for each coordinate ri individually. ∂V mir¨i(t) + − pi(t) = 0 . (13) ∂ri 4 Derivation of Lagrange’s equations from d’Alembert’s principle For many problems equation (??) is enough to determine equations of motion. However, in coordinate systems where the kinetic energy depends on the position and velocity of some generalized coordinates, q(t) and q˙(t), expressions for inertial forces become more complicated. P The first goal, then, is to relate the work of inertial forces ( i mir¨i δri) to the kinetic energy in terms of a set of generalized coordinates. To do this requires a change of coordinates from variations in n Cartesian coordinates δr to variations in m generalized coordinates δq, m m m X ∂ri X ∂r˙i d X ∂r˙i δri = δqj = δqj and δri = δr˙i = δqj . (14) j=1 ∂qj j=1 ∂q˙j dt j=1 ∂qj Now, consider the kinetic energy of a constant mass m. The kinetic energy in terms of 1 2 2 2 velocities in Cartesian coordinates is given by T (r˙) = 2 m(r ˙1 +r ˙2 +r ˙3), and ∂T δri = mir˙i δri . (15) ∂r˙i Applying the product and chain rules of calculus to equation (??), d ∂T ! d δri = mir¨i δri + mir˙i δri (16) dt ∂r˙i dt m d ∂T X ∂r˙i ∂T δqj = mir¨i δri + δr˙i (17) dt ∂r˙i j=1 ∂q˙j ∂r˙i m m d ∂T X ∂r˙i ∂T X ∂r˙i mir¨i δri = δqj − δqj . (18) dt ∂r˙i j=1 ∂q˙j ∂r˙i j=1 ∂qj P Equation (??) is a step to getting the work of inertial forces ( i mir¨i δri) in terms of a set of generalized coordinates qj. Next, changing the derivatives of the potential energy from ri to qj, m ∂V X ∂V ∂qj ∂ri δri = δqj . (19) ∂ri j=1 ∂qj ∂ri ∂qj Finally, expressing the work of non-conservative forces pi in terms of the new coordinates qj, n n m m n m X X X ∂ri X X ∂ri X pi(t) δri = pi(t) δqj = pi(t) δqj = Qj(t) δqj , (20) i=1 i=1 j=1 ∂qj j=1 i=1 ∂qj j=1 cbnd H.P. Gavin September 1, 2020 4 CEE 541. Structural Dynamics – Duke University – Fall 2020 – H.P. Gavin where Qj(t) are generalized forces, collocated with the generalized coordinates, qj(t). Substi- tuting equations (??), (??) and (??) into d’Alembert’s equation (??), rearranging the order of the summations, factoring out the common δqj, canceling the ∂ri and ∂r˙i terms, and eliminating the sum over i, leaves the equation in terms of qj andq ˙j, n m m m m X d ∂T X ∂r˙i ∂T X ∂r˙i X ∂V ∂qj ∂ri X ∂ri δqj − δqj + δqj − pi(t) δqj = 0 i=1 dt ∂r˙i j=1 ∂q˙j ∂r˙i j=1 ∂qj j=1 ∂qj ∂ri ∂qj j=1 ∂qj m n " ! # X X d ∂T ∂r˙i ∂T ∂r˙i ∂V ∂qj ∂ri ∂ri − + − pi δqj = 0 j=1 i=1 dt ∂r˙i ∂q˙j ∂r˙i ∂qj ∂qj ∂ri ∂qj ∂qj m " ! # X d ∂T ∂T ∂V − + − Qj δqj = 0 j=1 dt ∂q˙j ∂qj ∂qj The variations δqj must be arbitrary and independent of one another; this equation must hold for each generalized coordinate qj individually. Removing the summation over j and 3 canceling out the common δqj factor results in Lagrange’s equations, d ∂T ! ∂T ∂V − + − Qj = 0 (21) dt ∂q˙j ∂qj ∂qj are which are applicable in any coordinate system, Cartesian or not. 5 The Lagrangian Lagrange’s equations may be expressed more compactly in terms of the Lagrangian of the energies, L(q, q˙, t) ≡ T (q, q˙, t) − V (q, t) (22) Since the potential energy V depends only on the positions, q, and not on the velocities, q˙, Lagrange’s equations may be written, d ∂L ! ∂L − − Qj = 0 (23) dt ∂q˙j ∂qj 3Lagrange, J.L., Mecanique analytique, Mm Ve Courcier, 1811. cbnd H.P. Gavin September 1, 2020 Generalized Coordinates and Lagrange’s Equations 5 6 Derivation of Hamilton’s principle from d’Alembert’s principle The variation of the potentential energy V (r) may be expressed in terms of variations of the coordinates ri n n X ∂V X δV = δri = fi δri . (24) i=1 ∂ri i=1 where fi are potential forces collocated with coordiantes ri. In Cartesian coordinates, the variation of the kinetic energy T (r˙) n X 1 2 T = mir˙i (25) i=1 2 may be expressed in terms of variations of the coordinate velocities,r ˙i n n X ∂T X δT = δr˙i = mr˙i δr˙i .
Recommended publications
  • Conservation of Total Momentum TM1
    L3:1 Conservation of total momentum TM1 We will here prove that conservation of total momentum is a consequence Taylor: 268-269 of translational invariance. Consider N particles with positions given by . If we translate the whole system with some distance we get The potential energy must be una ected by the translation. (We move the "whole world", no relative position change.) Also, clearly all velocities are independent of the translation Let's consider to be in the x-direction, then Using Lagrange's equation, we can rewrite each derivative as I.e., total momentum is conserved! (Clearly there is nothing special about the x-direction.) L3:2 Generalized coordinates, velocities, momenta and forces Gen:1 Taylor: 241-242 With we have i.e., di erentiating w.r.t. gives us the momentum in -direction. generalized velocity In analogy we de✁ ne the generalized momentum and we say that and are conjugated variables. Note: Def. of gen. force We also de✁ ne the generalized force from Taylor 7.15 di ers from def in HUB I.9.17. such that generalized rate of change of force generalized momentum Note: (generalized coordinate) need not have dimension length (generalized velocity) velocity momentum (generalized momentum) (generalized force) force Example: For a system which rotates around the z-axis we have for V=0 s.t. The angular momentum is thus conjugated variable to length dimensionless length/time 1/time mass*length/time mass*(length)^2/time (torque) energy Cyclic coordinates = ignorable coordinates and Noether's theorem L3:3 Cyclic:1 We have de ned the generalized momentum Taylor: From EL we have 266-267 i.e.
    [Show full text]
  • ME451 Kinematics and Dynamics of Machine Systems
    ME451 Kinematics and Dynamics of Machine Systems Elements of 2D Kinematics September 23, 2014 Dan Negrut Quote of the day: "Success is stumbling from failure to failure with ME451, Fall 2014 no loss of enthusiasm." –Winston Churchill University of Wisconsin-Madison 2 Before we get started… Last time Wrapped up MATLAB overview Understanding how to compute the velocity and acceleration of a point P Relative vs. Absolute Generalized Coordinates Today What it means to carry out Kinematics analysis of 2D mechanisms Position, Velocity, and Acceleration Analysis HW: Haug’s book: 2.5.11, 2.5.12, 2.6.1, 3.1.1, 3.1.2 MATLAB (emailed to you on Th) Due on Th, 9/25, at 9:30 am Post questions on the forum Drop MATLAB assignment in learn@uw dropbox 3 What comes next… Planar Cartesian Kinematics (Chapter 3) Kinematics modeling: deriving the equations that describe motion of a mechanism, independent of the forces that produce the motion. We will be using an Absolute (Cartesian) Coordinates formulation Goals: Develop a general library of constraints (the mathematical equations that model a certain physical constraint or joint) Pose the Position, Velocity and Acceleration analysis problems Numerical Methods in Kinematics (Chapter 4) Kinematics simulation: solving the equations that govern position, velocity and acceleration analysis 4 Nomenclature Modeling Starting with a physical systems and abstracting the physics of interest to a set of equations Simulation Given a set of equations, solve them to understand how the physical system moves in time NOTE: People sometimes simply use “simulation” and include the modeling part under the same term 5 Example 2.4.3 Slider Crank Purpose: revisit several concepts – Cartesian coordinates, modeling, simulation, etc.
    [Show full text]
  • Generalized Coordinates
    GENERALIZED COORDINATES RAVITEJ UPPU Abstract. This primarily deals with the conception of phase space and the uses of it in classical dynamics. Then, we look into the other fundamentals that are required in dynamics before we start with perturbation theory i.e. topics like generalised coordi- nates and genral analysis of dynamical systems. Date: 12 October, 2006. cmi. 1 2 RAVITEJ UPPU The general analysis of dynamics using the conception of phase space is a very deep physical aspect explained in mathematical structure. Let’s intially look what is a phase space and the requirement of a phase space. Well before that let’s see the use of generalized coordinates. 1. Generalized coordinates 1.1. Why generalized coordinates? I have not particularily used the vector symbol over x. It is implicity asssumed to be so and when I speak of components, then I use it with an index (either a subscript or supeerscript) We always try to select coordinates such that they have a visual- izable geometric significance. They are mostly chosen on the basis (being independent usually helps us). They are system dependent un- like the usual coordiantes. Such coordinates are helpful principally in Lagrangian Dynamics, where the forms of the principal equations describing the motion of the system are unchanged by a shift to gen- eralized coordinates from any other coordinate system. 1.2. An approach mentioned. Say we have a N particle system with K holonomic constraint(i.e. constraints of the form fi(x1, x2, ...xN , t) = 0 and i = 1, 2, ...K < 3N) on the system, where, xj are position vectors of N particles.
    [Show full text]
  • 11. Dynamics in Rotating Frames of Reference Gerhard Müller University of Rhode Island, [email protected] Creative Commons License
    University of Rhode Island DigitalCommons@URI Classical Dynamics Physics Course Materials 2015 11. Dynamics in Rotating Frames of Reference Gerhard Müller University of Rhode Island, [email protected] Creative Commons License This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License. Follow this and additional works at: http://digitalcommons.uri.edu/classical_dynamics Abstract Part eleven of course materials for Classical Dynamics (Physics 520), taught by Gerhard Müller at the University of Rhode Island. Documents will be updated periodically as more entries become presentable. Recommended Citation Müller, Gerhard, "11. Dynamics in Rotating Frames of Reference" (2015). Classical Dynamics. Paper 11. http://digitalcommons.uri.edu/classical_dynamics/11 This Course Material is brought to you for free and open access by the Physics Course Materials at DigitalCommons@URI. It has been accepted for inclusion in Classical Dynamics by an authorized administrator of DigitalCommons@URI. For more information, please contact [email protected]. Contents of this Document [mtc11] 11. Dynamics in Rotating Frames of Reference • Motion in rotating frame of reference [mln22] • Effect of Coriolis force on falling object [mex61] • Effects of Coriolis force on an object projected vertically up [mex62] • Foucault pendulum [mex64] • Effects of Coriolis force and centrifugal force on falling object [mex63] • Lateral deflection of projectile due to Coriolis force [mex65] • Effect of Coriolis force on range of projectile [mex66] • What is vertical? [mex170] • Lagrange equations in rotating frame [mex171] • Holonomic constraints in rotating frame [mln23] • Parabolic slide on rotating Earth [mex172] Motion in rotating frame of reference [mln22] Consider two frames of reference with identical origins.
    [Show full text]
  • Generalized Coordinates Functions (Fields)
    Other smooth coordinatization qi,i=1,...D Generalized Coordinates Physics 504, Physics 504, Spring 2011 qi(~r) and ~r( qi ) are well defined (in some domain) Spring 2011 i Electricity { } Electricity Cartesian coordinates r ,i=1, 2,...D for Euclidean and mostly 1—1, so Jacobian det(∂qi/∂rj) =0. and space. Magnetism 6 Magnetism 2 i 2 Shapiro Distance between P qi and P qi + δqi is given Shapiro Distance by Pythagoras: (δs) = (δr ) . { } 0 { } i by X i Generalized Generalized Unit vectorse ˆi, displacement ∆~r = i ∆r eˆi Coordinates Coordinates i Cartesian k k Cartesian Fields are functions of position, or of ~r or of r . coords for ED 2 k 2 ∂r i ∂r j coords for ED P { } Generalized (δs) = (δr ) = i δq j δq Generalized Scalar fields Φ(~r), Vector fields V~ (~r) Coordinates ∂q ! ∂q Coordinates Vector Fields Xk Xk Xi Xj Vector Fields ∂Φ Derivatives i j Derivatives ~ Φ= eˆi, Gradient = gijδq δq , Gradient ∇ i Velocity of a Velocity of a i ∂r particle ij particle Derivatives of X Derivatives of X Vectors Vectors ∂Vi Differential where Differential ~ ~ Forms k k Forms V = i , ∇· ∂r 2-forms ∂r ∂r 2-forms i 3-forms gij = i j . 3-forms X Cylindrical ∂q ∂q Cylindrical ∂2Φ Polar and k Polar and 2Φ=~ ~ Φ= , Spherical X Spherical ∇ ∇·∇ i 2 gij is a real symmetric matrix called the metric tensor. i ∂r X In general a nontrivial function of the position, gij(q). ∂Vk ~ V~ = ijk eˆi, 3D only To repeat: ∇× ∂rj 2 i j ijk (δs) = g δq δq .
    [Show full text]
  • Lecture Notes for PC2132 (Classical Mechanics)
    Version: 27th Sept, 2017 11:27; svn-64 Lecture notes for PC2132 (Classical Mechanics) For AY2017/18, Semester 1 Lecturer: Christian Kurtsiefer, Tutors: Adrian Nugraha Utama, Shi Yicheng, Jiaan Qi, Tan Zong Sheng Disclaimer These notes are by no means a suitable replacement for a proper textbook on classical mechanics, nor should it replace your own notes. It is just a best-effort affair with the intention to be useful. This is a document in process – it hopefully does not contain too many mis- takes, but please contact us if you feel that you spotted one. 1 Version: 27th Sept, 2017 11:27; svn-64 Notation There is an attempt to do use consistent notations through this lecture. Below is a list what symbols typically refer to, unless they are referenced to otherwise. a a vector; often the acceleration e a unit vector, i.e., a vector of length 1 (e e = 1) dA a vector differential representing an oriented· surface area element ds a vector differential representing a line element F a vector representing a force H a scalar representing the Hamilton function of a system I the tensor for the inertia of a rigid body L a scalar representing the Lagrange function L a vector representing an angular momentum N a vector representing a torque m a scalar representing the mass of a particle m mass matrix in a system of coupled masses M the total mass of a system p a vector representing the momentum mv of a particle P a vector representing the total momentum of a system qk a generalized coordinate Q the “quality factor” of a damped harmonic oscillator r (or
    [Show full text]
  • Chapter 2 Lagrange's and Hamilton's Equations
    Chapter 2 Lagrange’s and Hamilton’s Equations In this chapter, we consider two reformulations of Newtonian mechanics, the Lagrangian and the Hamiltonian formalism. The first is naturally associated with configuration space, extended by time, while the latter is the natural description for working in phase space. Lagrange developed his approach in 1764 in a study of the libration of the moon, but it is best thought of as a general method of treating dynamics in terms of generalized coordinates for configuration space. It so transcends its origin that the Lagrangian is considered the fundamental object which describes a quantum field theory. Hamilton’s approach arose in 1835 in his unification of the language of optics and mechanics. It too had a usefulness far beyond its origin, and the Hamiltonian is now most familiar as the operator in quantum mechanics which determines the evolution in time of the wave function. We begin by deriving Lagrange’s equation as a simple change of coordi- nates in an unconstrained system, one which is evolving according to New- ton’s laws with force laws given by some potential. Lagrangian mechanics is also and especially useful in the presence of constraints, so we will then extend the formalism to this more general situation. 35 36 CHAPTER 2. LAGRANGE’S AND HAMILTON’S EQUATIONS 2.1 Lagrangian for unconstrained systems For a collection of particles with conservative forces described by a potential, we have in inertial cartesian coordinates mx¨i = Fi. The left hand side of this equation is determined by the kinetic energy func- tion as the time derivative of the momentum pi = ∂T/∂x˙ i, while the right hand side is a derivative of the potential energy, ∂U/∂x .AsT is indepen- − i dent of xi and U is independent ofx ˙ i in these coordinates, we can write both sides in terms of the Lagrangian L = T U, which is then a function of both the coordinates and their velocities.
    [Show full text]
  • Physics 5153 Classical Mechanics Generalized Coordinates and Constraints
    September 6, 2003 22:27:11 P. Gutierrez Physics 5153 Classical Mechanics Generalized Coordinates and Constraints 1 Introduction Dynamics is the study of the motion of interacting objects. It describes the motion in terms of a set of postulates. In our case we will deal with classical dynamics, where we restrict ourselves to system where quantum and relativistic e®ects are negligible. This lecture introduces some basic concepts of classical dynamics, and represents the beginning of our study of analytical mechanics. We will start with a brief discussion of Newtonian mechanics and what we expect to gain from the analytic approach. This will be followed by a discussion of generalized coordinates, and then a discussion of constraints. 1.1 Analytical and Vectorial Mechanics The analytical form of mechanics di®ers considerably from the vectorial form. The analytical form of mechnics is based on the work function and kinetic energy, while the vectorial form is based directly on Newton's three laws, in particular the second law. The following list briefly describes those di®erences, these will become clearer as the semester progresses: 1. The vectorial form requires that each particle be isolated with the forces acting on it be given with each particle forming a separate equation. The analytic method treats the system as a whole with one equation describing the system in terms of the work (potential energy). 2. If there are strong forces that maintain a ¯xed relation between the coordinates of the particles in the system, and an empirical relation that describes it, the vectorial method has to consider the forces that are required to maintain it.
    [Show full text]
  • Physics 235 Chapter 7
    Physics 235 Chapter 7 Chapter 7 Hamilton's Principle - Lagrangian and Hamiltonian Dynamics Many interesting physics systems describe systems of particles on which many forces are acting. Some of these forces are immediately obvious to the person studying the system since they are externally applied. Other forces are not immediately obvious, and are applied by the external constraints imposed on the system. These forces are often difficult to quantify, but the effect of these forces is easy to describe. Trying to describe such a system in terms of Newton's equations of motion is often difficult since it requires us to specify the total force. In this Chapter we will see that describing such a system by applying Hamilton's principle will allow us to determine the equation of motion for system for which we would not be able to derive these equations easily on the basis of Newton's laws. We should stress however, that Hamilton's principle does not provide us with a new physical theory, but it allows us to describe the existing theories in a new and elegant framework. Hamilton's Principle The evolution of many physical systems involves the minimization of certain physical quantities. We already have encountered an example of such a system, namely the case of refraction where light will propagate in such a way that the total time of flight is minimized. This same principle can be used to explain the law of reflection: the angle of incidence is equal to the angle of reflection. The minimization approach to physics was formalized in detail by Hamilton, and resulted in Hamilton's Principle which states: " Of all the possible paths along which a dynamical system may more from one point to another within a specified time interval (consistent with any constraints), the actual path followed is that which minimizes the time integral of the difference between the kinetic and potential energies.
    [Show full text]
  • Chapter 7: Lagrangian & Hamiltonian Dynamics
    Lecture Notes for PHY 405 Classical Mechanics From Thorton & Marion's Classical Mechanics Prepared by Dr. Joseph M. Hahn Saint Mary's University Department of Astronomy & Physics October 17, 2004 Chapter 7: Lagrangian & Hamiltonian Dynamics Problem Set #4 due Tuesday November 1 at start of class text problems 7{7, 7{10, 7{11, 7{12, 7{20. Please derive all solutions|don't simply show that the text's solutions satisfy your EOM. Newton's Law F = mp_ can be problematic at times. For instance, the resulting EOM can at times be messy in spherical, cylin- drical, or other coordinate systems: F=m = x¨x^ + y¨y^ + z¨^z in Cartesian coordinates 1 d = (r¨ − rθ_2)^r + (r2θ_)θ^+ z¨^z in cylindrical coord's r dt Newton's law requires knowing all the forces acting on a particle. In partic- ular, constraints are in additional forces to be accounted for in F = ma. Some forces of constraint are easy ex.: a particle on a flat plane has Fconstraint = +mg^z However other problems may have constraining forces that are too complicated or difficult to formulate. ex.: motion on a curved surface, motion of a bead along a curved wire, etc. 1 Lagrange equations of motion An alternate approach is to use Lagrangian dynamics, which is a reformulation of Newtonian dynamics that can (sometimes) yield simpler EOM. Another advantage of Lagrangian dynamics is that it can easily account for the forces of constraint. Begin by noting that the solution to many physics problems can be solved by first invoking a minimization principle.
    [Show full text]
  • Holonomic and Nonholonomic Constraints
    MEAM 535 Holonomic and Nonholonomic Constraints University of Pennsylvania 1 MEAM 535 Degrees of freedom and constraints Consider a system S with N particles, Pr (r=1,...,N), and their positions vector xr in some reference frame A. The 3N components specify the configuration of the system, S. The configuration space is defined as: 3N T ℵ= X X ∈ R , X = [x1.a1, x1.a 2, x1.a 3,…x N .a1, x N .a 2, x N .a 3 ] { } The 3N scalar numbers are called configuration space variables or coordinates€ for the system. The trajectories of the system in the configuration space are always continuous. University of Pennsylvania 2 MEAM 535 A System of Two Particles on a Line University of Pennsylvania 3 MEAM 535 Holonomic Constraints Constraints on the position Particle is constrained to lie on a (configuration) of a system of particles plane: are called holonomic constraints. A x1 + B x2 + C x3 + D = 0 Constraints in which time explicitly A particle suspended from a taut enters into the constraint equation string in three dimensional space. are called rheonomic. 2 2 2 2 (x1 – a) +(x2 – b) +(x3 – c) – r = 0 Constraints in which time is not explicitly present are called A particle on spinning platter scleronomic. (carousel) x1 = a cos(ωt + φ); x2 = a sin(ωt + φ) A particle constrained to move on a sphere in three-dimensional space whose radius changes with time t. 2 x1 dx1 + x2 dx2 + x3 dx3 - c dt = 0 University of Pennsylvania 4 MEAM 535 Holonomic Constraint x3 Configuration space f(x1, x2, x3)=0 x2 x1 University of Pennsylvania 5 MEAM 535 Scleronomic, holonomic Rheonomic, holonomic t f(x1, x2)=0 f(x1, x2, t)=0 f(x1, x2 , t4)=0 f(x1, x2 , t3)=0 Configuration space f(x1, x2 , t2)=0 x 2 x2 f(x1, x2)=0 x1 x 1 f(x1, x2 , t1)=0 University of Pennsylvania 6 MEAM 535 Nonholonomic Constraints Definition 1 A particle constrained to move on a All constraints that are not circle in three-dimensional space holonomic x whose radius changes with time t.
    [Show full text]
  • Phys 7221 Homework #2
    Phys 7221 Homework #2 Gabriela Gonz´alez September 18, 2006 1. Derivation 1-9: Gauge transformations for electromagnetic potential If two Lagrangians differ by a total derivative of a function of coordinates and time, they lead to the same equation of motion: dF (qi, t) ∂F X ∂F L0(q , q˙ , t) = L(q , q˙ , t) + = L(q , q˙ , t) + + q˙ i i i i dt i i ∂t ∂q j j j as proven in the following lines: ∂L0 ∂L0 ∂F = + ∂q˙i ∂q˙i ∂qi ∂L0 ∂L ∂ dF = + ∂qi ∂qi ∂qi dt d ∂L0 ∂L0 d ∂L ∂L d ∂F ∂ dF − = − + − dt ∂q˙i ∂qi dt ∂q˙i ∂qi dt ∂qi ∂qi dt d ∂F ∂ X ∂ ∂F = + q˙ dt ∂q ∂t j ∂q ∂q i j j i ∂ ∂F X ∂F = + q˙ ∂q ∂t j ∂q i j j ∂ dF = ∂qi dt and thus the equations of motion are the same, derived from either Lagrangian: d ∂L0 ∂L0 d ∂L ∂L − = − dt ∂q˙i ∂qi dt ∂q˙i ∂qi 1 (What goes wrong if F = F (q, q,˙ t)?) A particle moving in an electromagnetic field, with scalar potential φ and vector potential A, has a generalized potential function U = φ − A · v and a Lagrangian 1 L = T − U = mv2 − q (φ − A · v) 2 Consider a gauge transformation for the scalar and vector potentials of the form ∂ψ(r, t) φ0 = φ − ∂t A0 = A + ∇ψ(r, t) The change in potential energy under this transformation is U 0 = φ0 − A0 · v ∂ψ = U − q + ∇ψ · v ∂t ∂ψ dr = U − q + ∇ψ · ∂t dt ∂ψ X ∂ψ dxi = U − q + ∂t ∂xi dt dψ = U − q dt and thus, the new Lagrangian differs from the original one by a total derivative: dψ d(qψ) L0 = T − U 0 = T − U + q = L + dt dt and thus we know the equations of motion are the same.
    [Show full text]