The dynamical system $\dot{\vec x}=f(\vec x)$ (R) is called a gradient system if there exists a function $V(\vec x)$ such that $f(\vec x)=-\nabla V(\vec x).$ Show that if (R) is a gradient system then $$\frac{\partial f_i}{\partial x_i}-\frac{\partial f_j}{\partial x_j}=0.$$
Where do I begin with this?