This is a problem out of Chapter 3 of Luenberger's Optimization by Vector Space Methods that I have been having trouble with. Any guidance would be appreciated.
Let $w(t)$ be a positive (weight) function defined on the interval $[a,b]$ of the real line. Assume the integrals $$\int_a^bt^nw(t)\text{ d}t$$ exist for $n=1,2,\ldots$. Define the inner product of two polynomials $p$ and $q$ as $$\langle p,q\rangle=\int_a^bp(t)q(t)w(t)\text{ d}t.$$ Beginning with the sequence $\{1,t,t^2,\ldots\}$, we can employ the Gram-Schmidt procedure to produce a sequence of orthonormal polynomials with respect to this weight function. Show that the zeros of the real orthonormal polynomials are real, simple, and located on the interior of $[a,b]$.