Sub topic 6
Adding the partial results and tracking signs
This chapter assumes you can apply Ohm's law, KCL and KVL, and that you can reduce series and parallel resistors and use voltage and current dividers. It also assumes you already know how to deactivate sources, replacing a voltage source with a short and a current source with an open. Here we take the partial results you get from those single-source circuits and combine them correctly. Most superposition mistakes happen at this step, not in the circuit solving.
Why the sum is an algebraic sum
Superposition says the total response is the sum of the responses to each independent source acting alone. The word "sum" hides the main difficulty. Each partial response is a signed number. Its sign only means something relative to a reference direction: a voltage polarity or a current arrow. If you pick the reference differently in two partial circuits, adding the numbers is meaningless.
So the procedure is built around one rule:
- Choose the reference polarity or direction for the unknown once, on the original circuit.
- Keep that same reference in every single-source circuit.
- Add the signed values, and report the total against that same reference.
A partial result that comes out negative is not an error. It means that source, acting alone, pushes the quantity opposite to your reference. Often that is exactly what you need, because it lets one source partly or fully cancel another.
The procedure in four steps
- Define the target. Mark the unknown on the original circuit with its reference. For a voltage, label the plus and minus terminals. For a current, draw an arrow on the branch.
- Redraw once per independent source. In each copy, keep one independent source and deactivate the others. Copy the target's reference onto every copy exactly as drawn in step 1.
- Solve each copy. Use dividers or series-parallel reduction. Keep the sign that comes out. Do not take absolute values.
- Add algebraically. Total = partial 1 + partial 2 + … , with each term carrying its own sign.
Where the signs come from
A partial result can be negative for two separate reasons, and it helps to tell them apart.
Source orientation. A source whose own polarity or arrow opposes your reference contributes a negative term. A voltage source wired with its plus terminal toward ground would produce a negative voltage at a node you measured against ground. A current source pointing away from the node you are measuring contributes a negative term.
Current direction in a branch. Even when a source helps the node voltage, its current may flow through a particular resistor in the direction opposite to your arrow. A current divider gives you the magnitude of the branch current. You decide the sign by comparing the actual flow direction with the reference arrow.
A practical habit is to write down the direction of actual flow in each single-source copy before you calculate. Then assign plus or minus by comparing it with the reference. Do this before you compute, so the sign is a decision and not an afterthought.
Worked example with signs
Use the circuit from the previous chapter. A 12 V source V1 is in series with R1 = 4 Ω and feeds node A. R2 = 6 Ω runs from node A to ground. A current source I1 = 2 A injects current into node A. Call the node on V1's plus terminal n1.
Unknowns and references:
- VA is the voltage at node A with respect to ground, positive at A.
- iR1 is the current in R1, positive when it flows from n1 toward A.
- iR2 is the current in R2, positive when it flows from A to ground.
Copy 1: only V1 active
I1 is replaced by an open circuit. V1 drives R1 and R2 in series, so the current is 12 / (4 + 6) = 1.2 A.
- iR1 = +1.2 A, because the current flows from n1 toward A, matching the reference.
- iR2 = +1.2 A, because it flows from A to ground.
- VA = 1.2 × 6 = +7.2 V.
Copy 2: only I1 active
V1 is replaced by a short, so n1 sits at ground. R1 and R2 are now both connected between A and ground, in parallel. The 2 A from I1 enters A and splits by the current divider rule:
- The current through R1 is 2 × 6 / (4 + 6) = 1.2 A. It flows from A toward n1, which is the opposite of the reference direction. So iR1 = −1.2 A.
- The current through R2 is 2 × 4 / (4 + 6) = 0.8 A. It flows from A to ground, matching the reference. So iR2 = +0.8 A.
- VA = 2 × (4 ∥ 6) = 2 × 2.4 = +4.8 V.
Adding
| Quantity | V1 alone | I1 alone | Total |
|---|---|---|---|
| VA (V) | +7.2 | +4.8 | +12.0 |
| iR1 (A) | +1.2 | −1.2 | 0 |
| iR2 (A) | +1.2 | +0.8 | +2.0 |
The two sources help each other at node A, so their voltages add. In R1 they oppose, and the two 1.2 A contributions cancel exactly. The branch carries no current at all. This is a good example of why you must not drop signs: if you add 1.2 and 1.2 you get 2.4 A, which is wrong.
You can confirm the result with KVL. VA = 12 V and n1 is also at 12 V, so there is no voltage across R1, which agrees with zero current.
The same calculation in code
This script treats "deactivate" literally. A voltage source set to 0 V is a short, and a current source set to 0 A is an open circuit. It then adds the signed partial results and compares them with a solution that has both sources active.
import math
R1 = 4.0 # ohms, between n1 and node A
R2 = 6.0 # ohms, between node A and ground
def solve(v1, i1):
"""Return (VA, iR1, iR2) for given source values.
References: VA positive at A versus ground,
iR1 positive from n1 to A, iR2 positive from A to ground.
n1 is held at v1 volts by the voltage source.
"""
va = (v1 / R1 + i1) / (1 / R1 + 1 / R2) # nodal equation at A
i_r1 = (v1 - va) / R1
i_r2 = va / R2
return va, i_r1, i_r2
only_v1 = solve(12.0, 0.0) # I1 = 0 A is an open circuit
only_i1 = solve(0.0, 2.0) # V1 = 0 V is a short circuit
both = solve(12.0, 2.0)
summed = tuple(a + b for a, b in zip(only_v1, only_i1))
names = ("VA", "iR1", "iR2")
for name, a, b, s, t in zip(names, only_v1, only_i1, summed, both):
print(f"{name}: {a:+.3f} {b:+.3f} sum {s:+.3f} direct {t:+.3f}")
assert math.isclose(s, t, abs_tol=1e-9)The output lines show iR1 as +1.200 and −1.200, with a sum of 0 that matches the direct solution. The code uses one function with one set of references for all three runs. That is the programming version of the rule "same reference in every copy".
Several sources and several unknowns
With N independent sources you solve N single-source circuits. The total for any one unknown is the sum of N signed terms. You can reuse the work when you need more than one unknown. After each single-source solve, record every quantity you need (node voltages, branch currents) in a table like the one above. Then sum column by column.
When the circuit has two voltage sources and no current source, a common layout is two voltage dividers feeding one node. Source 1's contribution is attenuated by the network seen from source 1 with source 2 shorted. Source 2's contribution is attenuated by the network seen from source 2 with source 1 shorted. The two terms are added with the sign of each source's orientation relative to the reference.
Common errors
- Switching references between copies. Solving copy 2 with the current arrow flipped, then adding without flipping the sign back, produces a wrong total. Draw the reference on every copy.
- Taking magnitudes. Writing "1.2 + 1.2" because both currents are 1.2 A ignores direction. Always ask which way the partial current flows.
- Using the source's printed polarity as the reference. The reference belongs to the unknown, not to a source. A source can contribute positively or negatively depending on how it is wired.
- Deactivating the wrong way. An open circuit in place of a voltage source breaks the loop, and a short in place of a current source creates a path that does not exist. Both change the circuit and give wrong partial values.
- Adding powers. Power is quadratic in voltage or current, so partial powers do not add.
The last point deserves a number. In R2, the partial voltages 7.2 V and 4.8 V give partial powers of 7.2² / 6 = 8.64 W and 4.8² / 6 = 3.84 W. Their sum is 12.48 W. The actual power uses the total voltage: 12² / 6 = 24 W. In R1 the contrast is stronger. Each single-source copy dissipates 1.2² × 4 = 5.76 W, so naive addition gives 11.52 W, while the true dissipation is 0 W.
Checking the total
Superposition gives you no built-in error detection, so always cross-check one quantity with an independent method. Good quick checks:
- Nodal equation. Substitute the total into KCL at a node. Here (VA − 12) / 4 + VA / 6 = 2 holds for VA = 12: 0 + 2 = 2.
- KVL around a loop. Use the summed currents to confirm voltages around a loop add to zero.
- Limiting cases. Set one source to zero in your answer formula. The result should reduce to the single-source value you computed.
- Sign sanity. If both sources push current into a node, the node voltage should be higher than either partial result alone. If your total is smaller than expected, look for a flipped sign.
Summary of rules
| Situation | What to do |
|---|---|
| Choosing references | Set them once on the original circuit and copy them to every partial circuit |
| Partial result is negative | Keep the negative sign, because it shows opposition to the reference |
| Source wired against the reference | Its contribution is negative |
| Branch current flows against the arrow | Report the divider magnitude with a minus sign |
| Need power | Add voltages or currents first, then compute power |
| Need confidence | Verify with nodal analysis or simulation |
Exercise
In the circuit above, reverse the current source so it pulls 2 A out of node A instead of injecting it, and keep V1 = 12 V, R1 = 4 Ω, R2 = 6 Ω. Using the same references (VA positive at A, iR1 positive from n1 to A), find VA and iR1 by superposition and show each partial result with its sign.
Show answer
With V1 alone nothing changes: VA = +7.2 V and iR1 = +1.2 A. With the reversed I1 alone (V1 shorted), the 2 A leaves node A through the parallel combination, so VA = −2 × 2.4 = −4.8 V. The current in R1 now flows from n1 toward A, which matches the reference: iR1 = +1.2 A (2 × 6 / 10 = 1.2). Totals: VA = 7.2 − 4.8 = +2.4 V and iR1 = 1.2 + 1.2 = +2.4 A. Check with KCL at A: 2.4 A in through R1, 2.4/6... VA/R2 = 0.4 A leaves through R2, and 2 A leaves through the source, giving 2.4 A in and 0.4 + 2 = 2.4 A out. The check passes.
Exercise
A single-source copy gives a current of 3 A through a 5 Ω resistor, and another copy gives 2 A through the same resistor in the opposite direction. Taking the first direction as the reference, what is the total current and the power in the resistor? Why can't you add the two partial powers?
Show answer
The total current is +3 − 2 = +1 A in the reference direction. The power is 1² × 5 = 5 W. The partial powers are 3² × 5 = 45 W and 2² × 5 = 20 W, which sum to 65 W. That is wrong because power depends on the square of the total current, (i1 + i2)² = i1² + i2² + 2·i1·i2, and the cross term 2·i1·i2 (here −30 × ... = −60 W) is missing from the sum of partial powers.