Legendre's Condition/Lemma 2

Lemma 2
Let $ h$ be a real function such that:


 * $ h \in C^1 \left ( { a, b } \right ), \quad h \left ( { a } \right )= 0, \quad h \left ( { b } \right ) = 0 $

Let


 * $ \displaystyle \delta^2 J \left [ { y; h } \right ] = \int_a^b \left ( { P \left ( { x, y \left ( { x } \right ) } \right ) h'^2+Q \left ( { x, y \left ( { x } \right ) } \right ) h^2 } \right ) \mathrm d x $

Then a necessary condition for


 * $ \delta^2 J \left [ { y; h } \right ] \ge 0$

is


 * $ P \left ( { x, y \left ( { x } \right ) } \right ) \ge 0 \quad \forall x \in \left [ { a \,. \,. \, b } \right ]$

Proof
Assume that above is not true.

Then


 * $ \left( \exists x_0 \in \left [ { a \,. \,. \, b } \right ] \right ) \left( \exists \beta \in \R_{ < 0 } \right ) : P \left ( { x_0 } \right ) = - 2 \beta $

$ P $ is continuous.

Then


 * $ \exists \alpha \in \R_{ > 0 } : \left ( {a \ge x_0 - \alpha } \right ) \land \left ( {x_0 + \alpha \ge b } \right )$

and


 * $ P \left ( { x } \right ) < - \beta \quad \forall x \in \left ( { { x_0 - \alpha } \,. \,. \, { x_0 + \alpha } } \right ) $

Let


 * $ h = \begin{cases}

\sin^2 \left [ { \frac{ \pi \left ( { x-x_0 } \right)  }{ \alpha  } } \right ] > 0 & x_0 - \alpha \ge x \ge x_0 + \alpha \\ 0 & otherwise \end{cases}$

Then

where


 * $ \displaystyle M = \max_{ a \le x \le b } \left \vert Q \left ( { x } \right ) \right \vert $

For sufficiently small $ \alpha $ the is negative.

Hence, $ \delta^2 J $ is negative for the corresponding $ h$.