Misplaced Pages

Generalized coordinates: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 11:02, 7 July 2012 editSylviaelse (talk | contribs)61 edits Constraint equations: Fixed typos← Previous edit Revision as of 19:02, 9 July 2012 edit undoHublolly (talk | contribs)180 edits Constraint equations: remove cluttered, crap incomprehensible images by former dumbas editor Maschen who screwed up WPNext edit →
Line 13: Line 13:


==Constraint equations== ==Constraint equations==

] ''x, y, z'' (or other standard ]), only one is needed and is completely arbitrary to define the position. Four possibilities are shown. '''Top:''' distances along some fixed line, '''bottom left:''' an angle relative to some baseline, '''bottom right:''' the ] of the path the particle takes. All are defined relative to a zero position - again arbitrarily defined.]]

{{-}}


Generalized coordinates may be ''independent'' (or unconstrained), in which case they are equal in number to the degrees of freedom of the system, or they may be ''dependent'' (or constrained), related by ] on and among the coordinates. The number of dependent coordinates is the sum of the number of degrees of freedom and the number of constraints. For example, the constraints might take the form of a set of ''configuration constraint equations'':<ref name=Ginsberg/> Generalized coordinates may be ''independent'' (or unconstrained), in which case they are equal in number to the degrees of freedom of the system, or they may be ''dependent'' (or constrained), related by ] on and among the coordinates. The number of dependent coordinates is the sum of the number of degrees of freedom and the number of constraints. For example, the constraints might take the form of a set of ''configuration constraint equations'':<ref name=Ginsberg/>
Line 25: Line 21:


It can be advantageous to choose independent generalized coordinates, as is done in ], because this eliminates the need for constraint equations. However, in some situations, it is not possible to identify an unconstrained set. For example, when dealing with ] constraints or when trying to find the force due to any constraint—holonomic or not, dependent generalized coordinates must be employed. Sometimes independent generalized coordinates are called internal coordinates because they are mutually independent, otherwise unconstrained, and together give the position of the system. It can be advantageous to choose independent generalized coordinates, as is done in ], because this eliminates the need for constraint equations. However, in some situations, it is not possible to identify an unconstrained set. For example, when dealing with ] constraints or when trying to find the force due to any constraint—holonomic or not, dependent generalized coordinates must be employed. Sometimes independent generalized coordinates are called internal coordinates because they are mutually independent, otherwise unconstrained, and together give the position of the system.

{{-}}

] ''F'' (]ized by ''t'') and ] ''F'', '''right:''' a ] ''C'' and ] ''S''. The equations shown are the ''constraint equations''. Generalized coordinates are chosen and defined with respect to these curves (one per degree of freedom), and simplify the analysis since even complicated curves are described by the ''minimum'' number of coordinates required.]]

{{-}}


A system with <math>m</math> ] and n particles whose positions are designated with three dimensional vectors, <math>\lbrace \mathbf {r}_i \rbrace</math>, implies the existence of <math>3 n-m</math> scalar constraint equations on those position variables. Such a system can be fully described by the scalar generalized coordinates, <math>\lbrace q_1, q_2, ..., q_m\rbrace</math>, and the time, <math>t</math>, if and only if all <math>m</math> <math>\lbrace q_j \rbrace</math> are independent coordinates. For the system, the transformation from old coordinates to generalized coordinates may be represented as follows:<ref name="Torby1984">{{cite book |last=Torby |first=Bruce |title=Advanced Dynamics for Engineers |series=HRW Series in Mechanical Engineering |year=1984 |publisher=CBS College Publishing |location=United States of America |isbn=0-03-063366-4 |chapter=Energy Methods}}</ref>{{rp|260}} A system with <math>m</math> ] and n particles whose positions are designated with three dimensional vectors, <math>\lbrace \mathbf {r}_i \rbrace</math>, implies the existence of <math>3 n-m</math> scalar constraint equations on those position variables. Such a system can be fully described by the scalar generalized coordinates, <math>\lbrace q_1, q_2, ..., q_m\rbrace</math>, and the time, <math>t</math>, if and only if all <math>m</math> <math>\lbrace q_j \rbrace</math> are independent coordinates. For the system, the transformation from old coordinates to generalized coordinates may be represented as follows:<ref name="Torby1984">{{cite book |last=Torby |first=Bruce |title=Advanced Dynamics for Engineers |series=HRW Series in Mechanical Engineering |year=1984 |publisher=CBS College Publishing |location=United States of America |isbn=0-03-063366-4 |chapter=Energy Methods}}</ref>{{rp|260}}
Line 39: Line 29:


This transformation affords the flexibility in dealing with complex systems to use the most convenient and not necessarily ] coordinates. These equations are used to construct differentials when considering ]s and ]. This transformation affords the flexibility in dealing with complex systems to use the most convenient and not necessarily ] coordinates. These equations are used to construct differentials when considering ]s and ].

{{-}}


==Examples== ==Examples==

Revision as of 19:02, 9 July 2012

Part of a series on
Classical mechanics
F = d p d t {\displaystyle {\textbf {F}}={\frac {d\mathbf {p} }{dt}}} Second law of motion
Branches
Fundamentals
Formulations
Core topics
Rotation
Scientists

In Analytical mechanics, specifically the study of multibody systems, generalized coordinates are a set of coordinates used to describe the configuration of a system relative to some reference configuration. A restriction for a set of coordinates to serve as generalized coordinates is that they should uniquely define any possible configuration of the system relative to the reference configuration.

Frequently the generalized coordinates are chosen to be independent of one another. The number of independent generalized coordinates is defined by the number of degrees of freedom of the system.

The adjective "generalized" is a holdover from a period when Cartesian coordinates were the standard.

Apart from practical reasons, any set of generalized coordinates is as good as another. The physics of the system is independent of the choice. However, there are more and less practical choices, that is, coordinates that are more or less optimally adapted to the system and make the solution of its equations of motion easier or more difficult.

The generalized velocities are the time derivatives of the generalized coordinates of the system.

Constraint equations

Generalized coordinates may be independent (or unconstrained), in which case they are equal in number to the degrees of freedom of the system, or they may be dependent (or constrained), related by constraints on and among the coordinates. The number of dependent coordinates is the sum of the number of degrees of freedom and the number of constraints. For example, the constraints might take the form of a set of configuration constraint equations:

f i ( { q n } ,   t ) = 0   , {\displaystyle f_{i}(\{q_{n}\},\ t)=0\ ,}

where qn is the n-th generalized coordinate and i denotes one of a set of constraint equations, taken here to vary with time t. The constraint equations limit the values available to the set of qn, and thereby exclude certain configurations of the system.

It can be advantageous to choose independent generalized coordinates, as is done in Lagrangian mechanics, because this eliminates the need for constraint equations. However, in some situations, it is not possible to identify an unconstrained set. For example, when dealing with nonholonomic constraints or when trying to find the force due to any constraint—holonomic or not, dependent generalized coordinates must be employed. Sometimes independent generalized coordinates are called internal coordinates because they are mutually independent, otherwise unconstrained, and together give the position of the system.

A system with m {\displaystyle m} degrees of freedom and n particles whose positions are designated with three dimensional vectors, { r i } {\displaystyle \lbrace \mathbf {r} _{i}\rbrace } , implies the existence of 3 n m {\displaystyle 3n-m} scalar constraint equations on those position variables. Such a system can be fully described by the scalar generalized coordinates, { q 1 , q 2 , . . . , q m } {\displaystyle \lbrace q_{1},q_{2},...,q_{m}\rbrace } , and the time, t {\displaystyle t} , if and only if all m {\displaystyle m} { q j } {\displaystyle \lbrace q_{j}\rbrace } are independent coordinates. For the system, the transformation from old coordinates to generalized coordinates may be represented as follows:

r 1 = r 1 ( q 1 , q 2 , . . . , q m , t ) {\displaystyle \mathbf {r} _{1}=\mathbf {r} _{1}(q_{1},q_{2},...,q_{m},t)} ,
r 2 = r 2 ( q 1 , q 2 , . . . , q m , t ) {\displaystyle \mathbf {r} _{2}=\mathbf {r} _{2}(q_{1},q_{2},...,q_{m},t)} , ...
r n = r n ( q 1 , q 2 , . . . , q m , t ) {\displaystyle \mathbf {r} _{n}=\mathbf {r} _{n}(q_{1},q_{2},...,q_{m},t)} .

This transformation affords the flexibility in dealing with complex systems to use the most convenient and not necessarily inertial coordinates. These equations are used to construct differentials when considering virtual displacements and generalized forces.

Examples

Double pendulum

A double pendulum

A double pendulum constrained to move in a plane may be described by the four Cartesian coordinates {x1, y1, x2, y2}, but the system only has two degrees of freedom, and a more efficient system would be to use

{ q 1 , q 2 } = { θ 1 , θ 2 } {\displaystyle \lbrace q_{1},q_{2}\rbrace =\lbrace \theta _{1},\theta _{2}\rbrace } ,

which are defined via the following relations:

{ x 1 , y 1 } = { L 1 sin θ 1 , L 1 cos θ 1 } {\displaystyle \lbrace x_{1},y_{1}\rbrace =\lbrace L_{1}\sin \theta _{1},L_{1}\cos \theta _{1}\rbrace }
{ x 2 , y 2 } = { L 1 sin θ 1 + L 2 sin θ 2 , L 1 cos θ 1 + L 2 cos θ 2 } {\displaystyle \lbrace x_{2},y_{2}\rbrace =\lbrace L_{1}\sin \theta _{1}+L_{2}\sin \theta _{2},L_{1}\cos \theta _{1}+L_{2}\cos \theta _{2}\rbrace }

Bead on a wire

A bead constrained to move on a wire has only one degree of freedom, and the generalized coordinate used to describe its motion is often

q 1 = l {\displaystyle q_{1}=l} ,

where l is the distance along the wire from some reference point on the wire. Notice that a motion embedded in three dimensions has been reduced to only one dimension.

Motion on a surface

A point mass constrained to a surface has two degrees of freedom, even though its motion is embedded in three dimensions. If the surface is a sphere, a good choice of coordinates would be:

{ q 1 , q 2 } = { θ , ϕ } {\displaystyle \lbrace q_{1},q_{2}\rbrace =\lbrace \theta ,\phi \rbrace } ,

where θ and φ are the angle coordinates familiar from spherical coordinates. The r coordinate has been effectively dropped, as a particle moving on a sphere maintains a constant radius.

Generalized velocities and kinetic energy

Each generalized coordinate q i {\displaystyle q_{i}} is associated with a generalized velocity q ˙ i {\displaystyle {\dot {q}}_{i}} , defined as:

q ˙ i = d q i d t {\displaystyle {\dot {q}}_{i}={dq_{i} \over dt}}

The kinetic energy of a particle is

T = m 2 ( x ˙ 2 + y ˙ 2 + z ˙ 2 ) {\displaystyle T={\frac {m}{2}}\left({\dot {x}}^{2}+{\dot {y}}^{2}+{\dot {z}}^{2}\right)} .

In more general terms, for a system of p {\displaystyle p} particles with n {\displaystyle n} degrees of freedom, this may be written

T = i = 1 p m i 2 ( x ˙ i 2 + y ˙ i 2 + z ˙ i 2 ) {\displaystyle T=\sum _{i=1}^{p}{\frac {m_{i}}{2}}\left({\dot {x}}_{i}^{2}+{\dot {y}}_{i}^{2}+{\dot {z}}_{i}^{2}\right)} .

If the transformation equations between the Cartesian and generalized coordinates

x i = x i ( q 1 , q 2 , . . . , q n , t ) {\displaystyle x_{i}=x_{i}\left(q_{1},q_{2},...,q_{n},t\right)}
y i = y i ( q 1 , q 2 , . . . , q n , t ) {\displaystyle y_{i}=y_{i}\left(q_{1},q_{2},...,q_{n},t\right)}
z i = z i ( q 1 , q 2 , . . . , q n , t ) {\displaystyle z_{i}=z_{i}\left(q_{1},q_{2},...,q_{n},t\right)}

are known, then these equations may be differentiated to provide the time-derivatives to use in the above kinetic energy equation:

x ˙ i = d d t x i ( q 1 , q 2 , . . . , q n , t ) . {\displaystyle {\dot {x}}_{i}={\frac {d}{dt}}x_{i}\left(q_{1},q_{2},...,q_{n},t\right).}

It is important to remember that the kinetic energy must be measured relative to inertial coordinates. If the above method is used, it means only that the Cartesian coordinates need to be inertial, even though the generalized coordinates need not be. This is another considerable convenience of the use of generalized coordinates.

Applications of generalized coordinates

Such coordinates are helpful principally in Lagrangian mechanics, where the forms of the principal equations describing the motion of the system are unchanged by a shift to generalized coordinates from any other coordinate system. The amount of virtual work done along any coordinate q i {\displaystyle q_{i}} is given by:

δ W q i = F q i δ q i {\displaystyle \delta W_{q_{i}}=F_{q_{i}}\cdot \delta q_{i}} ,

where F q i {\displaystyle F_{q_{i}}} is the generalized force in the q i {\displaystyle q_{i}} direction. While the generalized force is difficult to construct 'a priori', it may be quickly derived by determining the amount of work that would be done by all non-constraint forces if the system underwent a virtual displacement of δ q i {\displaystyle \delta q_{i}} , with all other generalized coordinates and time held fixed. This will take the form:

δ W q i = f ( q 1 , q 2 , . . . , q n ) δ q i {\displaystyle \delta W_{q_{i}}=f\left(q_{1},q_{2},...,q_{n}\right)\cdot \delta q_{i}} ,

and the generalized force may then be calculated:

F q i = δ W q i δ q i = f ( q 1 , q 2 , . . . , q n ) {\displaystyle F_{q_{i}}={\frac {\delta W_{q_{i}}}{\delta q_{i}}}=f\left(q_{1},q_{2},...,q_{n}\right)} .

See also

References

  1. ^ Jerry H. Ginsberg (2008). "§7.2.1 Selection of generalized coordinates". Engineering dynamics, Volume 10 (3rd ed.). Cambridge University Press. p. 397. ISBN 0-521-88303-2.
  2. Farid M. L. Amirouche (2006). "§2.4: Generalized coordinates". Fundamentals of multibody dynamics: theory and applications. Springer. p. 46. ISBN 0-8176-4236-6.
  3. Florian Scheck (2010). "§5.1 Manifolds of generalized coordinates". Mechanics: From Newton's Laws to Deterministic Chaos (5th ed.). Springer. p. 286. ISBN 3-642-05369-6.
  4. Torby, Bruce (1984). "Energy Methods". Advanced Dynamics for Engineers. HRW Series in Mechanical Engineering. United States of America: CBS College Publishing. ISBN 0-03-063366-4.
  • Greenwood, Donald T. (1987). Principles of Dynamics (2nd edition ed.). Prentice Hall. ISBN 0-13-709981-9. {{cite book}}: |edition= has extra text (help)
  • Wells, D. A. (1967). Schaum's Outline of Lagrangian Dynamics. New York: McGraw-Hill.
Categories: