---
title: "Laser gain, threshold and cavity modes | Sandbox Physics"
description: "Follow how pumping creates gain and mirrors feed light back. Compare round-trip gain and loss, then find the spacing of the cavity modes."
canonical_url: "https://sandboxphysics.com/learn/light-and-imaging/laser-gain-and-cavity-modes/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/learn/light-and-imaging/laser-gain-and-cavity-modes/"
last_modified: "2026-11-24"
---

[Volume 4 · Light, Imaging and Measurement](https://sandboxphysics.com/learn/light-and-imaging/)

# How do gain and feedback make a laser oscillate?

Follow how pumping creates gain and mirrors feed light back. Compare round-trip gain and loss, then find the spacing of the cavity modes.

Before you start: [Volume 2 Chapter 6](https://sandboxphysics.com/learn/oscillations-and-waves/standing-waves-and-fourier/) on standing modes and [Chapter 3](https://sandboxphysics.com/learn/light-and-imaging/two-path-interference/) of this volume on interference. This chapter introduces energy levels.

After this chapter you can: Predict which cavity modes meet the threshold and calculate their frequency spacing.

A laser starts to oscillate when light returns in phase and gains more power per round trip than it loses. The mirrors set the frequencies that return in phase. The pumped medium can amplify those frequencies. Once a mode grows, stimulated emission uses up some of the inversion, limiting further growth.

## 6.1 Use pumping to turn absorption into gain

An atom or molecule can change from an upper energy level to a lower one by emitting light. In stimulated emission, an existing optical field drives that transition and the emitted light adds to the same mode. Absorption acts in the other direction, taking power from the field. For equal upward and downward stimulated transition coefficients, net gain at that transition requires more population in the upper laser level than in the lower one.

Pumping supplies energy to the medium. If a pump drives the same two levels with equal stimulated rates, it drives atoms up and down. Raising the pump can bring those populations close together, but spontaneous decay still favours the lower level. A four-level scheme pumps through a separate upper state and quickly empties the lower laser level. It can then build inversion without filling the lower laser level in step with the upper one.

### 6.1.1 Compare the ideal population balances

Let $R_p$ be the pump rate per available atom, $\tau$ the upper-level lifetime and $N$ the total population. In the symmetric two-level model, the upper fraction $x$ gains population at rate $R_p(1-x)$ and loses it at rate $R_p x+x/\tau$. In the ideal four-level model, the lower laser level empties quickly. Loading the upper laser level at $R_p(1-x)$ and losing population at $x/\tau$ gives a different balance. Ignoring depletion by a strong laser field, the two steady inversion fractions are

$$
\frac{\Delta N_{2\mathrm L}}{N}=-\frac{1}{1+2R_p\tau},\qquad
\frac{\Delta N_{4\mathrm L}}{N}=\frac{R_p\tau}{1+R_p\tau}.
$$

Open [Pumping & Population Inversion](https://sandboxphysics.com/labs/pumping-population-inversion/). Set the pump rate to $4.00\,\mathrm{ms^{-1}}$ and the upper lifetime to $2.00\,\mathrm{ms}$. The product is $R_p\tau=8.00$. The two-level inversion is about $-0.0588$ and the four-level inversion about $0.889$. Compare the two inversion readouts. Strong pumping brings the symmetric two-level model closer to saturation. It gives the four-level model a positive inversion because the lower laser level stays nearly empty.

## 6.2 Find the frequencies that return in phase

In a linear cavity, light travels from one mirror to the other and back. Take the mirror separation to be $L$ and assume a uniform, nondispersive refractive index $n$. Let $\lambda$ be the wavelength inside the cavity, and ignore any net mirror phase shift. For a standing mode to reproduce itself, the round-trip phase must be an integer multiple of $2\pi$.

$$
\frac{4\pi L}{\lambda}=2\pi m,\qquad
\nu_m=\frac{mc}{2nL},\qquad
\Delta\nu=\frac{c}{2nL}.
$$

Here $m$ is the longitudinal mode order, $c$ is the speed of light in vacuum and $\Delta\nu$ is the spacing between neighbouring modes. Each mode has an integer number of half-wavelengths between the mirrors. A $0.200\,\mathrm m$ air cavity has mode spacing about $750\,\mathrm{MHz}$. Doubling the length halves the spacing.

A material often amplifies only a band of frequencies around a transition. The cavity can support several modes within that band. Which modes can grow depends on how much gain and loss each one sees. Once the field is large, modes can also compete for the same inversion.

## 6.3 Find the gain that balances the loss

Let $R_1$ and $R_2$ be mirror power reflectivities. A gain section of length $\ell$ gives power a factor $e^{g\ell}$ per pass in the small-signal limit, so $g$ is a power gain coefficient per unit length. Let $\alpha$ be a uniform power loss coefficient per unit length of cavity. The round trip passes through the gain section twice, travels a distance $2L$, and reflects off each mirror once.

$$
\eta_{\mathrm{rt}}=R_1R_2\exp(2g\ell-2\alpha L).
$$

At a phase-matched frequency, a small field decays if $\eta_{\mathrm{rt}}<1$ and grows if $\eta_{\mathrm{rt}}>1$. Threshold is $\eta_{\mathrm{rt}}=1$. With identical mirrors of reflectivity $R$, a medium that fills the cavity and negligible internal loss, it reduces to

$$
g_{\mathrm{th}}L=-\ln R.
$$

For $R=0.960$, the threshold value is $g_{\mathrm{th}}L\approx0.0408$. The single-pass threshold power factor is the reciprocal of the reflectivity. In a physical laser, spontaneous emission can seed an allowed mode. As that mode grows, stimulated emission reduces the inversion. In steady operation, the gain of an oscillating mode balances its loss.

## 6.4 Change phase and pump separately in the cavity Lab

Open [Laser Resonant Cavity](https://sandboxphysics.com/labs/laser-resonant-cavity/). Choose **On resonance**. The **Cavity length** is $L/\lambda=12.00$, so the nearest longitudinal order is $m=24$. **Round-trip detuning** is about zero. With **Pump / threshold** at $1.35$, the modeled **Intracavity power** grows toward $14.7$ in arbitrary units.

Choose **Detuned**. The pump is unchanged and the length moves to $L/\lambda=12.23$. The round-trip detuning rises to about $+2.89\,\mathrm{rad}$ and the modeled power falls close to zero. Then choose **Below threshold**. The length returns to exact resonance, but the pump ratio falls to $0.72$. The resonant phase matches while the modeled field decays.

**Table 6.1** Power targets in the teaching model. The live power readout relaxes toward these values and displays one decimal place.

| Preset | Length in wavelengths | Pump / threshold | Power target in arbitrary units |
| --- | --- | --- | --- |
| On resonance | $12.00$ | $1.35$ | $14.7$ |
| Detuned | $12.23$ | $1.35$ | $0.00622$ |
| Below threshold | $12.00$ | $0.72$ | $0$ |

- Pump above threshold
- Pump below threshold

**Figure 6.1** Simulated steady intracavity power targets near longitudinal order 24. Both curves use the same mirror reflectivity and vary cavity length in wavelengths. The higher pump gives a narrow resonance. The lower pump gives zero target power even at the matched phase.

The Lab varies length at a fixed reference wavelength and scales its power target with a resonance factor. The gain bandwidth controls the envelope drawn over the mode spectrum. The power trace follows a teaching relaxation toward the target, so its time scale is a display choice. A physical laser can shift to another mode within its gain band as the cavity length changes.

## 6.5 Exercises

1. In the symmetric two-level pumping model, can the upper population exceed the lower population at steady state? What does a very large pump do?
2. In an ideal four-level model, $R_p\tau=3.00$. Find the steady inversion fraction with negligible stimulated depletion.
3. A linear cavity has optical length $nL=0.300\,\mathrm m$. Estimate the longitudinal mode spacing using $c=3.00\times10^8\,\mathrm{m/s}$.
4. In a fixed-wavelength sweep, the length is increased by $\lambda/4$. How much round-trip phase is added? If the original length was resonant, does the new length remain resonant at that wavelength?
5. A cavity has identical mirrors of power reflectivity $R=0.900$, negligible internal loss and gain filling the cavity. Find the threshold logarithmic single-pass gain.
6. At a phase-matched frequency, the round-trip power multiplier is $0.980$. What happens to a small initial stored field?
7. What happens to the small-signal gain after stimulated emission has built a strong steady field?
8. In the Lab, resume an above-threshold preset and then lengthen the cavity slightly at fixed pump. Why can the power drop even with the pump above threshold?

Exercise 1

The steady inversion stays negative for every finite pump rate. Large pumping drives the populations toward equality because it stimulates upward and downward transitions at the same rate per atom.

Exercise 2

The fraction is $3.00/(1+3.00)=0.750$. This model keeps the lower laser level nearly empty, so the upper fraction gives the inversion.

Exercise 3

Use $\Delta\nu=c/(2nL)$. The spacing is $500\,\mathrm{MHz}$.

Exercise 4

The added phase is $4\pi(\lambda/4)/\lambda=\pi$. That is halfway between successive phase matches, so the new length is off resonance at the reference wavelength.

Exercise 5

The threshold is $g_{\mathrm{th}}L=-\ln(0.900)\approx0.105$. Each pass needs enough gain to make up one reflection's loss.

Exercise 6

The stored power decreases by a factor of $0.980$ on each round trip. Phase matching lets returning amplitudes add coherently, while the power multiplier sets their net growth or decay.

Exercise 7

Stimulated emission depletes the inversion and reduces the gain from its small-signal value. In steady operation, the remaining gain for the oscillating mode balances the cavity loss.

Exercise 8

Changing length changes the round-trip phase at the reference wavelength. The pump stays high, but the returning field moves away from phase matching. The Lab's resonance factor and power target both fall.

## Test it in the Lab

Change one setting at a time, then compare what you see with the tables and answers in this chapter.

[Pumping & Population Inversion → Pumping two levels only bleaches them. A three-level gas needs over half its atoms pumped; a four-level gas gains at once. Watch all three under one lamp.](https://sandboxphysics.com/labs/pumping-population-inversion/) [Laser Resonant Cavity → Two mirrors pick out longitudinal modes, and a gain medium makes up the loss on each round trip. Change the cavity length, mirror reflectivity and pump, and watch the standing wave, round-trip phase, gain profile and allowed modes change together.](https://sandboxphysics.com/labs/laser-resonant-cavity/)

## Sources and reading scope

1. [OpenStax, University Physics Volume 3, §8.6 Lasers](https://openstax.org/books/university-physics-volume-3/pages/8-6-lasers)

   The section explains stimulated emission, population inversion and optical feedback in a laser.

2. [MIT 6.013 Electromagnetics and Applications, §12.3.2 Laser Amplifiers and Oscillators](https://ocw.mit.edu/courses/6-013-electromagnetics-and-applications-spring-2009/MIT6_013S09_chap12.pdf)

   The section compares round-trip gain with mirror and propagation losses to find the threshold for oscillation.

3. [MIT 6.974 Fundamentals of Photonics, Chapter 7 Lasers](https://www.ocw.mit.edu/courses/6-974-fundamentals-of-photonics-quantum-electronics-spring-2006/18f30fad63a62ef4dd894d3752b55a60_chapter7.pdf)

   The chapter relates longitudinal mode spacing to the round-trip time and separates small-signal growth from the saturated steady output.

[← Chapter 5 · How does a detector measure polarization?](https://sandboxphysics.com/learn/light-and-imaging/measuring-polarization/)

Chapters in this volume

- [1. Where does light go at an interface?](https://sandboxphysics.com/learn/light-and-imaging/reflection-and-refraction/)
- [2. How does a lens form an image?](https://sandboxphysics.com/learn/light-and-imaging/thin-lenses-and-imaging/)
- [3. How do two paths produce bright and dark fringes?](https://sandboxphysics.com/learn/light-and-imaging/two-path-interference/)
- [4. What sets the finest detail an optical system can resolve?](https://sandboxphysics.com/learn/light-and-imaging/diffraction-and-resolution/)
- [5. How does a detector measure polarization?](https://sandboxphysics.com/learn/light-and-imaging/measuring-polarization/)
- [6. How do gain and feedback make a laser oscillate?](https://sandboxphysics.com/learn/light-and-imaging/laser-gain-and-cavity-modes/)

## Keep reading

Interactive Physics Textbook · Reading path

### Light, Imaging and Measurement

1. [Article **Where does light go at an interface?**](https://sandboxphysics.com/learn/light-and-imaging/reflection-and-refraction/)
2. [Article **How does a lens form an image?**](https://sandboxphysics.com/learn/light-and-imaging/thin-lenses-and-imaging/)
3. [Article **How do two paths produce bright and dark fringes?**](https://sandboxphysics.com/learn/light-and-imaging/two-path-interference/)
4. [Article **What sets the finest detail an optical system can resolve?**](https://sandboxphysics.com/learn/light-and-imaging/diffraction-and-resolution/)
5. [Article **How does a detector measure polarization?**](https://sandboxphysics.com/learn/light-and-imaging/measuring-polarization/)
6. [You are here **How do gain and feedback make a laser oscillate?**](https://sandboxphysics.com/learn/light-and-imaging/laser-gain-and-cavity-modes/)

1 more group

### Other articles that use the same experiments

Each experiment from this article that another series also uses, followed by the articles there.

1. [Lab **Pumping & Population Inversion**](https://sandboxphysics.com/labs/pumping-population-inversion/)
2. [Article **How an ammonia beam became a microwave oscillator**](https://sandboxphysics.com/stories/probe-evidence/maser-inversion-and-feedback/)
