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.
On this page
- Start hereKey words
- Idea 1Conductors, insulators and semiconductors
- Idea 2Doping: n-type and p-type silicon
- Idea 3The p-n junction and the diode
- Idea 4LEDs: colour from the band gap
- Idea 5The transistor and logic gates
- Idea 6Chips and Moore's law
- Idea 7Solar cells
- PracticeWorked examples
- Try itLED calculator
- 1947–todayHow electronics developed
- Test yourselfQuiz
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.
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.
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.
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.
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.
Logic gate truth table
| A | B | A AND B | A OR B | NOT A |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 |
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.
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).
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
≈ 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
≈ 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
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
= 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
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
= 340 W
That's in full sun; clouds and low sun angles cut it.
Try it: LED calculator
LED colour and resistor calculator
Answers are rounded to 3 significant figures. Colour names use approximate wavelength ranges.
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.
- 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.
- 1954 Bell Labs demonstrates the first practical silicon solar cell.
- 1958–59 Jack Kilby at Texas Instruments and Robert Noyce at Fairchild Semiconductor independently invent the integrated circuit.
- 1962 Nick Holonyak Jr. makes the first visible-light (red) LED.
- 1965 Gordon Moore predicts that chips will keep getting more components; in 1975 he settles on doubling about every two years.
- 1971 Intel's 4004, the first single-chip microprocessor, has 2,250 transistors.
- 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.
- 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
- Why do you think computers use just two states, 0 and 1, rather than ten?
- LED bulbs use much less electricity than old incandescent bulbs for the same light. Where does the incandescent bulb's extra energy go?
- If Moore's law slows down, how else could computers keep getting faster?
- Solar panels only work in daylight. What would a grid powered mostly by solar need?
Sources
- OpenStax, University Physics Volume 3, Section 9.5 "Band Theory of Solids," Section 9.6 "Semiconductors and Doping" and Section 9.7 "Semiconductor Devices."
- The Nobel Prize, "The Nobel Prize in Physics 1956" and "The Nobel Prize in Physics 2014: press release."
- 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.