On the Validity of the Euler-Lagrange Equation in a Nonlinear Case