Two paths lead to the top of a hill. The first path is short and steep. The second path is longer and steeper. The gain in potential energy is more for which path?
Same for both the paths
Gain or loss of potential energy does not depend on the path. It depends only on the total height or vertical displacement of the body. Here, potential energy for both the paths will be the same as the height of the hill remains constant.