where L (x, v) is the Lagrangian of the one-dimensional system with position variable x (t) and velocity v = ẋ (t) considered (see below), and dx j corresponds to the position at the j th time step, if the time integral is approximated by a sum of n terms.