Dividing, and the powers of i · Mathematics Class 11–12 | StemPy Lab
Course 3.1·Lesson 3 of 3
Dividing, and the powers of i
To divide by c+id, multiply the top and the bottom by c−id
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
find the multiplicative inverse of a complex number;
divide one complex number by another;
find any power of i, positive or negative;
avoid the trap ab=ab when a and b are both negative.
The multiplicative inverse
The multiplicative inverse of a non-zero number z is the number z1 that gives z×z1=1. For z=a+ib, the trick is to multiply the top and the bottom by a−ib. The bottom becomes real:
(a+ib)(a−ib)=a2−i2b2=a2+b2
So
a+ib1=a2+b2a−ib=a2+b2a−ia2+b2b
The number a−ib, with the sign of i changed, has a name: the conjugate. You will meet it properly in the next course.
Example.3+4i1=9+163−4i=253−254i.
The inverse exists for every complex number except 0, because a2+b2=0 only when a=b=0.
Dividing
To divide z1 by z2, multiply z1 by the inverse of z2. In practice, multiply the top and the bottom by z2 with the sign of i changed.
Example. Find 1−2i4+7i.
Multiply the top and the bottom by 1+2i.
The bottom: (1−2i)(1+2i)=1+4=5.
The top: (4+7i)(1+2i)=4+8i+7i+14i2=−10+15i.
So the quotient is 5−10+15i=−2+3i.
Check by multiplying back: (−2+3i)(1−2i)=−2+4i+3i−6i2=4+7i.
The powers of i
Multiply by i again and again:
i1=i
i2=−1
i3=i2×i=−i
i4=(i2)2=1
After four steps we are back at 1, and the cycle starts again: i5=i, i6=−1, and so on. So to find in, divide n by 4 and keep the remainder r. Then in=ir.
Example.43=4×10+3, so i43=i3=−i.
Negative powers follow the same cycle, because i−1=i1=1−i=−i. For example, i−6=i61=−11=−1. Python's % gives the right remainder here too: -6 % 4 is 2, and i2=−1.
A square root trap
For positive numbers, ab=ab. For two negative numbers it fails:
−4×−9=2i×3i=6i2=−6,but(−4)(−9)=36=6
So always write each square root of a negative number as a multiple of i first, and multiply afterwards.
A worked example
Find i+i2+i3+⋯+i30.
Group in fours. Each group of four powers adds up to i−1−i+1=0.
Count the groups.30=4×7+2, so the first 28 powers form 7 groups, which add up to 0.
Add what is left.i29+i30=i1+i2=i−1.
The sum is −1+i.
Practise with new numbers
Try it in Python
The program builds the powers of i one at a time, by multiplying by 1j, and prints the remainder n % 4 next to each. Then it divides two complex numbers with /.
Common mistakes
Dividing the parts one by one.2+4i6+8i is not 3+2i. Multiply the top and the bottom by 2−4i instead: the answer is 2−0.4i.
Using the wrong remainder. For i38, the remainder of 38 on division by 4 is 2, so i38=−1. It is not i8=1 from the last digit.
Multiplying square roots of negatives under one sign.−2−8=−4, not 4.
Dividing by zero.0+0i1 has no meaning. In Python, 1 / 0j stops with ZeroDivisionError.
Remember these
a+ib1=a2+b2a−ib, for a+ib=0.
To divide, multiply the top and the bottom by the bottom with the sign of i changed.
i1=i, i2=−1, i3=−i, i4=1, and then the cycle repeats.
ab=ab only when a and b are not both negative.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the multiplicative inverse of 2−i.
Divide 2+3i3+2i.
Find i97 and i−3.
Ravi writes −3×−12=36=6. What is the right value?
Why does 0 have no multiplicative inverse?
Enroll free in Complex Numbers and Their Algebra
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.