All the lettered points in given Figure lie in one plane. The line CD separates the plane into two regions: on the left, a wave has the speed w; and on the right, the speed w.
Show by the method of Lagrangian multipliers that the time for the wave to travel the path APB is a minimum when w/w' = sin Φ /sin Φ'.