Sub topic 11
A first look at phasors
This chapter assumes you can write a sinusoid as Vm sin(ωt + φ) and that you know peak versus RMS values. You also need complex numbers in rectangular form (a + jb) and polar form (r∠θ), plus Euler's formula, which is introduced below. Here, j is the imaginary unit, j² = −1. Electrical engineers use j instead of i because i already means current.
The problem phasors solve
Sinusoidal signals in a linear circuit have a useful property. If the source is a sinusoid at frequency ω, every voltage and current in the steady state is a sinusoid at the same ω. Only two numbers per signal can differ: the amplitude and the phase.
Writing the full time function for every signal wastes effort. You would carry ω and the sine around in every step, and adding two sinusoids with different phases needs trigonometric identities. A phasor keeps only the two numbers that vary, amplitude and phase, and packs them into one complex number. After that, circuit analysis becomes algebra with complex numbers.
From a rotating arrow to a complex number
Euler's formula says:
e^(jθ) = cos θ + j sin θ
A complex number Vm e^(j(ωt+φ)) has magnitude Vm. Its angle grows steadily with time, so it is an arrow of fixed length rotating counterclockwise at ω radians per second. Its imaginary part is the sine we want:
v(t) = Vm sin(ωt + φ) = Im{ Vm e^(jφ) · e^(jωt) }
Split the complex number into two factors:
- Vm e^(jφ) is constant. It holds the amplitude and the phase.
- e^(jωt) is the same rotation for every signal in the circuit, because they all share one ω.
The constant factor is the phasor:
V = Vm e^(jφ) = Vm∠φ
A phasor is a snapshot of the rotating arrow at t = 0. Dropping e^(jωt) is allowed only because every signal has the same ω. The frequency is not lost. You must remember it separately when you convert back to the time domain.
Conversion rules
For the sine-reference convention used in this tutorial:
| Time domain | Phasor (peak) |
|---|---|
| Vm sin(ωt + φ) | Vm∠φ |
| Im sin(ωt + φ) | Im∠φ |
The rectangular form follows from the polar form:
- Real part: Vm cos φ
- Imaginary part: Vm sin φ
To go from rectangular back to polar:
- Magnitude: Vm = √(a² + b²)
- Angle: φ = atan2(b, a)
Use atan2 (or check the quadrant by hand). A plain arctan(b/a) loses the signs of a and b, so it gives the wrong angle whenever a is negative.
Worked example 1: time to phasor
Take i(t) = 5 sin(ωt − 40°) A.
- The magnitude is 5 and the angle is −40°, so I = 5∠−40° A.
- Real part: 5 cos 40° ≈ 3.830.
- Imaginary part: 5 sin(−40°) ≈ −3.214.
- Rectangular form: I ≈ 3.830 − j3.214 A.
Worked example 2: phasor to time
Suppose a calculation gives I = 3 + j4 A at ω = 2000 rad/s.
- Magnitude: √(3² + 4²) = 5.
- Angle: atan2(4, 3) ≈ 53.13°.
- Restore the time dependence: i(t) = 5 sin(2000t + 53.13°) A.
Peak phasors and RMS phasors
Two scaling conventions exist, and both are common.
- Peak phasor: magnitude equals Vm. This is what we have used so far.
- RMS phasor: magnitude equals Vrms = Vm/√2. Power-system work usually uses this convention, because meters read RMS values.
The 170 V, 60 Hz mains waveform has the peak phasor 170∠φ V and the RMS phasor 120.2∠φ V. The phase is identical. Only the length differs, by the factor √2 you derived earlier.
Convert back carefully. An RMS phasor needs a factor of √2 to recover the peak: v(t) = √2 · Vrms · sin(ωt + φ).
The cosine-reference convention
Many textbooks define the phasor with cosine as the reference:
v(t) = Vm cos(ωt + φ) ↔ V = Vm∠φ
The two conventions differ by 90°, because sin(x) = cos(x − 90°). A signal that is 10 sin(ωt + 20°) in the sine convention is 10 cos(ωt − 70°) in the cosine convention, so it has the phasor 10∠20° in one convention and 10∠−70° in the other.
For a signal given as a cosine, convert it to a sine before using this tutorial's rules:
10 cos(ωt + 20°) = 10 sin(ωt + 110°) → V = 10∠110°
This choice of reference has no effect on phase differences, which are the same either way. Mixing the two conventions within one problem is the common error. Pick one and apply it to every source.
Why the algebra works
Three properties of phasors do most of the work.
Linearity. If v₁ ↔ V₁ and v₂ ↔ V₂, then v₁ + v₂ ↔ V₁ + V₂, and k·v₁ ↔ k·V₁ for a real constant k. The next chapter uses this to add sinusoids.
Differentiation becomes multiplication. Differentiate v(t) = Vm sin(ωt + φ):
dv/dt = ωVm cos(ωt + φ) = ωVm sin(ωt + φ + 90°)
The new signal has amplitude ωVm and angle φ + 90°. In phasor form this is jωV, because multiplying by j rotates a complex number by +90° and ω scales its length.
Integration becomes division. Integrating a sinusoid gives the reverse. The phasor of ∫v dt is V/(jω), which rotates by −90° and divides the length by ω.
These two rules turn differential equations for inductors and capacitors into ordinary algebraic equations. Later chapters build on this.
Checking a phasor numerically
This script builds the phasor for v(t) = 170 sin(2π·60·t + 30°), prints its rectangular form and RMS magnitude, and verifies that the imaginary part of the rotating phasor matches the time function.
import cmath
import math
Vm = 170.0
f = 60.0
phi = math.radians(30)
w = 2 * math.pi * f
# Peak phasor Vm at angle phi
V = cmath.rect(Vm, phi)
print(f"rectangular: {V.real:.2f} + j{V.imag:.2f}")
# RMS phasor: same angle, magnitude divided by sqrt(2)
V_rms = V / math.sqrt(2)
print(f"RMS magnitude: {abs(V_rms):.2f} V at {math.degrees(cmath.phase(V_rms)):.1f} degrees")
# Rebuild the time function from the phasor and compare
for t in (0.0, 0.002, 0.005):
from_phasor = (V * cmath.exp(1j * w * t)).imag
direct = Vm * math.sin(w * t + phi)
print(f"t = {t * 1000:4.1f} ms: phasor {from_phasor:8.3f}, direct {direct:8.3f}")The first line prints 147.22 + j85.00. The second prints an RMS magnitude of 120.21 V at 30.0 degrees. The phasor and direct values agree at every time step.
Common errors
- Dropping the frequency. A phasor has no ω in it. When you convert back to the time domain, you must reattach the ω of the source.
- Mixing peak and RMS phasors. See the warning above.
- Adding phasors of different frequencies. The sum of phasors is meaningful only when every signal has the same ω. Two sinusoids at different frequencies do not add into a single sinusoid.
- Using arctan instead of atan2. The angle of −3 + j4 is about 126.9°, not −53.1°.
- Forgetting the sine/cosine reference. Convert every cosine to a sine, or every sine to a cosine, before comparing angles.
- Treating the phasor as a real function of time. The phasor is a complex constant. The real signal is the imaginary part of the phasor times e^(jωt).
Exercise
A voltage is v(t) = 20 sin(ωt − 60°) V. Write its peak phasor and its RMS phasor in polar form.
Show answer
The peak phasor is 20∠−60° V. The RMS phasor has magnitude 20/√2 ≈ 14.14 V at the same angle, so it is 14.14∠−60° V.
Exercise
A current is i(t) = 2 sin(1000t + 10°) A. Find the phasor of di/dt and write di/dt as a time function.
Show answer
The phasor of i is 2∠10° A. Multiplying by jω = j1000 scales the magnitude by 1000 and adds 90° to the angle, giving 2000∠100° A/s. So di/dt = 2000 sin(1000t + 100°) A/s.
Exercise
A source is given as v(t) = 10 cos(ωt + 20°) V. Using the sine-reference convention of this tutorial, what is its peak phasor?
Show answer
Convert to a sine first: 10 cos(ωt + 20°) = 10 sin(ωt + 110°). The phasor is 10∠110° V.