- ω = ±2π/T (rad/s)
- —
- θ = ωt (rad)
- —
- c cos θ
- —
- c sin θ
- —
The carrier as a phasor
Drag the dot on the rim to set θ by hand. The animation pauses while you drag.
Below the disk, the projection is recorded as time runs downward: the newest value is at the top. The trace is the carrier turned on its side.
What to notice
The orange projection moves back and forth along the X-axis, and its record over time is a cosine with period T. Changing c changes the amplitude; changing T changes how quickly the vector turns. Reversing the direction of rotation does not change the cosine at all, because cos(−θ) = cos θ. Turn on the Y projection to see that it is the sine that changes sign. This is why a clockwise rotation needs its own name, a negative frequency, which is the subject of the last tab.
In Python, the letter j written after a number, as in 1j, is the imaginary unit. Python follows the engineering convention described in the footnote to Section 5.1.2, so the code reads almost exactly like the mathematics.
Think of j as an instruction: rotate a vector counterclockwise by 90 degrees about the origin. Apply it and watch where the vector goes.
- z = a + jb
- —
- |z|
- —
- angle with X-axis
- —
History of operations
Equation 5.1
Two quarter turns make a half turn, which points the vector the other way. That is all that j2 = −1 says. Drag the tip of the vector to start from any other point; multiplying by j rotates it in the same way and leaves its length alone.
What to notice
Starting from 1, four presses of the button visit 1, j, −1, −j and return to 1. Multiplying by −1 is a half turn, so it is the same as pressing the button twice. The conjugate is different: it reflects the vector in the real axis instead of rotating it. A vector from the origin to the point (a, b) is the sum of a steps along the real axis and b steps along the rotated axis, which is why it is written a + jb.
Rectangular form a + jb
Phasor form c ejθ
Edit either form, or drag the point in the plane. The other form follows.
Equations 5.3 and 5.4 at this point
Worked examples
Example 5.2 adds two phasors. The plane then shows them tip to tail.
Try these
- Predict where ejπ/2 lies before pressing the Example 5.1 button. Then type θ = 1.5708 into the phasor form and check.
Show answer
cos(π/2) + j sin(π/2) = 0 + j·1 = j, the point (0, 1). In Python,cmath.exp(1j*math.pi/2)prints as6.123233995736766e-17+1j: the real part is not exactly zero because π is stored to about 16 digits. - Convert 3 − j4 to phasor form. Type it into the rectangular form to check.
Show answer
c = √(9 + 16) = 5 and θ = atan(−4/3) = −0.9273 rad (about −53.13°), so 3 − j4 = 5e−j0.9273. Python:abs(3-4j)gives5.0andcmath.phase(3-4j)gives-0.9272952180016122. - Now convert −3 + j4. Why does the formula θ = atan(b/a) in Equation 5.4 give the wrong angle here?
Show answer
atan(4/−3) = −0.9273 rad, which points into the fourth quadrant, but −3 + j4 is in the second quadrant. The ratio b/a is the same for (−3, 4) and (3, −4), so atan cannot tell them apart. The correct angle is −0.9273 + π = 2.2143 rad. Python’scmath.phase(andmath.atan2(b, a)) look at the signs of a and b separately and return the right answer in (−π, π]. - Work out Example 5.2 by hand, then press the button and compare.
Show answer
(cos(π/10) + 2 cos(2π/10)) − j(sin(π/10) + 2 sin(2π/10)) = (0.951 + 1.618) − j(0.309 + 1.176) = 2.569 − j1.485. Both phasors rotate clockwise from the real axis, so the sum lies below it and the imaginary part is negative. - The second hand of a clock turns once a minute, clockwise. What is its angular frequency?
Show answer
One turn is 2π radians in 60 s, so |ω| = 2π/60 = π/30 rad/s. Clockwise rotation is a negative frequency, so ω = −π/30 rad/s (Section 5.1.3).
Equation 5.5
Purple: ½ejωt, frequency +ω, counterclockwise. Pink: ½e−jωt, frequency −ω, clockwise.
Equation 5.6
Dividing by j is a quarter turn clockwise, so the two halves are ½ej(θ−π/2) and ½e−j(θ−π/2). They still turn in opposite directions.
- θ = ωt (rad)
- —
- sum (real)
- —
- Im, purple
- —
- Im, pink
- —
What to notice
Each phasor on its own is complex. Because they turn at the same rate in opposite directions, their imaginary parts are always equal and opposite and cancel, leaving a real signal. So a real sinusoid of frequency ω is made of one phasor at +ω and one at −ω. This is why negative frequencies appear when we take the Fourier transform of real signals later in the chapter.