---
title: Nonlinear optics
heading: The nonlinear polarization of intense light, second-harmonic generation and the phase-matching problem, coherence length, birefringent and quasi-phase matching, the optical Kerr effect and the nonlinear index, and self-phase modulation in fiber
eyebrow: S13 · Lesson 42 · Nonlinear optics
xp: 50
---

::: hook
A green laser pointer is usually an infrared laser at 1064 nm whose light passes through a small crystal that doubles its frequency to 532 nm. At ordinary intensities materials respond linearly to light; at the intensities of a focused laser, the polarization picks up terms in the square and cube of the field, which generate new frequencies and make the refractive index depend on intensity. The catch for frequency conversion is phase: the new wave must keep in step with the old one, which dispersion prevents unless the crystal is engineered for it.
:::

::: play
- The relative second-harmonic power from a crystal of length L, for a phase mismatch set by the coherence length $L_c$: proportional to $L^2\,\text{sinc}^2$, or $\sin^2(\pi L/2L_c)$.
- Without phase matching the power oscillates with a period of $2L_c$: a few micrometers in lithium niobate. Only a phase-matched crystal (dashed: growth as $L^2$) builds up useful power.
- Quasi-phase matching flips the crystal's orientation every $L_c$, so the power keeps growing in steps.
:::

```sim plot
view: graph
x: L = 0..20 µm
y: P = 0..1.05
slider: c = 1..10 step 0.1 = 3.4 µm
plot: sin(pi*L/(2*c))^2/(pi*20/(2*c))^2 | samples: 600 | label: not phase matched (relative)
plot: (pi*L/(2*c))^2/(pi*20/(2*c))^2 | samples: 600 | dashed | color: ch3 | label: phase matched (scaled to 1 at 20 µm)
readout: period of the oscillation, µm = 2*c | digits: 3
readout: quasi-phase-matching period, µm = 2*c | digits: 3
```

::: predict
## In lithium niobate, $n_e$ = 2.156 at 1064 nm and 2.234 at 532 nm. Over what length does second-harmonic light stay in step with its source before it starts to convert back?

- [ ] About 1 mm
- [ ] About 100 µm
- [x] About 3.4 µm
- [ ] About 0.1 µm

::: reveal
The fundamental drives polarization at 2ω traveling with the fundamental's index, while the free second-harmonic wave travels with its own. They slip by π after the coherence length $L_c = \lambda/(4\Delta n)$ = 1.064 µm/(4 × 0.078) = 3.41 µm. Periodically poled lithium niobate reverses the crystal every 3.41 µm (a 6.82 µm period) to keep the power growing.
:::
:::

::: nameit
## Nonlinear polarization

$$P = \epsilon_0\left(\chi^{(1)}E + \chi^{(2)}E^2 + \chi^{(3)}E^3 + \cdots\right)$$

$\chi^{(2)}$ exists only in crystals without inversion symmetry; $\chi^{(3)}$ in every material.

## Second-harmonic generation

A field at ω drives polarization at 2ω, which radiates a second harmonic. Its power after length L is

$$P_{2\omega} \propto \frac{d_\text{eff}^2L^2P_\omega^2}{A}\,\text{sinc}^2\!\left(\frac{\Delta kL}{2}\right)$$

with $\Delta k = k_{2\omega} - 2k_\omega = (4\pi/\lambda)(n_{2\omega} - n_\omega)$ and λ the fundamental's wavelength. Efficiency grows with the square of input intensity.

## Phase matching

- **Coherence length** $L_c = \pi/\Delta k = \lambda/(4\Delta n)$.
- **Birefringent phase matching:** choose polarizations and the crystal angle so that an extraordinary index at 2ω equals an ordinary one at ω (lesson 11's $n(\theta)$).
- **Quasi-phase matching:** reverse the nonlinear coefficient every $L_c$ (period $2L_c$), as in periodically poled lithium niobate.

## The Kerr effect

$\chi^{(3)}$ makes the index depend on intensity: $n = n_0 + n_2I$, with $n_2 \approx 2.6 \times 10^{-20}$ m²/W in silica. In a fiber of effective area $A_\text{eff}$, the nonlinear coefficient $\gamma = 2\pi n_2/(\lambda A_\text{eff})$ gives a **self-phase modulation** of $\phi_\text{NL} = \gamma PL_\text{eff}$, with $L_\text{eff} = (1 - e^{-\alpha L})/\alpha$.
:::

::: example
## Design quasi-phase matching for 1064 → 532 nm in lithium niobate, and compare a crystal half a coherence length long with one a full length.

::: solution
1. **Coherence length and period.** $L_c$ = 3.41 µm, so the poling period is $2L_c$ = 6.82 µm.
2. **Unmatched, half a coherence length.** A crystal of length $L_c/2$ keeps
   $$\text{sinc}^2(\pi/4) = 0.81$$
   of what perfect matching would give for that length.
3. **Unmatched, a full coherence length.** One of length $L_c$ keeps only 0.41; beyond that the power falls back.
4. **Matched.** The power keeps growing as $L^2$ over centimeters, which is how efficient doublers work.

**Answer:** the poling period is 6.82 µm ($L_c$ = 3.41 µm); unmatched, a crystal half a coherence length long keeps 0.81 of the matched output and one a full length only 0.41.
:::
:::

::: example
## Standard fiber ($n_2$ = 2.6 × 10⁻²⁰ m²/W, $A_\text{eff}$ = 80 µm², 0.2 dB/km) carries 10 mW at 1550 nm over 100 km. How much self-phase modulation builds up?

::: solution
1. **Nonlinear coefficient.**
   $$\begin{aligned} \gamma &= \frac{2\pi \times 2.6 \times 10^{-20}}{1.55\ \mu\text{m} \times 80\ \mu\text{m}^2} \\ &= 1.32\ \text{W}^{-1}\text{km}^{-1} \end{aligned}$$
2. **Effective length.** Loss limits it to
   $$\begin{aligned} L_\text{eff} &= \frac{1 - e^{-4.6}}{0.0461}\ \text{km} \\ &= 21.5\ \text{km} \end{aligned}$$
3. **Nonlinear phase.**
   $$\begin{aligned} \phi_\text{NL} &= 1.32 \times 0.01 \times 21.5 \\ &= 0.28\ \text{rad} \end{aligned}$$
4. **At higher power.** At 100 mW per channel it would be 2.8 rad, enough to distort pulses, so nonlinearity as well as loss limits how much power a link can use.

**Answer:** about 0.28 rad of self-phase modulation builds up.
:::
:::

::: example
## What peak power gives π radians of self-phase modulation in 1 km of standard fiber (γ = 1.32 W⁻¹km⁻¹, 0.2 dB/km)?

::: solution
1. **Loss in nepers.**
   $$\begin{aligned} \alpha &= \frac{0.2}{4.343} \\ &= 0.0461\ \text{per km} \end{aligned}$$
2. **Effective length.**
   $$\begin{aligned} L_\text{eff} &= \frac{1 - e^{-0.0461}}{0.0461}\ \text{km} \\ &= 0.977\ \text{km} \end{aligned}$$
   hardly less than the real kilometer.
3. **Power for π radians.**
   $$\begin{aligned} P &= \frac{\pi}{\gamma L_\text{eff}} \\ &= \frac{\pi}{1.32 \times 0.977}\ \text{W} \\ &= 2.44\ \text{W} \end{aligned}$$
4. **In practice.** Mode-locked lasers' kilowatt peaks reach this in a meter, which is how supercontinuum sources broaden a pulse's spectrum to an octave in a short length of fiber.

**Answer:** a peak power of 2.44 W.
:::
:::

::: check
given: l = 0.8 | 1.064 | 1.55; d = 0.02 | 0.078 | 0.15
answer: l/(4*d)
unit: µm
tolerance: 0.5%

## For second-harmonic generation of {l} µm light, the indices at the fundamental and harmonic differ by {d}. What's the coherence length?

::: right
Right. $\lambda/(4\Delta n)$ = {answer} µm.
:::

::: misses
- [l/(2*d)] That's the quasi-phase-matching period, twice the coherence length.
- [any] Not yet. $L_c = \pi/\Delta k$.
:::
:::

::: check
given: l = 0.8 | 1.064 | 1.55; d = 0.02 | 0.078 | 0.15
answer: l/(2*d)
unit: µm
tolerance: 0.5%

## What poling period quasi-phase-matches the same process ({l} µm, Δn = {d})?

::: right
Right. $2L_c = \lambda/(2\Delta n)$ = {answer} µm.
:::

::: misses
- [l/(4*d)] That's one coherence length; the period has two domains.
- [any] Not yet. Flip every coherence length.
:::
:::

::: check
given: r = 0.25 | 0.5 | 0.75 | 1.5
answer: sin(pi*r/2)^2/(pi*r/2)^2
tolerance: 0.5%

## A crystal is {r} coherence lengths long and not phase matched. What fraction of the phase-matched second-harmonic power does it give?

::: right
Right. $\text{sinc}^2(\Delta kL/2) = [\sin(\pi r/2)/(\pi r/2)]^2$ = {answer}.
:::

::: misses
- [any] Not yet. $\Delta kL/2 = \pi L/(2L_c)$.
:::
:::

::: check
given: n = 2.6 | 3 | 30; I = 1 | 10 | 100
answer: n*1e-20*I*1e13
tolerance: 0.5%

## A material with $n_2$ = {n} × 10⁻²⁰ m²/W carries {I} GW/cm². How much does its index change?

::: right
Right. $n_2I$ = {answer}.
:::

::: misses
- [n*1e-20*I*1e9] Convert GW/cm² to W/m²: × 10¹³.
- [any] Not yet. $\Delta n = n_2I$.
:::
:::

::: check
given: n = 2.6 | 3.2; l = 1.31 | 1.55; A = 20 | 50 | 80
answer: 2*pi*n*1e-20/(l*1e-6*A*1e-12)*1000
unit: W^-1/km
tolerance: 0.5%

## A fiber has $n_2$ = {n} × 10⁻²⁰ m²/W and effective area {A} µm². What's its nonlinear coefficient at {l} µm?

::: right
Right. $2\pi n_2/(\lambda A_\text{eff})$ = {answer} per watt per kilometer.
:::

::: misses
- [any] Not yet. $\gamma = 2\pi n_2/\lambda A$.
:::
:::

::: check
given: g = 1.3 | 2 | 10; P = 1 | 10 | 100; a = 0.2 | 0.5; L = 20 | 100
answer: g*P*1e-3*(1 - exp(-a/(10*log(exp(1)))*L))/(a/(10*log(exp(1))))
unit: rad
tolerance: 0.5%

## A fiber with γ = {g} W⁻¹km⁻¹ and {a} dB/km loss carries {P} mW over {L} km. What nonlinear phase builds up?

::: right
Right. $\gamma PL_\text{eff}$ with $L_\text{eff} = (1 - e^{-\alpha L})/\alpha$: {answer} rad.
:::

::: misses
- [g*P*1e-3*L] Loss shortens the effective length.
- [any] Not yet. Effective length first.
:::
:::

::: check
kind: parts
given: l = 1.064 | 1.55; n = 0.04 | 0.08 | 0.12

## A crystal's index differs by {n} between a {l} µm fundamental and its second harmonic.

::: part
answer: l/(4*n)
unit: µm
tolerance: 0.5%

### What is the coherence length?

::: misses
- [l/(2*n)] That's the quasi-phase-matching period.
- [any] $\lambda/(4\Delta n)$.
:::
:::

::: part
answer: l/(2*n)
unit: µm
tolerance: 0.5%

### What poling period quasi-phase-matches it?

::: misses
- [any] Twice the coherence length.
:::
:::
:::

::: check
kind: derivation
vars: n = 0.00000000000000000001..0.0000000000000000001, l = 0.0000005..0.000002, A = 0.000000000001..0.0000000001, a = 0.000001..0.001, L = 1..100000, P = 0.001..100

## A fiber has nonlinear index n, effective area A, loss a per meter and length L, carrying P watts at wavelength l.

::: step
answer: 2*pi*n/(l*A)

### What is its nonlinear coefficient γ, per watt per meter?
:::

::: step
answer: (1 - exp(-a*L))/a

### What is its effective length?
:::

::: step
answer: 2*pi*n/(l*A)*P*(1 - exp(-a*L))/a

### How much nonlinear phase builds up?
:::

::: right
Right. Loss caps the effective length near 1/α however long the fiber.
:::
:::

::: explain
## Why does second-harmonic generation need phase matching?

::: model
Each slice of the crystal generates a bit of second-harmonic light, with a phase set by the fundamental passing through it, which travels with the fundamental's index. The second-harmonic light already generated travels with the harmonic's own index, which dispersion makes different. So light from later slices arrives out of step with what came before, and after one coherence length the new contributions start cancelling the old. Without correction the harmonic power just oscillates up and down over a few micrometers. Phase matching, by birefringence or by flipping the crystal's orientation every coherence length, keeps the contributions adding in step so the power grows with the square of the length.
:::
:::

::: practice

::: check
given: l = 0.5 | 2; d = 0.01 | 0.3
answer: l/(4*d)
unit: µm
tolerance: 0.5%

## Coherence length: {l} µm, Δn = {d}?

::: misses
- [any] $\lambda/4\Delta n$.
:::
:::

::: check
given: r = 0.1 | 0.3 | 0.5 | 0.75 | 0.9 | 1.5
answer: sin(pi*r/2)^2/(pi*r/2)^2
tolerance: 0.5%

## sinc² factor at {r} coherence lengths?

::: misses
- [any] $[\sin(\pi r/2)/(\pi r/2)]^2$.
:::
:::

::: check
given: n = 2 | 50; I = 0.1 | 500
answer: n*1e-20*I*1e13
tolerance: 0.5%

## Kerr index change: $n_2$ = {n} × 10⁻²⁰ m²/W, {I} GW/cm²?

::: misses
- [any] $n_2I$.
:::
:::
:::
