# Double pendulum

### From Tabitha

Back to Chaotic Motion.

Check out the Double Pendulum Fractal Explorer and an article about the double pendulum: File:Double.pdf.

We need at least two degrees of freedom to have a chaotic system. We have integrated several systems with two or more degrees of freedom: planetary orbits, two-dimensional harmonic oscillators, coupled oscillators. Because we solved them they probably don't exhibit chaotic motion. How about the double pendulum?

It turns out that the simple double pendulum is pathological, so we will have to be a bit more sophisticated in our modelling of this system. Specifically, let's imagine we have two thin rods () connected by a pivot and the end of one rod suspended from a pivot.

It is natural to define the coordinates to be the angle between each rod and the vertical. We will denote this by θ_{1} and θ_{2}. We can write the position of the centre of mass of the two rods in terms of these coordinates. We have

and

This is enough information to write out the Lagrangian.

### Lagrangian

The Lagrangian is given by where we have taken the kinetic energy to be sum of the kinetic energy of the centre of mass of each rod and the kinetic energy about the centres of mass of the rods. The potential energy of a body in a uniform gravitational field is given by the potential energy at the centre of mass.

Plugging in the coordinates above and doing a bit of algebra gives

Before we get the equations of motion, we find that there is only one conserved quantity (the energy), and no conserved momenta. We can write the two momenta as

and

Let's invert these expressions to get

and

We can write the remaining equations of motion as

and

### Poincaré Plot

Often one has to look at a system for a really long time before its chaotic nature becomes evident. Furthermore, phase space has a lot of dimensions to it so it is quite hard to visualize what is happen. Henri Poincaré devised a neat way to study trajectories through phase space. Define a region in phase space and plot where the trajectory intersects the region, and finally project the region onto a plane.

In the case of the pendulum we are going to look at the plane for sinθ_{2} = 0.

To illustrate the onset of chaos, we start will slightly different initial conditions and plot the Poincaré plots for about one thousand oscillations of the system in the Poincaré Gallery.

### Fractals

Chaotic motion is intimately connected with fractals. For example, we could plot whether either pendulum flips within a set period of time as a function of the initial conditions to see the general structure of the solutions.

We have plotted along the x-direction, the value of θ_{1} from -3 to 3 and along the y-direction the value of θ_{2} from -3 to 3. The colour of each pixel indicates whether either pendulum flips within 10 (green), within 100 (red), 1000 (purple) or 10000 (blue). Those that don't flip within 10000 are plotted white.

The boundary of the central white region is defined in part by energy conservation (see this solution for further details) with the following curve Within the region defined by this curve, that is if it is energetically impossible for either pendulum to flip. Outside this region, the pendulums can flip but this is different from determining when they will flip.