---
title: "Stable Resonator Geometry Interactive Lab | Sandbox Physics"
description: "Does a stable cavity guarantee that its beam fits through the aperture? No; stability and fit are two separate checks."
canonical_url: "https://sandboxphysics.com/labs/stable-resonator-geometry/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/stable-resonator-geometry/"
last_modified: "2026-10-28"
---

L10 · Modes and cavity design

# Stable Resonator Geometry

**Does a stable cavity guarantee that its beam fits through the aperture?** No; stability and fit are two separate checks. A displaced ray stays near the axis if the mirror curvatures and spacing put the cavity inside its stability range. Even then, the Gaussian mode can be wider than the aperture, so check the mode size there too. Cases right on the edge of stability, such as the confocal cavity, need extra care.

Change the curvature of two mirrors and the distance between them. See how the stability map connects to an ABCD ray trace, the Gaussian waist and the aperture loss over two passes, and explore the confocal, plane-parallel, hemispherical and concentric boundaries.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

The model uses aligned spherical mirrors in air and scalar paraxial optics, with concave radii counted as positive. Axial position is measured from the rear mirror. Transverse height is positive upward, and the ray slope is taken along the local direction of travel. The Gaussian radius is where the intensity falls to one over e squared of its peak. Inside the stable region, the round-trip matrix has exactly one fixed point with a positive imaginary part. The exact confocal geometry has a whole family of solutions; the displayed centered symmetric Gaussian is one chosen member, not the only solution. No finite mode is assigned at the other boundary points. Aperture loss integrates the undistorted Gaussian twice per round trip. It leaves out diffraction reshaping, finite mirror apertures, gain guiding, thermal lensing, tilt and astigmatism. A ray stops when it hits the physical aperture or leaves the paraxial range. Mirror sag and transverse sizes are schematic, but the ray and the Gaussian outline share the same transverse magnification.

Laser foundations · Light, gain and feedback

[L01 · Compare sources](https://sandboxphysics.com/labs/laser-source-comparison/) [L02 · Count transitions](https://sandboxphysics.com/labs/light-matter-transitions/) [L03 · Build inversion](https://sandboxphysics.com/labs/population-inversion/) [L04 · Amplify once](https://sandboxphysics.com/labs/single-pass-amplifier/) [L05 · Add feedback](https://sandboxphysics.com/labs/passive-optical-resonator/) [L06 · Start from noise](https://sandboxphysics.com/labs/laser-noise-startup/) [L07 · Build and debug](https://sandboxphysics.com/labs/build-debug-laser/) [L08 · Measure and diagnose](https://sandboxphysics.com/labs/laser-diagnostic-bench/) [L09 · Select axial modes](https://sandboxphysics.com/labs/gain-longitudinal-modes/) [L10 · Confine the beam](https://sandboxphysics.com/labs/stable-resonator-geometry/) [L11 · Select spatial modes](https://sandboxphysics.com/labs/transverse-laser-modes/) [L12 · Propagate and measure](https://sandboxphysics.com/labs/gaussian-beam-quality/) [L13 · Align and match](https://sandboxphysics.com/labs/alignment-mode-matching/) [L14 · Optimize extraction](https://sandboxphysics.com/labs/output-coupler-optimization/) [L15 · Drive the dynamics](https://sandboxphysics.com/labs/laser-dynamics-relaxation/) [L16 · Store and release](https://sandboxphysics.com/labs/q-switched-giant-pulse/) [L17 · Lock phases into pulses](https://sandboxphysics.com/labs/mode-locking-frequency-comb/) [L18 · Calibrate the comb](https://sandboxphysics.com/labs/optical-frequency-comb/) [L19 · Inject carriers](https://sandboxphysics.com/labs/semiconductor-laser-diode/) [L20 · Compare gain media](https://sandboxphysics.com/labs/laser-medium-zoo/) [L21 · Distributed gain](https://sandboxphysics.com/labs/fiber-fbg-laser/) [L22 · Choose feedback](https://sandboxphysics.com/labs/laser-feedback-architectures/) [L23 · Balance ultrafast pulses](https://sandboxphysics.com/labs/ti-sapphire-oscillator/) [L24 · Stretch and compress](https://sandboxphysics.com/labs/chirped-pulse-amplification/) [L25 · Trap and extract](https://sandboxphysics.com/labs/regenerative-multipass-amplifier/) [L26 · Convert frequencies](https://sandboxphysics.com/labs/nonlinear-frequency-conversion/) [L27 · Scatter and cascade](https://sandboxphysics.com/labs/raman-brillouin-lasers/) [L28 · Synchronize a slave](https://sandboxphysics.com/labs/injection-locking/) [L29 · Lock to a reference](https://sandboxphysics.com/labs/pdh-frequency-lock/) [L30 · Measure phase noise](https://sandboxphysics.com/labs/laser-linewidth-phase-noise/) [L31 · Scatter for feedback](https://sandboxphysics.com/labs/random-laser/) [L32 · Diagnose thermal scaling](https://sandboxphysics.com/labs/thermal-lensing/) [L33 · Combine coherent fields](https://sandboxphysics.com/labs/coherent-beam-combining/) [L34 · Sustain a Kerr pulse](https://sandboxphysics.com/labs/microresonator-kerr-comb/) [L35 · Return a delayed field](https://sandboxphysics.com/labs/external-feedback-chaos/) [L36 · Scan without mode hops](https://sandboxphysics.com/labs/tunable-laser-scan/)

Physical basis: [MIT: coherence and spectrum](https://ocw.mit.edu/courses/res-6-006-video-demonstrations-in-lasers-and-optics-spring-2008/resources/coherence-length-and-source-spectrum/) · [Rate equations](https://ocw.mit.edu/courses/6-977-ultrafast-optics-spring-2005/resources/chapter2/) · [Pumping and gain media (§7.2)](https://ocw.mit.edu/courses/6-974-fundamentals-of-photonics-quantum-electronics-spring-2006/bf3bdeb971819ddc9c68719d28bb2745_classnotes.pdf) · [Laser dynamics](https://ocw.mit.edu/courses/6-977-ultrafast-optics-spring-2005/resources/chapter4/)

Physics tutorial

## A cavity must reproduce its transverse field

**Background** Resonance along the axis fixes the frequencies, and the mirror curvatures decide whether the beam stays confined sideways. A Gaussian mode of the cavity comes back with the same complex beam parameter after every round trip.

**Why it matters** The stability product by itself hides what happens at the edges of the stable region. Following a ray, finding the Gaussian mode and estimating aperture loss each show something the others miss.

Start with the essentials

- **Focus question**: How can a cavity be geometrically stable but strongly clipped, or exactly periodic without a unique Gaussian mode?
- **One-sentence intuition**: Inside the stable region, the eigenvalues have magnitude one and rays stay bounded. Where the eigenvalues coincide, you need the whole matrix: the confocal map is minus the identity and brings every ray back, while a Jordan-form map lets the displacement keep growing.

### Core mathematical model

#### Propagation and reflection

$$
\begin{aligned}P(L)&=\begin{pmatrix}1&L\\0&1\end{pmatrix}\\M_i&=\begin{pmatrix}1&0\\-2/\mathcal R_i&1\end{pmatrix}\end{aligned}
$$

The ray vector holds the height above the axis and the local forward slope. A plane mirror has no focusing power. Each round trip starts just after the reflection at the rear mirror.

#### Round-trip stability

$$
\begin{aligned}M&=M_1P M_2P\\g_i&=1-L/\mathcal R_i\\\operatorname{tr}M&=4g_1g_2-2\\\det M&=1\end{aligned}
$$

A cavity is strictly inside the stable region when the product lies between zero and one. At the boundary values, the matrix itself has to be examined; a simple stable or unstable label does not apply.

#### Gaussian mode as a fixed point

$$
\begin{aligned}q&=\frac{Aq+B}{Cq+D}\\q(z)&=z-z_0+iz_R\\w^2(z)&=w_0^2\left[1+\left(\frac{z-z_0}{z_R}\right)^2\right]\\w_0^2&=\frac{\lambda z_R}{\pi}\end{aligned}
$$

Take the solution with a positive imaginary part. Its real part gives the waist position, and its imaginary part gives the Rayleigh range. The beam radius and every beam outline in the scene come from this one solution.

#### Symmetric cavity check

$$
\begin{aligned}z_0&=L/2\\z_R&=\frac12\sqrt{L(2\mathcal R-L)}\\w_0^2&=\frac{\lambda z_R}{\pi}\end{aligned}
$$

This closed-form result is an independent check on the matrix solution. At the confocal point, the chosen symmetric mode has a Rayleigh range equal to half the cavity length.

#### Confocal degeneracy

$$
\begin{aligned}\mathcal R_1&=\mathcal R_2=L\\M&=-\mathbb I\\M^2&=\mathbb I\end{aligned}
$$

In the ideal paraxial map, every ray returns after two round trips. The fixed-point equation does not pick out a single beam, so the Lab explicitly chooses the symmetric one to display.

#### Two-pass aperture estimate

$$
\begin{aligned}u_a&=\frac{2a^2}{w^2(z_a)}\\Q_a&=(1-e^{-u_a})^2\\\ell_a&=1-Q_a\end{aligned}
$$

The beam crosses the circular aperture twice per round trip. The estimate integrates the undisturbed Gaussian intensity; strong clipping changes the mode itself and needs a diffraction calculation.

### Common difficulties

#### Unit eigenvalues are not enough on a boundary

**Typical misconception** If the eigenvalues have magnitude one, the beam is safely confined.

**Better mental model** On the boundary, a map that cannot be diagonalized can make displacements grow polynomially. The exact confocal map can be diagonalized, but it is degenerate and sensitive to asymmetric changes.

#### Ray and Gaussian are different tests

**Typical misconception** A surviving ray proves the whole optical mode fits.

**Better mental model** One ray can pass an aperture that cuts off a substantial part of the Gaussian beam. The integrated loss and the ray status answer different questions.

#### Aperture loss is not a field solution

**Typical misconception** The clipped cavity retains exactly the same Gaussian eigenmode.

**Better mental model** The readout integrates an undistorted Gaussian reference. When the loss is large, diffraction reshapes the mode and that assumption fails.

### Run the experiment

1. 01

   #### Link the matrix to the ray path

   Trace 32 passes in Stable symmetric. Change only the launch height or angle, then trace again.

   **What to observe:** The Gaussian mode stays the same. The test ray follows a different bounded path, unless the aperture stops it.

2. 02

   #### Test the exact confocal cavity

   Choose Exact confocal and step four times. Then change the curvature radius of just one mirror by one centimetre, up or down.

   **What to observe:** In the exact case the ray repeats. Changing just one curvature puts the cavity on the boundary with a Jordan-form map, and the deviations build up. Changing both curvatures further can take the cavity into an unstable wedge.

3. 03

   #### Look at the boundary cavities

   Compare the Plane-parallel, Hemispherical and Concentric boundary presets, tracing each with the same nonzero launch angle.

   **What to observe:** Repeated eigenvalues can have magnitude one even while the deviations build up. These boundary cases are not confocal, and no finite Gaussian mode is assigned to them.

4. 04

   #### Separate stability and clipping

   Compare Near concentric and Stable but clipped. Move the aperture along the cavity, then increase wavelength.

   **What to observe:** Near a boundary the Gaussian spot can be large. Changing the aperture or the wavelength changes the clipping but leaves the geometric stability product unchanged.

Physical conclusion

Pick a geometry inside the stable region, with a useful waist and enough room at the aperture. The confocal family is a special case, and a Gaussian clipping estimate is no substitute for a diffraction calculation.

## Related experiments and articles

Continue exploring

### Confine and select a mode

A stable cavity supports light. What decides which spatial pattern grows?

1. [Lab **Stable Resonator & Transverse Modes** Curve and space two mirrors, then size an iris until only the fundamental mode reaches the camera.](https://sandboxphysics.com/labs/stable-resonator-transverse-modes/)
2. [You are here **Stable Resonator Geometry** Change both mirrors and inspect bounded rays and aperture loss.](https://sandboxphysics.com/labs/stable-resonator-geometry/)
3. [Lab **Transverse Laser Modes** Let pump overlap and saturation select competing modes.](https://sandboxphysics.com/labs/transverse-laser-modes/)

Waves & optics · Starter path

## From one ray to interference measurement

Start with refraction, find where the ray picture stops working, then use interference to measure tiny distances.

[Start here → **Optical Boundary Explorer** Turn the incident angle and watch reflected and transmitted power trade off. Then switch to the critical-angle scene. Observe · 11 min](https://sandboxphysics.com/labs/optical-boundary-explorer/)

1. [1 Optical Boundary Explorer](https://sandboxphysics.com/labs/optical-boundary-explorer/)
2. [2 Rainbow Caustic Observatory](https://sandboxphysics.com/labs/rainbow-laboratory/)
3. [3 Camera Obscura](https://sandboxphysics.com/labs/camera-obscura/)
4. [4 Coherent Wave Composer](https://sandboxphysics.com/labs/coherent-wave-composer/)
5. [5 Young Double-Slit Bench](https://sandboxphysics.com/labs/young-double-slit-bench/)
6. [6 Michelson Precision Lab](https://sandboxphysics.com/labs/michelson-precision-lab/)

[View the full path →](https://sandboxphysics.com/topics/waves-and-optics/#starter-path)
