Given two points in 3-space, $A = (9, 1, 5)$ and $B=(2,8,7)$, the work done by the gravitational field $\bf{F}$ when an object is moved from point $A$ to point $B$ comes out positive, even though it is work done against gravity! What am I missing here?
$\bf{F}$$=-\nabla V$, $V=-\frac{GMm}{r}$, $r=\sqrt{x^2+y^2+z^2}$. Using the Second Fundamental Theorem for Line Integrals, we have: $V(2,8,7)-V(9,1,5)=-\frac{GMm}{\sqrt{117}}+\frac{GMm}{\sqrt{107}}$, which is positive! But the distance $\|B\|$ is bigger than $\|A\|$. Something is not right, please help.