The one-dimensional Sobolev representative of is absolutely continuous, and its zero trace gives
Consequently for the Hardy operator. Applying the Hardy averaging inequality to gives the Hardy inequality on an interval:
Multiply the differential equation by and integrate. The Hardy inequality on an interval makes the terms containing and integrable. For smooth , integration by parts gives
because and the Neumann boundary condition is . Therefore
The density of smooth functions in a Sobolev space and continuity of all four terms extend this weak formulation to every .
For , the trace vanishes. Apply the Hardy inequality on an interval with to obtain
Thus .
Define on the bilinear form
and the linear functional
The Hardy inequality on an interval, Cauchy-Schwarz inequality, and the one-sided Poincare inequality show that is a bounded bilinear form and that
For , , so Cauchy--Schwarz and Fubini's theorem give
Hence
Thus is a coercive bilinear form. The Lax-Milgram theorem supplies a unique satisfying for every . This is precisely the unique weak solution described by the weak boundary value problem with an inverse-square potential.
On , the form
is bounded and coercive. The Hardy inequality on an interval controls its singular term, while the one-sided Poincare inequality controls the first-order term. Thus the Lax-Milgram theorem gives a unique weak solution for every functional with .