 Legendre–Clebsch condition

In the calculus of variations the Legendre–Clebsch condition is a second-order condition which a solution of the Euler–Lagrange equation must satisfy in order to be a maximum (and not a minimum or another kind of extremal).For the problem of maximizing

the condition is

In optimal control, the situation is more complicated because of the possibility of a singular solution.