Josh Altic
x1 x2
O
1
L1
x1 = L1 sin(1 )
x2 = L1 sin(1 ) + L2 sin(2 ) y1 m1
L2
y1 = L1 cos(1 ) 2
m2
y2 = L1 cos(1 ) L2 cos(2 )
y2
P = m1 gy1 + m2 gy2
We know that
K = 1/2mv 2 .
Which brings us to
K = 1/2m(x 2 + y 2 ).
position: differentiating:
x1 = L1 sin(1 ) x1 = L1 cos(1 )1
x2 = L1 sin(1 ) + L2 sin(2 ) x2 = L1 cos(1 )1 + L2 cos(2 )2
y1 = L1 cos(1 ) y1 = L1 sin(1 )1
y2 = L1 cos(1 ) L2 cos(2 ) y2 = L1 sin(1 )1 + L2 sin(2 )2
L = K P.
Thus:
L
= L1 g (m1 + m2 ) sin(1 ) m2 L1 L2 1 2 sin(1 2 )
1
L
= (m1 + m2 )L21 1 + m2 L1 L2 2 cos(1 2 )
1
d L
= (m1 + m2 )L21 1 + m2 L1 L2 2 cos(1 2 )
dt 1
m2 L1 L2 2 sin(1 2 )(1 2 )
d L L
=0
dt
L
= m2 L1 L2 1 2 sin(1 2 ) L2 m2 g sin(2 )
2
L
= m2 L22 2 + m2 L1 L2 1 cos(1 2 )
2
d L
= m2 L22 2 + m2 L1 L2 1 cos(1 2 )
dt 2
m2 L1 L2 1 sin(1 2 )(1 2 )
Josh Altic Double Pendulum
Substituting into the Euler-Lagrange equation for 2
d L L
=0
dt
z1 = 1 z1 = 1
z2 = 2 z2 = 2
z3 = 1 z3 = 1
z4 = 2 . z4 = 2 .
z1 = 1
z2 = 2
m1
1.5 m2
1
y1 and y2
0.5
0.5
m1
1.5 m2
1
0.5
y1 and y2
0.5
1.5
2
2 1 0 1 2
x1 and x2
0.5
y1 and y2
0.5
1.5
2 1 0 1 2
x1 and x2
Josh Altic Double Pendulum
example of nearly cyclical behavior of the system
2
m1
1.5 m2
1
0.5
y1 and y2
0.5
1.5
2 1 0 1 2
x1 and x2
Josh Altic Double Pendulum
Example of Chaotic behavior of the system
m1
1 m2
0.5
y1 and y2
0.5
1.5
2 1 0 1 2
x1 and x2
Josh Altic Double Pendulum