Sub topic 10
Superposition with Sinusoidal Sources
This chapter assumes you know DC superposition, complex impedance (R, jωL, 1/jωC), and phasor notation. A phasor is a complex number that holds the amplitude and phase of a sinusoid at one known frequency.
Why superposition still works
Resistors, inductors, and capacitors are linear elements. Their voltage-current relationships obey homogeneity and additivity, so superposition holds for any mix of sources, including sinusoids. The method is the same as in DC. Turn on one source, replace the other voltage sources with shorts and the other current sources with opens, solve, and add the partial responses.
The new constraint is how you add the partial responses. That depends on the source frequencies.
Choosing how to combine
| Situation | Solve with | Add results as |
|---|---|---|
| All sources share one frequency | A single phasor analysis | Phasors (complex numbers) |
| Sources at different frequencies | One analysis per frequency | Time-domain waveforms |
| DC source plus AC source | DC analysis, then phasor analysis | Time-domain waveforms |
A DC source is a source at ω = 0. In the DC analysis, inductors become shorts and capacitors become opens. In the AC analysis, use the impedances at that source's frequency.
Worked example: DC plus AC
Take a series loop with R = 100 Ω and L = 0.1 H. Two sources sit in the loop: a 6 V DC source and vs(t) = 10 cos(1000t) V. Find the loop current i(t).
- DC source only. The inductor is a short, so I_dc = 6 / 100 = 0.06 A.
- AC source only. The DC source becomes a short. The inductor impedance is jωL = j100 Ω, so Z = 100 + j100 = 141.42∠45° Ω. The phasor current is I = 10∠0° / 141.42∠45° = 0.0707∠−45° A.
- Add in the time domain. i(t) = 0.06 + 0.0707 cos(1000t − 45°) A.
The following script repeats the calculation.
import cmath
import math
R = 100.0 # ohms
L = 0.1 # henries
w = 1000.0 # rad/s
v_dc = 6.0 # volts
v_ac = 10.0 # volts, peak
i_dc = v_dc / R # inductor is a short at DC
z = complex(R, w * L) # R + jwL at 1000 rad/s
i_ac = v_ac / z # phasor current, peak value
mag = abs(i_ac)
ang = math.degrees(cmath.phase(i_ac))
print(i_dc, round(mag, 4), round(ang, 1))
# Average power in R: DC term plus AC term (peak^2 / 2)
p = R * (i_dc**2 + mag**2 / 2)
print(round(p, 3))The output is 0.06 0.0707 -45.0 and then 0.61.
Power is still not additive in general
The power in R above is 0.61 W. It equals the sum of the DC power (0.36 W) and the AC power (0.25 W). This works only because the two components have different frequencies. Their cross term averages to zero over time.
If two sources share the same frequency, their currents combine as phasors first. The cross term then depends on the phase difference, so you must compute power from the total phasor. This is the same rule as in DC: power is quadratic, so find the total voltage or current before computing power.
Common errors
- Adding magnitudes instead of complex phasors, which ignores phase.
- Using one impedance value for sources at different frequencies. Each frequency needs its own jωL and 1/jωC.
- Forgetting that the DC analysis treats inductors as shorts and capacitors as opens.
- Mixing peak and RMS values when computing power. Use peak²/2 or RMS² consistently.
- Writing a final answer as a single phasor when the sources have different frequencies.
Exercise
A circuit has two sources at the same frequency. With only source 1 active, the current in a branch is 3∠0° A. With only source 2 active, it is 4∠90° A. What is the total current? Would your method change if the sources had different frequencies?
Show answer
Add the phasors: 3 + j4 = 5∠53.1° A, so the total is a 5 A amplitude sinusoid leading by 53.1°. If the frequencies differed, you could not add phasors. You would write each current as a time function, 3cos(ω₁t) and 4cos(ω₂t + 90°), and add them in the time domain. The result would not be a single sinusoid.