Hi, i got a question:
Suppose $f: U \to R$ , where $U $ is an open and convex set of $R \ ^ n $ s.t $ D_1 f(x) = 0$ for all $x \in U $.
Given $x,y \in U $ , s.t $x_i=y_i $ for $ i=2,\dots ,n$
i need to prove that $ f(x)=f(y)$
I defined $g : [0,1] \to U $ s.t $ g(t) = tx +(1-t)y$.
I want to say that f composition g has derivative zero using chain rule but i dont know that $f$ is differential.
So, how should I continue?