When discussing whether or not a cavity is stable, i.e., if a beam stays inside the cavity, one can either employ the ABCD-matrix approach, in which case the cavity is stable if $$ 0 \leq \frac{A+D+2}{4} \leq 1 $$ In a cavity with two perfectly parallel planar mirrors, for example, $A=D=1$, and the relation holds. Another approach, when using curved mirrors, is to define $$ g_1 = 1 - \frac{L}{R_1}, \quad g_2 = 1- \frac{L}{R_2} $$ where $L$ is the optical path length in the cavity and $R_i$ the radii of the curved mirrors (negative if the mirror is concave). Stability is then given if $$ 0 \leq g_1 g_2 \leq 1 $$ Now, my question: which approach, if any of those two, would I use if I had a ring resonator, specifically a bow-tie type cavity?
There are 4 mirrors here, 2 curved and 2 planar, and some other elements like Brewster windows or an etalon. Is there e.g. some numerical approach I could calculate with Mathematica or similar?
