Examples in which the light maximizes the optical path length I posted a similar question about geodesics on Math.SE. Many sources (Wikibooks for instance) claim that the light could maximize the optical path length in some cases. But I don't think it's actually true since between two points I can always imagine a path with arbitrary length. Therefore, or the light minimizes the optical length or it's stationary (neither maximum nor minimum). My question is: is the trajectory in red in the figure below a local minimum or a stationary curve?

If I'm wrong, please provide some examples which the light propagates in trajectory of maximum length.
 A: Answer
Ray in red is the shortest path if and only if $\theta_I=\theta_R$ and light only travels in such path to reach point B via mirror.
It is not a local minimum, because the shortest way, of course is a straight line connecting $A$ and $B$.  
Red line with $\theta_I = \theta_R$ is a stationary curve of the group of curves that go through A, B and a point (s) on the mirror.
Extra stuff
In an ellipsoidal case, you have three points 
$O$-$D$-$O$
What is the shortest path connects $O$,$D$ and back to $O$? of course, it is a straight line going from $O$ to $D$ and then back to $O$. Although the time travels from $O$ to $O$ is maximum, for the particular path, $O$-$D$-$O$, light chooses the path such that time it travels is the minimum.  
In the mirror example, the problem that is in question is not the minimum path between two points ($A$ and $B$). The real question is

Where is a point in the mirror $P$, such that if you connext $A$-$P$-$B$, it gives you the minimum distance?

Then you can make an argument as represented in wikibook page to find the point $P$.
Turns out, empirically, we have enough data and examples to conclude that light travels such path (the path such that time the light travels is the least).
Yes, in the mirror example, light source can be a light bulb, and the light from the light bulb can travel completely opposite to B, reflected off the wall of the room, bounced off 1000000 times, and finally reach the point B. Sure this way takes the most time.
However, the path that light have taken is the path such that connects all 1000000 points of reflection and gives light a least time to travel.
Hope it helps.
A: The mirror isn't drawn right. The angles should be equal.  
But it is a local minimum. Fermat's principle says minimum time. If the ray stays in one medium, it travels at constant speed. Minimum time is minimum distance. That is, there are many paths from A to mirror to B. The path a ray takes picks the point on the mirror that has the shortest path. 
You can see it like this: 

A: As with Fermat,  light won't "choose" a longer path as that would violate Feynman's principle of least action.   It just doesn't happen.
