Home / Learn / Exam prep / IIT JAM Physics / Lesson 1.9
All lessons

Module 1: Mathematical methods · Lesson 1.9 · about 40 min

Complex numbers and Euler's formula

Complex numbers as points and arrows, modulus and argument, polar form and Euler formula, De Moivre, roots of unity, complex logarithms and powers, and phasors for oscillations and AC circuits, with the quadrant and branch traps JAM sets.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 1 · about 40 minutes. By the end you will be able to move between the x+iy and reiθ forms without slips, raise complex numbers to any power and find all their roots, take logarithms and complex powers correctly, and use phasors to add oscillations and analyse AC circuits.

A complex number is an arrow in a plane. Adding arrows is adding complex numbers; multiplying them rotates and stretches. Euler's formula, e^(iθ) = cos θ + i sin θ, is the bridge that turns trigonometry into simple algebra.

1. Numbers that live in a plane

Start from i2=−1. A complex number z=x+iy has a real part x=Re⁡z and an imaginary part y=Im⁡z, and you can draw it as the point (x,y), or the arrow from the origin to that point.

  • Adding is adding arrows tip to tail: (1+2i)+(3−i)=4+i.
  • Multiplying uses i2=−1: (1+i)(2−3i)=2−3i+2i−3i2=5−i.
  • Conjugate z‾=x−iy: the mirror image in the real axis. zz‾=x2+y2 is always real.
  • Dividing: multiply top and bottom by the conjugate of the bottom. 11+i=1−i(1+i)(1−i)=1−i2.
  • Powers of i repeat every 4: i,−1,−i,1. So i103=i3=−i (103 leaves remainder 3 on division by 4).

2. Modulus and argument: the polar form

The length of the arrow is the modulus, and its angle from the positive real axis is the argument:

|z|=r=x2+y2,arg⁡z=θ,x=rcos⁡θ, y=rsin⁡θ

The quadrant trap. A calculator’s tan−1⁡(y/x) cannot tell 1+i from −1−i: both have y/x=1. Always find the reference angle tan−1⁡|y/x| and then place it using the signs of x and y. The principal argument Arg⁡z is the value in (−π,π].

Point Quadrant Principal argument
1+i3 first 60∘
−1+i3 second 180∘−60∘=120∘
−1−i third −(180∘−45∘)=−135∘
1−i fourth −45∘
|z|
the length of the arrow: distance of the point from 0
arg z
the direction of the arrow, measured anticlockwise from the positive real axis
z̄
the mirror image across the real axis (same length, opposite angle)
|z − a|
the distance between the points z and a
Physical meaning
An oscillation A cos(ωt + φ) is the shadow of an arrow of length A turning at rate ω: its complex amplitude Ae^(iφ) holds both the size and the phase in one number.

That last meaning of |z−a| turns many locus questions into pictures: |z−1|=|z+1| is the set of points equally far from 1 and −1, the imaginary axis; |z−2i|=3 is a circle of radius 3 about 2i.

3. Euler’s formula

The single most useful formula in mathematical physics:

eiθ=cos⁡θ+isin⁡θ

You can see why from the Taylor series (lesson 1.1): put x=iθ in ex=1+x+x2/2!+… and collect the real terms (1−θ2/2!+⋯=cos⁡θ) and the imaginary ones (θ−θ3/3!+⋯=sin⁡θ). So every complex number can be written

z=reiθ

and the rules of exponents do the rest:

z1z2=r1r2ei(θ1+θ2),z1z2=r1r2ei(θ1−θ2)

Multiplying multiplies the lengths and adds the angles. Multiplying by i=eiπ/2 is a quarter turn; multiplying by −1=eiπ is a half turn (that is eiπ+1=0). To rotate a point z by 90∘ about another point c, shift, turn, shift back: (z−c)i+c.

Euler’s formula also gives cosine and sine as exponentials, which turns hard trigonometry into algebra:

cos⁡θ=eiθ+e−iθ2,sin⁡θ=eiθ−e−iθ2i

Compare cosh⁡x=(ex+e−x)/2: so cos⁡(ix)=cosh⁡x and cosh⁡(ix)=cos⁡x. A complex cosine can exceed 1: cos⁡i=cosh⁡1≈1.543, and sin⁡z=2 has solutions (with imaginary part ±cosh−1⁡2).

4. De Moivre: powers made easy

Raising reiθ to the power n just raises r and multiplies the angle:

(reiθ)n=rneinθ,(cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθ

Move the sliders: with |z|=1 the powers walk round the unit circle in equal steps; with |z|>1 they spiral out.

Each multiplication by z turns by arg z and scales by |z|. Switch to "Roots" to see the n solutions of zⁿ = 1 as a regular polygon.

Worked example. Find (1+i3)5.

  1. Polar form: r=1+3=2, θ=60∘, so 1+i3=2eiπ/3.
  2. Fifth power: 25ei5π/3=32(cos⁡300∘+isin⁡300∘).
  3. =32(12−i32)=16−163i.

Expanding with the binomial theorem would take six terms; De Moivre takes one line.

Multiple-angle formulas for free. Take the real part of (cos⁡θ+isin⁡θ)3: cos⁡3θ=cos3⁡θ−3cos⁡θsin2⁡θ=4cos3⁡θ−3cos⁡θ. Going the other way, cos4⁡θ=116(eiθ+e−iθ)4=18(cos⁡4θ+4cos⁡2θ+3), which is how averages like ⟨cos4⁡θ⟩=38 are found.

5. Roots: n answers, not one

An equation zn=w has exactly n solutions. Write w=Reiϕ, remembering that the angle is only fixed up to whole turns, ϕ+2πk:

zk=R1/nei(ϕ+2πk)/n,k=0,1,…,n−1

They sit at the corners of a regular n-gon of radius R1/n. The nth roots of unity ωk with ω=e2πi/n solve zn=1, and:

  • they add up to zero: 1+ω+ω2+⋯+ωn−1=0 (so, for example, ∑kcos⁡(2πk/n)=0);
  • the cube roots 1,ω,ω2 satisfy 1+ω+ω2=0 and ω2=ω‾;
  • ∏k=1n−1(1−ωk)=n, from zn−1=(z−1)(1+z+⋯+zn−1).

Worked example. The cube roots of 8i: 8i=8eiπ/2, so zk=2ei(π/6+2πk/3): 3+i, −3+i and −2i. Note that 2i is not one of them: (2i)3=−8i.

6. Logarithms and complex powers

Because eiθ repeats every 2π, the logarithm has infinitely many values:

log⁡z=ln⁡|z|+i(Arg⁡z+2πk),Log⁡z=ln⁡|z|+iArg⁡z (principal)

So Log⁡(−2)=ln⁡2+iπ: negative numbers do have logarithms once complex values are allowed. Complex powers are defined through the logarithm, ab=eblog⁡a:

ii=eiLog⁡i=ei⋅iπ/2=e−π/2≈0.208

which is a real number. Rules you may not carry over from real numbers: Log⁡(z1z2)=Log⁡z1+Log⁡z2 can fail by 2πi, and Log⁡(ez)=z only when −π<Im⁡z≤π. What always holds is eLog⁡z=z.

“|e^(iz)| is always 1.” Only when z is real. For z=2+3i, iz=−3+2i, and |eiz|=e−3. The rule is: the real part of the exponent sets the size, the imaginary part sets the angle: |ea+ib|=ea. The same idea explains damped waves: ei(kx−ωt) with a complex k decays in space.

7. Phasors: oscillations as turning arrows

Any oscillation Acos⁡(ωt+ϕ) is the real part of Aeiϕeiωt. The time factor eiωt is shared, so all you need to keep is the phasor Aeiϕ. Then:

  • Adding oscillations of the same frequency is adding arrows. 2cos⁡ωt+2cos⁡(ωt+π/3) has phasor 2+2eiπ/3=3+i3, amplitude 12=23. In general A=A12+A22+2A1A2cos⁡ϕ, the formula behind interference.
  • Differentiating is multiplying by iω, so a differential equation becomes algebra. This is exactly how the forced oscillator of lesson 1.7 is solved.
  • AC circuits: resistors, inductors and capacitors have impedances R, iωL and 1/(iωC), and they combine like resistors. For Z=3+4i Ω the size of the current is set by |Z|=5 Ω and it lags the voltage by arg⁡Z=tan−1⁡(4/3)=53.13∘.

Try it in fibub’s circuit simulator, and see sums of many turning arrows in the Fourier visualiser.

  • z=x+iy=reiθ with r=|z| and θ=arg⁡z; place the angle using the signs of x and y, principal value in (−π,π].
  • Euler: eiθ=cos⁡θ+isin⁡θ. Multiplying multiplies moduli and adds arguments; multiplying by i turns by 90∘.
  • De Moivre: (reiθ)n=rneinθ; it gives multiple-angle formulas and powers in one line.
  • zn=w has n roots on a regular polygon; the nth roots of unity add to zero.
  • Log⁡z=ln⁡|z|+iArg⁡z; ab=eblog⁡a, so ii=e−π/2. |ea+ib|=ea.
  • Phasors turn oscillations into arrows: add them for interference, use impedances R, iωL, 1/(iωC) for AC circuits.

Practise: exam questions on this lesson

They start easy and climb to top-rank level. Check each answer, then read the full solution. More on the complex numbers practice page.

Before this: lesson 1.8, matrices and eigenvalues. Next: lesson 1.10, Fourier series, where Euler’s formula writes any periodic signal as a sum of turning arrows. For GATE and CSIR NET, continue with analytic functions and Cauchy’s theorem in the GATE Physics course.

Check yourself

1What does multiplying a complex number by i do to its point on the complex plane?
2What is the principal argument of −1 − i?
3How many distinct complex solutions does z⁵ = 1 have, and where do they lie?

Sources

  • M. L. Boas, Mathematical Methods in the Physical Sciences, 3rd ed. (2006), chapter 2
  • R. V. Churchill and J. W. Brown, Complex Variables and Applications, 9th ed. (2013), chapters 1 to 3
  • T. Needham, Visual Complex Analysis (1997), chapter 1
  • IIT JAM Physics syllabus (Mathematical Methods section), published by the organising IIT each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.