In an engineering textbook I found this formula for "the potential $u$ of a vector field $V=(X,Y,Z)$.
$u=u(x,y,z) = \int_{x_1}^x X(x,y,z) dx + \int_{y_1}^y X(x,y,z) dy + \int_{z_1}^z X(x,y,z) dz$
My Guess is from point $(x_1,y_1,z_1)$ to any point $(x,y,z)$ if $V$ is a gradient field. But even in this case the formula is not correct or is it?