I am trying to understand how one uses the theory of quadratic forms to prove self adjointness of various operators.
Here are some example questions on the SE proving self adjointness in this way.
(1) quantum harmonic oscillator operator
(2) associated Legendre operator
They have provided sources (for example Kato's book) which develop the theory of quadratic forms and lead to the theorems that are claimed to be used to show self adjointness of the above linked operators.
What I do not understand however, is that the theory presented in Kato's book is done over a complex Hilbert space.
In examples (1) and (2) the Hilbert space is $L^2(-1,1)$ which is real. How is it they can use the theory developed in Kato to show self adjointness?
Is there a way to show that the above real scenario can be done as a special case of the complex scenario?