This paper analyzed the movement of a double inverted pendulum from the movement of the rigid body. Using dynamics and Lagarange method as well as state space to model for the double inverted pendulum, which is the theoretic guidance for the studying of the stability for the nonlinear system.