Arithmetic with Complex Numbers Advanced. This lesson goes beyond core Algebra I. You can skip it.
▾
Progress can't be saved in this browser, so this lesson's status can't be set.
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 the numerator and denominator by the 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). The imaginary part is the coefficient b, not the term bi: in
2+3i the real part is 2 and the imaginary part is 3. A real number is the case b=0, and a
pure imaginary number like 3i is the case a=0; standard form covers both, and everything between,
in one shape.
Two complex numbers are equal exactly when their parts match: a+bi=c+di means a=c and
b=d. For example, 2+3i and 2+4i differ by i, so they are not equal. In general,
a+bi=c+di gives a−c=(d−b)i. The left side is real. A nonzero real multiple of i cannot
equal a real number: dividing by its nonzero real coefficient would make i itself real.
Thus d−b=0, and then a−c=0, so both parts match.
Adding and subtracting
Addition and subtraction are the easiest operations, because the real and imaginary parts never interact.
You simply combine them separately. For (3+i)+(1+2i), that means adding 3+1=4 and
1+2=3 to get 4+3i.
Subtraction works the same way once you distribute the minus sign to both parts of the second number. The
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.
Plot a+bi as the point (a,b), using a horizontal real axis (Re) and a vertical imaginary axis
(Im). Draw an arrow from the origin to the point. It records a horizontal change a and a vertical
change b, wherever you place it: positive changes move right or up, and negative changes move
left or down. Addition combines these changes separately. Placing the second arrow at the tip of
the first gives the sum.
The arrows for 3 + i and 1 + 2i form two sides of a parallelogram. Its far corner is their sum, 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). Try (1+i)(2+i): expanding gives
2+i+2i+i2=2+3i−1=1+3i. The one extra step is that the product of the two imaginary
terms gives i2, which you 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 it is the only term that needs simplifying. 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 term bdi2 contributes
−bd to the real part; its sign depends on b and d.
∎
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. For example, i(4+2i)=4i+2i2=−2+4i.
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.
Beginners most often go wrong when the i2 term changes sign and joins the real terms, as it did in
both products.
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: try (2+i)(2−i)=4−2i+2i−i2=4+1=5, and no i is left.
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 familiar pattern (x+y)(x−y)=x2−y2, applied here with
x=a and y=bi:
(a+bi)(a−bi)=a2−(bi)2.
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: since i2=−1, subtracting b2i2 is the same as
adding b2. The result a2+b2 is a real number, and since it is a sum of two squares it is never
negative. It is zero only when a and b are both zero, that is, only when z=0.
∎
For a nonzero complex number, this product is positive. We can use it to make a denominator real
without introducing division by zero.
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 gives the same value.
Check your understanding
What is (−4−i)(−4+i)?
−4+i is the conjugate of −4−i, so their product is a2+b2 with a=−4 and b=−1.
(−4−i)(−4+i)=(−4)2+(−1)2=16+1=17
The product of a number and its conjugate is always a nonnegative real number, with no i term.
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. Multiply top and bottom by 1−i, the denominator’s conjugate:
Multiplying by 1−i1−i=1 changes the fraction’s form without changing its value, the same
conjugate move you used to rationalize a radical denominator. It works because (1+i)(1−i)=12+12=2,
a real number, by the conjugate property just proved, so the i in the denominator is gone.
In general, to divide c+dia+bi (with c+di=0), 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, never zero here since c and d are not both zero.
From there, expand the numerator with i2=−1 and divide its real part and its imaginary part by that
real denominator, exactly as above.
Worked example 4Check a quotient, then divide a harder one
A quick check on the quotient above multiplies back:
(2+i)(1+i)=2+2i+i+i2=1+3i, the original numerator.
Not every quotient is that clean. Divide 3+2i2+3i using the conjugate 3−2i, with
denominator 32+22=13:
The real part is a2−b2 and the imaginary part is 2ab. To cube a number, square it and multiply
once more, replacing every i2 as it appears.
Check your understanding
Square 3+2i.
Use the binomial pattern, then replace i2 with −1.
(3+2i)2=32+2(3)(2i)+(2i)2=9+12i+4i2=9+12i−4=5+12i
The 4i2 becomes −4 and lowers the real part from 9 to 5; leaving it as +4 gives the wrong answer 13+12i.
The rest of the chapter goes back to quadratic equations with real coefficients and builds a method
that solves them, including the ones whose solutions are not real.
Common mistakes
Practice
Multiple Choice Questions (MCQ)
Progressively harder sets of questions. Each opens on its own page.
Practice problems at the level of the course, to be worked out on paper. Hints one at a
time, then the answer or the full worked solution, with your progress kept in this browser.
For a concrete example, suppose 2+3i=5+4i. Subtracting 2+3i would give 0=3+i, hence
i=−3, which is impossible because i is not real.
Now suppose a+bi=c+di with real a,b,c,d, but the imaginary parts differ, b=d. Rearranging the equation moves the
real parts to one side and the imaginary parts to the other:
a−c=di−bi=(d−b)i.
Since b=d, the number d−b is nonzero, so both sides can be divided by it:
i=d−ba−c.
The right side is a ratio of real numbers, so it is real. But i is not real: no real number squares to
−1. That contradiction means the assumption b=d was wrong, so b=d after all. Once the
imaginary parts match, a+bi=c+di reduces to a=c as well. So the two complex numbers can be
equal only when both parts match. Conversely, if a=c and b=d, the two expressions have identical
parts and are equal. This proves both directions.
∎
A bit of history (optional)
Wessel and Argand gave complex numbers a geometric interpretation before Hamilton’s work. A point
in a plane can represent a+bi, as in this lesson’s addition diagram. Hamilton developed another
way to describe these numbers: arithmetic on ordered pairs. This gave explicit rules using only
real-number entries, without relying on a picture.
In his 1837 paper, the Irish mathematician William Rowan Hamilton presented complex numbers as
pairs (a,b) of real numbers. The order matters. The first entry plays the role of the real part
and the second of the imaginary part. Addition and multiplication follow these rules:
(a,b)+(c,d)(a,b)(c,d)=(a+c,b+d),=(ac−bd,ad+bc).
Try multiplying (0,1) by itself. The first entry becomes 0−1=−1, and the second becomes
0+0=0. Thus (0,1)2=(−1,0): the pair representing i squares to the pair representing −1.
In Hamilton’s description, i2=−1 became a calculation on pairs of familiar real numbers.