How to Find the Distance Between Two Complex Numbers

You can calculate the distance between two complex numbers in the same manner as you would when working with vectors. Given the two complex numbers z1 and z2, you can calculate the distance between them as the norm r = |z1 z2| of the difference z3 = z1 z2. Since you’re only interested in the distance between z1 and z2, it makes no difference whether you choose to calculate the norm of z3 = z1 z2 or z4 = z2 z1.

Example 1

Find the distance between z1 = 5 + 2i and z2 = 1 i

In order to calculate the distance between the numbers, you first have to calculate z3 = z1 z2. This is done element-wise by looking at the real and the imaginary parts separately:

z3 = (5 + 2i) (1 i) = (5 1) + (2 (1)) i = 4 + 3i.

z3 = (5 + 2i) (1 i) = (5 1) + (2 (1)) i = 4 + 3i.

You can now calculate the distance between z1 and z2 as the norm of z3:

r1 = |z3| = 42 + 32 = 16 + 9 = 25 = 5.

r1 = |z3| = 42 + 32 = 16 + 9 = 25 = 5.

Thus, the distance between z1 and z2 equals 5.

If you want, you may also calculate the difference z4 = z2 z1:

z4 = (1 i) (5 + 2i) = (1 5) + (1 2) i = 4 3i.

z4 = (1 i) (5 + 2i) = (1 5) + (1 2) i = 4 3i.

Even though z3 and z4 are not the same numbers, they do have the same norm:

r2 = |z4| = (4 ) 2 + (3 ) 2 = 16 + 9 = 25 = 5.

r2 = |z4| = (4 ) 2 + (3 ) 2 = 16 + 9 = 25 = 5.

In other words, you may freely choose which difference to use when finding the distance between two complex numbers.

By using the complex plane, you can visualize the distance between two complex numbers geometrically. You can draw the numbers used in Example 1 in the complex plane and use the Pythagorean theorem to calculate the distance between them:

The distance between two complex numbers in the complex plane.

The distance between two complex numbers can be used to sketch areas in the complex plane:

Example 2

Sketch the set {z : |z + 1| 1} of complex numbers z such that |z + 1| 1

In this exercise, your task is to sketch all complex numbers z whose distance to 1 is less than or equal to 1. In the complex plane this is a closed disk centered at 1 with a radius of 1:

Sketched area of the complex plane.

Want to know more?Sign UpIt's free!