Double pendulum equations of motion
ID: double-pendulum-equations-of-motion
Write . Applying the Euler-Lagrange equations to the double pendulum Lagrangian, then dividing by , givesFor example, the upper generalized momentum is . Its time derivative contains . Subtracting cancels the mixed product and leaves the positive term in the first equation. This cancellation is a useful check on the sign convention.
The matrix multiplying the two angular accelerations isIt is invertible for every configuration, so specified angles and angular velocities determine both angular accelerations. For the same reason whenever the angular velocities are not both zero. The mass cancels from the motion equations, while the timescale is set by .
As an exact constructed release, put , , and both angular velocities zero. Solving the two equations at release yieldsFor , the upper rod initially moves back toward vertical, while the lower rod initially moves away from it. The lower pivot's acceleration makes this possible even though the lower rod starts vertical. The small-angle approximation gives and .
The conserved mechanical energy is , because the Lagrangian has no explicit time dependence. Directly, is times the first equation multiplied by plus the second multiplied by , so the equations imply . This also supplies a check when computing a trajectory.
New to topics? Read the docs here!