“It’s just two diodes, right?”
A transistor has three legs. Before anything else, here is what each one is for.
Now the picture almost everyone is handed: an NPN transistor is n-type, p-type, n-type. Two junctions sharing a middle layer. Emitter diode, collector diode, back to back.
That picture is where most people stop, and it is why most people never build any intuition for what follows. So let’s take it seriously and find exactly where it breaks.
Commit before you touch anything
Two ordinary silicon diodes, soldered anode-to-anode, base wire taken from the joint. You feed the base 1 mA. What comes out of the collector?
What the bench is showing you
The picture is a slice through the silicon. Electrons are pouring out of the emitter into the base — that is just a forward-biased junction, exactly as in chapter 1, lesson 6.
What happens next is a race.
An electron enters the base. The base is p-type, so it is full of holes.
The electron has a limited distance it can travel before it meets a hole and disappears. That distance is the diffusion length — around 100 µm in this silicon.
If the base is thinner than that distance, most electrons make it across. The collector junction is reverse-biased, so its field grabs them and sweeps them out. That is collector current.
Any electron that doesn’t make it has to be replaced through the base wire. That is base current.
So β is just the score of that race: survivors divided by casualties. Drag the base wider and watch the survival rate on the bench collapse.
Gain is not a property of the junctions. It is a property of the gap between them.
In the wild
Why chips got faster. A thinner base means fewer casualties — and also less distance to cross, so the electron gets there sooner. Higher gain and higher speed come from the same change. Sixty years of the semiconductor industry is largely the story of making that middle layer thinner: from 25 µm in a 1950s alloy transistor to well under a micrometre today.
The trick that does work. Tie a transistor’s base to its collector and it behaves as a very good diode. You will see this everywhere in real circuits — it is the standard way to build a current mirror, and it is how a chip makes a reference voltage that barely drifts with temperature. Transistor-as-diode: fine. Diodes-as-transistor: impossible.
The germanium radios your grandparents had. Early alloy-junction transistors had thick bases and β around 20–30, and they leaked badly when warm. That is not history for its own sake — it is the same slider on this bench, parked further to the right.
One sentence to keep
A transistor is not two diodes. It is two junctions close enough together to talk to each other.
Before you move on
A 1950s alloy transistor had a base about 25 µm thick. A modern one is under 1 µm. Which statement follows?
Where the collector current actually comes from
Here is the picture that survives contact with real circuits. A transistor is a valve.
That last line is where most people quietly go wrong. The collector current does not come from the base. It comes from the supply. The base only decides how much of it is allowed through.
Commit before you touch anything
The transistor is happily amplifying, drawing 4 mA at the collector from a 12 V supply. You leave everything else alone and drop the supply to 8 V. What happens to the collector current?
Do these two things, in this order
Move the base knob. Watch three things at once: the dots speed up in all three legs, the two ammeters climb together, and the ratio between them stays pinned. That ratio is β.
Count the dots. The base wire carries a crawl. The collector wire carries a flood. That difference, seen rather than calculated, is the whole reason transistors exist.
Now drag the supply. From 12 V down to about 3 V, Ic hardly notices. Then it falls off a cliff.
The cliff is the transistor running out of room. The collector voltage has come down to meet the base, and the device stops being a valve at all. We will name that region properly in lesson 4.
In the wild
Your microcontroller driving a motor. An Arduino or ESP32 pin can supply about 20 mA before it is damaged. A small DC motor wants 500 mA. A transistor solves this because the 500 mA never touches the pin — it comes from the battery. The pin only turns the handle, with about 2 mA. This is the single most common transistor circuit in hobby electronics, and it is exactly this bench.
Why an amplifier has a power cord. A guitar amplifier does not create the extra energy in the sound. It uses a tiny signal to modulate a large current drawn from the mains. Unplug it and the “amplification” stops instantly, because there was never anything in the signal to amplify from. The tank was doing the work all along.
One honest warning about the model
“Base current controls collector current” is a useful fiction, and I am flagging it as a fiction now so you don’t find out later and feel cheated.
What the device actually obeys is a voltage law — the same exponential you met in chapter 1. But that law is brutally steep and drifts with temperature, so no sane engineer drives a transistor from a bare voltage. We drive current instead, and think in β, and it works. Lesson 3 is about what we are papering over.
Before you move on
In an amplifying transistor with Ib = 20 µA and β = 150, what is the emitter current?
The 0.7 volts that isn’t a threshold
You met this curve in chapter 1, on a diode. Here it is again, on the base–emitter junction of a transistor, where it decides everything.
Everyone is taught that a silicon junction “turns on at 0.7 V.” There is no switch in there. There is an exponential, and an exponential has no threshold anywhere along it.
Commit before you touch anything
You raise Vbe from 0.60 V to 0.66 V — sixty millivolts, about the thickness of a rounding error. What does the collector current do?
Read the two plots together
They are the same data. On the left, on ordinary axes, you see the famous knee and your brain says “threshold.” On the right, with current on a log scale, the knee vanishes and you get a straight line at 59.5 mV per decade.
The knee was never in the silicon. It was in the graph paper.
Now the part that actually bites
Because the curve is so steep, a small temperature change shifts it a lot. Two numbers:
Turn on self-heating and watch what happens when the transistor is fed a fixed base voltage. It warms, so it draws more. Drawing more makes it warm further. Ic climbs on its own, with nothing changed at the input.
That loop is not a fault. It is the honest behaviour of an exponential with a thermal feedback path. Now switch on emitter resistor and run it again: the loop stops dead. That one resistor is why real circuits survive, and you will meet it properly in lesson 5.
In the wild
Every chip in your laptop measures its own temperature this way. Feed a transistor a steady current and its Vbe becomes a thermometer, falling 2 mV per degree, linear and repeatable and free. Your CPU’s die-temperature reading is this curve, read backwards.
The 1.25 V that every chip depends on. Take a voltage that falls with temperature (Vbe) and add one that rises with temperature (the difference between two transistors run at different currents), in the right proportion, and the sum barely moves at all. That is a bandgap reference, it lands near 1.25 V, and there is one inside almost every integrated circuit ever made. It exists only because this curve is so predictable.
Why your circuit works in the lab and fails in a car. A dashboard reaches 70 °C. That is 40 degrees above your bench, which is 80 mV of Vbe shift — more than a full decade of current if nothing is holding the bias in place. Automotive and industrial electronics are largely the art of designing so this does not matter.
Two numbers worth owning
60 mV per decade. 18 mV per doubling. If you can recall those on demand you can estimate a bias point in your head for the rest of your life.
Before you move on
You measure Vbe = 0.62 V on a transistor passing 1 mA. A second transistor in the same circuit reads 0.68 V. Roughly what is it passing?
Making it a switch, and the word “saturated”
An LED, a 220 Ω resistor, a transistor and a base resistor. This is the circuit a microcontroller pin uses to drive anything bigger than itself, and it is worth getting completely right before anything else.
Commit before you touch anything
5 V in on the base through a resistor. Which base resistor gives the brightest LED — 100 kΩ, 10 kΩ, or 1 kΩ?
Sweep the base resistor and watch two things
Drag from 1 MΩ down to 1 kΩ, keeping an eye on the region badge at the top of the bench and the moving dot on the load line.
Above about 30 kΩ: a genuine amplifier. The dot slides along the load line and the LED gets brighter as you turn the knob. Ic = β × Ib, just as in lesson 2.
Below about 4 kΩ: the dot has hit the left wall and stopped. More base current changes nothing. The LED is as bright as it will ever be.
That wall is saturation, and it is worth being precise about what it means.
| Region | B–E junction | B–C junction | Behaves as |
|---|---|---|---|
| Cut-off | reverse / off | reverse | open switch |
| Active | forward | reverse | amplifier |
| Saturated | forward | forward | closed switch, Vce ≈ 0.1 V |
The design rule to memorise
To use a transistor as a switch, deliberately over-drive the base by a factor of ten.
Work out the current the load needs. Here: (5 − 1.9 − 0.1) / 220 = 14 mA.
Pick Ib = Ic / 10 — about 1.4 mA.
Size the resistor: Rb = (Vdrive − 0.7) / Ib — about 3 kΩ. A 2.2 kΩ from the shelf is fine.
The forced β is then 10 instead of 150, which guarantees hard saturation even with the worst transistor in the batch on the coldest day of the year. Deliberately wasting gain is what buys you reliability.
Then press “remove base resistor.” There is nothing left to limit base current except the exponential from lesson 3, and you know how steep that is. The base junction is a forward diode straight across a 5 V supply. Watch the number, then never build it.
In the wild
Every relay, motor and LED strip driven from a dev board. BC547, 2N2222, 2N3904 — the same three or four part numbers turn up in every tutorial, and the base resistor is always somewhere between 1 kΩ and 10 kΩ for exactly the reason above. If someone hands you a schematic where the base goes straight to a pin with no resistor, they have made the mistake you just simulated.
The diode across the relay coil. Switch off a coil and its collapsing magnetic field produces a large reverse voltage spike that will punch straight through the transistor. A single diode wired backwards across the coil gives that energy a harmless path. It is called a flyback diode, it costs one rupee, and leaving it out is the most common way beginners kill a transistor.
Why chips like the ULN2003 exist. Driving seven stepper-motor windings means seven transistors and seven base resistors. That whole array, with the flyback diodes built in, comes in one 16-pin package for a few rupees. Once you can size one of these by hand, you can read the datasheet of the chip that does it for you.
Before you move on
You measure Vce = 0.08 V across a transistor and Ic / Ib = 8, while the datasheet says β is 150. Is the transistor faulty?
β is not a design parameter
Pull ten BC547s out of the same bag and measure them. You will find β anywhere from 50 to 400.
The same transistor will shift its β by 30% between a cold morning and a warm enclosure, and again as you change its operating current. The datasheet gives you a range, not a value, and it is not being coy — there genuinely is no value.
So the question is never “what is β?” The question is: does my circuit care?
Commit before you touch anything
Two amplifier stages, both biased to sit at about 2 mA with a typical transistor. You swap both transistors for a batch with β = 400 instead of 100. What happens to their output voltages?
Circuit A — what beginners draw
One resistor from the supply to the base, sized so that Ib × β lands the collector current where you want it. It works beautifully on the bench with the transistor you tuned it with.
Drag β and the operating point walks straight off the end of the world: into saturation at high β, into a useless near-cut-off at low β. Across the range you will actually get from a bag of parts, the output moves nearly the entire supply.
Circuit B — what a working design looks like
Hold the base at a fixed voltage and put a resistor in the emitter. Now trace it through:
The base sits at 2.0 V, held there by the divider.
So the emitter sits at about 2.0 − 0.65 = 1.35 V. Lesson 3 says that 0.65 is soft, but it only ever moves by tens of millivolts.
The emitter current is then just Ohm’s law on the emitter resistor: 1.35 V across 1 kΩ is 1.35 mA.
And Ic ≈ Ie. β never appeared.
β only has to be large enough that base current is a rounding error in the divider. Drag it across the full 10:1 range and the operating point moves by a couple of percent.
This is also why the emitter resistor in circuit B turns up in almost every real transistor stage you will ever meet. It is the same resistor that stopped the thermal runaway in lesson 3. One component, two entire classes of failure removed — at the cost of some gain, which is a trade you will make happily.
In the wild
Why the same transistor has three part numbers. BC547A, BC547B, BC547C are one device sorted into β bins — roughly 110–220, 200–450, 420–800. The manufacturer measures every unit and puts it in a bin because it cannot control the spread. If a supplier ships you Cs when you designed around Bs and your circuit notices, the circuit was wrong, not the supplier.
The single most common production failure. One unit in five sitting at the wrong operating point almost always means a β-dependent bias network. Resistors vary by a few percent; β varies by a factor of eight. When a design is intermittently wrong across units, go looking for the parameter with the widest spread first.
Where you have already seen it. Open any audio amplifier or radio schematic and look for a small resistor from the emitter to ground with a capacitor across it. That resistor is doing this job; the capacitor removes its cost in gain for the signal while keeping its benefit for the bias. Chapter 4 is that trick.
Before you move on
A colleague’s prototype works perfectly. In production, one unit in five sits at the wrong operating point. What do you look at first?
PNP is the same device in a mirror
PNP transistors have a reputation for being confusing, and they have earned exactly none of it. There is one rule, it is complete, and it has no exceptions:
Commit before you touch anything
In a PNP transistor that is amplifying normally, which way does conventional current flow in the base wire, and where does the emitter connect?
Press the mirror button
The schematic flips top to bottom, the arrow on the emitter turns around, and every reading on the meters changes sign. The magnitudes do not change at all — it is the same circuit, the same resistors, the same operating point, described from the other side.
Two things to fix in your head while you look at it:
The emitter always goes to the more positive rail in a PNP, because the emitter is always the terminal that current flows into. In an NPN it is the terminal current flows out of, so it goes to the more negative rail.
Vbe is −0.65 V, meaning the base sits 0.65 V below the emitter. Some books write Veb = +0.65 V instead. Read the meter as “the base is 0.65 V below the emitter” and you will never get lost.
The arrow, once and for all
The arrow is always on the emitter and always points the way conventional current flows through it. NPN: Not Pointing iN — arrow points out, current leaves the emitter. PNP: arrow points in, current enters. Silly, but it survives exam pressure.
In the wild
Anything with a metal chassis. In a car, every load has its negative terminal bolted to the bodywork. There is no room to put a switch below it, so the switch has to sit between the battery and the load — which needs a PNP, because only a PNP has its emitter naturally at the positive rail. Nearly every automotive load is switched this way.
The chip that decides your laptop runs on battery or mains. A USB or laptop power path uses a pair of high-side switches to choose which supply feeds the machine and to cut it off if something is wrong. High side means the switch is above the load, which means a P-type device.
Making a motor go both ways. An H-bridge is two PNPs on top and two NPNs underneath. Turn on one diagonal and the motor spins one way; the other diagonal and it reverses. Every drone, printer and robot arm has one. Neither device could do it alone: an NPN is good at pulling a node down towards ground, a PNP is good at pushing it up towards the supply.
Before you move on
You are asked to switch a 12 V motor whose negative terminal is hard-wired to ground. Which device, and where does it go?
Chapter checkpoint
These are mixed up on purpose. Half the difficulty in electronics is not solving the problem — it is recognising which idea the problem is about before you start. Practising that recognition is the point.
Question 1
Vbe reads 0.66 V. You need ten times less collector current. What Vbe do you aim for?
Question 2
A transistor has Ic = 20 mA and Ib = 3 mA. What is it doing?
Question 3
Which of these can you build by soldering two 1N4148 diodes together?
Question 4
An amplifier stage is biased with a single resistor from the supply to the base. What is the most likely failure across a production batch?
Question 5
A PNP stage reads Vbe = −0.67 V and Ic = −4 mA. Is anything wrong?
Question 6
You raise a transistor’s temperature by 30 °C while holding Vbe fixed. What happens to Ic?
Every word this chapter introduced
If any of these is still a word rather than a picture, go back to the lesson in brackets before starting chapter 3.
Where this goes next
This chapter deliberately never asked you to analyse a circuit with algebra. That comes, and it comes easily, once the behaviour is already in your hands. The order of the remaining chapters is the one Horowitz and Hill use in The Art of Electronics, for the same reason: it puts every useful circuit before the theory that explains it.
About the simulations. Every circuit on this page is solved with a damped Newton–Raphson iteration on the Ebers–Moll transport equations — the same model SPICE uses, with the Early effect included and no region-switching shortcuts. That matters: hard-coded “if saturated then” branches lie precisely at the boundaries where learners are most confused. Default device parameters are 2N3904-class: IS = 10−14 A, βF = 150, βR = 2, VAF = 75 V. Two simplifications are worth naming: β is held flat with current here, where a real device humps and rolls off at both ends; and the base-width slider in lesson 1 uses a simple diffusion model, α = 0.995 e−W/L, which has the right shape but is not a fabrication-grade number.