---
title: "Semiconductor statistics: carriers and the mass-action law"
heading: Counting electrons and holes from the density of states
eyebrow: "B11 · Lesson 37 · Semiconductor statistics: carriers and the mass-action law"
xp: 50
---

::: hook
B9 used the semiconductor formulas $n = N_ce^{-(E_c - E_F)/kT}$ and $np = n_i^2$ as tools. This lesson derives them from the machinery of this course: the density of states of a band with an effective mass, the Fermi–Dirac distribution in its Boltzmann tail, and the law of mass action. The derivation explains where the "effective density of states" $N_c$ comes from, why $n_i$ more than doubles for every 10 K near room temperature (and with it every diode's reverse leakage), why the intrinsic Fermi level sits slightly off midgap, and what happens when donors and acceptors are both present.
:::

::: play
- The curves are the electron and hole densities in silicon against the net doping $N_D - N_A$, both on log scales, at the temperature you set.
- At low doping both equal $n_i$: the material is intrinsic. Once the net doping passes $n_i$, the electrons follow it and the holes fall as $n_i^2/N$, always keeping $np = n_i^2$.
- Heat it: $n_i$ rises steeply (readout), and a lightly doped sample turns intrinsic again. That's why silicon devices stop working above about 200 °C and wide-gap devices don't.
:::
:::

```sim plot
view: graph
x: N = 1e6..1e18 cm^-3 log
y: c = 1..1e19 log
slider: T = 250..600 = 300 K log
plot: N/2 + sqrt(N^2/4 + 5.76e38*(T/300)^3*exp(-1.12/(0.000086173*T))) | label: electrons n
plot: 5.76e38*(T/300)^3*exp(-1.12/(0.000086173*T))/(N/2 + sqrt(N^2/4 + 5.76e38*(T/300)^3*exp(-1.12/(0.000086173*T)))) | dashed | label: holes p
readout: n_i, cm⁻³ = sqrt(5.76e38*(T/300)^3*exp(-1.12/(0.000086173*T)))
```

::: predict
## Silicon's intrinsic carrier density at 300 K is about 10¹⁰ cm⁻³. Roughly what is it at 310 K?

- [ ] 1.03 × 10¹⁰, in proportion to T
- [ ] 1.3 × 10¹⁰
- [x] 2.1 × 10¹⁰
- [ ] 10¹¹

::: reveal
$n_i \propto T^{3/2}e^{-E_g/2kT}$. From 300 K to 310 K the exponential factor grows by $e^{(1.12/2)(1/0.02585 - 1/0.02671)}$ ≈ 2.0 and $T^{3/2}$ adds 5%: $n_i$ more than doubles. A diode's reverse saturation current goes as $n_i^2$, so it rises by a factor of 4.5 every 10 K, the familiar "leakage doubles every 5 K" rule.
:::
:::

::: nameit
## Electrons in a band

Near the conduction-band edge, $E = E_c + \frac{\hbar^2k^2}{2m_e^*}$, so the density of states per volume is

$$D_c(E) = \frac{1}{2\pi^2}\left(\frac{2m_e^*}{\hbar^2}\right)^{3/2}\sqrt{E - E_c}$$

In the Boltzmann tail ($E_c - E_F \gg kT$), integrating $D_c(E)e^{-(E - E_F)/kT}$ gives

$$n = N_ce^{-(E_c - E_F)/kT}, \qquad N_c = 2\left(\frac{m_e^*kT}{2\pi\hbar^2}\right)^{3/2} = 2.51 \times 10^{19}\left(\frac{m_e^*}{m_e}\right)^{3/2}\left(\frac{T}{300}\right)^{3/2}\text{ cm}^{-3}$$

$N_c$ is twice the quantum concentration (two spins): the band behaves as if all its states were at $E_c$. Holes are the same with $N_v$ and $E_v$, $p = N_ve^{-(E_F - E_v)/kT}$.

## Mass action

The product doesn't depend on $E_F$:

$$np = n_i^2 = N_cN_ve^{-E_g/kT}$$

Silicon (this course's values, as in B9): $N_c = 3.2 \times 10^{19}$, $N_v = 1.8 \times 10^{19}$ cm⁻³, $E_g$ = 1.12 eV, $n_i \approx 10^{10}$ cm⁻³ at 300 K. GaAs: $n_i \approx 2 \times 10^6$ cm⁻³.

## The intrinsic level

With n = p, $E_F = E_i = \frac{E_c + E_v}{2} + \frac{kT}{2}\ln\frac{N_v}{N_c}$: below midgap when the conduction band has more states, by 7 meV in silicon.

## Compensation and neutrality

With donors and acceptors both fully ionized, charge neutrality $n + N_A = p + N_D$ and $np = n_i^2$ give

$$n = \frac{N_D - N_A}{2} + \sqrt{\left(\frac{N_D - N_A}{2}\right)^2 + n_i^2}$$

Only the net doping counts. Once it's much larger than $n_i$, n ≈ $N_D - N_A$ and p ≈ $n_i^2/n$.
:::

::: example
## Estimate GaAs's intrinsic density at 300 K from $m_e^* = 0.067$, $m_h^* = 0.48$, $E_g$ = 1.424 eV.

::: solution
1. **Effective densities of states.** In cm⁻³,
   $$\begin{aligned} N_c &= 2.51 \times 10^{19} \times 0.067^{3/2} \\ &= 4.4 \times 10^{17} \\ N_v &= 2.51 \times 10^{19} \times 0.48^{3/2} \\ &= 8.3 \times 10^{18} \end{aligned}$$
2. **Intrinsic density.**
   $$\begin{aligned} n_i &= \sqrt{N_cN_v}e^{-1.424/0.0517} \\ &= 2.1 \times 10^6\ \text{cm}^{-3} \end{aligned}$$
3. **Compare with silicon.** The wider gap and the light electron mass together make GaAs's $n_i$ about 5000 times smaller than silicon's, which is why semi-insulating GaAs substrates are possible.

**Answer:** GaAs's intrinsic density is about 2.1 × 10⁶ cm⁻³.
:::
:::

::: example
## A silicon sample has $N_D = 10^{10}$ cm⁻³ at 300 K ($n_i = 10^{10}$). Find n and p.

::: solution
1. **Electron density from neutrality.**
   $$\begin{aligned} n &= 5 \times 10^9 \\ &\quad + \sqrt{(5 \times 10^9)^2 + 10^{20}} \\ &= 1.62 \times 10^{10}\ \text{cm}^{-3} \end{aligned}$$
2. **Hole density.**
   $$\begin{aligned} p &= n_i^2/n \\ &= 6.2 \times 10^9\ \text{cm}^{-3} \end{aligned}$$
3. **Why the full solution.** With doping comparable to $n_i$, neither approximation holds and the full neutrality solution is needed.

**Answer:** n = 1.62 × 10¹⁰ cm⁻³ and p = 6.2 × 10⁹ cm⁻³.
:::
:::

::: example
## Germanium has $E_g$ = 0.66 eV, $N_c = 1.04 \times 10^{19}$ and $N_v = 6.0 \times 10^{18}$ cm⁻³ at 300 K. What's its intrinsic density, and how much more does a germanium diode leak than a silicon one ($n_i = 10^{10}$ cm⁻³)?

::: solution
1. **Intrinsic density.**
   $$\begin{aligned} n_i &= \sqrt{N_cN_v}\,e^{-E_g/2kT} \\ &= 7.9 \times 10^{18} \times e^{-0.66/0.0517} \\ &= 2.3 \times 10^{13}\ \text{cm}^{-3} \end{aligned}$$
2. **How leakage scales.** A diode's saturation current comes from minority carriers, whose density is $n_i^2/N$, so with the same doping and geometry it scales as $n_i^2$.
3. **Compare with silicon.**
   $$\left(\frac{2.3 \times 10^{13}}{10^{10}}\right)^2 = 5 \times 10^6$$
   That's why germanium transistors leaked noticeably at room temperature, and why silicon took over once it could be purified.

**Answer:** germanium's intrinsic density is 2.3 × 10¹³ cm⁻³, and its diode leaks about 5 × 10⁶ times more than a silicon one.
:::
:::

::: check
given: m = 0.067 | 0.26 | 1.08; T = 77 | 300 | 400
answer: 2.5094e19*m^1.5*(T/300)^1.5
unit: cm^-3
tolerance: 0.5%

## What's the effective density of states $N_c$ for a band with density-of-states mass {m}$m_e$ at {T} K?

::: right
Right. $2.51 \times 10^{19}(m^*/m_e)^{3/2}(T/300)^{3/2}$ = {answer} cm⁻³.
:::

::: misses
- [1.2547e19*m^1.5*(T/300)^1.5] Include both spins: $N_c$ is twice the quantum concentration.
- [any] Not yet. $N_c = 2(m^*kT/2\pi\hbar^2)^{3/2}$.
:::
:::

::: check
given: c = 3.2 | 0.44; v = 1.8 | 8.3; E = 1.12 | 1.42; T = 350 | 400
answer: sqrt(c*v*1e38*(T/300)^3)*exp(-E/(2*0.000086173*T))
unit: cm^-3
tolerance: 1%

## A semiconductor has $N_c$ = {c} × 10¹⁹ and $N_v$ = {v} × 10¹⁹ cm⁻³ at 300 K (both ∝ $T^{3/2}$) and a {E} eV gap. What's $n_i$ at {T} K?

::: right
Right. $\sqrt{N_cN_v}e^{-E_g/2kT}$ = {answer} cm⁻³.
:::

::: misses
- [sqrt(c*v*1e38)*exp(-E/(2*0.000086173*T))] Scale $N_c$ and $N_v$ with temperature too.
- [any] Not yet. $n_i^2 = N_cN_ve^{-E_g/kT}$.
:::
:::

::: check
given: a = 300 | 350; d = 10 | 20; E = 1.12 | 0.66
answer: ((a + d)/a)^1.5*exp(E/(2*0.000086173)*(1/a - 1/(a + d)))
tolerance: 1%

## By what factor does $n_i$ grow from {a} K to {a} + {d} K in a semiconductor with a {E} eV gap?

::: right
Right. $\left(\frac{T_2}{T_1}\right)^{3/2}e^{\frac{E_g}{2k}\left(\frac{1}{T_1} - \frac{1}{T_2}\right)}$ = {answer}.
:::

::: misses
- [exp(E/(2*0.000086173)*(1/a - 1/(a + d)))] Include the $T^{3/2}$ factor.
- [any] Not yet. Ratio of $n_i$ formulas.
:::
:::

::: check
given: N = 1e9 | 1e10 | 5e10; i = 1e10
answer: N/2 + sqrt(N^2/4 + i^2)
unit: cm^-3
tolerance: 0.5%

## A sample has net donor doping {N} cm⁻³ and $n_i$ = {i} cm⁻³. What's n?

::: right
Right. $\frac N2 + \sqrt{\frac{N^2}{4} + n_i^2}$ = {answer} cm⁻³.
:::

::: misses
- [N] That's the heavy-doping limit; here doping is comparable to $n_i$.
- [N + i] Solve neutrality with $np = n_i^2$.
:::
:::

::: check
given: c = 3.2 | 2.8; v = 1.8 | 1.04; T = 300 | 400
answer: 0.086173*T/2*ln(v/c)
unit: meV
tolerance: 0.5%

## A semiconductor has $N_c$ = {c} × 10¹⁹ and $N_v$ = {v} × 10¹⁹ cm⁻³. Where's its intrinsic Fermi level relative to midgap at {T} K?

::: right
Right. $\frac{kT}{2}\ln\frac{N_v}{N_c}$ = {answer} meV (negative means below midgap).
:::

::: misses
- [0.086173*T/2*ln(c/v)] The level moves away from the band with more states.
- [any] Not yet. Set n = p.
:::
:::

::: check
given: n = 1e15 | 1e17 | 1e19; c = 3.2 | 0.44
answer: 0.000086173*300*ln(c*1e19/n)
unit: eV
tolerance: 0.5%

## How far below the conduction band is the Fermi level when n = {n} cm⁻³, with $N_c$ = {c} × 10¹⁹ cm⁻³, at 300 K?

::: right
Right. $E_c - E_F = kT\ln\frac{N_c}{n}$ = {answer} eV.
:::

::: misses
- [0.000086173*300*log(c*1e19/n)] Use the natural log.
- [any] Not yet. Invert $n = N_ce^{-(E_c - E_F)/kT}$.
:::
:::

::: check
kind: parts
given: c = 2.8 | 3.2; v = 1 | 1.8; E = 1.12 | 1.42; T = 350 | 400

## A semiconductor has $N_c$ = {c} × 10¹⁹ and $N_v$ = {v} × 10¹⁹ cm⁻³ at 300 K (both ∝ $T^{3/2}$) and a {E} eV gap, at {T} K.

::: part
answer: sqrt(c*v)*1e19*(T/300)^1.5*exp(-E/(2*0.00008617333*T))
unit: cm⁻³
tolerance: 1%

### What's its intrinsic density?

::: misses
- [sqrt(c*v)*1e19*exp(-E/(2*0.00008617333*T))] $N_c$ and $N_v$ grow as $T^{3/2}$.
- [any] $n_i = \sqrt{N_cN_v}e^{-E_g/2kT}$.
:::
:::

::: part
answer: (sqrt(c*v)*1e19*(T/300)^1.5*exp(-E/(2*0.00008617333*T)))^2/1e16
unit: cm⁻³
tolerance: 2%

### Doped with $10^{16}$ donors per cm³, how many holes does it have?

::: misses
- [any] $p = \frac{n_i^2}{N_D}$.
:::
:::
:::

::: check
kind: derivation
vars: m = 0.05..2, T = 50..800

## A band with density-of-states mass m (in units of $m_e$) at T (K).

::: step
answer: 2*(m*9.1093837e-31*1.380649e-23*T/(2*pi*(1.054571817e-34)^2))^1.5/1000000

### What's its effective density of states, in cm⁻³?
:::

::: step
answer: 2*(m*9.1093837e-31*1.380649e-23*T/(2*pi*(1.054571817e-34)^2))^1.5/1000000*exp(-0.2/(0.00008617333*T))

### How many electrons does it hold with the Fermi level 0.2 eV below its edge?
:::

::: right
Right. Each kT that the Fermi level drops cuts the density by a factor of e.
:::
:::

::: explain
## Why can the whole conduction band be replaced by an "effective density of states" $N_c$ sitting at its edge?

::: model
In a nondegenerate semiconductor the Fermi level is several kT below the conduction band, so the occupancy of each band state is the Boltzmann factor $e^{-(E - E_F)/kT}$, which falls off by e for every kT of energy above the edge. Only states within a few kT of $E_c$ hold any electrons. Integrating the density of states, which grows as $\sqrt{E - E_c}$, against that falling exponential gives a number proportional to $e^{-(E_c - E_F)/kT}$ times a constant, and that constant is $N_c$. So the band acts exactly like $N_c$ states per cubic centimeter placed right at the edge. The approximation breaks when the Fermi level comes within a few kT of the band, and the Boltzmann tail no longer describes the occupancy.
:::
:::

::: practice

::: check
given: m = 0.1 | 0.6; T = 200 | 500
answer: 2.5094e19*m^1.5*(T/300)^1.5
unit: cm^-3
tolerance: 0.5%

## $N_c$ for {m}$m_e$ at {T} K?

::: misses
- [any] $2.51 \times 10^{19}(m^*)^{3/2}(T/300)^{3/2}$.
:::
:::

::: check
given: N = 3e9 | 3e10; i = 1e10 | 2e10
answer: N/2 + sqrt(N^2/4 + i^2)
unit: cm^-3
tolerance: 0.5%

## n for net doping {N}, $n_i$ = {i}?

::: misses
- [any] Neutrality with $np = n_i^2$.
:::
:::

::: check
given: n = 3e14 | 3e18; c = 1 | 3.2
answer: 0.000086173*300*ln(c*1e19/n)
unit: eV
tolerance: 0.5%

## $E_c - E_F$ for n = {n}, $N_c$ = {c} × 10¹⁹ at 300 K?

::: misses
- [any] $kT\ln(N_c/n)$.
:::
:::
:::
