AnyLearn
All lessons
Sciencebeginner

Semiconductor basics: bands, doping, and the PN junction

What makes silicon work where diamond won't, why doping turns an insulator into a tunable conductor, and how slapping p-type silicon next to n-type creates the depletion region that becomes a diode. The physics every chip is built on.

Updated · AI-authored, review-gated · how lessons are made

Progress1 / 8

Bands and band gaps

Materials have two key energy bands for valence electrons: the valence band (where electrons live when bound to atoms) and the conduction band (where they're free to carry current). The gap between them, EgE_g, decides everything.

  • Metals: bands overlap. Electrons are always free. Always conduct.
  • Insulators: gap is huge (~5+ eV for diamond). Nothing crosses. Don't conduct.
  • Semiconductors: gap is narrow (~1.1 eV for silicon, ~0.7 eV for germanium). At room temperature, some electrons get enough thermal energy to jump.

That "some" is what makes the material engineerable. With doping, light, voltage, or temperature you can turn conductivity on, off, or anywhere in between. Insulators are too closed; metals are too open. Silicon is the Goldilocks zone.

Sign in free to save your progress and earn certificates.

Full lesson text

All 8 steps on one page, for reading, reference, and search.

Show

1. Bands and band gaps

Materials have two key energy bands for valence electrons: the valence band (where electrons live when bound to atoms) and the conduction band (where they're free to carry current). The gap between them, EgE_g, decides everything.

  • Metals: bands overlap. Electrons are always free. Always conduct.
  • Insulators: gap is huge (~5+ eV for diamond). Nothing crosses. Don't conduct.
  • Semiconductors: gap is narrow (~1.1 eV for silicon, ~0.7 eV for germanium). At room temperature, some electrons get enough thermal energy to jump.

That "some" is what makes the material engineerable. With doping, light, voltage, or temperature you can turn conductivity on, off, or anywhere in between. Insulators are too closed; metals are too open. Silicon is the Goldilocks zone.

2. Electrons and holes

When an electron jumps from the valence to the conduction band, it leaves an empty spot behind — a hole. Holes act like positive charges: when a nearby valence electron drops into the hole, the hole effectively moves to where the electron came from.

So intrinsic (pure) silicon at room temperature has two carriers:

  • Electrons in the conduction band — negative charge, mobile.
  • Holes in the valence band — positive charge, mobile (in the bookkeeping sense).

The concentration of each is tiny: ni≈1.5×1010n_i \approx 1.5 \times 10^{10} per cm³ for Si at 300 K. Compare to ∼1022\sim 10^{22} atoms per cm³ — fewer than one atom in a trillion contributes a carrier. Pure silicon is a lousy conductor. The trick to making it useful is doping.

3. Doping: n-type and p-type

Silicon has four valence electrons; each atom sits in a tetrahedral bond with four neighbors. Replace a tiny fraction of Si atoms with elements that don't fit cleanly:

  • Phosphorus has 5 valence electrons — one left over. That electron drifts to the conduction band; the crystal stays neutral overall but now has a population of free electrons. → n-type.
  • Boron has 3 valence electrons — one short. It pulls one from a neighbor, leaving a hole behind. → p-type.

Typical doping: 1 phosphorus per million silicon atoms multiplies carrier concentration by 10510^5 to 10710^7. A tiny chemical change turns insulating silicon into a controllable conductor. Every modern chip is doped silicon — billions of carefully placed phosphorus and boron atoms patterned at the nanometer scale.

4. A PN junction at the boundary

Where p-type and n-type meet, carriers recombine and leave behind charged dopant ions — the depletion region.

flowchart LR
  A["p-type: boron-doped, holes"] --> B["Depletion region: ionized dopants, no free carriers"]
  B --> C["n-type: phosphorus-doped, electrons"]
  D["Holes diffuse right"] --> B
  E["Electrons diffuse left"] --> B
  B --> F["Built-in voltage opposes further diffusion"]

5. The depletion region

Slap p-type silicon next to n-type. At the boundary, electrons from the n-side diffuse into the p-side; holes from the p-side diffuse into the n-side. Both kinds of carrier hit the other side and recombine — they annihilate.

What's left in a thin region around the boundary: no free carriers, just the fixed ionized dopants (positive phosphorus on the n-side, negative boron on the p-side). This is the depletion region, and it carries a built-in voltage VbiV_{bi} (typically 0.6–0.7 V for silicon) pointing from n to p.

That built-in voltage is the barrier. It exactly opposes further diffusion at equilibrium: as many carriers diffuse across as are pushed back by the field. Net current is zero.

6. Forward bias: the knee

Connect a battery so the p-side is more positive than the n-side. The applied voltage cancels part of the built-in voltage. The depletion region shrinks, the barrier drops, and carriers from each side flood across.

The current grows exponentially with applied voltage:

I=Is(eV/VT−1)I = I_s \left(e^{V/V_T} - 1\right)

where VT≈26V_T \approx 26 mV at room temperature and IsI_s is the saturation current (tiny, in nA to pA). The exponential is why a 100 mV voltage swing changes the current by orders of magnitude. It's also why every diode IV curve looks like a hockey stick around 0.6–0.7 V — the famous "knee voltage" of silicon.

7. Reverse bias: the wall

Flip the battery: p-side negative, n-side positive. The applied voltage adds to the built-in voltage. The depletion region grows, the barrier rises, and almost no current flows — just the saturation current IsI_s leaking through.

The PN junction is now a one-way valve: easy current forward, almost none in reverse. That asymmetry is the diode, the simplest semiconductor device.

The valve isn't perfect:

  • Reverse leakage — IsI_s rises with temperature (every 10 °C roughly doubles it).
  • Breakdown — at a high enough reverse voltage, the field strips electrons off atoms and current floods. Avalanche breakdown. Engineered junctions (Zener diodes) use this on purpose; in regular diodes it's a failure mode.

Forward bias is a knee. Reverse bias is a wall — until it cracks.

8. Why every chip starts here

Three takeaways the rest of semiconductor engineering builds on:

  • Band gap decides whether a material can be a switch. Silicon is the historical winner; SiC and GaN are taking specific niches (high voltage, RF).
  • Doping is how you steer carriers. Every transistor, every memory cell, every diode is doping patterned at nanometer scale.
  • Junctions are where the action is. A PN junction by itself is a diode. Two back-to-back junctions are a bipolar transistor. A junction modulated by a gate is a MOSFET. Three back-to-back junctions are a thyristor.

The rest of this cursus walks up that ladder: diode → transistor → CMOS logic → chip → fab → scaling. Every step is a cleverer rearrangement of the same doped silicon.

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. Why is silicon a useful semiconductor while diamond is essentially an insulator?
    • Silicon is cheaper to mine.
    • Diamond's band gap (~5.5 eV) is too wide to thermally excite carriers at room temperature, while silicon's (~1.1 eV) is narrow enough.
    • Diamond doesn't exist in crystalline form.
    • Silicon has more valence electrons than diamond.
  2. You replace a small fraction of silicon atoms in a wafer with boron. What is the wafer now?
    • An insulator.
    • A metal.
    • p-type silicon.
    • Intrinsic silicon.
  3. In a PN junction at equilibrium (no applied voltage), why is there no net current even though carriers can diffuse?
    • The depletion region has no free carriers at all.
    • Diffusion is exactly balanced by drift from the built-in voltage.
    • The phosphorus and boron dopants chemically neutralize each other.
    • Silicon's intrinsic carrier concentration is too low for diffusion to occur.
  4. A silicon diode is forward-biased at 0.65 V. Approximately what happens to the current if the bias is raised to 0.71 V?
    • It doubles.
    • It rises by about 10× because the IV curve is exponential with thermal voltage near 26 mV.
    • It rises by roughly 9%.
    • It stays roughly constant.
  5. Why does reverse-biasing a PN junction block current (until breakdown)?
    • The depletion region disappears.
    • The applied voltage adds to the built-in voltage, widening the depletion region and raising the barrier.
    • The dopants migrate to the opposite side under the applied field.
    • Silicon's band gap shrinks under reverse bias.

Related lessons

Science
intermediate

Why Aircraft Fly: Lift, Circulation, and the Equal Transit Time Myth

Why the popular equal-transit explanation of lift is wrong, and what actually happens: flow turning, pressure from curved streamlines, Bernoulli used correctly, circulation and the Kutta condition, thin-airfoil theory and stall, a worked airliner example, and the tip vortices behind induced drag.

11 steps·~17 min
Science
intermediate

Boundary Layers and Turbulence: Where Viscosity Refuses to Vanish

Why inviscid theory predicts zero drag, and how Prandtl's boundary layer fixed it. Work through layer thickness on a real wing, separation and wakes, Reynolds' pipe experiment and the onset of turbulence, the drag crisis behind golf-ball dimples, Kolmogorov's cascade, the closure problem, and why turbulence limits simulation.

11 steps·~17 min
Science
advanced

The Navier-Stokes Equations: Newton's Second Law for a Fluid

Build the equations of fluid motion from conservation of mass and momentum: the continuum idea, the material derivative, viscosity, the Navier-Stokes equations term by term, an exact pipe-flow solution, the Reynolds number, vorticity, and the Millennium Prize question that is still open.

12 steps·~18 min
Math
intermediate

Symmetry Groups: Crystals, Conservation Laws, and Neural Networks

Group theory earns its keep when a symmetry argument settles a physical question no calculation was going to answer. This lesson covers group actions and counting up to symmetry, why crystals cannot have five-fold rotation and what happened when one did, Noether's link between symmetry and conservation, and how the same idea is built into modern networks.

10 steps·~15 min