A radial or "central" force field $\mathbf{F}$ in the plane can be written in the form $\mathbf {F}(x,y)=f(r)\mathbf{r} $, where $\mathbf {r}=x\mathbf{i}+y\mathbf {j}$ and $r=\Vert \mathbf {r}\Vert$. Show that such a force field is conservative.
This problem is an exercise of Apostol Vol. II and came immediately after the Second Fundamental Theorem of Calculus for Line Integrals (SFTCLI) (the first fundamental theorem is ennounced after the SFTCLI and also after this problem ).
It is said that a vector field $\mathbf {f}$ is conservative if it is a gradient of some scalar field $\varphi$, which is called the potential function of $\mathbf {f}$. It is all I know to prove this, by now I don't know how to prove that $\mathbf {F}$ is a gradient. I verified that $\varphi_{xy}=\varphi_{yx}$ (where $\varphi$ is supposed to be the potential function of $\mathbf{F}$) but I know that is not a sufficient argument to say that $\mathbf{F}$ is a gradient.
$$\mathbf {F}(x,y)= xf(r)\mathbf {i} +yf(r)\mathbf {j}=\nabla_{\varphi}$$
$$\varphi_{x}=xf(r), \varphi_{y}=yf(r) $$
$$\varphi_{xy}=xf'(r)\frac{\partial r}{\partial {y}}=\frac{xyf'(r)}{\sqrt{x^2+y^2}}$$
$$\varphi_{yx}=yf'(r)\frac{\partial r}{\partial {x}}=\frac{xyf'(r)}{\sqrt{x^2+y^2}}$$
What can I do?
Observe an anti-derivative of $rf(r)$ is given by \begin{align} F(r) = \int^r_0 \tau f(\tau)\ d\tau. \end{align} In particular, if $r = \|\mathbf{r}\|$, then it follows from FTC and chain rule that \begin{align} \nabla F(r) = rf(r)\nabla\mathbf{r}. \end{align} Moreover, observe that \begin{align} \nabla \mathbf{r} = \frac{x}{r}\mathbf{i} +\frac{y}{r}\mathbf{j}, \end{align} then it follows \begin{align} \nabla F(r) = f(r)(x\mathbf{i}+y\mathbf{j}). \end{align}