← Back to course

Math — Mechina

Complex numbers and polynomials

Summary

A complex number z=a+biz=a+bi is a point in the plane. The algebraic form is convenient for adding, the polar form z=r cis θz=r\,\text{cis}\,\theta — for multiplying, dividing and raising to powers.

r=∣z∣=a2+b2,cis θ=cos⁡θ+isin⁡θ,zn=rncis(nθ)r=|z|=\sqrt{a^2+b^2},\quad \text{cis}\,\theta=\cos\theta+i\sin\theta,\quad z^n=r^n\text{cis}(n\theta)
zn=w=R cis φ ⇒ zk=Rn cisφ+2πkn, k=0,…,n−1z^n=w=R\,\text{cis}\,\varphi\ \Rightarrow\ z_k=\sqrt[n]R\,\text{cis}\frac{\varphi+2\pi k}{n},\ k=0,\ldots,n-1
  • zzˉ=∣z∣2z\bar z=|z|^2; to divide, multiply by the conjugate of the denominator.
  • The roots of zn=wz^n=w are the nn vertices of a regular polygon.
  • ∣z−z0∣=r|z-z_0|=r — a circle; ∣z−a∣=∣z−b∣|z-a|=|z-b| — a perpendicular bisector.
  • For a polynomial with real coefficients: if z0z_0 is a root, so is zˉ0\bar z_0. Together they give the factor x2−2 Re(z0)x+∣z0∣2x^2-2\,\text{Re}(z_0)x+|z_0|^2.

What is new here

The equation x2=−1x^2=-1 has no real solution, since the square of a real number is never negative. We define a new number ii with i2=−1i^2=-1 and build numbers of the form a+bia+bi from it. Thanks to them every quadratic equation has solutions, and every polynomial of degree nn has exactly nn roots (counting repeats). Complex numbers are used in electrical engineering (alternating current), waves and signal processing — and in the mechina they are also a handy geometric tool: rotating and scaling are just multiplication.

Algebraic form

In z=a+biz=a+bi the number aa is the real part, Re z\text{Re}\,z, and bb is the imaginary part, Im z\text{Im}\,z (without the ii). Two complex numbers are equal only if both their real parts and their imaginary parts are equal — so every complex equation gives two real equations.

  • Addition and subtraction — part by part: (2+3i)+(1−i)=3+2i(2+3i)+(1-i)=3+2i.
  • Multiplication — expand brackets as in algebra and replace i2i^2 with −1-1: (2+3i)(1−i)=2−2i+3i−3i2=5+i(2+3i)(1-i)=2-2i+3i-3i^2=5+i.
  • Conjugate: zˉ=a−bi\bar z=a-bi, and zzˉ=a2+b2z\bar z=a^2+b^2 — a real number.
  • Division — multiply top and bottom by the conjugate of the denominator: 3+4i1−2i=(3+4i)(1+2i)1+4=−5+10i5=−1+2i\frac{3+4i}{1-2i}=\frac{(3+4i)(1+2i)}{1+4}=\frac{-5+10i}{5}=-1+2i.
  • Powers of ii repeat every four: i, −1, −i, 1i,\,-1,\,-i,\,1. So i27=i3=−ii^{27}=i^{3}=-i (the remainder of 2727 divided by 44 is 33).

The complex plane — a number as a point

Draw a+bia+bi as the point (a,b)(a,b): the horizontal axis is real, the vertical one imaginary. The modulus ∣z∣=r|z|=r is the distance from the origin, and the argument θ\theta is the angle from the positive real axis. Find the angle from tan⁡θ=ba\tan\theta=\frac ba, but always check the quadrant: for z=−1+iz=-1+i a calculator gives arctan⁡(−1)=−45∘\arctan(-1)=-45^\circ, yet the point is in the second quadrant, so θ=135∘\theta=135^\circ. For z=−3−iz=-\sqrt3-i (third quadrant) θ=210∘\theta=210^\circ.

Polar form — multiplication is rotation

z=r cis θz=r\,\text{cis}\,\theta. In a product the moduli multiply and the angles add; in a quotient they divide and subtract. So multiplying by i=cis 90∘i=\text{cis}\,90^\circ is a 90∘90^\circ anticlockwise rotation, and multiplying by 2 cis 30∘2\,\text{cis}\,30^\circ scales by 22 and rotates by 30∘30^\circ. This gives De Moivre's formula for powers.

Example: (1+i)8(1+i)^8. Here r=2r=\sqrt2, θ=45∘\theta=45^\circ, so (1+i)8=(2)8 cis 360∘=16(1+i)^8=(\sqrt2)^8\,\text{cis}\,360^\circ=16. In algebraic form we would have to expand eight brackets.

Roots of a complex number

zn=wz^n=w has exactly nn solutions. They all have the same modulus Rn\sqrt[n]{R}, and their angles divide the circle evenly — 360∘n\frac{360^\circ}{n} apart. Example: z3=8z^3=8. Here R=8R=8, φ=0∘\varphi=0^\circ, so r=2r=2 and the angles are 0∘,120∘,240∘0^\circ,120^\circ,240^\circ: z0=2z_0=2, z1=−1+i3z_1=-1+i\sqrt3, z2=−1−i3z_2=-1-i\sqrt3 — the vertices of an equilateral triangle.

Loci

  • ∣z−z0∣=r|z-z_0|=r — a circle with centre z0z_0 and radius rr; ∣z−z0∣<r|z-z_0|<r — the inside of the disc.
  • ∣z−a∣=∣z−b∣|z-a|=|z-b| — the points equidistant from aa and bb: the perpendicular bisector of the segment.
  • Re z>0\text{Re}\,z>0 — the right half-plane; Im z=2\text{Im}\,z=2 — a horizontal line.
  • arg⁡z=θ\arg z=\theta — a ray from the origin at angle θ\theta (without the origin itself).

In any such condition you can also substitute z=x+iyz=x+iy and get an ordinary equation in xx and yy — a good check of the geometric answer.

How to approach a problem

  1. Addition, subtraction and linear equations — algebraic form.
  2. Products and quotients of several numbers, powers and roots — polar form.
  3. An equation with zz and zˉ\bar z — substitute z=x+iyz=x+iy and compare real and imaginary parts.
  4. Always draw the number and check its quadrant before fixing the angle.
  5. Finally verify: plug one solution back into the original equation.

Common mistakes

  • Im(3−4i)=−4\text{Im}(3-4i)=-4, not −4i-4i.
  • Forgetting that i2=−1i^2=-1 and leaving i2i^2 in the answer.
  • An angle without the quadrant correction.
  • Finding only one root of zn=wz^n=w instead of nn roots.
  • ∣a+bi∣=a+b|a+bi|=a+b — wrong; correct: a2+b2\sqrt{a^2+b^2}.

Question types

1

The equation zn=wz^n=w

Finding all the nn-th roots.

Worked example

Solve z3=8iz^3=8i.

Solution

Idea8i=8 cis 90∘8i=8\,\text{cis}\,90^\circ.
  1. r=2r=2.
  2. Angles: 30∘,150∘,270∘30^\circ,150^\circ,270^\circ.
  3. z=3+i, −3+i, −2iz=\sqrt3+i,\ -\sqrt3+i,\ -2i.
Check(−2i)3=−8i3=8i(-2i)^3=-8i^3=8i ✓.
Common mistakeFinding only one root.

Variants of this type · 1

1.1A high power

Worked example

Compute (1+i)10(1+i)^{10}.

Solution

Idea2 cis45∘\sqrt2\,\text{cis}45^\circ.
  1. 32 cis 450∘=32i32\,\text{cis}\,450^\circ=32i.
Check(1+i)2=2i(1+i)^2=2i, (2i)5=32i(2i)^5=32i ✓.
Common mistaker10=210r^{10}=2^{10}.
2

Locus

A condition on ∣z−…∣|z-\ldots| or on arg⁡\arg.

Worked example

Describe ∣z−2i∣=∣z+2∣|z-2i|=|z+2|.

Solution

IdeaEquidistant from 2i2i and −2-2 — the perpendicular bisector.
  1. x2+(y−2)2=(x+2)2+y2x^2+(y-2)^2=(x+2)^2+y^2.
  2. y=−xy=-x.
Check00 is equidistant from both ✓.
Common mistake∣z+2∣|z+2| — the distance from 22 instead of −2-2.
3

Polynomial with a complex root

A real polynomial and a given complex root.

Worked example

−1+5i-1+\sqrt5 i is a root of x3+x2+4x−6x^3+x^2+4x-6. Find all the roots.

Solution

IdeaThe conjugate is a root too — a quadratic factor.
  1. (x+1)2+5=x2+2x+6(x+1)^2+5=x^2+2x+6.
  2. x3+x2+4x−6=(x2+2x+6)(x−1)x^3+x^2+4x-6=(x^2+2x+6)(x-1).
  3. Roots: 11, −1±5i-1\pm\sqrt5i.
Check1+1+4−6=01+1+4-6=0 ✓.
Common mistakeForgetting the conjugate.

Exam-style problems

One problem with several parts on the same data, as on the exam. Each part adds something to the drawing.

Practice · 21

Test yourself with problems and full solutions.

Go to practice