The problem is : if $z$ lies on a circle with diameter having endpoints $z_1$ and $z_2$ then show that $|z-z_1|^2 + |z-z_2|^2 = |z_1 - z_2|^2$ where $z, z_1, z_2 \in \mathbb{C}$.
The angle subtended by the diameter on any point on the circle is a right angle and thus $|z-z_1|$, $|z-z_2|$ and $|z_1-z_2|$ are the lengths of a right-angled triangle. The equation above then follows from the Pythagorean Theorem.
Now the equation for $z$ can also be written as $\left|z - \left(\dfrac{z_1+z_2}{2}\right)\right| = \dfrac{|z_1-z_2|}{2}$ since $\left(\dfrac{z_1+z_2}{2}\right)$ is the centre and $\dfrac{|z_1-z_2|}{2}$ is the radius of the circle.
But since the locus of both the equations are the same, I figured that it should be possible to prove them equal. So here's what I did:
$$\begin{align} \left|z - \left(\dfrac{z_1+z_2}{2}\right)\right| = \dfrac{|z_1-z_2|}{2} &\iff |2z - (z_1+z_2)| =|z_1-z_2| \\ &\iff |(z - z_1)+ (z-z_2)|^2=|z_1-z_2|^2 \end{align}$$
Using $|z_1+z_2|^2=|z_1|^2 + |z_2|^2 + \Re{(z_1\overline{z_2})}$,
$|z - z_1|^2+|z-z_2|^2 + \Re{((z-z_1)\overline{(z-z_2)})}=|z_1-z_2|^2$. Comparing it with what I have to show, it seems like I have to prove $\Re{((z-z_1)\overline{(z-z_2)})} = 0$, but I can't think of a way of doing that.
Thank you in advance!
Edit: To sum it up, my question is how to show that $$\left|z - \left(\dfrac{z_1+z_2}{2}\right)\right| = \dfrac{|z_1-z_2|}{2}\iff|z-z_1|^2 + |z-z_2|^2 = |z_1 - z_2|^2$$ $\,\,\,\,\,\,\,\,\,\,\,\,\,\,$where $z, z_1, z_2 \in \mathbb{C}$.