The whole time of going and coming is

and the distance traveled in this time is

neglecting terms of the fourth order. The length of the other path is evidently

or to the same degree of accuracy,

. The difference is therefore