CP 2.2, 2.3 - Complex number arithmetic and the conjugate

CP 2.2, 2.3 - Complex number arithmetic and the conjugate

The equation x2=−1x^2 = -1 has no real solution, so mathematicians created a number that solves it. In this lesson you build the complex numbers from that one idea: you add, subtract, multiply and divide numbers of the form x+iyx + \mathrm{i}y (CP 2.2), use the complex conjugate z∗z^* to make division work (the first part of CP 2.3), and solve equations by comparing real and imaginary parts.

The imaginary unit and complex numbers

In 1572 the Italian engineer Rafael Bombelli wrote about a puzzle that ordinary numbers could not explain, and this lesson gives you the tools to solve it.

The equation x3=15x+4x^3 = 15x + 4 has the solution x=4x = 4, because 43=644^3 = 64 and 15×4+4=6415 \times 4 + 4 = 64. Yet the formula for cubic equations, published by Gerolamo Cardano in 1545, gives an answer that looks nothing like 4:

x=2+−1213+2−−1213x = \sqrt[3]{2 + \sqrt{-121}} + \sqrt[3]{2 - \sqrt{-121}}

How can a formula built from the square root of a negative number produce the ordinary number 4? Bombelli's idea was to treat −1\sqrt{-1} as a number in its own right and calculate with it. Keep the question in mind: you will answer it at the end of the lesson.

A number whose square is negative

Start with a smaller case. The equation x2=−9x^2 = -9 has no real solution, because the square of every real number is positive or zero. Now suppose there is a number i\mathrm{i} with i2=−1\mathrm{i}^2 = -1. Then

(3i)2=9i2=−9and(−3i)2=9i2=−9(3\mathrm{i})^2 = 9\mathrm{i}^2 = -9 \qquad\text{and}\qquad (-3\mathrm{i})^2 = 9\mathrm{i}^2 = -9

so x2=−9x^2 = -9 has two solutions, x=3ix = 3\mathrm{i} and x=−3ix = -3\mathrm{i}. In the same way, −49=7i\sqrt{-49} = 7\mathrm{i} and −12=i12=2i3\sqrt{-12} = \mathrm{i}\sqrt{12} = 2\mathrm{i}\sqrt{3}.

This is not the first time numbers have been extended. Whenever an equation had no solution, mathematicians enlarged the number system so that it did. The picture shows the chain you already know, with the complex numbers on the outside.

[DIAGRAM: asset_name: Nested number systems from the natural numbers to the complex numbers; asset_slug: 9fm0-number-systems; caption: Each new number system solves an equation the last one could not; description: Five nested rounded boxes. The innermost is the natural numbers 1, 2, 3 and so on, used for counting. Around it are the integers, which solve x plus 5 equals 2 with x equals minus 3, then the rational numbers, which solve 3x equals 2 with x equals 2 over 3, then the real numbers in blue, which solve x squared equals 2 with x equals plus or minus root 2, and outermost the complex numbers in lavender, which solve x squared equals minus 1 with x equals plus or minus i]
Each new number system solves an equation the last one could not

Imaginary unit

i\mathrm{i} is the number with i2=−1\mathrm{i}^2 = -1, so i=−1\mathrm{i} = \sqrt{-1}. For any real number k>0k > 0, −k=ik\sqrt{-k} = \mathrm{i}\sqrt{k}. For example, −25=5i\sqrt{-25} = 5\mathrm{i}. Not an example: −1-1 is not −1\sqrt{-1}, because (−1)2=1(-1)^2 = 1.

Combining real numbers with real multiples of i\mathrm{i} gives every number you need in this course.

Complex number

A complex number is a number of the form z=x+iyz = x + \mathrm{i}y, where xx and yy are real. The real part of zz is Re⁡(z)=x\operatorname{Re}(z) = x and the imaginary part is Im⁡(z)=y\operatorname{Im}(z) = y. The set of all complex numbers is C\mathbb{C}. For example, z=4−7iz = 4 - 7\mathrm{i} has Re⁡(z)=4\operatorname{Re}(z) = 4 and Im⁡(z)=−7\operatorname{Im}(z) = -7. Not an example: Im⁡(4−7i)\operatorname{Im}(4 - 7\mathrm{i}) is not −7i-7\mathrm{i}; the imaginary part is the real number −7-7.

Two special cases matter. If y=0y = 0, then z=xz = x is real, so every real number is also a complex number. If x=0x = 0 and y≠0y \ne 0, then z=iyz = \mathrm{i}y is called purely imaginary, for example 5i5\mathrm{i} or −i2-\mathrm{i}\sqrt{2}. Exam questions use this phrase often: “ww is purely imaginary” means Re⁡(w)=0\operatorname{Re}(w) = 0 and w≠0w \ne 0.

Key idea

For k>0k > 0, write −k\sqrt{-k} as ik\mathrm{i}\sqrt{k} before you add, multiply or simplify anything else.

Adding, subtracting and multiplying

Complex numbers follow the algebra you already use: collect like terms, expand brackets, and then replace every i2\mathrm{i}^2 by −1-1.

You already know

Expanding brackets: (3+2x)(4−5x)=12−15x+8x−10x2=12−7x−10x2(3 + 2x)(4 - 5x) = 12 - 15x + 8x - 10x^2 = 12 - 7x - 10x^2. The binomial expansion: (p+q)3=p3+3p2q+3pq2+q3(p + q)^3 = p^3 + 3p^2q + 3pq^2 + q^3.

Now put i\mathrm{i} in place of xx. The expansion is exactly the same; the only new step is i2=−1\mathrm{i}^2 = -1:

(3+2i)(4−5i)=12−15i+8i−10i2expand as usual=12−7i+10use i2=−1=22−7i\begin{aligned} (3 + 2\mathrm{i})(4 - 5\mathrm{i}) &= 12 - 15\mathrm{i} + 8\mathrm{i} - 10\mathrm{i}^2 && \text{expand as usual} \\ &= 12 - 7\mathrm{i} + 10 && \text{use } \mathrm{i}^2 = -1 \\ &= 22 - 7\mathrm{i} \end{aligned}

Adding and subtracting are simpler still: combine the real parts and combine the imaginary parts, so (5+3i)+(2−7i)=7−4i(5 + 3\mathrm{i}) + (2 - 7\mathrm{i}) = 7 - 4\mathrm{i}. A real multiple multiplies both parts: 3(2−i)=6−3i3(2 - \mathrm{i}) = 6 - 3\mathrm{i}.

Sums and products

For real numbers aa, bb, cc and dd:

(a+bi)±(c+di)=(a±c)+(b±d)i(a + b\mathrm{i}) \pm (c + d\mathrm{i}) = (a \pm c) + (b \pm d)\mathrm{i} (a+bi)(c+di)=(ac−bd)+(ad+bc)i(a + b\mathrm{i})(c + d\mathrm{i}) = (ac - bd) + (ad + bc)\mathrm{i}

Use the method (expand, then replace i2\mathrm{i}^2 by −1-1) rather than memorising the product line. Not in the formula booklet: learn it.

Powers of i\mathrm{i}

Powers of i\mathrm{i} repeat in a cycle of four, because i4=(i2)2=(−1)2=1\mathrm{i}^4 = (\mathrm{i}^2)^2 = (-1)^2 = 1:

i1=ii2=−1i3=i2×i=−ii4=1\mathrm{i}^1 = \mathrm{i} \qquad \mathrm{i}^2 = -1 \qquad \mathrm{i}^3 = \mathrm{i}^2 \times \mathrm{i} = -\mathrm{i} \qquad \mathrm{i}^4 = 1

Each multiplication by i\mathrm{i} moves one step round the cycle. Later in the course you will see that this is a genuine quarter-turn about 0.

[DIAGRAM: asset_name: The four-step cycle of powers of i; asset_slug: 9fm0-powers-of-i; caption: Multiplying by i moves one step round a cycle of four; description: The numbers 1, i, minus 1 and minus i sit at the right, top, left and bottom of a cross of faint real and imaginary axes, with real numbers in blue and imaginary numbers in lavender. Curved arrows labelled times i go anticlockwise from 1 to i to minus 1 to minus i and back to 1, with labels i to the 1 equals i, i squared equals minus 1, i cubed equals minus i and i to the 4 equals 1. A side note shows i to the 5 equals i up to i to the 8 equals 1, and i to the 27 equals i to the 24 times i cubed equals minus i]
Multiplying by i moves one step round a cycle of four

Worked example 1: a difference and a product

Question. Given that z=2−3iz = 2 - 3\mathrm{i} and w=1+4iw = 1 + 4\mathrm{i}, express (a) z−2wz - 2w and (b) zwzw in the form x+iyx + \mathrm{i}y.

Plan. For (a), double ww and collect real and imaginary parts; for (b), expand the brackets and then replace i2\mathrm{i}^2 by −1-1.

z−2w=(2−3i)−(2+8i)double w first=(2−2)+(−3−8)icollect parts=−11i\begin{aligned} z - 2w &= (2 - 3\mathrm{i}) - (2 + 8\mathrm{i}) && \text{double } w \text{ first} \\ &= (2 - 2) + (-3 - 8)\mathrm{i} && \text{collect parts} \\ &= -11\mathrm{i} \end{aligned} zw=(2−3i)(1+4i)=2+8i−3i−12i2expand=2+5i+12−12i2=+12=14+5i\begin{aligned} zw &= (2 - 3\mathrm{i})(1 + 4\mathrm{i}) \\ &= 2 + 8\mathrm{i} - 3\mathrm{i} - 12\mathrm{i}^2 && \text{expand} \\ &= 2 + 5\mathrm{i} + 12 && -12\mathrm{i}^2 = +12 \\ &= 14 + 5\mathrm{i} \end{aligned}

Why this step? The term −12i2-12\mathrm{i}^2 is real, since −12×(−1)=12-12 \times (-1) = 12, so it joins the real part.

Answer. (a) z−2w=−11iz - 2w = -11\mathrm{i}, which is purely imaginary. (b) zw=14+5izw = 14 + 5\mathrm{i}.

Check. The product rule with a=2a = 2, b=−3b = -3, c=1c = 1, d=4d = 4 gives ac−bd=2+12=14ac - bd = 2 + 12 = 14 and ad+bc=8−3=5ad + bc = 8 - 3 = 5 ✓\checkmark

Worked example 2 changes one thing: a power instead of a product. The binomial expansion now does the bookkeeping, and you need both i2\mathrm{i}^2 and i3\mathrm{i}^3, which is where most sign errors happen.

Worked example 2: a cube in exam style

Question. In this question you must show all stages of your working. Solutions relying on calculator technology are not acceptable. Express (1−2i)3(1 - 2\mathrm{i})^3 in the form a+bia + b\mathrm{i}, where aa and bb are real.

Plan. Use (p+q)3=p3+3p2q+3pq2+q3(p + q)^3 = p^3 + 3p^2q + 3pq^2 + q^3 with p=1p = 1 and q=−2iq = -2\mathrm{i}, simplify each power of −2i-2\mathrm{i}, then collect real and imaginary parts.

(1−2i)3=1+3(−2i)+3(−2i)2+(−2i)3binomial expansion=1−6i+12i2−8i3powers of −2i=1−6i−12+8ii2=−1, i3=−i=−11+2i\begin{aligned} (1 - 2\mathrm{i})^3 &= 1 + 3(-2\mathrm{i}) + 3(-2\mathrm{i})^2 + (-2\mathrm{i})^3 && \text{binomial expansion} \\ &= 1 - 6\mathrm{i} + 12\mathrm{i}^2 - 8\mathrm{i}^3 && \text{powers of } -2\mathrm{i} \\ &= 1 - 6\mathrm{i} - 12 + 8\mathrm{i} && \mathrm{i}^2 = -1,\ \mathrm{i}^3 = -\mathrm{i} \\ &= -11 + 2\mathrm{i} \end{aligned}

Why this step? (−2i)3=(−2)3×i3=−8×(−i)=8i(-2\mathrm{i})^3 = (-2)^3 \times \mathrm{i}^3 = -8 \times (-\mathrm{i}) = 8\mathrm{i}: two minus signs make the term positive.

Answer. (1−2i)3=−11+2i(1 - 2\mathrm{i})^3 = -11 + 2\mathrm{i}, so a=−11a = -11 and b=2b = 2.

Check. Square first, then multiply: (1−2i)2=1−4i+4i2=−3−4i(1 - 2\mathrm{i})^2 = 1 - 4\mathrm{i} + 4\mathrm{i}^2 = -3 - 4\mathrm{i}, and (−3−4i)(1−2i)=−3+6i−4i+8i2=−11+2i(-3 - 4\mathrm{i})(1 - 2\mathrm{i}) = -3 + 6\mathrm{i} - 4\mathrm{i} + 8\mathrm{i}^2 = -11 + 2\mathrm{i} ✓\checkmark

Watch out

Wrong: (2−3i)(1+4i)=2+5i−12=−10+5i(2 - 3\mathrm{i})(1 + 4\mathrm{i}) = 2 + 5\mathrm{i} - 12 = -10 + 5\mathrm{i}. The last term was −12i2-12\mathrm{i}^2, and i2=−1\mathrm{i}^2 = -1 turns it into +12+12. Right: 2+5i+12=14+5i2 + 5\mathrm{i} + 12 = 14 + 5\mathrm{i}. Write the i2\mathrm{i}^2 term down before you replace it.

Many complex-number questions carry an instruction about calculators, because some calculators can do complex arithmetic.

Exam tip

When a question says “Solutions relying on calculator technology are not acceptable”, an answer with no expansion scores no marks. Show the expanded line with its i2\mathrm{i}^2 and i3\mathrm{i}^3 terms, then the simplified line: the method marks are for that working.

The complex conjugate

Changing the sign of the imaginary part of a complex number gives its conjugate, and a number multiplied by its conjugate is always real.

Take z=3+2iz = 3 + 2\mathrm{i}. Its conjugate is z∗=3−2iz^* = 3 - 2\mathrm{i}. Combine the two:

z+z∗=(3+2i)+(3−2i)=6z−z∗=(3+2i)−(3−2i)=4izz∗=(3+2i)(3−2i)=9−6i+6i−4i2=13\begin{aligned} z + z^* &= (3 + 2\mathrm{i}) + (3 - 2\mathrm{i}) = 6 \\ z - z^* &= (3 + 2\mathrm{i}) - (3 - 2\mathrm{i}) = 4\mathrm{i} \\ zz^* &= (3 + 2\mathrm{i})(3 - 2\mathrm{i}) = 9 - 6\mathrm{i} + 6\mathrm{i} - 4\mathrm{i}^2 = 13 \end{aligned}

The sum and the product are real, and the difference is purely imaginary. In the product the two middle terms cancel, and −4i2=+4-4\mathrm{i}^2 = +4 adds to the 99.

Complex conjugate

The complex conjugate of z=x+iyz = x + \mathrm{i}y is z∗=x−iyz^* = x - \mathrm{i}y: the same real part and the opposite imaginary part. For example, (5−i2)∗=5+i2(5 - \mathrm{i}\sqrt{2})^* = 5 + \mathrm{i}\sqrt{2} and (4i)∗=−4i(4\mathrm{i})^* = -4\mathrm{i}. Not an example: the conjugate of 3+2i3 + 2\mathrm{i} is not −3−2i-3 - 2\mathrm{i}; only the imaginary part changes sign.

The same working with letters shows why the product is always real:

zz∗=(x+iy)(x−iy)=x2−ixy+ixy−i2y2middle terms cancel=x2+y2−i2y2=+y2\begin{aligned} zz^* &= (x + \mathrm{i}y)(x - \mathrm{i}y) \\ &= x^2 - \mathrm{i}xy + \mathrm{i}xy - \mathrm{i}^2y^2 && \text{middle terms cancel} \\ &= x^2 + y^2 && -\mathrm{i}^2y^2 = +y^2 \end{aligned}

This is the difference of two squares, (p+q)(p−q)=p2−q2(p + q)(p - q) = p^2 - q^2, with q=iyq = \mathrm{i}y, so q2=−y2q^2 = -y^2. The result x2+y2x^2 + y^2 is a sum of squares of real numbers: it is real, it is never negative, and it is zero only when z=0z = 0.

A picture of the conjugate

Plot z=x+iyz = x + \mathrm{i}y as the point (x,y)(x, y), with real parts across and imaginary parts up; you will work with this picture, the Argand diagram, in CP 2.4. The conjugate is then the mirror image of zz in the horizontal axis, and by Pythagoras' theorem the distance from 0 to zz is x2+y2=zz∗\sqrt{x^2 + y^2} = \sqrt{zz^*}.

[DIAGRAM: asset_name: The conjugate as a reflection, with modulus and argument; asset_slug: 9fm0-conjugate-modulus-argument; caption: The conjugate is the reflection of z in the real axis; description: Axes labelled Re across and Im up. The point z equals 3 plus 2i is plotted at (3, 2) and its conjugate z star equals 3 minus 2i at (3, minus 2), joined by a dashed vertical lavender line labelled reflection in the real axis. A clay segment from 0 to z is labelled modulus of z equals root 13, and a clay arc at 0 between the positive real axis and the segment is labelled arg z. A side note says z equals x plus iy is drawn at the point (x, y), the modulus is the distance from 0, the argument is the angle from the positive real axis, and z and z star have the same real part and opposite imaginary parts]
The conjugate is the reflection of z in the real axis

Modulus and argument

The modulus of z=x+iyz = x + \mathrm{i}y is ∣z∣=x2+y2|z| = \sqrt{x^2 + y^2}, the distance from 0 to the point (x,y)(x, y). The argument, arg⁡z\arg z, is the angle that the line from 0 to zz makes with the positive real axis, positive anticlockwise and negative clockwise, in radians with −π<arg⁡z≤π-\pi < \arg z \le \pi. For example, ∣3+2i∣=13|3 + 2\mathrm{i}| = \sqrt{13} and arg⁡(3+2i)=arctan⁡23≈0.588\arg(3 + 2\mathrm{i}) = \arctan\frac{2}{3} \approx 0.588. Not an example: ∣3−4i∣|3 - 4\mathrm{i}| is not 32−42\sqrt{3^2 - 4^2}; it is 32+(−4)2=5\sqrt{3^2 + (-4)^2} = 5.

Putting these together gives the results you will use most often.

Results with the conjugate

For z=x+iyz = x + \mathrm{i}y with xx and yy real:

z+z∗=2xz−z∗=2iyzz∗=x2+y2=∣z∣2z + z^* = 2x \qquad z - z^* = 2\mathrm{i}y \qquad zz^* = x^2 + y^2 = |z|^2

So zz is real exactly when z∗=zz^* = z, and a non-zero zz is purely imaginary exactly when z∗=−zz^* = -z. Not in the formula booklet: learn it.

Conjugating sums and products

Taking the conjugate replaces i\mathrm{i} by −i-\mathrm{i} everywhere. Because (−i)2=−1(-\mathrm{i})^2 = -1 as well, the arithmetic is identical after the swap, so every line of a calculation stays true. So the conjugate of a sum or product is the sum or product of the conjugates: (z+w)∗=z∗+w∗(z + w)^* = z^* + w^* and (zw)∗=z∗w∗(zw)^* = z^*w^*. For example, with z=2−3iz = 2 - 3\mathrm{i} and w=1+4iw = 1 + 4\mathrm{i} from Worked example 1, zw=14+5izw = 14 + 5\mathrm{i}, and

z∗w∗=(2+3i)(1−4i)=2−8i+3i−12i2=14−5i=(zw)∗z^*w^* = (2 + 3\mathrm{i})(1 - 4\mathrm{i}) = 2 - 8\mathrm{i} + 3\mathrm{i} - 12\mathrm{i}^2 = 14 - 5\mathrm{i} = (zw)^*

The same holds for powers, (zn)∗=(z∗)n(z^n)^* = (z^*)^n. In the next lesson you will see that this is why non-real roots of polynomial equations with real coefficients come in conjugate pairs.

Key idea

zz∗=x2+y2zz^* = x^2 + y^2 is always real and never negative, so multiplying a non-zero complex number by its conjugate always gives a positive real number.

Dividing complex numbers

To divide by a complex number, multiply the top and bottom of the fraction by the conjugate of the bottom; the new denominator is real, so the answer splits into a real part and an imaginary part.

You already know

Rationalising a denominator: 13+2×3−23−2=3−29−2=3−27\dfrac{1}{3 + \sqrt{2}} \times \dfrac{3 - \sqrt{2}}{3 - \sqrt{2}} = \dfrac{3 - \sqrt{2}}{9 - 2} = \dfrac{3 - \sqrt{2}}{7}. The difference of two squares removes the surd from the bottom.

Division by c+dic + d\mathrm{i} works the same way, with the conjugate c−dic - d\mathrm{i} playing the part of 3−23 - \sqrt{2}. Multiplying the top and bottom by the same non-zero number does not change the value of the fraction, only its appearance, and the bottom becomes (c+di)(c−di)=c2+d2(c + d\mathrm{i})(c - d\mathrm{i}) = c^2 + d^2.

Division

For real aa, bb, cc, dd with c+di≠0c + d\mathrm{i} \ne 0:

a+bic+di=(a+bi)(c−di)(c+di)(c−di)=(a+bi)(c−di)c2+d2\frac{a + b\mathrm{i}}{c + d\mathrm{i}} = \frac{(a + b\mathrm{i})(c - d\mathrm{i})}{(c + d\mathrm{i})(c - d\mathrm{i})} = \frac{(a + b\mathrm{i})(c - d\mathrm{i})}{c^2 + d^2}

Not in the formula booklet: learn it.

Worked example 3: dividing by a complex number

Question. Express 7+i3−i\dfrac{7 + \mathrm{i}}{3 - \mathrm{i}} in the form x+iyx + \mathrm{i}y.

Plan. Multiply the top and bottom by 3+i3 + \mathrm{i}, the conjugate of the denominator, then simplify.

7+i3−i=(7+i)(3+i)(3−i)(3+i)conjugate of 3−i=21+7i+3i+i29+1bottom is 32+12=20+10i10i2=−1=2+i\begin{aligned} \frac{7 + \mathrm{i}}{3 - \mathrm{i}} &= \frac{(7 + \mathrm{i})(3 + \mathrm{i})}{(3 - \mathrm{i})(3 + \mathrm{i})} && \text{conjugate of } 3 - \mathrm{i} \\ &= \frac{21 + 7\mathrm{i} + 3\mathrm{i} + \mathrm{i}^2}{9 + 1} && \text{bottom is } 3^2 + 1^2 \\ &= \frac{20 + 10\mathrm{i}}{10} && \mathrm{i}^2 = -1 \\ &= 2 + \mathrm{i} \end{aligned}

Why this step? The conjugate is chosen because (3−i)(3+i)=32+12(3 - \mathrm{i})(3 + \mathrm{i}) = 3^2 + 1^2 is real; any other multiplier would leave i\mathrm{i} in the denominator.

Answer. 7+i3−i=2+i\dfrac{7 + \mathrm{i}}{3 - \mathrm{i}} = 2 + \mathrm{i}.

Check. Multiply back: (2+i)(3−i)=6−2i+3i−i2=7+i(2 + \mathrm{i})(3 - \mathrm{i}) = 6 - 2\mathrm{i} + 3\mathrm{i} - \mathrm{i}^2 = 7 + \mathrm{i} ✓\checkmark

Worked example 4 changes one feature: the number you want, zz, is unknown and is multiplied by another complex number. Dividing finds it, and this time the answer has fractions, so the final form matters.

Worked example 4: finding z in exam style

Question. Solutions relying on calculator technology are not acceptable. Given that (2−5i)z=3+4i(2 - 5\mathrm{i})z = 3 + 4\mathrm{i}, find zz in the form a+bia + b\mathrm{i}, where aa and bb are rational.

Plan. Divide by 2−5i2 - 5\mathrm{i}, multiply the top and bottom by 2+5i2 + 5\mathrm{i}, then split the result into its real and imaginary parts.

z=3+4i2−5i×2+5i2+5iconjugate of 2−5i=6+15i+8i+20i24+25bottom is 22+52=−14+23i2920i2=−20=−1429+2329i\begin{aligned} z &= \frac{3 + 4\mathrm{i}}{2 - 5\mathrm{i}} \times \frac{2 + 5\mathrm{i}}{2 + 5\mathrm{i}} && \text{conjugate of } 2 - 5\mathrm{i} \\ &= \frac{6 + 15\mathrm{i} + 8\mathrm{i} + 20\mathrm{i}^2}{4 + 25} && \text{bottom is } 2^2 + 5^2 \\ &= \frac{-14 + 23\mathrm{i}}{29} && 20\mathrm{i}^2 = -20 \\ &= -\frac{14}{29} + \frac{23}{29}\mathrm{i} \end{aligned}

Why this step? The question asks for the form a+bia + b\mathrm{i}, so the last line splits the single fraction into its real part and its imaginary part.

Answer. z=−1429+2329iz = -\dfrac{14}{29} + \dfrac{23}{29}\mathrm{i}.

Check. (2−5i)(−14+23i)=−28+46i+70i−115i2=87+116i=29(3+4i)(2 - 5\mathrm{i})(-14 + 23\mathrm{i}) = -28 + 46\mathrm{i} + 70\mathrm{i} - 115\mathrm{i}^2 = 87 + 116\mathrm{i} = 29(3 + 4\mathrm{i}), so (2−5i)z=3+4i(2 - 5\mathrm{i})z = 3 + 4\mathrm{i} ✓\checkmark

Watch out

Wrong: (2−5i)(2+5i)=4−25=−21(2 - 5\mathrm{i})(2 + 5\mathrm{i}) = 4 - 25 = -21. The last term is (−5i)(5i)=−25i2=+25(-5\mathrm{i})(5\mathrm{i}) = -25\mathrm{i}^2 = +25. Right: (2−5i)(2+5i)=4+25=29(2 - 5\mathrm{i})(2 + 5\mathrm{i}) = 4 + 25 = 29. A quick test: (c+di)(c−di)=c2+d2(c + d\mathrm{i})(c - d\mathrm{i}) = c^2 + d^2 is always positive.

Mark schemes give the first method mark for the conjugate step itself, so make it visible.

Exam tip

Write the multiplication by the conjugate in full, as in 3+4i2−5i×2+5i2+5i\dfrac{3 + 4\mathrm{i}}{2 - 5\mathrm{i}} \times \dfrac{2 + 5\mathrm{i}}{2 + 5\mathrm{i}}: that line earns the method mark. Then give the answer in the form asked, with exact fractions such as −1429+2329i-\frac{14}{29} + \frac{23}{29}\mathrm{i}, not decimals.

Equating real and imaginary parts

Two complex numbers are equal only when their real parts are equal and their imaginary parts are equal, so one complex equation gives you two real equations.

Why is this true? Suppose x1+iy1=x2+iy2x_1 + \mathrm{i}y_1 = x_2 + \mathrm{i}y_2, where all four numbers are real. Rearranging gives x1−x2=i(y2−y1)x_1 - x_2 = \mathrm{i}(y_2 - y_1), and squaring both sides gives

(x1−x2)2=i2(y2−y1)2=−(y2−y1)2(x_1 - x_2)^2 = \mathrm{i}^2(y_2 - y_1)^2 = -(y_2 - y_1)^2

The left side is never negative and the right side is never positive, so both are zero: x1=x2x_1 = x_2 and y1=y2y_1 = y_2.

Equal complex numbers

For real x1x_1, y1y_1, x2x_2 and y2y_2:

x1+iy1=x2+iy2  ⟺  x1=x2  and  y1=y2x_1 + \mathrm{i}y_1 = x_2 + \mathrm{i}y_2 \iff x_1 = x_2 \ \text{ and } \ y_1 = y_2

Not in the formula booklet: learn it.

This turns a problem about complex numbers into a pair of simultaneous equations. A neat first use is finding the square roots of a complex number.

Worked example 5: square roots of a complex number

Question. Find the two square roots of 21−20i21 - 20\mathrm{i}, giving your answers in the form a+bia + b\mathrm{i}, where aa and bb are real.

Plan. Write a root as a+bia + b\mathrm{i}, square it, equate real and imaginary parts with 21−20i21 - 20\mathrm{i}, and solve.

(a+bi)2=(a2−b2)+2ab iexpand, i2=−1a2−b2=21real parts2ab=−20imaginary parts\begin{aligned} (a + b\mathrm{i})^2 &= (a^2 - b^2) + 2ab\,\mathrm{i} && \text{expand, } \mathrm{i}^2 = -1 \\ a^2 - b^2 &= 21 && \text{real parts} \\ 2ab &= -20 && \text{imaginary parts} \end{aligned}

The second equation gives b=−10ab = -\dfrac{10}{a}. Substitute it into the first:

a2−100a2=21substitute for ba4−21a2−100=0multiply by a2(a2−25)(a2+4)=0factorisea2=25a is real, so a2≠−4\begin{aligned} a^2 - \frac{100}{a^2} &= 21 && \text{substitute for } b \\ a^4 - 21a^2 - 100 &= 0 && \text{multiply by } a^2 \\ (a^2 - 25)(a^2 + 4) &= 0 && \text{factorise} \\ a^2 &= 25 && a \text{ is real, so } a^2 \ne -4 \end{aligned}

So a=5a = 5, giving b=−2b = -2, or a=−5a = -5, giving b=2b = 2.

Why this step? a2=−4a^2 = -4 is rejected because aa was defined to be real; it would give a=±2ia = \pm 2\mathrm{i}, which is not in the required form.

Answer. The square roots of 21−20i21 - 20\mathrm{i} are 5−2i5 - 2\mathrm{i} and −5+2i-5 + 2\mathrm{i}.

Check. (5−2i)2=25−20i+4i2=21−20i(5 - 2\mathrm{i})^2 = 25 - 20\mathrm{i} + 4\mathrm{i}^2 = 21 - 20\mathrm{i} ✓\checkmark. The other root is the negative of this one, so it has the same square.

Worked example 6 changes one feature: the equation contains both zz and z∗z^*. The method is the same, but you substitute for both before you equate parts.

Worked example 6: an equation in z and z* in exam style

Question. Find the complex number zz that satisfies 2z+iz∗=7+8i2z + \mathrm{i}z^* = 7 + 8\mathrm{i}.

Plan. Put z=x+iyz = x + \mathrm{i}y and z∗=x−iyz^* = x - \mathrm{i}y, expand, equate real and imaginary parts, and solve the simultaneous equations.

2(x+iy)+i(x−iy)=7+8isubstitute2x+2iy+ix−i2y=7+8iexpand(2x+y)+i(x+2y)=7+8i−i2y=+y\begin{aligned} 2(x + \mathrm{i}y) + \mathrm{i}(x - \mathrm{i}y) &= 7 + 8\mathrm{i} && \text{substitute} \\ 2x + 2\mathrm{i}y + \mathrm{i}x - \mathrm{i}^2y &= 7 + 8\mathrm{i} && \text{expand} \\ (2x + y) + \mathrm{i}(x + 2y) &= 7 + 8\mathrm{i} && -\mathrm{i}^2y = +y \end{aligned} 2x+y=7real partsx+2y=8imaginary parts3y=92×second−first\begin{aligned} 2x + y &= 7 && \text{real parts} \\ x + 2y &= 8 && \text{imaginary parts} \\ 3y &= 9 && 2 \times \text{second} - \text{first} \end{aligned}

So y=3y = 3, and then x=8−2y=2x = 8 - 2y = 2.

Why this step? You must substitute for z∗z^* as well as zz: the term iz∗\mathrm{i}z^* adds yy to the real part and xx to the imaginary part.

Answer. z=2+3iz = 2 + 3\mathrm{i}.

Check. 2(2+3i)+i(2−3i)=4+6i+2i+3=7+8i2(2 + 3\mathrm{i}) + \mathrm{i}(2 - 3\mathrm{i}) = 4 + 6\mathrm{i} + 2\mathrm{i} + 3 = 7 + 8\mathrm{i} ✓\checkmark

Back to Bombelli

You can now answer the question from the start of the lesson. Since −121=11i\sqrt{-121} = 11\mathrm{i}, Cardano's formula says

x=2+11i3+2−11i3x = \sqrt[3]{2 + 11\mathrm{i}} + \sqrt[3]{2 - 11\mathrm{i}}

Look, as Bombelli did, for a cube root of 2+11i2 + 11\mathrm{i} of the form a+bia + b\mathrm{i} with aa and bb integers. Expand and equate parts:

(a+bi)3=(a3−3ab2)+(3a2b−b3)ibinomial expansiona(a2−3b2)=2real partsb(3a2−b2)=11imaginary parts\begin{aligned} (a + b\mathrm{i})^3 &= (a^3 - 3ab^2) + (3a^2b - b^3)\mathrm{i} && \text{binomial expansion} \\ a(a^2 - 3b^2) &= 2 && \text{real parts} \\ b(3a^2 - b^2) &= 11 && \text{imaginary parts} \end{aligned}

In the first equation aa must divide 2, and in the second bb must divide 11. Try a=2a = 2 and b=1b = 1: 2(4−3)=22(4 - 3) = 2 and 1(12−1)=111(12 - 1) = 11. So (2+i)3=2+11i(2 + \mathrm{i})^3 = 2 + 11\mathrm{i}, and taking conjugates, (2−i)3=2−11i(2 - \mathrm{i})^3 = 2 - 11\mathrm{i}. The two cube roots are 2+i2 + \mathrm{i} and 2−i2 - \mathrm{i}, and

x=(2+i)+(2−i)=4x = (2 + \mathrm{i}) + (2 - \mathrm{i}) = 4

The imaginary parts cancel and the real solution appears. Complex numbers began like this, as a route to real answers. Every non-zero complex number has three cube roots (you will find them in CP 2.10); Cardano's formula needs a pair whose product is 15÷3=515 \div 3 = 5, and (2+i)(2−i)=5(2 + \mathrm{i})(2 - \mathrm{i}) = 5.

Watch out

Wrong: “a2=25a^2 = 25, so a=5a = 5 and the square root is 5−2i5 - 2\mathrm{i}.” Taking only the positive value of aa loses a solution, because a=−5a = -5 gives b=2b = 2. Right: both 5−2i5 - 2\mathrm{i} and −5+2i-5 + 2\mathrm{i}. When a question asks for all the values of zz, the last accuracy mark needs every one of them.

Examiners also look for the two equations themselves.

Exam tip

State that xx and yy (or aa and bb) are real, then write the two equations on separate lines labelled “real parts” and “imaginary parts”. The method mark is for equating both parts, and a correct pair of equations earns it even if a later slip costs the answer.

Quick Recap

  • i2=−1\mathrm{i}^2 = -1, −k=ik\sqrt{-k} = \mathrm{i}\sqrt{k} for k>0k > 0, and the powers of i\mathrm{i} repeat every four.
  • z=x+iyz = x + \mathrm{i}y has real part Re⁡(z)=x\operatorname{Re}(z) = x and imaginary part Im⁡(z)=y\operatorname{Im}(z) = y, and both are real numbers.
  • Add, subtract and multiply as in ordinary algebra, then replace i2\mathrm{i}^2 by −1-1.
  • The conjugate z∗=x−iyz^* = x - \mathrm{i}y gives the real product zz∗=x2+y2=∣z∣2zz^* = x^2 + y^2 = |z|^2; to divide, multiply the top and bottom by the conjugate of the bottom.
  • Equal complex numbers have equal real parts and equal imaginary parts, so one complex equation gives two real equations.

Bombelli's puzzle: (2+i)3=2+11i(2 + \mathrm{i})^3 = 2 + 11\mathrm{i} and (2−i)3=2−11i(2 - \mathrm{i})^3 = 2 - 11\mathrm{i}, so the cube roots in Cardano's formula are 2+i2 + \mathrm{i} and 2−i2 - \mathrm{i}, and their sum is the real solution x=4x = 4.