0% found this document useful (0 votes)
67 views29 pages

002 Constraints and Generalized Coordinates

The document discusses constraints and generalized coordinates in classical mechanics. It introduces holonomic and non-holonomic constraints and how they affect the degrees of freedom in a system. It also discusses using generalized coordinates to describe constrained systems and introduces the principle of virtual work for handling constraint forces.

Uploaded by

Study Material
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views29 pages

002 Constraints and Generalized Coordinates

The document discusses constraints and generalized coordinates in classical mechanics. It introduces holonomic and non-holonomic constraints and how they affect the degrees of freedom in a system. It also discusses using generalized coordinates to describe constrained systems and introduces the principle of virtual work for handling constraint forces.

Uploaded by

Study Material
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

1

PHYS 705: Classical Mechanics


Constraints and
Generalized Coordinates
2

Constraints
Problem Statement:
In solving mechanical problems, we start with the 2nd law

Fj
ji  Fi
(e)
 miri (*)

In principle, one can solve for ri(t) (trajectory) for the ith particle by
specifying all the external and internal forces acting on it .

However, if constraints are present, these external forces in


general are NOT known.

Therefore, we need to understand the various constraints and


know how to handle them.
3

Holonomic Constraints
Holonomic constraints can be expressed as a function in terms of the
coordinates and time,
f  r1 , r2 ,; t   0 rij
ri
rj
r  r 
2
e.g. (a rigid body)  c  0
2
i j ij O

non-holonomic examples: -Gas in a container


-Object rolling on a rough surface without
slipping… more later

More quantifiers: - Rheonomous: depend on time explicitly


- Scleronomous: not explicitly depend on time

e.g. a bead constraints to move on a fixed vs. a moving wire


4

Constraints and Generalized Coordinates


Difficulties involving constraints:

1. Through f  r1 , r2 , ; t   0 , the individual coordinates ri are


no longer independent

 eqs of motion (*) for individual particles are now coupled


(not independent)

2. Forces of constraints are not known a priori and must be solved


as additional unknowns

With holonomic constraints:

Prob #1 can be handled by introducing a set of “proper” (independent)


Generalized Coordinates

Prob #2 can be treated with: D’Alembert’s Principle & Lagrange’s Equations


(with Lagrange multipliers)
5

Generalized Coordinates
• Without constraints, a system of N particles has 3N dof
• With K constraint equations, the # dof reduces to 3N-K

• With holonomic constraints, one can introduce (3N-K) independent


(proper) generalized coordinates  q1 , q2 , , q3 N  K  such that:

r1  r1  q1 , q2 , , q3 N  K , t  ri and  q1 , q3 N  K 
 are related by
a point transformation
rN  rN  q1 , q2 , , q3 N  K , t 

• The goal is to describe the time evolution of the system in the set of
(3N-K) independent (proper) generalized coordinates.
6

Generalized Coordinates

 Generalized coordinates can be anything: angles, energy units, momentum


units, or even amplitudes in the Fourier expansion of ri
 Each q j is just a number, a scalar

But, they must completely specify the state of a given system

The choice of a particular set of generalized coordinates is not unique.

No specific rule in finding the most “suitable” (resulting in simplest EOM)
7

Generalized Coordinates
Example: In Cartesian coord ri  :

O x
 x1 , y1 , x2 , y2  we have 4 dof

1 l  x12  y12  l 2  0
(x1, y1) 2 constraints: 
   
2 2
m1 x
 2 1 x  y 2  y1  l2  0
2 l
So, there are only 2 indep dof…

y
m2 One choice of generalized coords q j is:  
(x2, y2)
1 , 2  2 indep dof
(Double Plane Pendulum)
And, they are linked to the Cart. coord through:

(constraints are implicitly 1  tan 1  x1 y1 


encoded in the Pt Trans)  2  tan 1   x2  x1   y2  y1  
8

Non-Holonomic Constraints
- can’t use constraint equations to eliminate dependent coordinates
- in general, solution is problem specific.

Example in book: Vertical Disk rolling without slipping on a horizontal plane

z y
a Described by 4 coordinates:
f
(x, y) of the contact point
v  : orientation of disk-
angle of disk axis with x-axis
f : angle of rotation of the disk

O x
9

Non-Holonomic Constraints (rolling disk exp)

Now, consider the constraints:

1. No-slip condition:
s  af  v  af
y top view
2. Disk rolling vertically
 v  disk axis see graph v sin


v -v cos
 x  v sin  
 
 y  v cos  x
10

Non-Holonomic Constraints (rolling disk exp)


Putting them together, gives the following differential equations of constraint,

 dx  df
 dt  af sin   a sin  dt  dx  a sin  df  0
  or 
 dy  af cos    a cos  df dy  a cos  df  0
 dt dt

The point is that we can’t write this in Holonomic form:

f  f  x, y ,    0 with f being a function! (hw)

Physical intuition  Roll the disk in a circle with radius R.


Upon completion of the circle, x, y and  will have returned to their original
values  but, f will depend on R (can’t be specified by  x, y,   )
11

How to deal with Constraints?


Principle of Virtual Work
Consider the simplest situation, a system in equilibrium first,

- The net force on each particle vanishes: Fi  0 (note: i labels the particles)

Consider an arbitrary “virtual” infinitesimal change in the coordinates,  ri

- Virtual means that it is done with no change in time during which


forces and constraints do not change.

- These virtual displacements are done consistent with the constraints


(we will be more specific later).

Since the net force on each particle, Fi is  F  r  0


i
i i

zero (equilibrium), obviously we have:


(virtual work)
12

Principle of Virtual Work


(a)
Separating the forces into applied Fi and constraint forces fi ,

Fi  Fi( a )  fi

Then, we have F
i
i
(a)
  ri   fi   ri  0
i

Now, what do we mean by the virtual displacements  ri being done


consistent with the constraint?
13

Principle of Virtual Work


For virtual displacements to be consistent with the constraints means that

 the virtual work done by the constraint forces along the virtual displacement
must be zero.

Geometric view
fi
 ri >> More on this later for
N particles with K constraints, motion is restricted
fi   ri or fi   ri  0 on a (3N-K)-D surface and the constraint forces fi
must be  to that surface.

For  ri to be consistent with constraints means that the net virtual work
from the forces of constraints is zero !

 f  r  0
i
i i
14

Principle of Virtual Work


Back to our original equation for a constrained system in equilibrium,
0
 i   ri   fi   ri  0
F (a)

i i

With the virtual displacements satisfying the constraints leaves us with the
statement,

 i   ri  0
F
i
(a)

 The virtual work of the applied forces must also vanish!

This is called the Principle of Virtual Work.


15

Principle of Virtual Work


 i   ri  0
F
i
(a)

Note: Since the coordinates (and the virtual variations) are not necessarily
independent. They are linked through the constraint equations. The
Principle of Virtual Work does not imply,

Fi( a )  0 for all i independently.

The trick is now to change variables to a set of proper (independent)


generalized coordinates. Then, we can rewrite the equation as,

 ?
j
j
 q j  0

With qj being independent, we can then claim:  ?  j  0 for all j. As we will


see, this will give us expressions which will lead to the solution of the problem.
16

D’Alembert’s Principle

Now, we consider the more general case when the system is not necessary in
equilibrium so that the net force on the particles is NOT zero. We
continue to assume the constraints forces to be unknown a priori…

Similar to our discussion on the Principle of Virtual Work, we would like to


reformulate the mechanical problem to include the constraint forces such
that they “disappear”  you solve the “new” problem using only the
(given) applied forces.

This is the basis for the D’Alembert’s Principle AND by additionally


choosing a set of proper generalized coordinates, the problem can
be solved and it will result in the Euler-Lagrange’s Equations.
17

D’Alembert’s Principle

In deriving the Principle of Virtual Work, the system was in equilibrium.

In extending it to include dynamics , we will begin with Newton’s 2nd law,

Fi  p i or Fi  p i  0 for the ith particle in the system.

We again consider a virtual infinitesimal displacement  ri consistent with


 i  0 for all particles,
the given constraint. Since we have Fi  p

We have,   F  p    r  0
i
i i i

Again, we separate out the applied and constraint forces, Fi  Fi( a )  fi

This gives,  F
i
i
(a)
 p i    ri   fi   ri  0
i
18

D’Alembert’s Principle

Then, following a similar argument for the virtual displacement to be


consistent with constraints, i.e,  f  r  0
i
i i
(no virtual work for fi)

We can write down,  F


i
i
(a)
 p i    ri  0

This is the D’Alembert’s Principle.

Again, since the coordinates (and the virtual variations) are not necessary
independent. This does NOT implies, Fi  (a)
 p i   0 for the individual i.

We then need to look into changing variables to a set of independent generalized


coordinates so that we have  ? j
  q j  0 with the coefficients
in the sum independently equal to zero, i.e.,  ?   0
j
j
19

Geometric View of the D’Alembert’s Principle

Consider a particle moving in 3D with one Holonomic constraint,

z
equation of motion: m
r  F(a)  f
r  ( x, y , z ) equation of constraint: g (r , t )  0

Here,
m
- F(a) is the known applied force
r (t)
- And, we model the unknown
y
constraint force by the vector f.
g (r, t )  0
x
Note: r(t) has 3 unknown trajectory (red) is constraint to move in a 3-
components + 1 constraint 1=2 dimensional surface (blue g (r, t )  0 ).
20

Geometric View of the D’Alembert’s Principle


- There are three unknown components to the constraint force f. A scalar
constraint does not specify the vector f completely.
- There are multiple choices for f which satisfy g(r, t)=0 BUT there is an
additional physical restriction on f that we should consider…

z z

f f

y y

x x
Observation: For a given f, adding a component // to the surface will still
keep the particle on the surface (satisfying g(r, t)=0) but will result with an
additional acceleration along the surface).
21

Geometric View of the D’Alembert’s Principle


 A reasonable physical argument is to restrict the choice of f so that:

Constraint Force f needs to lay  to the constraint surface

Note that g (r, t )  0 is the equation for the


z constraint surface and

 g (r, t )  surface
f

So, we can “parametrized” f in term of g (r, t ),


y
g (r, t )  0 f   g (r, t ) where  is a parameter
x

m
x  F ( a )   g (r, t )  4 unknowns r and 
This gives,  4 equations
g (r, t )  0 
22

Geometric View of the D’Alembert’s Principle

m
r  F ( a )   g (r, t )  4 unknowns r and 
 4 equations
g (r, t )  0 
This system is solvable but now we would like to solve the system w/o using the
constraint explicitly …

Note that g is  to the surface of constraint and we can project the dynamical
equation onto the tangent plane of the constraint surface at (r, t).

To do that, take e a and eb as two basis vectors spanning the tangent plane to the
constraint surface at (r, t). Dotting the above Eq to e a and eb gives two
independent scalar equations,

 mr  F   e
(a)
a   g (r, t )  e a  0

 mr  F   e
(a)
b   g (r, t )  eb  0
23

Geometric View of the D’Alembert’s Principle

Together with the constraint equation itself, we then have 3 eqs for the 3
unknown components of r.

 mr  F   e
(a)
 0 
a ,b 3 unknowns r
 3 equations
g (r, t )  0 

So, now, in principle, we can solve for the dynamical equation (EOM), r(t),
without knowing the constraint forces f explicitly.

 mr  F   e
(a)
a ,b 0

 This is the D’Alembert’s Principle (for a single particle).


24

Geometric View of the D’Alembert’s Principle

We can generalize the argument to a system of N particles with K constraints


(Holonomic):
Note: The virtual  ri

i
mi 
ri  Fi  e k  0
(a)
displacements consistent
with the constraints are
 
 
 i

p i  Fi 
(a)
  ri  0 

in the tangent space
spanned by the basis e k 

Geometric Interpretation:
The K constraints restrict the system to a (3N-K)-D surface within the 3N-D
space. There are (3N-K) ek vectors spanning that tangent plane to the
constraint surface so that the above expression gives (3N-K) equations that the
problem can be solved without knowing the constraint forces explicitly.
25

D’Alembert’s Principle

 F
i
i
(a)
 p i    ri  0

To solve for EOM using the D’Alembert’s Principle …

We still need to look into changing variables to a set of independent generalized


coordinates so that we have

 ?
j
j
 q j  0

Then, we can claim the “coefficients”  ?  j in the sum to be independently


equal to zero, i.e.,
? j  0
26

D’Alembert’s Principle

 F
i
i
(a)
 p i    ri  0

To solve for EOM using the D’Alembert’s Principle …

We still need to look into changing variables to a set of independent generalized


coordinates so that we have

 ?
j
j
 q j  0

The correct “coefficients” allowing us to have  ?   0 will give us the Euler-


j
Lagrange equation and the EL Eq gives an explicit expression for the EOM:

d  T  T
    Qj  0
dt  q j  q j
27

Side Note: Constraint and Work


Recall that we have from the EOM: m
r  F ( a )   g (r, t )

Let F(a) be a conservative force , i.e., F ( a )  U (r, t ) so that

mr  U  g


Dotting r into both sides,

d  1 2  dT
m
r  r   mr   U  r  g  r
dt  2  dt
Consider the full-time derivative of g , we have,

dg  g dx g dy g dz  g g
        g  
r  
dt  x dt y dt z dt  t t
28

An Aside: Constraint and Work

As the particle moves, it is constraint to stay on the g=0 surface,


dg g
So,  0 and,  g  r   
dt t
dU U
Similarly, considering the full-time derivate of U, U  r  
dt t
Putting everything together,

m
r  r  U  r  g  r
With E=T+U,

dT dU U g dE U g
    
dt dt t t dt t t
29

An Aside: Constraint and Work


dE U g
 
dt t t
So, either U or g explicitly depends on time, the total energy changes with time.

Since we typically do not consider time-dependent U potential functions,


So, we can make the following assertions:

Scleronomous (g not explicitly depends on t) Holonomic Constraints:

g
 g  r    0 and constraint force won’t do work!
t
Rheonomous (g explicitly depends on t) Holonomic Constraints:

g
 g  r    0 and constraint force can do work!
t

You might also like