From first principles
Determine electron and hole densities from one chemical potential
In thermal equilibrium fermions occupy a level \(E\) with probability \(1/[e^{(E-\mu)/(k_BT)}+1]\). Take a nondegenerate semiconductor with chemical potential several \(k_BT\) inside the gap and parabolic edges \(E_c,E_v\). For electrons in the conduction band the exponential dominates the denominator. Write energy as \(E=E_c+\varepsilon\) and integrate the density of states against this occupation:
For holes count missing valence electrons. Taking \(E=E_v-\varepsilon\) instead gives
with \(N_v\) defined by the corresponding integral. At fixed temperature multiplication removes the chemical potential entirely:
An intrinsic neutral crystal requires
With ionized donors and acceptors it instead requires \(n-p=N_D^+-N_A^-\), because electron and acceptor charges are negative. This equation and the product law determine the two carrier densities. Heavy doping can move the chemical potential into a band, where the exponential approximation must be replaced by the full occupation integral.
Derivation and applications
Measure minority-carrier lifetime from a spatial decay
Illuminate a narrow stripe at the edge of a long, uniformly doped sample. In an \(n\)-type crystal the illumination creates mobile minority holes, which diffuse away and recombine. Let \(u(x)=p(x)-p_0\) be the excess hole density above its equilibrium value. Consider steady, weak injection into the half-space \(x>0\). Assume a constant diffusivity \(D_p\), linear recombination with lifetime \(\tau_p\), and negligible electric field. The stripe maintains a fixed excess at \(x=0\), and the bulk away from it has no further generation.
The first equation gives flux of particles per area per time. The second counts particles in a thin slice. A declining flux with distance supplies the holes that recombine inside the slice. Setting the time derivative to zero gives an equation with two exponential solutions,
The exponentially increasing solution violates the equilibrium boundary condition far from the stripe. The remaining length \(L_p\) gives the depth over which the population falls by a factor \(e\). Multiplying the surface flux by the positive charge \(e\) gives the hole current density into the bulk. Integrating the loss over the half-space independently recovers this flux,
A second nearby surface, significant drift, or recombination changing with injection can all alter the spatial profile. Plotting the logarithm of excess signal against position tests the single-exponential assumption.
Worked example
Predict the current required at an illuminated edge
Change the inputs and investigate this derivation.
For \(D_p=12.0\,\mathrm{cm^2/s}\), \(\tau_p=3.00\,\mathrm{\mu s}\) and \(u(0)=2.00\times10^{13}\,\mathrm{cm^{-3}}\), the length is \(0.00600\,\mathrm{cm}\), or \(60.0\,\mathrm{\mu m}\). The surface flux is \(4.00\times10^{16}\,\mathrm{cm^{-2}s^{-1}}\), giving \(6.41\,\mathrm{mA/cm^2}\). A stripe extending over \(0.100\,\mathrm{cm^2}\) of injecting area supplies \(0.641\,\mathrm{mA}\) to this bulk recombination channel.
Second application
Infer a lifetime without calibrating the signal amplitude
Change the inputs and investigate this derivation.
In a second specimen, a signal proportional to excess density drops by a factor of four between positions separated by \(90.0\,\mathrm{\mu m}\). Its diffusion length is
An independently measured \(D_p=8.00\,\mathrm{cm^2/s}\) gives
The ratio cancels a common detector gain, provided the equilibrium background was subtracted first.
Try it · Diffusion recombination
Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.
Why an optically injected electron–hole packet spreads at one rate
A short light pulse creates equal excess densities of electrons and holes. Independent diffusion would let the faster carriers escape first, leaving a local excess charge. Derive the internal field and the shared packet width measured after the excitation.
Eliminate the internal field from the two currents
In a nondegenerate semiconductor let \(q>0\) be the elementary charge. The conventional charge currents along \(x\) are \(J_n=q\mu_n n E+qD_n\,\partial_x n\) and \(J_p=q\mu_p p E-qD_p\,\partial_x p\). The opposite signs of their diffusive terms follow from the opposite carrier charges. For a weak, slowly varying packet in a homogeneous region, quasineutrality sets \(\delta n=\delta p=u\). In an open circuit away from the dielectric relaxation transient take \(J_n+J_p=0\). The spatial derivatives of the equilibrium densities vanish.
The resulting field is
An electron particle flux is \(-J_n/q\) and a hole particle flux is \(J_p/q\). With total charge current zero the two are therefore equal, even while each species moves. Substitute the field back into either flux to obtain a common particle flux \(-D_a\partial_x u\), where
In a heavily electron-doped sample with a weak optical perturbation, \(\mu_n n\) can dominate the denominator. The common coefficient approaches the minority-hole \(D_p\). In an intrinsic sample with equal carrier densities and the Einstein relation \(D_i=\mu_i k_BT/q\), it becomes the harmonic mean \(2D_nD_p/(D_n+D_p)\). These are distinct physical limits of one current balance. A conductivity-weighted arithmetic average with the same diffusivity paired to its own mobility would predict the wrong limit.
Open full-size diagram
Try it · Ambipolar
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.
For mobilities \(0.12\) and \(0.04\) m²/(V s) at 300 K, the independent diffusion coefficients are about \(0.00310\) and \(0.00103\) m²/s. A neutral packet at equal densities has \(D_a=0.00155\) m²/s. In one dimension, convolution with a diffusion kernel adds \(2D_at\) to the initial variance. An initial Gaussian rms width of 20 micrometres therefore becomes about 59.2 micrometres after one microsecond. The result is a width of the carrier concentration; an optical signal proportional to a product of populations can have a different width.
Change the background density ratio and inspect the slope of the variance against delay. This linear calculation treats \(D_a\) as approximately uniform. Strong spatial variation in the density ratio makes the transport law nonlinear. A short uniform recombination lifetime reduces the amplitude and integrated count while leaving the width law of an otherwise homogeneous weak packet intact. Surface recombination or a strongly density-dependent rate can change its shape as well.
A fit gives an rms width increase from 30 to 70 micrometres in two microseconds. Which diffusion coefficient would it imply, and why is dividing the width difference by the time unsuitable?
Work through the solution
The increase in variance is \(70^2-30^2=4000\) square micrometres. Dividing by \(2t=4\) microseconds gives 1000 square micrometres per microsecond, or \(0.0010\) m²/s. The difference of the widths divided by time has units of speed and depends on the initial spot size. A constant imaging blur adds a fixed variance that cancels in the difference.
Integrate the occupation near a band edge
For a three-dimensional parabolic conduction band, the density of states per volume grows as \(\sqrt{E-E_c}\). If \(E_c-\mu\) is several \(k_BT\), the Fermi function is well approximated by \(e^{-(E-\mu)/k_BT}\). Substituting \(x=(E-E_c)/k_BT\) in the carrier integral produces a temperature-dependent prefactor and an exponential separation from the band edge. Carrying out the corresponding hole integral at the valence-band maximum gives
Here \(N_c,N_v\) include spin and any relevant valley degeneracies, \(E_g=E_c-E_v\), and \(n_i\) is the intrinsic concentration. In a parabolic band the prefactors scale as \(T^{3/2}\). The product relation assumes thermal equilibrium with a common chemical potential. Under illumination electrons and holes can have different quasi-Fermi levels; using the same mass-action product there requires additional justification.
Close the equations with charge neutrality
In an intrinsic uniform sample \(n=p=n_i\). Equating the two exponentials gives
The intrinsic chemical potential is at midgap only if the effective state counts match. With fully ionised donors and acceptors, neutrality reads \(n-p=N_D-N_A=D\). Combining it with mass action gives
For large negative \(D\), computing \(p\) first from the corresponding positive root avoids subtracting nearby numbers.
For \(D=10^{16}\) cm⁻³ and \(n_i=10^{10}\) cm⁻³, the electron density is essentially \(10^{16}\) cm⁻³ while \(p\) is about \(10^4\) cm⁻³. Adding net donors moves the Fermi level upward and suppresses holes. At low temperature incomplete ionisation can matter, and at high donor concentration the nondegenerate approximation can fail. At sufficiently high temperature the intrinsic density can grow comparable to the dopant density. Use both balance equations when comparing data across such a crossover.
From a drift balance to a measured signal
In a single isotropic parabolic band a relaxation-time model balances electric acceleration against momentum relaxation. For electrons \(m^*\dot v=-eE-m^*v/\tau\), so the steady drift velocity is \(-e\tau E/m^*\). Define the positive mobility \(u_n=e\tau/m^*\). Multiplying by electron charge and density gives current parallel to the field. With holes present, \(\sigma=e(nu_n+pu_p)\). A conductivity alone supplies a product of concentration and mobility and cannot separate the two.
For one carrier type with charge \(q\), zero transverse current implies
Substituting \(j_x=n q v_x\) yields \(R_H=E_y/(j_xB_z)=1/(nq)\) in this simple model. Combining its sign and magnitude with \(\sigma\) gives a density and mobility. If both types contribute, in weak fields the two-band expression becomes
The mobility squared makes a highly mobile minority carrier disproportionately visible. Interpreting every measured Hall coefficient as the inverse density can therefore misidentify both carrier count and dominant mechanism.
Set up electrostatics at a junction between two dopings
A junction between p-type and n-type regions can sustain an electric field in thermal equilibrium. On contact, carriers diffuse down their concentration gradients. The uncovered, immobile dopant ions leave a negative region on the p side and a positive one on the n side. This space charge creates a field opposing further majority-carrier diffusion. Consider an abrupt, one-dimensional junction in one nondegenerate semiconductor. Assume complete ionization, uniform dopant densities \(N_A,N_D\), no applied bias and neutral regions far from the junction.
The equilibrium Fermi level is constant. Equivalently, Boltzmann carrier densities on opposite sides and the mass-action relation \(np=n_i^2\) imply a built-in voltage magnitude \(V_{\rm bi}=(k_BT/e)\ln(N_AN_D/n_i^2)\). In the depletion approximation mobile carriers are neglected across widths \(x_p\) and \(x_n\) adjoining the junction. Requiring field zero at both outer edges enforces charge neutrality \(N_Ax_p=N_Dx_n\). Inside either side \(dE/dx=\rho/\epsilon\) is constant, so the field profile consists of two straight segments meeting at its maximum magnitude. Integrating the triangular field profile gives
Most of the width lies on the lightly doped side because more volume there is needed to uncover the same fixed charge per area. This relation follows from charge balance and need not be imposed as another boundary condition.
Predict a width and a measurable differential capacitance
Take silicon-like \(\epsilon=11.7\epsilon_0\), \(n_i=1.00\times10^{16}\) m⁻³, \(N_A=1.00\times10^{23}\) m⁻³ and \(N_D=1.00\times10^{22}\) m⁻³ at 300 K. The logarithm is \(\ln(10^{13})=29.93\), giving \(V_{\rm bi}=0.774\) V. The depletion width is \(0.332\) μm, partitioned as \(x_n=0.302\) μm and \(x_p=0.0302\) μm. The peak electric field is \(2(0.774)/(0.332\,\mu{\rm m})=4.66\times10^6\) V/m. The built-in voltage is an internal electrostatic difference; equilibrium contact potentials complicate interpreting it as a terminal voltmeter reading.
A reverse bias of magnitude 0.500 V increases the voltage across the depletion layer to \(1.274\) V and multiplies its width by \(\sqrt{1.274/0.774}=1.28\). Differentiating the uncovered charge per area with respect to reverse bias gives a differential capacitance per area \(\epsilon/W\). It falls from about \(0.312\) to \(0.244\) mF/m² in this sweep. A plot of reciprocal squared capacitance against reverse voltage is therefore approximately linear for uniform doping. A curved graph can indicate a graded interface, traps or departure from the simple depletion approximation.
The abrupt-junction model predicts how the measured capacitance changes if the device area is doubled with doping and bias held fixed. Terminal capacitance doubles, while the inferred depletion width and field maximum stay fixed. Perimeter leakage and fringe capacitance instead scale differently with lateral device size, so comparing multiple diode areas can help isolate the interior junction contribution. Only after this separation is it reasonable to interpret a slope of the inverse squared capacitance as a dopant-density measurement. Frequency dependence provides another diagnostic since slowly responding traps can alter a low-frequency capacitance without changing the static depletion geometry.
Locate the crossover from doped to intrinsic conduction
Assume fully ionised net donors of density \(D>0\) and a nondegenerate equilibrium semiconductor. Set \(r=n_i/D\); solve neutrality and mass action together rather than discarding minority carriers when the intrinsic density rises.

Try it · Carriers
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Read values from the plot
| Intrinsic concentration / net donor density | Electrons | Holes | Intrinsic concentration |
|---|---|---|---|
| 0.01 | 1.0001 | 9.999e−5 | 0.01 |
| 0.1 | 1.0099 | 0.009902 | 0.1 |
| 1 | 1.618 | 0.61803 | 1 |
| 10 | 10.512 | 9.5125 | 10 |
| 100 | 100.5 | 99.501 | 100 |
Study the full derivation
Why a large joint density of states can leave a dark optical edge · Structure, excitations and probes of solids
A band diagram gives the energy an electron needs to move between bands. It does not by itself tell whether light couples those states. Construct a two-orbital model with an explicit velocity operator, calculate its allowed and suppressed transitions, and distinguish electronic band curvature from optical selection rules.