To minimize: over , need to solve Euler-Lagrange: If is a vector (or there are multiple functions of involved), then get multiple equations: First integrals If : If : Multivariable case Suppose we now have where . The equation becomes: Higher derivative case Suppose now : Note that we can rewrite: