Differentiate the Legendre differential equation and put . This gives
Multiplication by puts it in the self-adjoint form
The boundary term vanishes at . Distinct eigenvalues are therefore orthogonal with weight :
At a regular constrained stationary point of on , the Lagrange multiplier method solves
For the first problem, substitute to obtain
Its stationary equations imply either or , and in either case the only real stationary point is , . Coercivity ensures that the minimum is attained, so
at .
For the second problem, the arithmetic-geometric mean inequality gives
Consequently
Equality occurs at , and hence
With the stated Fourier transform convention, Fourier inversion gives
For , close the contour in the upper half-plane. Jordan lemma removes the semicircle contribution, and the only enclosed pole is . Its residue is
The residue theorem therefore yields

There are unlisted articles, also show them or only show them.