In my textbook, I have this example which says
$X\sim U(0,\theta)$ we show that the family of PDFs of X is complete. We need to show that $E(g(x))=\int_{0}^{\theta}\frac{1}{\theta}g(x)dx=0\ \ \ \ \ \forall \ \ \ \theta>0$
iff $g(x)=0 $ for al $x$. They applied lebnitz integral rule(differentiation under integral sign) and got $g(\theta)=0$
But we had to prove $g(x)=0$ isn't it? How does $g(\theta)=0 $ makes it a complete sufficient statistic?