A gain so large it is useless on its own
Chapter 5 found a ceiling near 2,900 for one bipolar stage, chapter 7 found something similar and messier for one FET stage. An op-amp is not one stage. It is several — a differential input pair, a gain stage, an output buffer — cascaded on one chip, and their gains multiply. A modest general-purpose part might quote an open-loop gain A0 of 200,000. Better ones run into the millions.
The defining equation of an op-amp, before any wire connects its output back to its input, is almost insultingly simple:
Vout = A0 (V+ − V−)
Two input terminals, their difference multiplied by an enormous number. That is the entire black box, for this lesson. No feedback, no resistors, nothing external at all yet.
Commit before you touch anything
A0 = 200,000, and the supply rails limit the output to ±13.5 V. You slowly raise V+−V− from 0. About how large a difference does it take to drive the output all the way to a rail?
A gain this large is a feature, used the wrong way
Left open-loop, an op-amp is not an amplifier in any practical sense — it is a comparator. Any input difference bigger than a few tens of microvolts, positive or negative, and the output is already pinned against a rail. That behaviour is not a flaw to be designed around; some circuits use it directly. A zero-crossing detector, a simple over-voltage alarm, a Schmitt trigger's core switching action — all of them want exactly this all-or-nothing response.
| V+ − V− | Vout = A0×difference | What actually happens |
|---|---|---|
| +10 µV | +2.0 V | within range — the only sliver where this formula still applies unclipped |
| +100 µV | +20 V | clipped at +13.5 V |
| −50 µV | −10 V | within range |
| −1 mV | −200 V | clipped at −13.5 V |
In the wild
Comparator ICs are this lesson, sold on purpose. A dedicated comparator chip is built and specified to behave exactly like this bench — fast, rail-to-rail, no attempt at linear operation — because some circuits want a decision, not an amplified copy.
Why op-amp datasheets bother quoting A0 at all, if it's “basically infinite.” It sets exactly this threshold — how small an input imbalance is enough to saturate the part — which matters directly for anyone building a comparator or a precision zero-detector out of one.
Why touching the two input pins of a bare op-amp with your fingers makes the output flicker wildly. Skin resistance and stray pickup are enough, at these microvolt sensitivities, to swing the output between rails at whatever frequency the noise arrives.
Before you move on
With no feedback connected, what does an op-amp's output do for almost any nonzero input difference?
The virtual short is a symptom, not a law
Every op-amp course eventually states the “golden rule”: the two inputs sit at the same voltage. Stated like that, it sounds like a property of the chip — something wired in, the way a bipolar transistor's base–emitter junction is wired in. It isn't. Watch what actually forces it.
Connect the output back to the inverting input through a wire — a unity-gain buffer, the simplest feedback loop there is. Now V− = Vout = A0(V+−V−). Solve for V−:
V− = V+ · A0/(1+A0) — error = V+−V− = V+/(1+A0)
With A0 = 200,000, that error is V+/200,001 — about five parts per million. Not zero. Astonishingly close to zero, because the loop keeps adjusting Vout until the difference driving it is tiny enough that A0 times that tiny number lands back on Vout again, self-consistently.
Commit before you touch anything
You take the same unity-gain buffer and swap in a much cheaper op-amp, with A0 = 2,000 instead of 200,000 — a hundred times smaller. What happens to how closely V− tracks V+?
Feedback is doing the same job chapter 3 already showed you
This is the same negative-feedback story as chapter 3's emitter follower, run with a much bigger loop gain. There, the transistor's own gm and the emitter resistor set how tightly the output tracked the input. Here, A0 plays that role directly, undiluted by any resistor — which is exactly why an op-amp's virtual short is so much tighter than a single transistor stage's approximate tracking ever was.
| A0 | Tracking error, V+ = 1 V | Parts per million |
|---|---|---|
| 2,000 | 0.4995 mV | ~500 ppm |
| 20,000 | 49.998 µV | ~50 ppm |
| 200,000 | 5.0000 µV | ~5 ppm |
| 2,000,000 | 0.50000 µV | ~0.5 ppm |
In the wild
Why precision instrumentation amplifiers advertise their open-loop gain in the millions. A higher A0 buys a tighter virtual short directly — this is the entire reason that number is on the datasheet, not a marketing flourish.
Chopper-stabilised op-amps. Some precision parts periodically re-null their own input offset using an internal switching trick, effectively behaving as if A0 were even larger than the raw silicon provides — because for many precision applications, closing this exact gap is the entire product.
Why an op-amp buffer is a better voltage reference driver than a plain wire. A wire has zero drive strength; this buffer holds Vout equal to V+ to within microvolts while supplying whatever current the load demands — chapter 3's follower idea, with a vastly smaller error term.
Before you move on
In a closed feedback loop, what actually determines how closely V− tracks V+?
Two configurations, and the error each one carries
The two standard op-amp gain circuits both build on lesson 2's near-equal inputs. In the inverting configuration, Vin reaches V− through Rin, and Rf feeds Vout back to that same node, with V+ grounded. In the non-inverting configuration, Vin drives V+ directly, and Rin, Rf form a divider from Vout back down to ground at V−. Solve each circuit exactly, keeping A0 finite instead of assuming V+=V− outright, and both reduce to the same shape:
Acl = Aideal / (1 + NG/A0) NG = 1 + Rf/Rin
Aideal is −Rf/Rin for the inverting case and 1+Rf/Rin for the non-inverting case — the two familiar textbook formulas. NG, the noise gain, is the same expression, 1+Rf/Rin, in both circuits regardless of which one you're using. It is the gain lesson 2's error term gets multiplied through, and you will meet it again by name in lesson 4.
Commit before you touch anything
Two inverting amplifiers, same A0 = 200,000: one built for a gain of −10 (Rf=100 kΩ, Rin=10 kΩ), one for a gain of −1,000 (Rf=1 MΩ, Rin=1 kΩ). Which one sits closer to its own ideal value, percentage-wise?
| Design | Rf | Rin | Ideal gain | NG | Actual gain | Error |
|---|---|---|---|---|---|---|
| Modest | 100 kΩ | 10 kΩ | −10 | 11 | −9.99945 | 0.0055% |
| Aggressive | 1 MΩ | 1 kΩ | −1,000 | 1,001 | −995.02 | 0.498% |
In the wild
Why a precision instrumentation amplifier is usually built from three op-amps at modest individual gain, not one at high gain. Splitting a needed gain of 1,000 across two stages of about 32 each keeps every individual NG small, and the compounded error stays far below what one aggressive stage would carry alone.
Why datasheets specify “gain error” or “gain accuracy” only alongside a stated closed-loop gain. The number is meaningless without NG attached — exactly this lesson's finding, restated as a spec.
Audio mixing consoles, and why channel trim pots rarely run at extreme boost. Pushing one gain stage to its limit compounds this error with the noise-gain-dependent bandwidth loss of lesson 4 — two separate costs for the same design decision.
Before you move on
What quantity determines the percentage gain error of a closed-loop op-amp stage, for a given A0?
The bandwidth you traded for gain
A0 = 200,000 was never a number that held at every frequency — it is the open-loop gain at DC. Internally, an op-amp is dominated by one deliberately-placed capacitor that rolls its gain off at a single, gentle 6 dB-per-octave slope, starting from a corner frequency f0 that can sit as low as a few hertz. The product of gain and bandwidth stays constant along that slope, all the way up to a frequency called the gain-bandwidth product, GBW = A0 f0. A typical general-purpose part specifies GBW directly — 1 MHz is a common, unglamorous figure.
Feed that frequency-dependent A(f) through lesson 3's exact gain formula and the closed-loop response inherits a −3 dB point of its own:
fcl = GBW / NG
Commit before you touch anything
GBW = 1 MHz. One stage is set for a gain of −10 (NG=11); another, for −1,000 (NG=1,001). Which has the wider closed-loop bandwidth, and by roughly what factor?
One knob, two different bills
Lessons 3 and 4 are not two separate costs of using feedback — they are the same NG, charged twice, for two different things. Ask for more closed-loop gain from a fixed A0 and GBW, and you simultaneously buy a larger gain error and a narrower bandwidth, in the same proportion, because both bills are addressed to the identical number.
| NG | fcl = GBW/NG | Gain error, from lesson 3 |
|---|---|---|
| 11 (gain −10) | 90.9 kHz | 0.0055% |
| 101 (gain −100) | 9.9 kHz | 0.050% |
| 1,001 (gain −1,000) | 999 Hz | 0.498% |
In the wild
Why an audio op-amp used as a 60 dB (×1000) preamp needs a much higher-GBW part than one used as a ×2 buffer. This lesson's formula, read directly off a datasheet's GBW spec before any circuit is even built.
Decompensated op-amps. Some parts deliberately remove internal compensation to push GBW higher, at the cost of only being stable above some minimum closed-loop gain — a trade this lesson explains, chapter 12 will explain why it's dangerous to ignore.
Why a op-amp-based active filter's cutoff frequency creeps as you increase its passband gain. If GBW isn't comfortably above the filter's own corner frequency, fcl starts competing with the filter's intended response instead of staying safely out of its way.
Before you move on
An op-amp has GBW = 4 MHz. A stage is built with NG = 40. Roughly what is its closed-loop −3 dB bandwidth?
Slew rate: a limit small signals never meet
Lesson 4's bandwidth came from a linear model — one pole, one time constant, completely indifferent to signal size. It is genuinely true that a 1 millivolt sine and a 1 volt sine see the identical −3 dB corner, provided both stay small enough for the internal stages to behave linearly. Slew rate is the limit that shows up only once they don't.
Internally, the op-amp's compensation capacitor has to be charged and discharged by a limited internal current, which puts a hard ceiling on how fast Vout can move — volts per microsecond, quoted directly on every datasheet as SR. Ask the output to move faster than that, for any reason, and it simply can't — it ramps at exactly SR until it catches up.
Commit before you touch anything
SR = 0.5 V/µs. You drive a unity-gain buffer with a fast, clean 5 V step. About how long does the output take to get there?
The two limits, on the same signal
For a sine wave of peak amplitude Vpk at frequency f, the fastest the ideal waveform ever needs to move is its peak slope, 2πf Vpk. Set that equal to SR and solve for f, and you get the full-power bandwidth:
FPBW = SR / (2πVpk)
This is a completely different number from lesson 4's fcl, and for a large swing it is very often the smaller, binding one.
| Output swing Vpk | FPBW = SR/(2πVpk) | Compare: this bench's fcl at NG=11 |
|---|---|---|
| 1 V | 79.6 kHz | 90.9 kHz |
| 2 V | 39.8 kHz | |
| 5 V | 15.9 kHz | |
| 10 V | 7.96 kHz |
In the wild
Why a headphone amp datasheet lists slew rate separately from bandwidth. A 20 kHz audio signal at full swing needs real slew rate, not just a high small-signal bandwidth number — the two specs are protecting against genuinely different failure modes.
Slew-induced distortion, and why it sounds different from ordinary clipping. Rail clipping (lesson 6) flattens only the very top and bottom of a wave. Slew limiting reshapes the whole edge into a straight ramp, which sounds harsher for the same peak signal level.
Why video and RF op-amps quote slew rates in thousands of volts per microsecond. A fast-changing video signal needs to swing several volts in nanoseconds — ordinary general-purpose parts, with SR in the fractions of a volt per microsecond, are nowhere close.
Before you move on
An op-amp's small-signal bandwidth at some gain setting is comfortably above the frequency you're using. Is the output guaranteed to be a clean, undistorted copy of the input?
The rails are real, no matter how ideal the rest is
Lessons 2 through 5 all quietly assumed Vout stays inside the supply rails. It is worth closing this chapter by lifting that assumption, because it is the one non-ideality with absolutely nothing subtle about it: an op-amp cannot output a voltage its own power pins don't span, full stop, and most parts fall a volt or two short of the rails themselves — the datasheet parameter is usually called output swing, not rail-to-rail, unless the part is specifically designed and marketed for it.
This bench uses VOH = +13.5 V and VOL = −13.5 V on ±15 V supplies — 1.5 V of headroom lost on each side, typical for an older general-purpose part.
Commit before you touch anything
An inverting stage is set for a gain of −10. How large can Vin get, peak, before Vout starts clipping against ±13.5 V?
The same shape, a different cause
Chapter 4's clipping came from a transistor running out of headroom against its own collector resistor and supply. This clipping comes from the op-amp's own output stage running out of room against its supply pins — internally, in fact, built from exactly the kind of push-pull output stage chapter 6 covered. The waveform looks identical on a scope: flat top, flat bottom, a straight-line edge where a curve used to be. The two chapters gave you two different reasons the same picture can occur, and a real circuit can hit either one, or both, depending on where the limited headroom actually is.
| Closed-loop gain | Onset of clipping, Vin peak |
|---|---|
| −1 | 13.5 V |
| −10 | 1.35 V |
| −100 | 0.135 V |
In the wild
Why professional audio gear runs op-amps on ±15 to ±18 V rails instead of ±5 V. More rail headroom directly buys more undistorted swing before this lesson's clipping sets in — one of the plainest reasons pro gear sounds cleaner at high levels than consumer gear built around the same op-amp.
Rail-to-rail output op-amps, and why they still aren't quite rail-to-rail. Modern parts get VOH/VOL to within millivolts of the supply rather than volts — a real improvement, not a change in the underlying limit this lesson describes.
Why a single-supply (0 V to +5 V) op-amp circuit needs a deliberate mid-supply bias point. Without one, half of any AC signal is asking the output to go negative, which a single supply cannot do at all — the most common beginner mistake this exact non-ideality causes.
Before you move on
Reaching back to chapter 6: what internal circuit stage inside a typical op-amp is directly responsible for delivering its output current and setting its rail-headroom limit?
Chapter checkpoint
Question 1
With no feedback, an op-amp with A0 = 500,000 and ±13 V rails receives a 200 µV input difference. What does the output do?
Question 2
Why does the “virtual short” (V+=V−) get more accurate as A0 increases?
Question 3
Reaching back to chapter 5: what did a single bipolar stage's intrinsic gain ceiling, gmro, turn out to equal?
Question 4
An op-amp has GBW = 2 MHz. A non-inverting stage is built with Rf = 9 kΩ, Rin = 1 kΩ. Roughly what closed-loop bandwidth results?
Question 5
A stage's small-signal bandwidth easily covers the frequency in use, yet the output still comes out visibly distorted into something close to a triangle wave at large amplitude. What is the most likely cause?
Question 6
Reaching back to chapter 4: what shape does clipping take on an oscilloscope trace, whether it comes from a transistor stage or an op-amp's output stage?
Every word this chapter introduced
Where this goes next
About the simulations. This chapter's op-amp is modelled purely as a black box: a finite open-loop gain A0, a single-pole frequency response set by GBW, a slew-rate limit SR, and hard output clamps at VOH/VOL — nothing about the transistors inside it is simulated, in keeping with the course plan's instruction to treat the op-amp as a sealed unit until chapters 9–12 open it up. Benches 2 and 3 solve the exact finite-gain nodal equations for each configuration directly, rather than assuming V+=V− and only checking the assumption afterward. Bench 4's frequency response uses genuine complex arithmetic on the single-pole model, not a hand-drawn asymptote. Bench 5 numerically time-steps a first-order lag toward the target voltage, rate-limited to ±SR at every step, rather than sketching the slewed edge as a fixed shape. Two simplifications worth knowing: input bias current and input offset voltage — both genuine, nonzero, and frequently the dominant error source in a real precision circuit — are not modelled here, and every parameter is held constant with temperature and supply voltage, which real ones are not.