Apollonius circle, its radius and center I've got the following set:
$\{|z-a|=k|z-b|\}$, where z is a complex number, a an b are fixed, and $k>0$,$k \ne 1$.
I need to prove that this is a circle (called Apollonius circle).
I also have to prove that this circle's radius is equal to $k|a-b||1-k^2|^{-1}$ and it's centre is $(a-k^2b)(1-k^2)^{-1}$.
I don't know what to do. I've tried to work with the analytic circle equation ($|z-c|^2=r^2$), substituting given radius and center, but it didn't work. I also tried to square both sides of the first given equation ($|z-a|=k|z-b|$), which usually works with complex number, but also didn't get any result... Can somebody show me how to solve this problem? I will be very grateful.
 A: Write $w = (z-a)/(z-b) $. Then $\left|w\right| = k$, and so, the locus of $w$ is $C(0, k)$, where $C(c, r)$ is the circle of radius $r$ centered at $c$. Then $z$ as a function of $w$ can be written as a chain of compositions:
$$ w \quad \xrightarrow{\zeta \mapsto \zeta -1} \quad w-1 \quad \xrightarrow{\zeta\mapsto\frac{1}{\zeta}} \quad \frac{1}{w-1} \quad \xrightarrow{\zeta \mapsto b + (b-a)\zeta} \quad b + \frac{b - a}{w - 1} = z. $$
We now track how $C(0, k)$ in the $w$-plane is transformed under these maps.

*

*Under the first map, $C(0, k)$ is transformed to $C(-1, k)$.


*If we believe that the inversion $\zeta \mapsto \frac{1}{\zeta}$ preserves circles, we can envision that the image of $C(-1, k)$ under the inversion is a circle with two antipodal points $\frac{1}{-1-k}$ and $\frac{1}{-1+k}$. So its center would be $\frac{1}{k^2-1}$.
Indeed, parametrize $\zeta \in C(-1, k)$ by $\zeta = k \omega - 1$ for $\left|\omega\right| = 1$. Then
\begin{align*}
\left| \frac{1}{\zeta} - \frac{1}{k^2 - 1} \right|
= \left| \frac{k}{k^2-1} \right| \left| \frac{k - \omega}{k\omega - 1} \right|
= \left| \frac{k}{k^2-1} \right| \left| \frac{k - \omega}{k - \overline{\omega}} \right|
= \left| \frac{k}{k^2-1} \right|,
\end{align*}
and so, $C(-1, k)$ is transformed to $C(\frac{1}{k^2-1}, \frac{k}{\lvert k^2-1 \rvert})$


*Under the third map, $C(\frac{1}{k^2-1}, \frac{k}{\left|k^2-1\right|})$ is transformed into $C(\frac{k^2b-a}{k^2-1}, \frac{k\left|b-a\right|}{\lvert k^2-1 \rvert})$.
Therefore the set $\{z : \left| z - a \right| = k \left| z - b \right| \}$ is the circle of radius $\frac{k\left|b-a\right|}{\lvert k^2-1 \rvert}$ centered at $\frac{k^2b-a}{k^2-1}$.
A: The algebra is messy but straightforward.  Let $z=x+i y$, $a=a_r+i a_i$ and $b=b_r+i b_i$.  Square both sides of the defining equation to get
$$(x-a_r)^2+(y-a_i)^2 = k^2 (x-b_r)^2 + k^2 (y-b_i)^2$$
Rearrange and expand to get
$$(1-k^2) x^2 + (1-k^2) y^2 - 2 (a_r-k^2 b_r) x - 2 (a_i - k^2 b_r) y + |a|^2-k^2 |b|^2 = 0$$
Now complete the square.  This is where it gets messy.
$$\begin{align}(1-k^2) \left ( x-\frac{a_r-k^2 b_r}{1-k^2}\right )^2 + (1-k^2) \left ( y-\frac{a_i-k^2 b_i}{1-k^2}\right )^2 \\= \frac{(a_r-k^2 b_r)^2+(a_i-k^2 b_i)^2}{1-k^2} - (|a|^2-k^2 |b|^2)\\ = \frac{|a|^2 + k^4 |b|^2 - 2 k^2 (a_r b_r+a_i b_i) - (|a|^2-k^2 |b|^2)(1-k^2)}{1-k^2}\\ = \frac{k^2 (|a|^2+|b|^2) - 2 k^2 (a_r b_r+a_i b_i)}{1-k^2}\\ = \frac{k^2}{1-k^2} |a-b|^2\end{align}$$
From here, I hope it is clear that the above reduces to, in complex notation:
$$\left |z-\frac{a-k^2 b}{1-k^2}\right|  = \frac{k}{1-k^2} |a-b|$$
So, a circle of center $$\frac{a-k^2 b}{1-k^2}$$ and radius $$\frac{k}{1-k^2} |a-b|$$
A: This is an old post, but I wanted to see if the calculation could be illuminated by unpacking to real coordinates later, and by solving a simpler equation. After doing this I show how to do the calculation without unpacking to real coordinates.
We want to show that the set of $z$ satisfying $|z - a| = k |z - b|$ forms a circle.
We can simplify our calculation by noting that translation preserves circles. We can translate to $w = z - b$ and solve the equation $|w - A| = k|w|$, where $A = a - b$, and then translate our solution back to $z$.
Note that $$|w-A|^2 = (w-A) (\overline{w-A}) = |w|^2 - 2 \mathrm{Re}(\bar{A}w) + |A|^2.$$
This is a version of the polarization identity, noting that $\mathrm{Re}(\bar{A} z)$ is the Euclidean dot product between $A$ and $z$.
Then we see
\begin{align*}
|w - A| = k |w| &\Longrightarrow |w - A|^2 = k^2 |w|^2 \\
&\Longrightarrow |w|^2 - 2 \mathrm{Re}(\bar{A}w) + |A|^2 = k^2 |w|^2 \\
&\Longrightarrow (1 - k^2)|w|^2 - 2\mathrm{Re}(\bar{A} w) + |A|^2 = 0 \ \ \ (\star)
\end{align*}
Let $w = x + i y$ and $A = A_x + i A_y$. If $k \neq 1$, then
\begin{align*}
(\star) &\Longrightarrow |w|^2 - \frac{2}{1 - k^2} \mathrm{Re}(\bar{A}w) + \frac{|A|^2}{1 - k^2} = 0 \\
&\Longrightarrow x^2 + y^2 - \frac{2 A_x}{1 - k^2}x - \frac{2 A_y}{1 - k^2}y + \frac{|A|^2}{1 - k^2} = 0
\end{align*}
Completing the square shows that sets determined by an equation in the following form are always (possibly degenerate) circles.
\begin{align*}
x^2 + y^2 + Ex + Fy + G = 0 \Rightarrow (x + \frac{E}{2})^2 + (y + \frac{F}{2})^2 = \frac{E^2 + F^2}{4} - G.
\end{align*}
Replacing coefficients in this formula with those of our previous expression, we find
\begin{align*}
\left(x - \frac{A_x}{1 - k^2} \right)^2 + \left(y - \frac{A_y}{1 - k^2}\right)^2 = \frac{A_x^2 + A_y^2}{(1 - k^2)^2} - \frac{|A|^2}{1 - k^2}
= \left( \frac{k |A|}{|1 - k^2|} \right)^2
\end{align*}
Since $A = a - b$, we confirm that the radius is $r = k\frac{|a - b|}{|1 - k^2|}$.
In complex form, we find $$|w - \frac{a - b}{1 - k^2}| = \frac{k|a - b|}{|1 - k^2|},$$
Translating back to $z$, we find
$$|z - \frac{a - b k^2}{1 - k^2}| = \frac{k|a - b|}{|1 - k^2|},$$
which shows that the center is $c = \frac{a - b k^2}{1 - k^2}$.

There's a slicker calculation which doesn't unpack to real coordinates. It uses the polarization identity again, which serves as a complex substitute for completing the square: $$|z|^2 - 2 \mathrm{Re}(\bar{d}z) = |z - d|^2 - |d|^2$$
From $(\star)$,
\begin{align*}
0 &= |w|^2 - 2\mathrm{Re}(\frac{\bar{A}}{1 - k^2}w) + \frac{|A|^2}{1 - k^2} \\
 &= | w - \frac{A}{1 - k^2} |^2 - |\frac{A}{1 - k^2}|^2 + \frac{|A|^2}{1 - k^2},
\end{align*}
which implies
\begin{align*}
| w - \frac{A}{1 - k^2} |^2 = \left( \frac{k |A|}{1 - k^2} \right)^2.
\end{align*}
Then we can finish as before.
