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 and , you can calculate the distance between them as the norm of the difference . Since you’re only interested in the distance between and , it makes no difference whether you choose to calculate the norm of or .
Example 1
Find the distance between and
In order to calculate the distance between the numbers, you first have to calculate . This is done element-wise by looking at the real and the imaginary parts separately:
If you want, you may also calculate the difference :
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 can be used to sketch areas in the complex plane:
Example 2
Sketch the set of complex numbers such that
In this exercise, your task is to sketch all complex numbers whose distance to is less than or equal to . In the complex plane this is a closed disk centered at with a radius of :