← Engineering Mathematics

2 — Complex Numbers 2

Engineering Mathematics · core

Video coming soon The written lesson is ready; its animated video is still being made.

Study Companion: Programme 2 — Complex Numbers 2

Programme 1 gave every complex number two names for one point, Cartesian and polar. This programme is what the polar name is for. Take a coil on the mains: its current is \frac{12}{3+j4}, and the answer is only useful once you can say it is 2.4 A, running 53^\circ8' behind the voltage. Take a phone photo: pinch, twist, and every point on it is multiplied by one complex number. Take the three live wires of a three-phase supply: they are the three cube roots of one number. In polar form, multiplying, dividing, raising to a power and taking a root all become a change of length and a turn. Lengths multiply, turns add; that one pair of sentences, applied again and again, is the programme. It also gives, almost for free, the multiple-angle formulas of trigonometry (\cos3\theta=4\cos^3\theta-3\cos\theta and its relatives) and a way of describing a curve by a condition on distance or on angle.

The rules, procedures and drill are in the companion reference sheet, which follows the book's topic order. This file tells the story in 7 units instead, because the programme's many topics are really 7 ideas.

Notation, as in the book and Programme 1: j is written in front of a number (j8), and the polar form r(\cos\theta+j\sin\theta) is quoted as r\angle\theta (the book prints \theta under a bracket mark). Modulus is the length r, argument is the angle \theta. Angles are in degrees and minutes, as the book gives them (53^\circ8'), except in the exponential form and in the loci, where they are 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; \operatorname{Arg}z is the principal one. The book spells it DeMoivre's theorem, and so do these notes. Trigonometric values are carried to 4 decimal places and rounded once, at the end. Anything marked Beyond the book is enrichment that the programme does not contain.

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: Negative Angles Turn the Other Way

The problem

A coil has a resistance of 3\ \Omega and an inductive part j4\ \Omega, so its impedance is Z=3+j4\ \Omega (Programme 1, Unit 02). It is connected to a 12 V supply, which we take as the reference, so V=12 V. Ohm's law gives the current I=\frac VZ. On an oscilloscope the current wave peaks a little after the voltage wave does. How big is the current, and how much later does it peak, on a 50 Hz supply?

First attempt

Divide with the conjugate (Programme 1, Unit 04):

I=\frac{12}{3+j4}=\frac{12(3-j4)}{(3+j4)(3-j4)}=\frac{12(3-j4)}{25}=1.44-j1.92\text{ A}.

That is correct, and useless for the question. It does not say how big the current is, or when it peaks. The size is the length r=\sqrt{1.44^2+1.92^2}=\sqrt{5.76}=2.4 A. For the timing we need the angle. A calculator gives \tan^{-1}\frac{-1.92}{1.44}=-53.13^\circ, and the quadrant rule of Programme 1 gives the same arrow as 360^\circ-53^\circ8'=306^\circ52'. Which of the two tells an engineer that the current is late? Neither 306^\circ52' ("a long way round") nor the minus sign on the calculator's answer has been given a meaning yet.

The picture

Measure the angle the other way. The positive angle \theta is measured anticlockwise from the positive real axis. An angle can equally be measured clockwise, and is then called negative: the current's arrow is 53^\circ8' clockwise from the axis, so its argument is -53^\circ8'. Compare it with the arrow of the same length at +53^\circ8':

Re Im z̄ = 1.44 + j1.92 I = 1.44 − j1.92 +53°8′ −53°8′ r = 2.4 same length, mirror-image angle: a negative angle is the conjugate I = 2.4(cos 53°8′ − j sin 53°8′) = 2.4(0.6 − j0.8)

What to notice: the two arrows have the same length and the same horizontal part, and their vertical parts are opposite. One is the mirror image of the other in the real axis. In Programme 1 that was exactly the picture of the conjugate. So turning the same length the other way is taking the conjugate: \overline{r\angle\theta}=r\angle{-\theta}. In terms of the cosine and sine of Programme F.11, which are the horizontal and vertical coordinates on a circle, a mirror image keeps the horizontal coordinate and flips the vertical one:

\cos(-\theta)=\cos\theta,\qquad\sin(-\theta)=-\sin\theta.

Check it with numbers

Put \theta=53^\circ8', for which \cos\theta=0.6 and \sin\theta=0.8 (the 3,4,5 triangle, since \tan\theta=\frac43):

2.4\angle{-53^\circ8'}=2.4\left(\cos53^\circ8'-j\sin53^\circ8'\right)=2.4(0.6-j0.8)=1.44-j1.92.

That is the current we started with. Now the timing. A 50 Hz wave repeats every \frac1{50}=20 ms, which is 360^\circ, so 53^\circ8' is \frac{53.13}{360}\times20=2.95 ms. The current is 2.4 A and its peak arrives 2.95 ms after the voltage's: the angle is negative because the current is late.

The rule it gives

The shorthand. Every polar form has the same structure, r(\cos\theta+j\sin\theta), and differs from another only in r and \theta, so it is quoted as

r(\cos\theta+j\sin\theta)=r\angle\theta,\qquad\text{in degrees or radians.}

Polar form from a+jb (the recap from Programme 1). Sketch the point. Then r=\sqrt{a^2+b^2}, the acute angle E=\tan^{-1}\left\lvert\frac ba\right\rvert comes from the right-angled triangle, and the quadrant fixes \theta: E, 180^\circ-E, 180^\circ+E or 360^\circ-E for the first to fourth. The sketch is not optional: -8+j6 has E=36^\circ52' but \theta=143^\circ8'.

Negative angles. With \cos(-\theta)=\cos\theta and \sin(-\theta)=-\sin\theta,

r\angle{-\theta}=r(\cos\theta-j\sin\theta).

A minus sign in the middle of a polar form is therefore a negative angle. This is the convenient way to write a third- or fourth-quadrant angle: 4(\cos250^\circ+j\sin250^\circ)=4\angle250^\circ=4\angle{-110^\circ}=4(\cos110^\circ-j\sin110^\circ), because 250^\circ-360^\circ=-110^\circ.

Back to proper polar form. A form with -j\sin is read as a negative angle, and 360^\circ is added if a positive angle is wanted:

r(\cos\theta-j\sin\theta)=r\angle{-\theta}=r\angle(360^\circ-\theta).

The book's symbol. The book does not write the minus sign inside the angle. For a negative angle it prints \theta under an overbar, where the positive angle has an underbar: the positive symbol resembles the first quadrant, so it measures anticlockwise, and the negative one resembles the fourth quadrant, so it measures clockwise. Wherever the book prints the overbar symbol with \theta, read \angle{-\theta}.

Worked example

Express 12-j5 in polar form, and then 3(\cos60^\circ-j\sin60^\circ) in proper polar form and in Cartesian form.

The point 12-j5 is in the fourth quadrant. r=\sqrt{144+25}=13, E=\tan^{-1}\frac5{12}=22^\circ37', so \theta=360^\circ-22^\circ37'=337^\circ23', which is also -22^\circ37'. So 12-j5=13\angle337^\circ23'=13\angle{-22^\circ37'}.

The minus sign in the middle means a negative angle: 3(\cos60^\circ-j\sin60^\circ)=3\angle{-60^\circ}=3\angle300^\circ. In Cartesian form, 3(0.5-j0.8660)=1.5-j2.598.

Where this shows up

The current 2.4\angle{-53^\circ8'} A is the whole story of an inductive load: a negative angle means the current lags the voltage by that angle, and 2.95 ms is how far behind the peak arrives on the scope. The coil's own impedance has the opposite sign: Z=3+j4=5\angle53^\circ8'\ \Omega. A capacitor, with Z=-j318.3\ \Omega (Programme 1, Unit 02), has the angle -90^\circ in its impedance and makes the current lead. The sign of the angle is how a power engineer reads lag from lead; Unit 02 shows why the coil's +53^\circ8' in Z produces the current's -53^\circ8'.

Narration spine. A coil on a 12 V supply has I=\frac{12}{3+j4}, and the conjugate route gives 1.44-j1.92 A. The arrow is drawn, its length counted out as 2.4, and the question "late by how much?" is asked of the angle. A mirror arrow appears above the axis, the pair are marked as one length turned either way, and the angle on the lower one is labelled -53^\circ8'. The cosine and sine are read off the 3,4,5 triangle, 2.4(0.6-j0.8) is shown to give back 1.44-j1.92, and the angle is converted into 2.95 ms on a 20 ms cycle.


Unit 02: Multiplying Multiplies Lengths and Adds Turns

The problem

Pinch a photo on a phone with two fingers, spread them to make it 1.5 times bigger, and twist them through 40^\circ anticlockwise. Every point of the photo moves. Measure from the middle of the gesture, with x to the right and y up, in centimetres. A corner of the photo sits at z=3+j2 before the gesture. Where is it after?

First attempt

Programme 1 showed that multiplying by j is a quarter turn, so multiplying by some other number should be a bigger or smaller turn together with a stretch. Take the number w=1.5\angle40^\circ=1.5(0.7660+j0.6428)=1.1491+j0.9642 and multiply the brute-force way:

zw=(3+j2)(1.1491+j0.9642)=(3.4472-1.9284)+j(2.8925+2.2981)=1.519+j5.191.

The answer is a pair of numbers, and it hides its own pattern. Its length is \sqrt{1.519^2+5.191^2}=5.408 and its angle is \tan^{-1}\frac{5.191}{1.519}=73.69^\circ. The corner started at \sqrt{13}=3.606 cm and \tan^{-1}\frac23=33.69^\circ. The length grew by exactly \frac{5.408}{3.606}=1.5 and the angle by exactly 40^\circ, which are the two numbers of w. Could that be a coincidence? One example never settles it, and a product of a+jb forms gives no reason why it should hold.

The picture

The reason is in what multiplying by w does to the two grid steps. Every point z=a+jb means "a steps of 1, then b steps of j". Multiply by w:

zw=(a+jb)w=a\,w+b\,(jw).

So the product is "a steps of w, then b steps of jw": the same instructions on a new grid. The new steps are w and jw. And jw is w turned by a quarter turn (Programme 1, Unit 06: multiplying by j turns by 90^\circ), with the same length. So the old square grid of steps 1 and j becomes a square grid whose steps are w and a quarter turn of w: the old grid stretched by \lvert w\rvert and turned by \arg w.

Re Im z = 3 + j2 zw = 5.41∠73.7° w jw 1 j w = 1.5∠40°: the grid (1, j) becomes (w, jw), a square grid stretched ×1.5 and turned 40° z: 3 steps of 1, 2 of j zw: 3 steps of w, 2 of jw

What to notice: the blue unit square (steps 1 and j) becomes the orange square (steps w and jw), stretched by 1.5 and turned by 40^\circ. The blue arrow z is 3 steps of 1 and 2 steps of j; the orange arrow zw is 3 steps of w and 2 steps of jw, so it is the whole blue picture stretched and turned. Everything in the picture, including the arrow to z, is stretched by \lvert w\rvert and turned by \arg w. That is the phone: multiplying by w stretches by \lvert w\rvert and turns by \arg w.

Check it with numbers

The picture says \lvert zw\rvert=\lvert z\rvert\lvert w\rvert=3.606\times1.5=5.408 and \arg(zw)=33.69^\circ+40^\circ=73.69^\circ. The brute-force product of the first attempt agrees: 5.408\angle73.69^\circ=5.408(0.2808+j0.9598)=1.519+j5.191. The corner lands at 1.52 cm right and 5.19 cm up. This is no coincidence: it is the same fact, seen twice.

Programme 1 left a preview that now checks too: 2\angle30^\circ\times3\angle60^\circ=6\angle90^\circ=j6.

The rule it gives

Multiplication. The picture is a proof for a stretch-and-turn, from the quarter turn of Programme 1. The algebraic proof uses nothing but the compound-angle formulas of Programme F.9. For z_1=r_1(\cos\theta_1+j\sin\theta_1) and z_2=r_2(\cos\theta_2+j\sin\theta_2), expand and use j^2=-1:

z_1z_2=r_1r_2\left[(\cos\theta_1\cos\theta_2-\sin\theta_1\sin\theta_2)+j(\sin\theta_1\cos\theta_2+\cos\theta_1\sin\theta_2)\right].

The two brackets are \cos(\theta_1+\theta_2) and \sin(\theta_1+\theta_2). So

r_1\angle\theta_1\times r_2\angle\theta_2=r_1r_2\angle(\theta_1+\theta_2):

multiply the moduli, add the arguments. An angle sum above 360^\circ is the same number as its reduced form: 6\angle250^\circ\times2\angle140^\circ=12\angle390^\circ=12\angle30^\circ, because a full turn changes nothing. Beyond the book: in the exponential form of Programme 1 the rule is the law of indices, e^{j\alpha}e^{j\beta}=e^{j(\alpha+\beta)}.

Division undoes multiplication. \frac{z_1}{z_2} is the number q that satisfies q\,z_2=z_1. By the rule, \lvert q\rvert\,r_2=r_1 and \arg q+\theta_2=\theta_1, so

\frac{r_1\angle\theta_1}{r_2\angle\theta_2}=\frac{r_1}{r_2}\angle(\theta_1-\theta_2):

divide the moduli, subtract the arguments. A quotient angle below 0^\circ is a negative angle, as in Unit 01. The book reaches the same result by multiplying top and bottom by the conjugate of the denominator, \bar z_2=r_2\angle{-\theta_2} (Unit 01), which makes the denominator r_2^2:

\frac{r_1\angle\theta_1\times r_2\angle{-\theta_2}}{r_2^2}=\frac{r_1r_2}{r_2^2}\angle(\theta_1-\theta_2)=\frac{r_1}{r_2}\angle(\theta_1-\theta_2).

The two routes agree.

Several factors. The rules combine and extend: multiply all the moduli and add all the angles, then divide by the moduli and subtract the angles of the denominator.

Worked example

For z_1=8\angle65^\circ and z_2=4\angle23^\circ: z_1z_2=32\angle88^\circ and \frac{z_1}{z_2}=2\angle42^\circ. Combined, \frac{5\angle60^\circ\times4\angle30^\circ}{2\angle50^\circ}=\frac{20\angle90^\circ}{2\angle50^\circ}=10\angle40^\circ. And 4\angle20^\circ\times3\angle30^\circ\times2\angle40^\circ=24\angle90^\circ=j24.

Where this shows up

Unit 01's coil settles the question it left open. Its voltage is 12\angle0^\circ V and its impedance Z=3+j4=5\angle53^\circ8'\ \Omega, so I=\frac VZ=\frac{12\angle0^\circ}{5\angle53^\circ8'}=2.4\angle{-53^\circ8'} A: the lengths divide, and the turn is subtracted, which is why the coil's +53^\circ8' in Z becomes the current's -53^\circ8'. Multiplying back, 5\angle53^\circ8'\times2.4\angle{-53^\circ8'}=12\angle0^\circ: the turns cancel, the voltage is back. Going the other way, a motor on 230\angle0^\circ V draws 5\angle{-36^\circ52'} A, lagging, so Z=\frac VI=\frac{230}5\angle36^\circ52'=46\angle36^\circ52'=46(0.8+j0.6)=36.8+j27.6\ \Omega. And I=5\angle20^\circ A through Z=4\angle35^\circ\ \Omega gives V=IZ=20\angle55^\circ V. The photo is the observable version: any two-finger gesture is one complex multiplication, applied to every point at once.

Narration spine. A photo with a corner at 3+j2 is pinched to 1.5 times and twisted 40^\circ. The brute-force product gives 1.52+j5.19, and its length and angle are counted off: \times1.5 and +40^\circ again. The unit square is drawn with its steps 1 and j; multiplying by w turns it into a stretched, tilted square with steps w and jw; the arrow z is built as 3 steps and 2 steps in the old grid, and the arrow zw as 3 and 2 in the new one. Then the coil's 5\angle53^\circ8' and 12\angle0^\circ are divided and the turn subtracts to -53^\circ8'.


Unit 03: Raising to a Power Repeats the Turn

The problem

A signal passes through a chain of identical filter stages. Each stage is built so that it multiplies the signal's phasor (its size and its lag, Unit 01) by z=0.8\angle{-20^\circ}: the signal comes out at 0.8 of its size and 20^\circ behind. A 1 V signal goes into a chain of 9 stages. What comes out? And if the chain were 4 stages? What single stage, used twice, would do the same job as one stage with z=0.64\angle{-40^\circ}? And what would undo two stages?

First attempt

Use Unit 02. After one stage the phasor is 0.8\angle{-20^\circ}. After two it is 0.8\angle{-20^\circ}\times0.8\angle{-20^\circ}=0.64\angle{-40^\circ}; after three, 0.64\angle{-40^\circ}\times0.8\angle{-20^\circ}=0.512\angle{-60^\circ}; after four, 0.4096\angle{-80^\circ}. The pattern appears as you go: each stage multiplies the length by 0.8 and adds another -20^\circ. It answers the chain of 4. It is slow for 9, and it has nothing to say about "a stage used twice" or about undoing, because it only multiplies forwards.

The picture

Plot the outputs. Each stage takes the arrow and shrinks it by 0.8 and turns it 20^\circ clockwise (Unit 02). So the points 1,z,z^2,z^3,\dots spiral inwards:

Re Im 1 z z² z³ z⁴ z⁹ z = 0.8∠−20° each ×z: shrink ×0.8, turn 20° clockwise z⁴ = 0.4096∠−80° z⁹ = 0.1342∠−180° = −0.1342

What to notice: n stages is n times the same shrink and the same turn, so the length is 0.8^n and the angle is -20^\circ\times n. After 4 stages: 0.8^4=0.4096 at -80^\circ, matching the pattern above. After 9: 0.8^9=0.1342 at -180^\circ, which is the point -0.1342 on the negative real axis: the signal comes out upside down, at 13.4 % of its size.

Check it with numbers

Three ways to reach z^4: stage by stage, as above; as z^2\times z^2=0.64\angle{-40^\circ}\times0.64\angle{-40^\circ}=0.4096\angle{-80^\circ}; or at once, 0.8^4\angle(4\times(-20^\circ)). All three agree. For 9 stages: 9\times(-20^\circ)=-180^\circ and 0.8^9=0.134217728, so z^9=0.1342\angle{-180^\circ}=-0.1342.

The rule it gives

DeMoivre's theorem. n equal factors in the multiplication rule of Unit 02 give, for a whole number n,

\left[r(\cos\theta+j\sin\theta)\right]^n=r^n(\cos n\theta+j\sin n\theta),\qquad(r\angle\theta)^n=r^n\angle n\theta:

raise the modulus to the power n and multiply the angle by n. For n=2 the multiplication rule gives it directly, r\angle\theta\times r\angle\theta=r^2\angle2\theta. If it holds for n, then z^{n+1}=z^n\times z=r^n\angle n\theta\times r\angle\theta=r^{n+1}\angle(n+1)\theta, so it holds for n+1, and for every positive whole number. Beyond the book: (e^{j\theta})^n=e^{jn\theta}.

Negative powers. A negative power is a reciprocal, and division is Unit 02's rule:

z^{-n}=\frac1{z^n}=\frac{1\angle0^\circ}{r^n\angle n\theta}=r^{-n}\angle{-n\theta},

so the rule holds for -n as well, and for z^0=1. (The -2 of a chain undone, \left(0.8\angle{-20^\circ}\right)^{-2}=0.8^{-2}\angle40^\circ=1.5625\angle40^\circ: it gains \frac1{0.64} and turns 40^\circ forward.)

Roots and fractional powers. The book states that the rule "works every time, whole number or fraction". Here is the reason. A root z^{1/n} is a number w whose nth power is z=r\angle\theta. Try w=r^{1/n}\angle\frac\theta n. By the whole-number rule,

w^n=\left(r^{1/n}\right)^n\angle\left(n\times\frac\theta n\right)=r\angle\theta=z,

so w is an nth root, and z^{1/n}=r^{1/n}\angle\frac\theta n is DeMoivre's formula with n replaced by \frac1n. Unit 04 will show that it is only one of the n roots. For a general fraction, z^{m/n} means one nth root raised to the power m.

Worked example

Find \left(1+j\sqrt3\right)^5. The modulus is \sqrt{1+3}=2 and the argument is \tan^{-1}\sqrt3=60^\circ (first quadrant), so 1+j\sqrt3=2\angle60^\circ and

\left(2\angle60^\circ\right)^5=2^5\angle300^\circ=32(\cos300^\circ+j\sin300^\circ)=32(0.5-j0.8660)=16-j27.71.

Check by squaring twice: \left(1+j\sqrt3\right)^2=1-3+j2\sqrt3=-2+j3.4641 and its square is 4-12-j13.8564=-8-j13.856; times 1+j\sqrt3 gives (-8+13.856\times1.7321)+j(-13.856-8\times1.7321)=16-j27.71. A negative power: \left(1+j\sqrt3\right)^{-2}=2^{-2}\angle{-120^\circ}=0.25(-0.5-j0.8660)=-0.125-j0.2165, and directly \frac1{-2+j3.4641}=\frac{-2-j3.4641}{16}=-0.125-j0.2165.

Where this shows up

The chain of stages is the observable case: 4 stages give 0.4096\angle{-80^\circ} V, so a 1 V input comes out at 0.41 V and 80^\circ late; 9 stages give -0.1342 V, the input inverted. An ideal pair of stages z^2=0.64\angle{-40^\circ} is a copy of 0.8\angle{-20^\circ} run twice: the square root, taken from the rule, is 0.64^{1/2}\angle\frac{-40^\circ}2=0.8\angle{-20^\circ}. Real amplifier and filter chains are described just this way, because the response of a chain is the response of one stage raised to a power; the angle of z^n adds up linearly while the length shrinks geometrically.

Narration spine. One stage multiplies a phasor by 0.8\angle{-20^\circ}. The outputs are computed one at a time: 0.64\angle{-40^\circ}, then 0.512\angle{-60^\circ}, then 0.4096\angle{-80^\circ}, and the pattern is read out loud. The points are plotted and joined, and an arrow spirals inward, one step at a time: each step shrinks and turns, and the arrow keeps going until the ninth lands on the negative real axis. The pattern is named. Then the fraction: a stage used twice is the square of one stage, so the angle halves and the length takes a square root.


Unit 04: Roots Are Equally Spaced Around a Circle

The problem

Look at a clock face and mark 12, 4 and 8: three marks, a third of the way round from one to the next. The three live wires of a 230 V three-phase supply sit in the same places on the Argand diagram, at 230\angle0^\circ, 230\angle120^\circ and 230\angle240^\circ (Programme 1, Unit 07). Cube each one. Why do all three give the same number? And how many numbers x satisfy x^3=230^3=12\,167\,000? A calculator knows only one, 230.

First attempt

Cube the first wire's voltage: \left(230\angle0^\circ\right)^3=230^3\angle0^\circ=12\,167\,000, as expected. Now cube the second, with DeMoivre (Unit 03):

\left(230\angle120^\circ\right)^3=230^3\angle360^\circ=230^3\angle0^\circ=12\,167\,000.

The same number. Is that an accident? Try a harder case: the fifth roots of z=12\angle300^\circ. DeMoivre gives a first root 12^{1/5}\angle\frac{300^\circ}5=1.644\angle60^\circ. But z is also 12\angle660^\circ, since 660^\circ-360^\circ=300^\circ is the same direction, and DeMoivre applied to that gives 12^{1/5}\angle\frac{660^\circ}5=1.644\angle132^\circ. Two different answers from one number, and no way yet to say which is "the" root.

The picture

The point r\angle\theta and the point r\angle(\theta+360^\circ k) are the same point, for any whole number k: a full turn changes nothing. So the direction \theta of z is only fixed up to whole turns, and each choice of k is another valid use of DeMoivre. Equally, if w is a root, turning w by an extra \frac{360^\circ}n gives another root, because turning by \frac{360^\circ}n turns the nth power by n\times\frac{360^\circ}n=360^\circ, a whole turn, which does nothing. The three wires are that picture:

Re Im 230∠0° 230∠120° 230∠240° 120° (230∠0°)³ = 230³∠0° (230∠120°)³ = 230³∠360° (230∠240°)³ = 230³∠720° all equal 230³ = 12 167 000

What to notice: each wire is the one before it turned by \frac{360^\circ}3=120^\circ, and after three such turns, 3\times120^\circ=360^\circ, you are back where you began. The cubes of all three arrows land on the same point, 230^3, because each one has gone round a whole number of times: 0, 1 and 2 turns. A fourth turn would bring back the first wire, and nothing new.

Check it with numbers

Apply the argument to the fifth roots of 12\angle300^\circ. The modulus of every root is 12^{1/5}=1.644. The angles are \frac{300^\circ+360^\circ k}5=60^\circ+72^\circ k, for k=0,1,2,3,4:

60^\circ,\quad132^\circ,\quad204^\circ,\quad276^\circ,\quad348^\circ,

and k=5 gives 420^\circ=60^\circ again. The two answers of the first attempt, 60^\circ and 132^\circ, are both on the list, and so are three more. Check one: \left(1.644\angle348^\circ\right)^5=1.644^5\angle1740^\circ=12\angle300^\circ, because 1740^\circ-4\times360^\circ=300^\circ and 1.644^5=12.0 to the places carried.

Re Im z₁ 60° z₂ 132° z₃ 204° z₄ 276° z₅ 348° z = 12∠300°, n = 5 |root| = 12^(1/5) = 1.644 first root: 300°/5 = 60° spacing 360°/5 = 72° principal root: 348° = −12°, nearest the positive real axis = Arg z / 5 = −60°/5

For the three wires, the sum of the three arrows is zero: 230\left[1+\left(-\frac12+j\frac{\sqrt3}2\right)+\left(-\frac12-j\frac{\sqrt3}2\right)\right]=230(1-1)=0. That is why an evenly loaded three-phase supply needs almost no neutral current.

The rule it gives

The n roots. Let z=r\angle\theta. A number w=\rho\angle\varphi is an nth root exactly when w^n=\rho^n\angle n\varphi=r\angle(\theta+360^\circ k) for some whole k. The moduli force \rho=r^{1/n}, and the angles force n\varphi=\theta+360^\circ k:

z^{1/n}=r^{1/n}\angle\frac{\theta+360^\circ k}n,\qquad k=0,1,\dots,n-1,

and k=n repeats k=0. So a non-zero complex number has exactly n different nth roots, of equal modulus, equally spaced round the Argand diagram at intervals of \frac{360^\circ}n: 180^\circ for the two square roots, 120^\circ for three cube roots, 90^\circ for four, 72^\circ for five, 60^\circ for six.

Procedure. Write z=r\angle\theta; find the first root r^{1/n}\angle\frac\theta n by DeMoivre; add \frac{360^\circ}n to the angle for each next root until there are n; check one by raising it to the power n; draw them. Adding 360^\circ instead of \frac{360^\circ}n is the usual slip.

The principal root. The book defines it as the root nearest the positive real axis; if the first and last are equally near, it is the first, the one with the positive angle. It may be the first root or the last. Programme 1's principal argument says the same thing directly: the principal root is the root with argument

\frac{\operatorname{Arg}z}n,\qquad-180^\circ<\operatorname{Arg}z\le180^\circ.

For 12\angle300^\circ the principal argument is -60^\circ, so the principal root is 1.644\angle{-12^\circ}=1.644\angle348^\circ, the fifth root, not the first. The cube roots of -8=8\angle180^\circ are 2\angle60^\circ, 2\angle180^\circ, 2\angle300^\circ; the principal one is 2\angle60^\circ=1+j\sqrt3 (the roots at 60^\circ and -60^\circ tie, and the positive one wins), not the real root -2.

Worked example

Solve z^4=-64, giving the roots in the form a+jb. Here -64=64\angle180^\circ. The modulus of each root is 64^{1/4}=2.828=2\sqrt2, the first angle is \frac{180^\circ}4=45^\circ, and the spacing is \frac{360^\circ}4=90^\circ:

2\sqrt2\angle45^\circ,\quad2\sqrt2\angle135^\circ,\quad2\sqrt2\angle225^\circ,\quad2\sqrt2\angle315^\circ.

Since 2\sqrt2\cos45^\circ=2, these are 2+j2, -2+j2, -2-j2, 2-j2. Check z=2+j2: z^2=4-4+j8=j8 and z^4=-64. The principal root is 2+j2.

Where this shows up

On the clock face, 12, 4 and 8 are the corners of the same equilateral triangle as the three cube roots of 1, and the supply's three wires are that triangle with every arrow 230 long. A three-phase supply is the set of three equally spaced numbers whose cubes agree, and that is why their sum is zero. The observable check is the line voltage of 230\sqrt3=398 V between any two wires, the 400 V of Programme 1, Unit 07.

Narration spine. A clock face gets three marks at 12, 4 and 8; they turn into three arrows of length 230 at 0^\circ, 120^\circ and 240^\circ. The first is cubed and stays at 0^\circ, the second is cubed and its angle 360^\circ is shown wrapping round to 0^\circ, the third wraps twice. Then the fifth roots: the first answer 60^\circ appears, then the second answer 132^\circ from adding a turn to z's angle, and three more fill the circle, each 72^\circ from the last. A sixth would land on the first. The principal root is circled, and its angle is \operatorname{Arg}z/5.


Unit 05: Expanding a Power Gives the Multiple Angle

The problem

A small circuit has the output y=4v^3-3v for an input v in volts. Feed it the 50 Hz wave v=\cos\omega t, with \omega=100\pi rad/s, which has amplitude 1 V. At what frequency does the output oscillate? It looks like a cubic distortion of the input, and it is in fact a perfect frequency tripler. Why? And how would we find an equally tidy cubic, quartic or quintic for \cos4\theta, \cos5\theta, \cos6\theta?

First attempt

Test one number. At \theta=20^\circ, \cos20^\circ=0.9397:

4(0.9397)^3-3(0.9397)=3.3191-2.8191=0.5000=\cos60^\circ=\cos3\theta.

It works, which proves nothing about other angles. A proof for n=3 uses the compound-angle formula of Programme F.9 with 2\theta+\theta:

\cos3\theta=\cos2\theta\cos\theta-\sin2\theta\sin\theta=(2c^2-1)c-2sc\times s=2c^3-c-2c(1-c^2)=4c^3-3c.

(Here c=\cos\theta, s=\sin\theta.) That works, but for \cos4\theta you need \cos3\theta and \sin3\theta first, and for \cos5\theta you need \cos4\theta and \sin4\theta: a ladder, one rung per multiple. We want \cos n\theta in one step.

The picture

DeMoivre (Unit 03) says that \cos n\theta+j\sin n\theta is the point z^n, where z=\cos\theta+j\sin\theta=c+js is the point at angle \theta. So z^n has two names: as a point on the unit circle at angle n\theta it is \cos n\theta+j\sin n\theta; but also, as a power of c+js, it can be expanded by the binomial series of Programme F.7 into real and imaginary parts built from c and s:

Re Im z z³ 0.5 0.866 z = cos 20° + j sin 20° c = 0.9397, s = 0.3420 z³ = cos 60° + j sin 60° also z³ = (c + js)³: real: c³ − 3cs² = 0.8298 − 0.3298 = 0.5 imag: 3c²s − s³ = 0.8660

What to notice: z is at 20^\circ and z^3 at 60^\circ on the same circle. The real part of z^3, the horizontal leg, is \cos60^\circ=0.5 by the polar name, and c^3-3cs^2 by the expansion. They are the same number, so they are equal as expressions: equate the real parts, and the imaginary parts.

Check it with numbers

Expand (c+js)^3=c^3+3c^2(js)+3c(js)^2+(js)^3 and use j^2=-1, j^3=-j:

(c+js)^3=(c^3-3cs^2)+j(3c^2s-s^3).

At \theta=20^\circ, with c=0.9397, s=0.3420, s^2=0.1170, s^3=0.0400: the real part is 0.8298-3(0.9397)(0.1170)=0.8298-0.3298=0.5000=\cos60^\circ, and the imaginary part is 3(0.8830)(0.3420)-0.0400=0.9060-0.0400=0.8660=\sin60^\circ. Both match.

The rule it gives

The method (the book's: "it is really the method that counts"). By DeMoivre, \cos n\theta+j\sin n\theta=(c+js)^n. Expand the right side by the binomial coefficients, use j^2=-1, j^3=-j, j^4=1, j^5=j, equate real parts for \cos n\theta and imaginary parts for \sin n\theta. Then replace s^2 by 1-c^2 (or c^2 by 1-s^2) to leave a single function.

For n=3: \cos3\theta=c^3-3cs^2=c^3-3c(1-c^2)=4c^3-3c, which is the tripler's cubic, and \sin3\theta=3c^2s-s^3=3(1-s^2)s-s^3=3s-4s^3. For n=4, with coefficients 1,4,6,4,1:

(c+js)^4=(c^4-6c^2s^2+s^4)+j(4c^3s-4cs^3),

so \cos4\theta=c^4-6c^2(1-c^2)+(1-c^2)^2=8c^4-8c^2+1 and \sin4\theta=4c^3s-4cs^3.

Worked example

Express \cos4\theta in powers of \cos\theta, and check it at \theta=15^\circ. The result above, \cos4\theta=8c^4-8c^2+1, at \theta=15^\circ has c^2=\frac{1+\cos30^\circ}2=0.9330 and c^4=0.8705:

8(0.8705)-8(0.9330)+1=6.9641-7.4641+1=0.5000=\cos60^\circ.

A second check, of the sine formula: \sin3\theta=3s-4s^3 at \theta=20^\circ gives 3(0.3420)-4(0.0400)=1.0260-0.1600=0.8660=\sin60^\circ.

Where this shows up

The circuit is a frequency tripler. Fed v=\cos\omega t at 50 Hz, it gives y=4\cos^3\omega t-3\cos\omega t=\cos3\omega t: the output oscillates at 3\times50=150 Hz with the same 1 V amplitude. The cubic is the whole circuit: it is exactly right only for an input of amplitude 1 V, and a real circuit is only approximately this cubic. The pattern is general: \cos n\theta is always a polynomial of degree n in \cos\theta, which is why a nonlinear element in a circuit, with v, v^2, v^3, \dots terms, makes multiples of the input frequency. Unit 06 reads the same thing the other way round.

Narration spine. The output 4v^3-3v is drawn for a cosine input and the question is its frequency. A single check at 20^\circ is shown to give 0.5, and flagged as not enough. A unit circle shows z at 20^\circ and z^3 at 60^\circ with its two legs 0.5 and 0.866. The expansion of (c+js)^3 is built term by term with the powers of j turning, and the real part c^3-3cs^2 is slid next to the leg 0.5 and the imaginary part next to the leg 0.866. Then s^2=1-c^2 is swapped in and 4c^3-3c is left, and the tripler's output is shown as a wave at three times the frequency.


Unit 06: z Plus One Over z Turns Powers into Multiple Angles

The problem

A heater of resistance 23\ \Omega is on the 230 V, 50 Hz mains, whose voltage has the peak value 230\sqrt2=325.3 V: v=325.3\cos\omega t with \omega=100\pi rad/s. The power it burns at each instant is p=\frac{v^2}R. Light a filament lamp on the same supply and film it in slow motion: it flickers. How fast does the power pulse?

First attempt

The power is p=\frac{325.3^2\cos^2\omega t}{23}=4600\cos^2\omega t W, since 325.3^2=105\,800 and \frac{105\,800}{23}=4600. A cosine squared is "just a cosine", so surely it repeats once per cycle, at 50 Hz. Test it: at \omega t=0, p=4600 W; at \omega t=90^\circ, p=0; at \omega t=180^\circ the voltage is -325.3 V, but p=4600\cos^2180^\circ=4600 W again. The power peaks at 0^\circ and at 180^\circ: twice per cycle. The guess fails.

Complex numbers offer no shortcut at first sight, either. Squaring does not commute with taking the real part: \operatorname{Re}\left(z^2\right)=\cos2\theta is not \cos^2\theta=\left(\operatorname{Re}z\right)^2.

The picture

Take z=\cos\theta+j\sin\theta, a point on the unit circle, so \lvert z\rvert=1. Its reciprocal is \frac1z=\frac{\bar z}{z\bar z}=\frac{\bar z}{\lvert z\rvert^2}=\bar z=\cos\theta-j\sin\theta, the mirror image (Unit 01). Add z and \frac1z:

Re Im z 1/z = z̄ z + 1/z = 2cos 40° = 1.532 |z| = 1 so 1/z = z̄, the mirror image: the imaginary parts cancel z − 1/z = j2 sin 40° (straight up)

What to notice: the mirror-image arrows have the same horizontal part and opposite vertical parts, so their vertical parts cancel and the horizontal parts double: z+\frac1z=2\cos\theta, a real number. Subtracting leaves the vertical part, doubled, and cancels the horizontal one: z-\frac1z=j2\sin\theta. And since z^n=\cos n\theta+j\sin n\theta also has modulus 1, the same holds for every power:

z^n+\frac1{z^n}=2\cos n\theta,\qquad z^n-\frac1{z^n}=j2\sin n\theta.

Now \cos\theta is a sum of powers of z, so \cos^n\theta is the nth power of a sum, which the binomial series can expand into pairs z^k+z^{-k}, each of which is a cosine of a multiple angle.

Check it with numbers

At \theta=40^\circ: z+\frac1z=2\cos40^\circ=2(0.7660)=1.532, and z^2-\frac1{z^2}=j2\sin80^\circ=j2(0.9848)=j1.970.

Back to the heater. (2\cos\theta)^2=\left(z+\frac1z\right)^2=z^2+2+\frac1{z^2}=\left(z^2+\frac1{z^2}\right)+2=2\cos2\theta+2, so

\cos^2\theta=\frac12(1+\cos2\theta).

At \theta=30^\circ: \cos^230^\circ=0.75 and \frac12(1+\cos60^\circ)=\frac12(1.5)=0.75. So the power is

p=4600\cos^2\omega t=2300(1+\cos2\omega t)\text{ W}.
4600 0 0 10 ms 20 ms: one cycle v (V) peaks once each half-cycle p (W) peaks twice, mean 2300 W

The rule it gives

The four results. For z=\cos\theta+j\sin\theta, where the unit modulus makes \frac1z=\bar z:

z+\frac1z=2\cos\theta,\quad z-\frac1z=j2\sin\theta,\quad z^n+\frac1{z^n}=2\cos n\theta,\quad z^n-\frac1{z^n}=j2\sin n\theta.

The unit modulus is essential. For z=2e^{j\theta}, \frac1z=\frac12e^{-j\theta} and the sum is 2.5\cos\theta+j1.5\sin\theta, not 2\cos\theta: the vertical parts no longer cancel.

Expansions of \cos^n\theta and \sin^n\theta. Raise 2\cos\theta=z+\frac1z (or j2\sin\theta=z-\frac1z) to the nth power and expand by the binomial series. Collect the terms in pairs from the two ends, so each pair is z^k+z^{-k} or z^k-z^{-k}, and replace it by 2\cos k\theta or j2\sin k\theta. For n=3:

(2\cos\theta)^3=z^3+3z+\frac3z+\frac1{z^3}=\left(z^3+\frac1{z^3}\right)+3\left(z+\frac1z\right)=2\cos3\theta+6\cos\theta,

so \cos^3\theta=\frac14(\cos3\theta+3\cos\theta). Keep the powers of j on the sine side: (j2\sin\theta)^n carries j^n.

Worked example

Express \sin^4\theta in cosines of multiples of \theta. Here (j2\sin\theta)^4=16\sin^4\theta, because j^4=1, and

\left(z-\frac1z\right)^4=z^4-4z^2+6-\frac4{z^2}+\frac1{z^4}=\left(z^4+\frac1{z^4}\right)-4\left(z^2+\frac1{z^2}\right)+6.

So 16\sin^4\theta=2\cos4\theta-8\cos2\theta+6, that is \sin^4\theta=\frac18\left[\cos4\theta-4\cos2\theta+3\right]. Check at \theta=30^\circ: \sin^430^\circ=0.0625, and \frac18\left[-0.5-4(0.5)+3\right]=\frac18(0.5)=0.0625.

Where this shows up

The heater's power is p=2300(1+\cos2\omega t) W: a steady 2300 W plus a ripple at 2\omega, twice the mains frequency, 100 Hz on a 50 Hz supply. The mean is the 2300 W the heater is rated for (\frac{230^2}{23}=2300), and the swing between 0 and 4600 W is the pulse. A filament lamp's brightness follows its power, so it flickers at 100 Hz, twice a cycle: faint to the eye, visible as dark bands on a phone's slow-motion video. The cube is the other half of Unit 05's story. An amplifier whose output is y=x-0.1x^3 for a sine input x=\cos\omega t volts gives y=\cos\omega t-0.1\times\frac14(\cos3\omega t+3\cos\omega t)=0.925\cos\omega t-0.025\cos3\omega t: a 2.7 % third harmonic, at 150 Hz, that was not in the input. Check at \omega t=37^\circ: both forms give 0.7477 V.

Narration spine. A heater's power 4600\cos^2\omega t is plotted and the guess "once a cycle" is marked on the wave; the peaks at 0^\circ and 180^\circ are counted, twice, and the guess is struck out. A unit-circle arrow z and its mirror image \frac1z are added, the vertical parts cancel and the horizontal parts double to 2\cos\theta. Squaring z+\frac1z gives three terms, the outer pair collapsing to 2\cos2\theta and the middle one 2. The wave of p is redrawn as a steady line at 2300 W with a ripple riding on it at twice the rate.


Unit 07: A Locus Is a Condition on Distance or Angle

The problem

Two radio beacons stand on a straight coast, 2 km apart. Put the real axis along the coast, in kilometres, with beacon A at -1 and beacon B at +1. A ship at sea, at z=x+jy, measures its range to each beacon and finds that A is twice as far away as B. Where can the ship be? A second ship measures instead the bearing of beacon A from itself, and finds it at 60^\circ to the coast. Where can that ship be? Each answer is a locus: the set of all points that obey a stated condition.

First attempt

For the first ship, find a point: the point on the coast between the beacons that splits 2 km in the ratio 2:1 is at x=\frac13: A is \frac43 km away and B is \frac23 km away. That works. So does x=3, out beyond B: A is 4 km away, B is 2 km away. So there are at least two points, both on the coast, and nothing says the ship must be on the coast. A ship 2 km out to sea could also be at ratio 2:1. Hunting for points does not describe the whole set.

The picture

Subtracting complex numbers gives the arrow between two points (Programme 1, Unit 06). So for a fixed point a,

z-a is the arrow from a to z.

Its length \lvert z-a\rvert is the distance from a to z, and its argument \arg(z-a) is the bearing of z from a, measured from the direction of the positive real axis. A condition on a distance, or on a bearing, is a condition on \lvert z-a\rvert or \arg(z-a).

Re Im a z θ |z − a| = r : circle about a (all z at distance r) arg(z − a) = θ : half-line from a (all z at bearing θ) z − a is the arrow from a to z, so its length is a distance and its argument is a bearing

What to notice: fix the distance at r and z can lie anywhere on a circle of radius r about a: \lvert z-a\rvert=r is a circle. Fix the bearing at \theta and z can lie anywhere on a half-line starting at a: \arg(z-a)=\theta is a half-line, not a whole line, because the opposite direction is the bearing \theta+180^\circ. Both pictures come out of the one reading of z-a.

To get an equation, put z=x+jy and write the condition in terms of x and y; the result names the curve.

Check it with numbers

The first ship. \frac{\lvert z+1\rvert}{\lvert z-1\rvert}=2 means \lvert z+1\rvert=2\lvert z-1\rvert (the modulus of a quotient is the quotient of the moduli). With z+1=(x+1)+jy and z-1=(x-1)+jy, squaring:

(x+1)^2+y^2=4\left[(x-1)^2+y^2\right]\ \Rightarrow\ x^2+2x+1+y^2=4x^2-8x+4+4y^2\ \Rightarrow\ 3x^2-10x+3+3y^2=0.

Divide by 3 and complete the square: x^2-\frac{10}3x+y^2=-1, so \left(x-\frac53\right)^2+y^2=\frac{25}9-1=\frac{16}9. This is a circle with centre \frac53 and radius \frac43. The book stops at 3x^2-10x+3+3y^2=0 and never says what curve it is.

Re Im A (−1) B (+1) 1/3 3 ship z 2.98 km 1.49 km |z + 1| = 2|z − 1| (x − 5/3)² + y² = 16/9 centre 5/3, radius 4/3 Check x = 3: |4| / |2| = 2 Check x = 1/3: |4/3| / |−2/3| = 2

Check the points found by hunting: the circle meets the coast at \frac53\pm\frac43=3 and \frac13, the two points found. Check a point out at sea, the top of the circle z=\frac53+j\frac43: the distance from A is \sqrt{\left(\frac83\right)^2+\left(\frac43\right)^2}=\sqrt{\frac{80}9}=2.981 km and from B is \sqrt{\left(\frac23\right)^2+\left(\frac43\right)^2}=\sqrt{\frac{20}9}=1.491 km, and \frac{2.981}{1.491}=2.00.

The second ship. \arg(z+1)=\frac\pi3 means z+1=(x+1)+jy has bearing 60^\circ, so \frac y{x+1}=\tan\frac\pi3=\sqrt3 and y=\sqrt3(x+1). That is a line. But \tan cannot tell a bearing of 60^\circ from one of 240^\circ, which has the same ratio. Bearing 60^\circ is in the first quadrant, so y>0: the locus is the half-line y=\sqrt3(x+1) with y>0, rising from the beacon at -1.

The rule it gives

Constant modulus. \lvert z-a\rvert=r is the circle with centre a and radius r. Note the sign: \lvert z+4\rvert=\lvert z-(-4)\rvert has centre -4, not 4. For \lvert z-1\rvert=5 (the book's example): (x-1)^2+y^2=25, that is x^2-2x+y^2=24.

Constant argument. \arg(z-a)=\alpha is the half-line from a at angle \alpha. The ratio \frac y{x-a}=\tan\alpha gives the whole line, and the quadrant of \alpha fixes the sign of y (and of x-a). The book writes \arg z=\tan^{-1}\frac yx with no mention of the quadrant, the same slip as in Programme 1. For \arg z=\frac\pi4: y=x with y>0.

A ratio of moduli. \left\lvert\frac{z-a}{z-b}\right\rvert=k means \lvert z-a\rvert=k\lvert z-b\rvert. Square, write in x and y, multiply across, tidy. Beyond the book: with k=1 the two distances are equal, so the locus is a straight line, the perpendicular bisector of a and b; with k\ne1 it is always a circle, as the beacons' was. Its centre and radius come from completing the square, as above.

A condition on the argument of a function of z. When the condition is on \arg\left(z^2\right), do not square an angle and take a tangent. Write z^2=(x^2-y^2)+j2xy and read off its real and imaginary parts with their signs, as the quadrant rule of Programme 1 demands. For \arg\left(z^2\right)=-\frac\pi4, z^2 must lie on the ray at -45^\circ: x^2-y^2>0 and 2xy<0 and \left\lvert x^2-y^2\right\rvert=\left\lvert2xy\right\rvert, so x^2-y^2=-2xy and y^2-2xy-x^2=0, i.e. y=(1\pm\sqrt2)x. The sign condition xy<0 keeps only y=(1-\sqrt2)x (slope -0.414), with x\ne0.

Re Im arg z² = −45° (x > 0) arg z² = −45° (x < 0) arg z² = 135°: not the locus arg z² = 135° y = (1 − √2)x, x ≠ 0, is the whole locus: two rays, slope −0.414 book's y² = x² + 2xy factors as y = (1 ± √2)x: one line too many

The book solves this example with \tan2\theta=-1 and gets y^2=x^2+2xy, which factors as y=(1\pm\sqrt2)x: two lines. Only the first is the locus. Check with z=1+j2.4142 on the second line: z^2=1-5.8284+j4.8284=-4.8284+j4.8284, whose argument is 135^\circ=\frac{3\pi}4, not -\frac\pi4. Check a point on the first, z=1-j0.4142: z^2=0.8284-j0.8284, argument -45^\circ ✓, and so is z=-1+j0.4142 on the other ray of the same line, since z^2 is the same. Taking the tangent threw away the sign information, which is why an extra line appeared.

Worked example

Find the loci (a) \lvert z-1\rvert=5 and (b) \arg(z+1)=\frac\pi3, describing each. (a) A circle with centre 1 and radius 5, with z=x+jy: (x-1)^2+y^2=25, so x^2-2x+y^2=24. Check z=6: \lvert5\rvert=5 ✓. (b) The half-line from -1 at 60^\circ to the real axis: y=\sqrt3(x+1) for y>0. Check z=1+j2\sqrt3: z+1=2+j2\sqrt3=4\angle60^\circ ✓.

Where this shows up

The beacon problem is the simplest case of position-fixing from two readings: one range ratio puts the ship on the circle of centre \frac53 km and radius \frac43 km, a bearing puts it on a half-line, and a half-line and a circle meet in at most two points, so a second reading narrows the position down to a point or two. For the ship at the top of the circle, the 2.98 km and 1.49 km ranges in the picture are the two readings that put it there. In every case the habit is the one this unit teaches: read z-a as an arrow, name the distance or bearing it fixes, and only then write x and y.

Narration spine. Two beacons sit on a coast, and a ship's ratio of ranges is 2:1. Two points are found by trial, then a third out at sea breaks the pattern. z-a is drawn as an arrow from a to z, with its length and bearing marked; one length fixed sweeps out a circle, one bearing a half-line. The ratio condition is squared and tidied into 3x^2-10x+3+3y^2=0, the square is completed, and the circle appears through both trial points and the top point, with the two ranges 2.98 and 1.49 km marked. Last, the line y=(1-\sqrt2)x and the book's second line are drawn, and z^2 is computed at one point on each: only one gives -45^\circ.