On the Euler-Lagrange Equation for a Variational Problem