The superposition formula states that the total voltage or current response in any linear, bilateral network is the exact algebraic sum of the responses caused by each independent source acting alone. If you have a 12V battery and a 5V logic rail feeding a sensor bridge, you do not need to solve a massive system of simultaneous equations. You calculate the circuit's behavior with the 12V source active (and the 5V source turned off), calculate it again with the 5V source active (and the 12V source turned off), and add the two results together.
This principle is the backbone of small-signal AC/DC analysis, audio amplifier design, and mixed-signal PCB troubleshooting. Below is the complete breakdown of the formula, its strict boundaries, and two bench-grade worked examples.
The Superposition Formula: Core Equation and Symbol Definitions
The generalized superposition formula for any voltage or current response in a linear circuit is expressed as:
Xtotal = X1 + X2 + X3 + ... + Xn
To apply this on the bench or in SPICE validation, you must understand exactly what each term demands of your circuit topology.
| Symbol | Definition | Bench Context & Rules |
|---|---|---|
| Xtotal | Total response (Voltage or Current) | The final algebraic sum at your target node or branch. Must include directional sign (+/-). |
| Xi | Response from Source i acting alone | Calculated with all other independent sources "killed" (zeroed out). |
| n | Total number of independent sources | Count only independent voltage/current sources. Dependent sources (like op-amp models) are NEVER killed. |
| Voff | Deactivated Voltage Source | Replaced by a short circuit (0V, 0Ω wire). Do not just delete the component; bridge the nodes. |
| Ioff | Deactivated Current Source | Replaced by an open circuit (0A, infinite Ω). Physically remove the connection between the nodes. |
When the Formula Applies (and Where It Breaks)
The superposition theorem is not a universal law of physics; it is a mathematical property of linear systems. According to All About Circuits, the formula strictly requires bilateral, linear components.
The Assumptions
- Linearity: The components must obey Ohm's Law linearly. Standard resistors, capacitors, and inductors qualify.
- Bilateral symmetry: Current flows equally well in both directions (resistors yes, diodes no).
- Independent Sources: You only cycle independent sources. If your circuit has a dependent source (e.g., a current-controlled current source modeling a BJT), it remains active during every single step.
Where It Fails: Power Calculations
You cannot use the superposition formula to calculate power directly. Power is a non-linear function ($P = I^2R$ or $P = V^2/R$). If Source 1 pushes 2A and Source 2 pushes 3A through a 1Ω resistor, the total current is 5A, and the total power is $5^2 \times 1 = 25W$. If you superimposed power, you would calculate $(2^2 \times 1) + (3^2 \times 1) = 13W$, which is dangerously wrong and will result in undersized thermal heatsinks.
Rearranged Forms and Unit Tracking Pitfalls
While the standard formula solves for the total, bench debugging often requires solving for an unknown source's contribution. If you measure a total node voltage and know the contributions of all but one power rail, you rearrange the formula:
- Solving for a specific source (k): $X_k = X_{total} - (X_1 + X_2 + ... + X_{n-1})$
- Solving for total current in a branch: $I_{branch} = \sum (V_i / R_{th,i})$ where $R_{th,i}$ is the Thevenin resistance seen by source $i$.
Unit Mistakes That Break the Math
When calculating by hand or writing a quick Python script to validate a SPICE netlist, two unit errors account for 90% of superposition failures:
- The mA vs A Trap: Adding a 5 mA contribution to a 2 A contribution without converting yields 7 (meaningless). Always normalize to base SI units (Amperes, Volts, Ohms) before summing.
- The Reference Direction Drop: Superposition is an algebraic sum. If Source A pushes 4mA down through a resistor, and Source B pushes 1mA up, the total is $4mA + (-1mA) = 3mA$ down. Forgetting to assign a negative sign to opposing vectors is the most common reason students fail circuit analysis exams.
Worked Example 1: Dual Voltage Source DC Network
Scenario: You are designing a bias network. You have a 12V main supply ($V_1$) and a 6V backup rail ($V_2$). The circuit consists of three 4Ω resistors. $R_1$ is in series with $V_1$, $R_3$ is in series with $V_2$, and $R_2$ is the central load resistor connecting the two branches. Find the total current flowing downward through $R_2$.
Step 1: Analyze with $V_1$ active (12V) and $V_2$ killed (Shorted).
- Shorting $V_2$ places $R_3$ (4Ω) in parallel with $R_2$ (4Ω).
- Parallel equivalent: $R_{2||3} = (4 \times 4) / (4 + 4) = 2\Omega$.
- Total circuit resistance seen by $V_1$: $R_{total} = R_1 + R_{2||3} = 4\Omega + 2\Omega = 6\Omega$.
- Total current from $V_1$: $I_{total} = 12V / 6\Omega = 2A$.
- Current through $R_2$ (using current divider): $I_{R2,1} = 2A \times [R_3 / (R_2 + R_3)] = 2A \times (4 / 8) = 1A \text{ (downward)}$.
Step 2: Analyze with $V_2$ active (6V) and $V_1$ killed (Shorted).
- Shorting $V_1$ places $R_1$ (4Ω) in parallel with $R_2$ (4Ω).
- Parallel equivalent: $R_{1||2} = 2\Omega$.
- Total circuit resistance seen by $V_2$: $R_{total} = R_3 + R_{1||2} = 4\Omega + 2\Omega = 6\Omega$.
- Total current from $V_2$: $I_{total} = 6V / 6\Omega = 1A$.
- Current through $R_2$ (using current divider): $I_{R2,2} = 1A \times [R_1 / (R_2 + R_1)] = 1A \times (4 / 8) = 0.5A \text{ (downward)}$.
Step 3: Superimpose the results.
- Both currents flow in the same reference direction (downward).
- $I_{R2,total} = 1A + 0.5A = 1.5A \text{ (downward)}$.
Worked Example 2: Mixed Voltage and Current Sources
Scenario: An ESP32 GPIO pin (modeled as a 3mA current source, $I_1$) is tied to a node with a 9V pull-up supply ($V_1$) through a 2kΩ resistor ($R_1$). A 1kΩ load resistor ($R_2$) connects this node to ground. Find the total voltage at the ESP32 node ($V_{node}$) relative to ground. (Reference Khan Academy's circuits module for mixed-source topology rules).
Step 1: Analyze with $I_1$ active (3mA) and $V_1$ killed (Shorted).
- Shorting $V_1$ to ground places $R_1$ (2kΩ) in parallel with $R_2$ (1kΩ).
- Parallel equivalent: $R_{eq} = (2k \times 1k) / (2k + 1k) = 0.667k\Omega$ (or 667Ω).
- Voltage generated by $I_1$: $V_{node,1} = I_1 \times R_{eq} = 3mA \times 0.667k\Omega = 2.0V}$.
Step 2: Analyze with $V_1$ active (9V) and $I_1$ killed (Opened).
- Opening $I_1$ removes it from the circuit entirely.
- $R_1$ and $R_2$ now form a simple series voltage divider across $V_1$.
- Voltage across $R_2$ (the node): $V_{node,2} = V_1 \times [R_2 / (R_1 + R_2)] = 9V \times [1k / (2k + 1k)] = 9V \times (1/3) = 3.0V}$.
Step 3: Superimpose the results.
- Both sources push the node voltage positive relative to ground.
- $V_{node,total} = 2.0V + 3.0V = 5.0V}$.
- Bench reality check: 5.0V exceeds the 3.3V absolute maximum rating of an ESP32 GPIO. In the real world, the internal ESD diodes would clamp this, breaking the linearity assumption and invalidating the superposition math. Always verify your theoretical linear answer against component datasheet limits.
Bench Decision Path: Choosing Your Analysis Method
Superposition is powerful, but it is not always the fastest tool. Use this decision matrix to select the correct analysis method for your specific circuit topology, terminating in a concrete action.
| Circuit Condition | Target Metric | Recommended Method | Concrete Bench Action |
|---|---|---|---|
| Linear DC, ≤ 2 independent sources | Voltage / Current | Superposition | Calculate by hand; isolate each source to find its specific noise/offset contribution. |
| Linear DC, ≥ 3 independent sources | Voltage / Current | Nodal Analysis | Write KCL equations; solve via matrix inversion in Python/NumPy. Superposition takes too long. |
| Linear DC or AC (any source count) | Power / Heat | Mesh/Nodal | Find total RMS current/voltage first, then apply $P=I^2R$. Never superimpose power. |
| Contains Diodes, BJTs, or MOSFETs | Operating Point | SPICE Simulation | Import netlist into LTspice. Superposition mathematically fails on non-linear PN junctions. |
| Mixed AC (signal) and DC (bias) | Transistor Amplifier Gain | Superposition (Small Signal) | Calculate DC bias point (caps open). Calculate AC gain (caps short, DC sources killed). Sum for total transient response. |






