Focusing on the nonlinear behavior of a pendulum, learn new ways to deal with nonlinear systems of differential equations. These include Hamiltonian and Lyapunov functions. A Hamiltonian function remains constant along all solutions of special differential equations, while a Lyapunov function decreases along all solutions.