If a Force F only depends on a particle’s position x, we define the Potential energy as V(x):=−∫Fdx F:Rn→Rn is a Force only dependent on position