The quantity that is independent of the path taken is the work done by a conservative force. Conservative forces are forces that do not depend on the path taken by an object, but only on the initial and final positions of the object. In contrast, non-conservative forces, such as friction, do depend on the path taken, as they do work on an object as it moves.