Is "undefined"???
Surely you mean just "show that the integral defines an inner product on that space". And you do that, as dwsmith said, by showing that the "rules" for an inner product are satisfies.Integrate (x*p(x)*q(x)) d(x) (from -1 to 1)
I have no clue in how to prove this =(