Look at the device you are using to read this. Inside it, there are billions of tiny switches, each smaller than a virus, working together to process information at unimaginable speeds. These switches are called transistors, and they are the building blocks of modern electronics. Without them, there would be no computers, no smartphones, no internet, no satellites, no modern medicine, and no digital world.
Electronics is the branch of physics that deals with the control of electric current using semiconductor devices. It began with the invention of the vacuum tube, evolved with the transistor, and exploded with the integrated circuit. Today, electronics is everywhere — in your phone, your car, your hospital, and your home. In this final chapter, we are going to explore the fundamental components of electronics: semiconductors, diodes, transistors, and logic gates. This is the physics of the digital age. Let us begin.
I once asked a class, "What is inside a computer chip?" A student said, "Magic." I smiled and said, "No, it is millions of tiny switches made of silicon." Then I explained how a transistor works — a small voltage controls a larger current, acting as a switch or amplifier. That moment changed how they saw technology. It is not magic; it is physics. And now, in this final chapter, you are going to learn it too.By the end of this chapter, you should be able to:
Materials can be classified by how well they conduct electricity. This depends on the energy gap between the valence band (where electrons are bound) and the conduction band (where electrons are free to move).
| Type | Conductivity | Energy Gap | Examples |
|---|---|---|---|
| Conductor | High | Very small (overlapping bands) | Copper, silver, aluminium |
| Semiconductor | Moderate | Small (about 1 eV) | Silicon, germanium |
| Insulator | Very low | Large (more than 5 eV) | Rubber, glass, plastic |
Think of the energy bands as floors in a building. In a conductor, electrons can move freely between floors. In an insulator, the gap between floors is too large to jump. In a semiconductor, the gap is small — with a little energy, electrons can jump across.
Semiconductors are the Goldilocks of materials — not too conductive, not too insulating, but just right. Their conductivity can be controlled precisely by adding impurities or applying voltage. This is what makes them so useful. Without semiconductors, there would be no transistors, no computers, and no modern world.An intrinsic semiconductor is a pure semiconductor with no added impurities. Silicon and germanium are the most common examples.
Properties of intrinsic semiconductors:
Electrons and holes:
| Property | Intrinsic Semiconductor | Metal |
|---|---|---|
| Conductivity at room temp | Moderate | High |
| Effect of temperature | Conductivity increases | Conductivity decreases (resistance increases) |
| Charge carriers | Electrons and holes | Electrons only |
Extrinsic semiconductors are semiconductors that have been doped — that is, they have had small amounts of impurities added to increase their conductivity.
Doping: Adding a small amount of impurity (typically 1 atom per million) to a pure semiconductor to change its electrical properties.
| Type | Dopant | Valence Electrons | Result |
|---|---|---|---|
| N-type | Phosphorus, arsenic (Group V) | 5 | Extra electron |
| P-type | Boron, aluminium (Group III) | 3 | Hole (missing electron) |
N-type semiconductor: Doped with an element that has five valence electrons. Four are used to bond with silicon; the fifth is free to move. This creates an excess of electrons, so the material is negatively charged.
P-type semiconductor: Doped with an element that has three valence electrons. One bond is incomplete, creating a hole. This creates an excess of holes, so the material is positively charged.
| Property | N-type | P-type |
|---|---|---|
| Majority carriers | Electrons | Holes |
| Minority carriers | Holes | Electrons |
| Dopant type | Group V (pentavalent) | Group III (trivalent) |
| Net charge | Neutral (but has free electrons) | Neutral (but has free holes) |
A p-n junction diode is formed by joining a p-type semiconductor to an n-type semiconductor. It is one of the simplest and most important electronic devices.
Formation of the depletion layer:
The diode symbol: The symbol for a diode is a triangle pointing to a line. The triangle represents the p-side (anode), and the line represents the n-side (cathode).
| Part | Material | Charge Carrier | Terminal |
|---|---|---|---|
| Anode | p-type | Holes | Positive |
| Cathode | n-type | Electrons | Negative |
The behaviour of a diode depends on how it is connected in a circuit.
Forward bias: The p-side is connected to the positive terminal and the n-side to the negative terminal. The depletion layer narrows, and current flows easily.
Reverse bias: The p-side is connected to the negative terminal and the n-side to the positive terminal. The depletion layer widens, and current is blocked.
| Bias | Connection | Depletion Layer | Current |
|---|---|---|---|
| Forward | P to +, N to − | Narrows | Flows easily |
| Reverse | P to −, N to + | Widens | Very small (leakage) |
I-V characteristics of a diode:
Threshold voltage: Silicon ≈ 0.7 V; Germanium ≈ 0.3 V
Forward current: increases exponentially above threshold
Reverse current: very small (microamperes)
Think of a diode as a one-way valve for electricity. It allows current to flow in one direction but blocks it in the other. This is why diodes are used in rectifiers, which convert AC to DC.
The one-way behaviour of a diode is one of the most useful properties in electronics. It is used in power supplies, radios, and countless other devices. The next time you plug in a charger, remember: somewhere inside, there are diodes converting the AC from the wall into the DC your device needs.Rectification is the process of converting alternating current (AC) into direct current (DC). Diodes are used for this purpose.
Half-wave rectification:
Full-wave rectification:
| Feature | Half-Wave | Full-Wave |
|---|---|---|
| Number of diodes | 1 | 2 or 4 |
| Output | Pulsating DC (half cycles) | Pulsating DC (full cycles) |
| Efficiency | 50% | 100% (ideal) |
| Ripple | Large | Smaller |
Think of rectification as turning a back-and-forth motion into a one-way motion. It is like a ratchet that allows movement in only one direction. This is essential for power supplies, which need DC to operate electronic devices.
Rectification is one of the most important applications of diodes. Every power supply in every electronic device uses rectification to convert AC from the wall into DC for the circuits. Without diodes, we could not plug our devices into the wall. It is a simple idea with profound consequences.A transistor is a semiconductor device with three terminals that can amplify or switch electronic signals. It is the building block of modern electronics.
Types of transistors:
Terminals of a transistor:
| Terminal | Function | Doping Level |
|---|---|---|
| Emitter | Emits charge carriers | Heavily doped |
| Base | Controls carrier flow | Lightly doped, very thin |
| Collector | Collects carriers | Moderately doped |
How a transistor works (NPN):
Think of a transistor as a valve. A small turn of the valve handle (base current) controls a large flow of water (collector current). This is how a transistor amplifies signals.
The transistor is one of the greatest inventions in human history. It was invented in 1947 by Bardeen, Brattain, and Shockley at Bell Labs, and it earned them the Nobel Prize. It replaced the bulky, unreliable vacuum tube and made possible the computers, phones, and satellites that we take for granted today. It is the heart of the digital revolution.One of the most important uses of a transistor is as an amplifier. It takes a small signal and makes it larger.
How amplification works:
Current gain: β = I_C / I_B
β = current gain, I_C = collector current, I_B = base current
Typical values of β: 20 to 500
Think of an amplifier as a lever. A small force on one end produces a large force on the other. In the same way, a small base current produces a large collector current.
| Quantity | Input (Base) | Output (Collector) |
|---|---|---|
| Current | Small (µA) | Large (mA) |
| Voltage | Small | Large |
| Power | Low | High |
A transistor can also be used as a switch. It can turn a circuit on or off with a small control signal.
How a transistor switch works:
Think of a transistor as a relay but with no moving parts. A small current can control a much larger current, turning devices on and off. This is how computers work — billions of transistors switching on and off to represent 1s and 0s.
| State | Base Current | Collector Current | Switch |
|---|---|---|---|
| OFF | Zero | Zero | Open |
| ON | Saturated | Maximum | Closed |
Logic gates are the building blocks of digital circuits. They take one or more binary inputs (0 or 1) and produce a single binary output based on a logical operation.
Basic logic gates:
| Gate | Symbol | Operation |
|---|---|---|
| AND | A · B | Output is 1 only if both inputs are 1 |
| OR | A + B | Output is 1 if at least one input is 1 |
| NOT | Ā | Output is the inverse of the input |
| NAND | (A · B)' | Output is 0 only if both inputs are 1 |
| NOR | (A + B)' | Output is 0 if at least one input is 1 |
Truth tables for basic gates:
| A | B | AND | OR | NOT A | NAND | NOR |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 |
Think of logic gates as decision makers. The AND gate says, "I will say yes only if both of you agree." The OR gate says, "I will say yes if at least one of you agrees." The NOT gate says, "I will say the opposite."
Logic gates are the language of computers. Every calculation, every decision, every piece of data in a computer is ultimately reduced to combinations of these simple gates. From AND, OR, and NOT, you can build adders, memory, processors, and entire computers. It is one of the most elegant ideas in all of technology.An integrated circuit (IC) is a complete electronic circuit built on a single chip of semiconductor material, usually silicon. It contains thousands or millions of transistors, diodes, resistors, and capacitors.
Advantages of integrated circuits:
| Generation | Number of Transistors | Example |
|---|---|---|
| SSI (Small Scale Integration) | 1–100 | Basic logic gates |
| MSI (Medium Scale Integration) | 100–1 000 | Counters, registers |
| LSI (Large Scale Integration) | 1 000–100 000 | Microprocessors (early) |
| VLSI (Very Large Scale Integration) | 100 000–10 million | Modern processors |
| ULSI (Ultra Large Scale Integration) | More than 10 million | Smartphone processors |
Think of an integrated circuit as a city on a chip. Millions of transistors work together, connected by microscopic wires, to process information at incredible speeds. It is one of the most complex and beautiful creations of human engineering.
The integrated circuit was invented in 1958 by Jack Kilby and Robert Noyce. It revolutionised electronics. Today, a single chip smaller than your fingernail can contain billions of transistors. Moore's Law, which predicted that the number of transistors on a chip would double every two years, has held true for decades. It is a testament to human ingenuity.| Field | Application | Key Components |
|---|---|---|
| Computers | Processing, memory, storage | Transistors, ICs |
| Communication | Phones, radio, internet | Diodes, transistors, ICs |
| Medicine | Pacemakers, imaging, monitors | Sensors, ICs, diodes |
| Transport | Engine control, navigation, safety | Sensors, microcontrollers |
| Entertainment | TVs, music players, games | ICs, displays, speakers |
| Industry | Automation, robotics, control | Transistors, ICs, sensors |
| Energy | Solar panels, power converters | Diodes, transistors |
| Space | Satellites, probes, rovers | ICs, sensors, communication |
Current gain of a transistor: β = I_C / I_B
β = current gain, I_C = collector current (A), I_B = base current (A)
Threshold voltage of a diode: Silicon ≈ 0.7 V; Germanium ≈ 0.3 V
Logic gate operations:
AND: A · B = 1 only if A = 1 and B = 1
OR: A + B = 1 if A = 1 or B = 1
NOT: Ā = 1 if A = 0, and 0 if A = 1
Energy gap of silicon: ≈ 1.1 eV
Energy gap of germanium: ≈ 0.7 eV
Question: A semiconductor is doped with phosphorus. What type of semiconductor is formed, and what are the majority charge carriers?
Answer: Phosphorus is a Group V element with five valence electrons. It donates an extra electron, so the semiconductor is n-type. The majority charge carriers are electrons.
Units check: not applicable. But remember: pentavalent dopants (5 valence electrons) give n-type; trivalent dopants (3 valence electrons) give p-type.Question: A transistor has a base current of 20 µA and a collector current of 2 mA. Calculate the current gain.
Answer:
I_B = 20 µA = 20 × 10⁻⁶ A = 2 × 10⁻⁵ A
I_C = 2 mA = 2 × 10⁻³ A
Formula: β = I_C / I_B
Substitution: β = (2 × 10⁻³) / (2 × 10⁻⁵) = 100
Answer: The current gain is 100.
Units check: A / A = no units. The gain is a ratio. A gain of 100 means a small base current of 20 µA controls a collector current of 2 mA — 100 times larger.Question: A silicon diode is connected in forward bias. At what voltage does it begin to conduct significant current?
Answer: A silicon diode begins to conduct significantly at about 0.7 V. Below this voltage, the current is very small. Above it, the current increases rapidly.
Units check: the answer is in volts. This threshold voltage is a characteristic of the semiconductor material. Silicon: 0.7 V; Germanium: 0.3 V. This is why silicon is preferred for most applications — it has a higher threshold and better temperature stability.Question: An AND gate has inputs A = 1 and B = 0. What is the output?
Answer: For an AND gate, the output is 1 only if both inputs are 1. Since B = 0, the output is 0.
Units check: not applicable. Logic gates operate on binary values (0 and 1). The output is determined by the truth table for that gate.Question: A half-wave rectifier is connected to an AC supply of 12 V peak. What is the peak output voltage? (Assume ideal diode, no voltage drop.)
Answer: A half-wave rectifier allows only one half of the AC cycle through. The peak output voltage is approximately 12 V (minus the diode voltage drop, which is about 0.7 V for silicon).
Peak output ≈ 12 − 0.7 = 11.3 V
Units check: the answer is in volts. In practice, the diode has a forward voltage drop of about 0.7 V (silicon). This must be subtracted from the input voltage to get the output voltage.Graphs are essential for understanding electronic components.
I-V characteristic of a diode: This graph shows how current varies with voltage for a diode.
I-V characteristic of a transistor: The collector current is plotted against collector-emitter voltage for different base currents.
Rectifier output waveforms: The input is an AC sine wave. The output of a half-wave rectifier is only the positive half-cycles. The output of a full-wave rectifier is the positive half-cycles plus the inverted negative half-cycles.
These graphs help us visualise the behaviour of electronic components. They turn abstract concepts into pictures.
Think of a graph as a map of a relationship. The shape tells you how one quantity changes with another.
Apparatus: A silicon diode, a variable DC power supply, a voltmeter, an ammeter, a resistor (1 kΩ), and connecting wires.
Method:
Expected results: In forward bias, the current is very small until about 0.7 V, then increases rapidly. In reverse bias, the current is very small (microamperes) until breakdown.
Precautions:
Likely source of error: The diode may heat up during the experiment, changing its characteristics. Use a low current and take readings quickly.
This experiment is a beautiful way to see the one-way behaviour of a diode. The I-V curve is non-linear, which is a clear indication that the diode is not an ohmic conductor. Once you have plotted the graph, you will understand why diodes are so useful in rectification and signal processing.A semiconductor is a material with conductivity between that of a conductor and an insulator. Examples: silicon, germanium.
Doping is the addition of small amounts of impurities to a pure semiconductor to change its electrical properties.
Electrons.
A p-n junction is the boundary between a p-type and an n-type semiconductor. It forms the basis of a diode.
Approximately 0.7 V.
A transistor can amplify signals or act as a switch.
A=0, B=0 → 0; A=0, B=1 → 0; A=1, B=0 → 0; A=1, B=1 → 1.
An integrated circuit is a complete electronic circuit built on a single chip of semiconductor material.
(a) Distinguish between conductors, insulators, and semiconductors. [3]
(b) Explain how doping changes the conductivity of a semiconductor. [4]
(c) Describe the difference between n-type and p-type semiconductors. [3]
(a) Conductors have high conductivity; insulators have very low conductivity; semiconductors have moderate conductivity. (3 marks.)
(b) Doping adds impurity atoms that provide extra electrons (n-type) or holes (p-type). This increases the number of charge carriers, increasing conductivity. (4 marks.)
(c) N-type: doped with pentavalent atoms, majority carriers are electrons. P-type: doped with trivalent atoms, majority carriers are holes. (3 marks.)
(a) Describe how a p-n junction diode is formed and how it behaves in forward and reverse bias. [6]
(b) Explain how a diode can be used for half-wave rectification. [3]
(c) A transistor has a base current of 30 µA and a collector current of 3 mA. Calculate the current gain. [3]
(a) A p-n junction is formed by joining p-type and n-type semiconductors. In forward bias, the depletion layer narrows and current flows. In reverse bias, the depletion layer widens and current is blocked. (6 marks.)
(b) A single diode allows only one half of the AC cycle to pass, converting AC to pulsating DC. (3 marks.)
(c) β = I_C / I_B = (3 × 10⁻³) / (30 × 10⁻⁶) = 100. (3 marks.)
(a) Describe how a transistor can act as an amplifier. [4]
(b) Explain the difference between an AND gate and an OR gate. [3]
(c) Write the truth table for a NAND gate. [4]
(a) A small AC signal is applied to the base. This causes a small variation in base current, which controls a much larger collector current. The output is a larger version of the input signal. (4 marks.)
(b) AND gate: output is 1 only if both inputs are 1. OR gate: output is 1 if at least one input is 1. (3 marks.)
(c) A=0,B=0 → 1; A=0,B=1 → 1; A=1,B=0 → 1; A=1,B=1 → 0. (4 marks.)
Explain why the conductivity of a semiconductor increases with temperature, while the conductivity of a metal decreases with temperature.
In a semiconductor, increasing temperature gives more electrons enough energy to jump from the valence band to the conduction band. This creates more charge carriers (electrons and holes), increasing conductivity. In a metal, increasing temperature causes the atoms to vibrate more, which increases collisions with the moving electrons and increases resistance, decreasing conductivity.
Explain how a transistor can be used as a switch in a digital circuit, and why this is important for computers.
A transistor can be switched ON or OFF by controlling the base current. In the OFF state, no current flows; in the ON state, current flows. This allows the transistor to represent binary 1 (ON) and 0 (OFF). Computers use billions of transistors switching on and off to process and store information. This is the foundation of digital electronics.
Explain why integrated circuits have revolutionised electronics, and how they have changed the world.
Integrated circuits pack millions of transistors onto a single chip, making electronic devices small, cheap, reliable, and fast. They have enabled the development of computers, smartphones, the internet, medical devices, and countless other technologies. They have transformed communication, medicine, transport, and entertainment, and have made the digital age possible.
Electronics is the physics of the digital age — and in the tiny switches of a transistor, the entire modern world was born. You have reached the end of this physics journey, but the adventure of understanding the universe is just beginning.