This page is the drill hall for Intrinsic vs extrinsic semiconductors . The parent note built the ideas; here we make sure no case can surprise you — every sign of doping, every degenerate input, every limit, plus a real-world word problem and an exam trap.
Before we compute anything, let us agree on the symbols so nothing appears unearned.
Definition The symbols we will reuse
n — the number of free electrons per cubic centimetre (cm − 3 ). "How many wanderers can carry current."
p — the number of holes per cm − 3 . "How many empty seats drift around."
n i — the intrinsic carrier concentration : in a pure crystal n = p = n i . It is fixed once temperature is fixed.
N D — donor concentration: group-V atoms sprinkled in, each donating one electron.
N A — acceptor concentration: group-III atoms, each creating one hole.
N c , N v — the effective density of states in the conduction band and valence band respectively (cm − 3 ). Loosely: "how many seats are available to sit in near the edge of each band." They come from the density-of-states counting done in Band gap and energy bands ; we treat them here as known material numbers.
k — the Boltzmann constant , k = 8.617 × 1 0 − 5 eV/K . It converts a temperature T (in kelvin) into a thermal energy k T . "How much random jiggling energy each degree of temperature buys."
T — absolute temperature in kelvin (K). Then k T is the thermal energy that breaks bonds; at 300 K , k T = 0.02585 eV .
The one law tying these together is the Law of Mass Action , n p = n i 2 , true at equilibrium for any doping . See Fermi level and Fermi-Dirac statistics for where it comes from.
Intuition One standing assumption: full ionisation
Everywhere on this page we assume 100% dopant ionisation — every donor has released its electron and every acceptor has grabbed one. Why is this fair at room temperature? The extra donor/acceptor level sits only ≈ 0.05 eV from its band, far smaller than k T = 0.02585 eV 's reach, so thermal energy empties essentially all of them. This assumption breaks at very low T (dopants "freeze out" and hold their carriers) or at extremely heavy doping. When it holds, n ≈ N D and p ≈ N A use the full dopant count; if it did not, we would replace N D , N A by the ionised fractions.
Every problem this topic throws is one of these cells. The examples below are tagged with the cell they cover.
Cell
Situation
What decides the method
A
Pure crystal
n = p = n i directly
B
n-type, N D ≫ n i
n ≈ N D , then p = n i 2 / N D
C
p-type, N A ≫ n i
p ≈ N A , then n = n i 2 / N A
D
p-type doping comparable to n i (N A ∼ n i )
shortcut fails → neutrality quadratic for p
D′
n-type doping comparable to n i (N D ∼ n i )
shortcut fails → neutrality quadratic for n
E
Zero / degenerate input (N A = 0 , or T → 0 )
limiting behaviour
F
Both donors and acceptors present (compensation), net ≫ n i
net doping $
F′
Compensation with net $
N_D-N_A
G
Temperature limit — device "goes intrinsic"
solve n i ( T ) = N D
H
Real-world word problem + exam twist
translate words → the cells above
Unless stated, use silicon at 300 K with n i = 1.5 × 1 0 10 cm − 3 and band gap E g = 1.12 eV , with k T = 0.02585 eV at 300 K (see Band gap and energy bands ).
The whole matrix collapses to one branching question — carry this picture in your head:
Worked example Pure silicon, count both carriers
A perfectly pure silicon wafer sits at 300 K . How many free electrons and how many holes are in each cm 3 ?
Forecast: guess before reading — will electrons outnumber holes, or tie?
Recognise the cell. No dopants mentioned → intrinsic. Why this step? The method is chosen entirely by whether impurities are present; here none are.
Apply the intrinsic rule n = p = n i . Why? Every broken bond makes exactly one electron and one hole, so they must be equal.
n = p = n i = 1.5 × 1 0 10 cm − 3
Verify: Check the Law of Mass Action: n p = ( 1.5 × 1 0 10 ) 2 = 2.25 × 1 0 20 , which equals n i 2 . ✓ Units: cm − 3 × cm − 3 = cm − 6 , matching n i 2 . ✓
Worked example n-type, both carriers
Silicon is doped with phosphorus (group V), N D = 5 × 1 0 16 cm − 3 . Find n and p .
Forecast: by roughly what factor will electrons beat holes?
Check the shortcut condition N D ≫ n i : 5 × 1 0 16 ≫ 1.5 × 1 0 10 — true by a factor of millions. Why this step? The shortcut n ≈ N D is only legal when doping dwarfs intrinsic pairs.
Set majority carrier n ≈ N D = 5 × 1 0 16 cm − 3 . Why? Each donor releases one nearly-free electron (Silicon crystal structure and covalent bonding ), and thermal pairs are negligible beside them.
Get the minority carrier from mass action p = n i 2 / n . Why? n p = n i 2 always holds; we know n , so p is forced.
p = 5 × 1 0 16 ( 1.5 × 1 0 10 ) 2 = 5 × 1 0 16 2.25 × 1 0 20 = 4.5 × 1 0 3 cm − 3
Verify: n p = ( 5 × 1 0 16 ) ( 4.5 × 1 0 3 ) = 2.25 × 1 0 20 = n i 2 . ✓ Electrons beat holes by ∼ 1 0 13 — decisively n-type.
Worked example p-type, both carriers
Silicon doped with boron (group III), N A = 2 × 1 0 15 cm − 3 . Find p and n .
Forecast: which carrier is the majority now?
Check N A ≫ n i : 2 × 1 0 15 ≫ 1.5 × 1 0 10 — true. Why? Same shortcut licence as before, mirrored for holes.
Majority p ≈ N A = 2 × 1 0 15 cm − 3 . Why? Each acceptor leaves a permanent empty bond — a hole ready to conduct.
Minority n = n i 2 / p . Why? Mass action again pins the minority carrier.
n = 2 × 1 0 15 2.25 × 1 0 20 = 1.125 × 1 0 5 cm − 3
Verify: n p = ( 2 × 1 0 15 ) ( 1.125 × 1 0 5 ) = 2.25 × 1 0 20 = n i 2 . ✓ Holes are majority — p-type as expected.
This is the cell where the careless student loses marks. When doping is not hugely larger than n i , we cannot say p ≈ N A . We must enforce two facts at once.
Definition Charge neutrality
The crystal as a whole is electrically neutral (see the parent note's mistake box). Positive mobile charges plus ionised donors balance negative mobile charges plus ionised acceptors. For a p-type-only sample where every acceptor is ionised (our standing assumption):
p = n + N A
Read it as: "holes = electrons + the fixed negative acceptor ions" (charge must balance).
Combined with n p = n i 2 , this gives one equation in one unknown. Substituting n = n i 2 / p — why substitute? because we want a single equation in the single unknown p , and mass action lets us trade the unknown n for n i 2 / p :
p = p n i 2 + N A ⟹ p 2 − N A p − n i 2 = 0
Multiplying through by p turned it into a quadratic — why a quadratic? because two competing conditions (neutrality and mass action) generically meet at the roots of a degree-2 equation; there is no linear shortcut when the two terms are comparable. Solving with the quadratic formula:
p = 2 N A + ( 2 N A ) 2 + n i 2
We take the + root — why? because a concentration cannot be negative, and the − root would give p < 0 .
The geometry of why the shortcut fails is in the figure below.
Intuition How to read figure s01
Both axes are logarithmic and both carry the same units, cm − 3 . The horizontal axis is the acceptor doping N A ; the vertical axis is the resulting hole concentration p .
The coral dashed line is the naive shortcut p = N A — a straight diagonal.
The lavender curve is the true answer from the neutrality quadratic.
The mint dotted vertical line marks n i = 1.5 × 1 0 10 .
Far to the right (N A ≫ n i ) the two lie on top of each other — the shortcut is fine. As N A shrinks toward n i , the true curve flattens out at p = n i while the naive line keeps sliding down. That gap is exactly where the shortcut fails.
Worked example Weakly p-type sample
N A = 5 × 1 0 9 cm − 3 , n i = 1.5 × 1 0 10 cm − 3 . Find p and n . Is it "clearly p-type"?
Forecast: will p ≈ N A = 5 × 1 0 9 ? (It won't — watch.)
Spot the trap: N A < n i . Why this step? The shortcut needs N A ≫ n i ; here doping is smaller than intrinsic, so we go to the quadratic.
Compute the root. 2 N A = 2.5 × 1 0 9 . Then
( 2 N A ) 2 + n i 2 = ( 2.5 × 1 0 9 ) 2 + ( 1.5 × 1 0 10 ) 2 = 6.25 × 1 0 18 + 2.25 × 1 0 20 = 2.3125 × 1 0 20
2.3125 × 1 0 20 = 1.52069 × 1 0 10
p = 2.5 × 1 0 9 + 1.52069 × 1 0 10 = 1.77069 × 1 0 10 cm − 3
Why the square root? It is the solution of the quadratic — the only way to satisfy neutrality and mass action simultaneously.
Electrons from mass action: n = n i 2 / p = 2.25 × 1 0 20 /1.77069 × 1 0 10 = 1.27069 × 1 0 10 cm − 3 .
Verify: Neutrality p − n = 1.77069 × 1 0 10 − 1.27069 × 1 0 10 = 5.0 × 1 0 9 = N A . ✓ Mass action n p = 2.25 × 1 0 20 = n i 2 . ✓ Note p only slightly exceeds n (1.77 vs 1.27 ) — the sample is barely p-type, not the clean p = N A the shortcut would wrongly predict.
The same trap exists on the n-side, and the algebra mirrors Example 4. Now donors are positive fixed ions, so charge neutrality for an n-type-only sample reads:
n = p + N D
"electrons = holes + the fixed positive donor ions." Substituting p = n i 2 / n — why substitute? to reduce everything to one unknown n , exactly as before:
n 2 − N D n − n i 2 = 0 ⟹ n = 2 N D + ( 2 N D ) 2 + n i 2
We keep the + root — why? a negative electron concentration is physically impossible.
Worked example Weakly n-type sample
N D = 1 × 1 0 10 cm − 3 , n i = 1.5 × 1 0 10 cm − 3 . Find n and p .
Forecast: will n ≈ N D = 1 × 1 0 10 ? (Again, no.)
Spot the trap: N D < n i . Why? Doping smaller than intrinsic pairs → shortcut illegal, use the quadratic.
Compute the root. 2 N D = 5 × 1 0 9 . Then
( 2 N D ) 2 + n i 2 = ( 5 × 1 0 9 ) 2 + ( 1.5 × 1 0 10 ) 2 = 2.5 × 1 0 19 + 2.25 × 1 0 20 = 2.5 × 1 0 20
2.5 × 1 0 20 = 1.58114 × 1 0 10
n = 5 × 1 0 9 + 1.58114 × 1 0 10 = 2.08114 × 1 0 10 cm − 3
Holes from mass action: p = n i 2 / n = 2.25 × 1 0 20 /2.08114 × 1 0 10 = 1.08114 × 1 0 10 cm − 3 .
Verify: Neutrality n − p = 2.08114 × 1 0 10 − 1.08114 × 1 0 10 = 1.0 × 1 0 10 = N D . ✓ Mass action n p = 2.25 × 1 0 20 = n i 2 . ✓ Only weakly n-type — the mirror of Example 4.
To probe the temperature limit here (and again in Cell G), we need the full temperature model of n i .
Worked example Turning off the doping and the temperature
(a) Put N A = 0 into the quadratic of Example 4. (b) What happens to n i as T → 0 ?
Forecast: should the quadratic collapse back to the pure-crystal answer?
Set N A = 0 in p = 2 N A + ( 2 N A ) 2 + n i 2 . Why? Zero doping must reproduce Cell A, or our formula is wrong.
p = 0 + 0 + n i 2 = n i
and then n = n i 2 / p = n i . So n = p = n i — exactly the intrinsic case. The general formula contains the pure crystal as a limit. ✓
Temperature limit n i ( T ) = N c N v e − E g /2 k T . As T → 0 , the exponent − E g /2 k T → − ∞ , so e − ∞ → 0 . Why? With no thermal energy, no bond can break — a semiconductor at absolute zero is a perfect insulator (Temperature dependence of resistance in semiconductors ). (This is also where dopants "freeze out" — the full-ionisation assumption fails alongside.)
Verify: At N A = 0 the closed form gives p = n i 2 = n i = 1.5 × 1 0 10 , matching Example 1. ✓ The T → 0 limit gives n i → 0 : no carriers. ✓ (No sign ambiguity ever arises: we always chose the + root, guaranteeing p > 0 .)
Real wafers sometimes contain both impurity types. The dopants partly cancel — only the net count matters.
Definition Net doping under compensation
With N D donors and N A acceptors, charge neutrality becomes n + N A = p + N D . When the net count ∣ N D − N A ∣ greatly exceeds n i and N D > N A :
n ≈ N D − N A , p = N D − N A n i 2
The material is n-type if N D > N A , p-type if N A > N D , and effectively intrinsic if they are equal.
Worked example A compensated wafer
N D = 8 × 1 0 16 , N A = 3 × 1 0 16 cm − 3 . Find the type, n , and p .
Forecast: is net doping 8 × 1 0 16 , 3 × 1 0 16 , or 5 × 1 0 16 ?
Compute net doping N D − N A = 8 × 1 0 16 − 3 × 1 0 16 = 5 × 1 0 16 cm − 3 > 0 → n-type . Why? Each acceptor eats one donor's electron; only the leftover donors give free carriers.
Check the shortcut ∣ N D − N A ∣ ≫ n i : 5 × 1 0 16 ≫ 1.5 × 1 0 10 ✓, so majority n ≈ N D − N A = 5 × 1 0 16 . Why? Net doping dwarfs n i , so the shortcut is legal on the net number.
Minority p = n i 2 / n = 2.25 × 1 0 20 /5 × 1 0 16 = 4.5 × 1 0 3 cm − 3 .
Verify: n p = ( 5 × 1 0 16 ) ( 4.5 × 1 0 3 ) = 2.25 × 1 0 20 = n i 2 . ✓ Neutrality: n + N A = 5 × 1 0 16 + 3 × 1 0 16 = 8 × 1 0 16 = p + N D (since p is negligible). ✓
What if donors and acceptors nearly cancel, leaving a net count comparable to n i ? The shortcut fails again — but the fix is elegant: replace N D (or N A ) in the earlier quadratic by the net doping.
Worked example Nearly-cancelling dopants
N D = 3.1 × 1 0 10 , N A = 3.0 × 1 0 10 cm − 3 . Find the type, n , and p .
Forecast: with net doping only 1 × 1 0 9 (below n i !), will n ≈ Δ ?
Net doping Δ = 3.1 × 1 0 10 − 3.0 × 1 0 10 = 1.0 × 1 0 9 cm − 3 > 0 → n-type , but barely . Why this step? Only the net excess acts as effective doping; here it is smaller than n i , flagging the trap.
Use the quadratic with Δ . 2 Δ = 5 × 1 0 8 . Then
( 2 Δ ) 2 + n i 2 = ( 5 × 1 0 8 ) 2 + ( 1.5 × 1 0 10 ) 2 = 2.5 × 1 0 17 + 2.25 × 1 0 20 = 2.2525 × 1 0 20
2.2525 × 1 0 20 = 1.50083 × 1 0 10
n = 5 × 1 0 8 + 1.50083 × 1 0 10 = 1.55083 × 1 0 10 cm − 3
Why the quadratic? Net doping ∼ n i , so both terms of neutrality matter — no linear shortcut.
Holes p = n i 2 / n = 2.25 × 1 0 20 /1.55083 × 1 0 10 = 1.45083 × 1 0 10 cm − 3 .
Verify: Neutrality n − p = 1.55083 × 1 0 10 − 1.45083 × 1 0 10 = 1.0 × 1 0 9 = Δ . ✓ Mass action n p = 2.25 × 1 0 20 = n i 2 . ✓ The sample is only a whisker n-type — a shortcut answer of n ≈ 1 0 9 would be off by 15×.
Worked example When does an n-type device go intrinsic?
An n-type Si device is doped N D = 1 × 1 0 15 cm − 3 . It loses its designed behaviour once n i ( T ) climbs to equal N D . Using the model n i ( T ) = 3.9 × 1 0 16 T 3/2 e − E g /2 k T cm − 3 (from Example 6) with E g = 1.12 eV and k = 8.617 × 1 0 − 5 eV/K , is the device still safely extrinsic at T = 450 K ?
Forecast: at 450 K , do you expect n i to be well below 1 0 15 , or dangerously close?
Compute the exponent − E g / ( 2 k T ) at T = 450 : 2 k T = 2 ( 8.617 × 1 0 − 5 ) ( 450 ) = 0.077553 eV ; exponent = − 1.12/0.077553 = − 14.4419 . Why? The Boltzmann factor governs how many bonds break; the exponent is the whole story.
Evaluate n i ( 450 ) = 3.9 × 1 0 16 × 45 0 1.5 × e − 14.4419 . Here 45 0 1.5 = 9545.94 and e − 14.4419 = 5.336 × 1 0 − 7 .
n i ( 450 ) = 3.9 × 1 0 16 × 9545.94 × 5.336 × 1 0 − 7 ≈ 1.986 × 1 0 14 cm − 3
Compare with N D = 1 0 15 . Why? Extrinsic behaviour survives while n i ≪ N D . Here n i ≈ 2 × 1 0 14 is only ~5× below N D — the safety margin is thinning.
Verify: n i ( 450 ) / N D ≈ 1.986 × 1 0 14 /1 0 15 = 0.199 , i.e. intrinsic carriers are already ~20% of the doping. Still extrinsic but marginal — a real chip would be de-rated below this. ✓
Worked example Sizing a diode's lightly-doped side (and the twist)
A PN junction diode has an n-side doped N D = 1 × 1 0 16 cm − 3 . The reverse saturation current depends on the minority-hole concentration on that side.
(a) Find p .
(b) By what factor does p change if the doping is doubled ?
(c) Exam twist: a lab technician instead lightly dopes a fresh wafer to N D = 1 × 1 0 10 cm − 3 "to be gentle." Is the shortcut n ≈ N D still valid? What is the true n ?
Forecast: (b) doubling N D — does minority p halve, double, or stay put? (c) is "gentle" doping safe to shortcut?
Translate words to a cell. "n-side, heavily doped, want minority holes" = Cell B. Why? Word problems are disguised matrix cells; naming the cell picks the tool.
(a) Minority holes p = n i 2 / N D = 2.25 × 1 0 20 /1 × 1 0 16 = 2.25 × 1 0 4 cm − 3 . Why? Mass action fixes minority carriers; these are what leak across a reverse-biased junction.
(b) Double the doping to N D ′ = 2 × 1 0 16 : p ′ = 2.25 × 1 0 20 /2 × 1 0 16 = 1.125 × 1 0 4 cm − 3 . Why? p ∝ 1/ N D , so doubling doping halves minority holes — and thus roughly halves that leakage current.
(c) The twist. Now N D = 1 × 1 0 10 < n i = 1.5 × 1 0 10 : this is Cell D′, not B ! Why this step? The shortcut needs N D ≫ n i , which fails here. Use the quadratic (from Example 5, which used exactly these numbers): n = 2.08114 × 1 0 10 cm − 3 , more than double the naive 1 0 10 . The "gentle" wafer is only weakly n-type.
Verify: (a)/(b) p / p ′ = 2.25 × 1 0 4 /1.125 × 1 0 4 = 2 exactly — inverse relationship holds. ✓ Units: cm − 6 / cm − 3 = cm − 3 . ✓ (c) n = 2.08114 × 1 0 10 vs naive 1 × 1 0 10 : shortcut error factor ≈ 2.08 . ✓ (Recall from Carrier mobility and drift current that fewer minority carriers means a cleaner diode.)
Recall When is the shortcut
p ≈ N A illegal, and what replaces it?
When N A is not ≫ n i (comparable or smaller). Replace it with the charge-neutrality quadratic p 2 − N A p − n i 2 = 0 , taking p = 2 N A + ( 2 N A ) 2 + n i 2 .
Recall Under compensation, what plays the role of "the doping" in every formula?
The net excess Δ = N D − N A . If ∣Δ∣ ≫ n i use the shortcut on Δ ; if ∣Δ∣ ∼ n i use the quadratic with Δ .
Recall Why is full dopant ionisation assumed, and when does it fail?
Because the donor/acceptor level sits ≈0.05 eV from its band, far inside k T 's reach at 300 K . It fails at very low T (freeze-out) or extremely heavy doping.
Mnemonic Three-question triage for any problem
"Pure? Big? Both?"
Pure (no dopant) → Cell A: n = p = n i .
Big dopant (≫ n i ) → Cell B/C shortcut.
Both / comparable / net → net doping Δ , then quadratic if ∣Δ∣ ∼ n i .
What replaces p ≈ N A when N A ∼ n i ? The charge-neutrality quadratic
p = 2 N A + ( 2 N A ) 2 + n i 2 .
What replaces n ≈ N D when N D ∼ n i ? Under compensation with N D > N A , the majority electron count is? n ≈ N D − N A (if the net exceeds n i ).
Under compensation with net ∣ N D − N A ∣ ∼ n i , what do you do? Use the neutrality quadratic with Δ = N D − N A in place of the doping.
As T → 0 , what happens to n i ? n i → 0 — no bonds break, perfect insulator (and dopants freeze out).
Doubling N D does what to minority holes p ? Halves them, since p = n i 2 / N D .
Setting N A = 0 in the neutrality quadratic gives? p = n i , recovering the intrinsic case.
Why is full dopant ionisation assumed at 300 K? The dopant level is ≈0.05 eV from its band, well within thermal reach k T = 0.02585 eV .
What do N c and N v mean? The effective density of states (available seats) near the conduction- and valence-band edges;
n i = N c N v e − E g /2 k T .