Lably
Skip to content

Double pendulum

Pendulum with another pendulum attached to its end

  • 4 min read
  • 2 chapters

Related on Lably

Through Physics, Mathematics and Dynamical system

Analysis and interpretation

Several variants of the double pendulum may be considered; the two limbs may be of equal or unequal lengths and masses, they may be simple pendulums or compound pendulums (also called complex pendulums) and the motion may be in three dimensions or restricted to one vertical plane. In the following analysis, the limbs are taken to be identical compound pendulums of length ℓ and mass m, and the motion is restricted to two dimensions.

In a compound pendulum, the mass is distributed along its length. If the double pendulum mass is evenly distributed, then the center of mass of each limb is at its midpoint, and the limb has a moment of inertia of I = ⁠1/12⁠mℓ2 about that point.

Although it is possible to derive the equations of a double pendulum with Newtonian mechanics, it is considered to be cumbersome to work with as it would require resolving vectors with respect to constraint forces. So it is more convenient to use the angles between each limb and the vertical as the generalized coordinates defining the configuration of the system. These angles are denoted θ1 and θ2. The position of the center of mass of each rod may be written in terms of these two coordinates. If the origin of the Cartesian coordinate system is taken to be at the point of suspension of the first pendulum, then the center of mass of this pendulum is at:x1=12ℓsin⁡θ1y1=−12ℓcos⁡θ1

and the center of mass of the second pendulum is at x2=ℓ(sin⁡θ1+12sin⁡θ2)y2=−ℓ(cos⁡θ1+12cos⁡θ2) This is enough information to write out the Lagrangian.

Lagrangian

The Lagrangian is given by L=kinetic energy−potential energy=12m(v12+v22)+12I(θ˙12+θ˙22)−mg(y1+y2)=12m(x˙12+y˙12+x˙22+y˙22)+12I(θ˙12+θ˙22)−mg(y1+y2) The first term is the linear kinetic energy of the center of mass of the bodies and the second term is the rotational kinetic energy around the center of mass of each rod. The last term is the potential energy of the bodies in a uniform gravitational field. The dot-notation indicates the time derivative of the variable in question.

Using the values of x1 and y1 defined above, we have x˙1=θ˙1(12ℓcos⁡θ1)y˙1=θ˙1(12ℓsin⁡θ1) which leads to v12=x˙12+y˙12=14θ˙12ℓ2(cos2⁡θ1+sin2⁡θ1)=14ℓ2θ˙12.

Similarly, for x2 and y2 we have x˙2=ℓ(θ˙1cos⁡θ1+12θ˙2cos⁡θ2)y˙2=ℓ(θ˙1sin⁡θ1+12θ˙2sin⁡θ2)

and therefore

v22=x˙22+y˙22=ℓ2(θ˙12cos2⁡θ1+θ˙12sin2⁡θ1+14θ˙22cos2⁡θ2+14θ˙22sin2⁡θ2+θ˙1θ˙2cos⁡θ1cos⁡θ2+θ˙1θ˙2sin⁡θ1sin⁡θ2)=ℓ2(θ˙12+14θ˙22+θ˙1θ˙2cos⁡(θ1−θ2)).

Substituting the coordinates above into the definition of the Lagrangian, and rearranging the equation, gives L=12mℓ2(θ˙12+14θ˙12+14θ˙22+θ˙1θ˙2cos⁡(θ1−θ2))+124mℓ2(θ˙12+θ˙22)−mg(y1+y2)=16mℓ2(θ˙22+4θ˙12+3θ˙1θ˙2cos⁡(θ1−θ2))+12mgℓ(3cos⁡θ1+cos⁡θ2).

The equations of motion can now be derived using the Euler–Lagrange equations, which are given by ddt∂L∂θ˙i−∂L∂θi=0,i=1,2. We begin with the equation of motion for θ1. The derivatives of the Lagrangian are given by ∂L∂θ1=−12mℓ2θ˙1θ˙2sin⁡(θ1−θ2)−32mgℓsin⁡θ1 and ∂L∂θ˙1=43mℓ2θ˙1+12mℓ2θ˙2cos⁡(θ1−θ2). Thus ddt∂L∂θ˙1=43mℓ2θ¨1+12mℓ2θ¨2cos⁡(θ1−θ2)−12mℓ2θ˙2(θ˙1−θ˙2)sin⁡(θ1−θ2). Combining these results and simplifying yields the first equation of motion, 43ℓθ¨1+12ℓθ¨2cos⁡(θ1−θ2)+12ℓθ˙22sin⁡(θ1−θ2)+32gsin⁡θ1=0.

Similarly, the derivatives of the Lagrangian with respect to θ2 and θ˙2 are given by ∂L∂θ2=12mℓ2θ˙1θ˙2sin⁡(θ1−θ2)−12mgℓsin⁡θ2 and ∂L∂θ˙2=13mℓ2θ˙2+12mℓ2θ˙1cos⁡(θ1−θ2). Thus ddt∂L∂θ˙2=13mℓ2θ¨2+12mℓ2θ¨1cos⁡(θ1−θ2)−12mℓ2θ˙1(θ˙1−θ˙2)sin⁡(θ1−θ2).

Plugging these results into the Euler-Lagrange equation and simplifying yields the second equation of motion, 13ℓθ¨2+12ℓθ¨1cos⁡(θ1−θ2)−12ℓθ˙12sin⁡(θ1−θ2)+12gsin⁡θ2=0.

No closed form solutions for θ1 and θ2 as functions of time are known, therefore the system can only be solved numerically, using the Runge Kutta method or similar techniques.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Topics in mathematics