Read the midpoint, the number halfway between the two.
On the complex plane the navy segment joins the two numbers; the dashed legs are the differences of the real and of the imaginary parts; the hollow dot is the midpoint.
How it was found shows the subtraction and the modulus.
Distance and midpoint
Distance
∣z1−z2∣=5
Difference
z1−z2=−3−4i
Midpoint
2z1+z2=25+4i
How it was found
The distance between two complex numbers is the modulus of their difference. First subtract: z1−z2=(1+2i)−(4+6i)=−3−4i.
Then take the modulus: (−3)2+(−4)2=25=5.
On the picture the two dashed legs are the differences of the real parts (blue) and of the imaginary parts (amber); the distance is the hypotenuse.
The midpoint is the average of the two numbers, part by part: 21+4=2.5 and 22+6=4.
The distance between two complex numbers z1=a+bi and z2=c+di is the modulus of their difference:
∣z1−z2∣=(a−c)2+(b−d)2
Type the two numbers and the calculator subtracts them, then takes the modulus.
Reading the answer
Distance is ∣z1−z2∣. It is written exactly when the number under the root is whole, for example 10, with a decimal beside it.
Difference is z1−z2, the arrow from z2 to z1.
Midpoint is 2z1+z2, given with exact halves.
Where the formula comes from
On the complex plane z1 and z2 are the points (a,b) and (c,d). The horizontal gap between them is ∣a−c∣ and the vertical gap is ∣b−d∣. These are the legs of a right triangle whose hypotenuse is the segment joining the two points.
The Pythagorean theorem gives the length of that hypotenuse. It is the ordinary distance formula of coordinate geometry, written for complex numbers.
The legs are the differences of the real parts and of the imaginary parts.
The midpoint
The midpoint is the average of the two numbers:
2z1+z2=2a+c+2b+di
It lies on the segment joining them, at the same distance from each. The average of the real parts gives its real part, and the average of the imaginary parts its imaginary part.
Distance from the origin and circles
DemoDistance from the origin
Step 0 of 2
When z2=0 the distance is just ∣z1∣: the modulus is the distance from the origin.
More generally, the equation ∣z−z0∣=r describes all numbers at distance r from z0, which is a circle of radius r centred at z0. The inequality ∣z−z0∣<r describes the inside of that circle.
All numbers z with ∣z−(1+i)∣=3: a circle of radius 3 centred at 1+i.
Common mistakes
Subtracting the moduli. The distance is ∣z1−z2∣, not ∣z1∣−∣z2∣.
Forgetting to square. The legs are squared before they are added.
Losing a sign. With z2=1−4i the vertical gap from 2i is 2−(−4)=6.
Halving the difference for the midpoint. The midpoint is half the sum, not half the difference.