Jugami Physics

High School · Physics · Unit 19

Semiconductors and Electronics

How a few added atoms turn silicon into diodes, LEDs, transistors, computer chips and solar cells.

Your phone holds billions of tiny switches, each made from silicon, the main ingredient of sand. Silicon is a semiconductor: on its own it barely conducts, but add a trace of the right impurity and you can control exactly how charge moves through it.

On this page you'll see why some solids conduct and others don't, how doping makes n-type and p-type silicon, and how joining the two makes a diode. Then you'll see why LEDs glow in different colours, how a transistor works as a switch, how chips got so powerful, and how a solar cell turns light into electricity. After that you can try the LED calculator, read the history and take a quiz.

A computer chip with pins on all four sides, beside the circuit symbol for a light-emitting diode giving off light, and red, green and blue LEDs.

On this page

Key words first

Semiconductor

A material, such as silicon, that conducts much better than an insulator but much worse than a metal.

Band gap

The energy an electron needs to break free and conduct, measured in electron volts (eV). For silicon it's about 1.1 eV.

Electron volt (eV)

The energy one electron gains crossing 1 volt: 1 eV = 1.602 × 10⁻¹⁹ J.

Doping

Adding a tiny amount of another element to a semiconductor to give it extra free electrons or holes.

Hole

A missing electron in a bond. Neighboring electrons can move into it, so the hole acts like a moving positive charge.

Diode

A device that lets current flow one way only. An LED is a diode that gives off light.

Transistor

A semiconductor switch or amplifier: a small voltage or current controls a bigger current.

Integrated circuit (chip)

Many transistors and connections built together on one small piece of silicon.

Idea 1: Conductors, insulators and semiconductors

In a solid, electrons can only have energies in certain ranges called bands. The valence band holds electrons tied up in bonds. The conduction band above it holds electrons that are free to move and carry current. The energy between them is the band gap.

In a metal, the bands overlap, so plenty of electrons are always free: metals conduct well. In an insulator such as diamond, the gap is big, about 5.5 eV, and almost no electrons can jump it. A semiconductor such as silicon has a small gap, about 1.1 eV. A few electrons get across thanks to heat, and more do when it's warmer, so a semiconductor conducts better as it heats up, the opposite of a metal.

Silicon has four outer electrons, and each atom shares them with four neighbors in a crystal. Germanium, with a gap of about 0.67 eV, behaves the same way and was used in the earliest transistors.

Energy bands in three kinds of solid. In a conductor the filled valence band and the empty conduction band overlap, so electrons move freely. A semiconductor such as silicon has a small band gap, about 1.1 electron volts. An insulator such as diamond has a big gap, about 5.5 electron volts.valenceconductionconductorbands overlapvalenceconductionsemiconductorsmall gapvalenceconductioninsulatorbig gapgap ≈ 1.1 eV (Si)gap ≈ 5.5 eV(diamond)electron energy
The size of the band gap decides how well a solid conducts. Band gaps from Wikipedia's table of semiconductor band gaps.

Idea 2: Doping: n-type and p-type silicon

Pure silicon conducts poorly, so chipmakers dope it, replacing a tiny fraction of its atoms, often around one in a million or fewer, with another element.

n-type: phosphorus has five outer electrons, one more than silicon. Four go into bonds and the fifth is easily freed, so n-type silicon has extra free electrons, which are negative charge carriers.

p-type: boron has three outer electrons, one fewer than silicon, so one bond is missing an electron. That gap is a hole. A neighboring electron can hop into it, which moves the hole the other way, so holes behave like positive charges moving through the crystal.

Both kinds of doped silicon are still electrically neutral overall. Doping just adds charges that are free to move.

Two silicon crystals drawn as grids of atoms joined by pairs of bonds. In n-type silicon, a phosphorus atom has one more outer electron than silicon, so a spare electron is free to move. In p-type silicon, a boron atom has one fewer, leaving a gap in a bond called a hole.SiSiSiSiPSiSiSiSiSiSiSiSiBSiSiSiSin-typep-typephosphorus addsa free electronboron leavesa hole
Phosphorus adds a spare electron (n-type). Boron leaves a hole in a bond (p-type).

Idea 3: The p-n junction and the diode

Put p-type and n-type silicon side by side and some free electrons near the boundary drift across and fill holes. That leaves a thin depletion zone with no free charges, and a built-in electric field across it.

Connect a battery with + on the p side (forward bias) and, once the voltage is above about 0.6–0.7 V for silicon, the zone shrinks and current flows easily. Connect it the other way (reverse bias) and the zone widens, so almost no current flows. That one-way device is a diode.

Diodes are everywhere: phone chargers use them to turn AC from the wall into DC (see Unit 18), and they protect circuits from batteries put in backwards.

A p-n junction. The p side has holes and the n side has free electrons. Where they meet, electrons fill holes and leave a thin depletion zone with no free charges. Below is the diode symbol, a triangle pointing at a bar: current flows from p to n once the forward voltage is above about 0.6 to 0.7 volts for silicon.p side (holes)n side (electrons)depletion zonecurrentflows p → n once V > about 0.6–0.7 V (Si)
A p-n junction and the diode symbol. The triangle points the way conventional current can flow.

Idea 4: LEDs: colour from the band gap

In a light-emitting diode, electrons crossing the junction drop from the conduction band into holes in the valence band. Each drop releases a photon whose energy is about the band gap. Using E = hf and c = fλ,

λ = hc ÷ E ≈ 1240 eV·nm ÷ E

So a bigger gap gives higher-energy, shorter-wavelength light. Red LEDs use materials with gaps near 1.9 eV; blue LEDs need about 2.7 eV, which took decades to achieve. White LEDs are usually blue LEDs with a yellow phosphor coating.

Silicon's gap is too small, and its electrons rarely give off light anyway, so LEDs use compounds such as gallium arsenide phosphide or indium gallium nitride. An LED also needs a series resistor to limit the current: R = (Vsupply − VLED) ÷ I.

Bar chart of LED band gaps and the light they give. A red LED with a 1.9 eV gap gives about 653 nm light, yellow with 2.1 eV about 590 nm, green with 2.3 eV about 539 nm, and blue with 2.7 eV about 459 nm. A bigger gap gives shorter-wavelength light.LED colour vs band gap, λ = hc/Ered1.9 eV → 653 nmyellow2.1 eV → 590 nmgreen2.3 eV → 539 nmblue2.7 eV → 459 nmbigger gap → more energy → shorter wavelength
Approximate band gaps for common LED colours, and the wavelengths from λ = hc/E.

Idea 5: The transistor and logic gates

A transistor is a sandwich of n-type and p-type regions with three connections. In the kind used in almost every chip, a MOSFET, a voltage on the gate pulls charges into a thin channel under it. With no gate voltage the channel is closed and no current flows; with the gate on, current flows. A small signal controls a bigger current.

Used as a switch, the two states stand for the binary digits 0 and 1. Used as an amplifier, a small changing signal on the gate makes a larger copy of it in the output current, which is how a microphone's tiny signal gets loud enough to drive a speaker.

Wire a few transistor switches together and you get logic gates. An AND gate outputs 1 only if both inputs are 1; an OR gate outputs 1 if either is; a NOT gate flips its input. Gates combine into circuits that add numbers, store bits and run programs.

A transistor as a switch, drawn twice. With the gate voltage off there is no conducting channel in the silicon, so no current flows from in to out: a 0. With the gate on, a thin channel forms under the gate and current flows: a 1.gateinoutgate OFFno channelno current (0)gateinoutgate ONchannel: currentflows (1)a small gate voltage switches a bigger current
Gate off: no channel, a 0. Gate on: a channel forms and current flows, a 1.

Logic gate truth table

ABA AND BA OR BNOT A
00001
01011
10010
11110

Idea 6: Chips and Moore's law

An integrated circuit builds transistors and wiring together on one slice of silicon by printing patterns with light, layer after layer. In 1965 Gordon Moore noticed that the number of components on a chip was doubling every year; in 1975 he revised it to about every two years. That trend became known as Moore's law.

It held up remarkably well. Intel's 4004 of 1971 had 2,250 transistors. Apple's M3 Ultra, released in 2025, has 184 billion, on two joined dies. That's about 26 doublings in 54 years, close to one every two years.

Moore's law is an observation about an industry, not a law of physics, and it's slowing. Chip designers report progress has run slightly below the old pace since around 2010, as transistors approach the size of a few dozen atoms. Experts disagree about when it will end.

Transistors per chip on a log scale from 1971 to 2025: the Intel 4004 with 2,250, the 386 with 275,000, the Pentium 4 with 42 million, and Apple's M3 Ultra with 184 billion. The points lie close to a dashed line that doubles every two years.10³10⁶10⁹10¹²4004: 2,250386: 275,000Pentium 4: 42 millionM3 Ultra: 184 billion198520002025dashed: doubling every 2 years
Transistors per chip on a log scale, where each grid line is 1,000 times the one below. Counts from Wikipedia's "Transistor count."

Idea 7: Solar cells

A solar cell is a large p-n junction, usually silicon, with a thin n-type layer on top. When a photon with more energy than the band gap is absorbed near the junction, it frees an electron and leaves a hole. The junction's built-in field pushes the electron one way and the hole the other, so current flows through an outside circuit. It's an LED running in reverse.

A silicon cell gives about 0.5–0.6 V, so panels connect dozens of cells in series. Photons with less energy than the gap, wavelengths longer than about 1 100 nm, pass through unused, and any energy above the gap is lost as heat. Those losses limit a single-junction cell to about 33% efficiency (the Shockley–Queisser limit). The best commercial panels now reach about 24%. Panels make DC; an inverter turns it into AC for the grid (see Unit 18).

A silicon solar cell: a thin n-type layer on top of a p-type layer. Sunlight frees electrons near the junction, and the junction's built-in field pushes them out through wires as current to a load. Each photon with more than about 1.1 electron volts of energy can free one electron.n-type layer (thin)p-type layersunlightAcurrent metereach photon above ≈ 1.1 eV can free an electron
Sunlight frees electrons near the junction, and its built-in field drives them around a circuit.

Worked examples

Try each one first, then open the solution. Use hc ≈ 1240 eV·nm, h = 6.63 × 10⁻³⁴ J·s and 1 eV = 1.60 × 10⁻¹⁹ J.

1. Silicon's limit

Silicon's band gap is about 1.1 eV. What's the longest wavelength of light a silicon solar cell can use?

Show solution
λ = 1240 ÷ 1.1
≈ 1 130 nm

That's infrared. Longer wavelengths pass through without freeing electrons.

2. A green LED

A green LED gives light of 525 nm. What's the photon energy in eV?

Show solution
E = 1240 ÷ 525
≈ 2.36 eV

Its band gap is about 2.4 eV.

3. Frequency of red light

A red LED emits 2.0 eV photons. What's their frequency?

Show solution
E = 2.0 × 1.60 × 10⁻¹⁹ = 3.20 × 10⁻¹⁹ J
f = E ÷ h = 3.20 × 10⁻¹⁹ ÷ 6.63 × 10⁻³⁴
≈ 4.83 × 10¹⁴ Hz

Then λ = c ÷ f ≈ 621 nm, red-orange.

4. An LED resistor

A red LED drops 2.0 V and should carry 20 mA. What resistor does it need on a 9.0 V battery?

Show solution
R = (9.0 − 2.0) ÷ 0.020
= 350 Ω

Use the next standard size up, 390 Ω, which gives about 18 mA.

5. Doubling transistors

Start with the 4004's 2,250 transistors in 1971. If the count doubles every 2 years, about how many would a chip have in 1991?

Show solution
20 years = 10 doublings, 2¹⁰ = 1 024
2,250 × 1 024 ≈ 2.3 million

Intel's 486 of 1989 had about 1.2 million, so the rule is roughly right.

6. A solar panel

A 1.7 m² panel is 20% efficient. Full sunlight delivers about 1 000 W per m². What's its output?

Show solution
P = 1.7 × 1 000 × 0.20
= 340 W

That's in full sun; clouds and low sun angles cut it.

Try it: LED calculator

LED colour and resistor calculator

How electronics developed

Before transistors, electronics ran on glass vacuum tubes that were big, hot and burned out. Semiconductors changed that in a few decades.

  1. 1947 John Bardeen and Walter Brattain build the first transistor at Bell Labs; William Shockley soon designs the junction transistor. The three share the 1956 Nobel Prize in Physics.
  2. 1954 Bell Labs demonstrates the first practical silicon solar cell.
  3. 1958–59 Jack Kilby at Texas Instruments and Robert Noyce at Fairchild Semiconductor independently invent the integrated circuit.
  4. 1962 Nick Holonyak Jr. makes the first visible-light (red) LED.
  5. 1965 Gordon Moore predicts that chips will keep getting more components; in 1975 he settles on doubling about every two years.
  6. 1971 Intel's 4004, the first single-chip microprocessor, has 2,250 transistors.
  7. 1990s Isamu Akasaki, Hiroshi Amano and Shuji Nakamura make efficient blue LEDs, opening the way to white LED lighting. They share the 2014 Nobel Prize in Physics.
  8. Today The biggest processors hold hundreds of billions of transistors, and solar panels are among the fastest-growing sources of electricity.

Test yourself

The Semiconductors and Electronics Check

Talk about it

  1. Why do you think computers use just two states, 0 and 1, rather than ten?
  2. LED bulbs use much less electricity than old incandescent bulbs for the same light. Where does the incandescent bulb's extra energy go?
  3. If Moore's law slows down, how else could computers keep getting faster?
  4. Solar panels only work in daylight. What would a grid powered mostly by solar need?

Sources

  1. OpenStax, University Physics Volume 3, Section 9.5 "Band Theory of Solids," Section 9.6 "Semiconductors and Doping" and Section 9.7 "Semiconductor Devices."
  2. The Nobel Prize, "The Nobel Prize in Physics 1956" and "The Nobel Prize in Physics 2014: press release."
  3. Wikipedia, "Band gap," "Light-emitting diode," "Integrated circuit," "Transistor count," "Moore's law," "Solar cell" and "Solar cell efficiency."

Credits: all diagrams on this page, including the band diagrams, the doped crystals, the junction, the LED chart, the transistor, the transistor-count chart, the solar cell and the share image, are original SVG made for Jugami.