I have an assignment in where i need to prove if a given continuous base is orthonormal and complete. I have the theory but no examples as a starting point.
$$\phi_n (k,x) = \Bigg\{ \sqrt{\frac{2}{\pi}} sin(kx) \Bigg\}$$
with:
$$0 \leqslant k < \infty, 0 \leqslant x < \infty$$
In the course notes I have, the test for orthonormality says:
$$\int_a^b p(x) \phi^*(k,x)\phi(k,x)dx = \delta(k - k') $$
I'm very confused cause in the given base i don't know how to do this test, by the presence of the weight function $p(x)$
$$\frac{2}{\pi}\int_0^{\infty} p(x) sin(kx) sin(kx) dx $$
from this point i assume the two "vectors" are the same so the inner product must be 1, but again i don't know what to do with the presence of the $p(x)$