Euler–Lagrange equation
To minimize the expression, employ calculus of variations and obtain the Euler–Lagrange equation: