Study Companion: Programme 1 — Complex Numbers 1
Three things an engineer meets early on don't seem to make sense. The quadratic that describes a car's suspension asks for the square root of -256. Ohm's law for a motor on the mains asks you to divide 230 by 30+j40. And two meters on a small AC circuit read 7.2 V and 9.6 V, although the supply is only 12 V. Programme 1 builds the numbers that make all three make sense. The one idea behind them is a new number j whose square is -1, and which turns out to be a quarter turn. With j, the arithmetic is ordinary algebra plus the rule j^2=-1. In the picture, every complex number is a point in a plane: adding places arrows tip to tail, the conjugate is a mirror image, and every number has a length and an angle. The exponential form writes that turning as a power of e, and once it exists the logarithm of a complex number, even of a negative number, follows.
The rules, procedures and drill are in the companion reference sheet, which follows the book's topic order. This file tells the story in 8 units instead, because the programme's many topics are really 8 ideas.
Notation, as in the book: j is written in front of a number (j8, j0.8), and a complex number a+jb is in Cartesian form. The book also calls this "standard form" and "basic form". The square-root sign means the principal root, so \sqrt{-64}=j8; where both roots are wanted the \pm is written out. The book writes (-1)^{1/2}=\pm\sqrt{-1} to mean both. Polar angles are in degrees and minutes, as the book gives them (53^\circ8'), except in the exponential form, where they must be in radians. Arguments are given in the book's range 0^\circ to 360^\circ, with the principal value (-180^\circ to 180^\circ) alongside.
How to use this companion
Each unit is an argument: a real situation and a question, the attempt a sensible person would make first, the picture that settles it, a check with numbers, and only then the rule. Read it once front to back. The Narration spine at the end of each unit summarises what the video shows.
Unit 01: A Number Whose Square Is Negative
The problem
Push down hard on one corner of a car and let go. The corner rises, overshoots a little and settles. A standard model of that corner is a mass of 250 kg on a spring of stiffness 25\,000 N/m, with a damper of 3000 N·s/m. Its equation of motion leads to a quadratic whose roots s, measured in s^{-1}, decide how the corner moves:
The units check out: \frac{3000}{250}=12 s^{-1} and \frac{25\,000}{250}=100 s^{-2}. What are the roots?
First attempt
Use the quadratic formula from Programme F.3, with a=1, b=12, c=100:
So we need \sqrt{-256}. Is it 16? No: 16^2=+256. Is it -16? No: (-16)^2=+256 as well. The calculator shows an error. The tempting conclusion is "no roots, so the corner does not move", and your hand on the car has just told you otherwise.
The picture
First, see why no number on the number line will do. Every real number squared is 0 or positive: a positive times a positive is positive, a negative times a negative is positive (Programme F.1), and 0^2=0. Complete the square (Programme F.3):
So the graph of y=s^2+12s+100 is a bowl whose lowest point is at s=-6, height 64. It never comes down to the axis:
A quadratic's real roots are where its graph meets the axis, and this bowl stays 64 above it everywhere, so there is no real root. But the picture also shows where the answer has to come from. The roots satisfy (s+6)^2=-64. If there were a number whose square is -64, the roots would be -6 plus or minus that number: one part, -6, where the bowl bottoms out, and another part read off from the height 64=8^2.
So we do what was done when 3-5 had no answer among the counting numbers: name the missing number and see whether the arithmetic stays consistent. Let j be a new number with
Then (j8)^2=j^2\times64=-64, so s+6=\pm j8 and
This is not a proof that j sits somewhere on the number line; the bowl proves it does not. It is a decision to calculate with a new symbol, and the test of that decision is whether the answers it gives are consistent. So test it.
Check it with numbers
Put s=-6+j8 into s^2+12s+100, using j^2=-1 wherever it appears:
The other root, -6-j8, works the same way with the sign of every j term reversed. The quadratic even factorises, which with real numbers alone it could not:
That confirms the roots; the reason they work in general is the completed square, which is algebra true for any numbers.
The rule it gives
The symbol j. j=\sqrt{-1}, so j^2=-1. Numbers on the number line are called real; a real multiple of j, such as j8, is called imaginary. The names are historical accidents. Neither kind is more real than the other: both are symbols we can calculate with, and both describe real things (the bounce of this car, in Unit 08). Mathematicians write i; engineers write j because i already means current.
Square roots of negative numbers. For a>0,
So \sqrt{-64}=j8, \sqrt{-36}=j6 and \sqrt{-7}=j2.646 (3 dp). As the square-root sign means the principal root, \sqrt{-64} is j8. The two numbers whose square is -64 are \pm j8, and the \pm is written when both are wanted. Splitting \sqrt{ab} into \sqrt a\sqrt b is safe when at most one of a, b is negative, as above. With two negatives it fails:
Take the j out of each root first, then multiply.
Quadratic equations. In x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}, a negative b^2-4ac no longer stops us: \sqrt{b^2-4ac}=j\sqrt{4ac-b^2}, and the roots are
With real coefficients the two roots are always a pair of this shape; Unit 04 names it a conjugate pair. p is where the bowl bottoms out. For the car, q=\frac{\sqrt{400-144}}{2}=\frac{16}{2}=8, as found. The simplest case is x^2+1=0: x^2=-1, so x=\pm j. Once j is allowed, every quadratic factorises into two linear factors.
Worked example
Solve 5x^2-6x+5=0. Here b^2-4ac=36-100=-64, so
Check x=0.6+j0.8: x^2=0.36+j0.96-0.64=-0.28+j0.96, so 5x^2=-1.4+j4.8 and -6x=-3.6-j4.8. Then 5x^2-6x+5=(-1.4-3.6+5)+j(4.8-4.8)=0.
Where this shows up
The car's roots are s=-6\pm j8 s^{-1}, and both parts mean something you can feel. The -6 s^{-1} says how fast the bounce dies away. The 8 is an angular frequency in rad/s: the corner swings at \frac{8}{2\pi}=1.27 Hz, one swing every \frac{2\pi}{8}=0.785 s. Unit 08 proves this reading. In one swing the motion shrinks by a factor e^{-6\times0.785}=e^{-4.71}=0.009, under 1 %, so you see one overshoot and then stillness. With a worn damper of 1000 N·s/m the equation becomes s^2+4s+100=0, with roots s=-2\pm j\frac{\sqrt{384}}{2}=-2\pm j9.80. Now a swing takes \frac{2\pi}{9.80}=0.641 s and only shrinks the motion by e^{-2\times0.641}=0.28, so the car keeps bobbing. That is why a car that bounces more than once after a push needs new dampers.
Narration spine. A car's corner bobs once and settles, and its quadratic asks for \sqrt{-256}. Neither 16 nor -16 squares to it, struck out. The bowl y=(s+6)^2+64 is drawn: its lowest point hangs 64 above the axis, so no real root exists, and the height 64 is marked as 8^2. A new symbol j with j^2=-1 appears, (j8)^2=-64 is shown, and the roots -6\pm j8 are written under the bowl, -6 under the lowest point. The root is substituted back and every term cancels to 0.
Unit 02: Powers of j Go Round in Fours
The problem
A 10 μF capacitor sits on a 50 Hz supply. Engineers write its impedance, its opposition to alternating current in ohms (Unit 03 uses it), as
so Z=\frac{1}{j\times0.0031416}=\frac1j\times318.3\ \Omega. Every datasheet then writes this as -j318.3\ \Omega. So \frac1j=-j. Why? And what is a larger power, such as j^{27}?
First attempt
A plausible guess: -1 is its own reciprocal, since \frac1{-1}=-1, and j is a square root of -1, so perhaps j is its own reciprocal too, and \frac1j=j. Test it. If \frac1j=j, then j\times j=1. But j\times j=j^2=-1. The guess is wrong. As for j^{27}, you could multiply j by itself 27 times. That is correct, but slow, and it hides the reason the answer comes out as it does.
The picture
Work out the first few powers using nothing but j^2=-1:
Once j^4=1, everything repeats: j, -1, -j, 1, j, -1, \ldots
Here is a way to see why there are exactly four steps. It is an intuition, not yet a proof: Unit 06 proves it. Multiplying by -1 flips the number line about 0, which is a half turn. j is the number that, applied twice, gives -1. So multiplying by j is half of a half turn, a quarter turn, and a quarter turn has to point off the number line, into a second direction. Put 1, j, -1 and -j at the four quarter turns:
Each multiplication by j moves one step anticlockwise, and four steps bring you back to the start. Dividing by j undoes one step, so it moves one step clockwise. In particular \frac1j is the number that one step forward takes to 1, and that is the number just before 1: -j. The algebra agrees:
Check it with numbers
j^{27}: since 27=4\times6+3, that is six full laps and three more steps, which ends at -j. In symbols, j^{27}=(j^4)^6\,j^3=1\times(-j)=-j.
j^{-6}: six steps back from 1 visits -j, -1, j, 1, -j, -1 and ends at -1. Adding two full laps to the power gives the same answer at once: j^{-6}=j^{-6+8}=j^2=-1.
The rule it gives
The powers of j repeat in a cycle of four, so only the remainder of the power on division by 4 matters. Every power is one of j, -1, -j, 1.
Positive powers: replace every factor j^4 by 1.
Negative powers: from \frac1j=-j,
Replace every factor j^{-4} by 1, or add a multiple of 4 to the power until it lies between 0 and 3.
| power | \ldots | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | \ldots |
|---|---|---|---|---|---|---|---|---|---|---|---|
| value | \ldots | j | -1 | -j | 1 | j | -1 | -j | 1 | j | \ldots |
Worked example
Simplify j^{-15}. In blocks of four: j^{-15}=(j^{-4})^3\,j^{-3}=1\times j=j. By shifting: j^{-15}=j^{-15+16}=j^1=j. Check: j^{15}=(j^4)^3\,j^3=-j, and \frac1{-j}=j because (-j)\times j=-j^2=1.
The book's frame 12 prints j^{-15}=-j. Its working uses j^{-3}=-j, which contradicts its own line j^{-3}=j a few lines earlier; the correct value is j. In the other direction, j^{42}=(j^4)^{10}\,j^2=-1.
Where this shows up
The capacitor's impedance is Z=\frac1{j\omega C}=\frac1j\times\frac1{\omega C}=-j\,\frac1{\omega C}=-j318.3\ \Omega: the \frac1j became -j. An inductor of 0.1 H on the same supply has impedance Z=j\omega L=j\times314.16\times0.1=j31.42\ \Omega. In a circuit calculation the sign of the j is the only thing that tells a capacitor (-j) from an inductor (+j); Unit 06 shows them as quarter turns in opposite directions.
Narration spine. The capacitor's \frac1{j\omega C} needs \frac1j. The guess \frac1j=j is tested by j\times j=-1\ne1 and struck out. The points 1, j, -1, -j appear at quarter turns, and an arrow steps round them, "\times j" once per step, the powers j^1 to j^5 written as it goes, until it lands back on 1. One step backwards lands on -j, so \frac1j=-j. Then j^{27} goes six laps and three steps to -j.
Unit 03: Complex Arithmetic Is Algebra Plus One Rule
The problem
A motor coil has impedance Z_1=4+j3\ \Omega: 4\ \Omega of wire resistance and j3\ \Omega from its inductance (Unit 02). In series with it is a branch of a resistor and a capacitor, Z_2=2-j5\ \Omega. Impedances in series add, like resistors in series, and the voltage across them is given by Ohm's law, V=IZ. In AC work the current is also a mixture of a real and an imaginary part (Unit 06 shows why): here I=2+j A. What is the supply voltage V=I(Z_1+Z_2)?
First attempt
Adding is easy to guess: put the plain numbers together and the j parts together, Z_1+Z_2=(4+2)+j(3-5)=6-j2\ \Omega. For the product, the natural guess pairs like with like, plain number times plain number and j part times j part:
Test the guess on a product we know, j\times j=(0+j1)(0+j1). It gives 0\times0+j(1\times1)=j, but j\times j=-1. The guess is wrong.
The picture
A complex number is a sum, so multiply it as a sum. Draw the product as a rectangle cut into cells, the area model of Programme F.2, with 2+j down the side and 6-j2 along the top. Every term on the side meets every term along the top:
What to notice: two cells are real times real or j times j, and two are mixed. The mixed cells, -j4 and j6, are imaginary. The cell j\times j2 would be imaginary too if j were an ordinary letter, but j^2=-1, the one new rule, turns it into the real number +2, which joins the real pile. The guess dropped both mixed cells and treated j\times j as j.
The rectangle is a bookkeeping picture of the distributive law, which holds for any numbers, signed or complex, so long as every cell is kept. It is the same expansion as (2+x)(6-2x)=12+2x-2x^2 with j written for x; the only step that differs is the last, where x^2 becomes -1.
Addition needs no new rule at all: plain parts and j parts are unlike terms, collected separately just as x terms and y terms are.
Check it with numbers
From the cells: real 12+2=14, imaginary -4+6=2, so V=14+j2 V.
Now a second route. Ohm's law across each part separately gives IZ_1+IZ_2, which must be the same:
The two routes agree, as the distributive law says they must.
The rule it gives
A complex number is a mixture of a real number and an imaginary one:
The real part is \operatorname{Re}(z)=a and the imaginary part is \operatorname{Im}(z)=b. The imaginary part is a real number, b, not jb: \operatorname{Re}(14+j2)=14 and \operatorname{Im}(14+j2)=2. A real number has imaginary part 0; an imaginary number has real part 0.
Addition and subtraction: collect the parts separately.
A minus sign in front of a bracket changes the sign of both parts: (8-j2)-(3-j5)=(8-3)+j(-2+5)=5+j3.
Multiplication: expand all four products, then put j^2=-1:
With three or more factors, multiply in stages, two at a time. Any higher power of j that appears is reduced by Unit 02. The commonest slip is to forget the one rule when squaring: (1+j2)^2=1+j4+j^2\,4=-3+j4, not 5+j4.
Worked example
Express (3+j4)(2-j5)(1-j2) in the form a+jb. In stages:
Where this shows up
The motor circuit: Z=Z_1+Z_2=6-j2\ \Omega and V=IZ=(2+j)(6-j2)=14+j2 V, with amperes times ohms giving volts. Every series AC circuit is handled this way: add the impedances, then multiply by the current. It is the same arithmetic as for resistors, plus the one rule j^2=-1.
Narration spine. A coil and a capacitor branch sit in series, carrying the current 2+j. Their impedances add part by part to 6-j2. The like-with-like product guess gives 12-j2, and the test j\times j breaks it. The area model is drawn, 2 and j down the side, 6 and -j2 along the top, and the four cells fill in. The j\times j cell flips from -j^2\,2 to +2 and slides into the real pile. The piles total 14+j2, and the second route, part by part, lands on the same number.
Unit 04: The Conjugate Makes the Denominator Real
The problem
A small motor on 230 V mains has impedance Z=30+j40\ \Omega. Ohm's law gives the current:
The plug needs a fuse, and UK plug fuses come in 3 A, 5 A and 13 A. Which one? We can now multiply complex numbers, but not divide by one.
First attempt
Divide term by term: \frac{230}{30}+\frac{230}{j40}=7.667+\frac1j\,5.75=7.667-j5.75 A. Or ignore the j40 altogether and say \frac{230}{30}=7.67 A, which would mean a 13 A fuse. Test the method on ordinary numbers first: \frac1{1+1}=0.5, but \frac11+\frac11=2. Dividing by a sum is not dividing by each of its parts, so the method was never valid.
The picture
There is one division we can do: by a real number. Just divide each part, \frac{9+j6}{3}=3+j2. So reframe the problem: change the denominator into a real number without changing the value of the fraction. Multiplying top and bottom by the same nonzero number keeps the value. Which number turns 30+j40 into a real number?
Try 30-j40, the same number with the sign in the middle reversed. Draw the product as an area model with a+jb down the side and a-jb along the top:
The two cross cells, -jab and +jab, are equal and opposite, so they cancel, struck through above. The remaining corner, -j^2b^2, is turned positive by j^2=-1. What is left is a^2+b^2: real, and positive unless a=b=0. It is the difference of two squares from Programme F.2, a^2-(jb)^2, which j^2=-1 turns into a sum of two squares. The picture uses letters, so it holds for every complex number.
Check it with numbers
For the motor, a=30 and b=40:
So multiply top and bottom by 30-j40:
Check by multiplying back: (2.76-j3.68)(30+j40)=82.8+j110.4-j110.4-j^2\,147.2=82.8+147.2=230. That confirms this one division; the picture is the reason it always works.
The rule it gives
Conjugate complex numbers are identical except for the sign in the middle. The conjugate of z=a+jb is written \bar z=a-jb. Only the sign of the imaginary part changes: the conjugate of -5+j3 is -5-j3, not 5-j3, and (5-j3) and (-5+j3) are not conjugates. The roots -6\pm j8 of Unit 01 are a conjugate pair. The product of a number and its conjugate is always real:
Division by a real number: divide each part.
Division by a complex number: multiply the numerator and the denominator by the conjugate of the denominator. That makes the denominator real; then divide each part:
Multiplying only the denominator changes the value of the fraction, and the conjugate of the numerator does nothing useful.
The book adds that the product of two complex numbers that are not conjugates "or multiples of conjugates" is complex. It is usually true, but not always: (1+j)(1+j)=1+j2+j^2=j2 has no real part. The part that does hold is the one used here: to make a+jb real by multiplying, use its conjugate or a real multiple of it, such as (1+j)(2-j2)=2(1+j)(1-j)=4.
Worked example
Express \frac{7-j4}{4+j3} in the form a+jb. The conjugate of the denominator is 4-j3:
Check: (0.64-j1.48)(4+j3)=2.56+j1.92-j5.92-j^2\,4.44=7-j4.
Where this shows up
The motor draws I=2.76-j3.68 A. A clamp meter would read its size, which Unit 07 shows is \sqrt{2.76^2+3.68^2}=\sqrt{7.6176+13.5424}=\sqrt{21.16}=4.6 A. So a 5 A fuse carries it. The term-by-term attempt said 7.67 A, or even \lvert7.667-j5.75\rvert=9.58 A, pointing to a 13 A fuse, which would let almost three times the running current through a fault before it blew.
Narration spine. 230 V over 30+j40\ \Omega, and the question "which fuse?". Dividing term by term is struck out by \frac1{1+1}\ne\frac11+\frac11. Dividing by a real number is shown to be easy, so the target becomes "make the bottom real". The area model for (a+jb)(a-jb) fills in, the two cross cells cancel, and the corner flips to +b^2. With 30 and 40 the bottom becomes 2500 and the current 2.76-j3.68 A drops out. Multiplying back gives 230, and the fuse is 5 A.
Unit 05: One Complex Equation Is Two Real Equations
The problem
A coil has an unknown resistance R and an unknown reactance X, so its impedance is Z_x=R+jX\ \Omega. To measure them, it is placed in an AC bridge, the AC version of the Wheatstone bridge, with three known arms. The bridge balances when Z_xZ_3=Z_2Z_4. With Z_3=20-j10\ \Omega, Z_2=50\ \Omega and Z_4=22+j4\ \Omega, so that Z_2Z_4=50(22+j4)=1100+j200, balance reads
That is one equation with two unknowns. Can it fix both?
First attempt
Expand the left side (Unit 03):
In real algebra, one equation in two unknowns, such as 20R+10X=1100, has endless solutions: R=0,X=110; R=55,X=0; and every point on the line between. If the balance is one equation, the bridge cannot pin down the coil.
The picture
Look at where the two kinds of number live. The real numbers lie along one line. The imaginary numbers, the multiples of j, lie along a second line, a quarter turn from the first (Unit 02). Now move everything in an equation a+jb=c+jd so that the real parts are on one side and the imaginary parts on the other:
The left side is a point on the real line; the right side is a point on the imaginary line:
The two lines meet at one point only, 0. So a real number can equal an imaginary number only if both are 0: a-c=0 and d-b=0.
The picture is an intuition; here is the proof, which needs only Unit 01. Suppose d-b\ne0. Then dividing gives j=\frac{a-c}{d-b}, a real number. But the square of a real number is never negative, and j^2=-1. So d-b=0, which forces a-c=j\times0=0 as well.
Check it with numbers
For the bridge, equate the real parts and the imaginary parts:
Dividing by 10: 2R+X=110 and 2X-R=20. The second gives R=2X-20; substituting, 2(2X-20)+X=110, so 5X=150, giving X=30 and then R=40. Check in the original equation:
The rule it gives
Equal complex numbers. If a, b, c, d are real,
So one complex equation is a pair of simultaneous real equations, solved as in Programme F.5. This assumes the unknowns are real, which a resistance and a reactance are. Keep the sign with the part: a+jb=6-j3 gives a=6 and b=-3, not 3.
The bridge could also have been solved by division (Unit 04):
The two routes agree, as they must, since both use only j^2=-1. Equating parts is the route to use when the unknowns are mixed into both parts and no single division can isolate them, as in the example below.
Worked example
Find the real numbers a and b for which (a+b)+j(a-b)=7+j2. Equate the parts: a+b=7 and a-b=2. Adding, 2a=9; subtracting, 2b=5. So a=4.5 and b=2.5. Check: (4.5+2.5)+j(4.5-2.5)=7+j2.
Where this shows up
The coil has R=40\ \Omega and reactance X=30\ \Omega. An inductor's reactance is X=\omega L (Unit 02), so on a 50 Hz bridge supply its inductance is
One balance of the bridge delivers two measurements, resistance and inductance, because one complex equation is two real ones.
Narration spine. A coil of unknown R and X sits in a balanced bridge, and the balance equation is expanded. As a real equation, one line of solutions sweeps out, an endless family. Then the real line and the imaginary line are drawn crossing at 0, with a-c on one and j(d-b) on the other, and both points slide to the crossing. The single equation splits into two, real parts and imaginary parts, the family collapses to the one point R=40, X=30, and the inductance 95.5 mH is read off.
Unit 06: Complex Numbers Are Points in a Plane
The problem
This is an experiment you can do. Take a 12 V AC adapter (the kind sold for doorbells or garden lights; never use the mains), a 300\ \Omega resistor and a non-polarised 8 μF capacitor, and connect them in series. At 50 Hz the capacitor's reactance is \frac1{2\pi\times50\times8\times10^{-6}}=398\ \Omega, about 400\ \Omega. Set a multimeter to AC and measure. The current is 24 mA. Across the resistor you read about 7.2 V, and across the capacitor about 9.6 V. That is 16.8 V in total, from a 12 V supply. Kirchhoff's voltage law says the voltages round a loop add up to the supply. Is it broken?
First attempt
Add the readings: 7.2+9.6=16.8\ne12. Now try complex numbers. Measure every timing from the current, which is common to both parts in series, so I=0.024 A. Ohm's law with Unit 02's impedances gives
Kirchhoff's law holds for the complex voltages. But the meter on the supply says 12, and 7.2-j9.6 is not 12. What is the connection between the number 7.2-j9.6 and the reading 12?
The picture
Plot the complex number a+jb as the point (a,b) and join it to the origin with an arrow. The horizontal axis is the real axis and the vertical axis the imaginary axis. Both axes carry real numbers, a along and b up. This puts j, the point (0,1), a quarter turn from 1, the point (1,0), where Unit 02 placed it.
Addition is placing arrows tip to tail. Adding c+jd to a+jb adds c to the first coordinate and d to the second (Unit 03). From the tip of the first arrow that means going c across and d up: the second arrow, moved to start where the first ends. Adding in the other order goes round the other two sides of the same parallelogram. So z_1+z_2 is the diagonal from O of the parallelogram with sides z_1 and z_2. The argument used only "add the coordinates", so it holds for any two numbers.
For the circuit, V_R points 7.2 along and V_C points 9.6 down. Their sum is the diagonal to (7.2,-9.6):
The two arrows are at right angles, so the parallelogram is a rectangle and the diagonal's length comes from Pythagoras. An AC meter reads the length of the arrow, the size of the voltage, not its direction. Kirchhoff's law was never broken: the arrows add, and lengths only add when the arrows point the same way.
Multiplying by j is a quarter turn. This is the proof promised in Unit 02. For any z=a+jb,
so multiplying by j sends the point (a,b) to (-b,a). The new arrow has the same length, r=\sqrt{(-b)^2+a^2}=\sqrt{a^2+b^2}. It is also at right angles to the old one. The distance between the two tips, squared, is
so the triangle with corners O, z and jz has two sides r and a third whose square is r^2+r^2. By the converse of Pythagoras (Programme F.9) the angle at O is a right angle. The turn is anticlockwise: j sends 1 to j and j to j^2=-1, both a quarter turn anticlockwise, and z is built from a steps of 1 and b steps of j, so the whole arrow turns with them. So multiplying by j turns every arrow anticlockwise through 90^\circ:
Unit 02's cycle of four is now four quarter turns of the plane. In the same way, multiplying by -1 is a half turn, and multiplying by -j is a quarter turn clockwise. That is why the capacitor's -j400 turned the current's arrow, pointing along the real axis, into a voltage arrow pointing straight down. The conjugate \bar z=a-jb is the point (a,-b), the mirror image of z in the real axis.
Subtraction is adding the reversed arrow. z_1-z_2=z_1+(-z_2), and -z_2 is z_2 turned through a half turn: the same length, pointing the opposite way. Then add by the parallelogram as before. Because z_2+(z_1-z_2)=z_1, the answer is also the arrow from the tip of z_2 to the tip of z_1, moved to start at O. With z_1=5+j2 and z_2=2+j3:
Drawing z_2 as it stands and adding it gives z_1+z_2, not z_1-z_2: reverse it first.
Check it with numbers
On the circuit picture: V_R ends at (7.2,0); tip to tail, V_C carries it 9.6 down to (7.2,-9.6), the number 7.2-j9.6. Its length is
exactly what the supply meter reads. The quarter turn: j(3+j)=j3+j^2=-1+j3, and both 3+j and -1+j3 have length \sqrt{10}. On the circuit, jV_C=j(-j9.6)=-j^2\,9.6=9.6: the downward arrow, turned a quarter anticlockwise, points along the real axis, still with length 9.6. Subtraction: (5+j2)-(2+j3)=3-j, the point (3,-1) in the figure.
The rule it gives
The Argand diagram. z=a+jb is the point (a,b), joined to the origin. The plane is the complex plane, with a real axis and an imaginary axis, and real numbers are plotted on both. For example, -4+j is the point (-4,1) and -j3 is the point (0,-3).
Parallelogram law of addition. z_1+z_2 is the diagonal from O of the parallelogram with adjacent sides z_1 and z_2; equivalently, z_2 is placed tip to tail on the end of z_1.
Subtraction. z_1-z_2=z_1+(-z_2): reverse z_2, then add.
Turns and mirrors. Multiplying by j turns an arrow 90^\circ anticlockwise, by -1 a half turn, by -j 90^\circ clockwise. The conjugate is the mirror image in the real axis.
Worked example
Find (4+j2)+(-2+j3)-(-1+j6) on the Argand diagram. The parallelogram on z_1=4+j2 and z_2=-2+j3 has diagonal z_1+z_2=2+j5. Reverse z_3=-1+j6 to -z_3=1-j6 and add it by a second parallelogram: (2+j5)+(1-j6)=3-j. By the algebra of Unit 03: (4-2+1)+j(2+3-6)=3-j.
Where this shows up
The circuit above is the observable case, and it is worth building. Every AC quantity, whether a voltage, a current or an impedance, is an arrow of this kind, called a phasor by engineers. Circuit laws add the arrows, and the meter reads their lengths. A 300\ \Omega resistor in series with a 400\ \Omega capacitor is not 700\ \Omega; the arrows 300 and -j400 make a diagonal of length \sqrt{300^2+400^2}=500\ \Omega, which is why the current is \frac{12}{500}=0.024 A =24 mA.
Narration spine. Two meter readings, 7.2 V and 9.6 V, sum to more than the 12 V supply, and Kirchhoff's law looks broken. Complex numbers become points: the axes appear, and V_R is drawn along the real axis and V_C downwards. V_C slides tip to tail onto V_R, the diagonal is drawn, and a ruler on it reads 12. A general z is then multiplied by j repeatedly, each time turning a quarter, four turns closing the cycle of Unit 02. Last, z_2 is reversed and added to z_1, and the difference lines up with the arrow from z_2 to z_1.
Unit 07: Polar Form Is Length and Angle
The problem
Look at the rating plate of a three-phase machine, or at a building's supply: in the UK and Europe it reads 230/400 V. There are three live wires, each at 230 V from neutral, and their waves are a third of a cycle, 120^\circ, apart (the phase of Programme F.11). An electrician's meter between two of the live wires reads 400 V. Why 400, and not 460, or 0?
First attempt
The phases are arrows of length 230 at angles 0^\circ, 120^\circ and 240^\circ (Unit 06). The voltage between wires A and B is V_A-V_B. If the arrows were opposite, the lengths would add to 460; if they were the same, they would cancel to 0. Here they are neither, and to subtract we need the Cartesian form of "length 230 at angle 240^\circ", which we cannot yet write down. Going the other way also trips. For wire C, at -115+j199.19, a calculator gives \tan^{-1}\frac{199.19}{-115}=-60^\circ, yet the wire is at 120^\circ. So there are two things to fix: converting in both directions, and finding the right quadrant.
The picture
Drop a perpendicular from the tip of z=a+jb to the real axis. That makes a right-angled triangle whose hypotenuse is the arrow. Call its length r, and its angle from the positive real axis, measured anticlockwise, \theta. By Pythagoras,
Programme F.11 defined cosine and sine for any angle as the coordinates of a point turned through that angle on a circle of radius 1. On a circle of radius r every coordinate is r times larger, so
with the signs of a and b coming out of the cosine and sine automatically, in every quadrant.
Going back from (a,b) to \theta is where care is needed. \tan\theta=\frac ba, but the tangent repeats every 180^\circ (Programme F.11), so two angles between 0^\circ and 360^\circ, pointing in opposite directions, share every tangent. The calculator returns the one between -90^\circ and 90^\circ. The cure is to sketch the point, find the acute angle E in the triangle, and read \theta off the sketch:
The calculator's -60^\circ is the same line through O, but it points into the fourth quadrant, the opposite way. Only the sketch tells the two apart.
Check it with numbers
Wire C, 230 at 120^\circ, into Cartesian form: a=230\cos120^\circ=230\times(-0.5)=-115 and b=230\sin120^\circ=230\times0.8660=199.19. And back again: r=\sqrt{115^2+199.19^2}=\sqrt{13\,225+39\,675.1}=\sqrt{52\,900.1}=230.0, and E=\tan^{-1}\frac{199.19}{115}=\tan^{-1}1.7321=60^\circ. The point is in the second quadrant, so \theta=180^\circ-60^\circ=120^\circ. The round trip returns the starting values.
Now the line voltage. Wire B, at 240^\circ, is 230(\cos240^\circ+j\sin240^\circ)=230(-0.5-j0.8660)=-115-j199.19. Then
The point is in the first quadrant, so \theta=\tan^{-1}\frac{199.19}{345}=\tan^{-1}0.5774=30^\circ. The line voltage is 398.4 V at 30^\circ: that is the "400 V" on the plate. Exactly, it is 230\sqrt3=398.4 V.
All three phases together cancel exactly: V_A+V_B+V_C=(230-115-115)+j(199.19-199.19)=0. That is why, when a building's three phases are evenly loaded, the neutral wire carries almost no current.
The rule it gives
Polar form. The length r is the modulus of z, written \lvert z\rvert or "mod z"; the angle \theta is the argument, "arg z":
The shorthand r\angle\theta is printed in the book as r beside \theta under a bracket mark.
The argument in the correct quadrant. Sketch the point, take E=\tan^{-1}\left\lvert\frac ba\right\rvert, then:
| Quadrant | Signs of a, b | Book: 0^\circ\le\theta<360^\circ | Principal: -180^\circ<\theta\le180^\circ |
|---|---|---|---|
| First | +, + | E | E |
| Second | -, + | 180^\circ-E | 180^\circ-E |
| Third | -, - | 180^\circ+E | -(180^\circ-E) |
| Fourth | +, - | 360^\circ-E | -E |
The book works in 0^\circ to 360^\circ; some of its problems ask for the principal value instead. Both name the same point. On the axes the triangle is flat and the angle is read straight off the sketch: \arg(-j5)=270^\circ (principal -90^\circ). The book's summary writes \theta=\tan^{-1}\frac ba with no quadrant; always add the sketch.
Back to Cartesian form: a=r\cos\theta, b=r\sin\theta. If you work from the acute angle instead, take the signs from the quadrant. The CAST diagram is a reminder: All three ratios are positive in the first quadrant, only Sine in the second, only Tan in the third, only Cos in the fourth.
Length and the conjugate. Unit 04's product is the square of the length:
Beyond this programme: products in polar form. Programme 2 develops this; the proof needs only the compound-angle formulas of Programme F.9:
Multiplying multiplies the lengths and adds the angles. Check: 2\angle30^\circ=1.7321+j and 3\angle60^\circ=1.5+j2.5981, and (1.7321+j)(1.5+j2.5981)=2.5981+j4.5+j1.5+j^2\,2.5981=j6, which is 6\angle90^\circ: lengths 2\times3=6, angles 30^\circ+60^\circ=90^\circ. Two consequences. First, j=1\angle90^\circ, so multiplying by j adds 90^\circ, which is Unit 06's quarter turn again. Second, if I=\frac VZ then V=IZ and \lvert V\rvert=\lvert I\rvert\lvert Z\rvert, so \lvert I\rvert=\frac{\lvert V\rvert}{\lvert Z\rvert}. For Unit 04's motor, \lvert Z\rvert=\sqrt{30^2+40^2}=50\ \Omega and \lvert I\rvert=\frac{230}{50}=4.6 A, the same size as before.
Worked example
Express -3-j4 in polar form, then 5\angle140^\circ in Cartesian form.
Sketch: -3-j4 is in the third quadrant. r=\sqrt{9+16}=5 and E=\tan^{-1}\frac43=53^\circ8', so \theta=180^\circ+53^\circ8'=233^\circ8' (principal -126^\circ52'). So -3-j4=5\angle233^\circ8'.
140^\circ is in the second quadrant, where cosine is negative and sine positive: 5\angle140^\circ=5(-\cos40^\circ+j\sin40^\circ)=5(-0.7660+j0.6428)=-3.830+j3.214.
Where this shows up
The 230/400 V plate is the observable result: the line voltage is the modulus of the difference of two phase arrows, 230\sqrt3=398 V. The same tools describe Unit 06's circuit. There the supply is V=7.2-j9.6 V, of modulus 12 V, in the fourth quadrant with E=\tan^{-1}\frac{9.6}{7.2}=53^\circ8'. So V=12\angle306^\circ52' V, principal 12\angle-53^\circ8' V, measured from the current. In other words, the current reaches its peak 53^\circ8' of a cycle before the supply voltage does: it leads by 53^\circ8'.
Narration spine. A rating plate reads 230/400 V, and the question is why 400. Three arrows of length 230 fan out 120^\circ apart. One arrow is taken alone: its perpendicular drops, and the triangle shows r, a, b and \theta, with a=r\cos\theta and b=r\sin\theta. For wire C the calculator's -60^\circ arrow is drawn pointing the wrong way and struck out; the acute angle E=60^\circ is marked and \theta=120^\circ is read off. Then V_B reverses, adds to V_A, and the diagonal's length counts up to 398 at 30^\circ.
Unit 08: The Exponential Form and the Logarithm It Unlocks
The problem
Back to the car of Unit 01, whose roots were s=-6\pm j8 s^{-1}. The motions of the corner are built from e^{st}, so we need
The factor e^{-6t} is ordinary decay. But what is e^{j8t}? What number is e raised to an imaginary power, and how does it make the corner bounce at 8 rad/s, as Unit 01 claimed?
First attempt
A power means repeated multiplication: e^3=e\times e\times e, and e^{1/2}=\sqrt e is the number that multiplies by itself to give e (Programme F.1's index laws). An imaginary power fits neither reading: you cannot multiply e by itself j8 times, nor split it into j8 equal factors. Repeated multiplication stalls. We need a recipe for e^x that uses only adding and multiplying, because those two we can now do with complex numbers.
The picture
Programme F.7 gave exactly that recipe, the series
Put x=j\theta. The powers of j go round in fours (Unit 02), so the terms are
Each term is the previous one multiplied by j\frac{\theta}{k} for the next whole number k. That is a quarter turn (Unit 06) and a shrink. So draw the terms as arrows placed tip to tail, here for \theta=1: 1 along, j up, -0.5 back, -j0.167 down, +0.042 along, and so on, each turned 90^\circ from the last and shorter:
The spiral closes in on one point, and the series says which. Collect the real terms and the imaginary terms separately:
The two brackets are the series for \cos\theta and \sin\theta. The book quotes them (frame 56); they are derived in the later programme on series, and are taken on trust here. So
By Unit 07 this is the point of length \sqrt{\cos^2\theta+\sin^2\theta}=1 at angle \theta, which is where the spiral lands. The angle is in radians, because the series for \cos and \sin hold only in radians.
About the status of this argument: it is algebra, term by term. The spiral is that algebra drawn, not a separate proof. Splitting one infinite series into two, as above, needs a justification the book does not give. Beyond the book: it is allowed here because the series converges absolutely, meaning the sum of the arrow lengths, 1+1+\frac12+\frac16+\cdots=e, is finite.
Check it with numbers
Add the arrows for \theta=1 one at a time; each row is the tip of the spiral after one more term:
| terms used | partial sum |
|---|---|
| 1 | 1 |
| 1+j | 1+j |
| \ldots-\frac12 | 0.5+j |
| \ldots-\frac j6 | 0.5+j0.8333 |
| \ldots+\frac1{24} | 0.5417+j0.8333 |
| \ldots+\frac{j}{120} | 0.5417+j0.8417 |
| \ldots-\frac1{720} | 0.5403+j0.8417 |
| \ldots-\frac{j}{5040} | 0.5403+j0.8415 |
In radian mode, \cos1=0.5403 and \sin1=0.8415. One radian is 57.30^\circ: the angle of the line drawn to the spiral's end.
The rule it gives
Euler's formula and the exponential form. For \theta in radians,
One complex number now has three forms with the same r and the same angle: Cartesian a+jb, polar r\angle\theta (degrees allowed) and exponential re^{j\theta} (radians only). Writing 5\angle60^\circ as 5e^{j60} is wrong: it is 5e^{j\pi/3}=5e^{j1.0472}.
Negative angles. Replace \theta by -\theta. Cosine is even and sine is odd (Programme F.11), so
the conjugate of e^{j\theta}, its mirror image in the real axis.
Two descriptions agree. Unit 07 found that multiplying multiplies lengths and adds angles. In exponential form that is just the index law, r_1e^{j\theta}\times r_2e^{j\varphi}=r_1r_2\,e^{j(\theta+\varphi)}. The compound-angle proof and the index law say the same thing, which is why the exponential form is the natural way to write a turn.
The logarithm of a complex number. The logarithm undoes e to a power. Write z in exponential form first; with r=e^{\ln r},
Likewise, if z=re^{-j\theta} then \ln z=\ln r-j\theta. The result is again a complex number. Logs are not taken term by term: \ln(a+jb)\ne\ln a+\ln(jb), because the logarithm turns products into sums, not sums into sums. Beyond the book: adding a full turn, 2\pi, to \theta gives the same z, so \ln z=\ln r+j(\theta+2k\pi) for any whole number k. The book's answer is the one for the \theta you chose; with the principal argument it is called the principal value.
Complex exponents. Split the exponent: e^{x+jy}=e^x e^{jy}=e^x(\cos y+j\sin y), with y in radians.
Worked example
(a) 5\angle60^\circ: 60^\circ=\frac\pi3=1.0472 rad, so 5\angle60^\circ=5e^{j\pi/3}, and \ln\left(5e^{j\pi/3}\right)=\ln5+j\frac\pi3=1.6094+j1.0472.
(b) \ln(-2). A calculator in real mode refuses. But -2 has length 2 and angle \pi, so -2=2e^{j\pi} and
Check: e^{0.6931+j\pi}=2(\cos\pi+j\sin\pi)=2(-1+j0)=-2. Negative numbers do have logarithms; they are complex.
(c) e^{1-j\pi/4}=e\left(\cos\frac\pi4-j\sin\frac\pi4\right)=2.7183(0.7071-j0.7071)=1.922-j1.922.
Where this shows up
The car. By Euler's formula
an arrow that turns at 8 rad/s and shrinks as e^{-6t}. The conjugate root gives the mirror-image arrow, turning the other way. The equation of motion is linear, so the sum of two motions is also a motion. Added, the imaginary parts cancel:
a real bounce of angular frequency 8 rad/s, that is 1.27 Hz with a period of 0.785 s, dying away as e^{-6t}. This is the reading promised in Unit 01, and you can see it whenever a car settles after a bump: the real part -6 sets how fast it settles, and the imaginary part 8 sets how fast it swings.
Narration spine. The car's e^{(-6+j8)t} needs e^{j8t}, and "repeated multiplication" is struck out. The series for e^x is written, j\theta is put in, and the powers of j cycle through the terms. The terms are laid tip to tail as arrows, each a quarter turn and a shrink from the last, spiralling in onto a point of the circle of radius 1 at angle 1 rad. The partial sums tick towards 0.5403+j0.8415. The real and imaginary piles are labelled \cos\theta and \sin\theta. Then \theta runs with time, the arrow turns while e^{-6t} shrinks it, its mirror image turns the other way, and their sum traces the car's dying bounce.