I'm in trouble with this exercise
Let $\Omega \subset \mathbb{R^n}$ be a bounded Lipschitz domain and let $p \in ]1,n[$. prove that there exists $C>0$ such that, for every $f \in W^{1,p}(\Omega)$ one has $\Vert f-f_{\Omega}\Vert_{L^p(\Omega)} \leq C \Vert Df\Vert_{L^p(\Omega)}$. And what about $p=1$ and $p \geq n$?
Here $f_{\Omega} = 1/$ L$^n({\Omega}) \int_{\Omega} f$ $d$L$^n$ and L is the Lebesgue measure.
I have an idea but I can't formalize it: I reason by contradiction and try to use the compactness theorem. Now I'm stuck. Some hints?
This is what I've found: For every $n > 0$ there exists $f_n$ such that:
$\Vert f_n-f_{n,\Omega}\Vert_{L^p(\Omega)} > n \Vert Df_n\Vert_{L^p(\Omega)}$
Now, I choose $g_n = \dfrac{f_n-f_{n,\Omega}}{\Vert f_n-f_{n,\Omega}\Vert_{L^p}}$. It's quite simple to see that $g_n \in W^{1,p}, g_{n,\Omega}=0$ and $ \Vert g_n \Vert_{L^p} =1 $ for every $n$.
By compactness theorem there exists a subsequnce $\{ g_{n_j} \}_j$ and $g \in W^{1,p}$ such that $g_{n_j} \to g$ in $L^p$. Now, $g_{\Omega} = 0$ and we may assume wlog $ \Vert g \Vert=1 $. From here issues start.
My idea is to show that $\nabla g = 0$ in $\Omega$.
If it holds then $g$ is constant in $\Omega$ and thus $g = 0$ necessarily, which is absurd since $ \Vert g \Vert=1 $.
How can I prove $\nabla g = 0$?