Complex numbers for engineers
A sine wave in a circuit needs two numbers: how big it is, and how far it's shifted. A capacitor's current is a size and a quarter-cycle lead. Ordinary numbers carry only one.
A complex number carries two. Draw it as an arrow on a flat plane: its real part is how far along, its imaginary part how far up. Engineers write the "up" direction as (mathematicians use , but in electronics is already the current).
Drag the arrow:
Press × j a few times: multiplying by turns the arrow a quarter turn anticlockwise. Twice, and it points the opposite way.
So what is , written ?
Rectangular to polar
The length is Pythagoras, the angle is the arctangent:
(For an arrow pointing left, , add 180° to the arctangent: a calculator's atan2 does this for you.)
What's the size of = 20 + j21 Ω?
Answer in Ω.
And the angle of = 20 + j21 Ω, from the real axis?
Answer in °.
Polar to rectangular
Going back, the real part is the shadow on the real axis, the imaginary part the height:
A voltage is 50 V ∠ 30°. What's its real part?
Answer in V.
A current is 5 A ∠ 30°. What's its imaginary part?
Answer in A.
Adding: use rectangular
Add the real parts and the imaginary parts separately, like moving along then up:
Two impedances in series add. What's the size of (20 + j50) + (20 − j30) Ω?
Answer in Ω.
Multiplying: use polar
Multiply the sizes and add the angles:
(In rectangular it works too, with , but takes longer.)
A current of 0.5 A ∠ 0° flows through an impedance of 100 Ω ∠ 90°. The voltage is . What's its size?
Answer in V.
And its angle: a current of 0.5 A ∠ 0° through 100 Ω ∠ 90°?
Answer in °.
Dividing: polar again
Divide the sizes and subtract the angles:
A 10 V ∠ 0° source drives = 3 + j4 Ω. What's the size of the current, ?
Answer in mA.
And the current's angle: 10 V ∠ 0° across 3 + j4 Ω?
Answer in °.
Complex numbers for circuits:
| Rectangular | Polar | |
|---|---|---|
| convert | , | , |
| add, subtract | easy: part by part | convert first |
| multiply, divide | possible, with | easy: sizes multiply or divide, angles add or subtract |
And is a quarter turn: multiplying by adds 90°, dividing by it takes 90° off.
On a real bench most scientific calculators do complex numbers directly, often with a key that converts between the two forms; check your calculator's manual for "complex" or "polar". Spreadsheets and Python handle them too: in Python,
3+4jis a complex number.