Level 5 — MasteryComplex Numbers

Complex Numbers

90 minutes60 marksprintable — key stays hidden on paper

Time limit: 90 minutes
Total marks: 60
Instructions: Answer all three questions. Full derivations and justifications required. Where code is requested, use clear pseudocode or Python (NumPy allowed). Use ...... for mathematics.


Question 1 — Euler, De Moivre, and a trigonometric identity (20 marks)

(a) Starting from the Taylor series of exe^x, cosθ\cos\theta, and sinθ\sin\theta, prove Euler's formula eiθ=cosθ+isinθe^{i\theta}=\cos\theta + i\sin\theta. State clearly the convergence assumption you rely on. (5)

(b) State De Moivre's theorem and prove it for all positive integers nn by induction. (4)

(c) Using De Moivre's theorem and the binomial expansion, derive an expression for cos5θ\cos 5\theta purely in terms of cosθ\cos\theta. (5)

(d) A physicist models a driven oscillator with the complex amplitude Z=1(ω02ω2)+iγω.Z = \frac{1}{(\omega_0^2 - \omega^2) + i\gamma\omega}. Express Z|Z| and arg(Z)\arg(Z) in terms of ω0,ω,γ\omega_0,\omega,\gamma. Then, for ω0=2\omega_0=2, ω=1\omega=1, γ=1\gamma=1 (SI units), compute Z|Z| and arg(Z)\arg(Z) numerically (radians). (6)


Question 2 — Roots of unity, geometry, and computation (22 marks)

(a) Let ω=e2πi/n\omega = e^{2\pi i/n}. Prove that the nn distinct nnth roots of unity sum to zero for n2n\ge 2, and give a geometric interpretation of this fact in the Argand plane. (5)

(b) Prove that the product of all nn distinct nnth roots of unity equals (1)n+1(-1)^{n+1}. (4)

(c) Find all solutions of z4=8+83iz^4 = -8 + 8\sqrt{3}\,i in exponential form reiθre^{i\theta} with r>0r>0 and θ(π,π]\theta\in(-\pi,\pi]. Give exact modulus and arguments. (7)

(d) Write a short function nth_roots(c, n) (Python/NumPy or clear pseudocode) that returns the nn complex nnth roots of a complex number c. Explain how you obtain the modulus and argument, and how you increment the argument to get successive roots. (6)


Question 3 — Polynomials with complex roots (18 marks)

(a) The polynomial P(z)=z35z2+17z13P(z)=z^3 - 5z^2 + 17z - 13 has one real root z=1z=1. Find the remaining two roots exactly, and verify they are complex conjugates. (6)

(b) State and briefly justify the Conjugate Root Theorem: why must non-real roots of a real-coefficient polynomial occur in conjugate pairs? (4)

(c) Using the roots from (a), verify Vieta's relations: sum of roots, sum of pairwise products, and product of roots. (4)

(d) Determine a monic real quartic polynomial having roots 2+i2+i and 32i3-2i (and their required conjugates). Expand fully. (4)


Answer keyMark scheme & solutions

Question 1

(a) (5 marks) Series: ex=k0xkk!e^{x}=\sum_{k\ge0}\frac{x^k}{k!}. Substitute x=iθx=i\theta (valid since the exponential series converges absolutely for all complex arguments — convergence assumption, 1 mark): eiθ=k0(iθ)kk!.e^{i\theta}=\sum_{k\ge0}\frac{(i\theta)^k}{k!}. Powers of ii cycle 1,i,1,i1,i,-1,-i (1 mark). Split into even k=2mk=2m and odd k=2m+1k=2m+1 (1 mark): =m(1)mθ2m(2m)!+im(1)mθ2m+1(2m+1)!=cosθ+isinθ.=\sum_m\frac{(-1)^m\theta^{2m}}{(2m)!}+i\sum_m\frac{(-1)^m\theta^{2m+1}}{(2m+1)!}=\cos\theta+i\sin\theta. Recognition of the two series as cosθ,sinθ\cos\theta,\sin\theta (2 marks).

(b) (4 marks) Statement: (cosθ+isinθ)n=cosnθ+isinnθ(\cos\theta+i\sin\theta)^n=\cos n\theta+i\sin n\theta (1). Base n=1n=1 trivial (1). Inductive step: assume true for nn; then (cosθ+isinθ)n+1=(cosnθ+isinnθ)(cosθ+isinθ)(\cos\theta+i\sin\theta)^{n+1}=(\cos n\theta+i\sin n\theta)(\cos\theta+i\sin\theta); expand and use angle-addition to get cos(n+1)θ+isin(n+1)θ\cos(n+1)\theta+i\sin(n+1)\theta (2).

(c) (5 marks) cos5θ+isin5θ=(cosθ+isinθ)5\cos5\theta+i\sin5\theta=(\cos\theta+i\sin\theta)^5. Expand binomially; take real part (1). Let c=cosθ,s=sinθc=\cos\theta,s=\sin\theta: Real part =c510c3s2+5cs4= c^5 -10c^3s^2+5cs^4 (2). Substitute s2=1c2s^2=1-c^2 (1): cos5θ=16cos5θ20cos3θ+5cosθ.\cos5\theta = 16\cos^5\theta - 20\cos^3\theta + 5\cos\theta. (final, 1)

(d) (6 marks) Denominator D=(ω02ω2)+iγωD=(\omega_0^2-\omega^2)+i\gamma\omega. So Z=1(ω02ω2)2+γ2ω2,arg(Z)=arg(D)=arctan ⁣γωω02ω2.|Z|=\frac{1}{\sqrt{(\omega_0^2-\omega^2)^2+\gamma^2\omega^2}},\qquad \arg(Z)=-\arg(D)=-\arctan\!\frac{\gamma\omega}{\omega_0^2-\omega^2}. (3 marks) Numbers: ω02ω2=41=3\omega_0^2-\omega^2=4-1=3, γω=1\gamma\omega=1. Z=1/9+1=1/100.3162|Z|=1/\sqrt{9+1}=1/\sqrt{10}\approx 0.3162. arg(Z)=arctan(1/3)0.3217\arg(Z)=-\arctan(1/3)\approx -0.3217 rad. (3 marks)

Question 2

(a) (5 marks) Roots are 1,ω,,ωn11,\omega,\dots,\omega^{n-1} with ω=e2πi/n1\omega=e^{2\pi i/n}\ne1. Geometric series sum =ωn1ω1=11ω1=0=\frac{\omega^n-1}{\omega-1}=\frac{1-1}{\omega-1}=0 (3). Geometric interpretation: the roots are equally spaced unit vectors (vertices of a regular nn-gon centred at origin); by symmetry their vector sum is the centroid ×n=0\times n = 0 (2).

(b) (4 marks) Product =k=0n1e2πik/n=e2πi(0+1++(n1))/n=e2πi(n1)/2=eiπ(n1)=(1)n1=(1)n+1=\prod_{k=0}^{n-1}e^{2\pi i k/n}=e^{2\pi i(0+1+\dots+(n-1))/n}=e^{2\pi i (n-1)/2}=e^{i\pi(n-1)}=(-1)^{n-1}=(-1)^{n+1}. (4) (Alternatively: roots are roots of zn1z^n-1; product =(1)n(1)=(1)n+1=(-1)^n(-1)=(-1)^{n+1} via constant term.)

(c) (7 marks) 8+83i-8+8\sqrt3 i: modulus =64+192=256=16=\sqrt{64+192}=\sqrt{256}=16 (2). Argument: real <0<0, imag >0>0, second quadrant; tan1(83/8)=tan13=π/3\tan^{-1}(8\sqrt3/8)=\tan^{-1}\sqrt3=\pi/3, so argument =ππ/3=2π/3=\pi-\pi/3=2\pi/3 (1). Thus c=16ei(2π/3+2πk)c=16e^{i(2\pi/3+2\pi k)}. Fourth roots: modulus 161/4=216^{1/4}=2 (1). Arguments θk=2π/3+2πk4=π6+πk2\theta_k=\frac{2\pi/3+2\pi k}{4}=\frac{\pi}{6}+\frac{\pi k}{2}, k=0,1,2,3k=0,1,2,3 (2): θ0=π6, θ1=2π3, θ2=7π65π6, θ3=5π3π3.\theta_0=\tfrac{\pi}{6},\ \theta_1=\tfrac{2\pi}{3},\ \theta_2=\tfrac{7\pi}{6}\to-\tfrac{5\pi}{6},\ \theta_3=\tfrac{5\pi}{3}\to-\tfrac{\pi}{3}. Roots: 2eiπ/6,2ei2π/3,2ei5π/6,2eiπ/32e^{i\pi/6},\,2e^{i2\pi/3},\,2e^{-i5\pi/6},\,2e^{-i\pi/3} (1, reduced to (π,π](-\pi,\pi]).

(d) (6 marks)

import numpy as np
def nth_roots(c, n):
    r = abs(c)**(1/n)             # modulus of each root
    phi = np.angle(c)             # principal argument of c
    return [r*np.exp(1j*(phi+2*np.pi*k)/n) for k in range(n)]

Explanation (3 marks): take r=c1/nr=|c|^{1/n}; base argument ϕ/n\phi/n; increment by 2π/n2\pi/n each time (equal spacing) to obtain all nn roots. Correct loop over k=0..n1k=0..n-1 (3 marks).

Question 3

(a) (6 marks) Divide PP by (z1)(z-1): z35z2+17z13=(z1)(z24z+13)z^3-5z^2+17z-13=(z-1)(z^2-4z+13) (2). Solve z24z+13=0z^2-4z+13=0: z=4±16522=4±362=2±3iz=\frac{4\pm\sqrt{16-52}}{2}=\frac{4\pm\sqrt{-36}}{2}=2\pm3i (3). These are conjugates 2+3i, 23i2+3i,\ 2-3i (1).

(b) (4 marks) If PP has real coefficients then P(z)=P(zˉ)\overline{P(z)}=P(\bar z) (conjugation commutes with real-coefficient sums/products, 2). If P(z0)=0P(z_0)=0 then P(zˉ0)=P(z0)=0ˉ=0P(\bar z_0)=\overline{P(z_0)}=\bar0=0, so zˉ0\bar z_0 is also a root (2). Hence non-real roots pair up.

(c) (4 marks) Roots 1,2+3i,23i1,\,2+3i,\,2-3i. Sum =1+4=5=(5)/1=1+4=5=-(-5)/1 ✓ (1). Pairwise sum =1(2+3i)+1(23i)+(2+3i)(23i)=4+13=17=1(2+3i)+1(2-3i)+(2+3i)(2-3i)=4+13=17 ✓ (2). Product =1(4+9)=13=(13)/1=1\cdot(4+9)=13=-(-13)/1 ✓ (1).

(d) (4 marks) Required roots: 2+i,2i,32i,3+2i2+i,2-i,3-2i,3+2i. (z24z+5)(z26z+13)(z^2-4z+5)(z^2-6z+13) (2). Expand: z410z3+42z282z+65.z^4-10z^3+42z^2-82z+65. (2)

[
 {"claim":"cos5θ expansion coefficients", "code":"import sympy as sp; th=sp.symbols('theta'); c=sp.cos(th); expr=sp.expand_trig(sp.cos(5*th)); target=16*c**5-20*c**3+5*c; result=sp.simplify(expr-target)==0"},
 {"claim":"|Z|=1/sqrt10 and arg=-atan(1/3)", "code":"D=(2**2-1**2)+sp.I*1*1; Z=1/D; result=(sp.simplify(sp.Abs(Z)-1/sp.sqrt(10))==0) and (sp.simplify(sp.arg(Z)+sp.atan(sp.Rational(1,3)))==0)"},
 {"claim":"fourth roots of -8+8sqrt3 i have modulus 2 and args pi/6,2pi/3,-5pi/6,-pi/3", "code":"c=-8+8*sp.sqrt(3)*sp.I; roots=sp.solve(sp.Symbol('z')**4-c, sp.Symbol('z')); mods={sp.nsimplify(sp.Abs(r)) for r in roots}; result=mods=={sp.Integer(2)}"},
 {"claim":"P factors and roots 1,2+3i,2-3i; quartic expansion", "code":"z=sp.symbols('z'); P=z**3-5*z**2+17*z-13; r=sp.solve(P,z); q=sp.expand((z**2-4*z+5)*(z**2-6*z+13)); result=(set(r)=={1,2+3*sp.I,2-3*sp.I}) and (q==z**4-10*z**3+42*z**2-82*z+65)"}
]