First Year Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Op-amp circuits: inverting, non-inverting and summing

Operational-amplifier (op-amp) inverting, non-inverting, and summing amplifier circuits: assumptions, derivations, formulas, and exam-style examples.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Operational amplifiers (op-amps) are the basic building blocks inside analog instrumentation, sensor signal conditioning, audio amplifiers, data acquisition front-ends (IoT), and active filters. The inverting, non-inverting, and summing amplifier configurations give predictable gain, polarity, and combining of signals using only resistors and an op-amp.

Key ideas

  • Ideal op-amp model: Assumptions commonly used in analysis:
    1. Infinite open-loop gain A_OL → ∞.
    2. Infinite input resistance (no input current into either input terminal).
    3. Zero output resistance (output is an ideal voltage source).
    4. Infinite bandwidth (gain independent of frequency) and zero input offset (for DC analysis unless stated otherwise). Under these, two “golden rules” are applied when negative feedback is used and the op-amp is not saturated:
    • The input currents are zero: i+ = 0 and i− = 0.
    • The input voltages are equal: v+ = v− (often called a virtual short).
  • Virtual short vs. virtual ground: A virtual short means v+ = v−, not a direct wire connection. A virtual ground is a special case when one input is held at 0 V (ground), so the other input node is also at approximately 0 V by feedback, even though it is not physically connected to ground.
  • Negative feedback: Feeding back a portion of the output to the inverting input to control the closed-loop gain, stabilize the amplifier, and reduce sensitivity to the op-amp’s internal parameters.
  • Saturation/Clipping: The op-amp output cannot exceed its supply rails (e.g., ±12 V or 0 to +5 V). If the demanded output gain times input exceeds the rail, the output saturates (clips) at a value near the rail.
  • Resistor ratios set gain: In basic inverting and non-inverting amplifiers, the closed-loop gain depends on the ratio of two resistors, not their absolute values (assuming the ideal model).
  • Summing amplifier: An inverting amplifier extended to add (algebraically sum) multiple input voltages using multiple input resistors into the inverting node.

Exact statements, assumptions, derivations students are asked to show:

  1. Inverting amplifier (with negative feedback)
  • Circuit description to draw and label:
    • Draw an op-amp as a triangle with output on the right, inputs on the left: upper input labeled “+” (non-inverting), lower input labeled “−” (inverting).
    • Connect the “+” input to ground (0 V reference).
    • From the signal source Vs (left), draw a resistor Rin to the “−” input node (call this node V−).
    • From the output Vo, draw a feedback resistor Rf back to the “−” input node.
    • Clearly label: Vs, Rin, Rf, node V−, ground at the “+” input, output Vo, and supply rails (small labels like +VCC, −VEE if required by your university diagram standards).
  • Assumptions: Ideal op-amp, linear region (not saturated), negative feedback via Rf.
  • Derivation:
    • Because the “+” input is at 0 V (ground) and with ideal negative feedback, v+ = v− = 0 V (virtual ground at the inverting node).
    • No input current into op-amp: current through Rin equals current through Rf. Iin = (Vs − V−)/Rin = (Vs − 0)/Rin = Vs/Rin If = (V− − Vo)/Rf = (0 − Vo)/Rf = −Vo/Rf
    • KCL at node: Iin + (op-amp input current) = If, with op-amp input current = 0, so Vs/Rin = −Vo/Rf.
    • Therefore, Vo = −(Rf/Rin)·Vs. The gain is Av = Vo/Vs = −Rf/Rin.
    • Input resistance seen by source is approximately Rin (because V− is held near 0 V).
  1. Non-inverting amplifier (with negative feedback)
  • Circuit description to draw and label:
    • Draw op-amp triangle. Apply input Vs to the “+” input directly.
    • Make a feedback divider from output Vo to the “−” input: a resistor Rf from output to “−” input, and a resistor R1 from “−” input to ground.
    • Label Vs, Vo, Rf, R1, node V−, and ground.
  • Assumptions: Ideal op-amp, linear region, negative feedback via divider.
  • Derivation:
    • With ideal op-amp and feedback, v+ = v−. The “+” input is at Vs, so V− = Vs.
    • By voltage divider at node V−: V− = Vo·(R1/(Rf + R1)).
    • Equate: Vs = Vo·(R1/(Rf + R1)) → Vo = Vs·(1 + Rf/R1).
    • Gain is Av = 1 + Rf/R1, always positive (no inversion) and ≥ 1.
    • Input resistance is very high (ideally infinite) because input is directly into the non-inverting input terminal.
  1. Inverting summing amplifier (weighted summer)
  • Circuit description to draw and label:
    • Same as inverting amplifier, but multiple input sources V1, V2, …, Vn, each feeding the inverting node through its own input resistor R1, R2, …, Rn.
    • “+” input is grounded. Feedback resistor Rf from Vo to inverting node.
    • Label all sources, resistors, node V−, Rf, Vo.
  • Assumptions: Ideal op-amp, linear region, negative feedback, sources referenced to ground (unless stated otherwise).
  • Derivation:
    • Virtual ground at V− gives V− ≈ 0 V. No input current into op-amp, so sum of currents through all input resistors flows through Rf.
    • For each input Vi with resistor Ri: current Ii = (Vi − 0)/Ri = Vi/Ri. The feedback current If = −Vo/Rf.
    • KCL: Σ(Vi/Ri) = −Vo/Rf → Vo = −Rf·Σ(Vi/Ri).
    • Special case (equal resistors Ri = R): Vo = −(Rf/R)·(V1 + V2 + … + Vn).
    • Output is the inverted weighted sum of inputs.
  1. Averaging amplifier (a summing variant)
  • Using the summing amplifier with Rf = R/n and all input resistors equal to R, the output becomes Vo = −(1/n)·(V1 + V2 + … + Vn) (an inverted average). To get a non-inverted average, you can follow it with a unity-gain inverter stage.
  1. Practical notes students should mention briefly
  • Input and output saturation: Vo is limited near the supply rails; exact headroom depends on the op-amp type (e.g., rail-to-rail vs. not). Always check expected Vo against supplies.
  • Input bias currents and resistor selection: In precision DC work, bias currents through large resistors cause offset; a bias compensation resistor equal to the parallel of feedback network is often placed at the non-inverting input (this is generally beyond first-year numericals but may be asked as a short note).
  • Bandwidth: Real op-amps have finite gain-bandwidth product (GBW). Closed-loop gain × bandwidth ≈ constant (for single-pole models), so higher gain reduces bandwidth. For this topic, most exam questions treat DC/low-frequency ideal cases.

Formulas

Vo = −(Rf/Rin)·Vs

  • Inverting amplifier closed-loop gain. Vo and Vs in volts (V), Rf and Rin in ohms (Ω). Applies with ideal op-amp, negative feedback, and linear (unsaturated) operation.

Av(inverting) = Vo/Vs = −Rf/Rin

  • Dimensionless gain. Same applicability as above.

Vo = Vs·(1 + Rf/R1)

  • Non-inverting amplifier closed-loop gain. Vo, Vs in V; Rf, R1 in Ω. Ideal op-amp, negative feedback, linear operation.

Av(non-inverting) = 1 + Rf/R1

  • Dimensionless. Same applicability.

Vo = −Rf·Σ(Vi/Ri)

  • Inverting summing amplifier (weighted sum). Vo and each Vi in V; Rf, Ri in Ω. Ideal op-amp, negative feedback, linear operation.

Vo = −(Rf/R)·(V1 + V2 + … + Vn)

  • Equal-resistor summing amplifier. All Ri = R. Same applicability.

Rin(effective, inverting) ≈ Rin

  • Effective input resistance seen by the source in an inverting amplifier equals the input resistor value Rin (Ω) due to virtual ground. Ideal model.

Rin(effective, non-inverting) → ∞ (ideally)

  • Very high input resistance at the non-inverting input; in practice depends on op-amp input stage. Ideal model statement.

V− = V+ (with negative feedback, ideal op-amp, unsaturated)

  • Virtual short condition. Voltages in V. This is not a direct wire; it is an analysis result under assumptions.

Finite rails: Vo ∈ [−VEE + headroom, +VCC − headroom]

  • Output cannot exceed supplies. Headroom depends on op-amp design. Use to check saturation qualitatively.

Worked examples

Example 1: Inverting amplifier gain and output, with saturation check Given: Vs = 0.2 V, Rin = 10 kΩ, Rf = 100 kΩ, op-amp powered by ±12 V supplies.

  1. Formula: Vo = −(Rf/Rin)·Vs.
  2. Numbers: Vo = −(100 kΩ / 10 kΩ) · 0.2 V = −(10) · 0.2 V = −2.0 V.
  3. Units: Output in volts. Vo = −2.0 V.
  4. Saturation check: Rails are ±12 V, demanded output is −2.0 V, which is within range. No saturation. Final answer: Vo = −2.0 V (no clipping).

Example 2: Non-inverting amplifier design for desired gain Design a non-inverting amplifier with gain Av = 11 using standard resistor values, and find Vo for Vs = 0.15 V. Assume ±5 V rails.

  1. Formula: Av = 1 + Rf/R1. For Av = 11, need Rf/R1 = 10.
  2. Choose convenient values keeping the ratio 10: e.g., R1 = 10 kΩ, Rf = 100 kΩ.
  3. Output for given input: Vo = Av·Vs = 11 · 0.15 V = 1.65 V.
  4. Saturation check: Rails ±5 V, 1.65 V is inside. No clipping. Final answer: Use R1 = 10 kΩ, Rf = 100 kΩ; Vo = 1.65 V for Vs = 0.15 V.

Example 3: 3-input inverting summing amplifier (weighted) Given a summing amplifier with Rf = 47 kΩ. Inputs: V1 = 0.50 V via R1 = 10 kΩ, V2 = −0.20 V via R2 = 20 kΩ, V3 = 1.00 V via R3 = 47 kΩ. Rails ±15 V. Find Vo. Also state whether the circuit saturates.

  1. Formula: Vo = −Rf·(V1/R1 + V2/R2 + V3/R3).
  2. Compute individual terms (carry units):
    • V1/R1 = 0.50 V / 10 kΩ = 0.050 mA = 50 µA (current equivalent; algebraically 0.00005 A). Numerically as current: 0.50/10000 A = 0.00005 A.
    • V2/R2 = −0.20 V / 20 kΩ = −0.010 mA = −10 µA (−0.00001 A).
    • V3/R3 = 1.00 V / 47 kΩ ≈ 0.0212766 mA ≈ 21.2766 µA (≈ 0.0000212766 A). Sum: 50 µA − 10 µA + 21.2766 µA = 61.2766 µA (0.0000612766 A).
  3. Multiply by Rf = 47 kΩ:
    • Vo = −47 kΩ × 61.2766 µA = −(47000 Ω) × (61.2766 × 10⁻⁶ A)
    • Vo = −(47000 × 0.0000612766) V ≈ −2.879999 V (check: 47000 × 0.0000612766 ≈ 2.879999 ≈ 2.88).
  4. Saturation check: Rails ±15 V, demanded output ≈ −2.88 V, inside range. No saturation. Final answer: Vo ≈ −2.88 V (no clipping).

Example 4 (optional design extension, if asked): Averaging 4 inputs Design an inverting averaging amplifier for four equal-weight inputs such that Vo = −(V1 + V2 + V3 + V4)/4.

  • Choose any convenient R for all inputs (e.g., R = 40 kΩ), then set Rf = R/4 = 10 kΩ. This gives the required scaling. State that the output is inverted; if a non-inverted average is required, follow with a unity-gain inverting stage (another op-amp with Rin = Rf).

Common mistakes

  • Mixing up Rin and Rf in the inverting formula, giving wrong gain magnitude.
  • Assuming V− is physically grounded in inverting configuration; it is a virtual ground only.
  • Ignoring saturation: computing a large Vo (e.g., ±30 V) when supplies are ±12 V. Always compare to rails.
  • Using kΩ and Ω carelessly: not converting units properly (e.g., 10 kΩ = 10000 Ω).
  • Assuming the non-inverting input draws current in ideal analysis; ideal inputs draw zero current.
  • Forgetting that non-inverting gain is 1 + Rf/R1, not Rf/R1.
  • In summing circuits, forgetting to use algebraic signs of input voltages (negative inputs reduce the sum).
  • Designing with extreme resistor values (very high resistances increase noise and offset sensitivity; very low values load sources or cause high current). Even if not numerically penalized, mention reasonable ranges (e.g., 1 kΩ to 1 MΩ) if design judgment is requested.

For your exam

  • Short notes: Ideal op-amp assumptions; effect of negative feedback; summing amplifier and averaging amplifier; saturation/clipping; brief mention of input bias current compensation.
  • Derivations: Step-by-step derivation of Vo = −(Rf/Rin)·Vs for inverting, Vo = Vs·(1 + Rf/R1) for non-inverting, and Vo = −Rf·Σ(Vi/Ri) for summing. State assumptions: ideal op-amp, negative feedback, linear region.
  • Diagrams: Neat, labeled circuit diagrams for each configuration. Include input labels, resistor values, ground reference, feedback path, and output node. If asked, draw supply rails as +VCC and −VEE (or VDD and VSS for single supply with a mid-bias, if specified).
  • Numericals: Compute gains and outputs with units, check for saturation vs supply rails, and handle sign conventions correctly. For summing, handle weighted inputs by their resistor ratios.
  • Design problems: Choose resistor values for a target gain ratio. Show ratio first, then propose standard resistor values that meet the ratio. Optionally comment on practical ranges and tolerance.
  • Extra credit: Briefly state bandwidth trade-off (GBW) and input/output impedance characteristics for both configurations, but keep the core DC formulas correct.

A full-marks answer typically includes: a correct and labeled diagram, clear statement of assumptions, neat derivation lines with KCL/voltage-divider steps, final formula boxed/underlined (in your handwriting), correct units, and a saturation check.

Quick check

  1. An inverting amplifier uses Rin = 5 kΩ and Rf = 50 kΩ. If Vs = −0.1 V, what is Vo? Assume no saturation.
  2. A non-inverting amplifier has R1 = 4.7 kΩ to ground and Rf = 47 kΩ to output. Find the gain and Vo for Vs = 0.2 V.
  3. A 2-input summing amplifier has Rf = 22 kΩ, R1 = 10 kΩ with V1 = 0.3 V, and R2 = 20 kΩ with V2 = 0.5 V. Find Vo (assume ideal op-amp and no saturation).

Answers: 1) Av = −Rf/Rin = −10, so Vo = (−10) × (−0.1 V) = 1.0 V. 2) Av = 1 + (47/4.7) = 11; Vo = 11 × 0.2 V = 2.2 V. 3) Vo = −Rf·(V1/R1 + V2/R2) = −22k·(0.3/10k + 0.5/20k) = −22k·(0.00003 + 0.000025) = −22k·0.000055 ≈ −1.21 V (exact: −1.21 V).

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?