This Demonstration shows the motion of a quadruple pendulum, consisting of four point masses connected by massless rods. In common with the double and triple pendulum, the quadruple pendulum can exhibit chaotic behavior. After you change a control, click the "reset" button to see the effect.
The equations of motion for each mass in the quadruple pendulum system are second-order differential equations derived from the Euler–Lagrange equation. These second-order differential equations are solved via Mathematica's NDSolve function.
In this system, the potential energy of each of the masses increases with its height. The total potential and kinetic energies, along with the conserved total energy, are shown in the graphic.

### DETAILS

Following are the steps for finding the equations of motion for each mass in the quadruple pendulum:
1. Find the equations for both kinetic energy and potential energy.
2. From these equations, calculate the Lagrangian by subtracting potential energy from kinetic energy.
3. The partial derivative of the Lagrangian with respect to the derivative of each angle is calculated (call this expression 1).
4. Calculate the derivative of expression 1 with respect to time (call this expression 2).
5. Calculate the partial derivative of the Lagrangian with respect to each angle (call this expression 3).
6. Set expressions 2 and 3 equal to form the Euler–Lagrange differential equation.
There are four Euler–Lagrange differential equations, all of which are second order. Each of these four equations correlates to the angle of the corresponding mass in the quadruple pendulum.
Reference

### PERMANENT CITATION

 Share: Embed Interactive Demonstration New! Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details » Download Demonstration as CDF » Download Author Code »(preview ») Files require Wolfram CDF Player or Mathematica.