Sub topic 6
When phasor analysis applies
This chapter assumes you can write a sinusoid as a cosine with amplitude, frequency and phase, and that you know the phasor transform from the previous chapters. It also assumes you know the voltage-current laws of R, L and C. Here you learn when the transform gives correct answers, and what to do when it doesn't.
What the phasor transform assumes
A phasor represents one sinusoid at one known frequency. It stores the amplitude and phase, and the frequency ω is implied. Replacing derivatives with multiplication by jω works because the derivative of a complex exponential e^(jωt) is just jω times itself. That trick only holds under certain conditions.
| Condition | Meaning | What breaks if it fails |
|---|---|---|
| Linear | Element laws are linear, so outputs scale and add with inputs | New frequencies appear (harmonics), so one phasor no longer describes a signal |
| Time-invariant | R, L, C values do not change with time | Frequency mixing, as in modulators and switched circuits |
| Sinusoidal steady state | Every source is a sinusoid and switching transients have died out | The response contains extra decaying terms the phasor does not include |
| Single frequency (per analysis) | All sources share one ω | Phasors of different ω cannot be added or compared |
| Lumped elements | Circuit is small compared with the signal wavelength | Voltage and current vary along a wire, so KVL and KCL fail |
Linearity and time invariance
A linear time-invariant (LTI) circuit, fed a sinusoid at ω, produces a sinusoid at the same ω everywhere. Only amplitude and phase change. That is why a single complex number per signal is enough.
A nonlinear element, such as a diode, a saturating inductor core or a transistor driven into clipping, breaks this. A diode rectifier fed with a sine wave produces a current with a DC part and harmonics at 2ω, 3ω and so on. No single phasor describes that current.
A time-varying element, such as a switch that opens and closes, or a capacitor whose value is modulated, also creates new frequencies. Mixers rely on exactly this.
Small-signal analysis is the usual workaround. You linearize the device around a bias point, which gives a linear circuit for small sinusoidal variations. Phasors then apply to the small-signal model, but only while the signal stays small enough that the linear approximation holds.
Steady state and transients
Phasor analysis gives only the steady-state part of the response. When a source is switched on, the complete solution of a circuit equation is the sum of two parts:
- The forced response, which has the source's frequency and is what the phasor method gives.
- The natural response (the transient), which comes from the circuit's own dynamics and decays with time constants such as τ = L/R or τ = RC.
The phasor method ignores the second part. It is correct once the transient has become negligible, which takes a few time constants (about 5τ brings it below 1%).
Consider a series RL circuit with R = 10 Ω and L = 0.1 H, driven by v(t) = 10 cos(ωt) with f = 60 Hz and switched on at t = 0, with zero initial current. The impedance is Z = R + jωL, so the steady-state current has amplitude Vm/|Z| and phase −θ, where θ = arg Z. The transient must cancel the steady-state current at t = 0, because an inductor current cannot jump. That gives i(t) = (Vm/|Z|)[cos(ωt − θ) − cos θ · e^(−t/τ)].
import math
Vm = 10.0 # source amplitude, volts
R = 10.0 # ohms
L = 0.1 # henries
f = 60.0 # hertz
w = 2 * math.pi * f
Zmag = math.hypot(R, w * L)
theta = math.atan2(w * L, R)
tau = L / R # time constant, seconds
def i_steady(t):
return Vm / Zmag * math.cos(w * t - theta)
def i_transient(t):
return -Vm / Zmag * math.cos(theta) * math.exp(-t / tau)
def i_total(t):
return i_steady(t) + i_transient(t)
print(f"tau = {tau * 1000:.1f} ms, |Z| = {Zmag:.2f} ohm, theta = {math.degrees(theta):.1f} deg")
for t in (0.0, 0.005, 0.02, 0.05, 0.1):
print(f"t={t:6.3f} s total={i_total(t):8.4f} steady={i_steady(t):8.4f} transient={i_transient(t):8.4f}")The output shows total equal to 0 at t = 0, as the inductor requires. By t = 0.05 s (5τ) the transient is about 0.0004 A and total has merged with steady.
How large the transient is depends on the switching instant. If the source is switched on at a moment when the steady-state current would already be zero, the transient vanishes. If it is switched on at the worst moment, the transient is as large as the steady-state amplitude times cos θ, which can nearly double the first current peak.
A circuit that never settles also defeats the method. A circuit with a pole on the imaginary axis, such as an ideal LC tank with no resistance, has a natural response that never decays. A circuit with unstable poles has one that grows. Phasors describe such a circuit only if you accept that the answer ignores the unbounded or persistent natural part.
Several frequencies
Phasors at different frequencies cannot be added into one phasor. A phasor drops the factor e^(jωt), and that factor is the same for all terms only when all terms share ω.
For a linear circuit with sources at different frequencies, use superposition:
- Keep one frequency's sources active and turn the others off (voltage sources shorted, current sources opened).
- Solve with phasors, using the impedances evaluated at that frequency.
- Convert each result back to the time domain.
- Add the time-domain waveforms.
The impedances change with ω, so you must recompute jωL and 1/(jωC) for each frequency.
The following code shows what goes wrong with a wrong shortcut. Two sinusoids at the same frequency add into a sinusoid of peak 5, as the phasor sum predicts. Two sinusoids at different frequencies do not.
import math
N = 100000
def peak(signal):
return max(signal(2 * math.pi * k / N) for k in range(N))
# Same frequency: 3 cos(x) + 4 cos(x + 90 deg), phasor sum 3 + j4, magnitude 5
same = lambda x: 3 * math.cos(x) + 4 * math.cos(x + math.pi / 2)
# Different frequencies: 3 cos(x) + 4 cos(2x), no single phasor exists
mixed = lambda x: 3 * math.cos(x) + 4 * math.cos(2 * x)
print(f"same frequency peak: {peak(same):.3f}")
print(f"different frequency peak: {peak(mixed):.3f}")The first peak is 5.000, matching the phasor sum. The second is 7.000, which would not be predicted by treating 3 and j4 as one phasor. The mixed signal is also not a sinusoid at all, so it has no amplitude and phase to report.
You can still say something about the power: for sinusoids at different frequencies, average powers add, and the rms values combine as the square root of the sum of squares. That rule works because cross terms between different frequencies average to zero over a long enough time.
The lumped-element limit
KVL and KCL assume that voltage and current have the same value along a whole wire and that no energy is stored in the fields between components. This holds when the circuit's largest dimension d is much smaller than the wavelength λ = c/f (in a wire with a velocity factor, c is slightly less than 3 × 10^8 m/s). A common rule of thumb is d < λ/10 and often stricter.
| Frequency | Free-space wavelength | Lumped analysis for a 30 cm board? |
|---|---|---|
| 60 Hz | about 5000 km | Yes, with a huge margin |
| 1 MHz | 300 m | Yes |
| 100 MHz | 3 m | Marginal, depends on accuracy needed |
| 1 GHz | 30 cm | No, use transmission-line models |
Phasors themselves remain useful beyond this limit. Transmission-line and antenna analysis uses phasors for fields and waves along the line. What fails is the lumped circuit model with KVL, KCL and a single impedance per element, not the phasor idea.
Practical checks and common mistakes
- Always state the frequency with the phasor. A phasor without ω does not define a time function.
- Use one reference function. If you convert with cosine as the reference, convert every sine with sin(x) = cos(x − 90°) first.
- Keep peak and rms conventions consistent. A phasor can be scaled to rms by dividing by √2, but mixing the two in one calculation gives wrong powers.
- Treat DC as the ω = 0 case. Then jωL = 0 (inductor is a short) and 1/(jωC) goes to infinity (capacitor is an open circuit).
- Don't use phasors to find an initial current or voltage right after switching. Use the transient solution, or inductor and capacitor continuity conditions.
Exercise
A series RC circuit has R = 1 kΩ and C = 1 µF, so τ = RC = 1 ms. A 1 kHz sinusoidal source is connected at t = 0. After roughly how long can you trust a phasor-based answer to within 1%, and which two features of the source and circuit make the phasor method valid afterwards?
Show answer
The transient decays as e^(−t/τ). It falls below 1% when t ≈ 4.6τ, so about 5 ms (five source cycles). After that, the circuit is linear and time-invariant, and it is driven by one sinusoidal frequency in steady state, so the phasor method gives the response.
Exercise
A linear circuit is driven by v1(t) = 6 cos(1000t) V and v2(t) = 8 cos(3000t) V in series. A student adds the phasors 6∠0° and 8∠0° to get 14∠0° V and uses a single impedance at 1000 rad/s. Explain what is wrong and describe a correct procedure, including the rms value of the combined source.
Show answer
The sources have different frequencies, so their phasors cannot be added, and the impedance depends on ω. Solve the circuit once at 1000 rad/s with only v1 active and once at 3000 rad/s with only v2 active, convert each result to a time function, and add them in the time domain. The rms value of the source is sqrt((6² + 8²)/2) = sqrt(50) ≈ 7.07 V, because the cross term averages to zero.