Analog Electronics
Differential Pair
Amplifying the difference, rejecting the noise
A differential pair is two matched transistors whose emitters (or sources) share a single constant tail current that steers between them, so the stage amplifies the difference of its two inputs while rejecting any voltage common to both. Also called the long-tailed pair, it is the input stage of almost every op-amp, comparator and feedback amplifier ever built. Its job is delicate balance: a fixed pool of current that can only ever be redistributed, never increased — so whatever one transistor gains, the other must lose. That single constraint is the source of both its enormous gain and its near-immunity to noise that contaminates both inputs equally.
- Differential transconductance (BJT)gm = I_tail / (4·V_T)
- Current split lawI = I_tail·tanh(V_id / 2V_T)
- Thermal voltage V_T≈ 25.85 mV at 300 K
- Linear range|V_id| < ~26 mV
- Full steering|V_id| > ~100 mV (4·V_T)
- CMRR (good op-amp)90–120 dB
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
What the differential pair does
Take two identical transistors. Join their emitters at one node and pull that node down with a constant current source — the "tail." Drive the two bases with input voltages V+ and V−. Because the tail current source insists the sum of the two collector currents stays fixed, the only freedom the circuit has is how it divides that current between the two sides. A more positive base on one transistor makes it conduct harder and steal current from its partner. The pair therefore reads the difference of its inputs and turns it into a current imbalance — and the imbalance, dropped across collector resistors or an active load, becomes the output voltage.
The crucial trick is what happens when both inputs move together. If V+ and V− both rise by the same amount — say a power-supply ripple or hum coupled onto both wires — the tail current cannot grow, so the split does not change, and the output does not budge. That is common-mode rejection, and it is why the differential pair is the front door of every precision amplifier.
The current-steering law
For a bipolar pair the exact split between the two collector currents follows the difference of two exponential diode laws, which collapses into a hyperbolic tangent:
I_C1 = I_tail · 1 / (1 + e^(−V_id / V_T))
I_C2 = I_tail · 1 / (1 + e^( V_id / V_T))
Differential output current:
ΔI = I_C1 − I_C2 = I_tail · tanh( V_id / 2V_T )
where:
V_id = V+ − V− (differential input, V)
V_T = kT/q ≈ 25.85 mV at 300 K
I_tail = total tail current (A)
The tanh shape is the whole story. Near the origin tanh is linear, so for small V_id the output current is proportional to the input difference. Push V_id past a few V_T and the tanh flattens: all the tail current has steered to one side and the stage saturates. That sharp soft-then-hard transition is exactly what you want in a comparator and exactly what you must tame with feedback in a linear amplifier.
Transconductance and gain
Differentiating the tanh at the balance point (V_id = 0) gives the small-signal differential transconductance:
gm = d(ΔI)/d(V_id) |_(V_id=0) = I_tail / (4·V_T)
Each transistor runs at I_tail/2, so its own gm is (I_tail/2)/V_T;
the differential pair's gm is one-quarter of I_tail/V_T.
Differential voltage gain:
A_dm = gm · R_load
= (I_tail / 4V_T) · R_load (resistive load)
= gm · r_o (active current-mirror load)
Notice gain is set by the tail current. Halve I_tail and you halve gm and the gain, but you also halve the bias current available to charge load capacitance — which is why slew rate, bandwidth and gain in an op-amp all move together with the bias. For a MOSFET pair the law is a square-root rather than a tanh, giving gm = √(μ·C_ox·(W/L)·I_tail); MOS pairs have a wider linear range but lower gm at a given current.
Where common-mode rejection comes from
An ideal tail current source has infinite output impedance: no matter how the common-mode input level moves, the tail current is rock-steady, the split never changes, and CMRR is infinite. Real tail sources have a finite output resistance R_tail, and the common-mode gain is approximately A_cm ≈ −R_load / (2·R_tail). The figure of merit is the ratio:
CMRR = |A_dm / A_cm| ≈ gm · 2·R_tail = 2·gm·R_tail
A simple resistor tail: R_tail = a few kΩ → CMRR ~40–60 dB
A current-mirror tail: R_tail = MΩ → CMRR ~80–100 dB
A cascoded current source: R_tail = tens MΩ → CMRR >100 dB
This is the single most important reason a real op-amp does not bias its tail with a resistor: a high-impedance current source can buy 40–60 dB of extra rejection essentially for free. The other limit is matching — any mismatch between the two transistors or the two load resistors converts a slice of common-mode signal into a differential one, and shows up as input offset voltage and a finite CMRR even with a perfect tail.
BJT vs MOSFET pairs, and load choices
| BJT pair | MOSFET pair | Resistor load | Active (current-mirror) load | |
|---|---|---|---|---|
| Split law | tanh(V_id/2V_T) | square-law / √I | — | — |
| gm at current I | I_tail/(4V_T) — high | √(μC_ox(W/L)I_tail) — lower | — | — |
| Linear input range | narrow (~±26 mV) | wider (set by V_ov) | — | — |
| Input bias current | I_B = I_C/β (nA–µA) | ~0 (gate current) | — | — |
| Output | — | — | differential, two-sided | single-ended, gain ×2 |
| Gain (per side) | — | — | gm·R_C (modest) | gm·r_o (hundreds–thousands) |
| Typical use | precision, low-noise, RF | CMOS op-amps, high Z_in | discrete, teaching | every monolithic op-amp |
Worked example: gain of a bipolar pair
A bipolar differential pair is biased with a tail current of I_tail = 200 µA and loaded with two collector resistors of R_C = 10 kΩ. What is its small-signal differential voltage gain at room temperature?
gm = I_tail / (4·V_T)
= 200e-6 / (4 × 25.85e-3)
= 200e-6 / 0.1034
= 1.93e-3 S (1.93 mS)
A_dm = gm · R_C
= 1.93e-3 × 10e3
= 19.3 (≈ 25.7 dB, single-ended output)
If both collectors are read differentially the gain doubles to ≈ 38.6.
Swap the resistor load for an active current-mirror load with output resistance r_o ≈ 500 kΩ and the gain jumps to gm·r_o ≈ 1.93 mS × 500 kΩ ≈ 965 — nearly two orders of magnitude more, with no extra current. That is precisely the trade a real op-amp makes.
Worked example: CMRR of the same pair
Suppose the tail of that pair is just a 5 kΩ resistor to a negative rail. Estimate the CMRR; then replace the resistor with a current mirror of R_tail = 2 MΩ.
Resistor tail (R_tail = 5 kΩ):
CMRR ≈ 2·gm·R_tail = 2 × 1.93e-3 × 5e3 = 19.3 ≈ 25.7 dB (poor)
Current-mirror tail (R_tail = 2 MΩ):
CMRR ≈ 2 × 1.93e-3 × 2e6 = 7720 ≈ 77.8 dB (good)
Going from a resistor to a current source bought ~52 dB of common-mode rejection — a factor of 400 — without changing a single signal-path component. This is why almost no serious differential pair uses a bare resistor tail.
Failure modes and trade-offs
- Input offset voltage from mismatch. If the two transistors differ in saturation current I_S, or the two load resistors differ by ΔR/R, a differential output appears with zero input. In bipolar pairs offset is typically 0.1–2 mV; trimming, large devices and careful layout (common-centroid, dummy devices) reduce it. Offset drifts with temperature, so a 1 mV offset can wander tens of µV/°C.
- Limited linear range. The pair is linear only over roughly ±V_T (≈26 mV) for a BJT. Beyond that the tanh bends and the stage distorts. Add emitter degeneration resistors R_E to trade gain for a wider linear range and lower distortion — the gain becomes gm/(1+gm·R_E) but linearity improves dramatically.
- Finite tail impedance kills CMRR. A resistor tail or a sloppy current source lets common-mode signals leak to the output, as the worked example shows. Cascode the tail source to push CMRR past 100 dB.
- Input bias current loading. A bipolar pair draws base current I_B = I_C/β. With β = 200 and I_C = 100 µA, each input sinks 0.5 µA — flowing through a 1 MΩ source resistance that is a 0.5 V error. MOS or BiFET pairs sidestep this with near-zero gate current.
- Tail-current dependence of everything. Because gm ∝ I_tail, temperature drift or supply variation in the tail moves the gain, bandwidth and offset together. PTAT (proportional-to-absolute-temperature) biasing is often used to make gm·V_T track and stabilize behavior.
- Common-mode input range limits. Push the common-mode level too high and the load saturates; too low and the tail source runs out of headroom and collapses, abruptly destroying the differential action. Rail-to-rail input stages stitch together an NPN and a PNP pair to cover the whole range.
Where you find it
- Op-amp input stage. Every classic op-amp — from the 741 to modern CMOS parts — starts with a differential pair feeding a current-mirror load. The pair's gm sets the unity-gain bandwidth via f_T ≈ gm/(2π·C_c).
- Comparators. Run open-loop, the same pair fully steers on a few millivolts of input difference — the basis of every voltage comparator and the input of every ADC.
- Gilbert cell / mixers. Stacked differential pairs multiply two signals — the heart of RF mixers, modulators and variable-gain amplifiers.
- Current-mode logic (CML / ECL) and LVDS. Differential pairs switch a tail current between two paths to make the fastest logic and the most noise-immune high-speed serial links (USB, PCIe, HDMI all ride differential signaling).
- Instrumentation amplifiers. Three op-amps — each a differential pair at heart — measure tiny sensor differences riding on large common-mode voltages, exactly the job the topology was born for.
Frequently asked questions
What is a differential pair?
A differential pair, also called a long-tailed pair, is two matched transistors (BJTs or MOSFETs) whose emitters or sources are tied together and fed by a single constant tail current source. The fixed tail current divides between the two transistors according to the difference between their input voltages. The result is a stage that amplifies the difference of two inputs, V+ − V−, while ignoring any voltage common to both. It is the canonical input stage of op-amps, comparators and almost every analog feedback circuit.
Why does a differential pair reject common-mode noise?
If the same voltage moves on both inputs at once (a common-mode signal, like 60 Hz hum picked up on both wires), the tail current source holds the total emitter current constant, so neither transistor takes a larger share. The current split — and therefore the differential output — does not change. Only a difference between the inputs unbalances the split. The quality of that rejection, the common-mode rejection ratio (CMRR), is set almost entirely by the output impedance of the tail current source: an ideal infinite-impedance source gives infinite CMRR; a plain resistor gives a finite, modest value.
What sets the gain of a differential pair?
The differential transconductance gm sets the gain. For a bipolar pair, gm = I_tail / (4·V_T), where V_T ≈ 25.85 mV at room temperature, so each device runs at I_tail/2. The voltage gain into a load resistance R_C is A_dm = gm·R_C, or into an active current-mirror load it is gm·r_o, often a few hundred to a few thousand. Crucially the gain depends on the tail current, which is why op-amp slew rate, bandwidth and gain all move together when you change the bias.
What is tail current and why is it constant?
The tail current is the total bias current that flows down the shared emitter/source node into the current source below the pair. It is held constant — typically by a current mirror — so that the two transistors can only redistribute it, never increase or decrease the total. This constraint is what forces a clean differential action: whatever current one side gains, the other side must lose. A constant tail also fixes the operating point and the transconductance regardless of common-mode level.
What is the difference between a differential pair and a current mirror?
A current mirror copies a reference current to one or more outputs and is used for biasing and as an active load. A differential pair steers a fixed current between two paths based on a voltage difference and is used to amplify. They are complementary partners: a real op-amp input stage is a differential pair sitting on top of a tail current source (often a mirror) with a second current mirror as its active load, which converts the two-sided differential current into a single-ended output and doubles the gain.
How much input difference fully steers the tail current?
For a bipolar differential pair the current split follows a hyperbolic-tangent law, I = I_tail·tanh(V_id / 2V_T). The pair is roughly linear only for |V_id| below about V_T (≈26 mV), and it is essentially fully steered to one side once |V_id| exceeds about 4·V_T, roughly 100 mV. That tiny linear range is why op-amps need heavy negative feedback to behave linearly, and why the same pair makes an excellent comparator when run open-loop.