# Calculators and complex numbers (Part 3)

In this series of posts, I explore properties of complex numbers that explain some surprising answers to exponential and logarithmic problems using a calculator (see video at the bottom of this post). These posts form the basis for a sequence of lectures given to my future secondary teachers.

To begin, we recall that the trigonometric form of a complex number $z = a+bi$ is

$z = r(\cos \theta + i \sin \theta)$

where $r = |z| = \sqrt{a^2 + b^2}$ and $\tan \theta = b/a$, with $\theta$ in the appropriate quadrant. As noted before, this is analogous to converting from rectangular coordinates to polar coordinates.

There’s a shorthand notation for the right-hand side ($r e^{i \theta}$) that I’ll justify later in this series.

Why is this important? When students first learn to multiply complex numbers like $1+i$ and $2+i$, they are taught to just distribute (or, using the nomenclature that I don’t like, FOIL it out):

$(1+i)(1+2i) = 1 + 2i + i + 2i^2 = 1 + 3i - 2 = -1 + 3i$.

The trigonometric form of a complex number permits a geometric interpretation of multiplication, given in the following theorem.

Theorem. $\left[ r_1 (\cos \theta_1 + i \sin \theta_1) \right] \cdot \left[ r_2 (\cos \theta_2 + i \sin \theta_2) \right] = r_1 r_2 (\cos [\theta_1+\theta_2] + i \sin [\theta_1+\theta_2])$.

Proof. As above, we distribute (except for the $r_1$ and $r_2$ terms):

$\left[ r_1 (\cos \theta_1 + i \sin \theta_1) \right] \cdot \left[ r_2 (\cos \theta_2 + i \sin \theta_2) \right]$

$= r_1 r_2 (\cos \theta_1 \cos \theta_2 + i \cos \theta_1 \sin \theta_2 + i \sin \theta_1 \cos \theta_2 + i^2 \sin \theta_1 \sin \theta_2$

$= r_1 r_2 (\cos \theta_1 \cos \theta_2 - \sin \theta_1 \sin \theta_2 + i[ \sin \theta_1 \cos \theta_2 + \cos \theta_1 \sin \theta_2])$

$= r_1 r_2 (\cos [\theta_1+\theta_2] + i \sin [\theta_1+\theta_2])$.

When actually doing this in class, the big conceptual jump for students is the last step. So I make a big song-and-dance routine out of this:

Cosine of the first times cosine of the second minus sine of the first times sine of the second… where have I seen this before?

The idea is for my students to search deep into their mathematical memories until they recall the appropriate trig identity.

For the original multiplication problem, we see that

$1+i = \sqrt{2} \left( \cos 45^\circ + i \sin 45^\circ \right)$

$1 + 2i = \sqrt{5} \left( \cos[\tan^{-1} 2] + i \sin[\tan^{-1} 2] \right) \approx \sqrt{5} \left( \cos 63.435^\circ + i \sin 63.435^\circ \right)$

Therefore, the product of $1+i$ and $1+2i$ will be a distance of $\sqrt{2} \cdot \sqrt{5} = \sqrt{10}$ from the origin, and the angle from the positive real axis will be $45^\circ + \tan^{-1} 2 \approx 45^\circ + 63.435^\circ = 108.435^\circ$. Indeed,

$-1 + 3i \approx \sqrt{10} \left( \cos 108.435^\circ + i \sin 108.435^\circ \right)$.

For completeness, here’s the movie that I use to engage my students when I begin this sequence of lectures.