Let $U$ be an open connected subset of $\Bbb R^n$ and $f : U \to \Bbb R$ be a differentiable function such that $D f (p) = 0$ for all $p \in U$ then $f$ is a constant function.
If we can prove that $f$ is constant about each point in $U$ i.e., let if $x \in U$, there exists $B(x, r_x) \subset U$. Then if we can show that $f$ is constant on the nbd $B(x, r_x)$ then we are done. I think we have to use MVT.
Help Needed!