The inverse problem of the calculus of variations is the problem of finding variational principles for systems of differential equations. By using the general theory of the variational bicomplex, it is shown that the inverse problem for ordinary differential equations is equival…