Two paths lead to the top of a hill. One is shorter and steeper and the second one is longer but less steep. For which of the two paths is the gain in potential energy more?
Same for both the paths
Potential energy = m×g×h
where m is the mass of the object
g is the acceleration due to gravity
and h is the vertical height above the ground.
Gain or loss of potential energy doesn’t depend on path. It depends on the total height or displacement of the body. Gain in potential energy for both the paths will be the same as the height of the hill remains constant, irrespective of the path.