How can the distance between complex numbers be calculated in the complex plane?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In the complex plane, the distance between two complex numbers is calculated using Pythagoras’s theorem from elementary geometry.1

To find this distance, you construct a right triangle where the hypotenuse spans the distance between the two points and the sides are parallel to the coordinate axes. By applying the theorem, the distance between two complex numbers is equivalent to the absolute value (or modulus) of their difference.21

For a complex number z=a+bi, the absolute value is defined as:
|z|=a2+b2
This represents the distance of the number from the origin of the complex plane. When calculating the distance between two distinct complex numbers z1 and z2, you find the absolute value of the difference between them, [2]|z1−z2|, which effectively measures the magnitude of the displacement between those two points.21