Let C denote the path from $\alpha$ to $\beta$. If $\textbf{F}$ is a gradient vector, that is, there exists a differentiable function $f$ such that $$\nabla f=F,$$ then \begin{eqnarray*} \int_{C}\textbf{F}\; ds &=& \int_{\alpha}^{\beta} \textbf{F}(\vec{c}(t)).\vec{c'}(t)\; dt \\ &=&\int_{\alpha}^{\beta} \nabla f(\vec{c}(t)).\vec{c'}(t)\; dt \\ &=&\int_{\alpha}^{\beta} \frac{\partial f(\vec{c}(t))}{\partial t}\; dt \\ &=&f(\vec{c}(\beta))- f(\vec{c}( \alpha)) \end{eqnarray*} That is, the integral of $\textbf{F}$ over $C$ depends on the values of the end points $c(\beta)$ and $c(\alpha)$ and is thus independent of the path between them.
This proof is true if and only if $\textbf{F}$ is a gradient vector, what if not ?