This site is a work in progress. New lessons are added regularly.
Contact us
Arithmetic with Complex Numbers
Learning goals
Write a complex number in standard form a+bi
Add and subtract by combining the parts separately
Multiply like binomials, replacing i2 with −1
Use the conjugate, since (a+bi)(a−bi) is real
Divide by multiplying both parts by the denominator's conjugate
Square with (a+bi)2=(a2−b2)+2abi
The standard form a + bi
A complex number is a number written in the standard form
z=a+bi,
where a and b are real numbers and i is the imaginary unit with i2=−1. The real number a is
the real part of z, written Re(z), and the real number b is the imaginary
part, written Im(z). Notice that the imaginary part is the real coefficient b, not
bi: in 2+3i the real part is 2 and the imaginary part is 3.
Two familiar kinds of number are just special cases. When b=0 the number is a+0i=a, an
ordinary real number, so every real number is already a complex number. When a=0 the number is
0+bi=bi, a pure imaginary number like 3i or −i. Standard form holds both of these, and
everything between, in one shape.
Because the two parts play different roles, two complex numbers count as equal only when they match part
for part: a+bi=c+di exactly when a=c and b=d. This is not an extra rule we impose; it
follows from i being non-real. If a+bi=c+di with b=d, then rearranging gives
(a−c)=(d−b)i, and dividing by the nonzero d−b would make i=d−ba−c a ratio of
real numbers, hence real. That contradicts i2=−1, so the imaginary parts must be equal, and then the
real parts must be equal too. Matching real and imaginary parts is therefore the only way two complex
numbers can be equal, a fact the next lessons lean on constantly.
Adding and subtracting
Addition and subtraction are the easiest operations, because the real and imaginary parts never interact.
You simply combine them separately.
Write the sum out and reorder it using the commutative and associative laws of addition, which let you
add real quantities in any order and grouping:
(a+bi)+(c+di)=(a+c)+(bi+di).
The two imaginary terms bi and di share the common factor i, so the distributive law pulls it out:
bi+di=(b+d)i.
Putting the pieces back together gives (a+c)+(b+d)i, which is again in standard form. In that
form, the real part is the sum a+c of the real parts, and the imaginary part is the sum b+d of
the imaginary parts. Nothing about i2 ever came up, because no two factors of i were multiplied
together.
Subtraction works the same way once you distribute the minus sign to both parts of the second number. The
single most common slip is to subtract the real parts but forget to subtract the imaginary parts. To avoid
that slip, keep the whole second number inside its parentheses until the sign is distributed.
Worked example 1Add and subtract two complex numbers
Add (3+5i)+(4−2i) by combining the parts separately:
(3+5i)+(4−2i)=(3+4)+(5−2)i=7+3i.
Now subtract (7+2i)−(1+6i). Distribute the minus sign to both the 1 and the 6i:
(7+2i)−(1+6i)=(7−1)+(2−6)i=6−4i.
Each answer is already in standard form, the real part first and a single imaginary term second.
There is a clean picture behind this. Suppose you plot a complex number a+bi as the point a units
along a horizontal real axis and b units up a vertical imaginary axis. Then adding two complex numbers
adds their horizontal steps and adds their vertical steps, which is exactly how you add arrows tip to
tail.
Plot a complex number a + bi by going a units along the real axis and b units up the imaginary axis. Adding combines the parts separately, so the sum lands at the far corner of the parallelogram built on the two arrows: (3 + i) + (1 + 2i) = 4 + 3i, because 3 + 1 = 4 and 1 + 2 = 3.
Check your understanding
Simplify (6−2i)−(3+4i).
Distribute the minus sign to both parts of the second number, then combine the real parts and the imaginary parts separately.
(6−2i)−(3+4i)=(6−3)+(−2−4)i=3−6i
The imaginary part is −2−4=−6, not −2+4; the minus sign applies to the 4i as well.
Multiplying
To multiply two complex numbers, treat them as two binomials and expand with the distributive law, the
same “first, outer, inner, last” you use for (x+2)(x+3). The one extra step is that the product of
the two imaginary terms produces i2, which you immediately replace with −1.
Expand the product by multiplying every term of the first factor by every term of the second:
(a+bi)(c+di)=ac+adi+bci+bdi2.
Three of these terms are ordinary products of real numbers times 1 or i. The last term carries i2,
and this is the only place the imaginary unit does anything special. Replace i2 with −1:
bdi2=bd(−1)=−bd.
Now collect the real terms, ac and −bd, and the imaginary terms, adi and bci:
(a+bi)(c+di)=(ac−bd)+(ad+bc)i.
The real part is ac−bd and the imaginary part is ad+bc. The −bd in the real part is the whole
reason a product of complex numbers is interesting. That −bd is the i2=−1 substitution reaching
back to change a term you might have expected to stay positive.
∎
You do not need to memorize the final formula. It is faster and safer to expand each product by hand and
replace i2 with −1 as it appears, exactly as in the examples below. Two special cases are worth
noticing: multiplying by a real number k scales both parts, k(a+bi)=ka+kbi, and multiplying by
i sends a+bi to i(a+bi)=ai+bi2=−b+ai.
Worked example 2Multiply two complex numbers
Expand (2+3i)(4−i) term by term:
(2+3i)(4−i)=8−2i+12i−3i2.
Replace i2 with −1, so −3i2=−3(−1)=+3, then combine like terms:
8−2i+12i−3i2=8+10i+3=11+10i.
Try a second, (5+2i)(1+4i):
(5+2i)(1+4i)=5+20i+2i+8i2=5+22i−8=−3+22i.
In both products the i2 term flipped sign and merged into the real part, which is exactly where a
beginner’s answer most often goes wrong.
Check your understanding
Multiply (2−i)(3+2i).
Expand term by term, then replace i2 with −1.
(2−i)(3+2i)=6+4i−3i−2i2=6+i+2=8+i
The term −2i2 becomes +2, not −2; forgetting that i2=−1 leaves the wrong answer 4+i.
The complex conjugate
Before dividing, we need one special product. The complex conjugate of z=a+bi is the number with
the sign of its imaginary part flipped,
z=a−bi,
read “z bar.” Conjugation changes only the imaginary part: the conjugate of 2+3i is 2−3i, and the
conjugate of −4−i is −4+i. What makes the conjugate useful is what happens when you multiply a
number by it.
The two factors a+bi and a−bi are a sum and a difference of the same two terms, so their product
is a difference of squares. That is the pattern (x+y)(x−y)=x2−y2 from the
special-factorizations chapter, used here with x=a and y=bi:
(a+bi)(a−bi)=a2−(bi)2.
The middle terms −abi and +abi are exact opposites and cancel, which is what clears the imaginary
part. Now expand the square (bi)2=b2i2 and replace i2 with −1:
a2−(bi)2=a2−b2i2=a2−b2(−1)=a2+b2.
The difference of squares became a sum of squares, because i2=−1 turned the subtracted b2i2 into
an added b2. The result a2+b2 is a real number, and since it is a sum of two squares it is never
negative. The result is zero only when a and b are both zero, that is, only when z=0.
∎
That is the key property: a nonzero complex number times its conjugate is a positive real number, with
every trace of i gone. Multiplying a+bi by a−bi is the surest way to turn a complex number into a
real one, and it is exactly the tool that makes division possible.
Worked example 3Conjugates and their products
The conjugate of 4−3i is 4+3i. Their product clears the imaginary part:
(4−3i)(4+3i)=42+32=16+9=25.
The conjugate of the pure imaginary number 5i is −5i, and
(5i)(−5i)=−25i2=25,
again a positive real number. In standard form 5i=0+5i, so here a=0 and b=5, and
a2+b2=25 as the pattern predicts.
Dividing
A quotient of two complex numbers, such as 1+i1+3i, is not yet in standard form: it has an
imaginary part sitting in the denominator. Clearing it uses the same move you learned for rationalizing a
radical denominator in the special-factorizations chapter. There you multiplied by the conjugate to turn
a+b into the rational a2−b; here you multiply by the conjugate to turn c+di into the
real c2+d2. The imaginary unit plays the role the radical played, and the conjugate clears it the
same way.
To divide c+dia+bi, multiply the numerator and the denominator by the conjugate c−di of
the denominator:
c+dia+bi=c+dia+bi⋅c−dic−di=c2+d2(a+bi)(c−di).
The denominator is now the real number c2+d2, by the conjugate property just proved. Expanding the
numerator and dividing each part by that real number puts the answer back in standard form:
As always with a conjugate, c−dic−di=1, so multiplying by it changes the form of the
quotient without changing its value. You never need the boxed formula; in practice you multiply by the
conjugate, simplify the numerator with i2=−1, and divide the real denominator into each part.
Worked example 4Divide and write the answer in standard form
Divide 1+i1+3i. The denominator’s conjugate is 1−i, and multiplying top and bottom by
it makes the denominator 12+12=2:
Split the single fraction into its real and imaginary parts to reach standard form:
1312+5i=1312+135i.
Fractions in the parts are perfectly normal; the answer is still a+bi, now with a=1312 and
b=135.
Check your understanding
Write 1−i5+i in standard form a+bi.
Multiply the top and bottom by the conjugate 1+i of the denominator. The denominator becomes 12+12=2.
1−i5+i=2(5+i)(1+i)=25+5i+i+i2=24+6i=2+3i
Dividing both parts by 2 is the final step; leaving 4+6i forgets to divide by the denominator.
Powers of a complex number
Raising a complex number to a power is just repeated multiplication, so the same rules apply. The most
common case is a square, which follows the square-of-a-binomial pattern (x+y)2=x2+2xy+y2 from
earlier, again with a final i2=−1:
(a+bi)2=a2+2abi+(bi)2=a2+2abi+b2i2=(a2−b2)+2abi.
The real part is a2−b2 and the imaginary part is 2ab.
Worked example 5Square a complex number
Square 2+3i with the binomial pattern, then apply i2=−1:
A difference can collapse even further. Square 1−i:
(1−i)2=1−2i+i2=1−2i−1=−2i.
Here the real parts cancelled completely, leaving the pure imaginary −2i. Higher powers build on the
same idea: to cube a number, square it and multiply once more, reducing every i2 as it appears.
These four operations are the whole of complex arithmetic, and they are enough to give every quadratic
equation a solution, the thread the next lessons pick up.
Common mistakes
Practice
Multiple Choice Questions (MCQ)
Progressively harder sets of questions. Each opens on its own page.
Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its
own so you can check yourself and try again, then the full worked solution, plus a rubric
to mark your own work against.
You have spent this lesson computing with a number nobody could point to. That was the state of the
subject for nearly three hundred years. The rules worked. What i actually was, nobody could say, and
the only honest answer went in a circle: it is whatever squares to −1.
In 1837 the Irish mathematician William Rowan Hamilton removed the question instead of answering it.
He proposed that a complex number is simply an ordered pair of real numbers, written (a,b). There is
no new object anywhere in that definition. There are two ordinary real numbers, kept in order.
Then he laid down how pairs combine. They add slot by slot, so (a,b)+(c,d)=(a+c,b+d). They
multiply by the rule you derived above, (a,b)(c,d)=(ac−bd,ad+bc).
Now watch the pair (0,1) meet itself under that product. Its first slot gives 0−1, and its second
slot gives 0+0. So the answer is the pair (−1,0), which is the real number −1.
That is the whole of it. The equation i2=−1 stopped being a leap of faith and became a small piece
of arithmetic on pairs. Nothing has to be believed, because nothing new was invented. Hamilton’s
definition of a product is the multiplication rule in this lesson’s takeaway, read backwards.