Operational amplifiers · Part 17 of 36
Classic op-amp circuits
Intermediate 17 min
Inverting and non-inverting amplifiers, summing amplifiers, the difference amplifier, integrators and transimpedance amplifiers.
What you will learn
- You can calculate the gain of inverting and non-inverting amplifiers.
- You can design a summing amplifier and a difference amplifier.
- You can explain integrators and transimpedance amplifiers.
Before this: Op-amp basics and the golden rules
Non-inverting amplifier
Signal into +; a divider R_f / R_g feeds a fraction of the output back to −.
Gain = 1 + R_f / R_g
With R_f = 9 kΩ and R_g = 1 kΩ, the gain is 10: 0.2 V in → 2 V out. The input draws no current (very high input impedance), so this is the circuit for weak sensors. Minimum gain is 1 (the follower).
Derivation with the golden rules: V₋ = V_in, so the current through R_g is V_in / R_g; the same current flows through R_f (no input current), so V_out = V_in + (V_in / R_g) × R_f.

Inverting amplifier
Signal through R_in into −; R_f from output back to −; + to ground (or a reference voltage).
Gain = − R_f / R_in
Rule 1 puts the − input at 0 V — a virtual ground. The input current V_in / R_in must all flow through R_f, so V_out = −V_in × R_f / R_in. With 10 kΩ and 47 kΩ, gain = −4.7. The output is inverted, and the input impedance is just R_in.
Summing amplifier
Add more input resistors to the virtual ground of an inverting amplifier: each contributes its own current, and R_f turns the sum into a voltage:
V_out = − R_f × (V1/R1 + V2/R2 + …)
That's an audio mixer — and, with binary-weighted resistors, a simple digital-to-analogue converter.
Difference amplifier
Combine both inputs: with four resistors in the right ratio (R2/R1 on both sides), V_out = (R2/R1) × (V₂ − V₁). It subtracts two voltages and rejects what they have in common (common-mode rejection) — for example measuring the small voltage across a current-sense resistor that sits high above ground. Resistor mismatch limits rejection, so instrumentation amplifiers (three op-amps, matched resistors on-chip) do this job precisely for sensors like strain gauges.

Integrator
Replace R_f by a capacitor: the input current charges the capacitor, and the output is the (negative) integral of the input over time — a constant input gives a ramp. Integrators are at the heart of analogue computers, PID controllers, ramp generators and some ADCs. A large resistor across the capacitor keeps real-world offsets from drifting the output into a rail.
Transimpedance amplifier
A photodiode produces a tiny current proportional to light. Feed it straight into the virtual ground of an inverting stage: V_out = − I × R_f. With R_f = 1 MΩ, 1 µA becomes 1 V. Transimpedance amplifiers are in light sensors, fibre-optic receivers and pulse oximeters.
Single supply
With one supply (0 V and 5 V), signals that swing both ways need a mid-supply reference (often 2.5 V from a buffered divider) in place of ground at the + input of an inverting stage, and the output swings around it. Rail-to-rail op-amps make the best of the limited range.
Key points
- Non-inverting: gain 1 + R_f/R_g, very high input impedance.
- Inverting: gain −R_f/R_in, virtual ground at the − input, input impedance R_in.
- Summing amplifiers add currents into the virtual ground; difference amplifiers subtract (instrumentation amps do it precisely).
- Integrators use a feedback capacitor; transimpedance amps turn current into voltage (V = −I × R_f).
- On a single supply, bias signals around a mid-supply reference.
Flashcards
- Question: Gain of a non-inverting amplifier?
- Answer: 1 + R_f / R_g.
- Question: Gain of an inverting amplifier?
- Answer: −R_f / R_in.
- Question: What is a virtual ground?
- Answer: The inverting input held at the + input’s voltage (0 V) by feedback, without being connected to ground.
- Question: What does a transimpedance amplifier convert?
- Answer: A current into a voltage: V_out = −I × R_f.
Check yourself
Think about your answer, then open it. In the app the quiz is interactive, earns points and brings back what you missed.
Non-inverting amplifier with R_f = 39 kΩ and R_g = 3 kΩ. What is the gain?
Show the answer
14 (± 0.01)
1 + 39/3 = 14.
Source: The Art of Electronics, 4.2.3
Inverting amplifier: R_in = 2 kΩ, R_f = 10 kΩ, V_in = 0.3 V. What is V_out (in V)?
Show the answer
-1.5 V (± 0.01 V)
−10/2 × 0.3 = −1.5 V.
Source: The Art of Electronics, 4.2.2
A photodiode delivers 2.5 µA into a transimpedance amplifier with R_f = 400 kΩ. |V_out| in V?
Show the answer
1 V (± 0.01 V)
I × R_f = 2.5 µA × 400 kΩ = 1 V.
Source: Op Amps for Everyone, ch. 21
Match the circuit with its job.
Show the answer
Summing amplifier = Mix several signals; Difference amplifier = Subtract two voltages; Integrator = Accumulate the input over time; Voltage follower = Buffer a weak source
Standard op-amp building blocks.
Source: Sedra & Smith, ch. 2
Sources
- The Art of Electronics (3rd ed.), Horowitz & Hill, Cambridge University Press, 2015
- Op Amps for Everyone (Design Reference SLOD006B), Ron Mancini (ed.), Texas Instruments, 2002 (copy hosted by MIT 6.101)
- Microelectronic Circuits (8th ed.), Sedra & Smith, Oxford University Press, 2020
Facts checked on 2026-11-30. Skillgrove lessons are free learning material — no certificate and no accreditation.