# is potential energy mgh, negative when a particle is displaced against gravity?

$U = -\int_{ref}^{r} \vec F. d \vec r$