BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Complex numbers and complex exponentials

Complex numbers are divided by multiplying top and bottom by the conjugate of the denominator, since z z̄ = a² + b² is real. In polar form a + bi = r(cos θ + i sin θ), and Euler defined e^(iθ) = cos θ + i sin θ. The definition is justified because it behaves like an exponential: e^(iθ₁)e^(iθ₂) = e^(i(θ₁+θ₂)) is exactly the addition formulas for sine and cosine, and d/dt e^(it) = i e^(it) with value 1 at t = 0. So every complex number is re^(iθ), and multiplying multiplies moduli and adds arguments. This makes integrals such as ∫e^(−x) cos x dx easy by complexifying, and puts the n-th roots of 1 at equally spaced points e^(2πik/n) on the unit circle.

You need this first

Full reading path (19 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Differential equations and separation of variables (18.01)
  15. Direction fields, isoclines and integral curves (18.03)
  16. Euler's method and better numerical methods (18.03)
  17. First-order linear equations and integrating factors (18.03)
  18. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  19. Autonomous equations, critical points and stability (18.03)
On this page · 6 sections
  1. Division
  2. Polar form and Euler's definition
  3. Multiplication in polar form
  4. Complexifying an integral
  5. Roots of unity
  6. Summary

Complex numbers will be used constantly in 18.03. This lecture reviews how to divide them, then introduces the polar form and the complex exponential (transcript, p. 1).

Division#

For z=a+biz = a + bi, the complex conjugate is zˉ=a−bi\bar z = a - bi, and their product is real (transcript, p. 1):

Conjugate product
z zˉ=(a+bi)(a−bi)=a2+b2z\,\bar z = (a + bi)(a - bi) = a^2 + b^2
In words

z z bar equals the quantity a plus b i, the quantity a minus b i, equals a squared plus b squared

So to divide, multiply top and bottom by the conjugate of the denominator. For example (p. 1):

A division
2+i1−3i=(2+i)(1+3i)(1−3i)(1+3i)=−1+7i10=−110+710 i\frac{2 + i}{1 - 3i} = \frac{(2 + i)(1 + 3i)}{(1 - 3i)(1 + 3i)} = \frac{-1 + 7i}{10} = -\frac{1}{10} + \frac{7}{10}\,i
In words

the quantity 2 plus i, all over the quantity 1 minus 3 i, equals the quantity 2 plus i, the quantity 1 plus 3 i, over the quantity the quantity 1 minus 3 i, the quantity 1 plus 3 i, equals the quantity minus 1 plus 7 i, all over 10 equals minus one tenth plus seven tenths i

Collect the real and imaginary parts directly rather than multiplying out four terms (p. 1).

Polar form and Euler's definition#

If a+bia + bi has polar coordinates rr, θ\theta, then a+bi=r(cos⁡θ+isin⁡θ)a + bi = r(\cos\theta + i\sin\theta) (transcript, pp. 1–2). Euler took the decisive step of writing (p. 2)

Euler's definition
eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta
In words

e to the power i theta equals cos theta plus i sine theta

It is a definition, not a formula to be proved, but one can ask why it is the right one: what should an exponential do (pp. 2–4)?

The exponential law. Multiply (cos⁡θ1+isin⁡θ1)(cos⁡θ2+isin⁡θ2)(\cos\theta_1 + i\sin\theta_1)(\cos\theta_2 + i\sin\theta_2): the real part is cos⁡θ1cos⁡θ2−sin⁡θ1sin⁡θ2=cos⁡(θ1+θ2)\cos\theta_1\cos\theta_2 - \sin\theta_1\sin\theta_2 = \cos(\theta_1 + \theta_2) and the imaginary part sin⁡θ1cos⁡θ2+cos⁡θ1sin⁡θ2=sin⁡(θ1+θ2)\sin\theta_1\cos\theta_2 + \cos\theta_1\sin\theta_2 = \sin(\theta_1 + \theta_2) (pp. 4–5). So

Exponential law
eiθ1 eiθ2=ei(θ1+θ2)e^{i\theta_1}\,e^{i\theta_2} = e^{i(\theta_1 + \theta_2)}
In words

e to the power i theta one e to the power i theta two equals e to the power i the quantity theta one plus theta two, end of power

which says exactly the same thing as the two addition formulas of trigonometry, in far less space (p. 5).

The derivative. eate^{at} is the solution of dy/dt=aydy/dt = ay with y(0)=1y(0) = 1 (p. 3). A complex-valued function of a real variable, u(t)+iv(t)u(t) + iv(t), is differentiated part by part, as a velocity is found from its components (pp. 6–7). Then (pp. 7–8)

Derivative of the complex exponential
ddteit=−sin⁡t+icos⁡t=i(cos⁡t+isin⁡t)=i eit,ei0=1\frac{d}{dt}e^{it} = -\sin t + i\cos t = i(\cos t + i\sin t) = i\,e^{it}, \qquad e^{i0} = 1
In words

d over d t e to the power i t equals minus sine t plus i cos t equals i the quantity cos t plus i sine t, equals i e to the power i t, e to the power i0 equals 1

so eite^{it} solves y′=iyy' = iy, y(0)=1y(0) = 1, as it should. The value at 0 comes from cos⁡0+isin⁡0=1\cos 0 + i\sin 0 = 1, not by first simplifying the exponent i⋅0i \cdot 0 to 0 (p. 8). (The lecture also mentions that the power series agree, without going into it, pp. 4 and 8.) For a general complex exponent, ea+ib=eaeibe^{a + ib} = e^a e^{ib} is again a definition (p. 9).

Multiplication in polar form#

Every complex number α\alpha can be written reiθre^{i\theta}, with modulus r=∣α∣r = |\alpha| and argument θ\theta (written arg α) (transcript, p. 9). Then by the exponential law (pp. 9–10):

Polar multiplication
r1eiθ1⋅r2eiθ2=r1r2 ei(θ1+θ2)r_1e^{i\theta_1}\cdot r_2e^{i\theta_2} = r_1r_2\,e^{i(\theta_1 + \theta_2)}
In words

r one e to the power i theta one times r two e to the power i theta two equals r one r two e to the power i the quantity theta one plus theta two, end of power

Multiply the moduli and add the arguments: the geometric meaning of complex multiplication, invisible in the Cartesian formula (p. 10).

Complexifying an integral#

Integrating e−xcos⁡xe^{-x}\cos x by parts takes two rounds and a trick (transcript, p. 10). Instead, note that e−xcos⁡xe^{-x}\cos x is the real part of e−xeix=e(−1+i)xe^{-x}e^{ix} = e^{(-1 + i)x}, and exponentials are easy to integrate (p. 11):

Complexified integral
∫e−xcos⁡x dx=Re∫e(−1+i)x dx=Re e(−1+i)x−1+i\int e^{-x}\cos x\,dx = \mathrm{Re}\int e^{(-1 + i)x}\,dx = \mathrm{Re}\,\frac{e^{(-1 + i)x}}{-1 + i}
In words

the integral of e to the power minus x cos x d x equals Re the integral of e to the power the quantity minus 1 plus i, x, end of power, d x equals Re e to the power the quantity minus 1 plus i, x, end of power, over the quantity minus 1 plus i

To take the real part, first divide: 1−1+i=−1−i2\frac{1}{-1 + i} = \frac{-1 - i}{2} (p. 12). The real part of −1−i2 e−x(cos⁡x+isin⁡x)\frac{-1 - i}{2}\,e^{-x}(\cos x + i\sin x) is (pp. 12–13)

Result
∫e−xcos⁡x dx=e−x2 (sin⁡x−cos⁡x)+C\int e^{-x}\cos x\,dx = \frac{e^{-x}}{2}\,(\sin x - \cos x) + C
In words

the integral of e to the power minus x cos x d x equals e to the power minus x over 2, times the quantity sine x minus cos x, all plus C

Whenever eaxcos⁡bxe^{ax}\cos bx or eaxsin⁡bxe^{ax}\sin bx appears, think of passing to the complex domain (p. 13).

Roots of unity#

In the real numbers, 1 has one or two nn-th roots; in the complex numbers it always has nn (transcript, pp. 13–14). Since multiplying adds angles and all the roots have modulus 1, they are equally spaced on the unit circle. For n=5n = 5, the first one past 1 is (p. 14)

A fifth root of unity
ζ=e2πi/5,ζ5=e2πi=1\zeta = e^{2\pi i/5}, \qquad \zeta^5 = e^{2\pi i} = 1
In words

zeta equals e to the power 2 pi i over 5, end of power, zeta to the power 5 equals e to the power 2 pi i equals 1

The lecture stops there (p. 15); the others follow in the same way: ζ2,ζ3,ζ4\zeta^2, \zeta^3, \zeta^4 and ζ5=1\zeta^5 = 1.

The five fifth roots of unity, ζk=e2πik/5\zeta^k = e^{2\pi ik/5}, computed as (cos⁡(2πk/5),sin⁡(2πk/5))(\cos(2\pi k/5), \sin(2\pi k/5)): equally spaced around the unit circle, 72° apart.
Worked example

Practice with polar form

(a) Write 3+4i1+2i\frac{3 + 4i}{1 + 2i} as a+bia + bi. (b) Compute (1+i)8(1 + i)^8 in polar form. (c) Find ∫exsin⁡x dx\int e^x\sin x\,dx by complexifying. (d) Find the cube roots of 1.

(a) Division

Multiply by 1−2i1 - 2i: (3+4i)(1−2i)5=11−2i5=115−25i\frac{(3 + 4i)(1 - 2i)}{5} = \frac{11 - 2i}{5} = \frac{11}{5} - \frac25 i.

(b) A power

1+i=2 eiπ/41 + i = \sqrt2\,e^{i\pi/4}, so (1+i)8=(2)8e2πi=16(1 + i)^8 = (\sqrt2)^8 e^{2\pi i} = 16.

(c) An integral

exsin⁡x=Im e(1+i)xe^x\sin x = \mathrm{Im}\,e^{(1 + i)x}, and ∫e(1+i)xdx=1−i2ex(cos⁡x+isin⁡x)\int e^{(1 + i)x}dx = \frac{1 - i}{2}e^x(\cos x + i\sin x), whose imaginary part is ex2(sin⁡x−cos⁡x)\frac{e^x}{2}(\sin x - \cos x), plus a constant CC.

(d) Cube roots

e2πik/3e^{2\pi ik/3}: 11 and −12±32i-\frac12 \pm \frac{\sqrt3}{2}i.

Summary#

  • Divide by multiplying by the conjugate: zzˉ=a2+b2z\bar z = a^2 + b^2.
  • eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta; it obeys the exponential law and ddteit=ieit\frac{d}{dt}e^{it} = ie^{it}.
  • a+bi=reiθa + bi = re^{i\theta}; multiplying multiplies moduli and adds arguments.
  • Complexify integrals of eaxcos⁡bxe^{ax}\cos bx; the nn-th roots of 1 are e2πik/ne^{2\pi ik/n}, equally spaced on the unit circle.

Symbols on this page

Show the 30 symbols used here
α\alpha alpha.
A complex number. Say it: “alpha”.
ζ\zeta zeta.
The fifth root of unity e^(2πi/5). Say it: “zeta” (sounds like “zay-ta or zee-ta”).
θ\theta theta.
The argument (polar angle) of a complex number. Say it: “theta” (sounds like “thay-ta or thee-ta”).
π\pi pi.
π. Say it: “pi”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
ρˉ\bar\rho bar.
A mean (average) value, such as ρ̄; in 8.902 also a smoothed field (δ̄). Say it: “bar”.
aa a.
The real part of a complex number; also a real constant. Say it: “a”.
zz z.
A complex number a + bi. Say it: “z”.
kk k.
An index counting the roots. Say it: “k”.
xx x.
The variable of integration. Say it: “x”.
yy y.
A function satisfying y′ = ay (or y′ = iy). Say it: “y”.
tt t.
A real variable. Say it: “t”.
dd d.
The d of d/dt and dx. Say it: “d”.
ii i.
The imaginary unit, i² = −1. Say it: “i”.
nn n.
The order of a root. Say it: “n”.
ee e.
Euler's number, 2.718…; e^(iθ) is defined as cos θ + i sin θ. Say it: “e”.
vv v.
The imaginary part of a complex-valued function. Say it: “v”.
rr r.
The modulus (absolute value) of a complex number. Say it: “r”.
CC C.
A constant of integration. Say it: “C”.
bb b.
The imaginary part of a complex number. Say it: “b”.
y′y' y prime.
The derivative of y. Say it: “y prime”.
r1r_{1} r one.
The modulus of the first factor. Say it: “r one”.
r2r_{2} r two.
The modulus of the second factor. Say it: “r two”.
uu u.
The real part of a complex-valued function. Say it: “u”.
θ1\theta_{1} theta one.
The argument of the first factor. Say it: “theta one”.
θ2\theta_{2} theta 2.
The argument of the second factor. Say it: “theta two”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 14 words used here

New here

complex conjugate.
The complex number with the sign of its imaginary part reversed: the conjugate of a + ib is a − ib.
modulus.
The size of a complex number: its distance from zero in the complex plane.

Also used

p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
polar coordinates.
Coordinates in a flat plane that give a point's distance r from the origin and its angle θ from a fixed direction. Explained in Vectors.
real part.
For a complex number a + bi, the ordinary number a. Explained in Differential equations and exp(At).
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
velocity.
How fast and in which direction something moves: the change in position in each unit of time. Explained in Speed and velocity.
power series.
A series in powers of a variable, a₀ + a₁x + a₂x² + …, which behaves like a polynomial with infinitely many terms. Explained in Non-degenerate perturbation theory.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
unit circle.
The circle of radius 1 centred at the origin; the point at angle θ on it is (cos θ, sin θ). Explained in Angles, radians and trigonometry.
complexify.
To replace a real problem by a complex one, such as a cosine by an exponential, whose real or imaginary part gives the answer. Explained in Constant coefficients: steady state, superposition and sinusoidal input.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
argument.
The angle that a complex number makes with the positive real axis, measured anticlockwise.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

31 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. What is 2+i1−3i\frac{2 + i}{1 - 3i} in the form a+bia + bi?
  2. Multiplying two complex numbers in polar form…
  3. How many complex fifth roots of 1 are there, and where?
0 of 3 answered

Flashcards

1 / 3