Sub topic 1
The ideal op amp: what we assume
Prerequisites
This chapter assumes you already know the following:
- Ohm's law and Kirchhoff's current and voltage laws.
- Resistors in series and parallel, and the voltage divider.
- What an amplifier and gain are, including decibels.
- How to read a simple circuit schematic.
You do not need to know anything about op amp internals. This chapter gives you the simplified model that the rest of the tutorial builds on.
Why use a model at all
An operational amplifier (op amp) is an integrated circuit with dozens of transistors inside. Analyzing it at transistor level every time you want to amplify a signal would be slow and error-prone. Instead, we replace the whole chip with a small set of rules. This replacement is the ideal op amp model.
The model is useful because it is accurate enough for most first-pass designs. When it fails, the failures are predictable: finite gain, limited bandwidth, offset voltages, bias currents, and supply limits. Later chapters add those effects back one at a time.
The symbol and its terminals
A standard op amp has five connections that matter.
| Terminal | Symbol | Role |
|---|---|---|
| Non-inverting input | + | Output moves in the same direction as the voltage here |
| Inverting input | - | Output moves in the opposite direction to the voltage here |
| Output | Vout | Drives the load |
| Positive supply | V+ (or Vcc) | Powers the chip, sets the upper output limit |
| Negative supply | V- (or Vee) | Powers the chip, sets the lower output limit |
Schematics often leave out the supply pins to keep the drawing clear. The supplies are still there, and they matter a great deal in the chapter on output clipping.
The op amp is a differential amplifier. It responds to the difference between its two inputs, not to either voltage alone. Writing the non-inverting input voltage as V+ and the inverting input voltage as V-, the output is:
Vout = A × (V+ − V-)
Here A is the open-loop gain, the gain of the op amp by itself with no feedback connected.
The ideal assumptions
The ideal op amp is defined by four properties.
- Infinite open-loop gain (A → ∞). A tiny input difference produces a huge output. In a real part, A is typically 100,000 (100 dB) or more at DC.
- Infinite input impedance. The inputs draw no current. In a real part, bipolar input stages draw nanoamps to microamps, and FET input stages draw picoamps or less.
- Zero output impedance. The output behaves as a perfect voltage source. Its voltage does not sag when the load draws current. Real op amps have output impedances from a fraction of an ohm to hundreds of ohms in open loop, and feedback reduces this further.
- Infinite bandwidth. The gain is the same at every frequency, and the output responds instantly. Real parts have a finite gain-bandwidth product and a finite slew rate.
Some textbooks add more: zero offset voltage, infinite common-mode rejection, and infinite power supply rejection. We will treat these as part of "ideal" too. They matter later, in the chapter on DC errors.
Two of these properties produce the working rules you will use in every circuit analysis:
- Infinite input impedance means no current flows into either input terminal.
- Infinite gain, combined with negative feedback, forces V+ = V-. The next chapters explain why.
The second rule is not a property of the op amp alone. It holds only when feedback is connected correctly. That distinction causes many analysis mistakes, so keep it in mind.
What infinite gain implies
Take the equation Vout = A × (V+ − V-) and solve for the input difference:
V+ − V- = Vout / A
A real output cannot exceed the supply voltages. Suppose the supplies are ±15 V, so |Vout| is at most about 15 V. With A = 100,000, the input difference is at most:
15 V / 100,000 = 150 µV
That is already tiny. As A grows toward infinity, the difference shrinks toward zero. So for any output that stays within the supplies, the ideal model says V+ − V- = 0.
This is the central idea. The op amp does not produce a specific gain by itself. It produces whatever output is needed to make its two inputs equal, if the external circuit lets it do that. The external resistors then decide what that output must be.
A short numerical check
The following Python snippet shows how the required input difference shrinks as A grows, for a 10 V output.
vout = 10.0
for a in (1e3, 1e4, 1e5, 1e6, 1e7):
diff = vout / a
print(f"A = {a:>10.0e} -> V+ - V- = {diff * 1e6:>10.2f} uV")The output is:
A = 1e+03 -> V+ - V- = 10000.00 uV
A = 1e+04 -> V+ - V- = 1000.00 uV
A = 1e+05 -> V+ - V- = 100.00 uV
A = 1e+06 -> V+ - V- = 10.00 uV
A = 1e+07 -> V+ - V- = 1.00 uVAt A = 100,000, a 10 V output needs only 100 µV between the inputs. Compared with volt-level signals, that is negligible, which is why treating it as zero works well.
A block view of the model
The model has a differential input, an infinite-gain stage, and an ideal voltage source at the output.
Two operating regions
The equation Vout = A × (V+ − V-) holds only while the output stays between the supply rails. The op amp therefore has two regions.
| Region | Condition | Behavior |
|---|---|---|
| Linear | Output between the rails | Vout = A × (V+ − V-), and with feedback V+ is approximately V- |
| Saturated | Output at a rail | Vout stays near V+ or V-, and the input difference can be large |
The "V+ = V-" rule applies in the linear region only. If the output is clipped at a rail, the inputs can differ by volts, and the rule no longer holds. When an analysis gives an output beyond the supplies, the correct conclusion is that the output saturates, not that the op amp makes 40 V from a 15 V supply.
A circuit with no feedback is a special case. With open-loop gain of 100,000, a difference of just 1 mV between the inputs would call for 100 V at the output. The output slams into a rail instead. A part used this way is a comparator, which is a separate application and not an amplifier.
How the assumptions map to the real world
The table pairs each ideal assumption with a typical real value and the effect of the difference. Values are typical for general-purpose parts, and datasheets vary.
| Ideal assumption | Typical real value | Where it shows up later |
|---|---|---|
| Infinite gain | 100 dB to 120 dB at DC | Gain error |
| Infinite input impedance | 1 MΩ to 10^12 Ω, with bias current of pA to µA | DC errors, source loading |
| Zero output impedance | Under 1 Ω in closed loop at low frequency | Driving loads |
| Infinite bandwidth | Gain-bandwidth product of 1 MHz to 100 MHz | Closed-loop bandwidth |
| Instant response | Slew rate of 0.5 V/µs to 1000 V/µs | Large-signal limits |
| Zero offset | 10 µV to a few mV | DC errors |
Common mistakes
- Applying V+ = V- without checking feedback. The rule needs a path from the output back to the inverting input. A circuit with feedback to the non-inverting input only, which is positive feedback, does not satisfy it.
- Forgetting that "no input current" applies to the op amp pins only. Current still flows in the resistors connected to those pins. It just does not flow into the chip's input terminals.
- Assuming the output can reach the supply voltage. Many parts stop 1 V to 2 V short of each rail, and rail-to-rail parts get within millivolts under light load.
- Treating the inputs as grounded. A virtual short means the voltages are equal. It does not mean current can flow to ground through the inputs.
What comes next
With these assumptions, the analysis of every op amp circuit in this tutorial follows the same two-step recipe:
- Write V+ = V- (if feedback is negative and the output is in the linear region).
- Write Kirchhoff's current law at the inverting node, using zero current into the input pin.
The next chapter explains why negative feedback is what makes the first step valid.
Exercise
An op amp has open-loop gain A = 200,000 and runs from ±12 V supplies. The output is 8 V and the circuit is in the linear region. (a) What voltage difference exists between the two inputs? (b) If the same circuit were driven so that the ideal equation called for an output of 30 V, what would the real output be, and what would you say about V+ − V-?
Show answer
(a) V+ − V- = Vout / A = 8 V / 200,000 = 40 µV. (b) The output cannot exceed the supply, so it saturates near +12 V (a real part would stop slightly below, often 1 V to 2 V short). The linear equation no longer applies, so V+ − V- is not close to zero. It is whatever the circuit forces, and it can be large.
Exercise
A student analyses a circuit where the output connects only to the non-inverting input through a resistor, and the inverting input is tied to a fixed voltage. The student sets V+ = V- and solves. Why is this analysis invalid?
Show answer
The feedback goes to the non-inverting input, so it is positive feedback. A small difference between the inputs is amplified and pushed further in the same direction, so the output runs to a rail instead of settling where V+ = V-. The virtual short rule needs negative feedback to the inverting input.