Lagrange equation