If has zero trace at zero, then
Indeed, the one-dimensional Sobolev representative satisfies , so the claim is the Hardy averaging inequality applied to .
Set
The Holder inequality gives
Using and integration by parts, while discarding the nonpositive boundary term at , yields
Another application of Hölder's inequality gives
After cancellation, with the zero case immediate,
This is the Hardy averaging inequality.
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: