This page is the exercise gym for the parent note . There you learned why a voltage appears and how to derive
V bi = q k T ln ( n i 2 N A N D ) .
Here we hit that formula from every angle it can be attacked from in a homework or exam — every sign of the log, every degenerate input, both temperature and material changes, and the sneaky "voltmeter" trap.
Intuition Before we compute anything, name every symbol once more
k T / q is the thermal voltage V T : a voltage that measures how much "push" random thermal jiggling gives carriers. At room temperature (T = 300 K) it is 0.02585 V = 25.85 mV. Picture it as the natural "voltage unit" of a warm semiconductor.
N A (acceptors, p-side) and N D (donors, n-side) are how many dopant atoms per cubic centimetre the factory put in. Bigger number = more crowded with one carrier type.
n i is the intrinsic carrier concentration — how many electron–hole pairs a pure crystal makes by itself from heat alone. See Intrinsic carrier concentration .
ln is the natural logarithm : it answers "e to what power gives this number?" We use it (not a plain ratio) because it fell out of integrating ∫ d n / n in the parent derivation — the log is what you get when the rate of change of something is proportional to the thing itself.
Every problem this formula can throw at you is one of these cells. The examples below are tagged with the cell they cover.
Cell
What varies / what's tested
Sign of the log argument
Covered by
A
Ordinary asymmetric Si junction
n i 2 N A N D ≫ 1 → V bi > 0
Ex 1
B
Symmetric doping (N A = N D )
> 0
Ex 2
C
Change doping 10× (log sensitivity)
> 0 , small shift
Ex 3
D
Different material (Ge, big n i )
ratio smaller → smaller V bi
Ex 4
E
Temperature change (n i grows)
ratio shrinks → V bi falls
Ex 5
F
Degenerate / limiting: doping → n i
argument → 1 , so V bi → 0
Ex 6
G
"Below intrinsic" pathological input
argument < 1 → ln < 0 → V bi < 0
Ex 7
H
Word problem + voltmeter twist
— (conceptual)
Ex 8
I
Reverse-engineer doping from V bi
invert the log
Ex 9
We'll walk A → I in order.
Worked example Example 1 (Cell A)
Silicon, T = 300 K: N A = 1 0 17 cm − 3 , N D = 1 0 16 cm − 3 , n i = 1.0 × 1 0 10 cm − 3 . Find V bi .
Forecast: Silicon diodes "turn on" near 0.7 V. Guess: somewhere between 0.7 and 0.8 V.
Form the argument n i 2 N A N D = ( 1 0 10 ) 2 1 0 17 ⋅ 1 0 16 = 1 0 20 1 0 33 = 1 0 13 .
Why this step? The formula's inside is a pure ratio of concentrations; grouping powers of ten first keeps the arithmetic clean.
Take the natural log: ln ( 1 0 13 ) = 13 ln 10 = 13 × 2.302585 = 29.93 .
Why this step? ln answers "e-to-what-power," and ln ( 1 0 13 ) = 13 ln 10 turns a huge number into a small one — that's exactly why doping has weak control (see Ex 3).
Multiply by thermal voltage: V bi = 0.02585 × 29.93 = 0.7738 V .
Why this step? V T converts the dimensionless log into volts.
Verify: 0.774 V sits inside the textbook 0.6–0.8 V band for silicon ✓. Units: volts × (dimensionless) = volts ✓.
Worked example Example 2 (Cell B)
Same silicon, but both sides doped equally: N A = N D = 1 0 16 cm − 3 . Find V bi .
Forecast: We removed one factor of 10 from the argument versus Ex 1, so expect a slightly smaller answer — around 0.71 V.
Argument = ( 1 0 10 ) 2 1 0 16 ⋅ 1 0 16 = 1 0 20 1 0 32 = 1 0 12 .
Log = ln ( 1 0 12 ) = 12 × 2.302585 = 27.63 .
Why this step? Dropping from 1 0 13 to 1 0 12 removes exactly ln 10 = 2.303 from the log.
Volts = 0.02585 × 27.63 = 0.7143 V .
Verify: This matches the parent note's "Forecast-then-Verify" value of 0.714 V ✓. It is 0.774 − 0.714 = 0.060 V less than Ex 1 — exactly one V T ln 10 ≈ 0.0595 V step, confirming the log's factor-of-10 rhythm.
Worked example Example 3 (Cell C)
Start from Ex 1 and increase N D tenfold to 1 0 17 . By how much does V bi rise?
Forecast: Naively, "10× more charge → 10× more voltage → ~7 V." The log will crush that intuition. Guess the real shift before reading.
New argument = 1 0 20 1 0 17 ⋅ 1 0 17 = 1 0 14 .
New V bi = 0.02585 × ln ( 1 0 14 ) = 0.02585 × 32.24 = 0.8333 V .
The shift Δ V bi = 0.8333 − 0.7738 = 0.0595 V ≈ 60 mV .
Why this step? Multiplying the argument by 10 adds ln 10 inside the log, so V bi gains exactly V T ln 10 = 0.02585 × 2.3026 = 0.0595 V — independent of the starting doping .
Verify: 0.02585 × ln 10 = 0.05954 V ✓. A 10× doping change moved V bi by only 60 mV, not by a factor of 10 — the "doping harder" mistake defused.
Look at the chalk-blue curve above: it's V bi versus the log of doping. Because the horizontal axis is already logarithmic, the curve is a straight line — each tenfold hop rightward climbs the same tiny 60 mV. That flat slope is the reason you can never dope your way to a huge built-in potential.
Worked example Example 4 (Cell D)
Germanium: n i = 2.4 × 1 0 13 cm − 3 , with N A = N D = 1 0 16 . Compare its V bi to silicon's from Ex 2.
Forecast: Ge's n i is ~2400× bigger than Si's. A bigger n i shrinks the ratio hard, so expect a much smaller V bi — maybe 0.3 V, matching Ge's famous ~0.3 V turn-on.
Argument = ( 2.4 × 1 0 13 ) 2 1 0 16 ⋅ 1 0 16 = 5.76 × 1 0 26 1 0 32 = 1.736 × 1 0 5 .
Why this step? ( 2.4 × 1 0 13 ) 2 = 5.76 × 1 0 26 ; the large n i 2 eats most of the numerator.
Log = ln ( 1.736 × 1 0 5 ) = 12.065 .
Volts = 0.02585 × 12.065 = 0.3119 V .
Verify: ≈ 0.312 V, matching the parent's Ge example ✓. Same dopings as Ex 2 (0.714 V) but a bigger n i dropped V bi by 0.40 V — the material, not the doping, dominates here. See Mass-action law for why n i 2 appears squared.
Worked example Example 5 (Cell E)
Silicon from Ex 1, but heated from 300 K to 350 K. Two things change: V T = k T / q rises , and n i rises fast (n i ∝ T 3/2 e − E g /2 k T ). Does V bi go up or down?
Forecast: The prefactor V T rising helps V bi ; the exploding n i hurts it. Silicon empirically falls ~2 mV/°C, so bet on a decrease .
New thermal voltage: V T = q k T ∝ T , so V T ( 350 ) = 0.02585 × 300 350 = 0.03016 V.
New n i . Using E g = 1.12 eV for Si and Boltzmann constant k = 8.617 × 1 0 − 5 eV/K, the ratio is
n i ( 300 ) n i ( 350 ) = ( 300 350 ) 3/2 exp [ − 2 k E g ( 350 1 − 300 1 ) ] .
Numerically the exponent is − 2 ( 8.617 × 1 0 − 5 ) 1.12 ( 350 1 − 300 1 ) = + 3.093 , and ( 350/300 ) 1.5 = 1.260 , giving a factor 1.260 e 3.093 = 27.71 . So n i ( 350 ) = 2.771 × 1 0 11 .
Why this step? n i is the term that swings hardest with temperature; ignoring it is the classic mistake.
New argument = ( 2.771 × 1 0 11 ) 2 1 0 33 = 7.68 × 1 0 22 1 0 33 = 1.302 × 1 0 10 .
New V bi = 0.03016 × ln ( 1.302 × 1 0 10 ) = 0.03016 × 23.29 = 0.7025 V .
Verify: V bi dropped from 0.774 to 0.702 V, i.e. − 0.071 V over 50 ∘ C = − 1.4 mV/°C by this simple model — same sign and order of magnitude as the textbook ~− 2 mV/°C ✓. The rising V T did not win: the shrinking log dominates. See Energy band diagrams for the band-gap picture behind E g .
Worked example Example 6 (Cell F)
Push the doping down until both sides are barely doped: N A = N D = n i = 1 0 10 cm − 3 . What is V bi ?
Forecast: If both sides are essentially pure crystal, there's no concentration difference to drive diffusion — the "wall" has nothing to build. Guess V bi = 0 .
Argument = n i 2 n i ⋅ n i = n i 2 n i 2 = 1 .
Why this step? When doping equals the intrinsic level, the numerator exactly equals n i 2 .
Log of 1 = ln ( 1 ) = 0 .
Why this step? ln asks "e-to-what-power gives 1?" — the answer is 0, because anything0 = 1 .
Volts = 0.02585 × 0 = 0 V .
Verify: V bi = 0 ✓. This is the physical floor: no doping contrast, no built-in field, no depletion region. Any real diode must have doping ≫ n i , which is why the argument is always ≫ 1 in Cells A–E.
Worked example Example 7 (Cell G — "what CAN'T happen and why")
A student writes N A = N D = 1 0 8 cm − 3 (below silicon's n i = 1 0 10 ). What does the formula spit out, and is it physical?
Forecast: Doping below intrinsic is nonsense (you can't have fewer carriers than the pure crystal), but let's see what the math says and what warning sign it gives.
Argument = ( 1 0 10 ) 2 ( 1 0 8 ) 2 = 1 0 20 1 0 16 = 1 0 − 4 .
Why this step? Now the numerator is smaller than n i 2 , so the ratio drops below 1.
Log of a number below 1 is negative: ln ( 1 0 − 4 ) = − 4 × 2.302585 = − 9.21 .
Why this step? ln crosses zero at 1 and goes negative for inputs in ( 0 , 1 ) — this is the sign flip the matrix warned about.
Volts = 0.02585 × ( − 9.21 ) = − 0.238 V .
Verify: The formula yields a negative V bi ✓ — a mathematical red flag. Physically, the fully-ionized approximation (n n ≈ N D ) breaks once doping ≲ n i : the majority carrier is then set by n i , not N D . So the correct physical answer is still V bi ≈ 0 (as in Ex 6), and a negative output tells you the model's assumptions were violated, not that a "reverse" junction formed.
Worked example Example 8 (Cell H)
A friend builds the Ex 1 diode (V bi = 0.774 V), clips a voltmeter across it, and expects a free 0.774 V battery. The meter reads 0.000 V . Explain, and state what current flows.
Forecast: We know from the parent note this is the "free energy" trap. Guess: contact potentials cancel it, current = 0.
Identify every junction in the loop. The probe adds a metal–p contact and a metal–n contact. Each contact has its own contact potential.
Why this step? A voltmeter never touches the depletion region directly; it always inserts extra junctions.
Sum potentials around the closed loop (Kirchhoff's voltage law). The two metal–semiconductor contact potentials add up to − V bi exactly, so the total is V bi + ( contacts ) = 0 .
Why this step? At thermal equilibrium the Fermi level is flat everywhere; a flat Fermi level means zero net potential difference between the two metal leads.
Current = 0 because there is no net EMF and no external source.
Verify: Meter reads 0 V, current = 0 ✓. V bi is an internal equilibrium quantity — real across the depletion layer, invisible at the terminals. The moment you apply an external battery you leave equilibrium and enter diode I–V territory.
Worked example Example 9 (Cell I)
A capacitance–voltage measurement gives V bi = 0.65 V for a silicon junction with known N D = 1 0 15 cm − 3 . Find the p-side doping N A . (n i = 1 0 10 , V T = 0.02585 .)
Forecast: 0.65 V is a bit below the symmetric-1 0 16 value (0.714 V), and N D here is lower (1 0 15 ), so N A must be moderate — guess somewhere near 1 0 16 .
Isolate the log: divide by V T : V T V bi = 0.02585 0.65 = 25.145 .
Why this step? We're inverting the formula, so first strip off the prefactor.
Undo the log (exponentiate): n i 2 N A N D = e 25.145 = 8.36 × 1 0 10 .
Why this step? e ( ⋅ ) is the exact opposite of ln ; applying it recovers the ratio.
Solve for N A : N A = N D 8.36 × 1 0 10 ⋅ n i 2 = 1 0 15 8.36 × 1 0 10 × 1 0 20 = 8.36 × 1 0 15 cm − 3 .
Why this step? Multiply through by n i 2 and divide by the known N D .
Verify: Plug back: 1 0 20 8.36 × 1 0 15 ⋅ 1 0 15 = 8.36 × 1 0 10 ; ln ( 8.36 × 1 0 10 ) = 25.15 ; × 0.02585 = 0.650 V ✓. N A ≈ 8.4 × 1 0 15 sits right in the "moderate" range we forecast.
Common mistake The three traps this page was built to kill
Sign trap (Cell G): a negative V bi never means a "reversed" junction — it means doping fell below n i and the n n ≈ N D approximation collapsed.
Scale trap (Cell C): 10× doping = only +60 mV, forever, because of the log.
Terminal trap (Cell H): V bi is internal; a voltmeter reads 0.
Recall Quick self-test
A Si junction reads V bi = 0.834 V. Roughly what changed versus the 0.774 V baseline of Ex 1? ::: The doping product went up ~10× (each factor of 10 adds ~60 mV; 0.834 − 0.774 = 0.060 V).
If you heat a diode, does V bi rise or fall, and which term wins? ::: It falls; the fast-growing n i shrinks the log faster than the rising V T prefactor lifts it.
What is ln ( 1 ) and why does it set the "no built-in potential" floor? ::: ln ( 1 ) = 0 ; when doping equals n i there is no concentration contrast, so V bi = 0 .