Chapter III · Complex numbers

Chapter III problems

Miscellaneous examples 90 min

Eleven of Hardy's Miscellaneous Examples on complex numbers, on geometry, equations, identities and transformations, with graded hints and full solutions.

These problems are chosen from the Miscellaneous Examples at the end of Hardy’s Chapter III, for variety rather than difficulty. Some are Cambridge Tripos questions. Try each one for a while before opening the first hint; the hints go from a gentle nudge to most of the idea. Throughout, ω=ω3=12(−1+i3)\omega = \omega_3 = \frac12(-1 + i\sqrt3), so that ω3=1\omega^3 = 1 and 1+ω+ω2=01 + \omega + \omega^2 = 0, and Cis⁡θ=cos⁡θ+isin⁡θ\operatorname{Cis}\theta = \cos\theta + i\sin\theta.

Geometry by complex numbers

Exercise When is a triangle equilateral? ●●○ Hardy: Misc. Examples III, 1

Show that the triangle with vertices x,y,zx, y, z is equilateral if and only if x2+y2+z2=yz+zx+xyx^2 + y^2 + z^2 = yz + zx + xy.

Hint
In an equilateral triangle, going round the sides Y→Z→XY \to Z \to X, each side is the previous one turned through ±23π\pm\frac23\pi. Turning through 23π\frac23\pi is multiplication by ω\omega.
Hint
So x−z=ω(z−y)x - z = \omega(z - y) or x−z=ω2(z−y)x - z = \omega^2(z - y). Rearrange using 1+ω=−ω21 + \omega = -\omega^2, and recall the factorisation in Examples XXII, 3.

Solution

The triangle is equilateral exactly when the side ZX‾\overline{ZX} is the side YZ‾\overline{YZ} turned through +23π+\frac23\pi or −23π-\frac23\pi (equal lengths, and an angle of 13π\frac13\pi at ZZ; two equal sides enclosing 60∘60^\circ force the third side to be equal too). Since Cis⁡23π=ω\operatorname{Cis}\frac23\pi = \omega and Cis⁡(−23π)=ω2\operatorname{Cis}(-\frac23\pi) = \omega^2, this says x−z=ω(z−y)x - z = \omega(z - y) or x−z=ω2(z−y)x - z = \omega^2(z - y).

The first is x+ωy−(1+ω)z=0x + \omega y - (1 + \omega)z = 0, i.e. x+ωy+ω2z=0x + \omega y + \omega^2 z = 0 (as 1+ω=−ω21 + \omega = -\omega^2). Likewise the second is x+ω2y+ωz=0x + \omega^2 y + \omega z = 0. So the triangle is equilateral iff (x+ωy+ω2z)(x+ω2y+ωz)=0(x + \omega y + \omega^2 z)(x + \omega^2 y + \omega z) = 0, by the factor theorem. By Examples XXII, 3 this product is x2+y2+z2−yz−zx−xyx^2 + y^2 + z^2 - yz - zx - xy. (The degenerate case x=y=zx = y = z also satisfies the equation.)

Exercise Triangles on the sides ●●○ Hardy: Misc. Examples III, 3

Triangles BCXBCX, CAYCAY, ABZABZ are drawn on the sides of a triangle ABCABC, all similar to one another (in the same sense). Show that ABCABC and XYZXYZ have the same centroid.

Hint
By Examples XXI, 11, similarity in the same sense means a common complex ratio: x−cb−c=y−ac−a=z−ba−b=λ\dfrac{x - c}{b - c} = \dfrac{y - a}{c - a} = \dfrac{z - b}{a - b} = \lambda.

Solution

Let λ\lambda be the common ratio. Then x=c+λ(b−c)x = c + \lambda(b - c), y=a+λ(c−a)y = a + \lambda(c - a), z=b+λ(a−b)z = b + \lambda(a - b). Adding, x+y+z=a+b+c+λ{(b−c)+(c−a)+(a−b)}=a+b+cx + y + z = a + b + c + \lambda\{(b - c) + (c - a) + (a - b)\} = a + b + c. The centroids 13(x+y+z)\frac13(x + y + z) and 13(a+b+c)\frac13(a + b + c) coincide, whatever the shape of the triangles on the sides. (Napoleon’s theorem, about equilateral triangles on the sides, is a famous relative.)

Exercise Ptolemy's inequality ●●● Hardy: Misc. Examples III, 5–6

For any four points A,B,C,DA, B, C, D of the plane, prove that AD⋅BC≤BD⋅CA+CD⋅ABAD\cdot BC \le BD\cdot CA + CD\cdot AB. What happens when the points lie on a circle?

Hint
Let the points be z1,z2,z3,z4z_1, z_2, z_3, z_4. Verify the identity (z1−z4)(z2−z3)+(z2−z4)(z3−z1)+(z3−z4)(z1−z2)=0(z_1 - z_4)(z_2 - z_3) + (z_2 - z_4)(z_3 - z_1) + (z_3 - z_4)(z_1 - z_2) = 0.
Hint
Move one term to the other side and take moduli. For the circle, look at the quotient of the other two terms: it is a cross ratio.

Solution

Expanding, the twelve products in (z1−z4)(z2−z3)+(z2−z4)(z3−z1)+(z3−z4)(z1−z2)(z_1 - z_4)(z_2 - z_3) + (z_2 - z_4)(z_3 - z_1) + (z_3 - z_4)(z_1 - z_2) cancel in pairs, so the sum is 00. Hence (z1−z4)(z2−z3)=−(z2−z4)(z3−z1)−(z3−z4)(z1−z2)(z_1 - z_4)(z_2 - z_3) = -(z_2 - z_4)(z_3 - z_1) - (z_3 - z_4)(z_1 - z_2), and by the triangle inequality and ∣uv∣=∣u∣∣v∣|uv| = |u||v|, AD⋅BC≤BD⋅CA+CD⋅ABAD\cdot BC \le BD\cdot CA + CD\cdot AB.

Concyclic points. Call the three products p,q,rp, q, r (in the order of the identity), so p+q+r=0p + q + r = 0. The quotient q/r=(z2−z4)(z3−z1)(z3−z4)(z1−z2)q/r = \dfrac{(z_2 - z_4)(z_3 - z_1)}{(z_3 - z_4)(z_1 - z_2)} is minus the cross ratio (z2z3, z4z1)(z_2z_3,\ z_4z_1); if the four points are on a circle, every cross ratio is real (Examples XXI, 25), so q/rq/r is real and then so is p/r=−1−q/rp/r = -1 - q/r. Three real multiples of rr adding to 00: the largest in modulus is the sum of the moduli of the other two. That is Ptolemy’s theorem: for four concyclic points, one of the three products AD⋅BCAD\cdot BC, BD⋅CABD\cdot CA, CD⋅ABCD\cdot AB equals the sum of the other two. (Which one is decided by the order of the points on the circle: it is the product of the two “diagonals”, the pair of chords that cross; we do not prove this here.) Conversely, equality in the inequality forces q/rq/r to be positive real, so the points are concyclic or collinear.

Exercise The parallelogram law ●○○ Hardy: Misc. Examples III, 8

Prove that ∣a+b∣2+∣a−b∣2=2(∣a∣2+∣b∣2)|a + b|^2 + |a - b|^2 = 2(|a|^2 + |b|^2), and state it as a theorem about parallelograms.

Hint
Use ∣w∣2=wwˉ|w|^2 = w\bar w and expand.

Solution

∣a+b∣2+∣a−b∣2=(a+b)(aˉ+bˉ)+(a−b)(aˉ−bˉ)=2aaˉ+2bbˉ|a + b|^2 + |a - b|^2 = (a + b)(\bar a + \bar b) + (a - b)(\bar a - \bar b) = 2a\bar a + 2b\bar b, since the cross terms abˉ+aˉba\bar b + \bar a b cancel. In the parallelogram with sides aa and bb from OO, the diagonals are a+ba + b and a−ba - b: the sum of the squares of the diagonals equals the sum of the squares of the four sides. Equivalently (Hardy’s form), if MM is the midpoint of PQPQ then OP2+OQ2=2 OM2+2 MP2OP^2 + OQ^2 = 2\,OM^2 + 2\,MP^2.

Equations and identities

Exercise Both roots on the unit circle ●●● Hardy: Misc. Examples III, 10

Show that both roots of z2+az+b=0z^2 + az + b = 0 have modulus 11 if and only if ∣a∣≤2|a| \le 2, ∣b∣=1|b| = 1 and am⁡b=2am⁡a\operatorname{am} b = 2\operatorname{am} a (amplitudes not necessarily principal, and the last condition dropped when a=0a = 0).

Hint
If the roots are Cis⁡α\operatorname{Cis}\alpha and Cis⁡β\operatorname{Cis}\beta, then bb is their product and −a-a their sum. Write Cis⁡α+Cis⁡β\operatorname{Cis}\alpha + \operatorname{Cis}\beta as a real number times Cis⁡α+β2\operatorname{Cis}\frac{\alpha + \beta}2.
Hint
For the converse, write a=sCis⁡ϕa = s\operatorname{Cis}\phi with 0<s≤20 < s \le 2, so b=Cis⁡2ϕb = \operatorname{Cis}2\phi, and substitute z=wCis⁡ϕz = w\operatorname{Cis}\phi.

Solution

Necessity. Let the roots be Cis⁡α\operatorname{Cis}\alpha, Cis⁡β\operatorname{Cis}\beta. Then b=Cis⁡(α+β)b = \operatorname{Cis}(\alpha + \beta), so ∣b∣=1|b| = 1, and −a=Cis⁡α+Cis⁡β=2cos⁡α−β2Cis⁡α+β2-a = \operatorname{Cis}\alpha + \operatorname{Cis}\beta = 2\cos\frac{\alpha - \beta}2\operatorname{Cis}\frac{\alpha + \beta}2 (multiply out the right side to check). So ∣a∣=2∣cos⁡α−β2∣≤2|a| = 2|\cos\frac{\alpha - \beta}2| \le 2, and if a≠0a \ne 0 an amplitude of aa is α+β2\frac{\alpha + \beta}2 or α+β2+π\frac{\alpha + \beta}2 + \pi; doubling either gives α+β\alpha + \beta up to 2π2\pi, an amplitude of bb.

Sufficiency. If a=0a = 0 the roots are the two square roots of −b-b, of modulus 11. Otherwise let a=sCis⁡ϕa = s\operatorname{Cis}\phi with 0<s≤20 < s \le 2; the hypothesis gives b=Cis⁡2ϕb = \operatorname{Cis}2\phi. Putting z=wCis⁡ϕz = w\operatorname{Cis}\phi: z2+az+b=Cis⁡2ϕ (w2+sw+1)z^2 + az + b = \operatorname{Cis}2\phi\,(w^2 + sw + 1). The real quadratic w2+sw+1w^2 + sw + 1 has discriminant s2−4≤0s^2 - 4 \le 0, so its roots are conjugate (or equal to −1-1 when s=2s = 2) with product 11; a conjugate pair with product 11 has ∣w∣2=1|w|^2 = 1. Hence ∣z∣=∣w∣=1|z| = |w| = 1 for both roots.

Exercise A cubic solved by the cube roots of unity ●●○ Hardy: Misc. Examples III, 14–15

Prove that (x+y+z)(x+yω+zω2)(x+yω2+zω)=x3+y3+z3−3xyz(x + y + z)(x + y\omega + z\omega^2)(x + y\omega^2 + z\omega) = x^3 + y^3 + z^3 - 3xyz, and use it to solve x3−3ax+(a3+1)=0x^3 - 3ax + (a^3 + 1) = 0.

Hint
The last two factors multiply to x2+y2+z2−yz−zx−xyx^2 + y^2 + z^2 - yz - zx - xy (Examples XXII, 3).
Hint
Find y,zy, z with yz=ayz = a and y3+z3=a3+1y^3 + z^3 = a^3 + 1; then the cubic is x3+y3+z3−3xyzx^3 + y^3 + z^3 - 3xyz.

Solution

By Examples XXII, 3, the product is (x+y+z)(x2+y2+z2−yz−zx−xy)(x + y + z)(x^2 + y^2 + z^2 - yz - zx - xy), and multiplying out gives x3+y3+z3−3xyzx^3 + y^3 + z^3 - 3xyz (the mixed terms x2y,xy2,…x^2y, xy^2, \dots cancel and −xyz-xyz appears three times).

Take y=ay = a, z=1z = 1: then x3+y3+z3−3xyz=x3+a3+1−3axx^3 + y^3 + z^3 - 3xyz = x^3 + a^3 + 1 - 3ax, which is our cubic. So it factorises as (x+a+1)(x+aω+ω2)(x+aω2+ω)(x + a + 1)(x + a\omega + \omega^2)(x + a\omega^2 + \omega), and the roots are x=−(a+1),−(aω+ω2),−(aω2+ω).x = -(a + 1), \quad -(a\omega + \omega^2), \quad -(a\omega^2 + \omega). Check with a=0a = 0: x3+1=0x^3 + 1 = 0 has roots −1,−ω2,−ω-1, -\omega^2, -\omega, the cube roots of −1-1.

Exercise Alternate binomial coefficients ●●○ Hardy: Misc. Examples III, 17

If (1+x)n=p0+p1x+p2x2+…(1 + x)^n = p_0 + p_1x + p_2x^2 + \dots (nn a positive integer), show that p0−p2+p4−⋯=2n/2cos⁡14nπp_0 - p_2 + p_4 - \dots = 2^{n/2}\cos\frac14 n\pi and p1−p3+p5−⋯=2n/2sin⁡14nπp_1 - p_3 + p_5 - \dots = 2^{n/2}\sin\frac14 n\pi.

Hint
Put x=ix = i: the powers of ii cycle 1,i,−1,−i1, i, -1, -i.

Solution

With x=ix = i, (1+i)n=∑pkik=(p0−p2+p4−… )+i(p1−p3+p5−… )(1 + i)^n = \sum p_k i^k = (p_0 - p_2 + p_4 - \dots) + i(p_1 - p_3 + p_5 - \dots). On the other hand 1+i=2Cis⁡14π1 + i = \sqrt2\operatorname{Cis}\frac14\pi, so by De Moivre (1+i)n=2n/2(cos⁡14nπ+isin⁡14nπ)(1 + i)^n = 2^{n/2}(\cos\frac14 n\pi + i\sin\frac14 n\pi). Equate real and imaginary parts. (For n=4n = 4: 1−6+1=−4=4cos⁡π1 - 6 + 1 = -4 = 4\cos\pi and 4−4=04 - 4 = 0.) Misc. Ex. 16 develops the same trick with other roots of unity: averaging f(ωjx)f(\omega^j x) over the nn-th roots of unity picks out every nn-th coefficient.

Transformations

Exercise ●●○ Hardy: Misc. Examples III, 19

If ∣t∣=1|t| = 1, show that x=(at+b)/(t−c)x = (at + b)/(t - c) describes a circle as tt varies, unless ∣c∣=1|c| = 1, when it describes a straight line. (Assume ac+b≠0ac + b \ne 0.)

Hint
As tt runs round the unit circle, xx is its image under a bilinear map. Where is the pole?

Solution

The map t↦(at+b)/(t−c)t \mapsto (at + b)/(t - c) is bilinear, since a⋅(−c)−b⋅1=−(ac+b)≠0a\cdot(-c) - b\cdot 1 = -(ac + b) \ne 0. (If ac+b=0ac + b = 0 then x=ax = a is constant.) By the theorem on bilinear transformations it sends the unit circle to a circle or a straight line, and to a straight line exactly when the circle passes through the pole t=ct = c, i.e. when ∣c∣=1|c| = 1. In that case the point t=ct = c itself has no image; as tt approaches it, xx runs off to infinity along the line.

Exercise Maps of the unit disc ●●○ Hardy: Misc. Examples III, 24 (Math. Trip. 1933)

Let ∣a∣≠1|a| \ne 1 and θ\theta real. Show that z=Cis⁡θ Z−a1−aˉZz = \operatorname{Cis}\theta\,\dfrac{Z - a}{1 - \bar aZ} makes the inside of the unit circle in the ZZ-plane correspond to the inside of the unit circle in the zz-plane if ∣a∣<1|a| < 1, and to the outside if ∣a∣>1|a| > 1.

Hint
Compare ∣1−aˉZ∣2|1 - \bar a Z|^2 with ∣Z−a∣2|Z - a|^2 by expanding both.

Solution

Expanding with ∣w∣2=wwˉ|w|^2 = w\bar w: ∣1−aˉZ∣2−∣Z−a∣2=(1−aˉZ−aZˉ+∣a∣2∣Z∣2)−(∣Z∣2−aˉZ−aZˉ+∣a∣2)=(1−∣a∣2)(1−∣Z∣2).|1 - \bar aZ|^2 - |Z - a|^2 = (1 - \bar aZ - a\bar Z + |a|^2|Z|^2) - (|Z|^2 - \bar aZ - a\bar Z + |a|^2) = (1 - |a|^2)(1 - |Z|^2). Since ∣z∣=∣Z−a∣/∣1−aˉZ∣|z| = |Z - a|/|1 - \bar aZ|, for ∣Z∣<1|Z| < 1 we get ∣z∣<1|z| < 1 when ∣a∣<1|a| < 1 (the difference is positive) and ∣z∣>1|z| > 1 when ∣a∣>1|a| > 1. For ∣Z∣=1|Z| = 1 the difference is 00, so the unit circle corresponds to the unit circle; and as the map is bilinear (hence one-to-one), the inside of ∣Z∣=1|Z| = 1 corresponds to the whole of the inside, or the whole of the outside, of ∣z∣=1|z| = 1. The pole Z=1/aˉZ = 1/\bar a is outside the disc when ∣a∣<1|a| < 1, as it must be.

Explore The unit circle under 2z+z22z + z^2

Try this. The purple circle is ∣z∣=1|z| = 1. Look at its image, then shrink and grow the circle a little.

w=2z+z2w=2z+z^2
z-plane
xy
w-plane, w = f(z)
uv
  • circles |z| = r and their images
  • rays arg z = θ and their images
  • circle (drag centre and rim) and its image
  • w = 0
Grid
Circle: centre 00, radius 11 (it encloses z = 0). Its image winds 1 time round w=0w = 0 (counter-clockwise counts +).
The unit circle goes to a cardioid.
What to notice

The image has a cusp at w=−1w = -1, the image of z=−1z = -1, where the derivative 2+2z2 + 2z vanishes: a cardioid. Slightly smaller circles give smooth curves, slightly larger ones a curve with a small loop.

Exercise A cardioid ●●○ Hardy: Misc. Examples III, 25

Show that if z=2Z+Z2z = 2Z + Z^2, the circle ∣Z∣=1|Z| = 1 corresponds to a cardioid in the zz-plane.

Hint
Complete the square: z+1=(Z+1)2z + 1 = (Z + 1)^2.
Hint
With Z=Cis⁡tZ = \operatorname{Cis}t, write 1+Cis⁡t=2cos⁡t2Cis⁡t21 + \operatorname{Cis}t = 2\cos\frac t2\operatorname{Cis}\frac t2.

Solution

z+1=(Z+1)2z + 1 = (Z + 1)^2. For Z=Cis⁡tZ = \operatorname{Cis}t, 1+Cis⁡t=2cos⁡t2 Cis⁡t21 + \operatorname{Cis}t = 2\cos\frac t2\,\operatorname{Cis}\frac t2 (check by multiplying out), so z+1=4cos⁡2t2 Cis⁡t=2(1+cos⁡t)Cis⁡t.z + 1 = 4\cos^2\tfrac t2\,\operatorname{Cis}t = 2(1 + \cos t)\operatorname{Cis}t. In polar coordinates centred at the point −1-1, the point zz has radius r=2(1+cos⁡t)r = 2(1 + \cos t) and angle tt. That is the cardioid r=2(1+cos⁡θ)r = 2(1 + \cos\theta), with its cusp at z=−1z = -1 (from t=πt = \pi).

Explore Circles under 12(z+1/z)\tfrac12(z + 1/z)

Try this. With the polar grid, look at the images of the blue circles ∣z∣=r|z| = r. Drag the purple circle’s rim towards radius 11.

w=12(z+1z)w=\tfrac12\left(z+\frac1z\right)
z-plane
xy
w-plane, w = f(z)
uv
  • circles |z| = r and their images
  • rays arg z = θ and their images
  • circle (drag centre and rim) and its image
  • w = 0
Grid
Circle: centre 00, radius 1.61.6 (it encloses z = 0). Its image winds 1 time round w=0w = 0 (counter-clockwise counts +).
Circles |z| = r ≠ 1 become ellipses; the unit circle collapses onto [−1, 1].
What to notice

Every circle ∣z∣=r|z| = r with r≠1r \ne 1 becomes an ellipse, and all these ellipses have the same foci ±1\pm1. The unit circle itself is flattened onto the segment from −1-1 to 11, traversed twice. The rays become hyperbolas with the same foci.

Exercise Confocal ellipses ●●○ Hardy: Misc. Examples III, 26

Show that z=12(Z+1/Z)z = \frac12(Z + 1/Z) maps the circles ∣Z∣=α|Z| = \alpha to the ellipses x2{12(α+1/α)}2+y2{12(α−1/α)}2=1\dfrac{x^2}{\{\frac12(\alpha + 1/\alpha)\}^2} + \dfrac{y^2}{\{\frac12(\alpha - 1/\alpha)\}^2} = 1, and that these all have the foci ±1\pm 1.

Hint
Put Z=αCis⁡tZ = \alpha\operatorname{Cis}t; then 1/Z=α−1Cis⁡(−t)1/Z = \alpha^{-1}\operatorname{Cis}(-t).

Solution

With Z=αCis⁡tZ = \alpha\operatorname{Cis}t: z=12(α+α−1)cos⁡t+12(α−α−1)sin⁡t⋅iz = \frac12(\alpha + \alpha^{-1})\cos t + \frac12(\alpha - \alpha^{-1})\sin t\cdot i. So x=Acos⁡tx = A\cos t, y=Bsin⁡ty = B\sin t with A=12(α+1/α)A = \frac12(\alpha + 1/\alpha), B=12(α−1/α)B = \frac12(\alpha - 1/\alpha), and x2/A2+y2/B2=1x^2/A^2 + y^2/B^2 = 1 (for α≠1\alpha \ne 1). The distance from centre to focus of this ellipse is A2−B2=14{(α+α−1)2−(α−α−1)2}=1=1\sqrt{A^2 - B^2} = \sqrt{\frac14\{(\alpha + \alpha^{-1})^2 - (\alpha - \alpha^{-1})^2\}} = \sqrt{1} = 1, so the foci are ±1\pm 1 for every α\alpha: the ellipses are confocal. The circles ∣Z∣=α|Z| = \alpha and ∣Z∣=1/α|Z| = 1/\alpha give the same ellipse; for α=1\alpha = 1 the “ellipse” is the segment [−1,1][-1, 1].