This page drills the formation of a PN junction with worked examples that hit every case: symmetric doping, asymmetric doping, temperature extremes, the degenerate "n i → everything" limit, real-world word problems, and an exam twist. Each example is tagged with the matrix cell it covers.
Everything here uses two boxed results from the parent note. Let me re-state them once, in plain words, so no symbol is unearned.
V T = k T / q is , before we use it
k is Boltzmann's constant (energy per degree of temperature), T is absolute temperature in kelvin, q is the electron's charge. So k T is a thermal energy and k T / q is that energy expressed as a voltage . It is the natural "voltage of jiggling" at temperature T — the scale against which every junction voltage is measured. At room temperature (T = 300 K ) it is about 0.0259 V. It scales linearly with temperature: hotter → bigger V T .
Cell
Case class
What is stressed
Example
A
Symmetric doping N A = N D
Baseline V bi , sanity
Ex 1
B
Asymmetric doping N A = N D
Which side is wider, x p vs x n
Ex 2
C
Doping ratio changes only
Log dependence (slow growth)
Ex 3
D
Temperature swing (cold + hot)
Two competing T effects
Ex 4
E
Degenerate limit N A N D → n i 2
V bi → 0 (no junction)
Ex 5
F
Real-world word problem
Reading a spec sheet → V bi
Ex 6
G
Exam twist: reverse the formula
Given V bi , find the doping
Ex 7
H
Extreme asymmetry (p + n )
One-sided depletion approximation
Ex 8
The figures below carry the geometry for cells B and H.
Ex 1 (Cell A). Silicon at 300 K, N A = N D = 1 0 16 cm − 3 , n i = 1.5 × 1 0 10 cm − 3 . Find V bi .
Forecast: Guess the number before computing. Silicon diodes "turn on" near 0.7 V — so bet on something in the 0.6–0.7 V range.
Step 1. Write the ratio inside the log.
n i 2 N A N D = ( 1.5 × 1 0 10 ) 2 ( 1 0 16 ) ( 1 0 16 ) = 2.25 × 1 0 20 1 0 32 = 4.44 × 1 0 11
Why this step? The formula only cares about how many dopant ions there are compared to the intrinsic background; that comparison is a pure ratio.
Step 2. Take the natural log.
ln ( 4.44 × 1 0 11 ) ≈ 26.82
Why this step? Diffusion balances drift exponentially (from the d n / n integral in the parent note), so undoing that exponential means taking a log.
Step 3. Multiply by V T .
V bi = 0.0259 × 26.82 ≈ 0.695 V
Why this step? V T converts the dimensionless log into an actual voltage.
Verify: 0.695 V sits squarely in the forecast 0.6–0.7 V band. Units: [ q k T ] = V times a dimensionless log = V . ✅
Ex 2 (Cell B). Now N A = 1 0 15 (light p-side), N D = 1 0 17 (heavy n-side), n i = 1.5 × 1 0 10 , 300 K. Find V bi and the ratio x p / x n .
Forecast: The product N A N D = 1 0 15 ⋅ 1 0 17 = 1 0 32 is the same as Ex 1. So predict V bi is identical to Ex 1 (≈0.695 V) — the log only sees the product. For width: the lightly doped side (p) should be wider .
Step 1. Product and log:
n i 2 N A N D = 2.25 × 1 0 20 1 0 32 = 4.44 × 1 0 11 , V bi = 0.0259 × 26.82 ≈ 0.695 V
Why this step? Confirms the forecast — V bi depends only on the product, not the split.
Step 2. Use charge balance N A x p = N D x n :
x n x p = N A N D = 1 0 15 1 0 17 = 100
Why this step? Equal hidden charge on each side; the side with fewer ions per volume must stretch further to match. This is the geometry in the figure.
Verify: x p / x n = 100 > 1 , so the p-side (lightly doped) is 100× wider — matches the forecast. Sanity: putting numbers back, N A x p = 1 0 15 ⋅ 100 x n = 1 0 17 x n = N D x n . ✅
Ex 3 (Cell C). Start from Ex 1 (V bi = 0.695 V). Multiply both dopings by 10 (so N A = N D = 1 0 17 ). How much does V bi rise?
Forecast: The product jumps by 10 × 10 = 100 . But V bi only sees the log , so guess a small rise — a few tens of millivolts, not a doubling.
Step 1. The change in V bi is
Δ V bi = V T ln ( 1 0 16 ) 2 ( 1 0 17 ) 2 = V T ln ( 100 )
Why this step? ln b a = ln a − ln b , so the old value subtracts out and only the factor 100 survives inside the log.
Step 2. Evaluate:
Δ V bi = 0.0259 × ln ( 100 ) = 0.0259 × 4.605 ≈ 0.119 V
Why this step? Plug in to see the actual size of the "few tens of mV" guess.
Verify: New V bi ≈ 0.695 + 0.119 = 0.814 V. A 100× doping increase gave only a 17% voltage rise — that is the logarithm's slow growth, exactly as forecast. ✅
Common mistake The trap before we start
"Higher T → bigger V T = k T / q → bigger V bi ." WHY it feels right: V T sits out front and grows with T . The fix: n i also grows steeply with T (roughly n i 2 ∝ T 3 e − E g / k T ), and n i is in the denominator of the log. That effect wins , so real diodes' V bi actually falls as they heat up. Never quote only the front factor.
Ex 4 (Cell D). For N A = N D = 1 0 16 , compare V bi using the front factor only (i.e. hold n i fixed at its 300 K value) at T = 250 K (cold) and T = 350 K (hot). V T = k T / q scales linearly, so V T ( T ) = 0.0259 × 300 T .
Forecast: With n i artificially frozen, only V T moves. It is linear in T , so predict cold < 0.695 V < hot, spread by the ratio 250/300 and 350/300 .
Step 1. Cold: V T ( 250 ) = 0.0259 × 300 250 = 0.02158 V.
V bi ( 250 ) = 0.02158 × 26.82 ≈ 0.579 V
Why this step? Same log (frozen n i ), scaled front factor.
Step 2. Hot: V T ( 350 ) = 0.0259 × 300 350 = 0.03022 V.
V bi ( 350 ) = 0.03022 × 26.82 ≈ 0.810 V
Why this step? Same log, larger front factor.
Verify: 0.579 < 0.695 < 0.810 — ordered as forecast, and the ratio 0.810/0.579 = 1.40 = 350/250 confirms the pure linear scaling. Reality caveat: once n i ( T ) is allowed to grow, the true V bi trend reverses and falls with heat — see the [!mistake] callout. This example isolates one factor on purpose. ✅
Ex 5 (Cell E). Push doping down until N A N D = n i 2 exactly (barely-doped, nearly intrinsic material — see Doping of Semiconductors ). What is V bi ?
Forecast: If p-side and n-side become almost identical to plain silicon, there is no concentration difference to drive diffusion — so guess V bi → 0 .
Step 1. Substitute N A N D = n i 2 :
V bi = V T ln n i 2 n i 2 = V T ln ( 1 )
Why this step? This is the degenerate corner of the matrix — the doping ratio collapses to 1.
Step 2. ln ( 1 ) = 0 , so
V bi = V T × 0 = 0 V
Why this step? The log of 1 is zero because e 0 = 1 ; no exponential imbalance means no barrier.
Verify: Zero built-in potential = no functioning junction . Physically correct: two identical materials touching build no field. This is the boundary case that tells you doping must differ for a diode to exist. ✅
Ex 6 (Cell F). A datasheet lists a germanium diode: p-region N A = 5 × 1 0 16 cm − 3 , n-region N D = 2 × 1 0 16 cm − 3 , and germanium's n i = 2.4 × 1 0 13 cm − 3 at 300 K. Estimate V bi .
Forecast: Germanium has a much larger n i than silicon (that big n i sits in the denominator). Larger denominator → smaller ratio → smaller log → predict a lower barrier than silicon's 0.7 V — germanium diodes famously turn on near 0.3 V.
Step 1. Product / n i 2 :
n i 2 N A N D = ( 2.4 × 1 0 13 ) 2 ( 5 × 1 0 16 ) ( 2 × 1 0 16 ) = 5.76 × 1 0 26 1 0 33 ≈ 1.736 × 1 0 6
Why this step? Same recipe; the only villain is germanium's big n i .
Step 2. Log:
ln ( 1.736 × 1 0 6 ) ≈ 14.37
Why this step? Undo the exponential imbalance as always.
Step 3. Times V T :
V bi = 0.0259 × 14.37 ≈ 0.372 V
Why this step? Convert to volts.
Verify: ≈0.37 V — in the classic germanium 0.3 V neighbourhood, well below silicon's 0.7 V, exactly as the forecast reasoned from the large n i . ✅
Ex 7 (Cell G). A silicon junction (n i = 1.5 × 1 0 10 , 300 K) is measured to have V bi = 0.75 V. It is symmetric (N A = N D = N ). Find N .
Forecast: 0.75 V is a bit above the 1 0 16 baseline (0.695 V), so predict N a little above 1 0 16 .
Step 1. Invert the formula. Since V bi = V T ln n i 2 N 2 ,
n i 2 N 2 = e V bi / V T = e 0.75/0.0259 = e 28.96
Why this step? ln and e ( ⋅ ) are inverse operations — to free the doping we apply e to both sides. This is the "which number has this log?" move.
Step 2. Solve for N :
N = n i e V bi / ( 2 V T ) = 1.5 × 1 0 10 × e 14.48
Why this step? N 2 = n i 2 e 28.96 , so take the square root, which halves the exponent.
Step 3. Evaluate e 14.48 ≈ 1.95 × 1 0 6 :
N ≈ 1.5 × 1 0 10 × 1.95 × 1 0 6 ≈ 2.9 × 1 0 16 cm − 3
Why this step? Multiply out the numbers.
Verify: Feed N = 2.9 × 1 0 16 forward: n i 2 N 2 = 2.25 × 1 0 20 8.5 × 1 0 32 = 3.8 × 1 0 12 , ln = 29.0 , × 0.0259 = 0.751 V ✅. And 2.9 × 1 0 16 > 1 0 16 — matches the forecast that we'd land just above baseline.
Ex 8 (Cell H). A p + n junction: N A = 1 0 19 (very heavy p-side), N D = 1 0 15 (light n-side), n i = 1.5 × 1 0 10 , 300 K. Find V bi and the fraction of the depletion width that lies in the n-side.
Forecast: Product = 1 0 34 , larger than Ex 1's 1 0 32 , so V bi a bit above 0.695 V. For geometry: the heavy p-side barely depletes; almost the entire depletion region sits in the light n-side — so predict the n-fraction ≈ 100%.
Step 1. V bi :
n i 2 N A N D = 2.25 × 1 0 20 1 0 34 = 4.44 × 1 0 13 , ln = 31.4 , V bi = 0.0259 × 31.4 ≈ 0.813 V
Why this step? Standard recipe; product is 100× Ex 1, so V bi rises by V T ln 100 ≈ 0.119 V → 0.695 + 0.119 = 0.814 V. Consistent.
Step 2. From N A x p = N D x n , the n-side reach fraction:
x n + x p x n = x n + N A N D x n x n = 1 + N A N D 1 = 1 + 1 0 − 4 1 ≈ 0.9999
Why this step? x p = N A N D x n from charge balance; substitute and simplify.
Verify: ≈99.99% of the depletion width is in the lightly doped n-side — the "one-sided junction" approximation used in device design. Forecast confirmed. ✅
Recall Quick self-test
V bi depends on doping through which mathematical function? ::: The natural logarithm of the product N A N D , so it grows very slowly.
Same product, different split N A vs N D — does V bi change? ::: No. V bi depends only on the product N A N D , not the split.
Why does real V bi fall when the diode heats up? ::: Because n i (in the denominator) grows with T faster than the front factor k T / q grows.
In a p + n junction, where does almost all the depletion width sit? ::: In the lightly doped n-side.
What is V bi when N A N D = n i 2 ? ::: Zero — no doping contrast, no junction.
See also: Diffusion and Drift Currents , PN Junction under Bias , Diode I-V Characteristics , Einstein Relation .