Suppose $f:U\to\mathbb R^n$ a differentiable function where $U\subseteq\Bbb R^n$ is an open set.
I want to prove that:
$|f(x)|$ is constant for every $x\in U$ $\implies \det \mathfrak J\equiv 0$.
where $\mathfrak J(x)$ is the Jacobian matrix at the point $x$.
My attempt
Let's define $g(x)=|f(x)|$.
So $g'(x)\cdot v=\frac{\langle f'(x)\cdot v,f(x)\rangle}{|f(x)|}=0$ for every $v\in U$.
Therefore
$$\langle f'(x)\cdot v,f(x)\rangle=0,\ \forall v\in U.$$
Can we use this fact to prove the question?