---
title: The finite square well and tunneling
heading: Wave functions that leak into walls, and through them
eyebrow: B10 · Lesson 12 · The finite square well and tunneling
xp: 45
---

::: hook
Real walls are finite. A GaAs quantum well sits between AlGaAs layers only a few hundred millielectron-volts higher; a transistor's gate oxide is a barrier about 3 eV high and, in older processes, under 2 nm thick. In a finite well the wave function leaks into the walls, decaying exponentially, so the levels sit lower than in an infinite well and there are only finitely many of them. A finite barrier that's thin enough lets electrons **tunnel** straight through, with a probability that falls exponentially with thickness. Tunneling is why gate oxides stopped shrinking, and it's how flash memory is written and erased, how tunnel diodes and resonant-tunneling diodes work, and how a scanning tunneling microscope images single atoms.
:::

::: play
- The curve is the transmission of an electron through a rectangular barrier of height $V_0$ and width a, against the electron's energy, on a log scale.
- Below the barrier (marker), T falls off steeply: make the barrier wider and the tunneling drops by orders of magnitude.
- Above the barrier, T isn't 1. It oscillates, reaching exactly 1 only where a whole number of half wavelengths fits across the barrier: transmission resonances, like a thin film with an anti-reflection thickness.
:::
:::

```sim plot
view: graph
x: E = 0.01..3 eV
y: T = 0.000001..1 log
slider: V = 0.2..2 step 0.05 = 1 eV
slider: a = 0.2..2 step 0.05 = 1 nm
plot: Re(1/(1 + V^2*sinh(sqrt((V - E)/0.0381)*a)^2/(4*E*(V - E)))) | samples: 1500 | label: transmission
marker: E = V | label: barrier top
readout: decay length at half the barrier height, nm = sqrt(0.0381/(V/2))
```

::: predict
## An electron tunnels through a 1 nm barrier with probability $10^{-3}$. About how likely is it to get through the same barrier made 2 nm thick?

- [ ] $5 \times 10^{-4}$, half as likely
- [ ] $2.5 \times 10^{-4}$
- [x] Around $10^{-6}$
- [ ] Zero

::: reveal
Tunneling goes as $e^{-2\kappa a}$, so doubling the width roughly squares the exponential factor: about $10^{-6}$, a thousand times less. That steep dependence is what makes a tunneling microscope sensitive to a tenth of an atom's height, and what made gate oxides leak once they got thin.
:::
:::

::: nameit
## Inside a barrier

Where E < V, the Schrödinger equation gives $\psi'' = \kappa^2\psi$ with

$$\kappa = \frac{\sqrt{2m(V - E)}}{\hbar} = \sqrt{\frac{V - E}{0.0381\text{ eV·nm}^2}}\ \text{(free electron)}$$

so ψ grows or decays as $e^{\pm\kappa x}$. In an infinitely thick wall only the decaying one is allowed; the **decay length** is 1/κ.

## The finite well

A well of width L and depth $V_0$: oscillating inside, decaying outside, with ψ and ψ′ matched at both edges. The result is a transcendental equation for the levels, solved numerically (lesson 51). The facts that matter:

- There's always at least one bound state, and the number of them is $N = \left\lfloor\frac{L}{\pi}\sqrt{\frac{2mV_0}{\hbar^2}}\right\rfloor + 1$.
- Each level is lower than the infinite well's, because the wave function spreads into the walls and so has a longer wavelength.
- A deep, wide well approaches the infinite one.

## The barrier

For a barrier of height $V_0$ and width a, matching four sets of conditions gives

$$T = \left[1 + \frac{V_0^2\sinh^2(\kappa a)}{4E(V_0 - E)}\right]^{-1} \approx \frac{16E(V_0 - E)}{V_0^2}e^{-2\kappa a}\quad(\kappa a \gg 1)$$

Above the barrier, sinh becomes sin, with wavenumber $q = \sqrt{2m(E - V_0)}/\hbar$, and T = 1 whenever $qa = n\pi$.

## In devices

Electrons in a material use their effective mass in κ. Through SiO₂ (barrier about 3.1 eV, $m^* \approx 0.5m_e$), κ is about 6.4 nm⁻¹, so each 0.1 nm of oxide removed raises the tunneling current by $e^{2\kappa \times 0.1} \approx 3.6$, about a factor of 13 for every 0.2 nm. This is why gate oxides stopped thinning near 1.2 nm and were replaced by thicker high-κ dielectrics.
:::

::: example
## An electron with E = 0.5 eV meets a 1 eV barrier 1 nm wide. What fraction tunnels?

::: solution
1. **Decay constant.**
   $$\begin{aligned} \kappa &= \sqrt{0.5/0.0381} \\ &= 3.62\ \text{nm}^{-1} \end{aligned}$$
   so κa = 3.62 and $\sinh^2(3.62) = 350$.
2. **Prefactor.**
   $$\frac{V_0^2}{4E(V_0 - E)} = 1$$
3. **Transmission.**
   $$\begin{aligned} T &= \frac{1}{351} \\ &= 2.85 \times 10^{-3} \end{aligned}$$
4. **Check with the thick-barrier approximation.** $4e^{-7.25}$ gives the same to 0.1%.

**Answer:** a fraction $2.85 \times 10^{-3}$ tunnels, about 1 electron in 350.
:::
:::

::: example
## How many bound states does a 10 nm GaAs well with 0.3 eV walls hold ($m^* = 0.067m_e$)?

::: solution
1. **Count the levels.**
   $$\begin{aligned} &\frac{L}{\pi}\sqrt{\frac{m^*V_0}{0.0381\,m_e}} \\ &= \frac{10}{\pi}\sqrt{\frac{0.067 \times 0.3}{0.0381}} \\ &= \frac{10 \times 0.726}{\pi} \\ &= 2.31 \end{aligned}$$
   so N = 3.
2. **Compare with infinite walls.** The infinite-well formula would put level 3 at 505 meV, above the walls.
3. **The real levels.** In the real well the three levels sit at 34, 133 and 272 meV (against 56, 224 and 505 for infinite walls), because the wave functions spread into the barriers.

**Answer:** the well holds 3 bound states, at 34, 133 and 272 meV.
:::
:::

::: example
## How thick must a 1 eV barrier be for only one in a million 0.5 eV electrons to tunnel through?

::: solution
1. **Decay constant inside.**
   $$\begin{aligned} \kappa &= \frac{\sqrt{2m \times 0.5\text{ eV}}}{\hbar} \\ &= 3.62 \times 10^9\ \text{m}^{-1} \end{aligned}$$
2. **Thick-barrier transmission.**
   $$\begin{aligned} T &\approx \frac{16E(V - E)}{V^2}e^{-2\kappa d} \\ &= 4e^{-2\kappa d} \end{aligned}$$
3. **Set it to one in a million.** Setting that to $10^{-6}$:
   $$\begin{aligned} d &= \frac{\ln(4 \times 10^6)}{2\kappa} \\ &= 2.10\ \text{nm} \end{aligned}$$
4. **In atomic layers.** Seven or eight atomic layers of insulator are enough.
5. **Each extra 0.1 nm.** It cuts the current by $e^{-0.72}$, about half, which is why gate oxides thinner than about 1.5 nm leak too much and chipmakers turned to thicker high-κ dielectrics.

**Answer:** the barrier must be 2.10 nm thick.
:::
:::

::: check
given: V = 0.5 | 1 | 3; E = 0.1 | 0.3
answer: sqrt(0.0381/(V - E))
unit: nm
tolerance: 0.5%

## A free electron with energy {E} eV meets a wall {V} eV high. What's the decay length 1/κ of ψ inside?

::: right
Right. $\sqrt{\frac{\hbar^2}{2m(V - E)}}$ = {answer} nm.
:::

::: misses
- [sqrt(0.0381/V)] Use the energy deficit, V − E.
- [0.5*sqrt(0.0381/(V - E))] That's the decay length of $\lvert\psi\rvert^2$; the question asks about ψ.
- [any] Not yet. $\kappa = \sqrt{(V - E)/0.0381}$ nm⁻¹.
:::
:::

::: check
given: V = 1 | 2; E = 0.2 | 0.5; a = 0.5 | 1
answer: 1/(1 + V^2*sinh(sqrt((V - E)/0.0381)*a)^2/(4*E*(V - E)))
tolerance: 1%

## A free electron of {E} eV hits a barrier {V} eV high and {a} nm wide. What's the exact transmission?

::: right
Right. $\left[1 + \frac{V_0^2\sinh^2\kappa a}{4E(V_0 - E)}\right]^{-1}$ = {answer}.
:::

::: misses
- [exp(-2*sqrt((V - E)/0.0381)*a)] That's only the exponential factor; the prefactor $\frac{16E(V_0 - E)}{V_0^2}$ matters too.
- [any] Not yet. $\kappa = \sqrt{(V_0 - E)/0.0381}$ nm⁻¹.
:::
:::

::: check
given: d = 0.1 | 0.2 | 0.3; m = 0.4 | 0.5
answer: exp(2*sqrt(m*3.1/0.0381)*d)
tolerance: 1%

## An oxide barrier is 3.1 eV high with $m^*$ = {m}$m_e$. By what factor does the tunneling current grow when the oxide is made {d} nm thinner?

::: right
Right. $e^{2\kappa\Delta d}$ = {answer}.
:::

::: misses
- [exp(sqrt(m*3.1/0.0381)*d)] The current goes as $\lvert\psi\rvert^2$, so the exponent has 2κ.
- [any] Not yet. $\kappa = \sqrt{m^*V_0/(0.0381\,m_e)}$ nm⁻¹.
:::
:::

::: check
given: L = 5 | 8 | 12; V = 0.2 | 0.3
answer: floor(L/pi*sqrt(0.067*V/0.0381)) + 1
tolerance: 0

## How many bound states does a GaAs well {L} nm wide with walls {V} eV high hold ($m^* = 0.067m_e$)?

::: right
Right. $\left\lfloor\frac{L}{\pi}\sqrt{\frac{m^*V_0}{0.0381}}\right\rfloor + 1$ = {answer}.
:::

::: misses
- [floor(L/pi*sqrt(0.067*V/0.0381))] There's always at least one: add 1.
- [any] Not yet. Count the half wavelengths that fit at the wall energy.
:::
:::

::: check
given: V = 0.5 | 1; a = 0.5 | 1 | 2
answer: V + 0.37603/a^2
unit: eV
tolerance: 0.5%

## A free electron passes over a barrier {V} eV high and {a} nm wide. At what lowest energy above $V_0$ is T exactly 1?

::: right
Right. $qa = \pi$ at $E = V_0 + \frac{\pi^2\hbar^2}{2ma^2}$ = {answer} eV.
:::

::: misses
- [V] At the barrier top T is below 1; the first resonance is higher.
- [0.37603/a^2] Add the barrier height: the kinetic energy over the barrier is E − V₀.
- [any] Not yet. $q = \sqrt{(E - V_0)/0.0381} = \pi/a$.
:::
:::

::: check
kind: choice

## Compared with an infinite well of the same width, the ground state of a finite well is

- [ ] higher, because the walls are lower
- [x] lower, because the wave function spreads into the walls
- [ ] exactly the same
- [ ] missing if the well is shallow

::: misses
- [1] Lower walls let ψ spread, which lowers its curvature and its energy.
- [3] The leakage changes it.
- [4] A one-dimensional well always has at least one bound state.
:::
:::

::: check
kind: parts
given: U = 0.5 | 1 | 2; P = 6 | 9

## Electrons meet a barrier {U} eV above their energy, with the prefactor $\frac{16E(V - E)}{V^2}$ taken as 1.

::: part
answer: sqrt(2*9.109e-31*U*1.602e-19)/1.0546e-34*1e-9
unit: /nm
tolerance: 0.5%

### What is κ?

::: misses
- [any] $\kappa = \frac{\sqrt{2m(V - E)}}{\hbar}$.
:::
:::

::: part
answer: P*ln(10)/(2*sqrt(2*9.109e-31*U*1.602e-19)/1.0546e-34*1e-9)
unit: nm
tolerance: 0.5%

### How thick a barrier lets through only 10⁻{P} of them?

::: misses
- [P*ln(10)/(sqrt(2*9.109e-31*U*1.602e-19)/1.0546e-34*1e-9)] The transmission goes as $e^{-2\kappa d}$.
- [any] $d = \frac{\ln 10^P}{2\kappa}$.
:::
:::
:::

::: check
kind: derivation
vars: U = 0.00000000000000000001..0.000000000000000001, d = 0.0000000001..0.000000005

## A barrier U above an electron's energy, of thickness d.

::: step
answer: sqrt(2*9.109e-31*U)/1.0546e-34

### What is κ?
:::

::: step
answer: exp(-2*sqrt(2*9.109e-31*U)/1.0546e-34*d)

### Roughly what fraction tunnels, leaving out the prefactor?
:::

::: right
Right. The exponent, $2\kappa d$, does nearly all the work.
:::
:::

::: explain
## Why does tunneling depend so steeply on the barrier's thickness?

::: model
Inside the barrier the electron's energy is below the potential, so the Schrödinger equation doesn't let the wave function oscillate there; it can only grow or decay exponentially, with a rate κ set by how far the energy is below the barrier top. The part of the wave that reaches the far side has been multiplied by about $e^{-\kappa a}$, and the transmitted probability by its square, $e^{-2\kappa a}$. Every extra decay length of thickness divides the transmission by another factor of about 7.4, so a barrier a few times thicker can be thousands of times more opaque. Changes in height matter less, since they enter κ only through a square root.
:::
:::

::: practice

::: check
given: V = 0.8 | 4; E = 0.2 | 0.6
answer: sqrt(0.0381/(V - E))
unit: nm
tolerance: 0.5%

## Decay length at {E} eV into a {V} eV wall?

::: misses
- [any] $\sqrt{0.0381/(V - E)}$ nm.
:::
:::

::: check
given: d = 0.15 | 0.4; m = 0.42 | 0.5
answer: exp(2*sqrt(m*3.1/0.0381)*d)
tolerance: 1%

## Leakage increase for an oxide {d} nm thinner, $m^*$ = {m}$m_e$?

::: misses
- [any] $e^{2\kappa\Delta d}$.
:::
:::

::: check
given: V = 0.3 | 1.5; a = 0.4 | 1.5
answer: V + 0.37603/a^2
unit: eV
tolerance: 0.5%

## First full-transmission energy over a {V} eV, {a} nm barrier?

::: misses
- [any] $V_0 + \frac{0.376}{a^2}$ eV.
:::
:::
:::
