Take . The Airy equation is . To discuss positivity of this linear operator, use its homogeneous variation domain . Integration by parts gives
The boundary term is zero at both ends. The same calculation with two different functions proves that the associated form is a symmetric bilinear form. Positivity here concerns the homogeneous domain; the condition instead defines an affine set of admissible solutions.
For the variational problem define
and minimize
The Sobolev trace at zero is meaningful in . No derivative boundary value is imposed on this trial space: the Neumann boundary condition will emerge naturally. For , Cauchy-Schwarz inequality and integration give
so . Thus is a bounded, symmetric, coercive bilinear form on the Hilbert space . The Lax-Milgram theorem says that a bounded coercive bilinear form and a bounded linear functional determine a unique weak solution. Apply it to
and set . This is precisely the first variation condition for .
Compactly supported test functions first yield in the sense of distributional derivatives. Since , the solution is in . Integration by parts then leaves for every , hence . The other boundary condition is built into . Conversely a solution of this boundary value problem satisfies the first variation condition. Finally,
This proves existence, uniqueness and the global minimum characterization, including the natural boundary condition. It is the mixed-boundary Airy energy principle.