Operational Amplifiers
Every circuit up to this point has been passive: resistors, capacitors and inductors can divide, delay and phase-shift a signal, but none of them can make it bigger. A voltage divider always hands you back less than you put in. The operational amplifier is the first active device in this course — it draws energy from a power supply and uses it to produce an output larger than its input. Two ideas do almost all the work here, and if you leave with only these two you can still answer the exam question: negative feedback forces the two input terminals to the same voltage, and no current flows into either input. Everything else, including the famous , falls out of applying KCL once with those two facts in hand.
Budget roughly 35–45 minutes. Ten of those go to the ideal-property list and why virtual ground happens (the conceptual half), and the rest to the inverting-amp derivation and practice. This is a short tier by exam weight, but it is also the tier where the analysis method is completely different from everything before it — you do not write node equations for the whole circuit, you write one KCL equation at one node.
The device and its symbol
An op-amp is a high-gain differential amplifier: it looks at the difference between its two input terminals and drives its output to an enormously amplified version of that difference. The symbol is a triangle pointing in the direction of signal flow, with an inverting input (marked ), a non-inverting input (marked ), and a single output. It also has two power-supply terminals — usually drawn only when they matter, but always physically present, because a device that produces more power at its output than arrives at its input must be getting the difference from somewhere.
The four ideal properties
Real op-amps are complicated. The course model is not. Four idealizations turn the device into something you can analyze with the KCL you already know:
Infinite input impedance. , so no current flows into either input terminal: .
Zero output impedance. , so the output behaves as an ideal voltage source — its voltage does not sag no matter what you connect to it.
Infinite open-loop gain. . Real devices are around or more, which for our purposes is the same as infinite.
Very large bandwidth. The gain does not fall off with frequency over the range we care about.
Negative feedback — and why
Take property 3 seriously for a moment. With and supply rails at V, the largest input difference the op-amp can amplify without slamming into a rail is
A hundred and fifty microvolts. If the two inputs differ by any more than that, the output is pinned against a supply rail and the device is no longer amplifying anything. Used open-loop, an op-amp is therefore useless as an amplifier — it is a comparator, an all-or-nothing switch.
Negative feedback fixes this. Wire a path from the output back to the inverting () input. Now the loop is self-correcting: if drifts below , the difference goes positive, the output swings up, and because the feedback path carries that rise back to , the node is pushed back up. The correction always opposes the error — hence negative feedback. The loop settles at exactly the point where the error is small enough that the huge gain produces the finite output the circuit needs, and since the gain is enormous, that error is essentially zero:
valid only when negative feedback is present and the output is not saturated
Negative feedback forces . It does not force either one to zero. The node is at 0 V only when happens to be tied to real ground — which is exactly the case in the inverting amplifier, and that is where the name virtual ground comes from: the inverting node acts like ground (0 V) without being wired to it. In the voltage follower below, the same feedback rule gives . Same rule, different value. Ask "what is ?" first, every time.
The voltage follower
The simplest possible feedback circuit: connect the output directly to the inverting input — 100% of the output fed back, no resistors at all. Apply the input to the non-inverting terminal.
The analysis is one line. The feedback wire makes by inspection. The feedback constraint gives . And because that is where the source is connected. Chain them:
Gain of one. Why build it? Because of properties 1 and 2. The source sees the op-amp's infinite input impedance, so it delivers no current and is not loaded at all; the load sees the op-amp's zero output impedance, so it can draw whatever current it likes without the voltage sagging. A follower is an impedance transformer: it copies a voltage from a weak, high-impedance source onto a strong, low-impedance one. Put one between a sensor and a resistive network and the divider ratio you calculated on paper is the ratio you actually measure.
The inverting amplifier
Now the configuration that actually produces gain. Ground the non-inverting input. Feed the signal into the inverting input through a resistor , and close the feedback loop with a resistor from the output back to that same node.
Deriving
Everything now follows from two facts and one KCL equation. Note how little of the circuit we actually touch — we never write an equation for the output node, and we never need to know anything about what is inside the triangle.
Find . The non-inverting input is wired straight to ground, so .
Apply the feedback constraint. runs from the output back to the inverting input, so this is negative feedback and .
Find the input current. has on its left end and the virtual ground (0 V) on its right, so by Ohm's law
KCL at the inverting node. Three branches meet there: , , and the op-amp input terminal. The terminal carries zero current (property 1), so all of must continue into :
Walk across to the output. Starting at the virtual ground (0 V) and travelling in the direction of , we drop :
Divide out .
It is a phase inversion, not an error. Positive in, negative out. Feed a sinusoid and the output is the same sinusoid flipped upside down. Feed V into a circuit with and the output is V, which is only possible if the negative supply rail is at least V — a point we return to below.
The gain contains no op-amp parameter at all — not , not the input impedance, nothing. That is the deep reason feedback is used everywhere in electronics: it trades away gain you have in absurd excess for gain you can predict. Two resistors you can buy to 1% tolerance now set the gain, instead of a transistor parameter that varies by a factor of three between chips off the same wafer.
A sensor produces V and must be amplified to V, and the sensor may not be loaded by more than 1 mA. Choose and .
Step 1 — gain required. , so .
Step 2 — loading sets . The source sees , so mA requires kΩ. Take kΩ.
Step 3 — ratio sets . kΩ.
Step 4 — check. mA, all of it through , so V. ✓
Where the ideal model breaks: saturation
The gain formula has no upper limit built into it — nothing in knows about the power supply. But the op-amp cannot produce an output voltage larger than the rails feeding it. Once the ideal prediction exceeds or falls below , the output simply stops there and the feedback loop loses control — with the output pinned, it can no longer correct the input error, so and the virtual ground assumption itself fails. This is clipping: a sinusoid comes out with its peaks flattened.
Widget — gain, rails and clipping
Drag and and watch the gain change. Then push the input amplitude up, or the rails down, until the dashed ideal-model trace leaves the shaded band — that is the moment the virtual-ground model stops describing the real circuit, and the solid trace (what the op-amp actually does) flattens against the rail.
Practice problems
No tutorial, exercise or exam in this course's source material touches op-amps, so there is no official answer key to check these against. Every problem below was therefore solved two structurally independent ways, and each solution states which two. Problems whose answer could not be confirmed twice were not written. If you get a different answer, work the second method listed and see which one your result matches.
An inverting amplifier is built with kΩ, kΩ, and supply rails at V. A DC input of V is applied.
(a) Find the closed-loop gain . (b) Find . (c) Find the current delivered by the source. (d) Confirm the amplifier is operating in its linear region.
Method A — virtual ground and KCL (the derivation route).
(grounded), and negative feedback via gives : virtual ground. The current through is
No current enters the op-amp input, so KCL at the inverting node sends all A through . Walking from the node to the output across in the direction of that current:
The source current is exactly A, since the source sees kΩ.
Method B — finite-gain analysis, taking the limit (never assumes virtual ground).
Drop the ideal-gain assumption entirely. Let the open-loop gain be a finite , and let the inverting node sit at an unknown . The device relation is , hence . Writing KCL at the inverting node with only "no input current" assumed:
Substituting and multiplying through by :
With , V and a realistic :
and as this tends to exactly V. Agreement with Method A to five significant figures. As a bonus this method produces the virtual ground rather than assuming it: V, i.e. 0 V to any precision that matters.
Consistency back-check. Plug V back into the original circuit: current into the node through is A; current out of the node through is A. In equals out, with zero into the op-amp. KCL holds. ✓
(d) Linear region. V, so the output is well inside the rails and the linear model is valid. ✓
Verified by: virtual-ground KCL and finite-open-loop-gain limit analysis.
Two inverting amplifiers are chained: the output of stage 1 drives the input resistor of stage 2. Stage 1 has kΩ, kΩ. Stage 2 has kΩ, kΩ. Both op-amps run on V rails. The input is V DC.
(a) Find the intermediate voltage at the output of stage 1. (b) Find . (c) What is the overall gain, and why is it positive? (d) Confirm neither op-amp saturates. (e) Why does stage 2's input resistor not change stage 1's answer?
Method A — stage-by-stage closed-loop gain formula.
Overall .
Method B — node-by-node KCL from scratch, no gain formula used.
Node a (stage 1's inverting input): grounded plus negative feedback gives . KCL with zero op-amp input current:
Node b (stage 2's inverting input): same reasoning gives , and
Both methods give V and V. Sanity-check the currents too: stage 1 passes A through , giving a 1.0 V drop ✓; stage 2 passes A through , giving a 3.0 V drop ✓.
(c) The gain is positive because each stage inverts, and two inversions cancel — . Cascading inverting stages is the standard way to get a large non-inverting gain with predictable resistor ratios.
(d) Stage 1 output: V ✓. Stage 2 output: V ✓. Both linear. (Always check the intermediate node too — a cascade can saturate in the middle while its final output looks harmless.)
(e) Because an ideal op-amp has zero output impedance (property 2). Stage 1's output is an ideal voltage source, so the 2 kΩ that stage 2 hangs on it draws current without pulling the voltage down. Two passive networks chained like this would load each other and you could not multiply their ratios; op-amp stages you can.
Verified by: cascaded closed-loop gain formula and independent node-by-node KCL, cross-checked against branch currents.
An inverting amplifier has kΩ and runs on V rails. Its input is a sinusoid of amplitude V (peak).
(a) What is the largest for which the output peak does not exceed the rails? (b) A technician instead fits kΩ. What does the output look like? (c) For what fraction of each cycle is the output clipped? (d) During clipping, what is the actual voltage at the inverting input — and what does that tell you about virtual ground?
(a) Method A — gain formula against the rail. The output peak is and must not exceed 10 V:
(a) Method B — current route, independent of the gain formula. At the input peak the virtual ground makes the current through equal to A, and all of it flows through . The voltage developed across is the output magnitude, so we need V, giving kΩ. Both give exactly 80 kΩ.
(b) With kΩ, , so the ideal model predicts a peak of V. That exceeds the 10 V rails, so the output is a -inverted sinusoid whose peaks are flattened at exactly V — a clipped waveform. Around the zero-crossings, where the instantaneous output magnitude is below 10 V, the amplifier is still perfectly linear.
(c) Write . The output clips whenever , i.e. . Solving gives , so within the first half-cycle the clipped interval runs from to , a span of . By symmetry the negative half-cycle clips for the same span, so per full cycle:
Cross-check by a different route: the fraction of a cycle for which is , and . ✓ Same number from the complementary calculation.
(d) Method A — the assumption contradicts itself. Suppose virtual ground still held at the input peak. Then A and V — impossible, since the op-amp cannot swing beyond V. The assumption produces a contradiction, so it must be false during clipping.
(d) Method B — solve for the node voltage with the output forced to the rail. Let the inverting node be (unknown, no longer assumed zero) with pinned at V. Only "no current into the op-amp input" is still true, so KCL at that node gives, at the input peak V:
Multiplying by : , so
That is not 0 V — the virtual ground has failed. And it is self-consistent: the bare device would demand V, hugely beyond the rail, which is exactly why the output stays pinned at V. Both methods agree that virtual ground is a consequence of the feedback loop being in control, not an unconditional property of the wiring.
Verified by: (a) gain-formula-vs-rail and feedback-current-times-; (c) direct clipped-span and complementary unclipped-span calculation; (d) proof-by-contradiction and explicit forced-rail KCL solve.
Exam checklist
1. Identify — is the non-inverting input grounded, or driven? 2. Is there negative feedback (a path from output to the input)? If yes, set . 3. Write KCL at the inverting node only, remembering . 4. Solve for . 5. Check — if it fails, the answer is the rail, not the formula.
Dropping the minus sign on . Forgetting that the input impedance is alone (not ) — the virtual ground terminates the input branch. Assuming in a follower, where it equals . Forgetting to check the intermediate node for saturation in a cascade. And treating as always true: it requires negative feedback and an unsaturated output.