Let $\Omega$ be an open bounded domain and let $\varphi\in C^{\infty}_c(\Omega)$. Let $f, g:\Omega\to\mathbb{R}$ be two smooth functions. Consider the equation $$\int_{\Omega} (f(x)\varphi(x) +g(x)\varphi^{\prime}(x)) dx=0.$$
My question is: there is relation between $f(x)$ and $g(x)$? It is true that $f(x)=g(x)=0$ a.e.?
About me the answer to the last question is no. Firstly, since $\varphi\in C^{\infty}_c(\Omega)$, thus so it is $\varphi^{\prime}$. Moreover, I think that we can only say that $f(x)=-g(x)$ a.e. and they have not to be necessarily $0$.
Could someone please tell me if am I wrong and/or help me to answer also the first question?
Thank you in advance!