Define the weighted inner product . For the stated operator , integration by parts gives the Lagrange identity for a Sturm-Liouville operator
The endpoint terms vanish for Dirichlet boundary conditions. Taking proves each eigenvalue is real, since makes the squared weighted norm positive. For eigenfunctions of distinct eigenvalues, the same identity gives , proving their orthogonality.
For the specific equation, divide by to obtain , so its weight is , with . Put , and . The logarithmic change of variable in a Sturm-Liouville problem gives . Remove the first derivative with ; the equation becomes , with .
The Dirichlet spectrum with inverse-square weight is therefore
Indeed . Values give a linear or hyperbolic transformed solution and no nonzero solution vanishing at both ends.