In the calculus of variations, the condition
must hold at a corner of a minimizing arc .
Weisstein, Eric W. "Weierstrass-Erdman Corner Condition." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/Weierstrass-ErdmanCornerCondition.html