Difference between revisions of "Forest UCM LEq"

From New IAC Wiki
Jump to navigation Jump to search
Line 966: Line 966:
 
:<math>\gamma^2 + ( 1- \beta)\gamma -\alpha \beta =0 </math>
 
:<math>\gamma^2 + ( 1- \beta)\gamma -\alpha \beta =0 </math>
  
: \Rightarrow \gamma = \pm  
+
:<math> \Rightarrow \gamma = \frac{-( 1- \beta) \pm \sqrt{( 1- \beta)^2-4(-\alpha \beta)}}{2}</math>
  
 
http://www-physics.ucsd.edu/students/courses/fall2010/physics110a/LECTURES/CH06.pdf
 
http://www-physics.ucsd.edu/students/courses/fall2010/physics110a/LECTURES/CH06.pdf

Revision as of 18:10, 2 November 2014

Lagrange's Foramlism for Classical Mechanics

Hamilton's principle

Hamilton's principle falls out of the calculus of variations in that seeking the shortest time interval is the focus of the variations.


Of all possible paths along which a dynamical system may move from on point to another within a specified time interval, the actual path followed is that which minimizes the time integral of the difference between the kinetic and potential energies.

Casting this in the language of the calculus of variations

St2t1(T(˙x)U(x))dt=t2t1f(x,˙x;t)dt=t2t1L(x,˙x;t)dt

if you want the above "action" integral to be stationary then according to the calculus of variations you want the Euler-Lagrange equation to be satisfied where

[(fx)ddt(f˙x)]=0


or

[(Lx)ddt(L˙x)]=0

here x=dxdt˙x

(Lx)=x(T(˙x)U(x))=U(x)x=Fx the generalized force if I have conservative forces



ddt(L˙x)=ddt(˙x)(T(˙x)U(x))
=ddt(˙x)T(˙x)=ddtm˙x=ddtpx=˙px=Fx Newton's second law in an Inertial reference frame = time derivative of the generalized momentum



thus

[(Lx)ddt(L˙x)]=FxFx=0

Lagrange's Equations in generalized coordinates

Generalized coordinates (qi) are a set of parameters that uniquely specify the instantaneous state of a dynamical system.

The number of independent generalized coordinates (Nq) is given by subtracting the number of constraints (NC) from the number of degrees of freedom NDF.

Nq=NDFNC

Pedulum example

Consider the 2-D pendulum where an object of mass m is constrained by a rod of length l. The object is at one end of the rod and the rod is fixed to rotate about the other end.

NDF=2 There are 32 degrees of freedom for the 2-D problem
NC=1 The particle is constrained to a rod
Nq=21=1 The motion of the particle may be described using one component


The constraint may be expressed in cartesian coordinates as


x2+y2=l2

you can express the position of the object on the end of a rod as a function of just one generalized coordinate

r=xˆi+yˆj=xˆi+l2x2ˆj=r(x) x is the generalized coordinate

You could also express the position as a function of the deflection angle ϕ in cartesian coordinates

r=lcosϕˆi+lsinϕˆj=r(ϕ) ϕ is the generalized coordinate


Note
If you were to start using Polar coordinates right away such that
r=lˆr

then the dependence of the function on ϕ would not be obvious as this dependence is implicit to changes in the ˆr direction

The number of generalized coordinates becomes more obvious when you begin expressing the Potential and Kinetic Energy

U=mgh=l(1cosϕ)
T=12mv2=12l2˙ϕ2

Motion on Sphere example

Consider a particle constrained to move on a sphere of radius R.

NDF=3 There are 3 degrees of freedom for the 3-D problem
NC=1 The particle is constrained to the surface of the sphere
Nq=31=2 The motion of the particle may be described using two components

The constraint expressed in terms of cartesian coordinates is

x2+y2+z2=R2

The above constraint equation can be used to reduce the degrees of freedom by using the constraint to eliminate one of the above components

for Example

z2=R2x2y2


r=xˆi+yˆj±R2x2y2ˆk=r(x,y)


or if you chose the angles θ and ϕ from spherical coordinates

r=Rcosϕsinθˆi+Rsinϕsinθˆj+Rcosθˆk=r(ϕ,θ)


Generalized Force and Momentum

Generalized Force Lq
Generalized Momentum L˙q


As shown above, Hamilton's principle leads to a re-expression of Newton's second law through the Euler-Lagrange Equation in a differential form known as Lagrange's equations.

Below is the Euler-Lagrange equations expressed in terms of generalized coordinates.


[(Lq)=ddt(L˙q)]

Holonomic

If each coordinate used to describe a system can vary independently of the others, then the system is said to be holonomic.

A Non-holonomic system, has a lest one coordinate that depends on one of the others thereby reducing the number of degrees of freedom.

Example: Consider a sphere constrained to roll on a plane (ball on the floor). A spheres position on the plane can be specified using 2 coordinates and the orientation ( rotation) of a point on the sphere can be described by 3 coordinates. Thus, this system has 5 degrees of freedom.

The coordinates are not independent since as the sphere rolls without slipping then at least two coordinates must change making the system nonholonomic.


other examples: car, bicycle

Example: Lagrangian for object in 2-D moving in a conservative field

In cartesian coordinates

In cartesian coordinates the generalized coordinates are represented as the parameters x and y


L(x,˙x,y,˙y;t)=TU=(12m(˙x2+˙y2))(U(x,y))


Lq=ddt(L˙q)
for the generalized coordinate labeled x
Lx=Ux=ddt(L˙x)=ddtm˙x=m¨xFx=max
for the generalized coordinate labeled y
Ly=Uy=ddt(L˙y)=ddtm˙y=m¨yFy=may

In polar coordinates

In cartesian coordinates the generalized coordinates are represented as the parameters r and ϕ


L(r,˙r,ϕ,˙ϕ;t)=TU=(12m(˙r2+r2˙ϕ2))(U(r,ϕ))


(Lq)=ddt(L˙q)

The r parameter

Lr=ddt(L˙r)
mr˙ϕ2Ur=m¨r
mr˙ϕ2+Fr=m¨r
Fr=m(¨rr˙ϕ2)

recall

a=(¨rr˙ϕ2)ˆr+(2˙r˙ϕ+r¨ϕ)ˆϕ

The ϕ parameter

Lϕ=ddt(L˙ϕ)
Uϕ=ddt(mr2˙ϕ)


In polar coordinates

=rˆr+1rϕˆϕ
Fϕ=U|ˆϕ=1rUϕˆϕ


Uϕ=ddt(mr2˙ϕ)
rFϕ=ddt(Lϕ)
\Tau=dLdt

Examples using Lagrange's Equation

Pendulum

Returning to the problem of an object of mass m attached to a weightless rod of length l that is constrained to rotate at the end of the rod where there is no mass.

The number of generalized coordinates = 2-1 = 1.

Selecting polar coordinates to describe this system allows a description using generalized coordinates of only one parameter, ϕ.


U=mgh=mgl(1cosϕ)
T=12mv2=12l2˙ϕ2


L(ϕ,˙ϕ;t)=TU=(12mr2˙ϕ2)mgl(1cosϕ)


(Lq)=ddt(L˙q)


Lϕ=ddt(L˙ϕ)
mglsinϕ=ddt(ml2˙ϕ)
=ml2¨ϕ


¨ϕ+glsinϕ=0

Atwoods Machine

TF UCM SAM 1.gif


Let x1 represent the distance of m1 from the pulley and x2 the distance of m2 from the pulley.

The problem has 2 masses hat can move up and down giving us 2 degrees of freedom.

There is a constraint due to the masses being joined by a string of length l.

x1+x2+πR=l

The number of generalized coordinate = 2-1 = 1.


U=m1gx1m1gx2=m1gx1m2g(lx1πR)
=g(m1m2)x1m2g(lπR)=g(m1m2)x1+constant

One may define the potential arbitrarily such that the above constant is zero.

T=12(m1˙x21+m2˙x22)
=12(m1+m2)˙x21)


L(x1,˙x1;t)=TU=(12(m1+m2)˙x21))+g(m1m2)x1+constant


(Lx1)=ddt(L˙x1)


Lx1=ddt(L˙x1)
g(m1m2)=ddt((m1+m2)˙x1)
=(m1+m2)¨x1


¨x1=(m1m2)(m1+m2)g

Block Sliding on a Wedge

A block slides down an incline of elevation α that is free to move on the table.

How long does it take the block to reach the bottom if it is released a distance l from the top.

Let

q1= distance of block from the top of the incline
q2= distance incline moves from its starting point.


U=m1gq1sinα
Tm= Kinetic energy of the block of mass m
TM= kinetic energy of the incline of mass M
TM=12Mq22

The kinetic energy of the block is a combination of the velocity of the block down the incline and the velocity of the incline. As the block moves down the inline, the incline moves.


vm=(˙q1cosα+˙q2)ˆi+˙q1sinαˆj
Tm=12m(˙q21+q22+2˙q1˙q2cosα)


L(q1,q2,˙q1,˙q2;t)=TU=(12m(˙q21+q22+2˙q1˙q2cosα))+12Mq22+mgq1sinα
=12m(˙q21+2˙q1˙q2cosα)+12(M+m)˙q22+mgq1sinα


for q_1

(Lq1)=ddt(L˙q1)
mgsinα=ddt(m(˙q1+˙q2cosα))
=m(¨q1+¨q2cosα)


for q_2

(Lq2)=ddt(L˙q2)
0=ddt(L˙q2)
(L˙q2)=M˙q2+m(˙q2+˙q2cosα)=constant
¨q2=mM+m¨q1cosα

substituting q_2 into q_1

gsinα=¨q1+¨q2cosα
=¨q1+(mM+m¨q1cosα)cosα
=¨q1(1mM+mcos2α)


¨q1=gsinα(1mM+mcos2α)
Note
If α is 90 degrees then ¨q1=g

The acceleration is constant so one may use constant acceleration equations to find the fall time

l=12¨q1t2
\Rightarrow t = \sqrt{\frac{2l}{\ddot q_1}} = \sqrt{\frac{2l}\frac{ g \sin \alpha}{\left (1 - \frac{m}{M+m} \cos^2 \alpha \right )}}
=2l(1mM+mcos2α)gsinα


Note
If M is infinite then t=2lgsinα

Lagrange Multipliers

The method of Lagrange multipliers is a means to incorporate the constraints of a system into the Euler-Lagrange equation.


consider the problem of a disk rolling down an incline plane without slipping.

If we assume the incline does not move then we have 2 degrees of freedom for the disk. Let s represent the distance from the top of the incline and θ an angle of disk rotation.


The "no-slip" constraint means that there is a force of friction; which does no work by the way.

To roll without slipping requires that

˙s=R˙θ


let

f(s,θ)sRθ

then

dfdt=fqidqidt+ft=˙sR˙θ=0


The above constraint is holonomic since the constraint on the velocities can be integrated to give a relationship between the coordinates. Non-holonomic constraints do not have this property.


Constraints in Differential form

Using the above example we can generalize the constraint equation to take the form of a differential equation.

let

Ai˙qi+B=0

where

AfqiBftf=f(qi,t)

then

dfdt=fqi+ft=0

since the total derivive with respect to time is zero , the function is a constant in time

f(qi,t)=constant A holonomic constraint


The advantage of having the constraint in differential form is that instead of incorporating their integrated form into the problem we add them to the Euler-Lagrange equation.

Incorporate the constraints into Euler-Lagrange Equations

Consider a system having m constraints with s generalized coordinate parameters.

For the case of time independent constraints, the -th constraint equation equation for the constraint function f may be represented as

fqi=0

let λ be an undetermined coefficient such that

λfqi=0

The Euler-Lagrange equation is

[(Lq)ddt(L˙q)]=0


we can add Lagrange multiplier to the above equation without changing it

[(Lq)ddt(L˙q)]=0=λfqi


but this is more than just equating terms that are equal to zero.

consider a system in cartesian coordinates such that

T=12m(˙x2+˙y2+˙z2)

the above coordinates may be written in term of generalized coordinates or in other words they can be expressed as functions of q_i such that

x=x(q1,q2,qs)=x(q) the same is try for y and z

the total derivative with respect to time is given by the chain rule as

˙x=xq1q1t+xq2q2t+xqsqst
=sk=1xqk˙qk=˙x(q,˙q)
T=12m(˙x2(q,˙q)+˙y2(q,˙q)+˙z2(q,˙q))


T˙qj=m(˙x˙x˙qj+˙y˙y˙qj+˙z˙z˙qj)


since

˙x=sk=1xqk˙qk

then

˙x˙qj=qjsk=1xqk˙qk=xqj only the jth term survives the derivative of the sum
T˙qj=m(˙x˙x˙qj+˙y˙y˙qj+˙z˙z˙qj)
=m(˙xxqj+˙yyqj+˙zzqj)

take derivative of both sides with respect to time

ddt(T˙qj)=m(¨xxqj+¨yyqj+¨zzqj)+m(˙xddt(xqj)+˙yddt(yqj)+˙zddt(zqj))


since

ddt(xqj)=ddqj(xt)=˙xqj here the total and partial derivatives are interchangeable


m(˙xddt(xqj))=m˙x˙xqj=qj(12m˙x2)

and

Fxm¨x

Then


ddt(T˙qj)=m(¨xxqj+¨yyqj+¨zzqj)+m(˙xddt(xqj)+˙yddt(yqj)+˙zddt(zqj))
=Fxxqj+Fyyqj+Fzzqj+qj(12m(˙x2+˙y2+˙z2)
=Qj+Tqj Lagrange's equations of motion

where

Qj=Fxxqj+Fyyqj+Fzzqj=λfqj


Qj=λfqj Generalized forces of constraint Qj

disk rolling down incline place using multipliers

Returning to the problem of a disk rolling without slipping down an incline place

T=12˙s2+12I˙θ2I=12MR2
U=Mg(ls)sinθ


L=TU=12˙s2+14MR2˙θ2Mg(ls)sinθ


f(s,θ)=sRθ


[(Lq)ddt(L˙q)]=λfqi


[(Lθ)ddt(L˙θ)]λfθ=0
12MR2¨θ2λR=0
λ=12MR2¨θ2=12M¨s2


[(Ls)ddt(L˙s)]λfs=0
MgsinθM¨sλ=MgsinθM¨s12MR2¨s2=0
¨s2=23gsinθ


substituting

λ=12MR2¨s2=12MR223gsinθ=13Mgsinθ

and

12MR2¨θ2λR=0¨θ2=23Rgsinθ
Qs=λfy=λ=13Mgsinθ=Ff
Qθ=λfθ=λR=13MgRsinθ=τ

Falling ladder

consider a ladder of length L leaning against a frictionless wall and sitting on a frictionless floor.

Since everything is frictionless the ladder will begin to fall.

Find the equation of motion for the ladder.

There are 3 degrees of freedom; The the x and y position of the ladder and the angle, θ, the ladder makes with respect to the floor.


There are 2 constraint equations

f1=xL2sinθ
f2=yL2sinθ


T=12m(˙x2+˙y2)+12I˙θ2
U=mgy
L=12m(˙x2+˙y2)+12I˙θ2mgy
[(Lq)ddt(L˙q)]=λfqi

for x:

[(Lx)ddt(L˙x)]=λ1f1x+λ2f2x


m¨x=λ1

But from the constraint equation f_1

x=L2sinθ˙x=L2cosθ˙θ¨x=L2(¨θcosθ˙θ2sinθ)

thus

λ1=mL2(¨θcosθ˙θ2sinθ)

For y:

[(Ly)ddt(L˙y)]=λ1f1y+λ2f2y
m¨y+mg=λ2

But from the constraint equation f_2

y=L2cosθ˙y=L2sinθ˙θ¨y=L2(¨θsinθ˙θ2cosθ)

thus

λ2=mL2(¨θsinθ˙θ2cosθ)+mg

for θ:

[(Lθ)ddt(L˙θ)]=λ1f1θ+λ2f2θ
mL212¨θ=λ1(L2cosθ)+λ2(L2sinθ)

substituting in for λ1 and λ2

mL212¨θ=[mL2(¨θcosθ˙θ2sinθ)](L2cosθ)+[mL2(¨θsinθ˙θ2cosθ)+mg](L2sinθ)
L3¨θ=[(¨θcosθ˙θ2sinθ)](Lcosθ)+[(¨θsinθ˙θ2cosθ)+2gL](Lsinθ)
13¨θ=[(¨θcosθ˙θ2sinθ)](cosθ)+[(¨θsinθ˙θ2cosθ)+2gL](sinθ)
=¨θcos2θ+˙θ2sinθcosθ¨θsin2θ˙θ2cosθsinθ+2gLsinθ
=¨θ(cos2θ+sin2θ)+2gLsinθ
¨θ=3g2Lsinθ
Qθ=λ1f1θ+λ2f2θ
=mgL2sinθmL24¨θ=r×FgIα
Iα = torque resulting from normal force of wall on ladder ( choose point of ladder's contact with floor as the point of rotation)

More Examples

2-D Central Force

Consider a particle of mass m that is constrained to move in 2-D due to a potential U(2).

Since this is a 2-D problem, lets use polar coordinates.

T=12m(˙r2+r2˙ϕ2)
L=12m(˙r2+r2˙ϕ2)U(r)

For the ϕ generalized coordinate parameter

Lϕ=ddt(L˙ϕ)
0=ddt(mr2˙ϕ)mr2˙ϕ=constant


for the r generalized coordinate parameter

Lr=ddt(L˙r)
mr˙ϕ2U(r)r=m¨r

let

pϕmr2˙ϕ=constant

then

m¨r=mr˙ϕ2U(r)r
=p2ϕm1r3U(r)r

Particle confined on a cylinder

Consider a particle of mass m that is experiencing a force F=kr and is constrained to move on a frictionless cylinder of radius R.

Find the equation(s) to describe its motion.

Since the particle is constrained by a cylinder it seems worthwhile to use cylindrical coordinates to describe its motion.


r=rˆr+zˆk
v=˙r=˙rˆr+r˙ϕˆϕ+˙zˆk
a=(¨rr˙ϕ2)ˆr+(2˙r˙ϕ+r¨ϕ)ˆϕ+¨zˆk


T=12mv2=12m(R2˙ϕ2+˙z2)


F=kr=k(Rˆr+zˆk)


to determine if the force is conservative.

Test if

×F=0


×F=(ˆrˆϕˆkr1rϕzkr0kz)=0


The potential energy for this force may be defined according to the work integral

U(r)=W=Fdr=k(rˆr+zˆk)(drˆr+rdϕˆϕ+dzˆk)
=12k(R2+z2)
L=12m(R2˙ϕ2+˙z2)12k(R2+z2)


Lz=ddt(L˙z)


kz=m¨z
z=Acos(ωtδ) simple harmonic motion in the z coordinate
Lϕ=ddt(L˙ϕ)
0=ddt(mR2˙ϕ)
angular momentum is conserved

ball in a bowl

consider a ball of mass m and radius r is constrained to roll without slipping spherical bowl of radius R that is in a gravitational field.


The generalized coordinate functions for this problem are ϕ and θ where ϕ is the rotation angle of the ball and θ is the angle of inclination of the ball with respect to the cylinders central axis.

T=12((Rr)2˙θ2+I˙ϕ2)
Iball=25mr2
U=mg(R(Rr)cosθ)


L=12(m(Rr)2˙θ2+I˙ϕ2)mg(R(Rr)cosθ)

constraint equation

f1(θ,ϕ)=(Rr)θrϕ=0
(Lq)ddt(L˙q)=λfqi

for the ϕ generalized coordinate function:

(Lϕ)ddt(L˙ϕ)=λ1f1ϕ
0I¨ϕ=λ1(r)λ1=I¨ϕr


for the θ generalized coordinate function:

(Lθ)ddt(L˙θ)=λ1f1θ
mg(Rr)sinθm(Rr)2¨θ=λ1(Rr)
mgsinθm(Rr)¨θ=λ1=I¨ϕr

The constraint equation


f1(θ,ϕ)=(Rr)θrϕ=0(Rr)¨θ=r¨ϕ


mgsinθm(Rr)¨θ=I¨ϕr=25mr2r(Rr)¨θr
gsinθ+(Rr)¨θ=25r¨θ
(1+25)(Rr)¨ϕ=gsinθ
¨ϕ=(5g7(Rr))gsinθ

oscillation frequency

ω=5g7(Rr)

Bead on a spinning hoop

A bead of mass m is threaded on a frictionless circular wire hoop or radius R that is rotating at a constant velocity ˙ϕ


The bead makes and angle θ with respect to the vertical.

Find equilibrium positions for the bead where it remains at a constant θ in terms of the centripetal acceleration ( ω2r )

The bead has two velocity components.

If the bead is moving up or down the circular hoop then

vt=R˙θ

The bead is moving with the circular hoop as the hoop is rotated at a constant angular velocity ω

vϕ=Rsinθω
T=12m(R2˙θ2+R2sin2θω2)


U=mgy=mgR(1cosθ)

The Lagrangian for the bead is


L=12m(R2˙θ2+R2sin2θω2)mgR(1cosθ)


Lθ=ddt(L˙θ)
mR2ω2sinθcosθmgRsinθ=mR2¨θ
¨θ=(ω2cosθgR)sinθ

For the bead to be in equilibrium the acceleration should be zero

¨θ=0(ω2cosθgR)sinθ=0


if θ=0orπ degrees then the bead is at the top or bottom of the hoop


another way is if

(ω2cosθgR)=0

or

cosθ=gω2R

if

cosθ=gω2R>1gR>ω2

Then only θ=0 and π are equilibrium positions, ω is too small , the circular ring is rotating too slowly.


if

ω2gR

then

θ=cos1(gω2R)

stability

There are two cases depending on ω

When ω2<gR and θ0

then

¨θ=(ω2cosθgR)sinθ=(ω2(1)gR)θ=ω2θ
oscillating motion due to gravity pulling it down any movement away from the bottom of the hoop will result in a net force back towards the bottom of the hoop to
ω=gRω2 oscillation frequency if bead is displaced a small amount from the bottom of the hoop

Ifθπ

Then

¨θ=(ω2gR)θ=ω2θ

If the bead moves away from θ=π then you will have oscillation again but you won't return to θ=π as gravity is pulling the bead down and the normal force only cancels this at θ=π. This is an unstable critical point.

ω=gR+ω2


When ω2gR and
θ=cos1(gω2R)θ0

then

¨θ=(ω2cosθgR)sinθ

consider a small displacement from the above angle by and amount \epsilon

θ=θ0+ϵ
cos(θ0+ϵ)=cosθ0cosϵsinθ0sinϵ
=cosθ0(1)ϵsinθ0 :: ϵ is close to zero

similarly

sin(θ0+ϵ)=sinθ0cosϵ+cosθ0sinϵ
=sinθ0(1)+ϵcosθ0 :: ϵ is close to zero


¨θ=[ω2cosθgR]sinθ
=[ω2(cosθ0ϵsinθ0)gR](sinθ0+ϵcosθ0)
=[(ω2cosθ0gR)ϵω2sinθ0](sinθ0+ϵcosθ0)

but

(ω2cosθ0gR)=0 given equilibrium condition


¨θ=[ϵω2sinθ0](sinθ0+ϵcosθ0)
=ϵω2sin2θ0ϵ2ω2sinθ0cosθ0
ϵω2sin2θ0
¨θϵω2sin2θ0

since

θ=θ0+ϵ¨θ=¨ϵ
¨ϵ=ω2sin2θ0ϵ=ω2ϵ
ω2=ω2sin2θ0
=ωsinθ0=ωsinθ0
=ωsinθ0=ωsinθ0=


(ω2cosθ0gR)=0 given equilibrium condition
sinθ0=1cos2θ0=1(gω2R)2


ω2=ω1(gω2R)2=ω2(gωR)2

Bifurcation

Bifurcation: The splitting of a main body into two parts.

In the example above, as the hoop begins to rotate in the presence of a gravitational field we have one stable equilibrium at the bottom of the hoop. When the hoops rotating frequency reaches a critical value ω2=gR then the bead will be unstable at the bottom and seek to move up the hoop. There are two possible directions equilibrium points on either side of the hoop. The system is said to have bifricated at this point.

Double Pendulum

The double pendulum problem in 2-D has two objects (4 degrees of freedom) and two constraints.

The number of generalized coordinates = 4-2 = 2

Choosing the two angles ϕ1 and ϕ2


In cartesian coordinates one may write the position and velocity of the two objects as

Object 1
x1=l1sinϕ1y1=l1cosϕ1
˙x1=l1cosϕ1˙ϕ1˙y1=l1sinϕ1˙ϕ1
Object 2 is a little more complicated as its position depends on object 1


x2=l1sinϕ1+l2sinϕ2y1=l1cosϕ1l2cosϕ2
˙x1=l1sinϕ1˙ϕ+l2sinϕ2˙ϕ2˙y1=l1sinϕ1˙ϕ1+l2sinϕ2˙ϕ2


T=12(m1˙x21+m2˙x22)
=12(m1l21˙ϕ21+m2(l21˙ϕ21+2l1l2cos(ϕ1ϕ2)˙ϕ1˙ϕ2+l22˙ϕ22))
=12(m1+m1)l21˙ϕ21+m2l1l2cos(ϕ1ϕ2)˙ϕ1˙ϕ2+12m2l22˙ϕ22
U=m1y1+m2y2
=m1gl1cos(ϕ1)m2g(l1cosϕ1+l2cosϕ2)
=(m1+m2)gl1cosϕ1m2gl2cosϕ2
L=12(m1+m1)l21˙ϕ21+m2l1l2cos(ϕ1ϕ2)˙ϕ1˙ϕ2+12m2l22˙ϕ22+(m1+m2)gl1cosϕ1+m2gl2cosϕ2
(Lq)=ddt(L˙q)


for the ϕ1 generalize coordinate paramter

(Lϕ1)=ddt(L˙ϕ1)
m2l1l2sin(ϕ1ϕ2)˙ϕ1˙ϕ2(m1+m2)gl1sinϕ1=ddt((m1+m1)l21˙ϕ1+m2l1l2cos(ϕ1ϕ2)˙ϕ2)
=(m1+m1)l21¨ϕ1m2l1l2sin(ϕ1ϕ2)(˙ϕ1˙ϕ2)˙ϕ2+m2l1l2cos(ϕ1ϕ2)¨ϕ2


if I assume small oscillations
(m1+m2)gl1ϕ1=(m1+m1)l21¨ϕ1+m2l1l2cos(ϕ1ϕ2)¨ϕ2
gl1ϕ1=l21¨ϕ1+m2(m1+m2)l1l2¨ϕ2
¨ϕ1+αβ¨ϕ2+ω20ϕ1=0


where

α=m2(m1+m2)β=l2l1ω20=gl1

for the ϕ2 generalize coordinate paramter

(Lϕ2)=ddt(L˙ϕ2)
m2l1l2sin(ϕ1ϕ2)˙ϕ1˙ϕ2m2gl2sinϕ2=ddt(m2l1l2cos(ϕ1ϕ2)˙ϕ1+m2l22˙ϕ2)
=m2l1l2cos(ϕ1ϕ2)¨ϕ1m2l1l2sin(ϕ1ϕ2)(˙ϕ1˙ϕ2)˙ϕ1+m2l22¨ϕ2


assuming small oscillations
m2gl2sinϕ2=m2l1l2¨ϕ1+m2l22¨ϕ2
¨ϕ1+β¨ϕ2+ω20ϕ2=0

Solving coupled ODEs

The double pendulum's motion for small angles is described by a set of coupled , non-linear, second order ordinary differential equations.


¨ϕ1+αβ¨ϕ2+ω20ϕ1=0
¨ϕ1+β¨ϕ2+ω20ϕ2=0


where

α=m2(m1+m2)β=l2l1ω20=gl1

create a linear combination of the ODEs by adding them together using an arbitrary constant

¨ϕ1+αβ¨ϕ2+ω20ϕ1=0
+γ(¨ϕ1+β¨ϕ2+ω20ϕ2=0)
(1+γ)¨ϕ1+(α+γ)β¨ϕ2+ω20(ϕ1+γϕ2)


Now require that the raio of the coefficients for the non-differential terms r1 be equal to the ratio of the coefficients for the double differential terms

(α+γ)β(1+γ)=γ1
(α+γ)β=γ(1+γ)
αβ+γβ=γ+γ2
γ2+(1β)γαβ=0
γ=(1β)±(1β)24(αβ)2

http://www-physics.ucsd.edu/students/courses/fall2010/physics110a/LECTURES/CH06.pdf



Forest_Ugrad_ClassicalMechanics