I’m reading Fermat’s principle of least time from the Feynman lectures. And the following question popped.
Suppose we have a medium whose the refractive index is a (continuous) function of the position. Then consider two points $A$ and $B$ in the medium.
Question 1: Can the refractive index be such a function of position that we have in fact two paths of “stationary” time (as I read on Wikipedia, it need not be least) form $A$ to $B$? (The time taken need not be the same for both the paths, but these paths make their corresponding times local extrema.)
Question 2: If such a refractive index medium ceases to exist, why so? If not, which path will the light go?