Sub topic 8
Where Superposition Fails: Power and Nonlinear Elements
This chapter assumes you can apply superposition to a resistive circuit with independent sources. That means turning sources off one at a time (shorts for voltage sources, opens for current sources) and summing the partial results. It also assumes you know Ohm's law, KCL, KVL, and the power formulas P = VI, P = I²R and P = V²/R.
Superposition is one of the few shortcuts in circuit analysis that is easy to misuse. It is exact for voltages and currents in linear circuits. It does not carry over to power, and it does not carry over to circuits containing nonlinear elements. This chapter explains why each failure happens, how to work around it where a workaround exists, and how to spot the problem before you get a wrong number.
The property that makes superposition work
Superposition rests on two properties of a linear element or circuit.
- Homogeneity: scaling the input by a factor k scales the output by k. If the input doubles, the output doubles.
- Additivity: the response to two inputs applied together equals the sum of the responses to each applied alone.
A resistor obeys v = Ri, so both properties hold. KCL and KVL are sums of voltages or currents with fixed coefficients, so they are linear as well. A network built only from linear elements and independent sources therefore produces node voltages and branch currents that are linear in the source values. Any such voltage or current can be written as
y = a₁·s₁ + a₂·s₂ + … + aₙ·sₙ
where each sⱼ is a source value and each aⱼ depends only on the resistor values and the topology. Superposition simply evaluates one term of this sum at a time.
Both failures in this chapter come from the same observation. Power is not a linear function of the sources, and a nonlinear element does not give the circuit equations the form above.
Failure 1: power is quadratic
Power in a resistor is P = V²/R or P = I²R. Both are quadratic in the source values, so the power from two sources together is not the sum of the powers from each source alone.
Take the circuit from the worked example. A 12 V source V1 and a 4 Ω resistor R1 feed node A. A 6 Ω resistor R2 connects node A to ground. A 2 A current source I1 injects current into node A. With only V1 active, the voltage at A is 7.2 V. With only I1 active, it is 4.8 V. Together, the voltage at A is 12 V.
Suppose V is the voltage across R2, with V = V′ + V″ where V′ = 7.2 V and V″ = 4.8 V. Then
P = (V′ + V″)² / R = V′²/R + V″²/R + 2V′V″/R
The first two terms are the "partial powers". The last term is a cross term. It is the interaction between the two sources, and the single-source analyses never compute it.
| Quantity | Value |
|---|---|
| Power in R2 from V1 alone | 7.2² / 6 = 8.64 W |
| Power in R2 from I1 alone | 4.8² / 6 = 3.84 W |
| Sum of partial powers | 12.48 W |
| Cross term 2·7.2·4.8 / 6 | 11.52 W |
| Actual power (12² / 6) | 24 W |
The sum of partial powers is off by almost a factor of two.
An even worse case: R1
In R1 the situation is more dramatic. The voltage across R1 is 12 − 12 = 0 V, so the actual power is 0 W. The partial currents are not zero, though. With only V1 active, R1 carries 1.2 A toward node A. With only I1 active, R1 carries 1.2 A away from node A, because the voltage at A is 4.8 V and the V1 side is shorted to ground. The currents cancel, giving 0 A. Adding the partial powers gives 1.2² × 4 + 1.2² × 4 = 11.52 W for a resistor that dissipates nothing.
Partial powers are always positive, so they can never cancel. Partial currents can cancel, and that cancellation is exactly what the cross term accounts for.
V1, I1 = 12.0, 2.0
R1, R2 = 4.0, 6.0
# Partial responses with one source active at a time
va_v1 = V1 * R2 / (R1 + R2) # I1 open: voltage divider
va_i1 = I1 * (R1 * R2) / (R1 + R2) # V1 shorted: R1 parallel R2
# Current in R1, positive from the V1 side toward node A
i_r1_v1 = (V1 - va_v1) / R1 # +1.2 A
i_r1_i1 = (0.0 - va_i1) / R1 # -1.2 A (V1 side is at 0 V)
# Wrong: add partial powers
p_r2_wrong = va_v1**2 / R2 + va_i1**2 / R2
p_r1_wrong = i_r1_v1**2 * R1 + i_r1_i1**2 * R1
# Right: add voltages and currents first, then compute power
va = va_v1 + va_i1
i_r1 = i_r1_v1 + i_r1_i1
p_r2_right = va**2 / R2
p_r1_right = i_r1**2 * R1
print("R2:", round(p_r2_wrong, 2), "W wrong,", round(p_r2_right, 2), "W right")
print("R1:", round(p_r1_wrong, 2), "W wrong,", round(p_r1_right, 2), "W right")The output is R2: 12.48 W wrong, 24.0 W right and R1: 11.52 W wrong, 0.0 W right.
When partial powers do add
The cross term vanishes when the two partial responses are orthogonal in the averaged sense. A common example is two sinusoids at different frequencies, whose product averages to zero over a long time. Then the average powers do add. This is a property of those specific waveforms, not of superposition, so it cannot be assumed for two DC sources, or for two sinusoids at the same frequency.
Failure 2: nonlinear elements
A nonlinear element has a voltage-current relationship that is not a straight line through the origin. Diodes, transistors, varistors, incandescent filaments, and saturating inductor cores are all examples. For these elements at least one of the two properties fails, and the circuit equations are no longer a sum of independent source terms.
A nonlinear resistor
Consider an element with i = g·v², where g = 0.1 A/V². Connect two voltage sources of 2 V and 3 V in series with the element, so they aid each other and the element sees 5 V.
g = 0.1 # A/V^2, element obeys i = g * v**2
def current(v):
return g * v**2
v_a, v_b = 2.0, 3.0
i_a_only = current(v_a) # 0.4 A
i_b_only = current(v_b) # 0.9 A
i_sum = i_a_only + i_b_only # 1.3 A, the superposition guess
i_true = current(v_a + v_b) # 2.5 A
print(round(i_sum, 2), round(i_true, 2))
print("doubling v multiplies i by", current(2 * v_a) / current(v_a))The output is 1.3 2.5 and doubling v multiplies i by 4.0. Superposition gives 1.3 A, and the true current is 2.5 A. The last line shows that homogeneity fails too: doubling the voltage quadruples the current.
A diode
A diode is a more realistic case, because it is nonlinear in a piecewise way. Model it as ideal: it conducts with zero voltage drop when forward biased, and blocks when reverse biased. Put it in series with a 1 kΩ resistor and two series sources, +5 V and −3 V, arranged so the diode sees a net forward voltage of 2 V.
| Case | Diode state | Current |
|---|---|---|
| Only the 5 V source active | Conducting | 5 mA |
| Only the −3 V source active | Blocking | 0 mA |
| Superposition sum | not valid | 5 mA |
| Both sources active | Conducting | 2 mA |
The error comes from the diode changing state between cases. Each single-source analysis uses a different circuit, because the diode is on in one and off in the other. Switching a source off does not just remove a term, it can change which linear model applies.
What you can still do
Nonlinear circuits are not hopeless, but you need a different strategy.
- Piecewise linear analysis. Pick a state for each nonlinear element (for example, diode on or off), solve the resulting linear circuit, and check that the assumption is consistent. If the diode was assumed on, the current must be positive. If it was assumed off, the voltage must be reverse. Superposition is valid only inside one fixed set of states, with all sources active in the same analysis.
- Small-signal linearization. Solve for the DC operating point with the full nonlinear model. Then replace each nonlinear element by its slope (its incremental resistance) at that point. For small variations around the operating point, the circuit behaves linearly, and you can apply superposition to the small signals. This is how amplifier analysis is done, with the bias (DC) solution and the signal (AC) solution kept separate.
- Numerical solution. Use a simulator to solve the full nonlinear equations iteratively.
Other places the assumption breaks
Several less obvious situations also violate linearity or additivity.
- Dependent sources with nonlinear control. A controlled source such as v = k·i is linear and stays in the circuit during superposition. A source such as v = k·i² is nonlinear, and superposition no longer holds.
- Saturation and clipping. An ideal op-amp circuit is linear. A real one clips at its supply rails. Once an output saturates, scaling the inputs no longer scales the output.
- Temperature-dependent resistance. If a resistor heats up as it dissipates power, its value depends on the sources, which makes the circuit nonlinear. Strictly, the "linear resistor" is a model that holds only when self-heating is small.
- Stored energy. Capacitor voltages and inductor currents at time zero act as extra sources. A superposition over the circuit's inputs must include them, as separate terms, or the result is wrong.
- Switching. A circuit with a switch that changes state because of a circuit variable, such as a comparator or a diode, is nonlinear for the same reason as the diode example.
A practical checklist
Before applying superposition, run through these steps.
- List every element and ask whether v and i are related by a straight line through the origin. If any element fails, stop and choose another method.
- Confirm that dependent sources, if any, are linear in their controlling variable.
- Decide whether the wanted quantity is a voltage or current. If it is power, plan to superpose the voltage or current and compute power once at the end.
- After finding the answer, do a quick sanity check, such as KCL at a node or total power delivered by sources against total power absorbed. The power balance needs the total values, not the partial ones.
Exercise
In the 12 V / 2 A circuit above, V1 and I1 each produce a partial voltage across R2 (7.2 V and 4.8 V). A student computes the power in R2 for each case and adds them to get 12.48 W. What is the correct power, and what does the missing 11.52 W represent?
Show answer
The correct power is 24 W, found from the total voltage 7.2 + 4.8 = 12 V and P = 12² / 6. The missing 11.52 W is the cross term 2·V′·V″ / R = 2·7.2·4.8 / 6, which describes how the two sources interact and which the single-source analyses never compute.
Exercise
A nonlinear element obeys i = 0.1·v² (i in amperes, v in volts). A 1 V source and a 4 V source are connected in series, aiding each other, across it. What current does superposition predict, and what is the true current?
Show answer
Superposition predicts 0.1·1² + 0.1·4² = 0.1 + 1.6 = 1.7 A. The true current is 0.1·(1 + 4)² = 2.5 A. They differ because i is quadratic in v, so additivity fails.
Exercise
An ideal diode is in series with a 1 kΩ resistor and two series sources, +8 V and −2 V, so that the diode is forward biased overall. Superposition gives a current of 8 mA. What is the true current, and why does superposition fail here?
Show answer
With both sources active, the net voltage is 6 V and the diode conducts, so the current is 6 mA. Superposition fails because with only the −2 V source active the diode would be reverse biased and block. The diode state differs between the single-source cases, so the two circuits are not the same linear circuit.